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
[ 73, 41, 66, 18 ]
80
[ "73-41=32", "66-18=48", "32+48=80" ]
Current State: 80:[73, 41, 66, 18], Operations: [] Exploring Operation: 73-41=32, Resulting Numbers: [66, 18, 32] Generated Node #2: [66, 18, 32] from Operation: 73-41=32 Current State: 80:[66, 18, 32], Operations: ['73-41=32'] Exploring Operation: 66-18=48, Resulting Numbers: [32, 48] Generated Node #3: [32, 48] from Operation: 66-18=48 Current State: 80:[32, 48], Operations: ['73-41=32', '66-18=48'] Exploring Operation: 32+48=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[73, 41, 66, 18], Operations: [] Exploring Operation: 73-66=7, Resulting Numbers: [41, 18, 7] Generated Node #0,0: 80:[41, 18, 7] Operation: 73-66=7 Moving to Node #0,0 Current State: 80:[41, 18, 7], Operations: ['73-66=7'] Exploring Operation: 18-7=11, Resulting Numbers: [41, 11] Generated Node #0,0,0: 80:[41, 11] Operation: 18-7=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[41, 11], Operations: ['73-66=7', '18-7=11'] Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,80 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
[ 63, 47, 48, 89 ]
57
[ "63-47=16", "89-48=41", "16+41=57" ]
Current State: 57:[63, 47, 48, 89], Operations: [] Exploring Operation: 63-47=16, Resulting Numbers: [48, 89, 16] Generated Node #2: [48, 89, 16] from Operation: 63-47=16 Current State: 57:[48, 89, 16], Operations: ['63-47=16'] Exploring Operation: 89-48=41, Resulting Numbers: [16, 41] Generated Node #3: [16, 41] from Operation: 89-48=41 Current State: 57:[16, 41], Operations: ['63-47=16', '89-48=41'] Exploring Operation: 16+41=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[63, 47, 48, 89], Operations: [] Exploring Operation: 48-47=1, Resulting Numbers: [63, 89, 1] Generated Node #0,0: 57:[63, 89, 1] Operation: 48-47=1 Exploring Operation: 89-48=41, Resulting Numbers: [63, 47, 41] Generated Node #0,1: 57:[63, 47, 41] Operation: 89-48=41 Exploring Operation: 89-47=42, Resulting Numbers: [63, 48, 42] Generated Node #0,2: 57:[63, 48, 42] Operation: 89-47=42 Exploring Operation: 89-63=26, Resulting Numbers: [47, 48, 26] Generated Node #0,3: 57:[47, 48, 26] Operation: 89-63=26 Moving to Node #0,3 Current State: 57:[47, 48, 26], Operations: ['89-63=26'] Exploring Operation: 48-26=22, Resulting Numbers: [47, 22] Generated Node #0,3,0: 57:[47, 22] Operation: 48-26=22 Exploring Operation: 48-47=1, Resulting Numbers: [26, 1] Generated Node #0,3,1: 57:[26, 1] Operation: 48-47=1 Exploring Operation: 47-26=21, Resulting Numbers: [48, 21] Generated Node #0,3,2: 57:[48, 21] Operation: 47-26=21 Exploring Operation: 47+26=73, Resulting Numbers: [48, 73] Generated Node #0,3,3: 57:[48, 73] Operation: 47+26=73 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 57:[26, 1], Operations: ['89-63=26', '48-47=1'] Exploring Operation: 26*1=26, Resulting Numbers: [26] 26,57 unequal: No Solution Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,57 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,57 unequal: No Solution Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 57:[48, 21], Operations: ['89-63=26', '47-26=21'] Exploring Operation: 48-21=27, Resulting Numbers: [27] 27,57 unequal: No Solution Exploring Operation: 48*21=1008, Resulting Numbers: [1008] 1008,57 unequal: No Solution Exploring Operation: 48+21=69, Resulting Numbers: [69] 69,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 57:[47, 22], Operations: ['89-63=26', '48-26=22'] Exploring Operation: 47*22=1034, Resulting Numbers: [1034] 1034,57 unequal: No Solution Exploring Operation: 47+22=69, Resulting Numbers: [69] 69,57 unequal: No Solution Exploring Operation: 47-22=25, Resulting Numbers: [25] 25,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 57:[48, 73], Operations: ['89-63=26', '47+26=73'] Exploring Operation: 48+73=121, Resulting Numbers: [121] 121,57 unequal: No Solution Exploring Operation: 73-48=25, Resulting Numbers: [25] 25,57 unequal: No Solution Exploring Operation: 48*73=3504, Resulting Numbers: [3504] 3504,57 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: 57:[63, 48, 42], Operations: ['89-47=42'] Exploring Operation: 63-48=15, Resulting Numbers: [42, 15] Generated Node #0,2,0: 57:[42, 15] Operation: 63-48=15 Exploring Operation: 48+42=90, Resulting Numbers: [63, 90] Generated Node #0,2,1: 57:[63, 90] Operation: 48+42=90 Exploring Operation: 48-42=6, Resulting Numbers: [63, 6] Generated Node #0,2,2: 57:[63, 6] Operation: 48-42=6 Exploring Operation: 63-42=21, Resulting Numbers: [48, 21] Generated Node #0,2,3: 57:[48, 21] Operation: 63-42=21 Moving to Node #0,1 Current State: 57:[63, 47, 41], Operations: ['89-48=41'] Exploring Operation: 63-47=16, Resulting Numbers: [41, 16] Generated Node #0,1,0: 57:[41, 16] Operation: 63-47=16 Exploring Operation: 63-41=22, Resulting Numbers: [47, 22] Generated Node #0,1,1: 57:[47, 22] Operation: 63-41=22 Exploring Operation: 47+41=88, Resulting Numbers: [63, 88] Generated Node #0,1,2: 57:[63, 88] Operation: 47+41=88 Exploring Operation: 47-41=6, Resulting Numbers: [63, 6] Generated Node #0,1,3: 57:[63, 6] Operation: 47-41=6 Moving to Node #0,0 Current State: 57:[63, 89, 1], Operations: ['48-47=1'] Exploring Operation: 63-1=62, Resulting Numbers: [89, 62] Generated Node #0,0,0: 57:[89, 62] Operation: 63-1=62 Exploring Operation: 63*1=63, Resulting Numbers: [89, 63] Generated Node #0,0,1: 57:[89, 63] Operation: 63*1=63 Exploring Operation: 89-1=88, Resulting Numbers: [63, 88] Generated Node #0,0,2: 57:[63, 88] Operation: 89-1=88 Exploring Operation: 89-63=26, Resulting Numbers: [1, 26] Generated Node #0,0,3: 57:[1, 26] Operation: 89-63=26 Moving to Node #0,2,2 Current State: 57:[63, 6], Operations: ['89-47=42', '48-42=6'] Exploring Operation: 63*6=378, Resulting Numbers: [378] 378,57 unequal: No Solution Exploring Operation: 63+6=69, Resulting Numbers: [69] 69,57 unequal: No Solution Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[63, 47, 48, 89], Operations: [] Exploring Operation: 89-47=42, Resulting Numbers: [63, 48, 42] Generated Node #0,2: 57:[63, 48, 42] Operation: 89-47=42 Moving to Node #0,2 Current State: 57:[63, 48, 42], Operations: ['89-47=42'] Exploring Operation: 48-42=6, Resulting Numbers: [63, 6] Generated Node #0,2,2: 57:[63, 6] Operation: 48-42=6 Moving to Node #0,2,2 Current State: 57:[63, 6], Operations: ['89-47=42', '48-42=6'] Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
0.965278
hs_4
sum_heuristic
[ 66, 18, 42, 62 ]
30
[ "66-62=4", "18*4=72", "72-42=30" ]
Current State: 30:[66, 18, 42, 62], Operations: [] Exploring Operation: 66-62=4, Resulting Numbers: [18, 42, 4] Generated Node #2: [18, 42, 4] from Operation: 66-62=4 Current State: 30:[18, 42, 4], Operations: ['66-62=4'] Exploring Operation: 18*4=72, Resulting Numbers: [42, 72] Generated Node #3: [42, 72] from Operation: 18*4=72 Current State: 30:[42, 72], Operations: ['66-62=4', '18*4=72'] Exploring Operation: 72-42=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[66, 18, 42, 62], Operations: [] Exploring Operation: 66-62=4, Resulting Numbers: [18, 42, 4] Generated Node #0,0: 30:[18, 42, 4] Operation: 66-62=4 Exploring Operation: 66-42=24, Resulting Numbers: [18, 62, 24] Generated Node #0,1: 30:[18, 62, 24] Operation: 66-42=24 Exploring Operation: 62-42=20, Resulting Numbers: [66, 18, 20] Generated Node #0,2: 30:[66, 18, 20] Operation: 62-42=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[18, 42, 4], Operations: ['66-62=4'] Exploring Operation: 42-4=38, Resulting Numbers: [18, 38] Generated Node #0,0,0: 30:[18, 38] Operation: 42-4=38 Exploring Operation: 42-18=24, Resulting Numbers: [4, 24] Generated Node #0,0,1: 30:[4, 24] Operation: 42-18=24 Exploring Operation: 18-4=14, Resulting Numbers: [42, 14] Generated Node #0,0,2: 30:[42, 14] Operation: 18-4=14 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 30:[4, 24], Operations: ['66-62=4', '42-18=24'] Exploring Operation: 4+24=28, Resulting Numbers: [28] 28,30 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,30 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,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,0,0 Current State: 30:[18, 38], Operations: ['66-62=4', '42-4=38'] Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,30 unequal: No Solution Exploring Operation: 18+38=56, Resulting Numbers: [56] 56,30 unequal: No Solution Exploring Operation: 18*38=684, Resulting Numbers: [684] 684,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,0,2 Current State: 30:[42, 14], Operations: ['66-62=4', '18-4=14'] Exploring Operation: 42-14=28, Resulting Numbers: [28] 28,30 unequal: No Solution Exploring Operation: 42/14=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 42+14=56, Resulting Numbers: [56] 56,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:[18, 62, 24], Operations: ['66-42=24'] Exploring Operation: 62-18=44, Resulting Numbers: [24, 44] Generated Node #0,1,0: 30:[24, 44] Operation: 62-18=44 Exploring Operation: 62-24=38, Resulting Numbers: [18, 38] Generated Node #0,1,1: 30:[18, 38] Operation: 62-24=38 Exploring Operation: 24-18=6, Resulting Numbers: [62, 6] Generated Node #0,1,2: 30:[62, 6] Operation: 24-18=6 Moving to Node #0,1,1 Current State: 30:[18, 38], Operations: ['66-42=24', '62-24=38'] Exploring Operation: 18+38=56, Resulting Numbers: [56] 56,30 unequal: No Solution Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,30 unequal: No Solution Exploring Operation: 18*38=684, Resulting Numbers: [684] 684,30 unequal: No Solution Moving to Node #0,1,0 Current State: 30:[24, 44], Operations: ['66-42=24', '62-18=44'] Exploring Operation: 24+44=68, Resulting Numbers: [68] 68,30 unequal: No Solution Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,30 unequal: No Solution Exploring Operation: 24*44=1056, Resulting Numbers: [1056] 1056,30 unequal: No Solution Moving to Node #0,1,2 Current State: 30:[62, 6], Operations: ['66-42=24', '24-18=6'] Exploring Operation: 62+6=68, Resulting Numbers: [68] 68,30 unequal: No Solution Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,30 unequal: No Solution Exploring Operation: 62*6=372, Resulting Numbers: [372] 372,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 30:[66, 18, 20], Operations: ['62-42=20'] Exploring Operation: 66-20=46, Resulting Numbers: [18, 46] Generated Node #0,2,0: 30:[18, 46] Operation: 66-20=46 Exploring Operation: 66-18=48, Resulting Numbers: [20, 48] Generated Node #0,2,1: 30:[20, 48] Operation: 66-18=48 Exploring Operation: 20-18=2, Resulting Numbers: [66, 2] Generated Node #0,2,2: 30:[66, 2] Operation: 20-18=2 Moving to Node #0,2,0 Current State: 30:[18, 46], Operations: ['62-42=20', '66-20=46'] Exploring Operation: 18*46=828, Resulting Numbers: [828] 828,30 unequal: No Solution Exploring Operation: 18+46=64, Resulting Numbers: [64] 64,30 unequal: No Solution Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,30 unequal: No Solution Moving to Node #0,2,1 Current State: 30:[20, 48], Operations: ['62-42=20', '66-18=48'] Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,30 unequal: No Solution Exploring Operation: 20*48=960, Resulting Numbers: [960] 960,30 unequal: No Solution Exploring Operation: 20+48=68, Resulting Numbers: [68] 68,30 unequal: No Solution Moving to Node #0,2,2 Current State: 30:[66, 2], Operations: ['62-42=20', '20-18=2'] Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,30 unequal: No Solution Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,30 unequal: No Solution Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,30 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
[ 91, 36, 43, 14 ]
89
[ "43-36=7", "14/7=2", "91-2=89" ]
Current State: 89:[91, 36, 43, 14], Operations: [] Exploring Operation: 43-36=7, Resulting Numbers: [91, 14, 7] Generated Node #2: [91, 14, 7] from Operation: 43-36=7 Current State: 89:[91, 14, 7], Operations: ['43-36=7'] Exploring Operation: 14/7=2, Resulting Numbers: [91, 2] Generated Node #3: [91, 2] from Operation: 14/7=2 Current State: 89:[91, 2], Operations: ['43-36=7', '14/7=2'] Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[91, 36, 43, 14], Operations: [] Exploring Operation: 43+14=57, Resulting Numbers: [91, 36, 57] Generated Node #0,0: 89:[91, 36, 57] Operation: 43+14=57 Exploring Operation: 36+14=50, Resulting Numbers: [91, 43, 50] Generated Node #0,1: 89:[91, 43, 50] Operation: 36+14=50 Exploring Operation: 91-14=77, Resulting Numbers: [36, 43, 77] Generated Node #0,2: 89:[36, 43, 77] Operation: 91-14=77 Exploring Operation: 36+43=79, Resulting Numbers: [91, 14, 79] Generated Node #0,3: 89:[91, 14, 79] Operation: 36+43=79 Exploring Operation: 91+14=105, Resulting Numbers: [36, 43, 105] Generated Node #0,4: 89:[36, 43, 105] Operation: 91+14=105 Moving to Node #0,0 Current State: 89:[91, 36, 57], Operations: ['43+14=57'] Exploring Operation: 57-36=21, Resulting Numbers: [91, 21] Generated Node #0,0,0: 89:[91, 21] Operation: 57-36=21 Exploring Operation: 91-57=34, Resulting Numbers: [36, 34] Generated Node #0,0,1: 89:[36, 34] Operation: 91-57=34 Exploring Operation: 91+36=127, Resulting Numbers: [57, 127] Generated Node #0,0,2: 89:[57, 127] Operation: 91+36=127 Exploring Operation: 91-36=55, Resulting Numbers: [57, 55] Generated Node #0,0,3: 89:[57, 55] Operation: 91-36=55 Exploring Operation: 36+57=93, Resulting Numbers: [91, 93] Generated Node #0,0,4: 89:[91, 93] Operation: 36+57=93 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 89:[91, 93], Operations: ['43+14=57', '36+57=93'] Exploring Operation: 93-91=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 91*93=8463, Resulting Numbers: [8463] 8463,89 unequal: No Solution Exploring Operation: 91+93=184, Resulting Numbers: [184] 184,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,0,3 Current State: 89:[57, 55], Operations: ['43+14=57', '91-36=55'] Exploring Operation: 57-55=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 57*55=3135, Resulting Numbers: [3135] 3135,89 unequal: No Solution Exploring Operation: 57+55=112, Resulting Numbers: [112] 112,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,0,0 Current State: 89:[91, 21], Operations: ['43+14=57', '57-36=21'] Exploring Operation: 91*21=1911, Resulting Numbers: [1911] 1911,89 unequal: No Solution Exploring Operation: 91+21=112, Resulting Numbers: [112] 112,89 unequal: No Solution Exploring Operation: 91-21=70, Resulting Numbers: [70] 70,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,0,2 Current State: 89:[57, 127], Operations: ['43+14=57', '91+36=127'] Exploring Operation: 57+127=184, Resulting Numbers: [184] 184,89 unequal: No Solution Exploring Operation: 127-57=70, Resulting Numbers: [70] 70,89 unequal: No Solution Exploring Operation: 57*127=7239, Resulting Numbers: [7239] 7239,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,0,1 Current State: 89:[36, 34], Operations: ['43+14=57', '91-57=34'] Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 36+34=70, Resulting Numbers: [70] 70,89 unequal: No Solution Exploring Operation: 36*34=1224, Resulting Numbers: [1224] 1224,89 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: 89:[91, 14, 79], Operations: ['36+43=79'] Exploring Operation: 91+14=105, Resulting Numbers: [79, 105] Generated Node #0,3,0: 89:[79, 105] Operation: 91+14=105 Exploring Operation: 79-14=65, Resulting Numbers: [91, 65] Generated Node #0,3,1: 89:[91, 65] Operation: 79-14=65 Exploring Operation: 91-79=12, Resulting Numbers: [14, 12] Generated Node #0,3,2: 89:[14, 12] Operation: 91-79=12 Exploring Operation: 91-14=77, Resulting Numbers: [79, 77] Generated Node #0,3,3: 89:[79, 77] Operation: 91-14=77 Exploring Operation: 14+79=93, Resulting Numbers: [91, 93] Generated Node #0,3,4: 89:[91, 93] Operation: 14+79=93 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 89:[91, 93], Operations: ['36+43=79', '14+79=93'] Exploring Operation: 93-91=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 91+93=184, Resulting Numbers: [184] 184,89 unequal: No Solution Exploring Operation: 91*93=8463, Resulting Numbers: [8463] 8463,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,3,3 Current State: 89:[79, 77], Operations: ['36+43=79', '91-14=77'] Exploring Operation: 79+77=156, Resulting Numbers: [156] 156,89 unequal: No Solution Exploring Operation: 79-77=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 79*77=6083, Resulting Numbers: [6083] 6083,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,3,0 Current State: 89:[79, 105], Operations: ['36+43=79', '91+14=105'] Exploring Operation: 79+105=184, Resulting Numbers: [184] 184,89 unequal: No Solution Exploring Operation: 105-79=26, Resulting Numbers: [26] 26,89 unequal: No Solution Exploring Operation: 79*105=8295, Resulting Numbers: [8295] 8295,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,3,1 Current State: 89:[91, 65], Operations: ['36+43=79', '79-14=65'] Exploring Operation: 91+65=156, Resulting Numbers: [156] 156,89 unequal: No Solution Exploring Operation: 91-65=26, Resulting Numbers: [26] 26,89 unequal: No Solution Exploring Operation: 91*65=5915, Resulting Numbers: [5915] 5915,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,3,2 Current State: 89:[14, 12], Operations: ['36+43=79', '91-79=12'] Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 14*12=168, Resulting Numbers: [168] 168,89 unequal: No Solution Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,89 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: 89:[91, 43, 50], Operations: ['36+14=50'] Exploring Operation: 50-43=7, Resulting Numbers: [91, 7] Generated Node #0,1,0: 89:[91, 7] Operation: 50-43=7 Exploring Operation: 43+50=93, Resulting Numbers: [91, 93] Generated Node #0,1,1: 89:[91, 93] Operation: 43+50=93 Exploring Operation: 91-50=41, Resulting Numbers: [43, 41] Generated Node #0,1,2: 89:[43, 41] Operation: 91-50=41 Exploring Operation: 91+43=134, Resulting Numbers: [50, 134] Generated Node #0,1,3: 89:[50, 134] Operation: 91+43=134 Exploring Operation: 91-43=48, Resulting Numbers: [50, 48] Generated Node #0,1,4: 89:[50, 48] Operation: 91-43=48 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[91, 93], Operations: ['36+14=50', '43+50=93'] Exploring Operation: 91*93=8463, Resulting Numbers: [8463] 8463,89 unequal: No Solution Exploring Operation: 91+93=184, Resulting Numbers: [184] 184,89 unequal: No Solution Exploring Operation: 93-91=2, Resulting Numbers: [2] 2,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,4 Current State: 89:[50, 48], Operations: ['36+14=50', '91-43=48'] Exploring Operation: 50-48=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 50+48=98, Resulting Numbers: [98] 98,89 unequal: No Solution Exploring Operation: 50*48=2400, Resulting Numbers: [2400] 2400,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:[91, 7], Operations: ['36+14=50', '50-43=7'] Exploring Operation: 91-7=84, Resulting Numbers: [84] 84,89 unequal: No Solution Exploring Operation: 91*7=637, Resulting Numbers: [637] 637,89 unequal: No Solution Exploring Operation: 91/7=13, Resulting Numbers: [13] 13,89 unequal: No Solution Exploring Operation: 91+7=98, Resulting Numbers: [98] 98,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,3 Current State: 89:[50, 134], Operations: ['36+14=50', '91+43=134'] Exploring Operation: 134-50=84, Resulting Numbers: [84] 84,89 unequal: No Solution Exploring Operation: 50*134=6700, Resulting Numbers: [6700] 6700,89 unequal: No Solution Exploring Operation: 50+134=184, Resulting Numbers: [184] 184,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:[43, 41], Operations: ['36+14=50', '91-50=41'] Exploring Operation: 43-41=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 43*41=1763, Resulting Numbers: [1763] 1763,89 unequal: No Solution Exploring Operation: 43+41=84, Resulting Numbers: [84] 84,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:[36, 43, 77], Operations: ['91-14=77'] Exploring Operation: 36+77=113, Resulting Numbers: [43, 113] Generated Node #0,2,0: 89:[43, 113] Operation: 36+77=113 Exploring Operation: 43+77=120, Resulting Numbers: [36, 120] Generated Node #0,2,1: 89:[36, 120] Operation: 43+77=120 Exploring Operation: 77-36=41, Resulting Numbers: [43, 41] Generated Node #0,2,2: 89:[43, 41] Operation: 77-36=41 Exploring Operation: 43-36=7, Resulting Numbers: [77, 7] Generated Node #0,2,3: 89:[77, 7] Operation: 43-36=7 Exploring Operation: 36+43=79, Resulting Numbers: [77, 79] Generated Node #0,2,4: 89:[77, 79] Operation: 36+43=79 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 89:[77, 79], Operations: ['91-14=77', '36+43=79'] Exploring Operation: 79-77=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 77+79=156, Resulting Numbers: [156] 156,89 unequal: No Solution Exploring Operation: 77*79=6083, Resulting Numbers: [6083] 6083,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:[43, 113], Operations: ['91-14=77', '36+77=113'] Exploring Operation: 43+113=156, Resulting Numbers: [156] 156,89 unequal: No Solution Exploring Operation: 113-43=70, Resulting Numbers: [70] 70,89 unequal: No Solution Exploring Operation: 43*113=4859, Resulting Numbers: [4859] 4859,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,1 Current State: 89:[36, 120], Operations: ['91-14=77', '43+77=120'] Exploring Operation: 120-36=84, Resulting Numbers: [84] 84,89 unequal: No Solution Exploring Operation: 36+120=156, Resulting Numbers: [156] 156,89 unequal: No Solution Exploring Operation: 36*120=4320, Resulting Numbers: [4320] 4320,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:[43, 41], Operations: ['91-14=77', '77-36=41'] Exploring Operation: 43-41=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 43+41=84, Resulting Numbers: [84] 84,89 unequal: No Solution Exploring Operation: 43*41=1763, Resulting Numbers: [1763] 1763,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,3 Current State: 89:[77, 7], Operations: ['91-14=77', '43-36=7'] Exploring Operation: 77*7=539, Resulting Numbers: [539] 539,89 unequal: No Solution Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,89 unequal: No Solution Exploring Operation: 77+7=84, Resulting Numbers: [84] 84,89 unequal: No Solution Exploring Operation: 77-7=70, Resulting Numbers: [70] 70,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 89:[36, 43, 105], Operations: ['91+14=105'] Exploring Operation: 36+105=141, Resulting Numbers: [43, 141] Generated Node #0,4,0: 89:[43, 141] Operation: 36+105=141 Exploring Operation: 36+43=79, Resulting Numbers: [105, 79] Generated Node #0,4,1: 89:[105, 79] Operation: 36+43=79 Exploring Operation: 105-36=69, Resulting Numbers: [43, 69] Generated Node #0,4,2: 89:[43, 69] Operation: 105-36=69 Exploring Operation: 105-43=62, Resulting Numbers: [36, 62] Generated Node #0,4,3: 89:[36, 62] Operation: 105-43=62 Exploring Operation: 43-36=7, Resulting Numbers: [105, 7] Generated Node #0,4,4: 89:[105, 7] Operation: 43-36=7 Moving to Node #0,4,1 Current State: 89:[105, 79], Operations: ['91+14=105', '36+43=79'] Exploring Operation: 105+79=184, Resulting Numbers: [184] 184,89 unequal: No Solution Exploring Operation: 105*79=8295, Resulting Numbers: [8295] 8295,89 unequal: No Solution Exploring Operation: 105-79=26, Resulting Numbers: [26] 26,89 unequal: No Solution Moving to Node #0,4,2 Current State: 89:[43, 69], Operations: ['91+14=105', '105-36=69'] Exploring Operation: 69-43=26, Resulting Numbers: [26] 26,89 unequal: No Solution Exploring Operation: 43+69=112, Resulting Numbers: [112] 112,89 unequal: No Solution Exploring Operation: 43*69=2967, Resulting Numbers: [2967] 2967,89 unequal: No Solution Moving to Node #0,4,3 Current State: 89:[36, 62], Operations: ['91+14=105', '105-43=62'] Exploring Operation: 36+62=98, Resulting Numbers: [98] 98,89 unequal: No Solution Exploring Operation: 62-36=26, Resulting Numbers: [26] 26,89 unequal: No Solution Exploring Operation: 36*62=2232, Resulting Numbers: [2232] 2232,89 unequal: No Solution Moving to Node #0,4,0 Current State: 89:[43, 141], Operations: ['91+14=105', '36+105=141'] Exploring Operation: 141-43=98, Resulting Numbers: [98] 98,89 unequal: No Solution Exploring Operation: 43*141=6063, Resulting Numbers: [6063] 6063,89 unequal: No Solution Exploring Operation: 43+141=184, Resulting Numbers: [184] 184,89 unequal: No Solution Moving to Node #0,4,4 Current State: 89:[105, 7], Operations: ['91+14=105', '43-36=7'] Exploring Operation: 105-7=98, Resulting Numbers: [98] 98,89 unequal: No Solution Exploring Operation: 105/7=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 105*7=735, Resulting Numbers: [735] 735,89 unequal: No Solution Exploring Operation: 105+7=112, Resulting Numbers: [112] 112,89 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 57, 83, 5, 55 ]
75
[ "83-57=26", "5*26=130", "130-55=75" ]
Current State: 75:[57, 83, 5, 55], Operations: [] Exploring Operation: 83-57=26, Resulting Numbers: [5, 55, 26] Generated Node #2: [5, 55, 26] from Operation: 83-57=26 Current State: 75:[5, 55, 26], Operations: ['83-57=26'] Exploring Operation: 5*26=130, Resulting Numbers: [55, 130] Generated Node #3: [55, 130] from Operation: 5*26=130 Current State: 75:[55, 130], Operations: ['83-57=26', '5*26=130'] Exploring Operation: 130-55=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[57, 83, 5, 55], Operations: [] Exploring Operation: 57-55=2, Resulting Numbers: [83, 5, 2] Generated Node #0,0: 75:[83, 5, 2] Operation: 57-55=2 Exploring Operation: 57+5=62, Resulting Numbers: [83, 55, 62] Generated Node #0,1: 75:[83, 55, 62] Operation: 57+5=62 Exploring Operation: 83-57=26, Resulting Numbers: [5, 55, 26] Generated Node #0,2: 75:[5, 55, 26] Operation: 83-57=26 Exploring Operation: 55/5=11, Resulting Numbers: [57, 83, 11] Generated Node #0,3: 75:[57, 83, 11] Operation: 55/5=11 Exploring Operation: 83-55=28, Resulting Numbers: [57, 5, 28] Generated Node #0,4: 75:[57, 5, 28] Operation: 83-55=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[83, 5, 2], Operations: ['57-55=2'] Exploring Operation: 5+2=7, Resulting Numbers: [83, 7] Generated Node #0,0,0: 75:[83, 7] Operation: 5+2=7 Exploring Operation: 5-2=3, Resulting Numbers: [83, 3] Generated Node #0,0,1: 75:[83, 3] Operation: 5-2=3 Exploring Operation: 83-5=78, Resulting Numbers: [2, 78] Generated Node #0,0,2: 75:[2, 78] Operation: 83-5=78 Exploring Operation: 83-2=81, Resulting Numbers: [5, 81] Generated Node #0,0,3: 75:[5, 81] Operation: 83-2=81 Exploring Operation: 83+2=85, Resulting Numbers: [5, 85] Generated Node #0,0,4: 75:[5, 85] Operation: 83+2=85 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 75:[2, 78], Operations: ['57-55=2', '83-5=78'] Exploring Operation: 2*78=156, Resulting Numbers: [156] 156,75 unequal: No Solution Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,75 unequal: No Solution Exploring Operation: 2+78=80, Resulting Numbers: [80] 80,75 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 75:[5, 81], Operations: ['57-55=2', '83-2=81'] Exploring Operation: 5+81=86, Resulting Numbers: [86] 86,75 unequal: No Solution Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,75 unequal: No Solution Exploring Operation: 5*81=405, Resulting Numbers: [405] 405,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 75:[83, 3], Operations: ['57-55=2', '5-2=3'] Exploring Operation: 83*3=249, Resulting Numbers: [249] 249,75 unequal: No Solution Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,75 unequal: No Solution Exploring Operation: 83+3=86, Resulting Numbers: [86] 86,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[83, 7], Operations: ['57-55=2', '5+2=7'] Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,75 unequal: No Solution Exploring Operation: 83*7=581, Resulting Numbers: [581] 581,75 unequal: No Solution Exploring Operation: 83+7=90, Resulting Numbers: [90] 90,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 75:[5, 85], Operations: ['57-55=2', '83+2=85'] Exploring Operation: 5+85=90, Resulting Numbers: [90] 90,75 unequal: No Solution Exploring Operation: 5*85=425, Resulting Numbers: [425] 425,75 unequal: No Solution Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,75 unequal: No Solution Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[5, 55, 26], Operations: ['83-57=26'] Exploring Operation: 55+26=81, Resulting Numbers: [5, 81] Generated Node #0,2,0: 75:[5, 81] Operation: 55+26=81 Exploring Operation: 26-5=21, Resulting Numbers: [55, 21] Generated Node #0,2,1: 75:[55, 21] Operation: 26-5=21 Exploring Operation: 5+55=60, Resulting Numbers: [26, 60] Generated Node #0,2,2: 75:[26, 60] Operation: 5+55=60 Exploring Operation: 55-26=29, Resulting Numbers: [5, 29] Generated Node #0,2,3: 75:[5, 29] Operation: 55-26=29 Exploring Operation: 55/5=11, Resulting Numbers: [26, 11] Generated Node #0,2,4: 75:[26, 11] Operation: 55/5=11 Moving to Node #0,2,3 Current State: 75:[5, 29], Operations: ['83-57=26', '55-26=29'] Exploring Operation: 5*29=145, Resulting Numbers: [145] 145,75 unequal: No Solution Exploring Operation: 5+29=34, Resulting Numbers: [34] 34,75 unequal: No Solution Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,75 unequal: No Solution Moving to Node #0,2,4 Current State: 75:[26, 11], Operations: ['83-57=26', '55/5=11'] Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,75 unequal: No Solution Exploring Operation: 26*11=286, Resulting Numbers: [286] 286,75 unequal: No Solution Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,75 unequal: No Solution Moving to Node #0,2,0 Current State: 75:[5, 81], Operations: ['83-57=26', '55+26=81'] Exploring Operation: 5*81=405, Resulting Numbers: [405] 405,75 unequal: No Solution Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,75 unequal: No Solution Exploring Operation: 5+81=86, Resulting Numbers: [86] 86,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[26, 60], Operations: ['83-57=26', '5+55=60'] Exploring Operation: 26+60=86, Resulting Numbers: [86] 86,75 unequal: No Solution Exploring Operation: 60-26=34, Resulting Numbers: [34] 34,75 unequal: No Solution Exploring Operation: 26*60=1560, Resulting Numbers: [1560] 1560,75 unequal: No Solution Moving to Node #0,2,1 Current State: 75:[55, 21], Operations: ['83-57=26', '26-5=21'] Exploring Operation: 55-21=34, Resulting Numbers: [34] 34,75 unequal: No Solution Exploring Operation: 55+21=76, Resulting Numbers: [76] 76,75 unequal: No Solution Exploring Operation: 55*21=1155, Resulting Numbers: [1155] 1155,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 75:[57, 5, 28], Operations: ['83-55=28'] Exploring Operation: 57+28=85, Resulting Numbers: [5, 85] Generated Node #0,4,0: 75:[5, 85] Operation: 57+28=85 Exploring Operation: 57-28=29, Resulting Numbers: [5, 29] Generated Node #0,4,1: 75:[5, 29] Operation: 57-28=29 Exploring Operation: 57-5=52, Resulting Numbers: [28, 52] Generated Node #0,4,2: 75:[28, 52] Operation: 57-5=52 Exploring Operation: 57+5=62, Resulting Numbers: [28, 62] Generated Node #0,4,3: 75:[28, 62] Operation: 57+5=62 Exploring Operation: 28-5=23, Resulting Numbers: [57, 23] Generated Node #0,4,4: 75:[57, 23] Operation: 28-5=23 Moving to Node #0,4,1 Current State: 75:[5, 29], Operations: ['83-55=28', '57-28=29'] Exploring Operation: 5*29=145, Resulting Numbers: [145] 145,75 unequal: No Solution Exploring Operation: 5+29=34, Resulting Numbers: [34] 34,75 unequal: No Solution Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,75 unequal: No Solution Moving to Node #0,4,0 Current State: 75:[5, 85], Operations: ['83-55=28', '57+28=85'] Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,75 unequal: No Solution Exploring Operation: 5+85=90, Resulting Numbers: [90] 90,75 unequal: No Solution Exploring Operation: 5*85=425, Resulting Numbers: [425] 425,75 unequal: No Solution Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,75 unequal: No Solution Moving to Node #0,4,3 Current State: 75:[28, 62], Operations: ['83-55=28', '57+5=62'] Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,75 unequal: No Solution Exploring Operation: 28+62=90, Resulting Numbers: [90] 90,75 unequal: No Solution Exploring Operation: 28*62=1736, Resulting Numbers: [1736] 1736,75 unequal: No Solution Moving to Node #0,4,4 Current State: 75:[57, 23], Operations: ['83-55=28', '28-5=23'] Exploring Operation: 57+23=80, Resulting Numbers: [80] 80,75 unequal: No Solution Exploring Operation: 57*23=1311, Resulting Numbers: [1311] 1311,75 unequal: No Solution Exploring Operation: 57-23=34, Resulting Numbers: [34] 34,75 unequal: No Solution Moving to Node #0,4,2 Current State: 75:[28, 52], Operations: ['83-55=28', '57-5=52'] Exploring Operation: 28*52=1456, Resulting Numbers: [1456] 1456,75 unequal: No Solution Exploring Operation: 52-28=24, Resulting Numbers: [24] 24,75 unequal: No Solution Exploring Operation: 28+52=80, Resulting Numbers: [80] 80,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,3 Current State: 75:[57, 83, 11], Operations: ['55/5=11'] Exploring Operation: 83+11=94, Resulting Numbers: [57, 94] Generated Node #0,3,0: 75:[57, 94] Operation: 83+11=94 Exploring Operation: 83-11=72, Resulting Numbers: [57, 72] Generated Node #0,3,1: 75:[57, 72] Operation: 83-11=72 Exploring Operation: 57+11=68, Resulting Numbers: [83, 68] Generated Node #0,3,2: 75:[83, 68] Operation: 57+11=68 Exploring Operation: 83-57=26, Resulting Numbers: [11, 26] Generated Node #0,3,3: 75:[11, 26] Operation: 83-57=26 Exploring Operation: 57-11=46, Resulting Numbers: [83, 46] Generated Node #0,3,4: 75:[83, 46] Operation: 57-11=46 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 75:[11, 26], Operations: ['55/5=11', '83-57=26'] Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,75 unequal: No Solution Exploring Operation: 11+26=37, Resulting Numbers: [37] 37,75 unequal: No Solution Exploring Operation: 11*26=286, Resulting Numbers: [286] 286,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,3,2 Current State: 75:[83, 68], Operations: ['55/5=11', '57+11=68'] Exploring Operation: 83+68=151, Resulting Numbers: [151] 151,75 unequal: No Solution Exploring Operation: 83-68=15, Resulting Numbers: [15] 15,75 unequal: No Solution Exploring Operation: 83*68=5644, Resulting Numbers: [5644] 5644,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,3,1 Current State: 75:[57, 72], Operations: ['55/5=11', '83-11=72'] Exploring Operation: 57*72=4104, Resulting Numbers: [4104] 4104,75 unequal: No Solution Exploring Operation: 57+72=129, Resulting Numbers: [129] 129,75 unequal: No Solution Exploring Operation: 72-57=15, Resulting Numbers: [15] 15,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,3,4 Current State: 75:[83, 46], Operations: ['55/5=11', '57-11=46'] Exploring Operation: 83-46=37, Resulting Numbers: [37] 37,75 unequal: No Solution Exploring Operation: 83+46=129, Resulting Numbers: [129] 129,75 unequal: No Solution Exploring Operation: 83*46=3818, Resulting Numbers: [3818] 3818,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,3,0 Current State: 75:[57, 94], Operations: ['55/5=11', '83+11=94'] Exploring Operation: 94-57=37, Resulting Numbers: [37] 37,75 unequal: No Solution Exploring Operation: 57*94=5358, Resulting Numbers: [5358] 5358,75 unequal: No Solution Exploring Operation: 57+94=151, Resulting Numbers: [151] 151,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[83, 55, 62], Operations: ['57+5=62'] Exploring Operation: 83+55=138, Resulting Numbers: [62, 138] Generated Node #0,1,0: 75:[62, 138] Operation: 83+55=138 Exploring Operation: 83-55=28, Resulting Numbers: [62, 28] Generated Node #0,1,1: 75:[62, 28] Operation: 83-55=28 Exploring Operation: 83-62=21, Resulting Numbers: [55, 21] Generated Node #0,1,2: 75:[55, 21] Operation: 83-62=21 Exploring Operation: 55+62=117, Resulting Numbers: [83, 117] Generated Node #0,1,3: 75:[83, 117] Operation: 55+62=117 Exploring Operation: 62-55=7, Resulting Numbers: [83, 7] Generated Node #0,1,4: 75:[83, 7] Operation: 62-55=7 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 75:[83, 7], Operations: ['57+5=62', '62-55=7'] Exploring Operation: 83+7=90, Resulting Numbers: [90] 90,75 unequal: No Solution Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,75 unequal: No Solution Exploring Operation: 83*7=581, Resulting Numbers: [581] 581,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 75:[62, 28], Operations: ['57+5=62', '83-55=28'] Exploring Operation: 62*28=1736, Resulting Numbers: [1736] 1736,75 unequal: No Solution Exploring Operation: 62+28=90, Resulting Numbers: [90] 90,75 unequal: No Solution Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,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,2 Current State: 75:[55, 21], Operations: ['57+5=62', '83-62=21'] Exploring Operation: 55-21=34, Resulting Numbers: [34] 34,75 unequal: No Solution Exploring Operation: 55+21=76, Resulting Numbers: [76] 76,75 unequal: No Solution Exploring Operation: 55*21=1155, Resulting Numbers: [1155] 1155,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 75:[83, 117], Operations: ['57+5=62', '55+62=117'] Exploring Operation: 117-83=34, Resulting Numbers: [34] 34,75 unequal: No Solution Exploring Operation: 83+117=200, Resulting Numbers: [200] 200,75 unequal: No Solution Exploring Operation: 83*117=9711, Resulting Numbers: [9711] 9711,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:[62, 138], Operations: ['57+5=62', '83+55=138'] Exploring Operation: 138-62=76, Resulting Numbers: [76] 76,75 unequal: No Solution Exploring Operation: 62*138=8556, Resulting Numbers: [8556] 8556,75 unequal: No Solution Exploring Operation: 62+138=200, Resulting Numbers: [200] 200,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 89, 37, 7, 66 ]
10
[ "89*7=623", "37+623=660", "660/66=10" ]
Current State: 10:[89, 37, 7, 66], Operations: [] Exploring Operation: 89*7=623, Resulting Numbers: [37, 66, 623] Generated Node #2: [37, 66, 623] from Operation: 89*7=623 Current State: 10:[37, 66, 623], Operations: ['89*7=623'] Exploring Operation: 37+623=660, Resulting Numbers: [66, 660] Generated Node #3: [66, 660] from Operation: 37+623=660 Current State: 10:[66, 660], Operations: ['89*7=623', '37+623=660'] Exploring Operation: 660/66=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[89, 37, 7, 66], Operations: [] Exploring Operation: 89-66=23, Resulting Numbers: [37, 7, 23] Generated Node #0,0: 10:[37, 7, 23] Operation: 89-66=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[37, 7, 23], Operations: ['89-66=23'] Exploring Operation: 37-23=14, Resulting Numbers: [7, 14] Generated Node #0,0,0: 10:[7, 14] Operation: 37-23=14 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 10:[7, 14], Operations: ['89-66=23', '37-23=14'] Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 11, 40, 4, 75 ]
56
[ "75-11=64", "64/4=16", "40+16=56" ]
Current State: 56:[11, 40, 4, 75], Operations: [] Exploring Operation: 75-11=64, Resulting Numbers: [40, 4, 64] Generated Node #2: [40, 4, 64] from Operation: 75-11=64 Current State: 56:[40, 4, 64], Operations: ['75-11=64'] Exploring Operation: 64/4=16, Resulting Numbers: [40, 16] Generated Node #3: [40, 16] from Operation: 64/4=16 Current State: 56:[40, 16], Operations: ['75-11=64', '64/4=16'] Exploring Operation: 40+16=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[11, 40, 4, 75], Operations: [] Exploring Operation: 40/4=10, Resulting Numbers: [11, 75, 10] Generated Node #0,0: 56:[11, 75, 10] Operation: 40/4=10 Exploring Operation: 11+40=51, Resulting Numbers: [4, 75, 51] Generated Node #0,1: 56:[4, 75, 51] Operation: 11+40=51 Exploring Operation: 75-11=64, Resulting Numbers: [40, 4, 64] Generated Node #0,2: 56:[40, 4, 64] Operation: 75-11=64 Exploring Operation: 75-40=35, Resulting Numbers: [11, 4, 35] Generated Node #0,3: 56:[11, 4, 35] Operation: 75-40=35 Exploring Operation: 40-11=29, Resulting Numbers: [4, 75, 29] Generated Node #0,4: 56:[4, 75, 29] Operation: 40-11=29 Moving to Node #0,3 Current State: 56:[11, 4, 35], Operations: ['75-40=35'] Exploring Operation: 11-4=7, Resulting Numbers: [35, 7] Generated Node #0,3,0: 56:[35, 7] Operation: 11-4=7 Exploring Operation: 11+35=46, Resulting Numbers: [4, 46] Generated Node #0,3,1: 56:[4, 46] Operation: 11+35=46 Exploring Operation: 35-4=31, Resulting Numbers: [11, 31] Generated Node #0,3,2: 56:[11, 31] Operation: 35-4=31 Exploring Operation: 11+4=15, Resulting Numbers: [35, 15] Generated Node #0,3,3: 56:[35, 15] Operation: 11+4=15 Exploring Operation: 35-11=24, Resulting Numbers: [4, 24] Generated Node #0,3,4: 56:[4, 24] Operation: 35-11=24 Moving to Node #0,4 Current State: 56:[4, 75, 29], Operations: ['40-11=29'] Exploring Operation: 29-4=25, Resulting Numbers: [75, 25] Generated Node #0,4,0: 56:[75, 25] Operation: 29-4=25 Exploring Operation: 75-4=71, Resulting Numbers: [29, 71] Generated Node #0,4,1: 56:[29, 71] Operation: 75-4=71 Exploring Operation: 75-29=46, Resulting Numbers: [4, 46] Generated Node #0,4,2: 56:[4, 46] Operation: 75-29=46 Exploring Operation: 4+29=33, Resulting Numbers: [75, 33] Generated Node #0,4,3: 56:[75, 33] Operation: 4+29=33 Exploring Operation: 4+75=79, Resulting Numbers: [29, 79] Generated Node #0,4,4: 56:[29, 79] Operation: 4+75=79 Moving to Node #0,2 Current State: 56:[40, 4, 64], Operations: ['75-11=64'] Exploring Operation: 40/4=10, Resulting Numbers: [64, 10] Generated Node #0,2,0: 56:[64, 10] Operation: 40/4=10 Exploring Operation: 64-4=60, Resulting Numbers: [40, 60] Generated Node #0,2,1: 56:[40, 60] Operation: 64-4=60 Exploring Operation: 40-4=36, Resulting Numbers: [64, 36] Generated Node #0,2,2: 56:[64, 36] Operation: 40-4=36 Exploring Operation: 64-40=24, Resulting Numbers: [4, 24] Generated Node #0,2,3: 56:[4, 24] Operation: 64-40=24 Exploring Operation: 64/4=16, Resulting Numbers: [40, 16] Generated Node #0,2,4: 56:[40, 16] Operation: 64/4=16 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 56:[4, 24], Operations: ['75-11=64', '64-40=24'] Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,56 unequal: No Solution Exploring Operation: 4*24=96, Resulting Numbers: [96] 96,56 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,56 unequal: No Solution Exploring Operation: 4+24=28, Resulting Numbers: [28] 28,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,2,0 Current State: 56:[64, 10], Operations: ['75-11=64', '40/4=10'] Exploring Operation: 64*10=640, Resulting Numbers: [640] 640,56 unequal: No Solution Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,56 unequal: No Solution Exploring Operation: 64+10=74, Resulting Numbers: [74] 74,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,2,4 Current State: 56:[40, 16], Operations: ['75-11=64', '64/4=16'] Exploring Operation: 40-16=24, Resulting Numbers: [24] 24,56 unequal: No Solution Exploring Operation: 40*16=640, Resulting Numbers: [640] 640,56 unequal: No Solution Exploring Operation: 40+16=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[11, 40, 4, 75], Operations: [] Exploring Operation: 75-11=64, Resulting Numbers: [40, 4, 64] Generated Node #0,2: 56:[40, 4, 64] Operation: 75-11=64 Moving to Node #0,2 Current State: 56:[40, 4, 64], Operations: ['75-11=64'] Exploring Operation: 64/4=16, Resulting Numbers: [40, 16] Generated Node #0,2,4: 56:[40, 16] Operation: 64/4=16 Moving to Node #0,2,4 Current State: 56:[40, 16], Operations: ['75-11=64', '64/4=16'] Exploring Operation: 40+16=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_5
mult_heuristic
[ 89, 20, 16, 33 ]
43
[ "20-16=4", "33*4=132", "132-89=43" ]
Current State: 43:[89, 20, 16, 33], Operations: [] Exploring Operation: 20-16=4, Resulting Numbers: [89, 33, 4] Generated Node #2: [89, 33, 4] from Operation: 20-16=4 Current State: 43:[89, 33, 4], Operations: ['20-16=4'] Exploring Operation: 33*4=132, Resulting Numbers: [89, 132] Generated Node #3: [89, 132] from Operation: 33*4=132 Current State: 43:[89, 132], Operations: ['20-16=4', '33*4=132'] Exploring Operation: 132-89=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[89, 20, 16, 33], Operations: [] Exploring Operation: 89-20=69, Resulting Numbers: [16, 33, 69] Generated Node #0,0: 43:[16, 33, 69] Operation: 89-20=69 Exploring Operation: 89-16=73, Resulting Numbers: [20, 33, 73] Generated Node #0,1: 43:[20, 33, 73] Operation: 89-16=73 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[16, 33, 69], Operations: ['89-20=69'] Exploring Operation: 16+33=49, Resulting Numbers: [69, 49] Generated Node #0,0,0: 43:[69, 49] Operation: 16+33=49 Exploring Operation: 69-16=53, Resulting Numbers: [33, 53] Generated Node #0,0,1: 43:[33, 53] Operation: 69-16=53 Moving to Node #0,0,1 Current State: 43:[33, 53], Operations: ['89-20=69', '69-16=53'] Exploring Operation: 33+53=86, Resulting Numbers: [86] 86,43 unequal: No Solution Exploring Operation: 53-33=20, Resulting Numbers: [20] 20,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[69, 49], Operations: ['89-20=69', '16+33=49'] Exploring Operation: 69+49=118, Resulting Numbers: [118] 118,43 unequal: No Solution Exploring Operation: 69-49=20, Resulting Numbers: [20] 20,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 Current State: 43:[20, 33, 73], Operations: ['89-16=73'] Exploring Operation: 73-20=53, Resulting Numbers: [33, 53] Generated Node #0,1,0: 43:[33, 53] Operation: 73-20=53 Exploring Operation: 73-33=40, Resulting Numbers: [20, 40] Generated Node #0,1,1: 43:[20, 40] Operation: 73-33=40 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 43:[33, 53], Operations: ['89-16=73', '73-20=53'] Exploring Operation: 33+53=86, Resulting Numbers: [86] 86,43 unequal: No Solution Exploring Operation: 53-33=20, Resulting Numbers: [20] 20,43 unequal: No Solution No 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: 43:[20, 40], Operations: ['89-16=73', '73-33=40'] Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 20+40=60, Resulting Numbers: [60] 60,43 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, 63, 2, 60 ]
94
[ "92-60=32", "63*2=126", "126-32=94" ]
Current State: 94:[92, 63, 2, 60], Operations: [] Exploring Operation: 92-60=32, Resulting Numbers: [63, 2, 32] Generated Node #2: [63, 2, 32] from Operation: 92-60=32 Current State: 94:[63, 2, 32], Operations: ['92-60=32'] Exploring Operation: 63*2=126, Resulting Numbers: [32, 126] Generated Node #3: [32, 126] from Operation: 63*2=126 Current State: 94:[32, 126], Operations: ['92-60=32', '63*2=126'] Exploring Operation: 126-32=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[92, 63, 2, 60], Operations: [] Exploring Operation: 92+2=94, Resulting Numbers: [63, 60, 94] Generated Node #0,0: 94:[63, 60, 94] Operation: 92+2=94 Exploring Operation: 63-2=61, Resulting Numbers: [92, 60, 61] Generated Node #0,1: 94:[92, 60, 61] Operation: 63-2=61 Exploring Operation: 63-60=3, Resulting Numbers: [92, 2, 3] Generated Node #0,2: 94:[92, 2, 3] Operation: 63-60=3 Exploring Operation: 60-2=58, Resulting Numbers: [92, 63, 58] Generated Node #0,3: 94:[92, 63, 58] Operation: 60-2=58 Start Sub Search at level 1: Moving to Node #0,2 Current State: 94:[92, 2, 3], Operations: ['63-60=3'] Exploring Operation: 92/2=46, Resulting Numbers: [3, 46] Generated Node #0,2,0: 94:[3, 46] Operation: 92/2=46 Exploring Operation: 92+3=95, Resulting Numbers: [2, 95] Generated Node #0,2,1: 94:[2, 95] Operation: 92+3=95 Exploring Operation: 3-2=1, Resulting Numbers: [92, 1] Generated Node #0,2,2: 94:[92, 1] Operation: 3-2=1 Exploring Operation: 92+2=94, Resulting Numbers: [3, 94] Generated Node #0,2,3: 94:[3, 94] Operation: 92+2=94 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 94:[2, 95], Operations: ['63-60=3', '92+3=95'] Exploring Operation: 2+95=97, Resulting Numbers: [97] 97,94 unequal: No Solution Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 2*95=190, Resulting Numbers: [190] 190,94 unequal: No Solution No 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: 94:[3, 94], Operations: ['63-60=3', '92+2=94'] Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,94 unequal: No Solution Exploring Operation: 3*94=282, Resulting Numbers: [282] 282,94 unequal: No Solution Exploring Operation: 3+94=97, Resulting Numbers: [97] 97,94 unequal: No Solution No 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: 94:[3, 46], Operations: ['63-60=3', '92/2=46'] Exploring Operation: 3*46=138, Resulting Numbers: [138] 138,94 unequal: No Solution Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,94 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,94 unequal: No Solution No 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: 94:[92, 1], Operations: ['63-60=3', '3-2=1'] Exploring Operation: 92*1=92, Resulting Numbers: [92] 92,94 unequal: No Solution Exploring Operation: 92-1=91, Resulting Numbers: [91] 91,94 unequal: No Solution Exploring Operation: 92/1=92, Resulting Numbers: [92] 92,94 unequal: No Solution Exploring Operation: 92+1=93, Resulting Numbers: [93] 93,94 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: 94:[63, 60, 94], Operations: ['92+2=94'] Exploring Operation: 94-60=34, Resulting Numbers: [63, 34] Generated Node #0,0,0: 94:[63, 34] Operation: 94-60=34 Exploring Operation: 63+60=123, Resulting Numbers: [94, 123] Generated Node #0,0,1: 94:[94, 123] Operation: 63+60=123 Exploring Operation: 94-63=31, Resulting Numbers: [60, 31] Generated Node #0,0,2: 94:[60, 31] Operation: 94-63=31 Exploring Operation: 63-60=3, Resulting Numbers: [94, 3] Generated Node #0,0,3: 94:[94, 3] Operation: 63-60=3 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 94:[94, 3], Operations: ['92+2=94', '63-60=3'] Exploring Operation: 94*3=282, Resulting Numbers: [282] 282,94 unequal: No Solution Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,94 unequal: No Solution Exploring Operation: 94+3=97, Resulting Numbers: [97] 97,94 unequal: No Solution No 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: 94:[63, 34], Operations: ['92+2=94', '94-60=34'] Exploring Operation: 63*34=2142, Resulting Numbers: [2142] 2142,94 unequal: No Solution Exploring Operation: 63+34=97, Resulting Numbers: [97] 97,94 unequal: No Solution Exploring Operation: 63-34=29, Resulting Numbers: [29] 29,94 unequal: No Solution No 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: 94:[94, 123], Operations: ['92+2=94', '63+60=123'] Exploring Operation: 123-94=29, Resulting Numbers: [29] 29,94 unequal: No Solution Exploring Operation: 94*123=11562, Resulting Numbers: [11562] 11562,94 unequal: No Solution Exploring Operation: 94+123=217, Resulting Numbers: [217] 217,94 unequal: No Solution No 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: 94:[60, 31], Operations: ['92+2=94', '94-63=31'] Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,94 unequal: No Solution Exploring Operation: 60*31=1860, Resulting Numbers: [1860] 1860,94 unequal: No Solution Exploring Operation: 60+31=91, Resulting Numbers: [91] 91,94 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: 94:[92, 60, 61], Operations: ['63-2=61'] Exploring Operation: 61-60=1, Resulting Numbers: [92, 1] Generated Node #0,1,0: 94:[92, 1] Operation: 61-60=1 Exploring Operation: 92-61=31, Resulting Numbers: [60, 31] Generated Node #0,1,1: 94:[60, 31] Operation: 92-61=31 Exploring Operation: 92-60=32, Resulting Numbers: [61, 32] Generated Node #0,1,2: 94:[61, 32] Operation: 92-60=32 Exploring Operation: 60+61=121, Resulting Numbers: [92, 121] Generated Node #0,1,3: 94:[92, 121] Operation: 60+61=121 Moving to Node #0,1,0 Current State: 94:[92, 1], Operations: ['63-2=61', '61-60=1'] Exploring Operation: 92+1=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 92-1=91, Resulting Numbers: [91] 91,94 unequal: No Solution Exploring Operation: 92/1=92, Resulting Numbers: [92] 92,94 unequal: No Solution Exploring Operation: 92*1=92, Resulting Numbers: [92] 92,94 unequal: No Solution Moving to Node #0,1,2 Current State: 94:[61, 32], Operations: ['63-2=61', '92-60=32'] Exploring Operation: 61+32=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 61-32=29, Resulting Numbers: [29] 29,94 unequal: No Solution Exploring Operation: 61*32=1952, Resulting Numbers: [1952] 1952,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[60, 31], Operations: ['63-2=61', '92-61=31'] Exploring Operation: 60+31=91, Resulting Numbers: [91] 91,94 unequal: No Solution Exploring Operation: 60*31=1860, Resulting Numbers: [1860] 1860,94 unequal: No Solution Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,94 unequal: No Solution Moving to Node #0,1,3 Current State: 94:[92, 121], Operations: ['63-2=61', '60+61=121'] Exploring Operation: 92+121=213, Resulting Numbers: [213] 213,94 unequal: No Solution Exploring Operation: 92*121=11132, Resulting Numbers: [11132] 11132,94 unequal: No Solution Exploring Operation: 121-92=29, Resulting Numbers: [29] 29,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 94:[92, 63, 58], Operations: ['60-2=58'] Exploring Operation: 92-63=29, Resulting Numbers: [58, 29] Generated Node #0,3,0: 94:[58, 29] Operation: 92-63=29 Exploring Operation: 63-58=5, Resulting Numbers: [92, 5] Generated Node #0,3,1: 94:[92, 5] Operation: 63-58=5 Exploring Operation: 92-58=34, Resulting Numbers: [63, 34] Generated Node #0,3,2: 94:[63, 34] Operation: 92-58=34 Exploring Operation: 63+58=121, Resulting Numbers: [92, 121] Generated Node #0,3,3: 94:[92, 121] Operation: 63+58=121 Moving to Node #0,3,1 Current State: 94:[92, 5], Operations: ['60-2=58', '63-58=5'] Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,94 unequal: No Solution Exploring Operation: 92*5=460, Resulting Numbers: [460] 460,94 unequal: No Solution Exploring Operation: 92+5=97, Resulting Numbers: [97] 97,94 unequal: No Solution Moving to Node #0,3,2 Current State: 94:[63, 34], Operations: ['60-2=58', '92-58=34'] Exploring Operation: 63*34=2142, Resulting Numbers: [2142] 2142,94 unequal: No Solution Exploring Operation: 63+34=97, Resulting Numbers: [97] 97,94 unequal: No Solution Exploring Operation: 63-34=29, Resulting Numbers: [29] 29,94 unequal: No Solution Moving to Node #0,3,0 Current State: 94:[58, 29], Operations: ['60-2=58', '92-63=29'] Exploring Operation: 58+29=87, Resulting Numbers: [87] 87,94 unequal: No Solution Exploring Operation: 58/29=2, Resulting Numbers: [2] 2,94 unequal: No Solution Exploring Operation: 58-29=29, Resulting Numbers: [29] 29,94 unequal: No Solution Exploring Operation: 58*29=1682, Resulting Numbers: [1682] 1682,94 unequal: No Solution Moving to Node #0,3,3 Current State: 94:[92, 121], Operations: ['60-2=58', '63+58=121'] Exploring Operation: 121-92=29, Resulting Numbers: [29] 29,94 unequal: No Solution Exploring Operation: 92+121=213, Resulting Numbers: [213] 213,94 unequal: No Solution Exploring Operation: 92*121=11132, Resulting Numbers: [11132] 11132,94 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
[ 80, 10, 6, 21 ]
56
[ "80-10=70", "6*21=126", "126-70=56" ]
Current State: 56:[80, 10, 6, 21], Operations: [] Exploring Operation: 80-10=70, Resulting Numbers: [6, 21, 70] Generated Node #2: [6, 21, 70] from Operation: 80-10=70 Current State: 56:[6, 21, 70], Operations: ['80-10=70'] Exploring Operation: 6*21=126, Resulting Numbers: [70, 126] Generated Node #3: [70, 126] from Operation: 6*21=126 Current State: 56:[70, 126], Operations: ['80-10=70', '6*21=126'] Exploring Operation: 126-70=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[80, 10, 6, 21], Operations: [] Exploring Operation: 80-10=70, Resulting Numbers: [6, 21, 70] Generated Node #0,0: 56:[6, 21, 70] Operation: 80-10=70 Exploring Operation: 80-21=59, Resulting Numbers: [10, 6, 59] Generated Node #0,1: 56:[10, 6, 59] Operation: 80-21=59 Exploring Operation: 80/10=8, Resulting Numbers: [6, 21, 8] Generated Node #0,2: 56:[6, 21, 8] Operation: 80/10=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[10, 6, 59], Operations: ['80-21=59'] Exploring Operation: 10-6=4, Resulting Numbers: [59, 4] Generated Node #0,1,0: 56:[59, 4] Operation: 10-6=4 Exploring Operation: 59-6=53, Resulting Numbers: [10, 53] Generated Node #0,1,1: 56:[10, 53] Operation: 59-6=53 Exploring Operation: 10+6=16, Resulting Numbers: [59, 16] Generated Node #0,1,2: 56:[59, 16] Operation: 10+6=16 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 56:[59, 4], Operations: ['80-21=59', '10-6=4'] Exploring Operation: 59+4=63, Resulting Numbers: [63] 63,56 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 59*4=236, Resulting Numbers: [236] 236,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,1,1 Current State: 56:[10, 53], Operations: ['80-21=59', '59-6=53'] Exploring Operation: 10+53=63, Resulting Numbers: [63] 63,56 unequal: No Solution Exploring Operation: 10*53=530, Resulting Numbers: [530] 530,56 unequal: No Solution Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,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,1,2 Current State: 56:[59, 16], Operations: ['80-21=59', '10+6=16'] Exploring Operation: 59*16=944, Resulting Numbers: [944] 944,56 unequal: No Solution Exploring Operation: 59+16=75, Resulting Numbers: [75] 75,56 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,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,2 Current State: 56:[6, 21, 8], Operations: ['80/10=8'] Exploring Operation: 21+8=29, Resulting Numbers: [6, 29] Generated Node #0,2,0: 56:[6, 29] Operation: 21+8=29 Exploring Operation: 6+21=27, Resulting Numbers: [8, 27] Generated Node #0,2,1: 56:[8, 27] Operation: 6+21=27 Exploring Operation: 21-6=15, Resulting Numbers: [8, 15] Generated Node #0,2,2: 56:[8, 15] Operation: 21-6=15 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 56:[8, 27], Operations: ['80/10=8', '6+21=27'] Exploring Operation: 8+27=35, Resulting Numbers: [35] 35,56 unequal: No Solution Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,56 unequal: No Solution Exploring Operation: 8*27=216, Resulting Numbers: [216] 216,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:[8, 15], Operations: ['80/10=8', '21-6=15'] Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,56 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,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,0 Current State: 56:[6, 29], Operations: ['80/10=8', '21+8=29'] Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,56 unequal: No Solution Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,56 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,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:[6, 21, 70], Operations: ['80-10=70'] Exploring Operation: 70-21=49, Resulting Numbers: [6, 49] Generated Node #0,0,0: 56:[6, 49] Operation: 70-21=49 Exploring Operation: 6+21=27, Resulting Numbers: [70, 27] Generated Node #0,0,1: 56:[70, 27] Operation: 6+21=27 Exploring Operation: 21-6=15, Resulting Numbers: [70, 15] Generated Node #0,0,2: 56:[70, 15] Operation: 21-6=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[6, 49], Operations: ['80-10=70', '70-21=49'] Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,56 unequal: No Solution Exploring Operation: 6+49=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 6*49=294, Resulting Numbers: [294] 294,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,0,1 Current State: 56:[70, 27], Operations: ['80-10=70', '6+21=27'] Exploring Operation: 70-27=43, Resulting Numbers: [43] 43,56 unequal: No Solution Exploring Operation: 70+27=97, Resulting Numbers: [97] 97,56 unequal: No Solution Exploring Operation: 70*27=1890, Resulting Numbers: [1890] 1890,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,0,2 Current State: 56:[70, 15], Operations: ['80-10=70', '21-6=15'] Exploring Operation: 70*15=1050, Resulting Numbers: [1050] 1050,56 unequal: No Solution Exploring Operation: 70+15=85, Resulting Numbers: [85] 85,56 unequal: No Solution Exploring Operation: 70-15=55, Resulting Numbers: [55] 55,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 No solution found.
0
hs_3
sum_heuristic
[ 8, 32, 13, 73 ]
15
[ "32/8=4", "73-13=60", "60/4=15" ]
Current State: 15:[8, 32, 13, 73], Operations: [] Exploring Operation: 32/8=4, Resulting Numbers: [13, 73, 4] Generated Node #2: [13, 73, 4] from Operation: 32/8=4 Current State: 15:[13, 73, 4], Operations: ['32/8=4'] Exploring Operation: 73-13=60, Resulting Numbers: [4, 60] Generated Node #3: [4, 60] from Operation: 73-13=60 Current State: 15:[4, 60], Operations: ['32/8=4', '73-13=60'] Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[8, 32, 13, 73], Operations: [] Exploring Operation: 32/8=4, Resulting Numbers: [13, 73, 4] Generated Node #0,0: 15:[13, 73, 4] Operation: 32/8=4 Exploring Operation: 73-32=41, Resulting Numbers: [8, 13, 41] Generated Node #0,1: 15:[8, 13, 41] Operation: 73-32=41 Exploring Operation: 32-13=19, Resulting Numbers: [8, 73, 19] Generated Node #0,2: 15:[8, 73, 19] Operation: 32-13=19 Moving to Node #0,1 Current State: 15:[8, 13, 41], Operations: ['73-32=41'] Exploring Operation: 13-8=5, Resulting Numbers: [41, 5] Generated Node #0,1,0: 15:[41, 5] Operation: 13-8=5 Exploring Operation: 41-8=33, Resulting Numbers: [13, 33] Generated Node #0,1,1: 15:[13, 33] Operation: 41-8=33 Exploring Operation: 41-13=28, Resulting Numbers: [8, 28] Generated Node #0,1,2: 15:[8, 28] Operation: 41-13=28 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 15:[8, 28], Operations: ['73-32=41', '41-13=28'] Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 8*28=224, Resulting Numbers: [224] 224,15 unequal: No Solution Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 15:[13, 33], Operations: ['73-32=41', '41-8=33'] Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 13+33=46, Resulting Numbers: [46] 46,15 unequal: No Solution Exploring Operation: 13*33=429, Resulting Numbers: [429] 429,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[41, 5], Operations: ['73-32=41', '13-8=5'] Exploring Operation: 41+5=46, Resulting Numbers: [46] 46,15 unequal: No Solution Exploring Operation: 41*5=205, Resulting Numbers: [205] 205,15 unequal: No Solution Exploring Operation: 41-5=36, Resulting Numbers: [36] 36,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 15:[13, 73, 4], Operations: ['32/8=4'] Exploring Operation: 13+4=17, Resulting Numbers: [73, 17] Generated Node #0,0,0: 15:[73, 17] Operation: 13+4=17 Exploring Operation: 73-4=69, Resulting Numbers: [13, 69] Generated Node #0,0,1: 15:[13, 69] Operation: 73-4=69 Exploring Operation: 73-13=60, Resulting Numbers: [4, 60] Generated Node #0,0,2: 15:[4, 60] Operation: 73-13=60 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 15:[4, 60], Operations: ['32/8=4', '73-13=60'] Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,15 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[8, 32, 13, 73], Operations: [] Exploring Operation: 32/8=4, Resulting Numbers: [13, 73, 4] Generated Node #0,0: 15:[13, 73, 4] Operation: 32/8=4 Moving to Node #0,0 Current State: 15:[13, 73, 4], Operations: ['32/8=4'] Exploring Operation: 73-13=60, Resulting Numbers: [4, 60] Generated Node #0,0,2: 15:[4, 60] Operation: 73-13=60 Moving to Node #0,0,2 Current State: 15:[4, 60], Operations: ['32/8=4', '73-13=60'] Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 7, 57, 75, 64 ]
26
[ "64-57=7", "7*7=49", "75-49=26" ]
Current State: 26:[7, 57, 75, 64], Operations: [] Exploring Operation: 64-57=7, Resulting Numbers: [7, 75, 7] Generated Node #2: [7, 75, 7] from Operation: 64-57=7 Current State: 26:[7, 75, 7], Operations: ['64-57=7'] Exploring Operation: 7*7=49, Resulting Numbers: [75, 49] Generated Node #3: [75, 49] from Operation: 7*7=49 Current State: 26:[75, 49], Operations: ['64-57=7', '7*7=49'] Exploring Operation: 75-49=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[7, 57, 75, 64], Operations: [] Exploring Operation: 57-7=50, Resulting Numbers: [75, 64, 50] Generated Node #0,0: 26:[75, 64, 50] Operation: 57-7=50 Exploring Operation: 75-57=18, Resulting Numbers: [7, 64, 18] Generated Node #0,1: 26:[7, 64, 18] Operation: 75-57=18 Exploring Operation: 75-64=11, Resulting Numbers: [7, 57, 11] Generated Node #0,2: 26:[7, 57, 11] Operation: 75-64=11 Exploring Operation: 64-57=7, Resulting Numbers: [7, 75, 7] Generated Node #0,3: 26:[7, 75, 7] Operation: 64-57=7 Moving to Node #0,2 Current State: 26:[7, 57, 11], Operations: ['75-64=11'] Exploring Operation: 11-7=4, Resulting Numbers: [57, 4] Generated Node #0,2,0: 26:[57, 4] Operation: 11-7=4 Exploring Operation: 57-11=46, Resulting Numbers: [7, 46] Generated Node #0,2,1: 26:[7, 46] Operation: 57-11=46 Exploring Operation: 57-7=50, Resulting Numbers: [11, 50] Generated Node #0,2,2: 26:[11, 50] Operation: 57-7=50 Exploring Operation: 7+11=18, Resulting Numbers: [57, 18] Generated Node #0,2,3: 26:[57, 18] Operation: 7+11=18 Moving to Node #0,1 Current State: 26:[7, 64, 18], Operations: ['75-57=18'] Exploring Operation: 18-7=11, Resulting Numbers: [64, 11] Generated Node #0,1,0: 26:[64, 11] Operation: 18-7=11 Exploring Operation: 64-18=46, Resulting Numbers: [7, 46] Generated Node #0,1,1: 26:[7, 46] Operation: 64-18=46 Exploring Operation: 7+18=25, Resulting Numbers: [64, 25] Generated Node #0,1,2: 26:[64, 25] Operation: 7+18=25 Exploring Operation: 64-7=57, Resulting Numbers: [18, 57] Generated Node #0,1,3: 26:[18, 57] Operation: 64-7=57 Moving to Node #0,3 Current State: 26:[7, 75, 7], Operations: ['64-57=7'] Exploring Operation: 75-7=68, Resulting Numbers: [7, 68] Generated Node #0,3,0: 26:[7, 68] Operation: 75-7=68 Exploring Operation: 75-7=68, Resulting Numbers: [7, 68] Generated Node #0,3,1: 26:[7, 68] Operation: 75-7=68 Exploring Operation: 7/7=1, Resulting Numbers: [75, 1] Generated Node #0,3,2: 26:[75, 1] Operation: 7/7=1 Exploring Operation: 7+7=14, Resulting Numbers: [75, 14] Generated Node #0,3,3: 26:[75, 14] Operation: 7+7=14 Moving to Node #0,0 Current State: 26:[75, 64, 50], Operations: ['57-7=50'] Exploring Operation: 75-50=25, Resulting Numbers: [64, 25] Generated Node #0,0,0: 26:[64, 25] Operation: 75-50=25 Exploring Operation: 75+64=139, Resulting Numbers: [50, 139] Generated Node #0,0,1: 26:[50, 139] Operation: 75+64=139 Exploring Operation: 75-64=11, Resulting Numbers: [50, 11] Generated Node #0,0,2: 26:[50, 11] Operation: 75-64=11 Exploring Operation: 64-50=14, Resulting Numbers: [75, 14] Generated Node #0,0,3: 26:[75, 14] Operation: 64-50=14 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 26:[50, 11], Operations: ['57-7=50', '75-64=11'] Exploring Operation: 50+11=61, Resulting Numbers: [61] 61,26 unequal: No Solution Exploring Operation: 50-11=39, Resulting Numbers: [39] 39,26 unequal: No Solution Exploring Operation: 50*11=550, Resulting Numbers: [550] 550,26 unequal: No Solution No 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: 26:[64, 25], Operations: ['57-7=50', '75-50=25'] Exploring Operation: 64-25=39, Resulting Numbers: [39] 39,26 unequal: No Solution Exploring Operation: 64*25=1600, Resulting Numbers: [1600] 1600,26 unequal: No Solution Exploring Operation: 64+25=89, Resulting Numbers: [89] 89,26 unequal: No Solution No 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: 26:[75, 14], Operations: ['57-7=50', '64-50=14'] Exploring Operation: 75+14=89, Resulting Numbers: [89] 89,26 unequal: No Solution Exploring Operation: 75*14=1050, Resulting Numbers: [1050] 1050,26 unequal: No Solution Exploring Operation: 75-14=61, Resulting Numbers: [61] 61,26 unequal: No Solution No 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: 26:[50, 139], Operations: ['57-7=50', '75+64=139'] Exploring Operation: 50*139=6950, Resulting Numbers: [6950] 6950,26 unequal: No Solution Exploring Operation: 50+139=189, Resulting Numbers: [189] 189,26 unequal: No Solution Exploring Operation: 139-50=89, Resulting Numbers: [89] 89,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 26:[7, 46], Operations: ['75-64=11', '57-11=46'] Exploring Operation: 7+46=53, Resulting Numbers: [53] 53,26 unequal: No Solution Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,26 unequal: No Solution Exploring Operation: 7*46=322, Resulting Numbers: [322] 322,26 unequal: No Solution Moving to Node #0,1,1 Current State: 26:[7, 46], Operations: ['75-57=18', '64-18=46'] Exploring Operation: 7+46=53, Resulting Numbers: [53] 53,26 unequal: No Solution Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,26 unequal: No Solution Exploring Operation: 7*46=322, Resulting Numbers: [322] 322,26 unequal: No Solution Moving to Node #0,2,2 Current State: 26:[11, 50], Operations: ['75-64=11', '57-7=50'] Exploring Operation: 11*50=550, Resulting Numbers: [550] 550,26 unequal: No Solution Exploring Operation: 50-11=39, Resulting Numbers: [39] 39,26 unequal: No Solution Exploring Operation: 11+50=61, Resulting Numbers: [61] 61,26 unequal: No Solution Moving to Node #0,2,0 Current State: 26:[57, 4], Operations: ['75-64=11', '11-7=4'] Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,26 unequal: No Solution Exploring Operation: 57*4=228, Resulting Numbers: [228] 228,26 unequal: No Solution Exploring Operation: 57+4=61, Resulting Numbers: [61] 61,26 unequal: No Solution Moving to Node #0,1,3 Current State: 26:[18, 57], Operations: ['75-57=18', '64-7=57'] Exploring Operation: 18+57=75, Resulting Numbers: [75] 75,26 unequal: No Solution Exploring Operation: 57-18=39, Resulting Numbers: [39] 39,26 unequal: No Solution Exploring Operation: 18*57=1026, Resulting Numbers: [1026] 1026,26 unequal: No Solution Moving to Node #0,2,3 Current State: 26:[57, 18], Operations: ['75-64=11', '7+11=18'] Exploring Operation: 57-18=39, Resulting Numbers: [39] 39,26 unequal: No Solution Exploring Operation: 57*18=1026, Resulting Numbers: [1026] 1026,26 unequal: No Solution Exploring Operation: 57+18=75, Resulting Numbers: [75] 75,26 unequal: No Solution Moving to Node #0,1,2 Current State: 26:[64, 25], Operations: ['75-57=18', '7+18=25'] Exploring Operation: 64*25=1600, Resulting Numbers: [1600] 1600,26 unequal: No Solution Exploring Operation: 64-25=39, Resulting Numbers: [39] 39,26 unequal: No Solution Exploring Operation: 64+25=89, Resulting Numbers: [89] 89,26 unequal: No Solution Moving to Node #0,1,0 Current State: 26:[64, 11], Operations: ['75-57=18', '18-7=11'] Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,26 unequal: No Solution Exploring Operation: 64+11=75, Resulting Numbers: [75] 75,26 unequal: No Solution Exploring Operation: 64*11=704, Resulting Numbers: [704] 704,26 unequal: No Solution Moving to Node #0,3,0 Current State: 26:[7, 68], Operations: ['64-57=7', '75-7=68'] Exploring Operation: 7*68=476, Resulting Numbers: [476] 476,26 unequal: No Solution Exploring Operation: 7+68=75, Resulting Numbers: [75] 75,26 unequal: No Solution Exploring Operation: 68-7=61, Resulting Numbers: [61] 61,26 unequal: No Solution Moving to Node #0,3,1 Current State: 26:[7, 68], Operations: ['64-57=7', '75-7=68'] Exploring Operation: 68-7=61, Resulting Numbers: [61] 61,26 unequal: No Solution Exploring Operation: 7+68=75, Resulting Numbers: [75] 75,26 unequal: No Solution Exploring Operation: 7*68=476, Resulting Numbers: [476] 476,26 unequal: No Solution Moving to Node #0,3,2 Current State: 26:[75, 1], Operations: ['64-57=7', '7/7=1'] Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,26 unequal: No Solution Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,26 unequal: No Solution Exploring Operation: 75+1=76, Resulting Numbers: [76] 76,26 unequal: No Solution Exploring Operation: 75/1=75, Resulting Numbers: [75] 75,26 unequal: No Solution Moving to Node #0,3,3 Current State: 26:[75, 14], Operations: ['64-57=7', '7+7=14'] Exploring Operation: 75*14=1050, Resulting Numbers: [1050] 1050,26 unequal: No Solution Exploring Operation: 75-14=61, Resulting Numbers: [61] 61,26 unequal: No Solution Exploring Operation: 75+14=89, Resulting Numbers: [89] 89,26 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 74, 90, 81, 13 ]
11
[ "81-74=7", "90-13=77", "77/7=11" ]
Current State: 11:[74, 90, 81, 13], Operations: [] Exploring Operation: 81-74=7, Resulting Numbers: [90, 13, 7] Generated Node #2: [90, 13, 7] from Operation: 81-74=7 Current State: 11:[90, 13, 7], Operations: ['81-74=7'] Exploring Operation: 90-13=77, Resulting Numbers: [7, 77] Generated Node #3: [7, 77] from Operation: 90-13=77 Current State: 11:[7, 77], Operations: ['81-74=7', '90-13=77'] Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[74, 90, 81, 13], Operations: [] Exploring Operation: 81-74=7, Resulting Numbers: [90, 13, 7] Generated Node #0,0: 11:[90, 13, 7] Operation: 81-74=7 Exploring Operation: 90-74=16, Resulting Numbers: [81, 13, 16] Generated Node #0,1: 11:[81, 13, 16] Operation: 90-74=16 Exploring Operation: 90-81=9, Resulting Numbers: [74, 13, 9] Generated Node #0,2: 11:[74, 13, 9] Operation: 90-81=9 Start Sub Search at level 1: Moving to Node #0,2 Current State: 11:[74, 13, 9], Operations: ['90-81=9'] Exploring Operation: 74-13=61, Resulting Numbers: [9, 61] Generated Node #0,2,0: 11:[9, 61] Operation: 74-13=61 Exploring Operation: 13-9=4, Resulting Numbers: [74, 4] Generated Node #0,2,1: 11:[74, 4] Operation: 13-9=4 Exploring Operation: 74-9=65, Resulting Numbers: [13, 65] Generated Node #0,2,2: 11:[13, 65] Operation: 74-9=65 Moving to Node #0,2,0 Current State: 11:[9, 61], Operations: ['90-81=9', '74-13=61'] Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,11 unequal: No Solution Exploring Operation: 9+61=70, Resulting Numbers: [70] 70,11 unequal: No Solution Exploring Operation: 9*61=549, Resulting Numbers: [549] 549,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[13, 65], Operations: ['90-81=9', '74-9=65'] Exploring Operation: 65-13=52, Resulting Numbers: [52] 52,11 unequal: No Solution Exploring Operation: 65/13=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 13+65=78, Resulting Numbers: [78] 78,11 unequal: No Solution Moving to Node #0,2,1 Current State: 11:[74, 4], Operations: ['90-81=9', '13-9=4'] Exploring Operation: 74+4=78, Resulting Numbers: [78] 78,11 unequal: No Solution Exploring Operation: 74*4=296, Resulting Numbers: [296] 296,11 unequal: No Solution Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[81, 13, 16], Operations: ['90-74=16'] Exploring Operation: 81-13=68, Resulting Numbers: [16, 68] Generated Node #0,1,0: 11:[16, 68] Operation: 81-13=68 Exploring Operation: 81-16=65, Resulting Numbers: [13, 65] Generated Node #0,1,1: 11:[13, 65] Operation: 81-16=65 Exploring Operation: 16-13=3, Resulting Numbers: [81, 3] Generated Node #0,1,2: 11:[81, 3] Operation: 16-13=3 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 11:[13, 65], Operations: ['90-74=16', '81-16=65'] Exploring Operation: 65/13=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 65-13=52, Resulting Numbers: [52] 52,11 unequal: No Solution Exploring Operation: 13+65=78, Resulting Numbers: [78] 78,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 11:[16, 68], Operations: ['90-74=16', '81-13=68'] Exploring Operation: 68-16=52, Resulting Numbers: [52] 52,11 unequal: No Solution Exploring Operation: 16+68=84, Resulting Numbers: [84] 84,11 unequal: No Solution Exploring Operation: 16*68=1088, Resulting Numbers: [1088] 1088,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 11:[81, 3], Operations: ['90-74=16', '16-13=3'] Exploring Operation: 81-3=78, Resulting Numbers: [78] 78,11 unequal: No Solution Exploring Operation: 81/3=27, Resulting Numbers: [27] 27,11 unequal: No Solution Exploring Operation: 81+3=84, Resulting Numbers: [84] 84,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[90, 13, 7], Operations: ['81-74=7'] Exploring Operation: 90-13=77, Resulting Numbers: [7, 77] Generated Node #0,0,0: 11:[7, 77] Operation: 90-13=77 Exploring Operation: 90-7=83, Resulting Numbers: [13, 83] Generated Node #0,0,1: 11:[13, 83] Operation: 90-7=83 Exploring Operation: 13-7=6, Resulting Numbers: [90, 6] Generated Node #0,0,2: 11:[90, 6] Operation: 13-7=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[7, 77], Operations: ['81-74=7', '90-13=77'] Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[74, 90, 81, 13], Operations: [] Exploring Operation: 81-74=7, Resulting Numbers: [90, 13, 7] Generated Node #0,0: 11:[90, 13, 7] Operation: 81-74=7 Moving to Node #0,0 Current State: 11:[90, 13, 7], Operations: ['81-74=7'] Exploring Operation: 90-13=77, Resulting Numbers: [7, 77] Generated Node #0,0,0: 11:[7, 77] Operation: 90-13=77 Moving to Node #0,0,0 Current State: 11:[7, 77], Operations: ['81-74=7', '90-13=77'] Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_3
mult_heuristic
[ 38, 78, 60, 41 ]
86
[ "41-38=3", "78/3=26", "60+26=86" ]
Current State: 86:[38, 78, 60, 41], Operations: [] Exploring Operation: 41-38=3, Resulting Numbers: [78, 60, 3] Generated Node #2: [78, 60, 3] from Operation: 41-38=3 Current State: 86:[78, 60, 3], Operations: ['41-38=3'] Exploring Operation: 78/3=26, Resulting Numbers: [60, 26] Generated Node #3: [60, 26] from Operation: 78/3=26 Current State: 86:[60, 26], Operations: ['41-38=3', '78/3=26'] Exploring Operation: 60+26=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[38, 78, 60, 41], Operations: [] Exploring Operation: 78-38=40, Resulting Numbers: [60, 41, 40] Generated Node #0,0: 86:[60, 41, 40] Operation: 78-38=40 Exploring Operation: 78-60=18, Resulting Numbers: [38, 41, 18] Generated Node #0,1: 86:[38, 41, 18] Operation: 78-60=18 Exploring Operation: 78-41=37, Resulting Numbers: [38, 60, 37] Generated Node #0,2: 86:[38, 60, 37] Operation: 78-41=37 Exploring Operation: 41-38=3, Resulting Numbers: [78, 60, 3] Generated Node #0,3: 86:[78, 60, 3] Operation: 41-38=3 Exploring Operation: 38+60=98, Resulting Numbers: [78, 41, 98] Generated Node #0,4: 86:[78, 41, 98] Operation: 38+60=98 Moving to Node #0,0 Current State: 86:[60, 41, 40], Operations: ['78-38=40'] Exploring Operation: 60+40=100, Resulting Numbers: [41, 100] Generated Node #0,0,0: 86:[41, 100] Operation: 60+40=100 Exploring Operation: 60+41=101, Resulting Numbers: [40, 101] Generated Node #0,0,1: 86:[40, 101] Operation: 60+41=101 Exploring Operation: 60-41=19, Resulting Numbers: [40, 19] Generated Node #0,0,2: 86:[40, 19] Operation: 60-41=19 Exploring Operation: 60-40=20, Resulting Numbers: [41, 20] Generated Node #0,0,3: 86:[41, 20] Operation: 60-40=20 Exploring Operation: 41-40=1, Resulting Numbers: [60, 1] Generated Node #0,0,4: 86:[60, 1] Operation: 41-40=1 Moving to Node #0,4 Current State: 86:[78, 41, 98], Operations: ['38+60=98'] Exploring Operation: 78-41=37, Resulting Numbers: [98, 37] Generated Node #0,4,0: 86:[98, 37] Operation: 78-41=37 Exploring Operation: 41+98=139, Resulting Numbers: [78, 139] Generated Node #0,4,1: 86:[78, 139] Operation: 41+98=139 Exploring Operation: 98-78=20, Resulting Numbers: [41, 20] Generated Node #0,4,2: 86:[41, 20] Operation: 98-78=20 Exploring Operation: 78+41=119, Resulting Numbers: [98, 119] Generated Node #0,4,3: 86:[98, 119] Operation: 78+41=119 Exploring Operation: 98-41=57, Resulting Numbers: [78, 57] Generated Node #0,4,4: 86:[78, 57] Operation: 98-41=57 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 86:[98, 37], Operations: ['38+60=98', '78-41=37'] Exploring Operation: 98-37=61, Resulting Numbers: [61] 61,86 unequal: No Solution Exploring Operation: 98+37=135, Resulting Numbers: [135] 135,86 unequal: No Solution Exploring Operation: 98*37=3626, Resulting Numbers: [3626] 3626,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 86:[41, 20], Operations: ['38+60=98', '98-78=20'] Exploring Operation: 41+20=61, Resulting Numbers: [61] 61,86 unequal: No Solution Exploring Operation: 41*20=820, Resulting Numbers: [820] 820,86 unequal: No Solution Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 86:[78, 57], Operations: ['38+60=98', '98-41=57'] Exploring Operation: 78*57=4446, Resulting Numbers: [4446] 4446,86 unequal: No Solution Exploring Operation: 78+57=135, Resulting Numbers: [135] 135,86 unequal: No Solution Exploring Operation: 78-57=21, Resulting Numbers: [21] 21,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 86:[98, 119], Operations: ['38+60=98', '78+41=119'] Exploring Operation: 98+119=217, Resulting Numbers: [217] 217,86 unequal: No Solution Exploring Operation: 98*119=11662, Resulting Numbers: [11662] 11662,86 unequal: No Solution Exploring Operation: 119-98=21, Resulting Numbers: [21] 21,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 86:[78, 139], Operations: ['38+60=98', '41+98=139'] Exploring Operation: 78*139=10842, Resulting Numbers: [10842] 10842,86 unequal: No Solution Exploring Operation: 139-78=61, Resulting Numbers: [61] 61,86 unequal: No Solution Exploring Operation: 78+139=217, Resulting Numbers: [217] 217,86 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: 86:[38, 41, 18], Operations: ['78-60=18'] Exploring Operation: 41-38=3, Resulting Numbers: [18, 3] Generated Node #0,1,0: 86:[18, 3] Operation: 41-38=3 Exploring Operation: 38+41=79, Resulting Numbers: [18, 79] Generated Node #0,1,1: 86:[18, 79] Operation: 38+41=79 Exploring Operation: 38+18=56, Resulting Numbers: [41, 56] Generated Node #0,1,2: 86:[41, 56] Operation: 38+18=56 Exploring Operation: 41+18=59, Resulting Numbers: [38, 59] Generated Node #0,1,3: 86:[38, 59] Operation: 41+18=59 Exploring Operation: 38-18=20, Resulting Numbers: [41, 20] Generated Node #0,1,4: 86:[41, 20] Operation: 38-18=20 Moving to Node #0,3 Current State: 86:[78, 60, 3], Operations: ['41-38=3'] Exploring Operation: 60/3=20, Resulting Numbers: [78, 20] Generated Node #0,3,0: 86:[78, 20] Operation: 60/3=20 Exploring Operation: 60-3=57, Resulting Numbers: [78, 57] Generated Node #0,3,1: 86:[78, 57] Operation: 60-3=57 Exploring Operation: 78-60=18, Resulting Numbers: [3, 18] Generated Node #0,3,2: 86:[3, 18] Operation: 78-60=18 Exploring Operation: 78-3=75, Resulting Numbers: [60, 75] Generated Node #0,3,3: 86:[60, 75] Operation: 78-3=75 Exploring Operation: 78+3=81, Resulting Numbers: [60, 81] Generated Node #0,3,4: 86:[60, 81] Operation: 78+3=81 Moving to Node #0,2 Current State: 86:[38, 60, 37], Operations: ['78-41=37'] Exploring Operation: 60-37=23, Resulting Numbers: [38, 23] Generated Node #0,2,0: 86:[38, 23] Operation: 60-37=23 Exploring Operation: 38-37=1, Resulting Numbers: [60, 1] Generated Node #0,2,1: 86:[60, 1] Operation: 38-37=1 Exploring Operation: 60+37=97, Resulting Numbers: [38, 97] Generated Node #0,2,2: 86:[38, 97] Operation: 60+37=97 Exploring Operation: 38+60=98, Resulting Numbers: [37, 98] Generated Node #0,2,3: 86:[37, 98] Operation: 38+60=98 Exploring Operation: 60-38=22, Resulting Numbers: [37, 22] Generated Node #0,2,4: 86:[37, 22] Operation: 60-38=22 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 86:[38, 97], Operations: ['78-41=37', '60+37=97'] Exploring Operation: 38+97=135, Resulting Numbers: [135] 135,86 unequal: No Solution Exploring Operation: 97-38=59, Resulting Numbers: [59] 59,86 unequal: No Solution Exploring Operation: 38*97=3686, Resulting Numbers: [3686] 3686,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 86:[60, 1], Operations: ['78-41=37', '38-37=1'] Exploring Operation: 60/1=60, Resulting Numbers: [60] 60,86 unequal: No Solution Exploring Operation: 60+1=61, Resulting Numbers: [61] 61,86 unequal: No Solution Exploring Operation: 60*1=60, Resulting Numbers: [60] 60,86 unequal: No Solution Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 86:[37, 98], Operations: ['78-41=37', '38+60=98'] Exploring Operation: 37+98=135, Resulting Numbers: [135] 135,86 unequal: No Solution Exploring Operation: 98-37=61, Resulting Numbers: [61] 61,86 unequal: No Solution Exploring Operation: 37*98=3626, Resulting Numbers: [3626] 3626,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 86:[38, 23], Operations: ['78-41=37', '60-37=23'] Exploring Operation: 38*23=874, Resulting Numbers: [874] 874,86 unequal: No Solution Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 38+23=61, Resulting Numbers: [61] 61,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 86:[37, 22], Operations: ['78-41=37', '60-38=22'] Exploring Operation: 37-22=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 37*22=814, Resulting Numbers: [814] 814,86 unequal: No Solution Exploring Operation: 37+22=59, Resulting Numbers: [59] 59,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 86:[41, 56], Operations: ['78-60=18', '38+18=56'] Exploring Operation: 41+56=97, Resulting Numbers: [97] 97,86 unequal: No Solution Exploring Operation: 41*56=2296, Resulting Numbers: [2296] 2296,86 unequal: No Solution Exploring Operation: 56-41=15, Resulting Numbers: [15] 15,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[41, 100], Operations: ['78-38=40', '60+40=100'] Exploring Operation: 100-41=59, Resulting Numbers: [59] 59,86 unequal: No Solution Exploring Operation: 41+100=141, Resulting Numbers: [141] 141,86 unequal: No Solution Exploring Operation: 41*100=4100, Resulting Numbers: [4100] 4100,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[18, 3], Operations: ['78-60=18', '41-38=3'] Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,86 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,86 unequal: No Solution Moving to Node #0,3,2 Current State: 86:[3, 18], Operations: ['41-38=3', '78-60=18'] Exploring Operation: 3*18=54, Resulting Numbers: [54] 54,86 unequal: No Solution Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,86 unequal: No Solution Moving to Node #0,0,4 Current State: 86:[60, 1], Operations: ['78-38=40', '41-40=1'] Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,86 unequal: No Solution Exploring Operation: 60+1=61, Resulting Numbers: [61] 61,86 unequal: No Solution Exploring Operation: 60*1=60, Resulting Numbers: [60] 60,86 unequal: No Solution Exploring Operation: 60/1=60, Resulting Numbers: [60] 60,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[40, 101], Operations: ['78-38=40', '60+41=101'] Exploring Operation: 40+101=141, Resulting Numbers: [141] 141,86 unequal: No Solution Exploring Operation: 101-40=61, Resulting Numbers: [61] 61,86 unequal: No Solution Exploring Operation: 40*101=4040, Resulting Numbers: [4040] 4040,86 unequal: No Solution Moving to Node #0,0,3 Current State: 86:[41, 20], Operations: ['78-38=40', '60-40=20'] Exploring Operation: 41+20=61, Resulting Numbers: [61] 61,86 unequal: No Solution Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 41*20=820, Resulting Numbers: [820] 820,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[40, 19], Operations: ['78-38=40', '60-41=19'] Exploring Operation: 40*19=760, Resulting Numbers: [760] 760,86 unequal: No Solution Exploring Operation: 40+19=59, Resulting Numbers: [59] 59,86 unequal: No Solution Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,86 unequal: No Solution Moving to Node #0,1,4 Current State: 86:[41, 20], Operations: ['78-60=18', '38-18=20'] Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 41+20=61, Resulting Numbers: [61] 61,86 unequal: No Solution Exploring Operation: 41*20=820, Resulting Numbers: [820] 820,86 unequal: No Solution Moving to Node #0,1,3 Current State: 86:[38, 59], Operations: ['78-60=18', '41+18=59'] Exploring Operation: 38+59=97, Resulting Numbers: [97] 97,86 unequal: No Solution Exploring Operation: 38*59=2242, Resulting Numbers: [2242] 2242,86 unequal: No Solution Exploring Operation: 59-38=21, Resulting Numbers: [21] 21,86 unequal: No Solution Moving to Node #0,3,4 Current State: 86:[60, 81], Operations: ['41-38=3', '78+3=81'] Exploring Operation: 60+81=141, Resulting Numbers: [141] 141,86 unequal: No Solution Exploring Operation: 81-60=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 60*81=4860, Resulting Numbers: [4860] 4860,86 unequal: No Solution Moving to Node #0,3,1 Current State: 86:[78, 57], Operations: ['41-38=3', '60-3=57'] Exploring Operation: 78-57=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 78*57=4446, Resulting Numbers: [4446] 4446,86 unequal: No Solution Exploring Operation: 78+57=135, Resulting Numbers: [135] 135,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[18, 79], Operations: ['78-60=18', '38+41=79'] Exploring Operation: 79-18=61, Resulting Numbers: [61] 61,86 unequal: No Solution Exploring Operation: 18*79=1422, Resulting Numbers: [1422] 1422,86 unequal: No Solution Exploring Operation: 18+79=97, Resulting Numbers: [97] 97,86 unequal: No Solution Moving to Node #0,3,0 Current State: 86:[78, 20], Operations: ['41-38=3', '60/3=20'] Exploring Operation: 78*20=1560, Resulting Numbers: [1560] 1560,86 unequal: No Solution Exploring Operation: 78-20=58, Resulting Numbers: [58] 58,86 unequal: No Solution Exploring Operation: 78+20=98, Resulting Numbers: [98] 98,86 unequal: No Solution Moving to Node #0,3,3 Current State: 86:[60, 75], Operations: ['41-38=3', '78-3=75'] Exploring Operation: 60+75=135, Resulting Numbers: [135] 135,86 unequal: No Solution Exploring Operation: 75-60=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 60*75=4500, Resulting Numbers: [4500] 4500,86 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 45, 23, 15, 75 ]
64
[ "45*23=1035", "1035-75=960", "960/15=64" ]
Current State: 64:[45, 23, 15, 75], Operations: [] Exploring Operation: 45*23=1035, Resulting Numbers: [15, 75, 1035] Generated Node #2: [15, 75, 1035] from Operation: 45*23=1035 Current State: 64:[15, 75, 1035], Operations: ['45*23=1035'] Exploring Operation: 1035-75=960, Resulting Numbers: [15, 960] Generated Node #3: [15, 960] from Operation: 1035-75=960 Current State: 64:[15, 960], Operations: ['45*23=1035', '1035-75=960'] Exploring Operation: 960/15=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[45, 23, 15, 75], Operations: [] Exploring Operation: 45-23=22, Resulting Numbers: [15, 75, 22] Generated Node #0,0: 64:[15, 75, 22] Operation: 45-23=22 Exploring Operation: 75-45=30, Resulting Numbers: [23, 15, 30] Generated Node #0,1: 64:[23, 15, 30] Operation: 75-45=30 Exploring Operation: 45+23=68, Resulting Numbers: [15, 75, 68] Generated Node #0,2: 64:[15, 75, 68] Operation: 45+23=68 Moving to Node #0,1 Current State: 64:[23, 15, 30], Operations: ['75-45=30'] Exploring Operation: 23-15=8, Resulting Numbers: [30, 8] Generated Node #0,1,0: 64:[30, 8] Operation: 23-15=8 Exploring Operation: 30/15=2, Resulting Numbers: [23, 2] Generated Node #0,1,1: 64:[23, 2] Operation: 30/15=2 Exploring Operation: 30-23=7, Resulting Numbers: [15, 7] Generated Node #0,1,2: 64:[15, 7] Operation: 30-23=7 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 64:[30, 8], Operations: ['75-45=30', '23-15=8'] Exploring Operation: 30*8=240, Resulting Numbers: [240] 240,64 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,64 unequal: No Solution Exploring Operation: 30+8=38, Resulting Numbers: [38] 38,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 64:[15, 7], Operations: ['75-45=30', '30-23=7'] Exploring Operation: 15*7=105, Resulting Numbers: [105] 105,64 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[23, 2], Operations: ['75-45=30', '30/15=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,64 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,64 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,64 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: 64:[15, 75, 68], Operations: ['45+23=68'] Exploring Operation: 75/15=5, Resulting Numbers: [68, 5] Generated Node #0,2,0: 64:[68, 5] Operation: 75/15=5 Exploring Operation: 75-15=60, Resulting Numbers: [68, 60] Generated Node #0,2,1: 64:[68, 60] Operation: 75-15=60 Exploring Operation: 75-68=7, Resulting Numbers: [15, 7] Generated Node #0,2,2: 64:[15, 7] Operation: 75-68=7 Moving to Node #0,0 Current State: 64:[15, 75, 22], Operations: ['45-23=22'] Exploring Operation: 22-15=7, Resulting Numbers: [75, 7] Generated Node #0,0,0: 64:[75, 7] Operation: 22-15=7 Exploring Operation: 75/15=5, Resulting Numbers: [22, 5] Generated Node #0,0,1: 64:[22, 5] Operation: 75/15=5 Exploring Operation: 75-15=60, Resulting Numbers: [22, 60] Generated Node #0,0,2: 64:[22, 60] Operation: 75-15=60 Moving to Node #0,2,2 Current State: 64:[15, 7], Operations: ['45+23=68', '75-68=7'] Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,64 unequal: No Solution Exploring Operation: 15*7=105, Resulting Numbers: [105] 105,64 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[68, 5], Operations: ['45+23=68', '75/15=5'] Exploring Operation: 68+5=73, Resulting Numbers: [73] 73,64 unequal: No Solution Exploring Operation: 68*5=340, Resulting Numbers: [340] 340,64 unequal: No Solution Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[22, 5], Operations: ['45-23=22', '75/15=5'] Exploring Operation: 22*5=110, Resulting Numbers: [110] 110,64 unequal: No Solution Exploring Operation: 22+5=27, Resulting Numbers: [27] 27,64 unequal: No Solution Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,64 unequal: No Solution Moving to Node #0,2,1 Current State: 64:[68, 60], Operations: ['45+23=68', '75-15=60'] Exploring Operation: 68-60=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 68*60=4080, Resulting Numbers: [4080] 4080,64 unequal: No Solution Exploring Operation: 68+60=128, Resulting Numbers: [128] 128,64 unequal: No Solution Moving to Node #0,0,2 Current State: 64:[22, 60], Operations: ['45-23=22', '75-15=60'] Exploring Operation: 22+60=82, Resulting Numbers: [82] 82,64 unequal: No Solution Exploring Operation: 22*60=1320, Resulting Numbers: [1320] 1320,64 unequal: No Solution Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[75, 7], Operations: ['45-23=22', '22-15=7'] Exploring Operation: 75*7=525, Resulting Numbers: [525] 525,64 unequal: No Solution Exploring Operation: 75+7=82, Resulting Numbers: [82] 82,64 unequal: No Solution Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,64 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 11, 60, 20, 1 ]
62
[ "11-1=10", "20/10=2", "60+2=62" ]
Current State: 62:[11, 60, 20, 1], Operations: [] Exploring Operation: 11-1=10, Resulting Numbers: [60, 20, 10] Generated Node #2: [60, 20, 10] from Operation: 11-1=10 Current State: 62:[60, 20, 10], Operations: ['11-1=10'] Exploring Operation: 20/10=2, Resulting Numbers: [60, 2] Generated Node #3: [60, 2] from Operation: 20/10=2 Current State: 62:[60, 2], Operations: ['11-1=10', '20/10=2'] Exploring Operation: 60+2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[11, 60, 20, 1], Operations: [] Exploring Operation: 20-11=9, Resulting Numbers: [60, 1, 9] Generated Node #0,0: 62:[60, 1, 9] Operation: 20-11=9 Exploring Operation: 60/20=3, Resulting Numbers: [11, 1, 3] Generated Node #0,1: 62:[11, 1, 3] Operation: 60/20=3 Exploring Operation: 11+20=31, Resulting Numbers: [60, 1, 31] Generated Node #0,2: 62:[60, 1, 31] Operation: 11+20=31 Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[60, 1, 31], Operations: ['11+20=31'] Exploring Operation: 60+1=61, Resulting Numbers: [31, 61] Generated Node #0,2,0: 62:[31, 61] Operation: 60+1=61 Exploring Operation: 60*1=60, Resulting Numbers: [31, 60] Generated Node #0,2,1: 62:[31, 60] Operation: 60*1=60 Exploring Operation: 60/1=60, Resulting Numbers: [31, 60] Generated Node #0,2,2: 62:[31, 60] Operation: 60/1=60 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 62:[31, 61], Operations: ['11+20=31', '60+1=61'] Exploring Operation: 61-31=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 31*61=1891, Resulting Numbers: [1891] 1891,62 unequal: No Solution Exploring Operation: 31+61=92, Resulting Numbers: [92] 92,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 62:[31, 60], Operations: ['11+20=31', '60*1=60'] Exploring Operation: 31+60=91, Resulting Numbers: [91] 91,62 unequal: No Solution Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 31*60=1860, Resulting Numbers: [1860] 1860,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 62:[31, 60], Operations: ['11+20=31', '60/1=60'] Exploring Operation: 31+60=91, Resulting Numbers: [91] 91,62 unequal: No Solution Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 31*60=1860, Resulting Numbers: [1860] 1860,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[60, 1, 9], Operations: ['20-11=9'] Exploring Operation: 60+1=61, Resulting Numbers: [9, 61] Generated Node #0,0,0: 62:[9, 61] Operation: 60+1=61 Exploring Operation: 60+9=69, Resulting Numbers: [1, 69] Generated Node #0,0,1: 62:[1, 69] Operation: 60+9=69 Exploring Operation: 9-1=8, Resulting Numbers: [60, 8] Generated Node #0,0,2: 62:[60, 8] Operation: 9-1=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[9, 61], Operations: ['20-11=9', '60+1=61'] Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,62 unequal: No Solution Exploring Operation: 9*61=549, Resulting Numbers: [549] 549,62 unequal: No Solution Exploring Operation: 9+61=70, Resulting Numbers: [70] 70,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 62:[1, 69], Operations: ['20-11=9', '60+9=69'] Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,62 unequal: No Solution Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,62 unequal: No Solution Exploring Operation: 1*69=69, Resulting Numbers: [69] 69,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 62:[60, 8], Operations: ['20-11=9', '9-1=8'] Exploring Operation: 60+8=68, Resulting Numbers: [68] 68,62 unequal: No Solution Exploring Operation: 60*8=480, Resulting Numbers: [480] 480,62 unequal: No Solution Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[11, 1, 3], Operations: ['60/20=3'] Exploring Operation: 11-3=8, Resulting Numbers: [1, 8] Generated Node #0,1,0: 62:[1, 8] Operation: 11-3=8 Exploring Operation: 11*3=33, Resulting Numbers: [1, 33] Generated Node #0,1,1: 62:[1, 33] Operation: 11*3=33 Exploring Operation: 11-1=10, Resulting Numbers: [3, 10] Generated Node #0,1,2: 62:[3, 10] Operation: 11-1=10 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 62:[1, 33], Operations: ['60/20=3', '11*3=33'] Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,62 unequal: No Solution Exploring Operation: 1*33=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 33/1=33, Resulting Numbers: [33] 33,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 62:[1, 8], Operations: ['60/20=3', '11-3=8'] Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,62 unequal: No Solution Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,62 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 62:[3, 10], Operations: ['60/20=3', '11-1=10'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,62 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 70, 13, 20, 19 ]
17
[ "70-13=57", "57/19=3", "20-3=17" ]
Current State: 17:[70, 13, 20, 19], Operations: [] Exploring Operation: 70-13=57, Resulting Numbers: [20, 19, 57] Generated Node #2: [20, 19, 57] from Operation: 70-13=57 Current State: 17:[20, 19, 57], Operations: ['70-13=57'] Exploring Operation: 57/19=3, Resulting Numbers: [20, 3] Generated Node #3: [20, 3] from Operation: 57/19=3 Current State: 17:[20, 3], Operations: ['70-13=57', '57/19=3'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[70, 13, 20, 19], Operations: [] Exploring Operation: 70-20=50, Resulting Numbers: [13, 19, 50] Generated Node #0,0: 17:[13, 19, 50] Operation: 70-20=50 Exploring Operation: 70-13=57, Resulting Numbers: [20, 19, 57] Generated Node #0,1: 17:[20, 19, 57] Operation: 70-13=57 Exploring Operation: 70-19=51, Resulting Numbers: [13, 20, 51] Generated Node #0,2: 17:[13, 20, 51] Operation: 70-19=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[13, 19, 50], Operations: ['70-20=50'] Exploring Operation: 50-19=31, Resulting Numbers: [13, 31] Generated Node #0,0,0: 17:[13, 31] Operation: 50-19=31 Exploring Operation: 19-13=6, Resulting Numbers: [50, 6] Generated Node #0,0,1: 17:[50, 6] Operation: 19-13=6 Exploring Operation: 50-13=37, Resulting Numbers: [19, 37] Generated Node #0,0,2: 17:[19, 37] Operation: 50-13=37 Moving to Node #0,0,0 Current State: 17:[13, 31], Operations: ['70-20=50', '50-19=31'] Exploring Operation: 13+31=44, Resulting Numbers: [44] 44,17 unequal: No Solution Exploring Operation: 13*31=403, Resulting Numbers: [403] 403,17 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,17 unequal: No Solution Moving to Node #0,0,2 Current State: 17:[19, 37], Operations: ['70-20=50', '50-13=37'] Exploring Operation: 19*37=703, Resulting Numbers: [703] 703,17 unequal: No Solution Exploring Operation: 19+37=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[50, 6], Operations: ['70-20=50', '19-13=6'] Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,17 unequal: No Solution Exploring Operation: 50*6=300, Resulting Numbers: [300] 300,17 unequal: No Solution Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[13, 20, 51], Operations: ['70-19=51'] Exploring Operation: 51-13=38, Resulting Numbers: [20, 38] Generated Node #0,2,0: 17:[20, 38] Operation: 51-13=38 Exploring Operation: 51-20=31, Resulting Numbers: [13, 31] Generated Node #0,2,1: 17:[13, 31] Operation: 51-20=31 Exploring Operation: 20-13=7, Resulting Numbers: [51, 7] Generated Node #0,2,2: 17:[51, 7] Operation: 20-13=7 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 17:[13, 31], Operations: ['70-19=51', '51-20=31'] Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,17 unequal: No Solution Exploring Operation: 13+31=44, Resulting Numbers: [44] 44,17 unequal: No Solution Exploring Operation: 13*31=403, Resulting Numbers: [403] 403,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 17:[20, 38], Operations: ['70-19=51', '51-13=38'] Exploring Operation: 20*38=760, Resulting Numbers: [760] 760,17 unequal: No Solution Exploring Operation: 20+38=58, Resulting Numbers: [58] 58,17 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 17:[51, 7], Operations: ['70-19=51', '20-13=7'] Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,17 unequal: No Solution Exploring Operation: 51+7=58, Resulting Numbers: [58] 58,17 unequal: No Solution Exploring Operation: 51*7=357, Resulting Numbers: [357] 357,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[20, 19, 57], Operations: ['70-13=57'] Exploring Operation: 57-20=37, Resulting Numbers: [19, 37] Generated Node #0,1,0: 17:[19, 37] Operation: 57-20=37 Exploring Operation: 57-19=38, Resulting Numbers: [20, 38] Generated Node #0,1,1: 17:[20, 38] Operation: 57-19=38 Exploring Operation: 57/19=3, Resulting Numbers: [20, 3] Generated Node #0,1,2: 17:[20, 3] Operation: 57/19=3 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 17:[20, 3], Operations: ['70-13=57', '57/19=3'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[70, 13, 20, 19], Operations: [] Exploring Operation: 70-13=57, Resulting Numbers: [20, 19, 57] Generated Node #0,1: 17:[20, 19, 57] Operation: 70-13=57 Moving to Node #0,1 Current State: 17:[20, 19, 57], Operations: ['70-13=57'] Exploring Operation: 57/19=3, Resulting Numbers: [20, 3] Generated Node #0,1,2: 17:[20, 3] Operation: 57/19=3 Moving to Node #0,1,2 Current State: 17:[20, 3], Operations: ['70-13=57', '57/19=3'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_3
sum_heuristic
[ 81, 85, 96, 73 ]
73
[ "81-73=8", "96/8=12", "85-12=73" ]
Current State: 73:[81, 85, 96, 73], Operations: [] Exploring Operation: 81-73=8, Resulting Numbers: [85, 96, 8] Generated Node #2: [85, 96, 8] from Operation: 81-73=8 Current State: 73:[85, 96, 8], Operations: ['81-73=8'] Exploring Operation: 96/8=12, Resulting Numbers: [85, 12] Generated Node #3: [85, 12] from Operation: 96/8=12 Current State: 73:[85, 12], Operations: ['81-73=8', '96/8=12'] Exploring Operation: 85-12=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[81, 85, 96, 73], Operations: [] Exploring Operation: 96-85=11, Resulting Numbers: [81, 73, 11] Generated Node #0,0: 73:[81, 73, 11] Operation: 96-85=11 Exploring Operation: 85-73=12, Resulting Numbers: [81, 96, 12] Generated Node #0,1: 73:[81, 96, 12] Operation: 85-73=12 Exploring Operation: 96-81=15, Resulting Numbers: [85, 73, 15] Generated Node #0,2: 73:[85, 73, 15] Operation: 96-81=15 Exploring Operation: 96-73=23, Resulting Numbers: [81, 85, 23] Generated Node #0,3: 73:[81, 85, 23] Operation: 96-73=23 Exploring Operation: 85-81=4, Resulting Numbers: [96, 73, 4] Generated Node #0,4: 73:[96, 73, 4] Operation: 85-81=4 Moving to Node #0,0 Current State: 73:[81, 73, 11], Operations: ['96-85=11'] Exploring Operation: 73-11=62, Resulting Numbers: [81, 62] Generated Node #0,0,0: 73:[81, 62] Operation: 73-11=62 Exploring Operation: 81-73=8, Resulting Numbers: [11, 8] Generated Node #0,0,1: 73:[11, 8] Operation: 81-73=8 Exploring Operation: 81-11=70, Resulting Numbers: [73, 70] Generated Node #0,0,2: 73:[73, 70] Operation: 81-11=70 Exploring Operation: 81+11=92, Resulting Numbers: [73, 92] Generated Node #0,0,3: 73:[73, 92] Operation: 81+11=92 Exploring Operation: 73+11=84, Resulting Numbers: [81, 84] Generated Node #0,0,4: 73:[81, 84] Operation: 73+11=84 Moving to Node #0,3 Current State: 73:[81, 85, 23], Operations: ['96-73=23'] Exploring Operation: 81+23=104, Resulting Numbers: [85, 104] Generated Node #0,3,0: 73:[85, 104] Operation: 81+23=104 Exploring Operation: 85-81=4, Resulting Numbers: [23, 4] Generated Node #0,3,1: 73:[23, 4] Operation: 85-81=4 Exploring Operation: 81-23=58, Resulting Numbers: [85, 58] Generated Node #0,3,2: 73:[85, 58] Operation: 81-23=58 Exploring Operation: 85-23=62, Resulting Numbers: [81, 62] Generated Node #0,3,3: 73:[81, 62] Operation: 85-23=62 Exploring Operation: 85+23=108, Resulting Numbers: [81, 108] Generated Node #0,3,4: 73:[81, 108] Operation: 85+23=108 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 73:[81, 62], Operations: ['96-73=23', '85-23=62'] Exploring Operation: 81-62=19, Resulting Numbers: [19] 19,73 unequal: No Solution Exploring Operation: 81*62=5022, Resulting Numbers: [5022] 5022,73 unequal: No Solution Exploring Operation: 81+62=143, Resulting Numbers: [143] 143,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 73:[85, 58], Operations: ['96-73=23', '81-23=58'] Exploring Operation: 85+58=143, Resulting Numbers: [143] 143,73 unequal: No Solution Exploring Operation: 85*58=4930, Resulting Numbers: [4930] 4930,73 unequal: No Solution Exploring Operation: 85-58=27, Resulting Numbers: [27] 27,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 73:[85, 104], Operations: ['96-73=23', '81+23=104'] Exploring Operation: 85*104=8840, Resulting Numbers: [8840] 8840,73 unequal: No Solution Exploring Operation: 104-85=19, Resulting Numbers: [19] 19,73 unequal: No Solution Exploring Operation: 85+104=189, Resulting Numbers: [189] 189,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 73:[81, 108], Operations: ['96-73=23', '85+23=108'] Exploring Operation: 108-81=27, Resulting Numbers: [27] 27,73 unequal: No Solution Exploring Operation: 81*108=8748, Resulting Numbers: [8748] 8748,73 unequal: No Solution Exploring Operation: 81+108=189, Resulting Numbers: [189] 189,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 73:[23, 4], Operations: ['96-73=23', '85-81=4'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,73 unequal: No Solution Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,73 unequal: No Solution Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 73:[85, 73, 15], Operations: ['96-81=15'] Exploring Operation: 85-73=12, Resulting Numbers: [15, 12] Generated Node #0,2,0: 73:[15, 12] Operation: 85-73=12 Exploring Operation: 85-15=70, Resulting Numbers: [73, 70] Generated Node #0,2,1: 73:[73, 70] Operation: 85-15=70 Exploring Operation: 73+15=88, Resulting Numbers: [85, 88] Generated Node #0,2,2: 73:[85, 88] Operation: 73+15=88 Exploring Operation: 85+15=100, Resulting Numbers: [73, 100] Generated Node #0,2,3: 73:[73, 100] Operation: 85+15=100 Exploring Operation: 73-15=58, Resulting Numbers: [85, 58] Generated Node #0,2,4: 73:[85, 58] Operation: 73-15=58 Moving to Node #0,1 Current State: 73:[81, 96, 12], Operations: ['85-73=12'] Exploring Operation: 96+12=108, Resulting Numbers: [81, 108] Generated Node #0,1,0: 73:[81, 108] Operation: 96+12=108 Exploring Operation: 96/12=8, Resulting Numbers: [81, 8] Generated Node #0,1,1: 73:[81, 8] Operation: 96/12=8 Exploring Operation: 81+12=93, Resulting Numbers: [96, 93] Generated Node #0,1,2: 73:[96, 93] Operation: 81+12=93 Exploring Operation: 81-12=69, Resulting Numbers: [96, 69] Generated Node #0,1,3: 73:[96, 69] Operation: 81-12=69 Exploring Operation: 96-12=84, Resulting Numbers: [81, 84] Generated Node #0,1,4: 73:[81, 84] Operation: 96-12=84 Moving to Node #0,4 Current State: 73:[96, 73, 4], Operations: ['85-81=4'] Exploring Operation: 73+4=77, Resulting Numbers: [96, 77] Generated Node #0,4,0: 73:[96, 77] Operation: 73+4=77 Exploring Operation: 96+4=100, Resulting Numbers: [73, 100] Generated Node #0,4,1: 73:[73, 100] Operation: 96+4=100 Exploring Operation: 73-4=69, Resulting Numbers: [96, 69] Generated Node #0,4,2: 73:[96, 69] Operation: 73-4=69 Exploring Operation: 96/4=24, Resulting Numbers: [73, 24] Generated Node #0,4,3: 73:[73, 24] Operation: 96/4=24 Exploring Operation: 96-4=92, Resulting Numbers: [73, 92] Generated Node #0,4,4: 73:[73, 92] Operation: 96-4=92 Moving to Node #0,0,2 Current State: 73:[73, 70], Operations: ['96-85=11', '81-11=70'] Exploring Operation: 73+70=143, Resulting Numbers: [143] 143,73 unequal: No Solution Exploring Operation: 73*70=5110, Resulting Numbers: [5110] 5110,73 unequal: No Solution Exploring Operation: 73-70=3, Resulting Numbers: [3] 3,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[73, 70], Operations: ['96-81=15', '85-15=70'] Exploring Operation: 73-70=3, Resulting Numbers: [3] 3,73 unequal: No Solution Exploring Operation: 73+70=143, Resulting Numbers: [143] 143,73 unequal: No Solution Exploring Operation: 73*70=5110, Resulting Numbers: [5110] 5110,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[73, 92], Operations: ['96-85=11', '81+11=92'] Exploring Operation: 92-73=19, Resulting Numbers: [19] 19,73 unequal: No Solution Exploring Operation: 73*92=6716, Resulting Numbers: [6716] 6716,73 unequal: No Solution Exploring Operation: 73+92=165, Resulting Numbers: [165] 165,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[81, 62], Operations: ['96-85=11', '73-11=62'] Exploring Operation: 81+62=143, Resulting Numbers: [143] 143,73 unequal: No Solution Exploring Operation: 81*62=5022, Resulting Numbers: [5022] 5022,73 unequal: No Solution Exploring Operation: 81-62=19, Resulting Numbers: [19] 19,73 unequal: No Solution Moving to Node #0,1,4 Current State: 73:[81, 84], Operations: ['85-73=12', '96-12=84'] Exploring Operation: 81+84=165, Resulting Numbers: [165] 165,73 unequal: No Solution Exploring Operation: 84-81=3, Resulting Numbers: [3] 3,73 unequal: No Solution Exploring Operation: 81*84=6804, Resulting Numbers: [6804] 6804,73 unequal: No Solution Moving to Node #0,0,4 Current State: 73:[81, 84], Operations: ['96-85=11', '73+11=84'] Exploring Operation: 84-81=3, Resulting Numbers: [3] 3,73 unequal: No Solution Exploring Operation: 81+84=165, Resulting Numbers: [165] 165,73 unequal: No Solution Exploring Operation: 81*84=6804, Resulting Numbers: [6804] 6804,73 unequal: No Solution Moving to Node #0,4,4 Current State: 73:[73, 92], Operations: ['85-81=4', '96-4=92'] Exploring Operation: 73+92=165, Resulting Numbers: [165] 165,73 unequal: No Solution Exploring Operation: 73*92=6716, Resulting Numbers: [6716] 6716,73 unequal: No Solution Exploring Operation: 92-73=19, Resulting Numbers: [19] 19,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[85, 88], Operations: ['96-81=15', '73+15=88'] Exploring Operation: 85*88=7480, Resulting Numbers: [7480] 7480,73 unequal: No Solution Exploring Operation: 85+88=173, Resulting Numbers: [173] 173,73 unequal: No Solution Exploring Operation: 88-85=3, Resulting Numbers: [3] 3,73 unequal: No Solution Moving to Node #0,4,2 Current State: 73:[96, 69], Operations: ['85-81=4', '73-4=69'] Exploring Operation: 96*69=6624, Resulting Numbers: [6624] 6624,73 unequal: No Solution Exploring Operation: 96+69=165, Resulting Numbers: [165] 165,73 unequal: No Solution Exploring Operation: 96-69=27, Resulting Numbers: [27] 27,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[96, 69], Operations: ['85-73=12', '81-12=69'] Exploring Operation: 96-69=27, Resulting Numbers: [27] 27,73 unequal: No Solution Exploring Operation: 96*69=6624, Resulting Numbers: [6624] 6624,73 unequal: No Solution Exploring Operation: 96+69=165, Resulting Numbers: [165] 165,73 unequal: No Solution Moving to Node #0,4,1 Current State: 73:[73, 100], Operations: ['85-81=4', '96+4=100'] Exploring Operation: 73+100=173, Resulting Numbers: [173] 173,73 unequal: No Solution Exploring Operation: 73*100=7300, Resulting Numbers: [7300] 7300,73 unequal: No Solution Exploring Operation: 100-73=27, Resulting Numbers: [27] 27,73 unequal: No Solution Moving to Node #0,2,4 Current State: 73:[85, 58], Operations: ['96-81=15', '73-15=58'] Exploring Operation: 85+58=143, Resulting Numbers: [143] 143,73 unequal: No Solution Exploring Operation: 85-58=27, Resulting Numbers: [27] 27,73 unequal: No Solution Exploring Operation: 85*58=4930, Resulting Numbers: [4930] 4930,73 unequal: No Solution Moving to Node #0,4,0 Current State: 73:[96, 77], Operations: ['85-81=4', '73+4=77'] Exploring Operation: 96+77=173, Resulting Numbers: [173] 173,73 unequal: No Solution Exploring Operation: 96*77=7392, Resulting Numbers: [7392] 7392,73 unequal: No Solution Exploring Operation: 96-77=19, Resulting Numbers: [19] 19,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[73, 100], Operations: ['96-81=15', '85+15=100'] Exploring Operation: 100-73=27, Resulting Numbers: [27] 27,73 unequal: No Solution Exploring Operation: 73+100=173, Resulting Numbers: [173] 173,73 unequal: No Solution Exploring Operation: 73*100=7300, Resulting Numbers: [7300] 7300,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[96, 93], Operations: ['85-73=12', '81+12=93'] Exploring Operation: 96-93=3, Resulting Numbers: [3] 3,73 unequal: No Solution Exploring Operation: 96*93=8928, Resulting Numbers: [8928] 8928,73 unequal: No Solution Exploring Operation: 96+93=189, Resulting Numbers: [189] 189,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[81, 108], Operations: ['85-73=12', '96+12=108'] Exploring Operation: 81*108=8748, Resulting Numbers: [8748] 8748,73 unequal: No Solution Exploring Operation: 81+108=189, Resulting Numbers: [189] 189,73 unequal: No Solution Exploring Operation: 108-81=27, Resulting Numbers: [27] 27,73 unequal: No Solution Moving to Node #0,4,3 Current State: 73:[73, 24], Operations: ['85-81=4', '96/4=24'] Exploring Operation: 73*24=1752, Resulting Numbers: [1752] 1752,73 unequal: No Solution Exploring Operation: 73-24=49, Resulting Numbers: [49] 49,73 unequal: No Solution Exploring Operation: 73+24=97, Resulting Numbers: [97] 97,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[81, 8], Operations: ['85-73=12', '96/12=8'] Exploring Operation: 81+8=89, Resulting Numbers: [89] 89,73 unequal: No Solution Exploring Operation: 81*8=648, Resulting Numbers: [648] 648,73 unequal: No Solution Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[81, 85, 96, 73], Operations: [] Exploring Operation: 85-73=12, Resulting Numbers: [81, 96, 12] Generated Node #0,1: 73:[81, 96, 12] Operation: 85-73=12 Moving to Node #0,1 Current State: 73:[81, 96, 12], Operations: ['85-73=12'] Exploring Operation: 96/12=8, Resulting Numbers: [81, 8] Generated Node #0,1,1: 73:[81, 8] Operation: 96/12=8 Moving to Node #0,1,1 Current State: 73:[81, 8], Operations: ['85-73=12', '96/12=8'] Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
0.91059
hs_5
sum_heuristic
[ 58, 32, 68, 98 ]
13
[ "68-58=10", "32+98=130", "130/10=13" ]
Current State: 13:[58, 32, 68, 98], Operations: [] Exploring Operation: 68-58=10, Resulting Numbers: [32, 98, 10] Generated Node #2: [32, 98, 10] from Operation: 68-58=10 Current State: 13:[32, 98, 10], Operations: ['68-58=10'] Exploring Operation: 32+98=130, Resulting Numbers: [10, 130] Generated Node #3: [10, 130] from Operation: 32+98=130 Current State: 13:[10, 130], Operations: ['68-58=10', '32+98=130'] Exploring Operation: 130/10=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[58, 32, 68, 98], Operations: [] Exploring Operation: 98-68=30, Resulting Numbers: [58, 32, 30] Generated Node #0,0: 13:[58, 32, 30] Operation: 98-68=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[58, 32, 30], Operations: ['98-68=30'] Exploring Operation: 58-32=26, Resulting Numbers: [30, 26] Generated Node #0,0,0: 13:[30, 26] Operation: 58-32=26 Moving to Node #0,0,0 Current State: 13:[30, 26], Operations: ['98-68=30', '58-32=26'] Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,13 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
[ 28, 85, 83, 47 ]
73
[ "85-28=57", "83+47=130", "130-57=73" ]
Current State: 73:[28, 85, 83, 47], Operations: [] Exploring Operation: 85-28=57, Resulting Numbers: [83, 47, 57] Generated Node #2: [83, 47, 57] from Operation: 85-28=57 Current State: 73:[83, 47, 57], Operations: ['85-28=57'] Exploring Operation: 83+47=130, Resulting Numbers: [57, 130] Generated Node #3: [57, 130] from Operation: 83+47=130 Current State: 73:[57, 130], Operations: ['85-28=57', '83+47=130'] Exploring Operation: 130-57=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[28, 85, 83, 47], Operations: [] Exploring Operation: 28+47=75, Resulting Numbers: [85, 83, 75] Generated Node #0,0: 73:[85, 83, 75] Operation: 28+47=75 Exploring Operation: 85-28=57, Resulting Numbers: [83, 47, 57] Generated Node #0,1: 73:[83, 47, 57] Operation: 85-28=57 Exploring Operation: 83-28=55, Resulting Numbers: [85, 47, 55] Generated Node #0,2: 73:[85, 47, 55] Operation: 83-28=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[85, 83, 75], Operations: ['28+47=75'] Exploring Operation: 85-75=10, Resulting Numbers: [83, 10] Generated Node #0,0,0: 73:[83, 10] Operation: 85-75=10 Exploring Operation: 83-75=8, Resulting Numbers: [85, 8] Generated Node #0,0,1: 73:[85, 8] Operation: 83-75=8 Exploring Operation: 85-83=2, Resulting Numbers: [75, 2] Generated Node #0,0,2: 73:[75, 2] Operation: 85-83=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[83, 10], Operations: ['28+47=75', '85-75=10'] Exploring Operation: 83+10=93, Resulting Numbers: [93] 93,73 unequal: No Solution Exploring Operation: 83*10=830, Resulting Numbers: [830] 830,73 unequal: No Solution Exploring Operation: 83-10=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[28, 85, 83, 47], Operations: [] Exploring Operation: 28+47=75, Resulting Numbers: [85, 83, 75] Generated Node #0,0: 73:[85, 83, 75] Operation: 28+47=75 Moving to Node #0,0 Current State: 73:[85, 83, 75], Operations: ['28+47=75'] Exploring Operation: 85-75=10, Resulting Numbers: [83, 10] Generated Node #0,0,0: 73:[83, 10] Operation: 85-75=10 Moving to Node #0,0,0 Current State: 73:[83, 10], Operations: ['28+47=75', '85-75=10'] Exploring Operation: 83-10=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 48, 48, 20, 10 ]
48
[ "48+48=96", "20/10=2", "96/2=48" ]
Current State: 48:[48, 48, 20, 10], Operations: [] Exploring Operation: 48+48=96, Resulting Numbers: [20, 10, 96] Generated Node #2: [20, 10, 96] from Operation: 48+48=96 Current State: 48:[20, 10, 96], Operations: ['48+48=96'] Exploring Operation: 20/10=2, Resulting Numbers: [96, 2] Generated Node #3: [96, 2] from Operation: 20/10=2 Current State: 48:[96, 2], Operations: ['48+48=96', '20/10=2'] Exploring Operation: 96/2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[48, 48, 20, 10], Operations: [] Exploring Operation: 20/10=2, Resulting Numbers: [48, 48, 2] Generated Node #0,0: 48:[48, 48, 2] Operation: 20/10=2 Exploring Operation: 20-10=10, Resulting Numbers: [48, 48, 10] Generated Node #0,1: 48:[48, 48, 10] Operation: 20-10=10 Moving to Node #0,0 Current State: 48:[48, 48, 2], Operations: ['20/10=2'] Exploring Operation: 48/2=24, Resulting Numbers: [48, 24] Generated Node #0,0,0: 48:[48, 24] Operation: 48/2=24 Exploring Operation: 48/2=24, Resulting Numbers: [48, 24] Generated Node #0,0,1: 48:[48, 24] Operation: 48/2=24 Moving to Node #0,1 Current State: 48:[48, 48, 10], Operations: ['20-10=10'] Exploring Operation: 48-48=0, Resulting Numbers: [10, 0] Generated Node #0,1,0: 48:[10, 0] Operation: 48-48=0 Exploring Operation: 48/48=1, Resulting Numbers: [10, 1] Generated Node #0,1,1: 48:[10, 1] Operation: 48/48=1 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[10, 1], Operations: ['20-10=10', '48/48=1'] Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[10, 0], Operations: ['20-10=10', '48-48=0'] Exploring Operation: 10*0=0, Resulting Numbers: [0] 0,48 unequal: No Solution Exploring Operation: 10+0=10, Resulting Numbers: [10] 10,48 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: 48:[48, 24], Operations: ['20/10=2', '48/2=24'] Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[48, 24], Operations: ['20/10=2', '48/2=24'] Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,48 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 58, 95, 91, 41 ]
61
[ "58*95=5510", "41+5510=5551", "5551/91=61" ]
Current State: 61:[58, 95, 91, 41], Operations: [] Exploring Operation: 58*95=5510, Resulting Numbers: [91, 41, 5510] Generated Node #2: [91, 41, 5510] from Operation: 58*95=5510 Current State: 61:[91, 41, 5510], Operations: ['58*95=5510'] Exploring Operation: 41+5510=5551, Resulting Numbers: [91, 5551] Generated Node #3: [91, 5551] from Operation: 41+5510=5551 Current State: 61:[91, 5551], Operations: ['58*95=5510', '41+5510=5551'] Exploring Operation: 5551/91=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[58, 95, 91, 41], Operations: [] Exploring Operation: 95-41=54, Resulting Numbers: [58, 91, 54] Generated Node #0,0: 61:[58, 91, 54] Operation: 95-41=54 Exploring Operation: 95-58=37, Resulting Numbers: [91, 41, 37] Generated Node #0,1: 61:[91, 41, 37] Operation: 95-58=37 Exploring Operation: 91-41=50, Resulting Numbers: [58, 95, 50] Generated Node #0,2: 61:[58, 95, 50] Operation: 91-41=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[58, 91, 54], Operations: ['95-41=54'] Exploring Operation: 91-58=33, Resulting Numbers: [54, 33] Generated Node #0,0,0: 61:[54, 33] Operation: 91-58=33 Exploring Operation: 91-54=37, Resulting Numbers: [58, 37] Generated Node #0,0,1: 61:[58, 37] Operation: 91-54=37 Exploring Operation: 58+54=112, Resulting Numbers: [91, 112] Generated Node #0,0,2: 61:[91, 112] Operation: 58+54=112 Moving to Node #0,0,1 Current State: 61:[58, 37], Operations: ['95-41=54', '91-54=37'] Exploring Operation: 58-37=21, Resulting Numbers: [21] 21,61 unequal: No Solution Exploring Operation: 58+37=95, Resulting Numbers: [95] 95,61 unequal: No Solution Exploring Operation: 58*37=2146, Resulting Numbers: [2146] 2146,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[54, 33], Operations: ['95-41=54', '91-58=33'] Exploring Operation: 54-33=21, Resulting Numbers: [21] 21,61 unequal: No Solution Exploring Operation: 54*33=1782, Resulting Numbers: [1782] 1782,61 unequal: No Solution Exploring Operation: 54+33=87, Resulting Numbers: [87] 87,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[91, 112], Operations: ['95-41=54', '58+54=112'] Exploring Operation: 91+112=203, Resulting Numbers: [203] 203,61 unequal: No Solution Exploring Operation: 91*112=10192, Resulting Numbers: [10192] 10192,61 unequal: No Solution Exploring Operation: 112-91=21, Resulting Numbers: [21] 21,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 61:[58, 95, 50], Operations: ['91-41=50'] Exploring Operation: 95-50=45, Resulting Numbers: [58, 45] Generated Node #0,2,0: 61:[58, 45] Operation: 95-50=45 Exploring Operation: 95-58=37, Resulting Numbers: [50, 37] Generated Node #0,2,1: 61:[50, 37] Operation: 95-58=37 Exploring Operation: 58+50=108, Resulting Numbers: [95, 108] Generated Node #0,2,2: 61:[95, 108] Operation: 58+50=108 Moving to Node #0,2,0 Current State: 61:[58, 45], Operations: ['91-41=50', '95-50=45'] Exploring Operation: 58+45=103, Resulting Numbers: [103] 103,61 unequal: No Solution Exploring Operation: 58-45=13, Resulting Numbers: [13] 13,61 unequal: No Solution Exploring Operation: 58*45=2610, Resulting Numbers: [2610] 2610,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[50, 37], Operations: ['91-41=50', '95-58=37'] Exploring Operation: 50-37=13, Resulting Numbers: [13] 13,61 unequal: No Solution Exploring Operation: 50*37=1850, Resulting Numbers: [1850] 1850,61 unequal: No Solution Exploring Operation: 50+37=87, Resulting Numbers: [87] 87,61 unequal: No Solution Moving to Node #0,2,2 Current State: 61:[95, 108], Operations: ['91-41=50', '58+50=108'] Exploring Operation: 108-95=13, Resulting Numbers: [13] 13,61 unequal: No Solution Exploring Operation: 95*108=10260, Resulting Numbers: [10260] 10260,61 unequal: No Solution Exploring Operation: 95+108=203, Resulting Numbers: [203] 203,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[91, 41, 37], Operations: ['95-58=37'] Exploring Operation: 41+37=78, Resulting Numbers: [91, 78] Generated Node #0,1,0: 61:[91, 78] Operation: 41+37=78 Exploring Operation: 91-37=54, Resulting Numbers: [41, 54] Generated Node #0,1,1: 61:[41, 54] Operation: 91-37=54 Exploring Operation: 91-41=50, Resulting Numbers: [37, 50] Generated Node #0,1,2: 61:[37, 50] Operation: 91-41=50 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 61:[41, 54], Operations: ['95-58=37', '91-37=54'] Exploring Operation: 41*54=2214, Resulting Numbers: [2214] 2214,61 unequal: No Solution Exploring Operation: 41+54=95, Resulting Numbers: [95] 95,61 unequal: No Solution Exploring Operation: 54-41=13, Resulting Numbers: [13] 13,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 61:[37, 50], Operations: ['95-58=37', '91-41=50'] Exploring Operation: 37+50=87, Resulting Numbers: [87] 87,61 unequal: No Solution Exploring Operation: 37*50=1850, Resulting Numbers: [1850] 1850,61 unequal: No Solution Exploring Operation: 50-37=13, Resulting Numbers: [13] 13,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 61:[91, 78], Operations: ['95-58=37', '41+37=78'] Exploring Operation: 91+78=169, Resulting Numbers: [169] 169,61 unequal: No Solution Exploring Operation: 91*78=7098, Resulting Numbers: [7098] 7098,61 unequal: No Solution Exploring Operation: 91-78=13, Resulting Numbers: [13] 13,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 30, 66, 16, 21 ]
41
[ "66-30=36", "21-16=5", "36+5=41" ]
Current State: 41:[30, 66, 16, 21], Operations: [] Exploring Operation: 66-30=36, Resulting Numbers: [16, 21, 36] Generated Node #2: [16, 21, 36] from Operation: 66-30=36 Current State: 41:[16, 21, 36], Operations: ['66-30=36'] Exploring Operation: 21-16=5, Resulting Numbers: [36, 5] Generated Node #3: [36, 5] from Operation: 21-16=5 Current State: 41:[36, 5], Operations: ['66-30=36', '21-16=5'] Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[30, 66, 16, 21], Operations: [] Exploring Operation: 66-30=36, Resulting Numbers: [16, 21, 36] Generated Node #0,0: 41:[16, 21, 36] Operation: 66-30=36 Exploring Operation: 16+21=37, Resulting Numbers: [30, 66, 37] Generated Node #0,1: 41:[30, 66, 37] Operation: 16+21=37 Exploring Operation: 66-16=50, Resulting Numbers: [30, 21, 50] Generated Node #0,2: 41:[30, 21, 50] Operation: 66-16=50 Exploring Operation: 66-21=45, Resulting Numbers: [30, 16, 45] Generated Node #0,3: 41:[30, 16, 45] Operation: 66-21=45 Moving to Node #0,1 Current State: 41:[30, 66, 37], Operations: ['16+21=37'] Exploring Operation: 66-30=36, Resulting Numbers: [37, 36] Generated Node #0,1,0: 41:[37, 36] Operation: 66-30=36 Exploring Operation: 30+66=96, Resulting Numbers: [37, 96] Generated Node #0,1,1: 41:[37, 96] Operation: 30+66=96 Exploring Operation: 30+37=67, Resulting Numbers: [66, 67] Generated Node #0,1,2: 41:[66, 67] Operation: 30+37=67 Exploring Operation: 66-37=29, Resulting Numbers: [30, 29] Generated Node #0,1,3: 41:[30, 29] Operation: 66-37=29 Moving to Node #0,3 Current State: 41:[30, 16, 45], Operations: ['66-21=45'] Exploring Operation: 30+16=46, Resulting Numbers: [45, 46] Generated Node #0,3,0: 41:[45, 46] Operation: 30+16=46 Exploring Operation: 30-16=14, Resulting Numbers: [45, 14] Generated Node #0,3,1: 41:[45, 14] Operation: 30-16=14 Exploring Operation: 45-16=29, Resulting Numbers: [30, 29] Generated Node #0,3,2: 41:[30, 29] Operation: 45-16=29 Exploring Operation: 16+45=61, Resulting Numbers: [30, 61] Generated Node #0,3,3: 41:[30, 61] Operation: 16+45=61 Moving to Node #0,2 Current State: 41:[30, 21, 50], Operations: ['66-16=50'] Exploring Operation: 30-21=9, Resulting Numbers: [50, 9] Generated Node #0,2,0: 41:[50, 9] Operation: 30-21=9 Exploring Operation: 30+21=51, Resulting Numbers: [50, 51] Generated Node #0,2,1: 41:[50, 51] Operation: 30+21=51 Exploring Operation: 50-30=20, Resulting Numbers: [21, 20] Generated Node #0,2,2: 41:[21, 20] Operation: 50-30=20 Exploring Operation: 50-21=29, Resulting Numbers: [30, 29] Generated Node #0,2,3: 41:[30, 29] Operation: 50-21=29 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 41:[50, 51], Operations: ['66-16=50', '30+21=51'] Exploring Operation: 51-50=1, Resulting Numbers: [1] 1,41 unequal: No Solution Exploring Operation: 50+51=101, Resulting Numbers: [101] 101,41 unequal: No Solution Exploring Operation: 50*51=2550, Resulting Numbers: [2550] 2550,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 41:[30, 29], Operations: ['66-16=50', '50-21=29'] Exploring Operation: 30*29=870, Resulting Numbers: [870] 870,41 unequal: No Solution Exploring Operation: 30+29=59, Resulting Numbers: [59] 59,41 unequal: No Solution Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 41:[50, 9], Operations: ['66-16=50', '30-21=9'] Exploring Operation: 50*9=450, Resulting Numbers: [450] 450,41 unequal: No Solution Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[30, 66, 16, 21], Operations: [] Exploring Operation: 66-16=50, Resulting Numbers: [30, 21, 50] Generated Node #0,2: 41:[30, 21, 50] Operation: 66-16=50 Moving to Node #0,2 Current State: 41:[30, 21, 50], Operations: ['66-16=50'] Exploring Operation: 30-21=9, Resulting Numbers: [50, 9] Generated Node #0,2,0: 41:[50, 9] Operation: 30-21=9 Moving to Node #0,2,0 Current State: 41:[50, 9], Operations: ['66-16=50', '30-21=9'] Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_4
sum_heuristic
[ 96, 98, 78, 94 ]
40
[ "96-94=2", "98-78=20", "2*20=40" ]
Current State: 40:[96, 98, 78, 94], Operations: [] Exploring Operation: 96-94=2, Resulting Numbers: [98, 78, 2] Generated Node #2: [98, 78, 2] from Operation: 96-94=2 Current State: 40:[98, 78, 2], Operations: ['96-94=2'] Exploring Operation: 98-78=20, Resulting Numbers: [2, 20] Generated Node #3: [2, 20] from Operation: 98-78=20 Current State: 40:[2, 20], Operations: ['96-94=2', '98-78=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[96, 98, 78, 94], Operations: [] Exploring Operation: 96-94=2, Resulting Numbers: [98, 78, 2] Generated Node #0,0: 40:[98, 78, 2] Operation: 96-94=2 Exploring Operation: 98-78=20, Resulting Numbers: [96, 94, 20] Generated Node #0,1: 40:[96, 94, 20] Operation: 98-78=20 Exploring Operation: 98-96=2, Resulting Numbers: [78, 94, 2] Generated Node #0,2: 40:[78, 94, 2] Operation: 98-96=2 Exploring Operation: 98-94=4, Resulting Numbers: [96, 78, 4] Generated Node #0,3: 40:[96, 78, 4] Operation: 98-94=4 Exploring Operation: 96-78=18, Resulting Numbers: [98, 94, 18] Generated Node #0,4: 40:[98, 94, 18] Operation: 96-78=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[78, 94, 2], Operations: ['98-96=2'] Exploring Operation: 78/2=39, Resulting Numbers: [94, 39] Generated Node #0,2,0: 40:[94, 39] Operation: 78/2=39 Exploring Operation: 78-2=76, Resulting Numbers: [94, 76] Generated Node #0,2,1: 40:[94, 76] Operation: 78-2=76 Exploring Operation: 94-78=16, Resulting Numbers: [2, 16] Generated Node #0,2,2: 40:[2, 16] Operation: 94-78=16 Exploring Operation: 94/2=47, Resulting Numbers: [78, 47] Generated Node #0,2,3: 40:[78, 47] Operation: 94/2=47 Exploring Operation: 94-2=92, Resulting Numbers: [78, 92] Generated Node #0,2,4: 40:[78, 92] Operation: 94-2=92 Moving to Node #0,2,2 Current State: 40:[2, 16], Operations: ['98-96=2', '94-78=16'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,40 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,40 unequal: No Solution Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,40 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,40 unequal: No Solution Moving to Node #0,2,3 Current State: 40:[78, 47], Operations: ['98-96=2', '94/2=47'] Exploring Operation: 78-47=31, Resulting Numbers: [31] 31,40 unequal: No Solution Exploring Operation: 78*47=3666, Resulting Numbers: [3666] 3666,40 unequal: No Solution Exploring Operation: 78+47=125, Resulting Numbers: [125] 125,40 unequal: No Solution Moving to Node #0,2,0 Current State: 40:[94, 39], Operations: ['98-96=2', '78/2=39'] Exploring Operation: 94+39=133, Resulting Numbers: [133] 133,40 unequal: No Solution Exploring Operation: 94-39=55, Resulting Numbers: [55] 55,40 unequal: No Solution Exploring Operation: 94*39=3666, Resulting Numbers: [3666] 3666,40 unequal: No Solution Moving to Node #0,2,1 Current State: 40:[94, 76], Operations: ['98-96=2', '78-2=76'] Exploring Operation: 94*76=7144, Resulting Numbers: [7144] 7144,40 unequal: No Solution Exploring Operation: 94+76=170, Resulting Numbers: [170] 170,40 unequal: No Solution Exploring Operation: 94-76=18, Resulting Numbers: [18] 18,40 unequal: No Solution Moving to Node #0,2,4 Current State: 40:[78, 92], Operations: ['98-96=2', '94-2=92'] Exploring Operation: 92-78=14, Resulting Numbers: [14] 14,40 unequal: No Solution Exploring Operation: 78*92=7176, Resulting Numbers: [7176] 7176,40 unequal: No Solution Exploring Operation: 78+92=170, Resulting Numbers: [170] 170,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 40:[96, 78, 4], Operations: ['98-94=4'] Exploring Operation: 78-4=74, Resulting Numbers: [96, 74] Generated Node #0,3,0: 40:[96, 74] Operation: 78-4=74 Exploring Operation: 96-4=92, Resulting Numbers: [78, 92] Generated Node #0,3,1: 40:[78, 92] Operation: 96-4=92 Exploring Operation: 96-78=18, Resulting Numbers: [4, 18] Generated Node #0,3,2: 40:[4, 18] Operation: 96-78=18 Exploring Operation: 96/4=24, Resulting Numbers: [78, 24] Generated Node #0,3,3: 40:[78, 24] Operation: 96/4=24 Exploring Operation: 96+4=100, Resulting Numbers: [78, 100] Generated Node #0,3,4: 40:[78, 100] Operation: 96+4=100 Moving to Node #0,3,2 Current State: 40:[4, 18], Operations: ['98-94=4', '96-78=18'] Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,40 unequal: No Solution Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,40 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,40 unequal: No Solution Moving to Node #0,3,3 Current State: 40:[78, 24], Operations: ['98-94=4', '96/4=24'] Exploring Operation: 78-24=54, Resulting Numbers: [54] 54,40 unequal: No Solution Exploring Operation: 78*24=1872, Resulting Numbers: [1872] 1872,40 unequal: No Solution Exploring Operation: 78+24=102, Resulting Numbers: [102] 102,40 unequal: No Solution Moving to Node #0,3,0 Current State: 40:[96, 74], Operations: ['98-94=4', '78-4=74'] Exploring Operation: 96+74=170, Resulting Numbers: [170] 170,40 unequal: No Solution Exploring Operation: 96*74=7104, Resulting Numbers: [7104] 7104,40 unequal: No Solution Exploring Operation: 96-74=22, Resulting Numbers: [22] 22,40 unequal: No Solution Moving to Node #0,3,1 Current State: 40:[78, 92], Operations: ['98-94=4', '96-4=92'] Exploring Operation: 92-78=14, Resulting Numbers: [14] 14,40 unequal: No Solution Exploring Operation: 78+92=170, Resulting Numbers: [170] 170,40 unequal: No Solution Exploring Operation: 78*92=7176, Resulting Numbers: [7176] 7176,40 unequal: No Solution Moving to Node #0,3,4 Current State: 40:[78, 100], Operations: ['98-94=4', '96+4=100'] Exploring Operation: 78+100=178, Resulting Numbers: [178] 178,40 unequal: No Solution Exploring Operation: 100-78=22, Resulting Numbers: [22] 22,40 unequal: No Solution Exploring Operation: 78*100=7800, Resulting Numbers: [7800] 7800,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[98, 78, 2], Operations: ['96-94=2'] Exploring Operation: 98-2=96, Resulting Numbers: [78, 96] Generated Node #0,0,0: 40:[78, 96] Operation: 98-2=96 Exploring Operation: 78-2=76, Resulting Numbers: [98, 76] Generated Node #0,0,1: 40:[98, 76] Operation: 78-2=76 Exploring Operation: 98-78=20, Resulting Numbers: [2, 20] Generated Node #0,0,2: 40:[2, 20] Operation: 98-78=20 Exploring Operation: 78/2=39, Resulting Numbers: [98, 39] Generated Node #0,0,3: 40:[98, 39] Operation: 78/2=39 Exploring Operation: 98/2=49, Resulting Numbers: [78, 49] Generated Node #0,0,4: 40:[78, 49] Operation: 98/2=49 Moving to Node #0,0,2 Current State: 40:[2, 20], Operations: ['96-94=2', '98-78=20'] Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,40 unequal: No Solution Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[96, 98, 78, 94], Operations: [] Exploring Operation: 96-94=2, Resulting Numbers: [98, 78, 2] Generated Node #0,0: 40:[98, 78, 2] Operation: 96-94=2 Moving to Node #0,0 Current State: 40:[98, 78, 2], Operations: ['96-94=2'] Exploring Operation: 98-78=20, Resulting Numbers: [2, 20] Generated Node #0,0,2: 40:[2, 20] Operation: 98-78=20 Moving to Node #0,0,2 Current State: 40:[2, 20], Operations: ['96-94=2', '98-78=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.950521
hs_5
sum_heuristic
[ 85, 52, 58, 30 ]
80
[ "58-52=6", "30/6=5", "85-5=80" ]
Current State: 80:[85, 52, 58, 30], Operations: [] Exploring Operation: 58-52=6, Resulting Numbers: [85, 30, 6] Generated Node #2: [85, 30, 6] from Operation: 58-52=6 Current State: 80:[85, 30, 6], Operations: ['58-52=6'] Exploring Operation: 30/6=5, Resulting Numbers: [85, 5] Generated Node #3: [85, 5] from Operation: 30/6=5 Current State: 80:[85, 5], Operations: ['58-52=6', '30/6=5'] Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[85, 52, 58, 30], Operations: [] Exploring Operation: 58+30=88, Resulting Numbers: [85, 52, 88] Generated Node #0,0: 80:[85, 52, 88] Operation: 58+30=88 Exploring Operation: 52-30=22, Resulting Numbers: [85, 58, 22] Generated Node #0,1: 80:[85, 58, 22] Operation: 52-30=22 Exploring Operation: 58-52=6, Resulting Numbers: [85, 30, 6] Generated Node #0,2: 80:[85, 30, 6] Operation: 58-52=6 Exploring Operation: 52+30=82, Resulting Numbers: [85, 58, 82] Generated Node #0,3: 80:[85, 58, 82] Operation: 52+30=82 Moving to Node #0,2 Current State: 80:[85, 30, 6], Operations: ['58-52=6'] Exploring Operation: 30+6=36, Resulting Numbers: [85, 36] Generated Node #0,2,0: 80:[85, 36] Operation: 30+6=36 Exploring Operation: 30-6=24, Resulting Numbers: [85, 24] Generated Node #0,2,1: 80:[85, 24] Operation: 30-6=24 Exploring Operation: 85-6=79, Resulting Numbers: [30, 79] Generated Node #0,2,2: 80:[30, 79] Operation: 85-6=79 Exploring Operation: 30/6=5, Resulting Numbers: [85, 5] Generated Node #0,2,3: 80:[85, 5] Operation: 30/6=5 Moving to Node #0,1 Current State: 80:[85, 58, 22], Operations: ['52-30=22'] Exploring Operation: 58-22=36, Resulting Numbers: [85, 36] Generated Node #0,1,0: 80:[85, 36] Operation: 58-22=36 Exploring Operation: 85-22=63, Resulting Numbers: [58, 63] Generated Node #0,1,1: 80:[58, 63] Operation: 85-22=63 Exploring Operation: 58+22=80, Resulting Numbers: [85, 80] Generated Node #0,1,2: 80:[85, 80] Operation: 58+22=80 Exploring Operation: 85-58=27, Resulting Numbers: [22, 27] Generated Node #0,1,3: 80:[22, 27] Operation: 85-58=27 Moving to Node #0,0 Current State: 80:[85, 52, 88], Operations: ['58+30=88'] Exploring Operation: 88-85=3, Resulting Numbers: [52, 3] Generated Node #0,0,0: 80:[52, 3] Operation: 88-85=3 Exploring Operation: 85+52=137, Resulting Numbers: [88, 137] Generated Node #0,0,1: 80:[88, 137] Operation: 85+52=137 Exploring Operation: 88-52=36, Resulting Numbers: [85, 36] Generated Node #0,0,2: 80:[85, 36] Operation: 88-52=36 Exploring Operation: 85-52=33, Resulting Numbers: [88, 33] Generated Node #0,0,3: 80:[88, 33] Operation: 85-52=33 Moving to Node #0,3 Current State: 80:[85, 58, 82], Operations: ['52+30=82'] Exploring Operation: 85+58=143, Resulting Numbers: [82, 143] Generated Node #0,3,0: 80:[82, 143] Operation: 85+58=143 Exploring Operation: 85-82=3, Resulting Numbers: [58, 3] Generated Node #0,3,1: 80:[58, 3] Operation: 85-82=3 Exploring Operation: 82-58=24, Resulting Numbers: [85, 24] Generated Node #0,3,2: 80:[85, 24] Operation: 82-58=24 Exploring Operation: 85-58=27, Resulting Numbers: [82, 27] Generated Node #0,3,3: 80:[82, 27] Operation: 85-58=27 Moving to Node #0,2,3 Current State: 80:[85, 5], Operations: ['58-52=6', '30/6=5'] Exploring Operation: 85+5=90, Resulting Numbers: [90] 90,80 unequal: No Solution Exploring Operation: 85*5=425, Resulting Numbers: [425] 425,80 unequal: No Solution Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[85, 52, 58, 30], Operations: [] Exploring Operation: 58-52=6, Resulting Numbers: [85, 30, 6] Generated Node #0,2: 80:[85, 30, 6] Operation: 58-52=6 Moving to Node #0,2 Current State: 80:[85, 30, 6], Operations: ['58-52=6'] Exploring Operation: 30/6=5, Resulting Numbers: [85, 5] Generated Node #0,2,3: 80:[85, 5] Operation: 30/6=5 Moving to Node #0,2,3 Current State: 80:[85, 5], Operations: ['58-52=6', '30/6=5'] Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.976563
hs_4
sum_heuristic
[ 51, 11, 36, 12 ]
37
[ "51-11=40", "36/12=3", "40-3=37" ]
Current State: 37:[51, 11, 36, 12], Operations: [] Exploring Operation: 51-11=40, Resulting Numbers: [36, 12, 40] Generated Node #2: [36, 12, 40] from Operation: 51-11=40 Current State: 37:[36, 12, 40], Operations: ['51-11=40'] Exploring Operation: 36/12=3, Resulting Numbers: [40, 3] Generated Node #3: [40, 3] from Operation: 36/12=3 Current State: 37:[40, 3], Operations: ['51-11=40', '36/12=3'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[51, 11, 36, 12], Operations: [] Exploring Operation: 51-11=40, Resulting Numbers: [36, 12, 40] Generated Node #0,0: 37:[36, 12, 40] Operation: 51-11=40 Moving to Node #0,0 Current State: 37:[36, 12, 40], Operations: ['51-11=40'] Exploring Operation: 40-12=28, Resulting Numbers: [36, 28] Generated Node #0,0,0: 37:[36, 28] Operation: 40-12=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[36, 28], Operations: ['51-11=40', '40-12=28'] Exploring Operation: 36+28=64, Resulting Numbers: [64] 64,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 96, 48, 78, 9 ]
75
[ "96+48=144", "78-9=69", "144-69=75" ]
Current State: 75:[96, 48, 78, 9], Operations: [] Exploring Operation: 96+48=144, Resulting Numbers: [78, 9, 144] Generated Node #2: [78, 9, 144] from Operation: 96+48=144 Current State: 75:[78, 9, 144], Operations: ['96+48=144'] Exploring Operation: 78-9=69, Resulting Numbers: [144, 69] Generated Node #3: [144, 69] from Operation: 78-9=69 Current State: 75:[144, 69], Operations: ['96+48=144', '78-9=69'] Exploring Operation: 144-69=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[96, 48, 78, 9], Operations: [] Exploring Operation: 96-48=48, Resulting Numbers: [78, 9, 48] Generated Node #0,0: 75:[78, 9, 48] Operation: 96-48=48 Exploring Operation: 78-48=30, Resulting Numbers: [96, 9, 30] Generated Node #0,1: 75:[96, 9, 30] Operation: 78-48=30 Exploring Operation: 96/48=2, Resulting Numbers: [78, 9, 2] Generated Node #0,2: 75:[78, 9, 2] Operation: 96/48=2 Exploring Operation: 96-78=18, Resulting Numbers: [48, 9, 18] Generated Node #0,3: 75:[48, 9, 18] Operation: 96-78=18 Exploring Operation: 96-9=87, Resulting Numbers: [48, 78, 87] Generated Node #0,4: 75:[48, 78, 87] Operation: 96-9=87 Moving to Node #0,2 Current State: 75:[78, 9, 2], Operations: ['96/48=2'] Exploring Operation: 78-2=76, Resulting Numbers: [9, 76] Generated Node #0,2,0: 75:[9, 76] Operation: 78-2=76 Exploring Operation: 9-2=7, Resulting Numbers: [78, 7] Generated Node #0,2,1: 75:[78, 7] Operation: 9-2=7 Exploring Operation: 78-9=69, Resulting Numbers: [2, 69] Generated Node #0,2,2: 75:[2, 69] Operation: 78-9=69 Exploring Operation: 9*2=18, Resulting Numbers: [78, 18] Generated Node #0,2,3: 75:[78, 18] Operation: 9*2=18 Exploring Operation: 9+2=11, Resulting Numbers: [78, 11] Generated Node #0,2,4: 75:[78, 11] Operation: 9+2=11 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 75:[9, 76], Operations: ['96/48=2', '78-2=76'] Exploring Operation: 76-9=67, Resulting Numbers: [67] 67,75 unequal: No Solution Exploring Operation: 9*76=684, Resulting Numbers: [684] 684,75 unequal: No Solution Exploring Operation: 9+76=85, Resulting Numbers: [85] 85,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,2,1 Current State: 75:[78, 7], Operations: ['96/48=2', '9-2=7'] Exploring Operation: 78-7=71, Resulting Numbers: [71] 71,75 unequal: No Solution Exploring Operation: 78*7=546, Resulting Numbers: [546] 546,75 unequal: No Solution Exploring Operation: 78+7=85, Resulting Numbers: [85] 85,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,2,3 Current State: 75:[78, 18], Operations: ['96/48=2', '9*2=18'] Exploring Operation: 78-18=60, Resulting Numbers: [60] 60,75 unequal: No Solution Exploring Operation: 78+18=96, Resulting Numbers: [96] 96,75 unequal: No Solution Exploring Operation: 78*18=1404, Resulting Numbers: [1404] 1404,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,2,2 Current State: 75:[2, 69], Operations: ['96/48=2', '78-9=69'] Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,75 unequal: No Solution Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,75 unequal: No Solution Exploring Operation: 2*69=138, Resulting Numbers: [138] 138,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,2,4 Current State: 75:[78, 11], Operations: ['96/48=2', '9+2=11'] Exploring Operation: 78-11=67, Resulting Numbers: [67] 67,75 unequal: No Solution Exploring Operation: 78+11=89, Resulting Numbers: [89] 89,75 unequal: No Solution Exploring Operation: 78*11=858, Resulting Numbers: [858] 858,75 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: 75:[96, 9, 30], Operations: ['78-48=30'] Exploring Operation: 96-9=87, Resulting Numbers: [30, 87] Generated Node #0,1,0: 75:[30, 87] Operation: 96-9=87 Exploring Operation: 96-30=66, Resulting Numbers: [9, 66] Generated Node #0,1,1: 75:[9, 66] Operation: 96-30=66 Exploring Operation: 30-9=21, Resulting Numbers: [96, 21] Generated Node #0,1,2: 75:[96, 21] Operation: 30-9=21 Exploring Operation: 9+30=39, Resulting Numbers: [96, 39] Generated Node #0,1,3: 75:[96, 39] Operation: 9+30=39 Exploring Operation: 96+9=105, Resulting Numbers: [30, 105] Generated Node #0,1,4: 75:[30, 105] Operation: 96+9=105 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 75:[9, 66], Operations: ['78-48=30', '96-30=66'] Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,75 unequal: No Solution Exploring Operation: 9*66=594, Resulting Numbers: [594] 594,75 unequal: No Solution Exploring Operation: 9+66=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[96, 48, 78, 9], Operations: [] Exploring Operation: 78-48=30, Resulting Numbers: [96, 9, 30] Generated Node #0,1: 75:[96, 9, 30] Operation: 78-48=30 Moving to Node #0,1 Current State: 75:[96, 9, 30], Operations: ['78-48=30'] Exploring Operation: 96-30=66, Resulting Numbers: [9, 66] Generated Node #0,1,1: 75:[9, 66] Operation: 96-30=66 Moving to Node #0,1,1 Current State: 75:[9, 66], Operations: ['78-48=30', '96-30=66'] Exploring Operation: 9+66=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_5
sum_heuristic
[ 60, 6, 35, 53 ]
36
[ "60-6=54", "53-35=18", "54-18=36" ]
Current State: 36:[60, 6, 35, 53], Operations: [] Exploring Operation: 60-6=54, Resulting Numbers: [35, 53, 54] Generated Node #2: [35, 53, 54] from Operation: 60-6=54 Current State: 36:[35, 53, 54], Operations: ['60-6=54'] Exploring Operation: 53-35=18, Resulting Numbers: [54, 18] Generated Node #3: [54, 18] from Operation: 53-35=18 Current State: 36:[54, 18], Operations: ['60-6=54', '53-35=18'] Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[60, 6, 35, 53], Operations: [] Exploring Operation: 60/6=10, Resulting Numbers: [35, 53, 10] Generated Node #0,0: 36:[35, 53, 10] Operation: 60/6=10 Exploring Operation: 60-53=7, Resulting Numbers: [6, 35, 7] Generated Node #0,1: 36:[6, 35, 7] Operation: 60-53=7 Exploring Operation: 53-35=18, Resulting Numbers: [60, 6, 18] Generated Node #0,2: 36:[60, 6, 18] Operation: 53-35=18 Exploring Operation: 60-6=54, Resulting Numbers: [35, 53, 54] Generated Node #0,3: 36:[35, 53, 54] Operation: 60-6=54 Exploring Operation: 60-35=25, Resulting Numbers: [6, 53, 25] Generated Node #0,4: 36:[6, 53, 25] Operation: 60-35=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[6, 35, 7], Operations: ['60-53=7'] Exploring Operation: 6+35=41, Resulting Numbers: [7, 41] Generated Node #0,1,0: 36:[7, 41] Operation: 6+35=41 Exploring Operation: 7-6=1, Resulting Numbers: [35, 1] Generated Node #0,1,1: 36:[35, 1] Operation: 7-6=1 Exploring Operation: 6+7=13, Resulting Numbers: [35, 13] Generated Node #0,1,2: 36:[35, 13] Operation: 6+7=13 Exploring Operation: 35/7=5, Resulting Numbers: [6, 5] Generated Node #0,1,3: 36:[6, 5] Operation: 35/7=5 Exploring Operation: 35+7=42, Resulting Numbers: [6, 42] Generated Node #0,1,4: 36:[6, 42] Operation: 35+7=42 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 36:[6, 5], Operations: ['60-53=7', '35/7=5'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,36 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,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,1,1 Current State: 36:[35, 1], Operations: ['60-53=7', '7-6=1'] Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,36 unequal: No Solution Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[60, 6, 35, 53], Operations: [] Exploring Operation: 60-53=7, Resulting Numbers: [6, 35, 7] Generated Node #0,1: 36:[6, 35, 7] Operation: 60-53=7 Moving to Node #0,1 Current State: 36:[6, 35, 7], Operations: ['60-53=7'] Exploring Operation: 7-6=1, Resulting Numbers: [35, 1] Generated Node #0,1,1: 36:[35, 1] Operation: 7-6=1 Moving to Node #0,1,1 Current State: 36:[35, 1], Operations: ['60-53=7', '7-6=1'] Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 87, 14, 2, 70 ]
33
[ "87+14=101", "70-2=68", "101-68=33" ]
Current State: 33:[87, 14, 2, 70], Operations: [] Exploring Operation: 87+14=101, Resulting Numbers: [2, 70, 101] Generated Node #2: [2, 70, 101] from Operation: 87+14=101 Current State: 33:[2, 70, 101], Operations: ['87+14=101'] Exploring Operation: 70-2=68, Resulting Numbers: [101, 68] Generated Node #3: [101, 68] from Operation: 70-2=68 Current State: 33:[101, 68], Operations: ['87+14=101', '70-2=68'] Exploring Operation: 101-68=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[87, 14, 2, 70], Operations: [] Exploring Operation: 87-70=17, Resulting Numbers: [14, 2, 17] Generated Node #0,0: 33:[14, 2, 17] Operation: 87-70=17 Moving to Node #0,0 Current State: 33:[14, 2, 17], Operations: ['87-70=17'] Exploring Operation: 17-14=3, Resulting Numbers: [2, 3] Generated Node #0,0,0: 33:[2, 3] Operation: 17-14=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[2, 3], Operations: ['87-70=17', '17-14=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,33 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
[ 29, 46, 78, 48 ]
47
[ "46-29=17", "78-48=30", "17+30=47" ]
Current State: 47:[29, 46, 78, 48], Operations: [] Exploring Operation: 46-29=17, Resulting Numbers: [78, 48, 17] Generated Node #2: [78, 48, 17] from Operation: 46-29=17 Current State: 47:[78, 48, 17], Operations: ['46-29=17'] Exploring Operation: 78-48=30, Resulting Numbers: [17, 30] Generated Node #3: [17, 30] from Operation: 78-48=30 Current State: 47:[17, 30], Operations: ['46-29=17', '78-48=30'] Exploring Operation: 17+30=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[29, 46, 78, 48], Operations: [] Exploring Operation: 78-29=49, Resulting Numbers: [46, 48, 49] Generated Node #0,0: 47:[46, 48, 49] Operation: 78-29=49 Exploring Operation: 78-46=32, Resulting Numbers: [29, 48, 32] Generated Node #0,1: 47:[29, 48, 32] Operation: 78-46=32 Exploring Operation: 78-48=30, Resulting Numbers: [29, 46, 30] Generated Node #0,2: 47:[29, 46, 30] Operation: 78-48=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[46, 48, 49], Operations: ['78-29=49'] Exploring Operation: 49-46=3, Resulting Numbers: [48, 3] Generated Node #0,0,0: 47:[48, 3] Operation: 49-46=3 Exploring Operation: 48-46=2, Resulting Numbers: [49, 2] Generated Node #0,0,1: 47:[49, 2] Operation: 48-46=2 Exploring Operation: 49-48=1, Resulting Numbers: [46, 1] Generated Node #0,0,2: 47:[46, 1] Operation: 49-48=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[48, 3], Operations: ['78-29=49', '49-46=3'] Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,47 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[49, 2], Operations: ['78-29=49', '48-46=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,47 unequal: No Solution Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,47 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[29, 46, 78, 48], Operations: [] Exploring Operation: 78-29=49, Resulting Numbers: [46, 48, 49] Generated Node #0,0: 47:[46, 48, 49] Operation: 78-29=49 Moving to Node #0,0 Current State: 47:[46, 48, 49], Operations: ['78-29=49'] Exploring Operation: 48-46=2, Resulting Numbers: [49, 2] Generated Node #0,0,1: 47:[49, 2] Operation: 48-46=2 Moving to Node #0,0,1 Current State: 47:[49, 2], Operations: ['78-29=49', '48-46=2'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 11, 36, 66, 13 ]
48
[ "13-11=2", "36/2=18", "66-18=48" ]
Current State: 48:[11, 36, 66, 13], Operations: [] Exploring Operation: 13-11=2, Resulting Numbers: [36, 66, 2] Generated Node #2: [36, 66, 2] from Operation: 13-11=2 Current State: 48:[36, 66, 2], Operations: ['13-11=2'] Exploring Operation: 36/2=18, Resulting Numbers: [66, 18] Generated Node #3: [66, 18] from Operation: 36/2=18 Current State: 48:[66, 18], Operations: ['13-11=2', '36/2=18'] Exploring Operation: 66-18=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[11, 36, 66, 13], Operations: [] Exploring Operation: 66/11=6, Resulting Numbers: [36, 13, 6] Generated Node #0,0: 48:[36, 13, 6] Operation: 66/11=6 Exploring Operation: 66-36=30, Resulting Numbers: [11, 13, 30] Generated Node #0,1: 48:[11, 13, 30] Operation: 66-36=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[11, 13, 30], Operations: ['66-36=30'] Exploring Operation: 30-13=17, Resulting Numbers: [11, 17] Generated Node #0,1,0: 48:[11, 17] Operation: 30-13=17 Exploring Operation: 30-11=19, Resulting Numbers: [13, 19] Generated Node #0,1,1: 48:[13, 19] Operation: 30-11=19 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 48:[11, 17], Operations: ['66-36=30', '30-13=17'] Exploring Operation: 11+17=28, Resulting Numbers: [28] 28,48 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 48:[13, 19], Operations: ['66-36=30', '30-11=19'] Exploring Operation: 13+19=32, Resulting Numbers: [32] 32,48 unequal: No Solution Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[36, 13, 6], Operations: ['66/11=6'] Exploring Operation: 36+13=49, Resulting Numbers: [6, 49] Generated Node #0,0,0: 48:[6, 49] Operation: 36+13=49 Exploring Operation: 36-13=23, Resulting Numbers: [6, 23] Generated Node #0,0,1: 48:[6, 23] Operation: 36-13=23 Moving to Node #0,0,0 Current State: 48:[6, 49], Operations: ['66/11=6', '36+13=49'] Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 6+49=55, Resulting Numbers: [55] 55,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[6, 23], Operations: ['66/11=6', '36-13=23'] Exploring Operation: 6+23=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,48 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
[ 39, 10, 72, 4 ]
67
[ "39+10=49", "72/4=18", "49+18=67" ]
Current State: 67:[39, 10, 72, 4], Operations: [] Exploring Operation: 39+10=49, Resulting Numbers: [72, 4, 49] Generated Node #2: [72, 4, 49] from Operation: 39+10=49 Current State: 67:[72, 4, 49], Operations: ['39+10=49'] Exploring Operation: 72/4=18, Resulting Numbers: [49, 18] Generated Node #3: [49, 18] from Operation: 72/4=18 Current State: 67:[49, 18], Operations: ['39+10=49', '72/4=18'] Exploring Operation: 49+18=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[39, 10, 72, 4], Operations: [] Exploring Operation: 39+4=43, Resulting Numbers: [10, 72, 43] Generated Node #0,0: 67:[10, 72, 43] Operation: 39+4=43 Exploring Operation: 10*4=40, Resulting Numbers: [39, 72, 40] Generated Node #0,1: 67:[39, 72, 40] Operation: 10*4=40 Exploring Operation: 39+10=49, Resulting Numbers: [72, 4, 49] Generated Node #0,2: 67:[72, 4, 49] Operation: 39+10=49 Moving to Node #0,1 Current State: 67:[39, 72, 40], Operations: ['10*4=40'] Exploring Operation: 72-40=32, Resulting Numbers: [39, 32] Generated Node #0,1,0: 67:[39, 32] Operation: 72-40=32 Exploring Operation: 39+40=79, Resulting Numbers: [72, 79] Generated Node #0,1,1: 67:[72, 79] Operation: 39+40=79 Exploring Operation: 72-39=33, Resulting Numbers: [40, 33] Generated Node #0,1,2: 67:[40, 33] Operation: 72-39=33 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 67:[72, 79], Operations: ['10*4=40', '39+40=79'] Exploring Operation: 72*79=5688, Resulting Numbers: [5688] 5688,67 unequal: No Solution Exploring Operation: 79-72=7, Resulting Numbers: [7] 7,67 unequal: No Solution Exploring Operation: 72+79=151, Resulting Numbers: [151] 151,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 67:[40, 33], Operations: ['10*4=40', '72-39=33'] Exploring Operation: 40-33=7, Resulting Numbers: [7] 7,67 unequal: No Solution Exploring Operation: 40+33=73, Resulting Numbers: [73] 73,67 unequal: No Solution Exploring Operation: 40*33=1320, Resulting Numbers: [1320] 1320,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:[39, 32], Operations: ['10*4=40', '72-40=32'] Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,67 unequal: No Solution Exploring Operation: 39*32=1248, Resulting Numbers: [1248] 1248,67 unequal: No Solution Exploring Operation: 39+32=71, Resulting Numbers: [71] 71,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:[10, 72, 43], Operations: ['39+4=43'] Exploring Operation: 10+72=82, Resulting Numbers: [43, 82] Generated Node #0,0,0: 67:[43, 82] Operation: 10+72=82 Exploring Operation: 10+43=53, Resulting Numbers: [72, 53] Generated Node #0,0,1: 67:[72, 53] Operation: 10+43=53 Exploring Operation: 72-10=62, Resulting Numbers: [43, 62] Generated Node #0,0,2: 67:[43, 62] Operation: 72-10=62 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[72, 53], Operations: ['39+4=43', '10+43=53'] Exploring Operation: 72+53=125, Resulting Numbers: [125] 125,67 unequal: No Solution Exploring Operation: 72*53=3816, Resulting Numbers: [3816] 3816,67 unequal: No Solution Exploring Operation: 72-53=19, Resulting Numbers: [19] 19,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 67:[43, 62], Operations: ['39+4=43', '72-10=62'] Exploring Operation: 43+62=105, Resulting Numbers: [105] 105,67 unequal: No Solution Exploring Operation: 62-43=19, Resulting Numbers: [19] 19,67 unequal: No Solution Exploring Operation: 43*62=2666, Resulting Numbers: [2666] 2666,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:[43, 82], Operations: ['39+4=43', '10+72=82'] Exploring Operation: 43+82=125, Resulting Numbers: [125] 125,67 unequal: No Solution Exploring Operation: 82-43=39, Resulting Numbers: [39] 39,67 unequal: No Solution Exploring Operation: 43*82=3526, Resulting Numbers: [3526] 3526,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 67:[72, 4, 49], Operations: ['39+10=49'] Exploring Operation: 72-4=68, Resulting Numbers: [49, 68] Generated Node #0,2,0: 67:[49, 68] Operation: 72-4=68 Exploring Operation: 4+49=53, Resulting Numbers: [72, 53] Generated Node #0,2,1: 67:[72, 53] Operation: 4+49=53 Exploring Operation: 72+4=76, Resulting Numbers: [49, 76] Generated Node #0,2,2: 67:[49, 76] Operation: 72+4=76 Moving to Node #0,2,0 Current State: 67:[49, 68], Operations: ['39+10=49', '72-4=68'] Exploring Operation: 49*68=3332, Resulting Numbers: [3332] 3332,67 unequal: No Solution Exploring Operation: 49+68=117, Resulting Numbers: [117] 117,67 unequal: No Solution Exploring Operation: 68-49=19, Resulting Numbers: [19] 19,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[72, 53], Operations: ['39+10=49', '4+49=53'] Exploring Operation: 72*53=3816, Resulting Numbers: [3816] 3816,67 unequal: No Solution Exploring Operation: 72+53=125, Resulting Numbers: [125] 125,67 unequal: No Solution Exploring Operation: 72-53=19, Resulting Numbers: [19] 19,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[49, 76], Operations: ['39+10=49', '72+4=76'] Exploring Operation: 76-49=27, Resulting Numbers: [27] 27,67 unequal: No Solution Exploring Operation: 49*76=3724, Resulting Numbers: [3724] 3724,67 unequal: No Solution Exploring Operation: 49+76=125, Resulting Numbers: [125] 125,67 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 76, 33, 65, 58 ]
36
[ "76-33=43", "65-58=7", "43-7=36" ]
Current State: 36:[76, 33, 65, 58], Operations: [] Exploring Operation: 76-33=43, Resulting Numbers: [65, 58, 43] Generated Node #2: [65, 58, 43] from Operation: 76-33=43 Current State: 36:[65, 58, 43], Operations: ['76-33=43'] Exploring Operation: 65-58=7, Resulting Numbers: [43, 7] Generated Node #3: [43, 7] from Operation: 65-58=7 Current State: 36:[43, 7], Operations: ['76-33=43', '65-58=7'] Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[76, 33, 65, 58], Operations: [] Exploring Operation: 76-65=11, Resulting Numbers: [33, 58, 11] Generated Node #0,0: 36:[33, 58, 11] Operation: 76-65=11 Exploring Operation: 76-58=18, Resulting Numbers: [33, 65, 18] Generated Node #0,1: 36:[33, 65, 18] Operation: 76-58=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[33, 58, 11], Operations: ['76-65=11'] Exploring Operation: 58-33=25, Resulting Numbers: [11, 25] Generated Node #0,0,0: 36:[11, 25] Operation: 58-33=25 Exploring Operation: 58-11=47, Resulting Numbers: [33, 47] Generated Node #0,0,1: 36:[33, 47] Operation: 58-11=47 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[11, 25], Operations: ['76-65=11', '58-33=25'] Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,36 unequal: No Solution Exploring Operation: 11+25=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[76, 33, 65, 58], Operations: [] Exploring Operation: 76-65=11, Resulting Numbers: [33, 58, 11] Generated Node #0,0: 36:[33, 58, 11] Operation: 76-65=11 Moving to Node #0,0 Current State: 36:[33, 58, 11], Operations: ['76-65=11'] Exploring Operation: 58-33=25, Resulting Numbers: [11, 25] Generated Node #0,0,0: 36:[11, 25] Operation: 58-33=25 Moving to Node #0,0,0 Current State: 36:[11, 25], Operations: ['76-65=11', '58-33=25'] Exploring Operation: 11+25=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 75, 12, 21, 41 ]
78
[ "21*41=861", "75+861=936", "936/12=78" ]
Current State: 78:[75, 12, 21, 41], Operations: [] Exploring Operation: 21*41=861, Resulting Numbers: [75, 12, 861] Generated Node #2: [75, 12, 861] from Operation: 21*41=861 Current State: 78:[75, 12, 861], Operations: ['21*41=861'] Exploring Operation: 75+861=936, Resulting Numbers: [12, 936] Generated Node #3: [12, 936] from Operation: 75+861=936 Current State: 78:[12, 936], Operations: ['21*41=861', '75+861=936'] Exploring Operation: 936/12=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[75, 12, 21, 41], Operations: [] Exploring Operation: 41-21=20, Resulting Numbers: [75, 12, 20] Generated Node #0,0: 78:[75, 12, 20] Operation: 41-21=20 Exploring Operation: 21-12=9, Resulting Numbers: [75, 41, 9] Generated Node #0,1: 78:[75, 41, 9] Operation: 21-12=9 Moving to Node #0,1 Current State: 78:[75, 41, 9], Operations: ['21-12=9'] Exploring Operation: 75-41=34, Resulting Numbers: [9, 34] Generated Node #0,1,0: 78:[9, 34] Operation: 75-41=34 Exploring Operation: 75+9=84, Resulting Numbers: [41, 84] Generated Node #0,1,1: 78:[41, 84] Operation: 75+9=84 Moving to Node #0,0 Current State: 78:[75, 12, 20], Operations: ['41-21=20'] Exploring Operation: 20-12=8, Resulting Numbers: [75, 8] Generated Node #0,0,0: 78:[75, 8] Operation: 20-12=8 Exploring Operation: 12+20=32, Resulting Numbers: [75, 32] Generated Node #0,0,1: 78:[75, 32] Operation: 12+20=32 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[75, 8], Operations: ['41-21=20', '20-12=8'] Exploring Operation: 75-8=67, Resulting Numbers: [67] 67,78 unequal: No Solution Exploring Operation: 75+8=83, Resulting Numbers: [83] 83,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,0,1 Current State: 78:[75, 32], Operations: ['41-21=20', '12+20=32'] Exploring Operation: 75+32=107, Resulting Numbers: [107] 107,78 unequal: No Solution Exploring Operation: 75-32=43, Resulting Numbers: [43] 43,78 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: 78:[9, 34], Operations: ['21-12=9', '75-41=34'] Exploring Operation: 9+34=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[41, 84], Operations: ['21-12=9', '75+9=84'] Exploring Operation: 41+84=125, Resulting Numbers: [125] 125,78 unequal: No Solution Exploring Operation: 84-41=43, Resulting Numbers: [43] 43,78 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 90, 7, 11, 12 ]
87
[ "11-7=4", "12/4=3", "90-3=87" ]
Current State: 87:[90, 7, 11, 12], Operations: [] Exploring Operation: 11-7=4, Resulting Numbers: [90, 12, 4] Generated Node #2: [90, 12, 4] from Operation: 11-7=4 Current State: 87:[90, 12, 4], Operations: ['11-7=4'] Exploring Operation: 12/4=3, Resulting Numbers: [90, 3] Generated Node #3: [90, 3] from Operation: 12/4=3 Current State: 87:[90, 3], Operations: ['11-7=4', '12/4=3'] Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[90, 7, 11, 12], Operations: [] Exploring Operation: 11+12=23, Resulting Numbers: [90, 7, 23] Generated Node #0,0: 87:[90, 7, 23] Operation: 11+12=23 Exploring Operation: 12-7=5, Resulting Numbers: [90, 11, 5] Generated Node #0,1: 87:[90, 11, 5] Operation: 12-7=5 Exploring Operation: 11-7=4, Resulting Numbers: [90, 12, 4] Generated Node #0,2: 87:[90, 12, 4] Operation: 11-7=4 Exploring Operation: 12-11=1, Resulting Numbers: [90, 7, 1] Generated Node #0,3: 87:[90, 7, 1] Operation: 12-11=1 Moving to Node #0,3 Current State: 87:[90, 7, 1], Operations: ['12-11=1'] Exploring Operation: 90*1=90, Resulting Numbers: [7, 90] Generated Node #0,3,0: 87:[7, 90] Operation: 90*1=90 Exploring Operation: 90-1=89, Resulting Numbers: [7, 89] Generated Node #0,3,1: 87:[7, 89] Operation: 90-1=89 Exploring Operation: 90-7=83, Resulting Numbers: [1, 83] Generated Node #0,3,2: 87:[1, 83] Operation: 90-7=83 Exploring Operation: 7-1=6, Resulting Numbers: [90, 6] Generated Node #0,3,3: 87:[90, 6] Operation: 7-1=6 Moving to Node #0,1 Current State: 87:[90, 11, 5], Operations: ['12-7=5'] Exploring Operation: 90+11=101, Resulting Numbers: [5, 101] Generated Node #0,1,0: 87:[5, 101] Operation: 90+11=101 Exploring Operation: 90-11=79, Resulting Numbers: [5, 79] Generated Node #0,1,1: 87:[5, 79] Operation: 90-11=79 Exploring Operation: 11-5=6, Resulting Numbers: [90, 6] Generated Node #0,1,2: 87:[90, 6] Operation: 11-5=6 Exploring Operation: 90-5=85, Resulting Numbers: [11, 85] Generated Node #0,1,3: 87:[11, 85] Operation: 90-5=85 Moving to Node #0,0 Current State: 87:[90, 7, 23], Operations: ['11+12=23'] Exploring Operation: 23-7=16, Resulting Numbers: [90, 16] Generated Node #0,0,0: 87:[90, 16] Operation: 23-7=16 Exploring Operation: 90+7=97, Resulting Numbers: [23, 97] Generated Node #0,0,1: 87:[23, 97] Operation: 90+7=97 Exploring Operation: 7+23=30, Resulting Numbers: [90, 30] Generated Node #0,0,2: 87:[90, 30] Operation: 7+23=30 Exploring Operation: 90-7=83, Resulting Numbers: [23, 83] Generated Node #0,0,3: 87:[23, 83] Operation: 90-7=83 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 87:[90, 30], Operations: ['11+12=23', '7+23=30'] Exploring Operation: 90-30=60, Resulting Numbers: [60] 60,87 unequal: No Solution Exploring Operation: 90/30=3, Resulting Numbers: [3] 3,87 unequal: No Solution Exploring Operation: 90*30=2700, Resulting Numbers: [2700] 2700,87 unequal: No Solution Exploring Operation: 90+30=120, Resulting Numbers: [120] 120,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 87:[23, 83], Operations: ['11+12=23', '90-7=83'] Exploring Operation: 23*83=1909, Resulting Numbers: [1909] 1909,87 unequal: No Solution Exploring Operation: 23+83=106, Resulting Numbers: [106] 106,87 unequal: No Solution Exploring Operation: 83-23=60, Resulting Numbers: [60] 60,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[90, 16], Operations: ['11+12=23', '23-7=16'] Exploring Operation: 90-16=74, Resulting Numbers: [74] 74,87 unequal: No Solution Exploring Operation: 90*16=1440, Resulting Numbers: [1440] 1440,87 unequal: No Solution Exploring Operation: 90+16=106, Resulting Numbers: [106] 106,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 87:[23, 97], Operations: ['11+12=23', '90+7=97'] Exploring Operation: 23+97=120, Resulting Numbers: [120] 120,87 unequal: No Solution Exploring Operation: 23*97=2231, Resulting Numbers: [2231] 2231,87 unequal: No Solution Exploring Operation: 97-23=74, Resulting Numbers: [74] 74,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 87:[90, 12, 4], Operations: ['11-7=4'] Exploring Operation: 90-4=86, Resulting Numbers: [12, 86] Generated Node #0,2,0: 87:[12, 86] Operation: 90-4=86 Exploring Operation: 12-4=8, Resulting Numbers: [90, 8] Generated Node #0,2,1: 87:[90, 8] Operation: 12-4=8 Exploring Operation: 90-12=78, Resulting Numbers: [4, 78] Generated Node #0,2,2: 87:[4, 78] Operation: 90-12=78 Exploring Operation: 12/4=3, Resulting Numbers: [90, 3] Generated Node #0,2,3: 87:[90, 3] Operation: 12/4=3 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 87:[90, 3], Operations: ['11-7=4', '12/4=3'] Exploring Operation: 90*3=270, Resulting Numbers: [270] 270,87 unequal: No Solution Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[90, 7, 11, 12], Operations: [] Exploring Operation: 11-7=4, Resulting Numbers: [90, 12, 4] Generated Node #0,2: 87:[90, 12, 4] Operation: 11-7=4 Moving to Node #0,2 Current State: 87:[90, 12, 4], Operations: ['11-7=4'] Exploring Operation: 12/4=3, Resulting Numbers: [90, 3] Generated Node #0,2,3: 87:[90, 3] Operation: 12/4=3 Moving to Node #0,2,3 Current State: 87:[90, 3], Operations: ['11-7=4', '12/4=3'] Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_4
sum_heuristic
[ 18, 30, 95, 12 ]
71
[ "30-18=12", "95-12=83", "83-12=71" ]
Current State: 71:[18, 30, 95, 12], Operations: [] Exploring Operation: 30-18=12, Resulting Numbers: [95, 12, 12] Generated Node #2: [95, 12, 12] from Operation: 30-18=12 Current State: 71:[95, 12, 12], Operations: ['30-18=12'] Exploring Operation: 95-12=83, Resulting Numbers: [83] 83,71 equal: Goal Reached Exploring Operation: 83-12=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[18, 30, 95, 12], Operations: [] Exploring Operation: 30+12=42, Resulting Numbers: [18, 95, 42] Generated Node #0,0: 71:[18, 95, 42] Operation: 30+12=42 Exploring Operation: 95-12=83, Resulting Numbers: [18, 30, 83] Generated Node #0,1: 71:[18, 30, 83] Operation: 95-12=83 Exploring Operation: 95-18=77, Resulting Numbers: [30, 12, 77] Generated Node #0,2: 71:[30, 12, 77] Operation: 95-18=77 Exploring Operation: 18+12=30, Resulting Numbers: [30, 95, 30] Generated Node #0,3: 71:[30, 95, 30] Operation: 18+12=30 Exploring Operation: 18+30=48, Resulting Numbers: [95, 12, 48] Generated Node #0,4: 71:[95, 12, 48] Operation: 18+30=48 Moving to Node #0,0 Current State: 71:[18, 95, 42], Operations: ['30+12=42'] Exploring Operation: 95-42=53, Resulting Numbers: [18, 53] Generated Node #0,0,0: 71:[18, 53] Operation: 95-42=53 Exploring Operation: 95-18=77, Resulting Numbers: [42, 77] Generated Node #0,0,1: 71:[42, 77] Operation: 95-18=77 Exploring Operation: 18+42=60, Resulting Numbers: [95, 60] Generated Node #0,0,2: 71:[95, 60] Operation: 18+42=60 Exploring Operation: 42-18=24, Resulting Numbers: [95, 24] Generated Node #0,0,3: 71:[95, 24] Operation: 42-18=24 Exploring Operation: 18+95=113, Resulting Numbers: [42, 113] Generated Node #0,0,4: 71:[42, 113] Operation: 18+95=113 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[42, 77], Operations: ['30+12=42', '95-18=77'] Exploring Operation: 42*77=3234, Resulting Numbers: [3234] 3234,71 unequal: No Solution Exploring Operation: 77-42=35, Resulting Numbers: [35] 35,71 unequal: No Solution Exploring Operation: 42+77=119, Resulting Numbers: [119] 119,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 71:[95, 60], Operations: ['30+12=42', '18+42=60'] Exploring Operation: 95-60=35, Resulting Numbers: [35] 35,71 unequal: No Solution Exploring Operation: 95+60=155, Resulting Numbers: [155] 155,71 unequal: No Solution Exploring Operation: 95*60=5700, Resulting Numbers: [5700] 5700,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:[18, 53], Operations: ['30+12=42', '95-42=53'] Exploring Operation: 53-18=35, Resulting Numbers: [35] 35,71 unequal: No Solution Exploring Operation: 18+53=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[18, 30, 95, 12], Operations: [] Exploring Operation: 30+12=42, Resulting Numbers: [18, 95, 42] Generated Node #0,0: 71:[18, 95, 42] Operation: 30+12=42 Moving to Node #0,0 Current State: 71:[18, 95, 42], Operations: ['30+12=42'] Exploring Operation: 95-42=53, Resulting Numbers: [18, 53] Generated Node #0,0,0: 71:[18, 53] Operation: 95-42=53 Moving to Node #0,0,0 Current State: 71:[18, 53], Operations: ['30+12=42', '95-42=53'] Exploring Operation: 18+53=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 43, 4, 3, 18 ]
87
[ "43+4=47", "47-18=29", "3*29=87" ]
Current State: 87:[43, 4, 3, 18], Operations: [] Exploring Operation: 43+4=47, Resulting Numbers: [3, 18, 47] Generated Node #2: [3, 18, 47] from Operation: 43+4=47 Current State: 87:[3, 18, 47], Operations: ['43+4=47'] Exploring Operation: 47-18=29, Resulting Numbers: [3, 29] Generated Node #3: [3, 29] from Operation: 47-18=29 Current State: 87:[3, 29], Operations: ['43+4=47', '47-18=29'] Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[43, 4, 3, 18], Operations: [] Exploring Operation: 43-18=25, Resulting Numbers: [4, 3, 25] Generated Node #0,0: 87:[4, 3, 25] Operation: 43-18=25 Moving to Node #0,0 Current State: 87:[4, 3, 25], Operations: ['43-18=25'] Exploring Operation: 4+25=29, Resulting Numbers: [3, 29] Generated Node #0,0,0: 87:[3, 29] Operation: 4+25=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[3, 29], Operations: ['43-18=25', '4+25=29'] Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[43, 4, 3, 18], Operations: [] Exploring Operation: 43-18=25, Resulting Numbers: [4, 3, 25] Generated Node #0,0: 87:[4, 3, 25] Operation: 43-18=25 Moving to Node #0,0 Current State: 87:[4, 3, 25], Operations: ['43-18=25'] Exploring Operation: 4+25=29, Resulting Numbers: [3, 29] Generated Node #0,0,0: 87:[3, 29] Operation: 4+25=29 Moving to Node #0,0,0 Current State: 87:[3, 29], Operations: ['43-18=25', '4+25=29'] Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 61, 2, 8, 96 ]
18
[ "61*2=122", "8+96=104", "122-104=18" ]
Current State: 18:[61, 2, 8, 96], Operations: [] Exploring Operation: 61*2=122, Resulting Numbers: [8, 96, 122] Generated Node #2: [8, 96, 122] from Operation: 61*2=122 Current State: 18:[8, 96, 122], Operations: ['61*2=122'] Exploring Operation: 8+96=104, Resulting Numbers: [122, 104] Generated Node #3: [122, 104] from Operation: 8+96=104 Current State: 18:[122, 104], Operations: ['61*2=122', '8+96=104'] Exploring Operation: 122-104=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[61, 2, 8, 96], Operations: [] Exploring Operation: 96-61=35, Resulting Numbers: [2, 8, 35] Generated Node #0,0: 18:[2, 8, 35] Operation: 96-61=35 Exploring Operation: 96-8=88, Resulting Numbers: [61, 2, 88] Generated Node #0,1: 18:[61, 2, 88] Operation: 96-8=88 Exploring Operation: 96/8=12, Resulting Numbers: [61, 2, 12] Generated Node #0,2: 18:[61, 2, 12] Operation: 96/8=12 Exploring Operation: 96/2=48, Resulting Numbers: [61, 8, 48] Generated Node #0,3: 18:[61, 8, 48] Operation: 96/2=48 Exploring Operation: 61-8=53, Resulting Numbers: [2, 96, 53] Generated Node #0,4: 18:[2, 96, 53] Operation: 61-8=53 Moving to Node #0,0 Current State: 18:[2, 8, 35], Operations: ['96-61=35'] Exploring Operation: 8/2=4, Resulting Numbers: [35, 4] Generated Node #0,0,0: 18:[35, 4] Operation: 8/2=4 Exploring Operation: 35-2=33, Resulting Numbers: [8, 33] Generated Node #0,0,1: 18:[8, 33] Operation: 35-2=33 Exploring Operation: 35-8=27, Resulting Numbers: [2, 27] Generated Node #0,0,2: 18:[2, 27] Operation: 35-8=27 Exploring Operation: 2+8=10, Resulting Numbers: [35, 10] Generated Node #0,0,3: 18:[35, 10] Operation: 2+8=10 Exploring Operation: 8-2=6, Resulting Numbers: [35, 6] Generated Node #0,0,4: 18:[35, 6] Operation: 8-2=6 Moving to Node #0,2 Current State: 18:[61, 2, 12], Operations: ['96/8=12'] Exploring Operation: 61-2=59, Resulting Numbers: [12, 59] Generated Node #0,2,0: 18:[12, 59] Operation: 61-2=59 Exploring Operation: 2+12=14, Resulting Numbers: [61, 14] Generated Node #0,2,1: 18:[61, 14] Operation: 2+12=14 Exploring Operation: 61-12=49, Resulting Numbers: [2, 49] Generated Node #0,2,2: 18:[2, 49] Operation: 61-12=49 Exploring Operation: 12/2=6, Resulting Numbers: [61, 6] Generated Node #0,2,3: 18:[61, 6] Operation: 12/2=6 Exploring Operation: 12-2=10, Resulting Numbers: [61, 10] Generated Node #0,2,4: 18:[61, 10] Operation: 12-2=10 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 18:[2, 49], Operations: ['96/8=12', '61-12=49'] Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,18 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,18 unequal: No Solution Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 18:[61, 6], Operations: ['96/8=12', '12/2=6'] Exploring Operation: 61+6=67, Resulting Numbers: [67] 67,18 unequal: No Solution Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,18 unequal: No Solution Exploring Operation: 61*6=366, Resulting Numbers: [366] 366,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 18:[12, 59], Operations: ['96/8=12', '61-2=59'] Exploring Operation: 12+59=71, Resulting Numbers: [71] 71,18 unequal: No Solution Exploring Operation: 12*59=708, Resulting Numbers: [708] 708,18 unequal: No Solution Exploring Operation: 59-12=47, Resulting Numbers: [47] 47,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 18:[61, 10], Operations: ['96/8=12', '12-2=10'] Exploring Operation: 61+10=71, Resulting Numbers: [71] 71,18 unequal: No Solution Exploring Operation: 61-10=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 61*10=610, Resulting Numbers: [610] 610,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 18:[61, 14], Operations: ['96/8=12', '2+12=14'] Exploring Operation: 61-14=47, Resulting Numbers: [47] 47,18 unequal: No Solution Exploring Operation: 61+14=75, Resulting Numbers: [75] 75,18 unequal: No Solution Exploring Operation: 61*14=854, Resulting Numbers: [854] 854,18 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: 18:[61, 8, 48], Operations: ['96/2=48'] Exploring Operation: 61-48=13, Resulting Numbers: [8, 13] Generated Node #0,3,0: 18:[8, 13] Operation: 61-48=13 Exploring Operation: 61+8=69, Resulting Numbers: [48, 69] Generated Node #0,3,1: 18:[48, 69] Operation: 61+8=69 Exploring Operation: 48-8=40, Resulting Numbers: [61, 40] Generated Node #0,3,2: 18:[61, 40] Operation: 48-8=40 Exploring Operation: 48/8=6, Resulting Numbers: [61, 6] Generated Node #0,3,3: 18:[61, 6] Operation: 48/8=6 Exploring Operation: 61-8=53, Resulting Numbers: [48, 53] Generated Node #0,3,4: 18:[48, 53] Operation: 61-8=53 Moving to Node #0,1 Current State: 18:[61, 2, 88], Operations: ['96-8=88'] Exploring Operation: 88/2=44, Resulting Numbers: [61, 44] Generated Node #0,1,0: 18:[61, 44] Operation: 88/2=44 Exploring Operation: 88-2=86, Resulting Numbers: [61, 86] Generated Node #0,1,1: 18:[61, 86] Operation: 88-2=86 Exploring Operation: 88-61=27, Resulting Numbers: [2, 27] Generated Node #0,1,2: 18:[2, 27] Operation: 88-61=27 Exploring Operation: 61-2=59, Resulting Numbers: [88, 59] Generated Node #0,1,3: 18:[88, 59] Operation: 61-2=59 Exploring Operation: 61+2=63, Resulting Numbers: [88, 63] Generated Node #0,1,4: 18:[88, 63] Operation: 61+2=63 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 18:[2, 27], Operations: ['96-8=88', '88-61=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,18 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 18:[61, 44], Operations: ['96-8=88', '88/2=44'] Exploring Operation: 61+44=105, Resulting Numbers: [105] 105,18 unequal: No Solution Exploring Operation: 61-44=17, Resulting Numbers: [17] 17,18 unequal: No Solution Exploring Operation: 61*44=2684, Resulting Numbers: [2684] 2684,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 18:[61, 86], Operations: ['96-8=88', '88-2=86'] Exploring Operation: 61+86=147, Resulting Numbers: [147] 147,18 unequal: No Solution Exploring Operation: 86-61=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 61*86=5246, Resulting Numbers: [5246] 5246,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 18:[88, 59], Operations: ['96-8=88', '61-2=59'] Exploring Operation: 88*59=5192, Resulting Numbers: [5192] 5192,18 unequal: No Solution Exploring Operation: 88+59=147, Resulting Numbers: [147] 147,18 unequal: No Solution Exploring Operation: 88-59=29, Resulting Numbers: [29] 29,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 18:[88, 63], Operations: ['96-8=88', '61+2=63'] Exploring Operation: 88-63=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 88*63=5544, Resulting Numbers: [5544] 5544,18 unequal: No Solution Exploring Operation: 88+63=151, Resulting Numbers: [151] 151,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 18:[2, 96, 53], Operations: ['61-8=53'] Exploring Operation: 96/2=48, Resulting Numbers: [53, 48] Generated Node #0,4,0: 18:[53, 48] Operation: 96/2=48 Exploring Operation: 96-2=94, Resulting Numbers: [53, 94] Generated Node #0,4,1: 18:[53, 94] Operation: 96-2=94 Exploring Operation: 53-2=51, Resulting Numbers: [96, 51] Generated Node #0,4,2: 18:[96, 51] Operation: 53-2=51 Exploring Operation: 96-53=43, Resulting Numbers: [2, 43] Generated Node #0,4,3: 18:[2, 43] Operation: 96-53=43 Exploring Operation: 2+96=98, Resulting Numbers: [53, 98] Generated Node #0,4,4: 18:[53, 98] Operation: 2+96=98 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 18:[2, 43], Operations: ['61-8=53', '96-53=43'] Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,18 unequal: No Solution Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,18 unequal: No Solution Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 18:[53, 48], Operations: ['61-8=53', '96/2=48'] Exploring Operation: 53+48=101, Resulting Numbers: [101] 101,18 unequal: No Solution Exploring Operation: 53-48=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 53*48=2544, Resulting Numbers: [2544] 2544,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 18:[53, 94], Operations: ['61-8=53', '96-2=94'] Exploring Operation: 53*94=4982, Resulting Numbers: [4982] 4982,18 unequal: No Solution Exploring Operation: 94-53=41, Resulting Numbers: [41] 41,18 unequal: No Solution Exploring Operation: 53+94=147, Resulting Numbers: [147] 147,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 18:[96, 51], Operations: ['61-8=53', '53-2=51'] Exploring Operation: 96*51=4896, Resulting Numbers: [4896] 4896,18 unequal: No Solution Exploring Operation: 96+51=147, Resulting Numbers: [147] 147,18 unequal: No Solution Exploring Operation: 96-51=45, Resulting Numbers: [45] 45,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 18:[53, 98], Operations: ['61-8=53', '2+96=98'] Exploring Operation: 53+98=151, Resulting Numbers: [151] 151,18 unequal: No Solution Exploring Operation: 98-53=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 53*98=5194, Resulting Numbers: [5194] 5194,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 18:[8, 13], Operations: ['96/2=48', '61-48=13'] Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,18 unequal: No Solution Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,18 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[2, 27], Operations: ['96-61=35', '35-8=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,18 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[8, 33], Operations: ['96-61=35', '35-2=33'] Exploring Operation: 8+33=41, Resulting Numbers: [41] 41,18 unequal: No Solution Exploring Operation: 8*33=264, Resulting Numbers: [264] 264,18 unequal: No Solution Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,18 unequal: No Solution Moving to Node #0,0,4 Current State: 18:[35, 6], Operations: ['96-61=35', '8-2=6'] Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,18 unequal: No Solution Exploring Operation: 35*6=210, Resulting Numbers: [210] 210,18 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,18 unequal: No Solution Moving to Node #0,0,3 Current State: 18:[35, 10], Operations: ['96-61=35', '2+8=10'] Exploring Operation: 35*10=350, Resulting Numbers: [350] 350,18 unequal: No Solution Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[35, 4], Operations: ['96-61=35', '8/2=4'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 35*4=140, Resulting Numbers: [140] 140,18 unequal: No Solution Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,18 unequal: No Solution Moving to Node #0,3,3 Current State: 18:[61, 6], Operations: ['96/2=48', '48/8=6'] Exploring Operation: 61*6=366, Resulting Numbers: [366] 366,18 unequal: No Solution Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,18 unequal: No Solution Exploring Operation: 61+6=67, Resulting Numbers: [67] 67,18 unequal: No Solution Moving to Node #0,3,4 Current State: 18:[48, 53], Operations: ['96/2=48', '61-8=53'] Exploring Operation: 48*53=2544, Resulting Numbers: [2544] 2544,18 unequal: No Solution Exploring Operation: 48+53=101, Resulting Numbers: [101] 101,18 unequal: No Solution Exploring Operation: 53-48=5, Resulting Numbers: [5] 5,18 unequal: No Solution Moving to Node #0,3,2 Current State: 18:[61, 40], Operations: ['96/2=48', '48-8=40'] Exploring Operation: 61+40=101, Resulting Numbers: [101] 101,18 unequal: No Solution Exploring Operation: 61-40=21, Resulting Numbers: [21] 21,18 unequal: No Solution Exploring Operation: 61*40=2440, Resulting Numbers: [2440] 2440,18 unequal: No Solution Moving to Node #0,3,1 Current State: 18:[48, 69], Operations: ['96/2=48', '61+8=69'] Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,18 unequal: No Solution Exploring Operation: 48*69=3312, Resulting Numbers: [3312] 3312,18 unequal: No Solution Exploring Operation: 48+69=117, Resulting Numbers: [117] 117,18 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 71, 23, 68, 45 ]
65
[ "71-23=48", "68+45=113", "113-48=65" ]
Current State: 65:[71, 23, 68, 45], Operations: [] Exploring Operation: 71-23=48, Resulting Numbers: [68, 45, 48] Generated Node #2: [68, 45, 48] from Operation: 71-23=48 Current State: 65:[68, 45, 48], Operations: ['71-23=48'] Exploring Operation: 68+45=113, Resulting Numbers: [48, 113] Generated Node #3: [48, 113] from Operation: 68+45=113 Current State: 65:[48, 113], Operations: ['71-23=48', '68+45=113'] Exploring Operation: 113-48=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[71, 23, 68, 45], Operations: [] Exploring Operation: 71-45=26, Resulting Numbers: [23, 68, 26] Generated Node #0,0: 65:[23, 68, 26] Operation: 71-45=26 Exploring Operation: 45-23=22, Resulting Numbers: [71, 68, 22] Generated Node #0,1: 65:[71, 68, 22] Operation: 45-23=22 Exploring Operation: 23+45=68, Resulting Numbers: [71, 68, 68] Generated Node #0,2: 65:[71, 68, 68] Operation: 23+45=68 Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[71, 68, 68], Operations: ['23+45=68'] Exploring Operation: 71-68=3, Resulting Numbers: [68, 3] Generated Node #0,2,0: 65:[68, 3] Operation: 71-68=3 Exploring Operation: 71-68=3, Resulting Numbers: [68, 3] Generated Node #0,2,1: 65:[68, 3] Operation: 71-68=3 Exploring Operation: 68/68=1, Resulting Numbers: [71, 1] Generated Node #0,2,2: 65:[71, 1] Operation: 68/68=1 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 65:[68, 3], Operations: ['23+45=68', '71-68=3'] Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[71, 23, 68, 45], Operations: [] Exploring Operation: 23+45=68, Resulting Numbers: [71, 68, 68] Generated Node #0,2: 65:[71, 68, 68] Operation: 23+45=68 Moving to Node #0,2 Current State: 65:[71, 68, 68], Operations: ['23+45=68'] Exploring Operation: 71-68=3, Resulting Numbers: [68, 3] Generated Node #0,2,0: 65:[68, 3] Operation: 71-68=3 Moving to Node #0,2,0 Current State: 65:[68, 3], Operations: ['23+45=68', '71-68=3'] Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 20, 24, 12, 2 ]
38
[ "20+24=44", "12/2=6", "44-6=38" ]
Current State: 38:[20, 24, 12, 2], Operations: [] Exploring Operation: 20+24=44, Resulting Numbers: [12, 2, 44] Generated Node #2: [12, 2, 44] from Operation: 20+24=44 Current State: 38:[12, 2, 44], Operations: ['20+24=44'] Exploring Operation: 12/2=6, Resulting Numbers: [44, 6] Generated Node #3: [44, 6] from Operation: 12/2=6 Current State: 38:[44, 6], Operations: ['20+24=44', '12/2=6'] Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[20, 24, 12, 2], Operations: [] Exploring Operation: 12/2=6, Resulting Numbers: [20, 24, 6] Generated Node #0,0: 38:[20, 24, 6] Operation: 12/2=6 Exploring Operation: 24/12=2, Resulting Numbers: [20, 2, 2] Generated Node #0,1: 38:[20, 2, 2] Operation: 24/12=2 Exploring Operation: 24+12=36, Resulting Numbers: [20, 2, 36] Generated Node #0,2: 38:[20, 2, 36] Operation: 24+12=36 Exploring Operation: 24-20=4, Resulting Numbers: [12, 2, 4] Generated Node #0,3: 38:[12, 2, 4] Operation: 24-20=4 Exploring Operation: 24-12=12, Resulting Numbers: [20, 2, 12] Generated Node #0,4: 38:[20, 2, 12] Operation: 24-12=12 Moving to Node #0,1 Current State: 38:[20, 2, 2], Operations: ['24/12=2'] Exploring Operation: 20*2=40, Resulting Numbers: [2, 40] Generated Node #0,1,0: 38:[2, 40] Operation: 20*2=40 Exploring Operation: 20-2=18, Resulting Numbers: [2, 18] Generated Node #0,1,1: 38:[2, 18] Operation: 20-2=18 Exploring Operation: 20*2=40, Resulting Numbers: [2, 40] Generated Node #0,1,2: 38:[2, 40] Operation: 20*2=40 Exploring Operation: 2/2=1, Resulting Numbers: [20, 1] Generated Node #0,1,3: 38:[20, 1] Operation: 2/2=1 Exploring Operation: 20-2=18, Resulting Numbers: [2, 18] Generated Node #0,1,4: 38:[2, 18] Operation: 20-2=18 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 38:[2, 18], Operations: ['24/12=2', '20-2=18'] Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,38 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,38 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 38:[2, 18], Operations: ['24/12=2', '20-2=18'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,38 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,38 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,38 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 38:[2, 40], Operations: ['24/12=2', '20*2=40'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[20, 24, 12, 2], Operations: [] Exploring Operation: 24/12=2, Resulting Numbers: [20, 2, 2] Generated Node #0,1: 38:[20, 2, 2] Operation: 24/12=2 Moving to Node #0,1 Current State: 38:[20, 2, 2], Operations: ['24/12=2'] Exploring Operation: 20*2=40, Resulting Numbers: [2, 40] Generated Node #0,1,0: 38:[2, 40] Operation: 20*2=40 Moving to Node #0,1,0 Current State: 38:[2, 40], Operations: ['24/12=2', '20*2=40'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 70, 20, 88, 56 ]
28
[ "70+20=90", "90-88=2", "56/2=28" ]
Current State: 28:[70, 20, 88, 56], Operations: [] Exploring Operation: 70+20=90, Resulting Numbers: [88, 56, 90] Generated Node #2: [88, 56, 90] from Operation: 70+20=90 Current State: 28:[88, 56, 90], Operations: ['70+20=90'] Exploring Operation: 90-88=2, Resulting Numbers: [56, 2] Generated Node #3: [56, 2] from Operation: 90-88=2 Current State: 28:[56, 2], Operations: ['70+20=90', '90-88=2'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[70, 20, 88, 56], Operations: [] Exploring Operation: 70-56=14, Resulting Numbers: [20, 88, 14] Generated Node #0,0: 28:[20, 88, 14] Operation: 70-56=14 Exploring Operation: 88-56=32, Resulting Numbers: [70, 20, 32] Generated Node #0,1: 28:[70, 20, 32] Operation: 88-56=32 Exploring Operation: 88-70=18, Resulting Numbers: [20, 56, 18] Generated Node #0,2: 28:[20, 56, 18] Operation: 88-70=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[20, 56, 18], Operations: ['88-70=18'] Exploring Operation: 56-20=36, Resulting Numbers: [18, 36] Generated Node #0,2,0: 28:[18, 36] Operation: 56-20=36 Exploring Operation: 56-18=38, Resulting Numbers: [20, 38] Generated Node #0,2,1: 28:[20, 38] Operation: 56-18=38 Exploring Operation: 20-18=2, Resulting Numbers: [56, 2] Generated Node #0,2,2: 28:[56, 2] Operation: 20-18=2 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 28:[18, 36], Operations: ['88-70=18', '56-20=36'] Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 18+36=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,2,1 Current State: 28:[20, 38], Operations: ['88-70=18', '56-18=38'] Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 20*38=760, Resulting Numbers: [760] 760,28 unequal: No Solution Exploring Operation: 20+38=58, Resulting Numbers: [58] 58,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,2,2 Current State: 28:[56, 2], Operations: ['88-70=18', '20-18=2'] Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[70, 20, 88, 56], Operations: [] Exploring Operation: 88-70=18, Resulting Numbers: [20, 56, 18] Generated Node #0,2: 28:[20, 56, 18] Operation: 88-70=18 Moving to Node #0,2 Current State: 28:[20, 56, 18], Operations: ['88-70=18'] Exploring Operation: 20-18=2, Resulting Numbers: [56, 2] Generated Node #0,2,2: 28:[56, 2] Operation: 20-18=2 Moving to Node #0,2,2 Current State: 28:[56, 2], Operations: ['88-70=18', '20-18=2'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 82, 13, 15, 34 ]
76
[ "82+13=95", "34-15=19", "95-19=76" ]
Current State: 76:[82, 13, 15, 34], Operations: [] Exploring Operation: 82+13=95, Resulting Numbers: [15, 34, 95] Generated Node #2: [15, 34, 95] from Operation: 82+13=95 Current State: 76:[15, 34, 95], Operations: ['82+13=95'] Exploring Operation: 34-15=19, Resulting Numbers: [95, 19] Generated Node #3: [95, 19] from Operation: 34-15=19 Current State: 76:[95, 19], Operations: ['82+13=95', '34-15=19'] Exploring Operation: 95-19=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[82, 13, 15, 34], Operations: [] Exploring Operation: 15-13=2, Resulting Numbers: [82, 34, 2] Generated Node #0,0: 76:[82, 34, 2] Operation: 15-13=2 Exploring Operation: 34-13=21, Resulting Numbers: [82, 15, 21] Generated Node #0,1: 76:[82, 15, 21] Operation: 34-13=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[82, 34, 2], Operations: ['15-13=2'] Exploring Operation: 82-2=80, Resulting Numbers: [34, 80] Generated Node #0,0,0: 76:[34, 80] Operation: 82-2=80 Exploring Operation: 82/2=41, Resulting Numbers: [34, 41] Generated Node #0,0,1: 76:[34, 41] Operation: 82/2=41 Moving to Node #0,0,1 Current State: 76:[34, 41], Operations: ['15-13=2', '82/2=41'] Exploring Operation: 34+41=75, Resulting Numbers: [75] 75,76 unequal: No Solution Exploring Operation: 41-34=7, Resulting Numbers: [7] 7,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[34, 80], Operations: ['15-13=2', '82-2=80'] Exploring Operation: 34+80=114, Resulting Numbers: [114] 114,76 unequal: No Solution Exploring Operation: 80-34=46, Resulting Numbers: [46] 46,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[82, 15, 21], Operations: ['34-13=21'] Exploring Operation: 21-15=6, Resulting Numbers: [82, 6] Generated Node #0,1,0: 76:[82, 6] Operation: 21-15=6 Exploring Operation: 15+21=36, Resulting Numbers: [82, 36] Generated Node #0,1,1: 76:[82, 36] Operation: 15+21=36 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 76:[82, 6], Operations: ['34-13=21', '21-15=6'] Exploring Operation: 82-6=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[82, 13, 15, 34], Operations: [] Exploring Operation: 34-13=21, Resulting Numbers: [82, 15, 21] Generated Node #0,1: 76:[82, 15, 21] Operation: 34-13=21 Moving to Node #0,1 Current State: 76:[82, 15, 21], Operations: ['34-13=21'] Exploring Operation: 21-15=6, Resulting Numbers: [82, 6] Generated Node #0,1,0: 76:[82, 6] Operation: 21-15=6 Moving to Node #0,1,0 Current State: 76:[82, 6], Operations: ['34-13=21', '21-15=6'] Exploring Operation: 82-6=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 45, 32, 89, 2 ]
83
[ "45+32=77", "89+77=166", "166/2=83" ]
Current State: 83:[45, 32, 89, 2], Operations: [] Exploring Operation: 45+32=77, Resulting Numbers: [89, 2, 77] Generated Node #2: [89, 2, 77] from Operation: 45+32=77 Current State: 83:[89, 2, 77], Operations: ['45+32=77'] Exploring Operation: 89+77=166, Resulting Numbers: [2, 166] Generated Node #3: [2, 166] from Operation: 89+77=166 Current State: 83:[2, 166], Operations: ['45+32=77', '89+77=166'] Exploring Operation: 166/2=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[45, 32, 89, 2], Operations: [] Exploring Operation: 32*2=64, Resulting Numbers: [45, 89, 64] Generated Node #0,0: 83:[45, 89, 64] Operation: 32*2=64 Moving to Node #0,0 Current State: 83:[45, 89, 64], Operations: ['32*2=64'] Exploring Operation: 45+64=109, Resulting Numbers: [89, 109] Generated Node #0,0,0: 83:[89, 109] Operation: 45+64=109 Moving to Node #0,0,0 Current State: 83:[89, 109], Operations: ['32*2=64', '45+64=109'] Exploring Operation: 109-89=20, Resulting Numbers: [20] 20,83 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 99, 47, 42, 86 ]
89
[ "99+42=141", "141/47=3", "86+3=89" ]
Current State: 89:[99, 47, 42, 86], Operations: [] Exploring Operation: 99+42=141, Resulting Numbers: [47, 86, 141] Generated Node #2: [47, 86, 141] from Operation: 99+42=141 Current State: 89:[47, 86, 141], Operations: ['99+42=141'] Exploring Operation: 141/47=3, Resulting Numbers: [86, 3] Generated Node #3: [86, 3] from Operation: 141/47=3 Current State: 89:[86, 3], Operations: ['99+42=141', '141/47=3'] Exploring Operation: 86+3=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[99, 47, 42, 86], Operations: [] Exploring Operation: 99-47=52, Resulting Numbers: [42, 86, 52] Generated Node #0,0: 89:[42, 86, 52] Operation: 99-47=52 Exploring Operation: 99-42=57, Resulting Numbers: [47, 86, 57] Generated Node #0,1: 89:[47, 86, 57] Operation: 99-42=57 Exploring Operation: 47+42=89, Resulting Numbers: [99, 86, 89] Generated Node #0,2: 89:[99, 86, 89] Operation: 47+42=89 Exploring Operation: 42+86=128, Resulting Numbers: [99, 47, 128] Generated Node #0,3: 89:[99, 47, 128] Operation: 42+86=128 Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[99, 86, 89], Operations: ['47+42=89'] Exploring Operation: 99+86=185, Resulting Numbers: [89, 185] Generated Node #0,2,0: 89:[89, 185] Operation: 99+86=185 Exploring Operation: 86+89=175, Resulting Numbers: [99, 175] Generated Node #0,2,1: 89:[99, 175] Operation: 86+89=175 Exploring Operation: 99-86=13, Resulting Numbers: [89, 13] Generated Node #0,2,2: 89:[89, 13] Operation: 99-86=13 Exploring Operation: 99-89=10, Resulting Numbers: [86, 10] Generated Node #0,2,3: 89:[86, 10] Operation: 99-89=10 Moving to Node #0,2,2 Current State: 89:[89, 13], Operations: ['47+42=89', '99-86=13'] Exploring Operation: 89+13=102, Resulting Numbers: [102] 102,89 unequal: No Solution Exploring Operation: 89*13=1157, Resulting Numbers: [1157] 1157,89 unequal: No Solution Exploring Operation: 89-13=76, Resulting Numbers: [76] 76,89 unequal: No Solution Moving to Node #0,2,3 Current State: 89:[86, 10], Operations: ['47+42=89', '99-89=10'] Exploring Operation: 86+10=96, Resulting Numbers: [96] 96,89 unequal: No Solution Exploring Operation: 86*10=860, Resulting Numbers: [860] 860,89 unequal: No Solution Exploring Operation: 86-10=76, Resulting Numbers: [76] 76,89 unequal: No Solution Moving to Node #0,2,1 Current State: 89:[99, 175], Operations: ['47+42=89', '86+89=175'] Exploring Operation: 175-99=76, Resulting Numbers: [76] 76,89 unequal: No Solution Exploring Operation: 99+175=274, Resulting Numbers: [274] 274,89 unequal: No Solution Exploring Operation: 99*175=17325, Resulting Numbers: [17325] 17325,89 unequal: No Solution Moving to Node #0,2,0 Current State: 89:[89, 185], Operations: ['47+42=89', '99+86=185'] Exploring Operation: 89*185=16465, Resulting Numbers: [16465] 16465,89 unequal: No Solution Exploring Operation: 185-89=96, Resulting Numbers: [96] 96,89 unequal: No Solution Exploring Operation: 89+185=274, Resulting Numbers: [274] 274,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 Current State: 89:[47, 86, 57], Operations: ['99-42=57'] Exploring Operation: 86-47=39, Resulting Numbers: [57, 39] Generated Node #0,1,0: 89:[57, 39] Operation: 86-47=39 Exploring Operation: 47+57=104, Resulting Numbers: [86, 104] Generated Node #0,1,1: 89:[86, 104] Operation: 47+57=104 Exploring Operation: 47+86=133, Resulting Numbers: [57, 133] Generated Node #0,1,2: 89:[57, 133] Operation: 47+86=133 Exploring Operation: 57-47=10, Resulting Numbers: [86, 10] Generated Node #0,1,3: 89:[86, 10] Operation: 57-47=10 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 89:[86, 104], Operations: ['99-42=57', '47+57=104'] Exploring Operation: 86*104=8944, Resulting Numbers: [8944] 8944,89 unequal: No Solution Exploring Operation: 104-86=18, Resulting Numbers: [18] 18,89 unequal: No Solution Exploring Operation: 86+104=190, Resulting Numbers: [190] 190,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 89:[57, 133], Operations: ['99-42=57', '47+86=133'] Exploring Operation: 57+133=190, Resulting Numbers: [190] 190,89 unequal: No Solution Exploring Operation: 57*133=7581, Resulting Numbers: [7581] 7581,89 unequal: No Solution Exploring Operation: 133-57=76, Resulting Numbers: [76] 76,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 89:[57, 39], Operations: ['99-42=57', '86-47=39'] Exploring Operation: 57*39=2223, Resulting Numbers: [2223] 2223,89 unequal: No Solution Exploring Operation: 57-39=18, Resulting Numbers: [18] 18,89 unequal: No Solution Exploring Operation: 57+39=96, Resulting Numbers: [96] 96,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 89:[86, 10], Operations: ['99-42=57', '57-47=10'] Exploring Operation: 86*10=860, Resulting Numbers: [860] 860,89 unequal: No Solution Exploring Operation: 86-10=76, Resulting Numbers: [76] 76,89 unequal: No Solution Exploring Operation: 86+10=96, Resulting Numbers: [96] 96,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[42, 86, 52], Operations: ['99-47=52'] Exploring Operation: 86-42=44, Resulting Numbers: [52, 44] Generated Node #0,0,0: 89:[52, 44] Operation: 86-42=44 Exploring Operation: 52-42=10, Resulting Numbers: [86, 10] Generated Node #0,0,1: 89:[86, 10] Operation: 52-42=10 Exploring Operation: 42+86=128, Resulting Numbers: [52, 128] Generated Node #0,0,2: 89:[52, 128] Operation: 42+86=128 Exploring Operation: 42+52=94, Resulting Numbers: [86, 94] Generated Node #0,0,3: 89:[86, 94] Operation: 42+52=94 Moving to Node #0,0,3 Current State: 89:[86, 94], Operations: ['99-47=52', '42+52=94'] Exploring Operation: 94-86=8, Resulting Numbers: [8] 8,89 unequal: No Solution Exploring Operation: 86*94=8084, Resulting Numbers: [8084] 8084,89 unequal: No Solution Exploring Operation: 86+94=180, Resulting Numbers: [180] 180,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[52, 128], Operations: ['99-47=52', '42+86=128'] Exploring Operation: 52*128=6656, Resulting Numbers: [6656] 6656,89 unequal: No Solution Exploring Operation: 52+128=180, Resulting Numbers: [180] 180,89 unequal: No Solution Exploring Operation: 128-52=76, Resulting Numbers: [76] 76,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[86, 10], Operations: ['99-47=52', '52-42=10'] Exploring Operation: 86-10=76, Resulting Numbers: [76] 76,89 unequal: No Solution Exploring Operation: 86*10=860, Resulting Numbers: [860] 860,89 unequal: No Solution Exploring Operation: 86+10=96, Resulting Numbers: [96] 96,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[52, 44], Operations: ['99-47=52', '86-42=44'] Exploring Operation: 52-44=8, Resulting Numbers: [8] 8,89 unequal: No Solution Exploring Operation: 52*44=2288, Resulting Numbers: [2288] 2288,89 unequal: No Solution Exploring Operation: 52+44=96, Resulting Numbers: [96] 96,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,3 Current State: 89:[99, 47, 128], Operations: ['42+86=128'] Exploring Operation: 99-47=52, Resulting Numbers: [128, 52] Generated Node #0,3,0: 89:[128, 52] Operation: 99-47=52 Exploring Operation: 99+47=146, Resulting Numbers: [128, 146] Generated Node #0,3,1: 89:[128, 146] Operation: 99+47=146 Exploring Operation: 128-47=81, Resulting Numbers: [99, 81] Generated Node #0,3,2: 89:[99, 81] Operation: 128-47=81 Exploring Operation: 47+128=175, Resulting Numbers: [99, 175] Generated Node #0,3,3: 89:[99, 175] Operation: 47+128=175 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 89:[99, 81], Operations: ['42+86=128', '128-47=81'] Exploring Operation: 99*81=8019, Resulting Numbers: [8019] 8019,89 unequal: No Solution Exploring Operation: 99+81=180, Resulting Numbers: [180] 180,89 unequal: No Solution Exploring Operation: 99-81=18, Resulting Numbers: [18] 18,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 89:[128, 52], Operations: ['42+86=128', '99-47=52'] Exploring Operation: 128+52=180, Resulting Numbers: [180] 180,89 unequal: No Solution Exploring Operation: 128*52=6656, Resulting Numbers: [6656] 6656,89 unequal: No Solution Exploring Operation: 128-52=76, Resulting Numbers: [76] 76,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 89:[128, 146], Operations: ['42+86=128', '99+47=146'] Exploring Operation: 128+146=274, Resulting Numbers: [274] 274,89 unequal: No Solution Exploring Operation: 128*146=18688, Resulting Numbers: [18688] 18688,89 unequal: No Solution Exploring Operation: 146-128=18, Resulting Numbers: [18] 18,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 89:[99, 175], Operations: ['42+86=128', '47+128=175'] Exploring Operation: 99*175=17325, Resulting Numbers: [17325] 17325,89 unequal: No Solution Exploring Operation: 99+175=274, Resulting Numbers: [274] 274,89 unequal: No Solution Exploring Operation: 175-99=76, Resulting Numbers: [76] 76,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 48, 37, 3, 96 ]
75
[ "48/3=16", "96-37=59", "16+59=75" ]
Current State: 75:[48, 37, 3, 96], Operations: [] Exploring Operation: 48/3=16, Resulting Numbers: [37, 96, 16] Generated Node #2: [37, 96, 16] from Operation: 48/3=16 Current State: 75:[37, 96, 16], Operations: ['48/3=16'] Exploring Operation: 96-37=59, Resulting Numbers: [16, 59] Generated Node #3: [16, 59] from Operation: 96-37=59 Current State: 75:[16, 59], Operations: ['48/3=16', '96-37=59'] Exploring Operation: 16+59=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[48, 37, 3, 96], Operations: [] Exploring Operation: 48+37=85, Resulting Numbers: [3, 96, 85] Generated Node #0,0: 75:[3, 96, 85] Operation: 48+37=85 Exploring Operation: 48-37=11, Resulting Numbers: [3, 96, 11] Generated Node #0,1: 75:[3, 96, 11] Operation: 48-37=11 Exploring Operation: 96/48=2, Resulting Numbers: [37, 3, 2] Generated Node #0,2: 75:[37, 3, 2] Operation: 96/48=2 Exploring Operation: 48/3=16, Resulting Numbers: [37, 96, 16] Generated Node #0,3: 75:[37, 96, 16] Operation: 48/3=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[37, 3, 2], Operations: ['96/48=2'] Exploring Operation: 37-2=35, Resulting Numbers: [3, 35] Generated Node #0,2,0: 75:[3, 35] Operation: 37-2=35 Exploring Operation: 37-3=34, Resulting Numbers: [2, 34] Generated Node #0,2,1: 75:[2, 34] Operation: 37-3=34 Exploring Operation: 3+2=5, Resulting Numbers: [37, 5] Generated Node #0,2,2: 75:[37, 5] Operation: 3+2=5 Exploring Operation: 37*2=74, Resulting Numbers: [3, 74] Generated Node #0,2,3: 75:[3, 74] Operation: 37*2=74 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 75:[3, 74], Operations: ['96/48=2', '37*2=74'] Exploring Operation: 3*74=222, Resulting Numbers: [222] 222,75 unequal: No Solution Exploring Operation: 3+74=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 75:[3, 35], Operations: ['96/48=2', '37-2=35'] Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,75 unequal: No Solution Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,75 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 75:[2, 34], Operations: ['96/48=2', '37-3=34'] Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,75 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,75 unequal: No Solution Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,75 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 75:[37, 5], Operations: ['96/48=2', '3+2=5'] Exploring Operation: 37*5=185, Resulting Numbers: [185] 185,75 unequal: No Solution Exploring Operation: 37+5=42, Resulting Numbers: [42] 42,75 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[3, 96, 11], Operations: ['48-37=11'] Exploring Operation: 96/3=32, Resulting Numbers: [11, 32] Generated Node #0,1,0: 75:[11, 32] Operation: 96/3=32 Exploring Operation: 3+11=14, Resulting Numbers: [96, 14] Generated Node #0,1,1: 75:[96, 14] Operation: 3+11=14 Exploring Operation: 96-3=93, Resulting Numbers: [11, 93] Generated Node #0,1,2: 75:[11, 93] Operation: 96-3=93 Exploring Operation: 96-11=85, Resulting Numbers: [3, 85] Generated Node #0,1,3: 75:[3, 85] Operation: 96-11=85 Moving to Node #0,1,3 Current State: 75:[3, 85], Operations: ['48-37=11', '96-11=85'] Exploring Operation: 3+85=88, Resulting Numbers: [88] 88,75 unequal: No Solution Exploring Operation: 3*85=255, Resulting Numbers: [255] 255,75 unequal: No Solution Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[11, 32], Operations: ['48-37=11', '96/3=32'] Exploring Operation: 11+32=43, Resulting Numbers: [43] 43,75 unequal: No Solution Exploring Operation: 11*32=352, Resulting Numbers: [352] 352,75 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[11, 93], Operations: ['48-37=11', '96-3=93'] Exploring Operation: 11+93=104, Resulting Numbers: [104] 104,75 unequal: No Solution Exploring Operation: 11*93=1023, Resulting Numbers: [1023] 1023,75 unequal: No Solution Exploring Operation: 93-11=82, Resulting Numbers: [82] 82,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[96, 14], Operations: ['48-37=11', '3+11=14'] Exploring Operation: 96+14=110, Resulting Numbers: [110] 110,75 unequal: No Solution Exploring Operation: 96*14=1344, Resulting Numbers: [1344] 1344,75 unequal: No Solution Exploring Operation: 96-14=82, Resulting Numbers: [82] 82,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[3, 96, 85], Operations: ['48+37=85'] Exploring Operation: 96-3=93, Resulting Numbers: [85, 93] Generated Node #0,0,0: 75:[85, 93] Operation: 96-3=93 Exploring Operation: 85-3=82, Resulting Numbers: [96, 82] Generated Node #0,0,1: 75:[96, 82] Operation: 85-3=82 Exploring Operation: 96/3=32, Resulting Numbers: [85, 32] Generated Node #0,0,2: 75:[85, 32] Operation: 96/3=32 Exploring Operation: 96-85=11, Resulting Numbers: [3, 11] Generated Node #0,0,3: 75:[3, 11] Operation: 96-85=11 Moving to Node #0,0,3 Current State: 75:[3, 11], Operations: ['48+37=85', '96-85=11'] Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,75 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,75 unequal: No Solution Moving to Node #0,0,2 Current State: 75:[85, 32], Operations: ['48+37=85', '96/3=32'] Exploring Operation: 85*32=2720, Resulting Numbers: [2720] 2720,75 unequal: No Solution Exploring Operation: 85-32=53, Resulting Numbers: [53] 53,75 unequal: No Solution Exploring Operation: 85+32=117, Resulting Numbers: [117] 117,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[96, 82], Operations: ['48+37=85', '85-3=82'] Exploring Operation: 96+82=178, Resulting Numbers: [178] 178,75 unequal: No Solution Exploring Operation: 96-82=14, Resulting Numbers: [14] 14,75 unequal: No Solution Exploring Operation: 96*82=7872, Resulting Numbers: [7872] 7872,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[85, 93], Operations: ['48+37=85', '96-3=93'] Exploring Operation: 85*93=7905, Resulting Numbers: [7905] 7905,75 unequal: No Solution Exploring Operation: 85+93=178, Resulting Numbers: [178] 178,75 unequal: No Solution Exploring Operation: 93-85=8, Resulting Numbers: [8] 8,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,3 Current State: 75:[37, 96, 16], Operations: ['48/3=16'] Exploring Operation: 37-16=21, Resulting Numbers: [96, 21] Generated Node #0,3,0: 75:[96, 21] Operation: 37-16=21 Exploring Operation: 96-16=80, Resulting Numbers: [37, 80] Generated Node #0,3,1: 75:[37, 80] Operation: 96-16=80 Exploring Operation: 96-37=59, Resulting Numbers: [16, 59] Generated Node #0,3,2: 75:[16, 59] Operation: 96-37=59 Exploring Operation: 96/16=6, Resulting Numbers: [37, 6] Generated Node #0,3,3: 75:[37, 6] Operation: 96/16=6 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 75:[37, 6], Operations: ['48/3=16', '96/16=6'] Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 37+6=43, Resulting Numbers: [43] 43,75 unequal: No Solution Exploring Operation: 37*6=222, Resulting Numbers: [222] 222,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,3,1 Current State: 75:[37, 80], Operations: ['48/3=16', '96-16=80'] Exploring Operation: 37*80=2960, Resulting Numbers: [2960] 2960,75 unequal: No Solution Exploring Operation: 37+80=117, Resulting Numbers: [117] 117,75 unequal: No Solution Exploring Operation: 80-37=43, Resulting Numbers: [43] 43,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,3,2 Current State: 75:[16, 59], Operations: ['48/3=16', '96-37=59'] Exploring Operation: 16*59=944, Resulting Numbers: [944] 944,75 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,75 unequal: No Solution Exploring Operation: 16+59=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[48, 37, 3, 96], Operations: [] Exploring Operation: 48/3=16, Resulting Numbers: [37, 96, 16] Generated Node #0,3: 75:[37, 96, 16] Operation: 48/3=16 Moving to Node #0,3 Current State: 75:[37, 96, 16], Operations: ['48/3=16'] Exploring Operation: 96-37=59, Resulting Numbers: [16, 59] Generated Node #0,3,2: 75:[16, 59] Operation: 96-37=59 Moving to Node #0,3,2 Current State: 75:[16, 59], Operations: ['48/3=16', '96-37=59'] Exploring Operation: 16+59=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.939236
hs_4
mult_heuristic
[ 23, 97, 25, 21 ]
95
[ "25+21=46", "46/23=2", "97-2=95" ]
Current State: 95:[23, 97, 25, 21], Operations: [] Exploring Operation: 25+21=46, Resulting Numbers: [23, 97, 46] Generated Node #2: [23, 97, 46] from Operation: 25+21=46 Current State: 95:[23, 97, 46], Operations: ['25+21=46'] Exploring Operation: 46/23=2, Resulting Numbers: [97, 2] Generated Node #3: [97, 2] from Operation: 46/23=2 Current State: 95:[97, 2], Operations: ['25+21=46', '46/23=2'] Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[23, 97, 25, 21], Operations: [] Exploring Operation: 25-21=4, Resulting Numbers: [23, 97, 4] Generated Node #0,0: 95:[23, 97, 4] Operation: 25-21=4 Exploring Operation: 25-23=2, Resulting Numbers: [97, 21, 2] Generated Node #0,1: 95:[97, 21, 2] Operation: 25-23=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[23, 97, 4], Operations: ['25-21=4'] Exploring Operation: 23*4=92, Resulting Numbers: [97, 92] Generated Node #0,0,0: 95:[97, 92] Operation: 23*4=92 Exploring Operation: 23-4=19, Resulting Numbers: [97, 19] Generated Node #0,0,1: 95:[97, 19] Operation: 23-4=19 Moving to Node #0,0,1 Current State: 95:[97, 19], Operations: ['25-21=4', '23-4=19'] Exploring Operation: 97+19=116, Resulting Numbers: [116] 116,95 unequal: No Solution Exploring Operation: 97-19=78, Resulting Numbers: [78] 78,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[97, 92], Operations: ['25-21=4', '23*4=92'] Exploring Operation: 97-92=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 97+92=189, Resulting Numbers: [189] 189,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 Current State: 95:[97, 21, 2], Operations: ['25-23=2'] Exploring Operation: 97-2=95, Resulting Numbers: [21, 95] Generated Node #0,1,0: 95:[21, 95] Operation: 97-2=95 Exploring Operation: 21-2=19, Resulting Numbers: [97, 19] Generated Node #0,1,1: 95:[97, 19] Operation: 21-2=19 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 95:[21, 95], Operations: ['25-23=2', '97-2=95'] Exploring Operation: 21+95=116, Resulting Numbers: [116] 116,95 unequal: No Solution Exploring Operation: 95-21=74, Resulting Numbers: [74] 74,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 95:[97, 19], Operations: ['25-23=2', '21-2=19'] Exploring Operation: 97+19=116, Resulting Numbers: [116] 116,95 unequal: No Solution Exploring Operation: 97-19=78, Resulting Numbers: [78] 78,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 60, 72, 55, 13 ]
55
[ "72-60=12", "13-12=1", "55*1=55" ]
Current State: 55:[60, 72, 55, 13], Operations: [] Exploring Operation: 72-60=12, Resulting Numbers: [55, 13, 12] Generated Node #2: [55, 13, 12] from Operation: 72-60=12 Current State: 55:[55, 13, 12], Operations: ['72-60=12'] Exploring Operation: 13-12=1, Resulting Numbers: [55, 1] Generated Node #3: [55, 1] from Operation: 13-12=1 Current State: 55:[55, 1], Operations: ['72-60=12', '13-12=1'] Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[60, 72, 55, 13], Operations: [] Exploring Operation: 72-13=59, Resulting Numbers: [60, 55, 59] Generated Node #0,0: 55:[60, 55, 59] Operation: 72-13=59 Exploring Operation: 72-60=12, Resulting Numbers: [55, 13, 12] Generated Node #0,1: 55:[55, 13, 12] Operation: 72-60=12 Moving to Node #0,1 Current State: 55:[55, 13, 12], Operations: ['72-60=12'] Exploring Operation: 13-12=1, Resulting Numbers: [55, 1] Generated Node #0,1,0: 55:[55, 1] Operation: 13-12=1 Exploring Operation: 55+13=68, Resulting Numbers: [12, 68] Generated Node #0,1,1: 55:[12, 68] Operation: 55+13=68 Moving to Node #0,0 Current State: 55:[60, 55, 59], Operations: ['72-13=59'] Exploring Operation: 60-59=1, Resulting Numbers: [55, 1] Generated Node #0,0,0: 55:[55, 1] Operation: 60-59=1 Exploring Operation: 60-55=5, Resulting Numbers: [59, 5] Generated Node #0,0,1: 55:[59, 5] Operation: 60-55=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[55, 1], Operations: ['72-13=59', '60-59=1'] Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[60, 72, 55, 13], Operations: [] Exploring Operation: 72-13=59, Resulting Numbers: [60, 55, 59] Generated Node #0,0: 55:[60, 55, 59] Operation: 72-13=59 Moving to Node #0,0 Current State: 55:[60, 55, 59], Operations: ['72-13=59'] Exploring Operation: 60-59=1, Resulting Numbers: [55, 1] Generated Node #0,0,0: 55:[55, 1] Operation: 60-59=1 Moving to Node #0,0,0 Current State: 55:[55, 1], Operations: ['72-13=59', '60-59=1'] Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 39, 30, 27, 44 ]
80
[ "39-30=9", "27+44=71", "9+71=80" ]
Current State: 80:[39, 30, 27, 44], Operations: [] Exploring Operation: 39-30=9, Resulting Numbers: [27, 44, 9] Generated Node #2: [27, 44, 9] from Operation: 39-30=9 Current State: 80:[27, 44, 9], Operations: ['39-30=9'] Exploring Operation: 27+44=71, Resulting Numbers: [9, 71] Generated Node #3: [9, 71] from Operation: 27+44=71 Current State: 80:[9, 71], Operations: ['39-30=9', '27+44=71'] Exploring Operation: 9+71=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[39, 30, 27, 44], Operations: [] Exploring Operation: 39-30=9, Resulting Numbers: [27, 44, 9] Generated Node #0,0: 80:[27, 44, 9] Operation: 39-30=9 Exploring Operation: 44-30=14, Resulting Numbers: [39, 27, 14] Generated Node #0,1: 80:[39, 27, 14] Operation: 44-30=14 Exploring Operation: 30-27=3, Resulting Numbers: [39, 44, 3] Generated Node #0,2: 80:[39, 44, 3] Operation: 30-27=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[39, 44, 3], Operations: ['30-27=3'] Exploring Operation: 44-3=41, Resulting Numbers: [39, 41] Generated Node #0,2,0: 80:[39, 41] Operation: 44-3=41 Exploring Operation: 44-39=5, Resulting Numbers: [3, 5] Generated Node #0,2,1: 80:[3, 5] Operation: 44-39=5 Exploring Operation: 39+44=83, Resulting Numbers: [3, 83] Generated Node #0,2,2: 80:[3, 83] Operation: 39+44=83 Moving to Node #0,2,1 Current State: 80:[3, 5], Operations: ['30-27=3', '44-39=5'] Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,80 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,80 unequal: No Solution Moving to Node #0,2,0 Current State: 80:[39, 41], Operations: ['30-27=3', '44-3=41'] Exploring Operation: 39*41=1599, Resulting Numbers: [1599] 1599,80 unequal: No Solution Exploring Operation: 39+41=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[39, 30, 27, 44], Operations: [] Exploring Operation: 30-27=3, Resulting Numbers: [39, 44, 3] Generated Node #0,2: 80:[39, 44, 3] Operation: 30-27=3 Moving to Node #0,2 Current State: 80:[39, 44, 3], Operations: ['30-27=3'] Exploring Operation: 44-3=41, Resulting Numbers: [39, 41] Generated Node #0,2,0: 80:[39, 41] Operation: 44-3=41 Moving to Node #0,2,0 Current State: 80:[39, 41], Operations: ['30-27=3', '44-3=41'] Exploring Operation: 39+41=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 20, 24, 56, 36 ]
88
[ "24-20=4", "56+36=92", "92-4=88" ]
Current State: 88:[20, 24, 56, 36], Operations: [] Exploring Operation: 24-20=4, Resulting Numbers: [56, 36, 4] Generated Node #2: [56, 36, 4] from Operation: 24-20=4 Current State: 88:[56, 36, 4], Operations: ['24-20=4'] Exploring Operation: 56+36=92, Resulting Numbers: [4, 92] Generated Node #3: [4, 92] from Operation: 56+36=92 Current State: 88:[4, 92], Operations: ['24-20=4', '56+36=92'] Exploring Operation: 92-4=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[20, 24, 56, 36], Operations: [] Exploring Operation: 56-36=20, Resulting Numbers: [20, 24, 20] Generated Node #0,0: 88:[20, 24, 20] Operation: 56-36=20 Exploring Operation: 56+36=92, Resulting Numbers: [20, 24, 92] Generated Node #0,1: 88:[20, 24, 92] Operation: 56+36=92 Exploring Operation: 36-24=12, Resulting Numbers: [20, 56, 12] Generated Node #0,2: 88:[20, 56, 12] Operation: 36-24=12 Exploring Operation: 24+56=80, Resulting Numbers: [20, 36, 80] Generated Node #0,3: 88:[20, 36, 80] Operation: 24+56=80 Exploring Operation: 56-20=36, Resulting Numbers: [24, 36, 36] Generated Node #0,4: 88:[24, 36, 36] Operation: 56-20=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[20, 24, 20], Operations: ['56-36=20'] Exploring Operation: 24-20=4, Resulting Numbers: [20, 4] Generated Node #0,0,0: 88:[20, 4] Operation: 24-20=4 Exploring Operation: 24+20=44, Resulting Numbers: [20, 44] Generated Node #0,0,1: 88:[20, 44] Operation: 24+20=44 Exploring Operation: 24-20=4, Resulting Numbers: [20, 4] Generated Node #0,0,2: 88:[20, 4] Operation: 24-20=4 Exploring Operation: 20/20=1, Resulting Numbers: [24, 1] Generated Node #0,0,3: 88:[24, 1] Operation: 20/20=1 Exploring Operation: 20+24=44, Resulting Numbers: [20, 44] Generated Node #0,0,4: 88:[20, 44] Operation: 20+24=44 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[20, 4], Operations: ['56-36=20', '24-20=4'] Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,88 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,88 unequal: No Solution Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,88 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,88 unequal: No Solution No 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: 88:[20, 44], Operations: ['56-36=20', '24+20=44'] Exploring Operation: 20+44=64, Resulting Numbers: [64] 64,88 unequal: No Solution Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,88 unequal: No Solution Exploring Operation: 20*44=880, Resulting Numbers: [880] 880,88 unequal: No Solution No 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: 88:[20, 4], Operations: ['56-36=20', '24-20=4'] Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,88 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,88 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,88 unequal: No Solution Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,88 unequal: No Solution No 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: 88:[20, 44], Operations: ['56-36=20', '20+24=44'] Exploring Operation: 20*44=880, Resulting Numbers: [880] 880,88 unequal: No Solution Exploring Operation: 20+44=64, Resulting Numbers: [64] 64,88 unequal: No Solution Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,88 unequal: No Solution No 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: 88:[24, 1], Operations: ['56-36=20', '20/20=1'] Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,88 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,88 unequal: No Solution Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[20, 24, 92], Operations: ['56+36=92'] Exploring Operation: 24-20=4, Resulting Numbers: [92, 4] Generated Node #0,1,0: 88:[92, 4] Operation: 24-20=4 Exploring Operation: 92-20=72, Resulting Numbers: [24, 72] Generated Node #0,1,1: 88:[24, 72] Operation: 92-20=72 Exploring Operation: 92-24=68, Resulting Numbers: [20, 68] Generated Node #0,1,2: 88:[20, 68] Operation: 92-24=68 Exploring Operation: 20+24=44, Resulting Numbers: [92, 44] Generated Node #0,1,3: 88:[92, 44] Operation: 20+24=44 Exploring Operation: 20+92=112, Resulting Numbers: [24, 112] Generated Node #0,1,4: 88:[24, 112] Operation: 20+92=112 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 88:[92, 4], Operations: ['56+36=92', '24-20=4'] Exploring Operation: 92+4=96, Resulting Numbers: [96] 96,88 unequal: No Solution Exploring Operation: 92/4=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 92-4=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[20, 24, 56, 36], Operations: [] Exploring Operation: 56+36=92, Resulting Numbers: [20, 24, 92] Generated Node #0,1: 88:[20, 24, 92] Operation: 56+36=92 Moving to Node #0,1 Current State: 88:[20, 24, 92], Operations: ['56+36=92'] Exploring Operation: 24-20=4, Resulting Numbers: [92, 4] Generated Node #0,1,0: 88:[92, 4] Operation: 24-20=4 Moving to Node #0,1,0 Current State: 88:[92, 4], Operations: ['56+36=92', '24-20=4'] Exploring Operation: 92-4=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.965278
hs_5
mult_heuristic
[ 14, 8, 2, 19 ]
62
[ "8/2=4", "19*4=76", "76-14=62" ]
Current State: 62:[14, 8, 2, 19], Operations: [] Exploring Operation: 8/2=4, Resulting Numbers: [14, 19, 4] Generated Node #2: [14, 19, 4] from Operation: 8/2=4 Current State: 62:[14, 19, 4], Operations: ['8/2=4'] Exploring Operation: 19*4=76, Resulting Numbers: [14, 76] Generated Node #3: [14, 76] from Operation: 19*4=76 Current State: 62:[14, 76], Operations: ['8/2=4', '19*4=76'] Exploring Operation: 76-14=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[14, 8, 2, 19], Operations: [] Exploring Operation: 14+19=33, Resulting Numbers: [8, 2, 33] Generated Node #0,0: 62:[8, 2, 33] Operation: 14+19=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[8, 2, 33], Operations: ['14+19=33'] Exploring Operation: 8/2=4, Resulting Numbers: [33, 4] Generated Node #0,0,0: 62:[33, 4] Operation: 8/2=4 Moving to Node #0,0,0 Current State: 62:[33, 4], Operations: ['14+19=33', '8/2=4'] Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,62 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
[ 45, 4, 95, 60 ]
100
[ "45+95=140", "4*60=240", "240-140=100" ]
Current State: 100:[45, 4, 95, 60], Operations: [] Exploring Operation: 45+95=140, Resulting Numbers: [4, 60, 140] Generated Node #2: [4, 60, 140] from Operation: 45+95=140 Current State: 100:[4, 60, 140], Operations: ['45+95=140'] Exploring Operation: 4*60=240, Resulting Numbers: [140, 240] Generated Node #3: [140, 240] from Operation: 4*60=240 Current State: 100:[140, 240], Operations: ['45+95=140', '4*60=240'] Exploring Operation: 240-140=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[45, 4, 95, 60], Operations: [] Exploring Operation: 95-45=50, Resulting Numbers: [4, 60, 50] Generated Node #0,0: 100:[4, 60, 50] Operation: 95-45=50 Moving to Node #0,0 Current State: 100:[4, 60, 50], Operations: ['95-45=50'] Exploring Operation: 60-50=10, Resulting Numbers: [4, 10] Generated Node #0,0,0: 100:[4, 10] Operation: 60-50=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[4, 10], Operations: ['95-45=50', '60-50=10'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,100 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
[ 32, 95, 57, 99 ]
71
[ "99-95=4", "32*4=128", "128-57=71" ]
Current State: 71:[32, 95, 57, 99], Operations: [] Exploring Operation: 99-95=4, Resulting Numbers: [32, 57, 4] Generated Node #2: [32, 57, 4] from Operation: 99-95=4 Current State: 71:[32, 57, 4], Operations: ['99-95=4'] Exploring Operation: 32*4=128, Resulting Numbers: [57, 128] Generated Node #3: [57, 128] from Operation: 32*4=128 Current State: 71:[57, 128], Operations: ['99-95=4', '32*4=128'] Exploring Operation: 128-57=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[32, 95, 57, 99], Operations: [] Exploring Operation: 99-32=67, Resulting Numbers: [95, 57, 67] Generated Node #0,0: 71:[95, 57, 67] Operation: 99-32=67 Exploring Operation: 95-32=63, Resulting Numbers: [57, 99, 63] Generated Node #0,1: 71:[57, 99, 63] Operation: 95-32=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[95, 57, 67], Operations: ['99-32=67'] Exploring Operation: 95-67=28, Resulting Numbers: [57, 28] Generated Node #0,0,0: 71:[57, 28] Operation: 95-67=28 Exploring Operation: 95-57=38, Resulting Numbers: [67, 38] Generated Node #0,0,1: 71:[67, 38] Operation: 95-57=38 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 71:[67, 38], Operations: ['99-32=67', '95-57=38'] Exploring Operation: 67+38=105, Resulting Numbers: [105] 105,71 unequal: No Solution Exploring Operation: 67-38=29, Resulting Numbers: [29] 29,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[57, 28], Operations: ['99-32=67', '95-67=28'] Exploring Operation: 57-28=29, Resulting Numbers: [29] 29,71 unequal: No Solution Exploring Operation: 57+28=85, Resulting Numbers: [85] 85,71 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: 71:[57, 99, 63], Operations: ['95-32=63'] Exploring Operation: 99-57=42, Resulting Numbers: [63, 42] Generated Node #0,1,0: 71:[63, 42] Operation: 99-57=42 Exploring Operation: 99-63=36, Resulting Numbers: [57, 36] Generated Node #0,1,1: 71:[57, 36] Operation: 99-63=36 Moving to Node #0,1,0 Current State: 71:[63, 42], Operations: ['95-32=63', '99-57=42'] Exploring Operation: 63-42=21, Resulting Numbers: [21] 21,71 unequal: No Solution Exploring Operation: 63+42=105, Resulting Numbers: [105] 105,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[57, 36], Operations: ['95-32=63', '99-63=36'] Exploring Operation: 57+36=93, Resulting Numbers: [93] 93,71 unequal: No Solution Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,71 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
[ 2, 17, 72, 62 ]
24
[ "2*17=34", "72-62=10", "34-10=24" ]
Current State: 24:[2, 17, 72, 62], Operations: [] Exploring Operation: 2*17=34, Resulting Numbers: [72, 62, 34] Generated Node #2: [72, 62, 34] from Operation: 2*17=34 Current State: 24:[72, 62, 34], Operations: ['2*17=34'] Exploring Operation: 72-62=10, Resulting Numbers: [34, 10] Generated Node #3: [34, 10] from Operation: 72-62=10 Current State: 24:[34, 10], Operations: ['2*17=34', '72-62=10'] Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[2, 17, 72, 62], Operations: [] Exploring Operation: 62/2=31, Resulting Numbers: [17, 72, 31] Generated Node #0,0: 24:[17, 72, 31] Operation: 62/2=31 Exploring Operation: 72-62=10, Resulting Numbers: [2, 17, 10] Generated Node #0,1: 24:[2, 17, 10] Operation: 72-62=10 Exploring Operation: 72/2=36, Resulting Numbers: [17, 62, 36] Generated Node #0,2: 24:[17, 62, 36] Operation: 72/2=36 Exploring Operation: 72-17=55, Resulting Numbers: [2, 62, 55] Generated Node #0,3: 24:[2, 62, 55] Operation: 72-17=55 Moving to Node #0,1 Current State: 24:[2, 17, 10], Operations: ['72-62=10'] Exploring Operation: 17-10=7, Resulting Numbers: [2, 7] Generated Node #0,1,0: 24:[2, 7] Operation: 17-10=7 Exploring Operation: 17+10=27, Resulting Numbers: [2, 27] Generated Node #0,1,1: 24:[2, 27] Operation: 17+10=27 Exploring Operation: 17-2=15, Resulting Numbers: [10, 15] Generated Node #0,1,2: 24:[10, 15] Operation: 17-2=15 Exploring Operation: 2+10=12, Resulting Numbers: [17, 12] Generated Node #0,1,3: 24:[17, 12] Operation: 2+10=12 Moving to Node #0,2 Current State: 24:[17, 62, 36], Operations: ['72/2=36'] Exploring Operation: 62-17=45, Resulting Numbers: [36, 45] Generated Node #0,2,0: 24:[36, 45] Operation: 62-17=45 Exploring Operation: 17+62=79, Resulting Numbers: [36, 79] Generated Node #0,2,1: 24:[36, 79] Operation: 17+62=79 Exploring Operation: 62-36=26, Resulting Numbers: [17, 26] Generated Node #0,2,2: 24:[17, 26] Operation: 62-36=26 Exploring Operation: 36-17=19, Resulting Numbers: [62, 19] Generated Node #0,2,3: 24:[62, 19] Operation: 36-17=19 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 24:[17, 26], Operations: ['72/2=36', '62-36=26'] Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,24 unequal: No Solution Exploring Operation: 17+26=43, Resulting Numbers: [43] 43,24 unequal: No Solution Exploring Operation: 17*26=442, Resulting Numbers: [442] 442,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 24:[36, 45], Operations: ['72/2=36', '62-17=45'] Exploring Operation: 36+45=81, Resulting Numbers: [81] 81,24 unequal: No Solution Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,24 unequal: No Solution Exploring Operation: 36*45=1620, Resulting Numbers: [1620] 1620,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 24:[62, 19], Operations: ['72/2=36', '36-17=19'] Exploring Operation: 62-19=43, Resulting Numbers: [43] 43,24 unequal: No Solution Exploring Operation: 62+19=81, Resulting Numbers: [81] 81,24 unequal: No Solution Exploring Operation: 62*19=1178, Resulting Numbers: [1178] 1178,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 24:[36, 79], Operations: ['72/2=36', '17+62=79'] Exploring Operation: 36*79=2844, Resulting Numbers: [2844] 2844,24 unequal: No Solution Exploring Operation: 79-36=43, Resulting Numbers: [43] 43,24 unequal: No Solution Exploring Operation: 36+79=115, Resulting Numbers: [115] 115,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 24:[17, 72, 31], Operations: ['62/2=31'] Exploring Operation: 72-17=55, Resulting Numbers: [31, 55] Generated Node #0,0,0: 24:[31, 55] Operation: 72-17=55 Exploring Operation: 31-17=14, Resulting Numbers: [72, 14] Generated Node #0,0,1: 24:[72, 14] Operation: 31-17=14 Exploring Operation: 17+72=89, Resulting Numbers: [31, 89] Generated Node #0,0,2: 24:[31, 89] Operation: 17+72=89 Exploring Operation: 72-31=41, Resulting Numbers: [17, 41] Generated Node #0,0,3: 24:[17, 41] Operation: 72-31=41 Moving to Node #0,3 Current State: 24:[2, 62, 55], Operations: ['72-17=55'] Exploring Operation: 55-2=53, Resulting Numbers: [62, 53] Generated Node #0,3,0: 24:[62, 53] Operation: 55-2=53 Exploring Operation: 62-2=60, Resulting Numbers: [55, 60] Generated Node #0,3,1: 24:[55, 60] Operation: 62-2=60 Exploring Operation: 62-55=7, Resulting Numbers: [2, 7] Generated Node #0,3,2: 24:[2, 7] Operation: 62-55=7 Exploring Operation: 62/2=31, Resulting Numbers: [55, 31] Generated Node #0,3,3: 24:[55, 31] Operation: 62/2=31 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 24:[2, 7], Operations: ['72-17=55', '62-55=7'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,24 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 24:[55, 31], Operations: ['72-17=55', '62/2=31'] Exploring Operation: 55*31=1705, Resulting Numbers: [1705] 1705,24 unequal: No Solution Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[2, 17, 72, 62], Operations: [] Exploring Operation: 72-17=55, Resulting Numbers: [2, 62, 55] Generated Node #0,3: 24:[2, 62, 55] Operation: 72-17=55 Moving to Node #0,3 Current State: 24:[2, 62, 55], Operations: ['72-17=55'] Exploring Operation: 62/2=31, Resulting Numbers: [55, 31] Generated Node #0,3,3: 24:[55, 31] Operation: 62/2=31 Moving to Node #0,3,3 Current State: 24:[55, 31], Operations: ['72-17=55', '62/2=31'] Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_4
sum_heuristic
[ 23, 19, 94, 73 ]
63
[ "23+19=42", "94-73=21", "42+21=63" ]
Current State: 63:[23, 19, 94, 73], Operations: [] Exploring Operation: 23+19=42, Resulting Numbers: [94, 73, 42] Generated Node #2: [94, 73, 42] from Operation: 23+19=42 Current State: 63:[94, 73, 42], Operations: ['23+19=42'] Exploring Operation: 94-73=21, Resulting Numbers: [42, 21] Generated Node #3: [42, 21] from Operation: 94-73=21 Current State: 63:[42, 21], Operations: ['23+19=42', '94-73=21'] Exploring Operation: 42+21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[23, 19, 94, 73], Operations: [] Exploring Operation: 94-19=75, Resulting Numbers: [23, 73, 75] Generated Node #0,0: 63:[23, 73, 75] Operation: 94-19=75 Exploring Operation: 94-23=71, Resulting Numbers: [19, 73, 71] Generated Node #0,1: 63:[19, 73, 71] Operation: 94-23=71 Exploring Operation: 23-19=4, Resulting Numbers: [94, 73, 4] Generated Node #0,2: 63:[94, 73, 4] Operation: 23-19=4 Exploring Operation: 73-19=54, Resulting Numbers: [23, 94, 54] Generated Node #0,3: 63:[23, 94, 54] Operation: 73-19=54 Exploring Operation: 94-73=21, Resulting Numbers: [23, 19, 21] Generated Node #0,4: 63:[23, 19, 21] Operation: 94-73=21 Start Sub Search at level 1: Moving to Node #0,4 Current State: 63:[23, 19, 21], Operations: ['94-73=21'] Exploring Operation: 23-21=2, Resulting Numbers: [19, 2] Generated Node #0,4,0: 63:[19, 2] Operation: 23-21=2 Exploring Operation: 23+19=42, Resulting Numbers: [21, 42] Generated Node #0,4,1: 63:[21, 42] Operation: 23+19=42 Exploring Operation: 23+21=44, Resulting Numbers: [19, 44] Generated Node #0,4,2: 63:[19, 44] Operation: 23+21=44 Exploring Operation: 21-19=2, Resulting Numbers: [23, 2] Generated Node #0,4,3: 63:[23, 2] Operation: 21-19=2 Exploring Operation: 23-19=4, Resulting Numbers: [21, 4] Generated Node #0,4,4: 63:[21, 4] Operation: 23-19=4 Moving to Node #0,4,4 Current State: 63:[21, 4], Operations: ['94-73=21', '23-19=4'] Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,63 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,63 unequal: No Solution Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,63 unequal: No Solution Moving to Node #0,4,3 Current State: 63:[23, 2], Operations: ['94-73=21', '21-19=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,63 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,63 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,63 unequal: No Solution Moving to Node #0,4,0 Current State: 63:[19, 2], Operations: ['94-73=21', '23-21=2'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,63 unequal: No Solution Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,63 unequal: No Solution Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,63 unequal: No Solution Moving to Node #0,4,1 Current State: 63:[21, 42], Operations: ['94-73=21', '23+19=42'] Exploring Operation: 21*42=882, Resulting Numbers: [882] 882,63 unequal: No Solution Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,63 unequal: No Solution Exploring Operation: 21+42=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[23, 19, 94, 73], Operations: [] Exploring Operation: 94-73=21, Resulting Numbers: [23, 19, 21] Generated Node #0,4: 63:[23, 19, 21] Operation: 94-73=21 Moving to Node #0,4 Current State: 63:[23, 19, 21], Operations: ['94-73=21'] Exploring Operation: 23+19=42, Resulting Numbers: [21, 42] Generated Node #0,4,1: 63:[21, 42] Operation: 23+19=42 Moving to Node #0,4,1 Current State: 63:[21, 42], Operations: ['94-73=21', '23+19=42'] Exploring Operation: 21+42=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
sum_heuristic
[ 59, 89, 56, 15 ]
84
[ "59-56=3", "15/3=5", "89-5=84" ]
Current State: 84:[59, 89, 56, 15], Operations: [] Exploring Operation: 59-56=3, Resulting Numbers: [89, 15, 3] Generated Node #2: [89, 15, 3] from Operation: 59-56=3 Current State: 84:[89, 15, 3], Operations: ['59-56=3'] Exploring Operation: 15/3=5, Resulting Numbers: [89, 5] Generated Node #3: [89, 5] from Operation: 15/3=5 Current State: 84:[89, 5], Operations: ['59-56=3', '15/3=5'] Exploring Operation: 89-5=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[59, 89, 56, 15], Operations: [] Exploring Operation: 89-59=30, Resulting Numbers: [56, 15, 30] Generated Node #0,0: 84:[56, 15, 30] Operation: 89-59=30 Exploring Operation: 59-56=3, Resulting Numbers: [89, 15, 3] Generated Node #0,1: 84:[89, 15, 3] Operation: 59-56=3 Exploring Operation: 59-15=44, Resulting Numbers: [89, 56, 44] Generated Node #0,2: 84:[89, 56, 44] Operation: 59-15=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[89, 15, 3], Operations: ['59-56=3'] Exploring Operation: 89-3=86, Resulting Numbers: [15, 86] Generated Node #0,1,0: 84:[15, 86] Operation: 89-3=86 Exploring Operation: 15-3=12, Resulting Numbers: [89, 12] Generated Node #0,1,1: 84:[89, 12] Operation: 15-3=12 Exploring Operation: 15/3=5, Resulting Numbers: [89, 5] Generated Node #0,1,2: 84:[89, 5] Operation: 15/3=5 Moving to Node #0,1,0 Current State: 84:[15, 86], Operations: ['59-56=3', '89-3=86'] Exploring Operation: 15*86=1290, Resulting Numbers: [1290] 1290,84 unequal: No Solution Exploring Operation: 86-15=71, Resulting Numbers: [71] 71,84 unequal: No Solution Exploring Operation: 15+86=101, Resulting Numbers: [101] 101,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[89, 12], Operations: ['59-56=3', '15-3=12'] Exploring Operation: 89-12=77, Resulting Numbers: [77] 77,84 unequal: No Solution Exploring Operation: 89*12=1068, Resulting Numbers: [1068] 1068,84 unequal: No Solution Exploring Operation: 89+12=101, Resulting Numbers: [101] 101,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[89, 5], Operations: ['59-56=3', '15/3=5'] Exploring Operation: 89-5=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[59, 89, 56, 15], Operations: [] Exploring Operation: 59-56=3, Resulting Numbers: [89, 15, 3] Generated Node #0,1: 84:[89, 15, 3] Operation: 59-56=3 Moving to Node #0,1 Current State: 84:[89, 15, 3], Operations: ['59-56=3'] Exploring Operation: 15/3=5, Resulting Numbers: [89, 5] Generated Node #0,1,2: 84:[89, 5] Operation: 15/3=5 Moving to Node #0,1,2 Current State: 84:[89, 5], Operations: ['59-56=3', '15/3=5'] Exploring Operation: 89-5=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 7, 99, 26, 69 ]
72
[ "7+26=33", "99/33=3", "69+3=72" ]
Current State: 72:[7, 99, 26, 69], Operations: [] Exploring Operation: 7+26=33, Resulting Numbers: [99, 69, 33] Generated Node #2: [99, 69, 33] from Operation: 7+26=33 Current State: 72:[99, 69, 33], Operations: ['7+26=33'] Exploring Operation: 99/33=3, Resulting Numbers: [69, 3] Generated Node #3: [69, 3] from Operation: 99/33=3 Current State: 72:[69, 3], Operations: ['7+26=33', '99/33=3'] Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[7, 99, 26, 69], Operations: [] Exploring Operation: 99-69=30, Resulting Numbers: [7, 26, 30] Generated Node #0,0: 72:[7, 26, 30] Operation: 99-69=30 Exploring Operation: 99-26=73, Resulting Numbers: [7, 69, 73] Generated Node #0,1: 72:[7, 69, 73] Operation: 99-26=73 Moving to Node #0,1 Current State: 72:[7, 69, 73], Operations: ['99-26=73'] Exploring Operation: 73-69=4, Resulting Numbers: [7, 4] Generated Node #0,1,0: 72:[7, 4] Operation: 73-69=4 Exploring Operation: 7+69=76, Resulting Numbers: [73, 76] Generated Node #0,1,1: 72:[73, 76] Operation: 7+69=76 Moving to Node #0,0 Current State: 72:[7, 26, 30], Operations: ['99-69=30'] Exploring Operation: 7+30=37, Resulting Numbers: [26, 37] Generated Node #0,0,0: 72:[26, 37] Operation: 7+30=37 Exploring Operation: 30-26=4, Resulting Numbers: [7, 4] Generated Node #0,0,1: 72:[7, 4] Operation: 30-26=4 Moving to Node #0,1,0 Current State: 72:[7, 4], Operations: ['99-26=73', '73-69=4'] Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,72 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[7, 4], Operations: ['99-69=30', '30-26=4'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[26, 37], Operations: ['99-69=30', '7+30=37'] Exploring Operation: 37-26=11, Resulting Numbers: [11] 11,72 unequal: No Solution Exploring Operation: 26+37=63, Resulting Numbers: [63] 63,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[73, 76], Operations: ['99-26=73', '7+69=76'] Exploring Operation: 73+76=149, Resulting Numbers: [149] 149,72 unequal: No Solution Exploring Operation: 76-73=3, Resulting Numbers: [3] 3,72 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 42, 66, 44, 20 ]
11
[ "66-42=24", "24-20=4", "44/4=11" ]
Current State: 11:[42, 66, 44, 20], Operations: [] Exploring Operation: 66-42=24, Resulting Numbers: [44, 20, 24] Generated Node #2: [44, 20, 24] from Operation: 66-42=24 Current State: 11:[44, 20, 24], Operations: ['66-42=24'] Exploring Operation: 24-20=4, Resulting Numbers: [44, 4] Generated Node #3: [44, 4] from Operation: 24-20=4 Current State: 11:[44, 4], Operations: ['66-42=24', '24-20=4'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[42, 66, 44, 20], Operations: [] Exploring Operation: 66-44=22, Resulting Numbers: [42, 20, 22] Generated Node #0,0: 11:[42, 20, 22] Operation: 66-44=22 Exploring Operation: 66-42=24, Resulting Numbers: [44, 20, 24] Generated Node #0,1: 11:[44, 20, 24] Operation: 66-42=24 Moving to Node #0,0 Current State: 11:[42, 20, 22], Operations: ['66-44=22'] Exploring Operation: 42-20=22, Resulting Numbers: [22, 22] Generated Node #0,0,0: 11:[22, 22] Operation: 42-20=22 Exploring Operation: 42-22=20, Resulting Numbers: [20, 20] Generated Node #0,0,1: 11:[20, 20] Operation: 42-22=20 Moving to Node #0,1 Current State: 11:[44, 20, 24], Operations: ['66-42=24'] Exploring Operation: 44-24=20, Resulting Numbers: [20, 20] Generated Node #0,1,0: 11:[20, 20] Operation: 44-24=20 Exploring Operation: 44-20=24, Resulting Numbers: [24, 24] Generated Node #0,1,1: 11:[24, 24] Operation: 44-20=24 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[20, 20], Operations: ['66-42=24', '44-24=20'] Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,11 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 11:[24, 24], Operations: ['66-42=24', '44-20=24'] Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,11 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 11:[20, 20], Operations: ['66-44=22', '42-22=20'] Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,11 unequal: No Solution Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[22, 22], Operations: ['66-44=22', '42-20=22'] Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,11 unequal: No Solution Exploring Operation: 22-22=0, Resulting Numbers: [0] 0,11 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 15, 31, 30, 3 ]
91
[ "30/15=2", "31*3=93", "93-2=91" ]
Current State: 91:[15, 31, 30, 3], Operations: [] Exploring Operation: 30/15=2, Resulting Numbers: [31, 3, 2] Generated Node #2: [31, 3, 2] from Operation: 30/15=2 Current State: 91:[31, 3, 2], Operations: ['30/15=2'] Exploring Operation: 31*3=93, Resulting Numbers: [2, 93] Generated Node #3: [2, 93] from Operation: 31*3=93 Current State: 91:[2, 93], Operations: ['30/15=2', '31*3=93'] Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[15, 31, 30, 3], Operations: [] Exploring Operation: 31-30=1, Resulting Numbers: [15, 3, 1] Generated Node #0,0: 91:[15, 3, 1] Operation: 31-30=1 Exploring Operation: 31*3=93, Resulting Numbers: [15, 30, 93] Generated Node #0,1: 91:[15, 30, 93] Operation: 31*3=93 Exploring Operation: 30/3=10, Resulting Numbers: [15, 31, 10] Generated Node #0,2: 91:[15, 31, 10] Operation: 30/3=10 Exploring Operation: 30*3=90, Resulting Numbers: [15, 31, 90] Generated Node #0,3: 91:[15, 31, 90] Operation: 30*3=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[15, 3, 1], Operations: ['31-30=1'] Exploring Operation: 15/1=15, Resulting Numbers: [3, 15] Generated Node #0,0,0: 91:[3, 15] Operation: 15/1=15 Exploring Operation: 15*1=15, Resulting Numbers: [3, 15] Generated Node #0,0,1: 91:[3, 15] Operation: 15*1=15 Exploring Operation: 3+1=4, Resulting Numbers: [15, 4] Generated Node #0,0,2: 91:[15, 4] Operation: 3+1=4 Exploring Operation: 15-1=14, Resulting Numbers: [3, 14] Generated Node #0,0,3: 91:[3, 14] Operation: 15-1=14 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 91:[15, 4], Operations: ['31-30=1', '3+1=4'] Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,91 unequal: No Solution Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,91 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,91 unequal: No Solution No 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: 91:[3, 14], Operations: ['31-30=1', '15-1=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,91 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,91 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,91 unequal: No Solution No 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: 91:[3, 15], Operations: ['31-30=1', '15/1=15'] Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,91 unequal: No Solution Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,91 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,91 unequal: No Solution No 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: 91:[3, 15], Operations: ['31-30=1', '15*1=15'] Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,91 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,91 unequal: No Solution Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,91 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: 91:[15, 30, 93], Operations: ['31*3=93'] Exploring Operation: 30/15=2, Resulting Numbers: [93, 2] Generated Node #0,1,0: 91:[93, 2] Operation: 30/15=2 Exploring Operation: 93-15=78, Resulting Numbers: [30, 78] Generated Node #0,1,1: 91:[30, 78] Operation: 93-15=78 Exploring Operation: 93-30=63, Resulting Numbers: [15, 63] Generated Node #0,1,2: 91:[15, 63] Operation: 93-30=63 Exploring Operation: 30-15=15, Resulting Numbers: [93, 15] Generated Node #0,1,3: 91:[93, 15] Operation: 30-15=15 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 91:[93, 15], Operations: ['31*3=93', '30-15=15'] Exploring Operation: 93-15=78, Resulting Numbers: [78] 78,91 unequal: No Solution Exploring Operation: 93+15=108, Resulting Numbers: [108] 108,91 unequal: No Solution Exploring Operation: 93*15=1395, Resulting Numbers: [1395] 1395,91 unequal: No Solution No 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: 91:[93, 2], Operations: ['31*3=93', '30/15=2'] Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,91 unequal: No Solution Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[15, 31, 30, 3], Operations: [] Exploring Operation: 31*3=93, Resulting Numbers: [15, 30, 93] Generated Node #0,1: 91:[15, 30, 93] Operation: 31*3=93 Moving to Node #0,1 Current State: 91:[15, 30, 93], Operations: ['31*3=93'] Exploring Operation: 30/15=2, Resulting Numbers: [93, 2] Generated Node #0,1,0: 91:[93, 2] Operation: 30/15=2 Moving to Node #0,1,0 Current State: 91:[93, 2], Operations: ['31*3=93', '30/15=2'] Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_4
mult_heuristic
[ 76, 90, 56, 3 ]
67
[ "90-76=14", "56-3=53", "14+53=67" ]
Current State: 67:[76, 90, 56, 3], Operations: [] Exploring Operation: 90-76=14, Resulting Numbers: [56, 3, 14] Generated Node #2: [56, 3, 14] from Operation: 90-76=14 Current State: 67:[56, 3, 14], Operations: ['90-76=14'] Exploring Operation: 56-3=53, Resulting Numbers: [14, 53] Generated Node #3: [14, 53] from Operation: 56-3=53 Current State: 67:[14, 53], Operations: ['90-76=14', '56-3=53'] Exploring Operation: 14+53=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[76, 90, 56, 3], Operations: [] Exploring Operation: 76-3=73, Resulting Numbers: [90, 56, 73] Generated Node #0,0: 67:[90, 56, 73] Operation: 76-3=73 Exploring Operation: 90-3=87, Resulting Numbers: [76, 56, 87] Generated Node #0,1: 67:[76, 56, 87] Operation: 90-3=87 Moving to Node #0,0 Current State: 67:[90, 56, 73], Operations: ['76-3=73'] Exploring Operation: 90-56=34, Resulting Numbers: [73, 34] Generated Node #0,0,0: 67:[73, 34] Operation: 90-56=34 Exploring Operation: 90-73=17, Resulting Numbers: [56, 17] Generated Node #0,0,1: 67:[56, 17] Operation: 90-73=17 Moving to Node #0,1 Current State: 67:[76, 56, 87], Operations: ['90-3=87'] Exploring Operation: 76-56=20, Resulting Numbers: [87, 20] Generated Node #0,1,0: 67:[87, 20] Operation: 76-56=20 Exploring Operation: 87-56=31, Resulting Numbers: [76, 31] Generated Node #0,1,1: 67:[76, 31] Operation: 87-56=31 Moving to Node #0,0,0 Current State: 67:[73, 34], Operations: ['76-3=73', '90-56=34'] Exploring Operation: 73+34=107, Resulting Numbers: [107] 107,67 unequal: No Solution Exploring Operation: 73-34=39, Resulting Numbers: [39] 39,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[76, 31], Operations: ['90-3=87', '87-56=31'] Exploring Operation: 76+31=107, Resulting Numbers: [107] 107,67 unequal: No Solution Exploring Operation: 76-31=45, Resulting Numbers: [45] 45,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[56, 17], Operations: ['76-3=73', '90-73=17'] Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,67 unequal: No Solution Exploring Operation: 56+17=73, Resulting Numbers: [73] 73,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[87, 20], Operations: ['90-3=87', '76-56=20'] Exploring Operation: 87-20=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[76, 90, 56, 3], Operations: [] Exploring Operation: 90-3=87, Resulting Numbers: [76, 56, 87] Generated Node #0,1: 67:[76, 56, 87] Operation: 90-3=87 Moving to Node #0,1 Current State: 67:[76, 56, 87], Operations: ['90-3=87'] Exploring Operation: 76-56=20, Resulting Numbers: [87, 20] Generated Node #0,1,0: 67:[87, 20] Operation: 76-56=20 Moving to Node #0,1,0 Current State: 67:[87, 20], Operations: ['90-3=87', '76-56=20'] Exploring Operation: 87-20=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
0.985243
hs_2
mult_heuristic
[ 72, 28, 71, 3 ]
83
[ "72-71=1", "28*3=84", "84-1=83" ]
Current State: 83:[72, 28, 71, 3], Operations: [] Exploring Operation: 72-71=1, Resulting Numbers: [28, 3, 1] Generated Node #2: [28, 3, 1] from Operation: 72-71=1 Current State: 83:[28, 3, 1], Operations: ['72-71=1'] Exploring Operation: 28*3=84, Resulting Numbers: [1, 84] Generated Node #3: [1, 84] from Operation: 28*3=84 Current State: 83:[1, 84], Operations: ['72-71=1', '28*3=84'] Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[72, 28, 71, 3], Operations: [] Exploring Operation: 28*3=84, Resulting Numbers: [72, 71, 84] Generated Node #0,0: 83:[72, 71, 84] Operation: 28*3=84 Exploring Operation: 28+3=31, Resulting Numbers: [72, 71, 31] Generated Node #0,1: 83:[72, 71, 31] Operation: 28+3=31 Exploring Operation: 72+3=75, Resulting Numbers: [28, 71, 75] Generated Node #0,2: 83:[28, 71, 75] Operation: 72+3=75 Moving to Node #0,0 Current State: 83:[72, 71, 84], Operations: ['28*3=84'] Exploring Operation: 72-71=1, Resulting Numbers: [84, 1] Generated Node #0,0,0: 83:[84, 1] Operation: 72-71=1 Exploring Operation: 84-71=13, Resulting Numbers: [72, 13] Generated Node #0,0,1: 83:[72, 13] Operation: 84-71=13 Exploring Operation: 72+71=143, Resulting Numbers: [84, 143] Generated Node #0,0,2: 83:[84, 143] Operation: 72+71=143 Moving to Node #0,1 Current State: 83:[72, 71, 31], Operations: ['28+3=31'] Exploring Operation: 72-31=41, Resulting Numbers: [71, 41] Generated Node #0,1,0: 83:[71, 41] Operation: 72-31=41 Exploring Operation: 71+31=102, Resulting Numbers: [72, 102] Generated Node #0,1,1: 83:[72, 102] Operation: 71+31=102 Exploring Operation: 72+31=103, Resulting Numbers: [71, 103] Generated Node #0,1,2: 83:[71, 103] Operation: 72+31=103 Moving to Node #0,2 Current State: 83:[28, 71, 75], Operations: ['72+3=75'] Exploring Operation: 71-28=43, Resulting Numbers: [75, 43] Generated Node #0,2,0: 83:[75, 43] Operation: 71-28=43 Exploring Operation: 28+75=103, Resulting Numbers: [71, 103] Generated Node #0,2,1: 83:[71, 103] Operation: 28+75=103 Exploring Operation: 28+71=99, Resulting Numbers: [75, 99] Generated Node #0,2,2: 83:[75, 99] Operation: 28+71=99 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 83:[75, 99], Operations: ['72+3=75', '28+71=99'] Exploring Operation: 75*99=7425, Resulting Numbers: [7425] 7425,83 unequal: No Solution Exploring Operation: 75+99=174, Resulting Numbers: [174] 174,83 unequal: No Solution Exploring Operation: 99-75=24, Resulting Numbers: [24] 24,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 83:[71, 103], Operations: ['72+3=75', '28+75=103'] Exploring Operation: 71*103=7313, Resulting Numbers: [7313] 7313,83 unequal: No Solution Exploring Operation: 71+103=174, Resulting Numbers: [174] 174,83 unequal: No Solution Exploring Operation: 103-71=32, Resulting Numbers: [32] 32,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[75, 43], Operations: ['72+3=75', '71-28=43'] Exploring Operation: 75*43=3225, Resulting Numbers: [3225] 3225,83 unequal: No Solution Exploring Operation: 75+43=118, Resulting Numbers: [118] 118,83 unequal: No Solution Exploring Operation: 75-43=32, Resulting Numbers: [32] 32,83 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: 83:[72, 102], Operations: ['28+3=31', '71+31=102'] Exploring Operation: 72*102=7344, Resulting Numbers: [7344] 7344,83 unequal: No Solution Exploring Operation: 102-72=30, Resulting Numbers: [30] 30,83 unequal: No Solution Exploring Operation: 72+102=174, Resulting Numbers: [174] 174,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[71, 103], Operations: ['28+3=31', '72+31=103'] Exploring Operation: 71+103=174, Resulting Numbers: [174] 174,83 unequal: No Solution Exploring Operation: 103-71=32, Resulting Numbers: [32] 32,83 unequal: No Solution Exploring Operation: 71*103=7313, Resulting Numbers: [7313] 7313,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[71, 41], Operations: ['28+3=31', '72-31=41'] Exploring Operation: 71*41=2911, Resulting Numbers: [2911] 2911,83 unequal: No Solution Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,83 unequal: No Solution Exploring Operation: 71+41=112, Resulting Numbers: [112] 112,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[84, 143], Operations: ['28*3=84', '72+71=143'] Exploring Operation: 84*143=12012, Resulting Numbers: [12012] 12012,83 unequal: No Solution Exploring Operation: 143-84=59, Resulting Numbers: [59] 59,83 unequal: No Solution Exploring Operation: 84+143=227, Resulting Numbers: [227] 227,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[72, 13], Operations: ['28*3=84', '84-71=13'] Exploring Operation: 72*13=936, Resulting Numbers: [936] 936,83 unequal: No Solution Exploring Operation: 72-13=59, Resulting Numbers: [59] 59,83 unequal: No Solution Exploring Operation: 72+13=85, Resulting Numbers: [85] 85,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[84, 1], Operations: ['28*3=84', '72-71=1'] Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[72, 28, 71, 3], Operations: [] Exploring Operation: 28*3=84, Resulting Numbers: [72, 71, 84] Generated Node #0,0: 83:[72, 71, 84] Operation: 28*3=84 Moving to Node #0,0 Current State: 83:[72, 71, 84], Operations: ['28*3=84'] Exploring Operation: 72-71=1, Resulting Numbers: [84, 1] Generated Node #0,0,0: 83:[84, 1] Operation: 72-71=1 Moving to Node #0,0,0 Current State: 83:[84, 1], Operations: ['28*3=84', '72-71=1'] Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
0.96441
hs_3
mult_heuristic
[ 36, 96, 81, 71 ]
92
[ "96-36=60", "81+71=152", "152-60=92" ]
Current State: 92:[36, 96, 81, 71], Operations: [] Exploring Operation: 96-36=60, Resulting Numbers: [81, 71, 60] Generated Node #2: [81, 71, 60] from Operation: 96-36=60 Current State: 92:[81, 71, 60], Operations: ['96-36=60'] Exploring Operation: 81+71=152, Resulting Numbers: [60, 152] Generated Node #3: [60, 152] from Operation: 81+71=152 Current State: 92:[60, 152], Operations: ['96-36=60', '81+71=152'] Exploring Operation: 152-60=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[36, 96, 81, 71], Operations: [] Exploring Operation: 81-36=45, Resulting Numbers: [96, 71, 45] Generated Node #0,0: 92:[96, 71, 45] Operation: 81-36=45 Exploring Operation: 96-71=25, Resulting Numbers: [36, 81, 25] Generated Node #0,1: 92:[36, 81, 25] Operation: 96-71=25 Exploring Operation: 81-71=10, Resulting Numbers: [36, 96, 10] Generated Node #0,2: 92:[36, 96, 10] Operation: 81-71=10 Start Sub Search at level 1: Moving to Node #0,2 Current State: 92:[36, 96, 10], Operations: ['81-71=10'] Exploring Operation: 36+10=46, Resulting Numbers: [96, 46] Generated Node #0,2,0: 92:[96, 46] Operation: 36+10=46 Exploring Operation: 96-10=86, Resulting Numbers: [36, 86] Generated Node #0,2,1: 92:[36, 86] Operation: 96-10=86 Exploring Operation: 36-10=26, Resulting Numbers: [96, 26] Generated Node #0,2,2: 92:[96, 26] Operation: 36-10=26 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 92:[96, 46], Operations: ['81-71=10', '36+10=46'] Exploring Operation: 96-46=50, Resulting Numbers: [50] 50,92 unequal: No Solution Exploring Operation: 96*46=4416, Resulting Numbers: [4416] 4416,92 unequal: No Solution Exploring Operation: 96+46=142, Resulting Numbers: [142] 142,92 unequal: No Solution No 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: 92:[96, 26], Operations: ['81-71=10', '36-10=26'] Exploring Operation: 96*26=2496, Resulting Numbers: [2496] 2496,92 unequal: No Solution Exploring Operation: 96+26=122, Resulting Numbers: [122] 122,92 unequal: No Solution Exploring Operation: 96-26=70, Resulting Numbers: [70] 70,92 unequal: No Solution No 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: 92:[36, 86], Operations: ['81-71=10', '96-10=86'] Exploring Operation: 36*86=3096, Resulting Numbers: [3096] 3096,92 unequal: No Solution Exploring Operation: 36+86=122, Resulting Numbers: [122] 122,92 unequal: No Solution Exploring Operation: 86-36=50, Resulting Numbers: [50] 50,92 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: 92:[36, 81, 25], Operations: ['96-71=25'] Exploring Operation: 36-25=11, Resulting Numbers: [81, 11] Generated Node #0,1,0: 92:[81, 11] Operation: 36-25=11 Exploring Operation: 81-36=45, Resulting Numbers: [25, 45] Generated Node #0,1,1: 92:[25, 45] Operation: 81-36=45 Exploring Operation: 81-25=56, Resulting Numbers: [36, 56] Generated Node #0,1,2: 92:[36, 56] Operation: 81-25=56 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 92:[25, 45], Operations: ['96-71=25', '81-36=45'] Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 25+45=70, Resulting Numbers: [70] 70,92 unequal: No Solution Exploring Operation: 25*45=1125, Resulting Numbers: [1125] 1125,92 unequal: No Solution No 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: 92:[81, 11], Operations: ['96-71=25', '36-25=11'] Exploring Operation: 81+11=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[36, 96, 81, 71], Operations: [] Exploring Operation: 96-71=25, Resulting Numbers: [36, 81, 25] Generated Node #0,1: 92:[36, 81, 25] Operation: 96-71=25 Moving to Node #0,1 Current State: 92:[36, 81, 25], Operations: ['96-71=25'] Exploring Operation: 36-25=11, Resulting Numbers: [81, 11] Generated Node #0,1,0: 92:[81, 11] Operation: 36-25=11 Moving to Node #0,1,0 Current State: 92:[81, 11], Operations: ['96-71=25', '36-25=11'] Exploring Operation: 81+11=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.977431
hs_3
sum_heuristic
[ 57, 19, 38, 53 ]
56
[ "38-19=19", "57/19=3", "53+3=56" ]
Current State: 56:[57, 19, 38, 53], Operations: [] Exploring Operation: 38-19=19, Resulting Numbers: [57, 53, 19] Generated Node #2: [57, 53, 19] from Operation: 38-19=19 Current State: 56:[57, 53, 19], Operations: ['38-19=19'] Exploring Operation: 57/19=3, Resulting Numbers: [53, 3] Generated Node #3: [53, 3] from Operation: 57/19=3 Current State: 56:[53, 3], Operations: ['38-19=19', '57/19=3'] Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[57, 19, 38, 53], Operations: [] Exploring Operation: 19+38=57, Resulting Numbers: [57, 53, 57] Generated Node #0,0: 56:[57, 53, 57] Operation: 19+38=57 Exploring Operation: 38-19=19, Resulting Numbers: [57, 53, 19] Generated Node #0,1: 56:[57, 53, 19] Operation: 38-19=19 Exploring Operation: 38/19=2, Resulting Numbers: [57, 53, 2] Generated Node #0,2: 56:[57, 53, 2] Operation: 38/19=2 Exploring Operation: 53-38=15, Resulting Numbers: [57, 19, 15] Generated Node #0,3: 56:[57, 19, 15] Operation: 53-38=15 Moving to Node #0,2 Current State: 56:[57, 53, 2], Operations: ['38/19=2'] Exploring Operation: 53+2=55, Resulting Numbers: [57, 55] Generated Node #0,2,0: 56:[57, 55] Operation: 53+2=55 Exploring Operation: 57-2=55, Resulting Numbers: [53, 55] Generated Node #0,2,1: 56:[53, 55] Operation: 57-2=55 Exploring Operation: 57+2=59, Resulting Numbers: [53, 59] Generated Node #0,2,2: 56:[53, 59] Operation: 57+2=59 Exploring Operation: 57-53=4, Resulting Numbers: [2, 4] Generated Node #0,2,3: 56:[2, 4] Operation: 57-53=4 Moving to Node #0,0 Current State: 56:[57, 53, 57], Operations: ['19+38=57'] Exploring Operation: 57-53=4, Resulting Numbers: [57, 4] Generated Node #0,0,0: 56:[57, 4] Operation: 57-53=4 Exploring Operation: 57-57=0, Resulting Numbers: [53, 0] Generated Node #0,0,1: 56:[53, 0] Operation: 57-57=0 Exploring Operation: 57-53=4, Resulting Numbers: [57, 4] Generated Node #0,0,2: 56:[57, 4] Operation: 57-53=4 Exploring Operation: 57/57=1, Resulting Numbers: [53, 1] Generated Node #0,0,3: 56:[53, 1] Operation: 57/57=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[57, 4], Operations: ['19+38=57', '57-53=4'] Exploring Operation: 57*4=228, Resulting Numbers: [228] 228,56 unequal: No Solution Exploring Operation: 57+4=61, Resulting Numbers: [61] 61,56 unequal: No Solution Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,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:[57, 4], Operations: ['19+38=57', '57-53=4'] Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,56 unequal: No Solution Exploring Operation: 57*4=228, Resulting Numbers: [228] 228,56 unequal: No Solution Exploring Operation: 57+4=61, Resulting Numbers: [61] 61,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:[53, 1], Operations: ['19+38=57', '57/57=1'] Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 53+1=54, Resulting Numbers: [54] 54,56 unequal: No Solution Exploring Operation: 53*1=53, Resulting Numbers: [53] 53,56 unequal: No Solution Exploring Operation: 53/1=53, Resulting Numbers: [53] 53,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:[53, 0], Operations: ['19+38=57', '57-57=0'] Exploring Operation: 53-0=53, Resulting Numbers: [53] 53,56 unequal: No Solution Exploring Operation: 53*0=0, Resulting Numbers: [0] 0,56 unequal: No Solution Exploring Operation: 53+0=53, Resulting Numbers: [53] 53,56 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: 56:[57, 19, 15], Operations: ['53-38=15'] Exploring Operation: 57-19=38, Resulting Numbers: [15, 38] Generated Node #0,3,0: 56:[15, 38] Operation: 57-19=38 Exploring Operation: 19+15=34, Resulting Numbers: [57, 34] Generated Node #0,3,1: 56:[57, 34] Operation: 19+15=34 Exploring Operation: 57/19=3, Resulting Numbers: [15, 3] Generated Node #0,3,2: 56:[15, 3] Operation: 57/19=3 Exploring Operation: 19-15=4, Resulting Numbers: [57, 4] Generated Node #0,3,3: 56:[57, 4] Operation: 19-15=4 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 56:[57, 4], Operations: ['53-38=15', '19-15=4'] Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,56 unequal: No Solution Exploring Operation: 57+4=61, Resulting Numbers: [61] 61,56 unequal: No Solution Exploring Operation: 57*4=228, Resulting Numbers: [228] 228,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:[15, 3], Operations: ['53-38=15', '57/19=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,56 unequal: No Solution Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,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:[57, 34], Operations: ['53-38=15', '19+15=34'] Exploring Operation: 57+34=91, Resulting Numbers: [91] 91,56 unequal: No Solution Exploring Operation: 57*34=1938, Resulting Numbers: [1938] 1938,56 unequal: No Solution Exploring Operation: 57-34=23, Resulting Numbers: [23] 23,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:[15, 38], Operations: ['53-38=15', '57-19=38'] Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,56 unequal: No Solution Exploring Operation: 15+38=53, Resulting Numbers: [53] 53,56 unequal: No Solution Exploring Operation: 15*38=570, Resulting Numbers: [570] 570,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:[57, 53, 19], Operations: ['38-19=19'] Exploring Operation: 57/19=3, Resulting Numbers: [53, 3] Generated Node #0,1,0: 56:[53, 3] Operation: 57/19=3 Exploring Operation: 53-19=34, Resulting Numbers: [57, 34] Generated Node #0,1,1: 56:[57, 34] Operation: 53-19=34 Exploring Operation: 57-53=4, Resulting Numbers: [19, 4] Generated Node #0,1,2: 56:[19, 4] Operation: 57-53=4 Exploring Operation: 57-19=38, Resulting Numbers: [53, 38] Generated Node #0,1,3: 56:[53, 38] Operation: 57-19=38 Moving to Node #0,2,3 Current State: 56:[2, 4], Operations: ['38/19=2', '57-53=4'] Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,56 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,56 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,56 unequal: No Solution Moving to Node #0,2,0 Current State: 56:[57, 55], Operations: ['38/19=2', '53+2=55'] Exploring Operation: 57*55=3135, Resulting Numbers: [3135] 3135,56 unequal: No Solution Exploring Operation: 57+55=112, Resulting Numbers: [112] 112,56 unequal: No Solution Exploring Operation: 57-55=2, Resulting Numbers: [2] 2,56 unequal: No Solution Moving to Node #0,2,1 Current State: 56:[53, 55], Operations: ['38/19=2', '57-2=55'] Exploring Operation: 53*55=2915, Resulting Numbers: [2915] 2915,56 unequal: No Solution Exploring Operation: 55-53=2, Resulting Numbers: [2] 2,56 unequal: No Solution Exploring Operation: 53+55=108, Resulting Numbers: [108] 108,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[53, 3], Operations: ['38-19=19', '57/19=3'] Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[57, 19, 38, 53], Operations: [] Exploring Operation: 38-19=19, Resulting Numbers: [57, 53, 19] Generated Node #0,1: 56:[57, 53, 19] Operation: 38-19=19 Moving to Node #0,1 Current State: 56:[57, 53, 19], Operations: ['38-19=19'] Exploring Operation: 57/19=3, Resulting Numbers: [53, 3] Generated Node #0,1,0: 56:[53, 3] Operation: 57/19=3 Moving to Node #0,1,0 Current State: 56:[53, 3], Operations: ['38-19=19', '57/19=3'] Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
0.947049
hs_4
sum_heuristic
[ 84, 24, 69, 26 ]
13
[ "84+24=108", "69+26=95", "108-95=13" ]
Current State: 13:[84, 24, 69, 26], Operations: [] Exploring Operation: 84+24=108, Resulting Numbers: [69, 26, 108] Generated Node #2: [69, 26, 108] from Operation: 84+24=108 Current State: 13:[69, 26, 108], Operations: ['84+24=108'] Exploring Operation: 69+26=95, Resulting Numbers: [108, 95] Generated Node #3: [108, 95] from Operation: 69+26=95 Current State: 13:[108, 95], Operations: ['84+24=108', '69+26=95'] Exploring Operation: 108-95=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[84, 24, 69, 26], Operations: [] Exploring Operation: 84-26=58, Resulting Numbers: [24, 69, 58] Generated Node #0,0: 13:[24, 69, 58] Operation: 84-26=58 Exploring Operation: 84-69=15, Resulting Numbers: [24, 26, 15] Generated Node #0,1: 13:[24, 26, 15] Operation: 84-69=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[24, 26, 15], Operations: ['84-69=15'] Exploring Operation: 26-15=11, Resulting Numbers: [24, 11] Generated Node #0,1,0: 13:[24, 11] Operation: 26-15=11 Exploring Operation: 26-24=2, Resulting Numbers: [15, 2] Generated Node #0,1,1: 13:[15, 2] Operation: 26-24=2 Moving to Node #0,1,0 Current State: 13:[24, 11], Operations: ['84-69=15', '26-15=11'] Exploring Operation: 24+11=35, Resulting Numbers: [35] 35,13 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[84, 24, 69, 26], Operations: [] Exploring Operation: 84-69=15, Resulting Numbers: [24, 26, 15] Generated Node #0,1: 13:[24, 26, 15] Operation: 84-69=15 Moving to Node #0,1 Current State: 13:[24, 26, 15], Operations: ['84-69=15'] Exploring Operation: 26-15=11, Resulting Numbers: [24, 11] Generated Node #0,1,0: 13:[24, 11] Operation: 26-15=11 Moving to Node #0,1,0 Current State: 13:[24, 11], Operations: ['84-69=15', '26-15=11'] Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 71, 71, 5, 67 ]
70
[ "71+71=142", "5+67=72", "142-72=70" ]
Current State: 70:[71, 71, 5, 67], Operations: [] Exploring Operation: 71+71=142, Resulting Numbers: [5, 67, 142] Generated Node #2: [5, 67, 142] from Operation: 71+71=142 Current State: 70:[5, 67, 142], Operations: ['71+71=142'] Exploring Operation: 5+67=72, Resulting Numbers: [142, 72] Generated Node #3: [142, 72] from Operation: 5+67=72 Current State: 70:[142, 72], Operations: ['71+71=142', '5+67=72'] Exploring Operation: 142-72=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[71, 71, 5, 67], Operations: [] Exploring Operation: 71-67=4, Resulting Numbers: [71, 5, 4] Generated Node #0,0: 70:[71, 5, 4] Operation: 71-67=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[71, 5, 4], Operations: ['71-67=4'] Exploring Operation: 5+4=9, Resulting Numbers: [71, 9] Generated Node #0,0,0: 70:[71, 9] Operation: 5+4=9 Moving to Node #0,0,0 Current State: 70:[71, 9], Operations: ['71-67=4', '5+4=9'] Exploring Operation: 71-9=62, Resulting Numbers: [62] 62,70 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
[ 72, 78, 33, 80 ]
37
[ "72+78=150", "33+80=113", "150-113=37" ]
Current State: 37:[72, 78, 33, 80], Operations: [] Exploring Operation: 72+78=150, Resulting Numbers: [33, 80, 150] Generated Node #2: [33, 80, 150] from Operation: 72+78=150 Current State: 37:[33, 80, 150], Operations: ['72+78=150'] Exploring Operation: 33+80=113, Resulting Numbers: [150, 113] Generated Node #3: [150, 113] from Operation: 33+80=113 Current State: 37:[150, 113], Operations: ['72+78=150', '33+80=113'] Exploring Operation: 150-113=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[72, 78, 33, 80], Operations: [] Exploring Operation: 80-78=2, Resulting Numbers: [72, 33, 2] Generated Node #0,0: 37:[72, 33, 2] Operation: 80-78=2 Exploring Operation: 80-72=8, Resulting Numbers: [78, 33, 8] Generated Node #0,1: 37:[78, 33, 8] Operation: 80-72=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[72, 33, 2], Operations: ['80-78=2'] Exploring Operation: 72-33=39, Resulting Numbers: [2, 39] Generated Node #0,0,0: 37:[2, 39] Operation: 72-33=39 Exploring Operation: 72/2=36, Resulting Numbers: [33, 36] Generated Node #0,0,1: 37:[33, 36] Operation: 72/2=36 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 37:[33, 36], Operations: ['80-78=2', '72/2=36'] Exploring Operation: 36-33=3, Resulting Numbers: [3] 3,37 unequal: No Solution Exploring Operation: 33+36=69, Resulting Numbers: [69] 69,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[2, 39], Operations: ['80-78=2', '72-33=39'] Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,37 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[72, 78, 33, 80], Operations: [] Exploring Operation: 80-78=2, Resulting Numbers: [72, 33, 2] Generated Node #0,0: 37:[72, 33, 2] Operation: 80-78=2 Moving to Node #0,0 Current State: 37:[72, 33, 2], Operations: ['80-78=2'] Exploring Operation: 72-33=39, Resulting Numbers: [2, 39] Generated Node #0,0,0: 37:[2, 39] Operation: 72-33=39 Moving to Node #0,0,0 Current State: 37:[2, 39], Operations: ['80-78=2', '72-33=39'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 40, 4, 67, 2 ]
21
[ "40+4=44", "67-2=65", "65-44=21" ]
Current State: 21:[40, 4, 67, 2], Operations: [] Exploring Operation: 40+4=44, Resulting Numbers: [67, 2, 44] Generated Node #2: [67, 2, 44] from Operation: 40+4=44 Current State: 21:[67, 2, 44], Operations: ['40+4=44'] Exploring Operation: 67-2=65, Resulting Numbers: [44, 65] Generated Node #3: [44, 65] from Operation: 67-2=65 Current State: 21:[44, 65], Operations: ['40+4=44', '67-2=65'] Exploring Operation: 65-44=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[40, 4, 67, 2], Operations: [] Exploring Operation: 67-40=27, Resulting Numbers: [4, 2, 27] Generated Node #0,0: 21:[4, 2, 27] Operation: 67-40=27 Exploring Operation: 40/2=20, Resulting Numbers: [4, 67, 20] Generated Node #0,1: 21:[4, 67, 20] Operation: 40/2=20 Exploring Operation: 40/4=10, Resulting Numbers: [67, 2, 10] Generated Node #0,2: 21:[67, 2, 10] Operation: 40/4=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[4, 2, 27], Operations: ['67-40=27'] Exploring Operation: 27-2=25, Resulting Numbers: [4, 25] Generated Node #0,0,0: 21:[4, 25] Operation: 27-2=25 Exploring Operation: 27-4=23, Resulting Numbers: [2, 23] Generated Node #0,0,1: 21:[2, 23] Operation: 27-4=23 Exploring Operation: 4+2=6, Resulting Numbers: [27, 6] Generated Node #0,0,2: 21:[27, 6] Operation: 4+2=6 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 21:[2, 23], Operations: ['67-40=27', '27-4=23'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[40, 4, 67, 2], Operations: [] Exploring Operation: 67-40=27, Resulting Numbers: [4, 2, 27] Generated Node #0,0: 21:[4, 2, 27] Operation: 67-40=27 Moving to Node #0,0 Current State: 21:[4, 2, 27], Operations: ['67-40=27'] Exploring Operation: 27-4=23, Resulting Numbers: [2, 23] Generated Node #0,0,1: 21:[2, 23] Operation: 27-4=23 Moving to Node #0,0,1 Current State: 21:[2, 23], Operations: ['67-40=27', '27-4=23'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 90, 19, 62, 83 ]
75
[ "90+62=152", "152/19=8", "83-8=75" ]
Current State: 75:[90, 19, 62, 83], Operations: [] Exploring Operation: 90+62=152, Resulting Numbers: [19, 83, 152] Generated Node #2: [19, 83, 152] from Operation: 90+62=152 Current State: 75:[19, 83, 152], Operations: ['90+62=152'] Exploring Operation: 152/19=8, Resulting Numbers: [83, 8] Generated Node #3: [83, 8] from Operation: 152/19=8 Current State: 75:[83, 8], Operations: ['90+62=152', '152/19=8'] Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[90, 19, 62, 83], Operations: [] Exploring Operation: 90-83=7, Resulting Numbers: [19, 62, 7] Generated Node #0,0: 75:[19, 62, 7] Operation: 90-83=7 Exploring Operation: 90-62=28, Resulting Numbers: [19, 83, 28] Generated Node #0,1: 75:[19, 83, 28] Operation: 90-62=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[19, 83, 28], Operations: ['90-62=28'] Exploring Operation: 28-19=9, Resulting Numbers: [83, 9] Generated Node #0,1,0: 75:[83, 9] Operation: 28-19=9 Exploring Operation: 83-19=64, Resulting Numbers: [28, 64] Generated Node #0,1,1: 75:[28, 64] Operation: 83-19=64 Moving to Node #0,1,0 Current State: 75:[83, 9], Operations: ['90-62=28', '28-19=9'] Exploring Operation: 83+9=92, Resulting Numbers: [92] 92,75 unequal: No Solution Exploring Operation: 83-9=74, Resulting Numbers: [74] 74,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[28, 64], Operations: ['90-62=28', '83-19=64'] Exploring Operation: 28+64=92, Resulting Numbers: [92] 92,75 unequal: No Solution Exploring Operation: 64-28=36, Resulting Numbers: [36] 36,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[19, 62, 7], Operations: ['90-83=7'] Exploring Operation: 19+62=81, Resulting Numbers: [7, 81] Generated Node #0,0,0: 75:[7, 81] Operation: 19+62=81 Exploring Operation: 62+7=69, Resulting Numbers: [19, 69] Generated Node #0,0,1: 75:[19, 69] Operation: 62+7=69 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[7, 81], Operations: ['90-83=7', '19+62=81'] Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,75 unequal: No Solution Exploring Operation: 7+81=88, Resulting Numbers: [88] 88,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 75:[19, 69], Operations: ['90-83=7', '62+7=69'] Exploring Operation: 69-19=50, Resulting Numbers: [50] 50,75 unequal: No Solution Exploring Operation: 19+69=88, Resulting Numbers: [88] 88,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
[ 17, 59, 35, 48 ]
40
[ "59-17=42", "35*48=1680", "1680/42=40" ]
Current State: 40:[17, 59, 35, 48], Operations: [] Exploring Operation: 59-17=42, Resulting Numbers: [35, 48, 42] Generated Node #2: [35, 48, 42] from Operation: 59-17=42 Current State: 40:[35, 48, 42], Operations: ['59-17=42'] Exploring Operation: 35*48=1680, Resulting Numbers: [42, 1680] Generated Node #3: [42, 1680] from Operation: 35*48=1680 Current State: 40:[42, 1680], Operations: ['59-17=42', '35*48=1680'] Exploring Operation: 1680/42=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[17, 59, 35, 48], Operations: [] Exploring Operation: 59-35=24, Resulting Numbers: [17, 48, 24] Generated Node #0,0: 40:[17, 48, 24] Operation: 59-35=24 Exploring Operation: 59-48=11, Resulting Numbers: [17, 35, 11] Generated Node #0,1: 40:[17, 35, 11] Operation: 59-48=11 Exploring Operation: 59-17=42, Resulting Numbers: [35, 48, 42] Generated Node #0,2: 40:[35, 48, 42] Operation: 59-17=42 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[17, 35, 11], Operations: ['59-48=11'] Exploring Operation: 17-11=6, Resulting Numbers: [35, 6] Generated Node #0,1,0: 40:[35, 6] Operation: 17-11=6 Exploring Operation: 35-17=18, Resulting Numbers: [11, 18] Generated Node #0,1,1: 40:[11, 18] Operation: 35-17=18 Exploring Operation: 35-11=24, Resulting Numbers: [17, 24] Generated Node #0,1,2: 40:[17, 24] Operation: 35-11=24 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 40:[11, 18], Operations: ['59-48=11', '35-17=18'] Exploring Operation: 11*18=198, Resulting Numbers: [198] 198,40 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,40 unequal: No Solution Exploring Operation: 11+18=29, Resulting Numbers: [29] 29,40 unequal: No Solution No 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: 40:[35, 6], Operations: ['59-48=11', '17-11=6'] Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,40 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 35*6=210, Resulting Numbers: [210] 210,40 unequal: No Solution No 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: 40:[17, 24], Operations: ['59-48=11', '35-11=24'] Exploring Operation: 17*24=408, Resulting Numbers: [408] 408,40 unequal: No Solution Exploring Operation: 17+24=41, Resulting Numbers: [41] 41,40 unequal: No Solution Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,40 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: 40:[17, 48, 24], Operations: ['59-35=24'] Exploring Operation: 17+24=41, Resulting Numbers: [48, 41] Generated Node #0,0,0: 40:[48, 41] Operation: 17+24=41 Exploring Operation: 48-24=24, Resulting Numbers: [17, 24] Generated Node #0,0,1: 40:[17, 24] Operation: 48-24=24 Exploring Operation: 48/24=2, Resulting Numbers: [17, 2] Generated Node #0,0,2: 40:[17, 2] Operation: 48/24=2 Moving to Node #0,0,2 Current State: 40:[17, 2], Operations: ['59-35=24', '48/24=2'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,40 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,40 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[17, 24], Operations: ['59-35=24', '48-24=24'] Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,40 unequal: No Solution Exploring Operation: 17*24=408, Resulting Numbers: [408] 408,40 unequal: No Solution Exploring Operation: 17+24=41, Resulting Numbers: [41] 41,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[48, 41], Operations: ['59-35=24', '17+24=41'] Exploring Operation: 48+41=89, Resulting Numbers: [89] 89,40 unequal: No Solution Exploring Operation: 48-41=7, Resulting Numbers: [7] 7,40 unequal: No Solution Exploring Operation: 48*41=1968, Resulting Numbers: [1968] 1968,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[35, 48, 42], Operations: ['59-17=42'] Exploring Operation: 48-42=6, Resulting Numbers: [35, 6] Generated Node #0,2,0: 40:[35, 6] Operation: 48-42=6 Exploring Operation: 42-35=7, Resulting Numbers: [48, 7] Generated Node #0,2,1: 40:[48, 7] Operation: 42-35=7 Exploring Operation: 48-35=13, Resulting Numbers: [42, 13] Generated Node #0,2,2: 40:[42, 13] Operation: 48-35=13 Moving to Node #0,2,2 Current State: 40:[42, 13], Operations: ['59-17=42', '48-35=13'] Exploring Operation: 42*13=546, Resulting Numbers: [546] 546,40 unequal: No Solution Exploring Operation: 42-13=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 42+13=55, Resulting Numbers: [55] 55,40 unequal: No Solution Moving to Node #0,2,0 Current State: 40:[35, 6], Operations: ['59-17=42', '48-42=6'] Exploring Operation: 35*6=210, Resulting Numbers: [210] 210,40 unequal: No Solution Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,40 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,40 unequal: No Solution Moving to Node #0,2,1 Current State: 40:[48, 7], Operations: ['59-17=42', '42-35=7'] Exploring Operation: 48*7=336, Resulting Numbers: [336] 336,40 unequal: No Solution Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,40 unequal: No Solution Exploring Operation: 48+7=55, Resulting Numbers: [55] 55,40 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
[ 6, 23, 4, 98 ]
73
[ "6+23=29", "4+98=102", "102-29=73" ]
Current State: 73:[6, 23, 4, 98], Operations: [] Exploring Operation: 6+23=29, Resulting Numbers: [4, 98, 29] Generated Node #2: [4, 98, 29] from Operation: 6+23=29 Current State: 73:[4, 98, 29], Operations: ['6+23=29'] Exploring Operation: 4+98=102, Resulting Numbers: [29, 102] Generated Node #3: [29, 102] from Operation: 4+98=102 Current State: 73:[29, 102], Operations: ['6+23=29', '4+98=102'] Exploring Operation: 102-29=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[6, 23, 4, 98], Operations: [] Exploring Operation: 98-6=92, Resulting Numbers: [23, 4, 92] Generated Node #0,0: 73:[23, 4, 92] Operation: 98-6=92 Exploring Operation: 23*4=92, Resulting Numbers: [6, 98, 92] Generated Node #0,1: 73:[6, 98, 92] Operation: 23*4=92 Exploring Operation: 6+23=29, Resulting Numbers: [4, 98, 29] Generated Node #0,2: 73:[4, 98, 29] Operation: 6+23=29 Exploring Operation: 6+4=10, Resulting Numbers: [23, 98, 10] Generated Node #0,3: 73:[23, 98, 10] Operation: 6+4=10 Exploring Operation: 6*4=24, Resulting Numbers: [23, 98, 24] Generated Node #0,4: 73:[23, 98, 24] Operation: 6*4=24 Moving to Node #0,1 Current State: 73:[6, 98, 92], Operations: ['23*4=92'] Exploring Operation: 92-6=86, Resulting Numbers: [98, 86] Generated Node #0,1,0: 73:[98, 86] Operation: 92-6=86 Exploring Operation: 6+98=104, Resulting Numbers: [92, 104] Generated Node #0,1,1: 73:[92, 104] Operation: 6+98=104 Exploring Operation: 98-6=92, Resulting Numbers: [92, 92] Generated Node #0,1,2: 73:[92, 92] Operation: 98-6=92 Exploring Operation: 6+92=98, Resulting Numbers: [98, 98] Generated Node #0,1,3: 73:[98, 98] Operation: 6+92=98 Exploring Operation: 98-92=6, Resulting Numbers: [6, 6] Generated Node #0,1,4: 73:[6, 6] Operation: 98-92=6 Moving to Node #0,4 Current State: 73:[23, 98, 24], Operations: ['6*4=24'] Exploring Operation: 98-24=74, Resulting Numbers: [23, 74] Generated Node #0,4,0: 73:[23, 74] Operation: 98-24=74 Exploring Operation: 23+98=121, Resulting Numbers: [24, 121] Generated Node #0,4,1: 73:[24, 121] Operation: 23+98=121 Exploring Operation: 24-23=1, Resulting Numbers: [98, 1] Generated Node #0,4,2: 73:[98, 1] Operation: 24-23=1 Exploring Operation: 23+24=47, Resulting Numbers: [98, 47] Generated Node #0,4,3: 73:[98, 47] Operation: 23+24=47 Exploring Operation: 98-23=75, Resulting Numbers: [24, 75] Generated Node #0,4,4: 73:[24, 75] Operation: 98-23=75 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 73:[23, 74], Operations: ['6*4=24', '98-24=74'] Exploring Operation: 23*74=1702, Resulting Numbers: [1702] 1702,73 unequal: No Solution Exploring Operation: 23+74=97, Resulting Numbers: [97] 97,73 unequal: No Solution Exploring Operation: 74-23=51, Resulting Numbers: [51] 51,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,4,3 Current State: 73:[98, 47], Operations: ['6*4=24', '23+24=47'] Exploring Operation: 98+47=145, Resulting Numbers: [145] 145,73 unequal: No Solution Exploring Operation: 98-47=51, Resulting Numbers: [51] 51,73 unequal: No Solution Exploring Operation: 98*47=4606, Resulting Numbers: [4606] 4606,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,4,4 Current State: 73:[24, 75], Operations: ['6*4=24', '98-23=75'] Exploring Operation: 24*75=1800, Resulting Numbers: [1800] 1800,73 unequal: No Solution Exploring Operation: 75-24=51, Resulting Numbers: [51] 51,73 unequal: No Solution Exploring Operation: 24+75=99, Resulting Numbers: [99] 99,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,4,1 Current State: 73:[24, 121], Operations: ['6*4=24', '23+98=121'] Exploring Operation: 24+121=145, Resulting Numbers: [145] 145,73 unequal: No Solution Exploring Operation: 121-24=97, Resulting Numbers: [97] 97,73 unequal: No Solution Exploring Operation: 24*121=2904, Resulting Numbers: [2904] 2904,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,4,2 Current State: 73:[98, 1], Operations: ['6*4=24', '24-23=1'] Exploring Operation: 98-1=97, Resulting Numbers: [97] 97,73 unequal: No Solution Exploring Operation: 98/1=98, Resulting Numbers: [98] 98,73 unequal: No Solution Exploring Operation: 98*1=98, Resulting Numbers: [98] 98,73 unequal: No Solution Exploring Operation: 98+1=99, Resulting Numbers: [99] 99,73 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: 73:[23, 4, 92], Operations: ['98-6=92'] Exploring Operation: 92-23=69, Resulting Numbers: [4, 69] Generated Node #0,0,0: 73:[4, 69] Operation: 92-23=69 Exploring Operation: 23-4=19, Resulting Numbers: [92, 19] Generated Node #0,0,1: 73:[92, 19] Operation: 23-4=19 Exploring Operation: 92-4=88, Resulting Numbers: [23, 88] Generated Node #0,0,2: 73:[23, 88] Operation: 92-4=88 Exploring Operation: 23+4=27, Resulting Numbers: [92, 27] Generated Node #0,0,3: 73:[92, 27] Operation: 23+4=27 Exploring Operation: 23*4=92, Resulting Numbers: [92, 92] Generated Node #0,0,4: 73:[92, 92] Operation: 23*4=92 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 73:[92, 92], Operations: ['98-6=92', '23*4=92'] Exploring Operation: 92+92=184, Resulting Numbers: [184] 184,73 unequal: No Solution Exploring Operation: 92*92=8464, Resulting Numbers: [8464] 8464,73 unequal: No Solution Exploring Operation: 92-92=0, Resulting Numbers: [0] 0,73 unequal: No Solution Exploring Operation: 92/92=1, Resulting Numbers: [1] 1,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,0,2 Current State: 73:[23, 88], Operations: ['98-6=92', '92-4=88'] Exploring Operation: 23+88=111, Resulting Numbers: [111] 111,73 unequal: No Solution Exploring Operation: 88-23=65, Resulting Numbers: [65] 65,73 unequal: No Solution Exploring Operation: 23*88=2024, Resulting Numbers: [2024] 2024,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,0,3 Current State: 73:[92, 27], Operations: ['98-6=92', '23+4=27'] Exploring Operation: 92+27=119, Resulting Numbers: [119] 119,73 unequal: No Solution Exploring Operation: 92*27=2484, Resulting Numbers: [2484] 2484,73 unequal: No Solution Exploring Operation: 92-27=65, Resulting Numbers: [65] 65,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,0,0 Current State: 73:[4, 69], Operations: ['98-6=92', '92-23=69'] Exploring Operation: 4+69=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[6, 23, 4, 98], Operations: [] Exploring Operation: 98-6=92, Resulting Numbers: [23, 4, 92] Generated Node #0,0: 73:[23, 4, 92] Operation: 98-6=92 Moving to Node #0,0 Current State: 73:[23, 4, 92], Operations: ['98-6=92'] Exploring Operation: 92-23=69, Resulting Numbers: [4, 69] Generated Node #0,0,0: 73:[4, 69] Operation: 92-23=69 Moving to Node #0,0,0 Current State: 73:[4, 69], Operations: ['98-6=92', '92-23=69'] Exploring Operation: 4+69=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.955729
hs_5
sum_heuristic
[ 10, 10, 35, 2 ]
37
[ "10-10=0", "35+2=37", "0+37=37" ]
Current State: 37:[10, 10, 35, 2], Operations: [] Exploring Operation: 10-10=0, Resulting Numbers: [35, 2, 0] Generated Node #2: [35, 2, 0] from Operation: 10-10=0 Current State: 37:[35, 2, 0], Operations: ['10-10=0'] Exploring Operation: 35+2=37, Resulting Numbers: [0, 37] Generated Node #3: [0, 37] from Operation: 35+2=37 Current State: 37:[0, 37], Operations: ['10-10=0', '35+2=37'] Exploring Operation: 0+37=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[10, 10, 35, 2], Operations: [] Exploring Operation: 10*2=20, Resulting Numbers: [10, 35, 20] Generated Node #0,0: 37:[10, 35, 20] Operation: 10*2=20 Exploring Operation: 10*2=20, Resulting Numbers: [10, 35, 20] Generated Node #0,1: 37:[10, 35, 20] Operation: 10*2=20 Moving to Node #0,0 Current State: 37:[10, 35, 20], Operations: ['10*2=20'] Exploring Operation: 10+20=30, Resulting Numbers: [35, 30] Generated Node #0,0,0: 37:[35, 30] Operation: 10+20=30 Exploring Operation: 10+35=45, Resulting Numbers: [20, 45] Generated Node #0,0,1: 37:[20, 45] Operation: 10+35=45 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[35, 30], Operations: ['10*2=20', '10+20=30'] Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,37 unequal: No Solution Exploring Operation: 35+30=65, Resulting Numbers: [65] 65,37 unequal: No Solution No 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: 37:[20, 45], Operations: ['10*2=20', '10+35=45'] Exploring Operation: 45-20=25, Resulting Numbers: [25] 25,37 unequal: No Solution Exploring Operation: 20+45=65, Resulting Numbers: [65] 65,37 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: 37:[10, 35, 20], Operations: ['10*2=20'] Exploring Operation: 10+35=45, Resulting Numbers: [20, 45] Generated Node #0,1,0: 37:[20, 45] Operation: 10+35=45 Exploring Operation: 10+20=30, Resulting Numbers: [35, 30] Generated Node #0,1,1: 37:[35, 30] Operation: 10+20=30 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[35, 30], Operations: ['10*2=20', '10+20=30'] Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,37 unequal: No Solution Exploring Operation: 35+30=65, Resulting Numbers: [65] 65,37 unequal: No Solution No 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: 37:[20, 45], Operations: ['10*2=20', '10+35=45'] Exploring Operation: 20+45=65, Resulting Numbers: [65] 65,37 unequal: No Solution Exploring Operation: 45-20=25, Resulting Numbers: [25] 25,37 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
[ 8, 43, 56, 21 ]
29
[ "56/8=7", "43-21=22", "7+22=29" ]
Current State: 29:[8, 43, 56, 21], Operations: [] Exploring Operation: 56/8=7, Resulting Numbers: [43, 21, 7] Generated Node #2: [43, 21, 7] from Operation: 56/8=7 Current State: 29:[43, 21, 7], Operations: ['56/8=7'] Exploring Operation: 43-21=22, Resulting Numbers: [7, 22] Generated Node #3: [7, 22] from Operation: 43-21=22 Current State: 29:[7, 22], Operations: ['56/8=7', '43-21=22'] Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[8, 43, 56, 21], Operations: [] Exploring Operation: 43-8=35, Resulting Numbers: [56, 21, 35] Generated Node #0,0: 29:[56, 21, 35] Operation: 43-8=35 Exploring Operation: 8+21=29, Resulting Numbers: [43, 56, 29] Generated Node #0,1: 29:[43, 56, 29] Operation: 8+21=29 Exploring Operation: 56-8=48, Resulting Numbers: [43, 21, 48] Generated Node #0,2: 29:[43, 21, 48] Operation: 56-8=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[56, 21, 35], Operations: ['43-8=35'] Exploring Operation: 56-21=35, Resulting Numbers: [35, 35] Generated Node #0,0,0: 29:[35, 35] Operation: 56-21=35 Exploring Operation: 35-21=14, Resulting Numbers: [56, 14] Generated Node #0,0,1: 29:[56, 14] Operation: 35-21=14 Exploring Operation: 56-35=21, Resulting Numbers: [21, 21] Generated Node #0,0,2: 29:[21, 21] Operation: 56-35=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[35, 35], Operations: ['43-8=35', '56-21=35'] Exploring Operation: 35/35=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 35-35=0, Resulting Numbers: [0] 0,29 unequal: No Solution Exploring Operation: 35+35=70, Resulting Numbers: [70] 70,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 29:[21, 21], Operations: ['43-8=35', '56-35=21'] Exploring Operation: 21/21=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 21+21=42, Resulting Numbers: [42] 42,29 unequal: No Solution Exploring Operation: 21-21=0, Resulting Numbers: [0] 0,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 29:[56, 14], Operations: ['43-8=35', '35-21=14'] Exploring Operation: 56/14=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 56+14=70, Resulting Numbers: [70] 70,29 unequal: No Solution Exploring Operation: 56-14=42, Resulting Numbers: [42] 42,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[43, 56, 29], Operations: ['8+21=29'] Exploring Operation: 56-43=13, Resulting Numbers: [29, 13] Generated Node #0,1,0: 29:[29, 13] Operation: 56-43=13 Exploring Operation: 43-29=14, Resulting Numbers: [56, 14] Generated Node #0,1,1: 29:[56, 14] Operation: 43-29=14 Exploring Operation: 56-29=27, Resulting Numbers: [43, 27] Generated Node #0,1,2: 29:[43, 27] Operation: 56-29=27 Moving to Node #0,1,0 Current State: 29:[29, 13], Operations: ['8+21=29', '56-43=13'] Exploring Operation: 29*13=377, Resulting Numbers: [377] 377,29 unequal: No Solution Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,29 unequal: No Solution Exploring Operation: 29+13=42, Resulting Numbers: [42] 42,29 unequal: No Solution Moving to Node #0,1,2 Current State: 29:[43, 27], Operations: ['8+21=29', '56-29=27'] Exploring Operation: 43+27=70, Resulting Numbers: [70] 70,29 unequal: No Solution Exploring Operation: 43-27=16, Resulting Numbers: [16] 16,29 unequal: No Solution Exploring Operation: 43*27=1161, Resulting Numbers: [1161] 1161,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[56, 14], Operations: ['8+21=29', '43-29=14'] Exploring Operation: 56-14=42, Resulting Numbers: [42] 42,29 unequal: No Solution Exploring Operation: 56+14=70, Resulting Numbers: [70] 70,29 unequal: No Solution Exploring Operation: 56/14=4, Resulting Numbers: [4] 4,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 29:[43, 21, 48], Operations: ['56-8=48'] Exploring Operation: 43-21=22, Resulting Numbers: [48, 22] Generated Node #0,2,0: 29:[48, 22] Operation: 43-21=22 Exploring Operation: 48-21=27, Resulting Numbers: [43, 27] Generated Node #0,2,1: 29:[43, 27] Operation: 48-21=27 Exploring Operation: 48-43=5, Resulting Numbers: [21, 5] Generated Node #0,2,2: 29:[21, 5] Operation: 48-43=5 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 29:[43, 27], Operations: ['56-8=48', '48-21=27'] Exploring Operation: 43*27=1161, Resulting Numbers: [1161] 1161,29 unequal: No Solution Exploring Operation: 43-27=16, Resulting Numbers: [16] 16,29 unequal: No Solution Exploring Operation: 43+27=70, Resulting Numbers: [70] 70,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 29:[48, 22], Operations: ['56-8=48', '43-21=22'] Exploring Operation: 48+22=70, Resulting Numbers: [70] 70,29 unequal: No Solution Exploring Operation: 48-22=26, Resulting Numbers: [26] 26,29 unequal: No Solution Exploring Operation: 48*22=1056, Resulting Numbers: [1056] 1056,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 29:[21, 5], Operations: ['56-8=48', '48-43=5'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,29 unequal: No Solution Exploring Operation: 21*5=105, Resulting Numbers: [105] 105,29 unequal: No Solution Exploring Operation: 21+5=26, Resulting Numbers: [26] 26,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 61, 17, 95, 98 ]
49
[ "95-61=34", "17*98=1666", "1666/34=49" ]
Current State: 49:[61, 17, 95, 98], Operations: [] Exploring Operation: 95-61=34, Resulting Numbers: [17, 98, 34] Generated Node #2: [17, 98, 34] from Operation: 95-61=34 Current State: 49:[17, 98, 34], Operations: ['95-61=34'] Exploring Operation: 17*98=1666, Resulting Numbers: [34, 1666] Generated Node #3: [34, 1666] from Operation: 17*98=1666 Current State: 49:[34, 1666], Operations: ['95-61=34', '17*98=1666'] Exploring Operation: 1666/34=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[61, 17, 95, 98], Operations: [] Exploring Operation: 98-95=3, Resulting Numbers: [61, 17, 3] Generated Node #0,0: 49:[61, 17, 3] Operation: 98-95=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[61, 17, 3], Operations: ['98-95=3'] Exploring Operation: 61-17=44, Resulting Numbers: [3, 44] Generated Node #0,0,0: 49:[3, 44] Operation: 61-17=44 Moving to Node #0,0,0 Current State: 49:[3, 44], Operations: ['98-95=3', '61-17=44'] Exploring Operation: 3+44=47, Resulting Numbers: [47] 47,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
[ 54, 52, 9, 83 ]
46
[ "54-52=2", "9+83=92", "92/2=46" ]
Current State: 46:[54, 52, 9, 83], Operations: [] Exploring Operation: 54-52=2, Resulting Numbers: [9, 83, 2] Generated Node #2: [9, 83, 2] from Operation: 54-52=2 Current State: 46:[9, 83, 2], Operations: ['54-52=2'] Exploring Operation: 9+83=92, Resulting Numbers: [2, 92] Generated Node #3: [2, 92] from Operation: 9+83=92 Current State: 46:[2, 92], Operations: ['54-52=2', '9+83=92'] Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[54, 52, 9, 83], Operations: [] Exploring Operation: 83-52=31, Resulting Numbers: [54, 9, 31] Generated Node #0,0: 46:[54, 9, 31] Operation: 83-52=31 Exploring Operation: 83-9=74, Resulting Numbers: [54, 52, 74] Generated Node #0,1: 46:[54, 52, 74] Operation: 83-9=74 Exploring Operation: 54-52=2, Resulting Numbers: [9, 83, 2] Generated Node #0,2: 46:[9, 83, 2] Operation: 54-52=2 Exploring Operation: 83-54=29, Resulting Numbers: [52, 9, 29] Generated Node #0,3: 46:[52, 9, 29] Operation: 83-54=29 Moving to Node #0,3 Current State: 46:[52, 9, 29], Operations: ['83-54=29'] Exploring Operation: 9+29=38, Resulting Numbers: [52, 38] Generated Node #0,3,0: 46:[52, 38] Operation: 9+29=38 Exploring Operation: 29-9=20, Resulting Numbers: [52, 20] Generated Node #0,3,1: 46:[52, 20] Operation: 29-9=20 Exploring Operation: 52-29=23, Resulting Numbers: [9, 23] Generated Node #0,3,2: 46:[9, 23] Operation: 52-29=23 Exploring Operation: 52-9=43, Resulting Numbers: [29, 43] Generated Node #0,3,3: 46:[29, 43] Operation: 52-9=43 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 46:[9, 23], Operations: ['83-54=29', '52-29=23'] Exploring Operation: 9*23=207, Resulting Numbers: [207] 207,46 unequal: No Solution Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,46 unequal: No Solution Exploring Operation: 9+23=32, Resulting Numbers: [32] 32,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,1 Current State: 46:[52, 20], Operations: ['83-54=29', '29-9=20'] Exploring Operation: 52-20=32, Resulting Numbers: [32] 32,46 unequal: No Solution Exploring Operation: 52*20=1040, Resulting Numbers: [1040] 1040,46 unequal: No Solution Exploring Operation: 52+20=72, Resulting Numbers: [72] 72,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:[29, 43], Operations: ['83-54=29', '52-9=43'] Exploring Operation: 29*43=1247, Resulting Numbers: [1247] 1247,46 unequal: No Solution Exploring Operation: 43-29=14, Resulting Numbers: [14] 14,46 unequal: No Solution Exploring Operation: 29+43=72, Resulting Numbers: [72] 72,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:[52, 38], Operations: ['83-54=29', '9+29=38'] Exploring Operation: 52*38=1976, Resulting Numbers: [1976] 1976,46 unequal: No Solution Exploring Operation: 52+38=90, Resulting Numbers: [90] 90,46 unequal: No Solution Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,46 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: 46:[54, 9, 31], Operations: ['83-52=31'] Exploring Operation: 54-9=45, Resulting Numbers: [31, 45] Generated Node #0,0,0: 46:[31, 45] Operation: 54-9=45 Exploring Operation: 54-31=23, Resulting Numbers: [9, 23] Generated Node #0,0,1: 46:[9, 23] Operation: 54-31=23 Exploring Operation: 54/9=6, Resulting Numbers: [31, 6] Generated Node #0,0,2: 46:[31, 6] Operation: 54/9=6 Exploring Operation: 31-9=22, Resulting Numbers: [54, 22] Generated Node #0,0,3: 46:[54, 22] Operation: 31-9=22 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 46:[9, 23], Operations: ['83-52=31', '54-31=23'] Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,46 unequal: No Solution Exploring Operation: 9+23=32, Resulting Numbers: [32] 32,46 unequal: No Solution Exploring Operation: 9*23=207, Resulting Numbers: [207] 207,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,0,0 Current State: 46:[31, 45], Operations: ['83-52=31', '54-9=45'] Exploring Operation: 31*45=1395, Resulting Numbers: [1395] 1395,46 unequal: No Solution Exploring Operation: 31+45=76, Resulting Numbers: [76] 76,46 unequal: No Solution Exploring Operation: 45-31=14, Resulting Numbers: [14] 14,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,0,3 Current State: 46:[54, 22], Operations: ['83-52=31', '31-9=22'] Exploring Operation: 54-22=32, Resulting Numbers: [32] 32,46 unequal: No Solution Exploring Operation: 54*22=1188, Resulting Numbers: [1188] 1188,46 unequal: No Solution Exploring Operation: 54+22=76, Resulting Numbers: [76] 76,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,0,2 Current State: 46:[31, 6], Operations: ['83-52=31', '54/9=6'] Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 31*6=186, Resulting Numbers: [186] 186,46 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,46 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: 46:[54, 52, 74], Operations: ['83-9=74'] Exploring Operation: 54-52=2, Resulting Numbers: [74, 2] Generated Node #0,1,0: 46:[74, 2] Operation: 54-52=2 Exploring Operation: 54+52=106, Resulting Numbers: [74, 106] Generated Node #0,1,1: 46:[74, 106] Operation: 54+52=106 Exploring Operation: 74-54=20, Resulting Numbers: [52, 20] Generated Node #0,1,2: 46:[52, 20] Operation: 74-54=20 Exploring Operation: 74-52=22, Resulting Numbers: [54, 22] Generated Node #0,1,3: 46:[54, 22] Operation: 74-52=22 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 46:[52, 20], Operations: ['83-9=74', '74-54=20'] Exploring Operation: 52*20=1040, Resulting Numbers: [1040] 1040,46 unequal: No Solution Exploring Operation: 52-20=32, Resulting Numbers: [32] 32,46 unequal: No Solution Exploring Operation: 52+20=72, Resulting Numbers: [72] 72,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 46:[54, 22], Operations: ['83-9=74', '74-52=22'] Exploring Operation: 54*22=1188, Resulting Numbers: [1188] 1188,46 unequal: No Solution Exploring Operation: 54+22=76, Resulting Numbers: [76] 76,46 unequal: No Solution Exploring Operation: 54-22=32, Resulting Numbers: [32] 32,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 46:[74, 2], Operations: ['83-9=74', '54-52=2'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,46 unequal: No Solution Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,46 unequal: No Solution Exploring Operation: 74*2=148, Resulting Numbers: [148] 148,46 unequal: No Solution Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 46:[74, 106], Operations: ['83-9=74', '54+52=106'] Exploring Operation: 74*106=7844, Resulting Numbers: [7844] 7844,46 unequal: No Solution Exploring Operation: 106-74=32, Resulting Numbers: [32] 32,46 unequal: No Solution Exploring Operation: 74+106=180, Resulting Numbers: [180] 180,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:[9, 83, 2], Operations: ['54-52=2'] Exploring Operation: 83-2=81, Resulting Numbers: [9, 81] Generated Node #0,2,0: 46:[9, 81] Operation: 83-2=81 Exploring Operation: 9-2=7, Resulting Numbers: [83, 7] Generated Node #0,2,1: 46:[83, 7] Operation: 9-2=7 Exploring Operation: 9*2=18, Resulting Numbers: [83, 18] Generated Node #0,2,2: 46:[83, 18] Operation: 9*2=18 Exploring Operation: 83-9=74, Resulting Numbers: [2, 74] Generated Node #0,2,3: 46:[2, 74] Operation: 83-9=74 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 46:[2, 74], Operations: ['54-52=2', '83-9=74'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,46 unequal: No Solution Exploring Operation: 2*74=148, Resulting Numbers: [148] 148,46 unequal: No Solution Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 2+74=76, Resulting Numbers: [76] 76,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,2,0 Current State: 46:[9, 81], Operations: ['54-52=2', '83-2=81'] Exploring Operation: 81-9=72, Resulting Numbers: [72] 72,46 unequal: No Solution Exploring Operation: 9+81=90, Resulting Numbers: [90] 90,46 unequal: No Solution Exploring Operation: 9*81=729, Resulting Numbers: [729] 729,46 unequal: No Solution Exploring Operation: 81/9=9, Resulting Numbers: [9] 9,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,2,1 Current State: 46:[83, 7], Operations: ['54-52=2', '9-2=7'] Exploring Operation: 83+7=90, Resulting Numbers: [90] 90,46 unequal: No Solution Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,46 unequal: No Solution Exploring Operation: 83*7=581, Resulting Numbers: [581] 581,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,2,2 Current State: 46:[83, 18], Operations: ['54-52=2', '9*2=18'] Exploring Operation: 83*18=1494, Resulting Numbers: [1494] 1494,46 unequal: No Solution Exploring Operation: 83-18=65, Resulting Numbers: [65] 65,46 unequal: No Solution Exploring Operation: 83+18=101, Resulting Numbers: [101] 101,46 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
[ 15, 25, 90, 15 ]
81
[ "15*15=225", "225/25=9", "90-9=81" ]
Current State: 81:[15, 25, 90, 15], Operations: [] Exploring Operation: 15*15=225, Resulting Numbers: [25, 90, 225] Generated Node #2: [25, 90, 225] from Operation: 15*15=225 Current State: 81:[25, 90, 225], Operations: ['15*15=225'] Exploring Operation: 225/25=9, Resulting Numbers: [90, 9] Generated Node #3: [90, 9] from Operation: 225/25=9 Current State: 81:[90, 9], Operations: ['15*15=225', '225/25=9'] Exploring Operation: 90-9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[15, 25, 90, 15], Operations: [] Exploring Operation: 90/15=6, Resulting Numbers: [25, 15, 6] Generated Node #0,0: 81:[25, 15, 6] Operation: 90/15=6 Moving to Node #0,0 Current State: 81:[25, 15, 6], Operations: ['90/15=6'] Exploring Operation: 15-6=9, Resulting Numbers: [25, 9] Generated Node #0,0,0: 81:[25, 9] Operation: 15-6=9 Moving to Node #0,0,0 Current State: 81:[25, 9], Operations: ['90/15=6', '15-6=9'] Exploring Operation: 25+9=34, Resulting Numbers: [34] 34,81 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 57, 92, 61, 3 ]
70
[ "57+92=149", "61+149=210", "210/3=70" ]
Current State: 70:[57, 92, 61, 3], Operations: [] Exploring Operation: 57+92=149, Resulting Numbers: [61, 3, 149] Generated Node #2: [61, 3, 149] from Operation: 57+92=149 Current State: 70:[61, 3, 149], Operations: ['57+92=149'] Exploring Operation: 61+149=210, Resulting Numbers: [3, 210] Generated Node #3: [3, 210] from Operation: 61+149=210 Current State: 70:[3, 210], Operations: ['57+92=149', '61+149=210'] Exploring Operation: 210/3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[57, 92, 61, 3], Operations: [] Exploring Operation: 92-57=35, Resulting Numbers: [61, 3, 35] Generated Node #0,0: 70:[61, 3, 35] Operation: 92-57=35 Moving to Node #0,0 Current State: 70:[61, 3, 35], Operations: ['92-57=35'] Exploring Operation: 61+3=64, Resulting Numbers: [35, 64] Generated Node #0,0,0: 70:[35, 64] Operation: 61+3=64 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[35, 64], Operations: ['92-57=35', '61+3=64'] Exploring Operation: 64-35=29, Resulting Numbers: [29] 29,70 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
[ 33, 97, 35, 47 ]
43
[ "97+35=132", "132/33=4", "47-4=43" ]
Current State: 43:[33, 97, 35, 47], Operations: [] Exploring Operation: 97+35=132, Resulting Numbers: [33, 47, 132] Generated Node #2: [33, 47, 132] from Operation: 97+35=132 Current State: 43:[33, 47, 132], Operations: ['97+35=132'] Exploring Operation: 132/33=4, Resulting Numbers: [47, 4] Generated Node #3: [47, 4] from Operation: 132/33=4 Current State: 43:[47, 4], Operations: ['97+35=132', '132/33=4'] Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[33, 97, 35, 47], Operations: [] Exploring Operation: 97-47=50, Resulting Numbers: [33, 35, 50] Generated Node #0,0: 43:[33, 35, 50] Operation: 97-47=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[33, 35, 50], Operations: ['97-47=50'] Exploring Operation: 33+35=68, Resulting Numbers: [50, 68] Generated Node #0,0,0: 43:[50, 68] Operation: 33+35=68 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[50, 68], Operations: ['97-47=50', '33+35=68'] Exploring Operation: 68-50=18, Resulting Numbers: [18] 18,43 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
[ 75, 46, 8, 82 ]
47
[ "75+46=121", "82-8=74", "121-74=47" ]
Current State: 47:[75, 46, 8, 82], Operations: [] Exploring Operation: 75+46=121, Resulting Numbers: [8, 82, 121] Generated Node #2: [8, 82, 121] from Operation: 75+46=121 Current State: 47:[8, 82, 121], Operations: ['75+46=121'] Exploring Operation: 82-8=74, Resulting Numbers: [121, 74] Generated Node #3: [121, 74] from Operation: 82-8=74 Current State: 47:[121, 74], Operations: ['75+46=121', '82-8=74'] Exploring Operation: 121-74=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[75, 46, 8, 82], Operations: [] Exploring Operation: 75-8=67, Resulting Numbers: [46, 82, 67] Generated Node #0,0: 47:[46, 82, 67] Operation: 75-8=67 Exploring Operation: 82-8=74, Resulting Numbers: [75, 46, 74] Generated Node #0,1: 47:[75, 46, 74] Operation: 82-8=74 Exploring Operation: 46+8=54, Resulting Numbers: [75, 82, 54] Generated Node #0,2: 47:[75, 82, 54] Operation: 46+8=54 Exploring Operation: 75+8=83, Resulting Numbers: [46, 82, 83] Generated Node #0,3: 47:[46, 82, 83] Operation: 75+8=83 Moving to Node #0,0 Current State: 47:[46, 82, 67], Operations: ['75-8=67'] Exploring Operation: 82-67=15, Resulting Numbers: [46, 15] Generated Node #0,0,0: 47:[46, 15] Operation: 82-67=15 Exploring Operation: 46+82=128, Resulting Numbers: [67, 128] Generated Node #0,0,1: 47:[67, 128] Operation: 46+82=128 Exploring Operation: 67-46=21, Resulting Numbers: [82, 21] Generated Node #0,0,2: 47:[82, 21] Operation: 67-46=21 Exploring Operation: 82-46=36, Resulting Numbers: [67, 36] Generated Node #0,0,3: 47:[67, 36] Operation: 82-46=36 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 47:[67, 36], Operations: ['75-8=67', '82-46=36'] Exploring Operation: 67*36=2412, Resulting Numbers: [2412] 2412,47 unequal: No Solution Exploring Operation: 67-36=31, Resulting Numbers: [31] 31,47 unequal: No Solution Exploring Operation: 67+36=103, Resulting Numbers: [103] 103,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[46, 15], Operations: ['75-8=67', '82-67=15'] Exploring Operation: 46-15=31, Resulting Numbers: [31] 31,47 unequal: No Solution Exploring Operation: 46+15=61, Resulting Numbers: [61] 61,47 unequal: No Solution Exploring Operation: 46*15=690, Resulting Numbers: [690] 690,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 47:[82, 21], Operations: ['75-8=67', '67-46=21'] Exploring Operation: 82-21=61, Resulting Numbers: [61] 61,47 unequal: No Solution Exploring Operation: 82+21=103, Resulting Numbers: [103] 103,47 unequal: No Solution Exploring Operation: 82*21=1722, Resulting Numbers: [1722] 1722,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[67, 128], Operations: ['75-8=67', '46+82=128'] Exploring Operation: 67+128=195, Resulting Numbers: [195] 195,47 unequal: No Solution Exploring Operation: 128-67=61, Resulting Numbers: [61] 61,47 unequal: No Solution Exploring Operation: 67*128=8576, Resulting Numbers: [8576] 8576,47 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: 47:[75, 46, 74], Operations: ['82-8=74'] Exploring Operation: 75-74=1, Resulting Numbers: [46, 1] Generated Node #0,1,0: 47:[46, 1] Operation: 75-74=1 Exploring Operation: 75-46=29, Resulting Numbers: [74, 29] Generated Node #0,1,1: 47:[74, 29] Operation: 75-46=29 Exploring Operation: 74-46=28, Resulting Numbers: [75, 28] Generated Node #0,1,2: 47:[75, 28] Operation: 74-46=28 Exploring Operation: 75+46=121, Resulting Numbers: [74, 121] Generated Node #0,1,3: 47:[74, 121] Operation: 75+46=121 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 47:[74, 29], Operations: ['82-8=74', '75-46=29'] Exploring Operation: 74*29=2146, Resulting Numbers: [2146] 2146,47 unequal: No Solution Exploring Operation: 74+29=103, Resulting Numbers: [103] 103,47 unequal: No Solution Exploring Operation: 74-29=45, Resulting Numbers: [45] 45,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[46, 1], Operations: ['82-8=74', '75-74=1'] Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,47 unequal: No Solution Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[75, 46, 8, 82], Operations: [] Exploring Operation: 82-8=74, Resulting Numbers: [75, 46, 74] Generated Node #0,1: 47:[75, 46, 74] Operation: 82-8=74 Moving to Node #0,1 Current State: 47:[75, 46, 74], Operations: ['82-8=74'] Exploring Operation: 75-74=1, Resulting Numbers: [46, 1] Generated Node #0,1,0: 47:[46, 1] Operation: 75-74=1 Moving to Node #0,1,0 Current State: 47:[46, 1], Operations: ['82-8=74', '75-74=1'] Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
sum_heuristic
[ 9, 12, 6, 50 ]
23
[ "9+12=21", "50-6=44", "44-21=23" ]
Current State: 23:[9, 12, 6, 50], Operations: [] Exploring Operation: 9+12=21, Resulting Numbers: [6, 50, 21] Generated Node #2: [6, 50, 21] from Operation: 9+12=21 Current State: 23:[6, 50, 21], Operations: ['9+12=21'] Exploring Operation: 50-6=44, Resulting Numbers: [21, 44] Generated Node #3: [21, 44] from Operation: 50-6=44 Current State: 23:[21, 44], Operations: ['9+12=21', '50-6=44'] Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[9, 12, 6, 50], Operations: [] Exploring Operation: 9+12=21, Resulting Numbers: [6, 50, 21] Generated Node #0,0: 23:[6, 50, 21] Operation: 9+12=21 Moving to Node #0,0 Current State: 23:[6, 50, 21], Operations: ['9+12=21'] Exploring Operation: 50-6=44, Resulting Numbers: [21, 44] Generated Node #0,0,0: 23:[21, 44] Operation: 50-6=44 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[21, 44], Operations: ['9+12=21', '50-6=44'] Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[9, 12, 6, 50], Operations: [] Exploring Operation: 9+12=21, Resulting Numbers: [6, 50, 21] Generated Node #0,0: 23:[6, 50, 21] Operation: 9+12=21 Moving to Node #0,0 Current State: 23:[6, 50, 21], Operations: ['9+12=21'] Exploring Operation: 50-6=44, Resulting Numbers: [21, 44] Generated Node #0,0,0: 23:[21, 44] Operation: 50-6=44 Moving to Node #0,0,0 Current State: 23:[21, 44], Operations: ['9+12=21', '50-6=44'] Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 15, 58, 25, 98 ]
20
[ "15*98=1470", "58*25=1450", "1470-1450=20" ]
Current State: 20:[15, 58, 25, 98], Operations: [] Exploring Operation: 15*98=1470, Resulting Numbers: [58, 25, 1470] Generated Node #2: [58, 25, 1470] from Operation: 15*98=1470 Current State: 20:[58, 25, 1470], Operations: ['15*98=1470'] Exploring Operation: 58*25=1450, Resulting Numbers: [1470, 1450] Generated Node #3: [1470, 1450] from Operation: 58*25=1450 Current State: 20:[1470, 1450], Operations: ['15*98=1470', '58*25=1450'] Exploring Operation: 1470-1450=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[15, 58, 25, 98], Operations: [] Exploring Operation: 98-58=40, Resulting Numbers: [15, 25, 40] Generated Node #0,0: 20:[15, 25, 40] Operation: 98-58=40 Exploring Operation: 98-15=83, Resulting Numbers: [58, 25, 83] Generated Node #0,1: 20:[58, 25, 83] Operation: 98-15=83 Exploring Operation: 58-15=43, Resulting Numbers: [25, 98, 43] Generated Node #0,2: 20:[25, 98, 43] Operation: 58-15=43 Exploring Operation: 98-25=73, Resulting Numbers: [15, 58, 73] Generated Node #0,3: 20:[15, 58, 73] Operation: 98-25=73 Exploring Operation: 58-25=33, Resulting Numbers: [15, 98, 33] Generated Node #0,4: 20:[15, 98, 33] Operation: 58-25=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[15, 25, 40], Operations: ['98-58=40'] Exploring Operation: 15+40=55, Resulting Numbers: [25, 55] Generated Node #0,0,0: 20:[25, 55] Operation: 15+40=55 Exploring Operation: 40-25=15, Resulting Numbers: [15, 15] Generated Node #0,0,1: 20:[15, 15] Operation: 40-25=15 Exploring Operation: 40-15=25, Resulting Numbers: [25, 25] Generated Node #0,0,2: 20:[25, 25] Operation: 40-15=25 Exploring Operation: 25-15=10, Resulting Numbers: [40, 10] Generated Node #0,0,3: 20:[40, 10] Operation: 25-15=10 Exploring Operation: 15+25=40, Resulting Numbers: [40, 40] Generated Node #0,0,4: 20:[40, 40] Operation: 15+25=40 Moving to Node #0,0,1 Current State: 20:[15, 15], Operations: ['98-58=40', '40-25=15'] Exploring Operation: 15-15=0, Resulting Numbers: [0] 0,20 unequal: No Solution Exploring Operation: 15/15=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 15*15=225, Resulting Numbers: [225] 225,20 unequal: No Solution Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,20 unequal: No Solution Moving to Node #0,0,2 Current State: 20:[25, 25], Operations: ['98-58=40', '40-15=25'] Exploring Operation: 25/25=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 25*25=625, Resulting Numbers: [625] 625,20 unequal: No Solution Exploring Operation: 25+25=50, Resulting Numbers: [50] 50,20 unequal: No Solution Exploring Operation: 25-25=0, Resulting Numbers: [0] 0,20 unequal: No Solution Moving to Node #0,0,3 Current State: 20:[40, 10], Operations: ['98-58=40', '25-15=10'] Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,20 unequal: No Solution Exploring Operation: 40*10=400, Resulting Numbers: [400] 400,20 unequal: No Solution Exploring Operation: 40+10=50, Resulting Numbers: [50] 50,20 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,20 unequal: No Solution Moving to Node #0,0,0 Current State: 20:[25, 55], Operations: ['98-58=40', '15+40=55'] Exploring Operation: 25*55=1375, Resulting Numbers: [1375] 1375,20 unequal: No Solution Exploring Operation: 55-25=30, Resulting Numbers: [30] 30,20 unequal: No Solution Exploring Operation: 25+55=80, Resulting Numbers: [80] 80,20 unequal: No Solution Moving to Node #0,0,4 Current State: 20:[40, 40], Operations: ['98-58=40', '15+25=40'] Exploring Operation: 40*40=1600, Resulting Numbers: [1600] 1600,20 unequal: No Solution Exploring Operation: 40-40=0, Resulting Numbers: [0] 0,20 unequal: No Solution Exploring Operation: 40/40=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 40+40=80, Resulting Numbers: [80] 80,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 20:[15, 58, 73], Operations: ['98-25=73'] Exploring Operation: 15+58=73, Resulting Numbers: [73, 73] Generated Node #0,3,0: 20:[73, 73] Operation: 15+58=73 Exploring Operation: 15+73=88, Resulting Numbers: [58, 88] Generated Node #0,3,1: 20:[58, 88] Operation: 15+73=88 Exploring Operation: 73-15=58, Resulting Numbers: [58, 58] Generated Node #0,3,2: 20:[58, 58] Operation: 73-15=58 Exploring Operation: 58-15=43, Resulting Numbers: [73, 43] Generated Node #0,3,3: 20:[73, 43] Operation: 58-15=43 Exploring Operation: 73-58=15, Resulting Numbers: [15, 15] Generated Node #0,3,4: 20:[15, 15] Operation: 73-58=15 Moving to Node #0,3,4 Current State: 20:[15, 15], Operations: ['98-25=73', '73-58=15'] Exploring Operation: 15/15=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 15*15=225, Resulting Numbers: [225] 225,20 unequal: No Solution Exploring Operation: 15-15=0, Resulting Numbers: [0] 0,20 unequal: No Solution Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,20 unequal: No Solution Moving to Node #0,3,3 Current State: 20:[73, 43], Operations: ['98-25=73', '58-15=43'] Exploring Operation: 73*43=3139, Resulting Numbers: [3139] 3139,20 unequal: No Solution Exploring Operation: 73-43=30, Resulting Numbers: [30] 30,20 unequal: No Solution Exploring Operation: 73+43=116, Resulting Numbers: [116] 116,20 unequal: No Solution Moving to Node #0,3,2 Current State: 20:[58, 58], Operations: ['98-25=73', '73-15=58'] Exploring Operation: 58+58=116, Resulting Numbers: [116] 116,20 unequal: No Solution Exploring Operation: 58-58=0, Resulting Numbers: [0] 0,20 unequal: No Solution Exploring Operation: 58/58=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 58*58=3364, Resulting Numbers: [3364] 3364,20 unequal: No Solution Moving to Node #0,3,0 Current State: 20:[73, 73], Operations: ['98-25=73', '15+58=73'] Exploring Operation: 73/73=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 73+73=146, Resulting Numbers: [146] 146,20 unequal: No Solution Exploring Operation: 73*73=5329, Resulting Numbers: [5329] 5329,20 unequal: No Solution Exploring Operation: 73-73=0, Resulting Numbers: [0] 0,20 unequal: No Solution Moving to Node #0,3,1 Current State: 20:[58, 88], Operations: ['98-25=73', '15+73=88'] Exploring Operation: 88-58=30, Resulting Numbers: [30] 30,20 unequal: No Solution Exploring Operation: 58*88=5104, Resulting Numbers: [5104] 5104,20 unequal: No Solution Exploring Operation: 58+88=146, Resulting Numbers: [146] 146,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,4 Current State: 20:[15, 98, 33], Operations: ['58-25=33'] Exploring Operation: 98-33=65, Resulting Numbers: [15, 65] Generated Node #0,4,0: 20:[15, 65] Operation: 98-33=65 Exploring Operation: 15+98=113, Resulting Numbers: [33, 113] Generated Node #0,4,1: 20:[33, 113] Operation: 15+98=113 Exploring Operation: 33-15=18, Resulting Numbers: [98, 18] Generated Node #0,4,2: 20:[98, 18] Operation: 33-15=18 Exploring Operation: 15+33=48, Resulting Numbers: [98, 48] Generated Node #0,4,3: 20:[98, 48] Operation: 15+33=48 Exploring Operation: 98-15=83, Resulting Numbers: [33, 83] Generated Node #0,4,4: 20:[33, 83] Operation: 98-15=83 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 20:[15, 65], Operations: ['58-25=33', '98-33=65'] Exploring Operation: 15+65=80, Resulting Numbers: [80] 80,20 unequal: No Solution Exploring Operation: 65-15=50, Resulting Numbers: [50] 50,20 unequal: No Solution Exploring Operation: 15*65=975, Resulting Numbers: [975] 975,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,4,4 Current State: 20:[33, 83], Operations: ['58-25=33', '98-15=83'] Exploring Operation: 33+83=116, Resulting Numbers: [116] 116,20 unequal: No Solution Exploring Operation: 83-33=50, Resulting Numbers: [50] 50,20 unequal: No Solution Exploring Operation: 33*83=2739, Resulting Numbers: [2739] 2739,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,4,2 Current State: 20:[98, 18], Operations: ['58-25=33', '33-15=18'] Exploring Operation: 98+18=116, Resulting Numbers: [116] 116,20 unequal: No Solution Exploring Operation: 98-18=80, Resulting Numbers: [80] 80,20 unequal: No Solution Exploring Operation: 98*18=1764, Resulting Numbers: [1764] 1764,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,4,1 Current State: 20:[33, 113], Operations: ['58-25=33', '15+98=113'] Exploring Operation: 33+113=146, Resulting Numbers: [146] 146,20 unequal: No Solution Exploring Operation: 33*113=3729, Resulting Numbers: [3729] 3729,20 unequal: No Solution Exploring Operation: 113-33=80, Resulting Numbers: [80] 80,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,4,3 Current State: 20:[98, 48], Operations: ['58-25=33', '15+33=48'] Exploring Operation: 98*48=4704, Resulting Numbers: [4704] 4704,20 unequal: No Solution Exploring Operation: 98-48=50, Resulting Numbers: [50] 50,20 unequal: No Solution Exploring Operation: 98+48=146, Resulting Numbers: [146] 146,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,1 Current State: 20:[58, 25, 83], Operations: ['98-15=83'] Exploring Operation: 83-58=25, Resulting Numbers: [25, 25] Generated Node #0,1,0: 20:[25, 25] Operation: 83-58=25 Exploring Operation: 83-25=58, Resulting Numbers: [58, 58] Generated Node #0,1,1: 20:[58, 58] Operation: 83-25=58 Exploring Operation: 58+25=83, Resulting Numbers: [83, 83] Generated Node #0,1,2: 20:[83, 83] Operation: 58+25=83 Exploring Operation: 58-25=33, Resulting Numbers: [83, 33] Generated Node #0,1,3: 20:[83, 33] Operation: 58-25=33 Exploring Operation: 58+83=141, Resulting Numbers: [25, 141] Generated Node #0,1,4: 20:[25, 141] Operation: 58+83=141 Moving to Node #0,1,0 Current State: 20:[25, 25], Operations: ['98-15=83', '83-58=25'] Exploring Operation: 25-25=0, Resulting Numbers: [0] 0,20 unequal: No Solution Exploring Operation: 25+25=50, Resulting Numbers: [50] 50,20 unequal: No Solution Exploring Operation: 25/25=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 25*25=625, Resulting Numbers: [625] 625,20 unequal: No Solution Moving to Node #0,1,3 Current State: 20:[83, 33], Operations: ['98-15=83', '58-25=33'] Exploring Operation: 83*33=2739, Resulting Numbers: [2739] 2739,20 unequal: No Solution Exploring Operation: 83+33=116, Resulting Numbers: [116] 116,20 unequal: No Solution Exploring Operation: 83-33=50, Resulting Numbers: [50] 50,20 unequal: No Solution Moving to Node #0,1,1 Current State: 20:[58, 58], Operations: ['98-15=83', '83-25=58'] Exploring Operation: 58/58=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 58*58=3364, Resulting Numbers: [3364] 3364,20 unequal: No Solution Exploring Operation: 58+58=116, Resulting Numbers: [116] 116,20 unequal: No Solution Exploring Operation: 58-58=0, Resulting Numbers: [0] 0,20 unequal: No Solution Moving to Node #0,1,2 Current State: 20:[83, 83], Operations: ['98-15=83', '58+25=83'] Exploring Operation: 83-83=0, Resulting Numbers: [0] 0,20 unequal: No Solution Exploring Operation: 83/83=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 83+83=166, Resulting Numbers: [166] 166,20 unequal: No Solution Exploring Operation: 83*83=6889, Resulting Numbers: [6889] 6889,20 unequal: No Solution Moving to Node #0,1,4 Current State: 20:[25, 141], Operations: ['98-15=83', '58+83=141'] Exploring Operation: 25+141=166, Resulting Numbers: [166] 166,20 unequal: No Solution Exploring Operation: 25*141=3525, Resulting Numbers: [3525] 3525,20 unequal: No Solution Exploring Operation: 141-25=116, Resulting Numbers: [116] 116,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,2 Current State: 20:[25, 98, 43], Operations: ['58-15=43'] Exploring Operation: 25+98=123, Resulting Numbers: [43, 123] Generated Node #0,2,0: 20:[43, 123] Operation: 25+98=123 Exploring Operation: 98-43=55, Resulting Numbers: [25, 55] Generated Node #0,2,1: 20:[25, 55] Operation: 98-43=55 Exploring Operation: 98-25=73, Resulting Numbers: [43, 73] Generated Node #0,2,2: 20:[43, 73] Operation: 98-25=73 Exploring Operation: 43-25=18, Resulting Numbers: [98, 18] Generated Node #0,2,3: 20:[98, 18] Operation: 43-25=18 Exploring Operation: 25+43=68, Resulting Numbers: [98, 68] Generated Node #0,2,4: 20:[98, 68] Operation: 25+43=68 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 20:[25, 55], Operations: ['58-15=43', '98-43=55'] Exploring Operation: 25*55=1375, Resulting Numbers: [1375] 1375,20 unequal: No Solution Exploring Operation: 25+55=80, Resulting Numbers: [80] 80,20 unequal: No Solution Exploring Operation: 55-25=30, Resulting Numbers: [30] 30,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,2,2 Current State: 20:[43, 73], Operations: ['58-15=43', '98-25=73'] Exploring Operation: 43+73=116, Resulting Numbers: [116] 116,20 unequal: No Solution Exploring Operation: 43*73=3139, Resulting Numbers: [3139] 3139,20 unequal: No Solution Exploring Operation: 73-43=30, Resulting Numbers: [30] 30,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,2,3 Current State: 20:[98, 18], Operations: ['58-15=43', '43-25=18'] Exploring Operation: 98+18=116, Resulting Numbers: [116] 116,20 unequal: No Solution Exploring Operation: 98*18=1764, Resulting Numbers: [1764] 1764,20 unequal: No Solution Exploring Operation: 98-18=80, Resulting Numbers: [80] 80,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,2,0 Current State: 20:[43, 123], Operations: ['58-15=43', '25+98=123'] Exploring Operation: 123-43=80, Resulting Numbers: [80] 80,20 unequal: No Solution Exploring Operation: 43*123=5289, Resulting Numbers: [5289] 5289,20 unequal: No Solution Exploring Operation: 43+123=166, Resulting Numbers: [166] 166,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,2,4 Current State: 20:[98, 68], Operations: ['58-15=43', '25+43=68'] Exploring Operation: 98-68=30, Resulting Numbers: [30] 30,20 unequal: No Solution Exploring Operation: 98*68=6664, Resulting Numbers: [6664] 6664,20 unequal: No Solution Exploring Operation: 98+68=166, Resulting Numbers: [166] 166,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 No solution found.
0
hs_5
mult_heuristic
[ 94, 2, 49, 14 ]
89
[ "94-14=80", "80/2=40", "49+40=89" ]
Current State: 89:[94, 2, 49, 14], Operations: [] Exploring Operation: 94-14=80, Resulting Numbers: [2, 49, 80] Generated Node #2: [2, 49, 80] from Operation: 94-14=80 Current State: 89:[2, 49, 80], Operations: ['94-14=80'] Exploring Operation: 80/2=40, Resulting Numbers: [49, 40] Generated Node #3: [49, 40] from Operation: 80/2=40 Current State: 89:[49, 40], Operations: ['94-14=80', '80/2=40'] Exploring Operation: 49+40=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[94, 2, 49, 14], Operations: [] Exploring Operation: 2*14=28, Resulting Numbers: [94, 49, 28] Generated Node #0,0: 89:[94, 49, 28] Operation: 2*14=28 Exploring Operation: 2*49=98, Resulting Numbers: [94, 14, 98] Generated Node #0,1: 89:[94, 14, 98] Operation: 2*49=98 Moving to Node #0,1 Current State: 89:[94, 14, 98], Operations: ['2*49=98'] Exploring Operation: 98-14=84, Resulting Numbers: [94, 84] Generated Node #0,1,0: 89:[94, 84] Operation: 98-14=84 Exploring Operation: 94-14=80, Resulting Numbers: [98, 80] Generated Node #0,1,1: 89:[98, 80] Operation: 94-14=80 Moving to Node #0,0 Current State: 89:[94, 49, 28], Operations: ['2*14=28'] Exploring Operation: 94-28=66, Resulting Numbers: [49, 66] Generated Node #0,0,0: 89:[49, 66] Operation: 94-28=66 Exploring Operation: 49+28=77, Resulting Numbers: [94, 77] Generated Node #0,0,1: 89:[94, 77] Operation: 49+28=77 Moving to Node #0,1,0 Current State: 89:[94, 84], Operations: ['2*49=98', '98-14=84'] Exploring Operation: 94+84=178, Resulting Numbers: [178] 178,89 unequal: No Solution Exploring Operation: 94-84=10, Resulting Numbers: [10] 10,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[94, 77], Operations: ['2*14=28', '49+28=77'] Exploring Operation: 94+77=171, Resulting Numbers: [171] 171,89 unequal: No Solution Exploring Operation: 94-77=17, Resulting Numbers: [17] 17,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[98, 80], Operations: ['2*49=98', '94-14=80'] Exploring Operation: 98-80=18, Resulting Numbers: [18] 18,89 unequal: No Solution Exploring Operation: 98+80=178, Resulting Numbers: [178] 178,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[49, 66], Operations: ['2*14=28', '94-28=66'] Exploring Operation: 66-49=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 49+66=115, Resulting Numbers: [115] 115,89 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 69, 39, 72, 22 ]
35
[ "72-69=3", "39/3=13", "22+13=35" ]
Current State: 35:[69, 39, 72, 22], Operations: [] Exploring Operation: 72-69=3, Resulting Numbers: [39, 22, 3] Generated Node #2: [39, 22, 3] from Operation: 72-69=3 Current State: 35:[39, 22, 3], Operations: ['72-69=3'] Exploring Operation: 39/3=13, Resulting Numbers: [22, 13] Generated Node #3: [22, 13] from Operation: 39/3=13 Current State: 35:[22, 13], Operations: ['72-69=3', '39/3=13'] Exploring Operation: 22+13=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[69, 39, 72, 22], Operations: [] Exploring Operation: 69-22=47, Resulting Numbers: [39, 72, 47] Generated Node #0,0: 35:[39, 72, 47] Operation: 69-22=47 Exploring Operation: 72-39=33, Resulting Numbers: [69, 22, 33] Generated Node #0,1: 35:[69, 22, 33] Operation: 72-39=33 Exploring Operation: 72-69=3, Resulting Numbers: [39, 22, 3] Generated Node #0,2: 35:[39, 22, 3] Operation: 72-69=3 Exploring Operation: 69-39=30, Resulting Numbers: [72, 22, 30] Generated Node #0,3: 35:[72, 22, 30] Operation: 69-39=30 Exploring Operation: 72-22=50, Resulting Numbers: [69, 39, 50] Generated Node #0,4: 35:[69, 39, 50] Operation: 72-22=50 Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[39, 22, 3], Operations: ['72-69=3'] Exploring Operation: 39/3=13, Resulting Numbers: [22, 13] Generated Node #0,2,0: 35:[22, 13] Operation: 39/3=13 Exploring Operation: 22+3=25, Resulting Numbers: [39, 25] Generated Node #0,2,1: 35:[39, 25] Operation: 22+3=25 Exploring Operation: 22-3=19, Resulting Numbers: [39, 19] Generated Node #0,2,2: 35:[39, 19] Operation: 22-3=19 Exploring Operation: 39-3=36, Resulting Numbers: [22, 36] Generated Node #0,2,3: 35:[22, 36] Operation: 39-3=36 Exploring Operation: 39-22=17, Resulting Numbers: [3, 17] Generated Node #0,2,4: 35:[3, 17] Operation: 39-22=17 Moving to Node #0,2,4 Current State: 35:[3, 17], Operations: ['72-69=3', '39-22=17'] Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,35 unequal: No Solution Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,35 unequal: No Solution Moving to Node #0,2,3 Current State: 35:[22, 36], Operations: ['72-69=3', '39-3=36'] Exploring Operation: 36-22=14, Resulting Numbers: [14] 14,35 unequal: No Solution Exploring Operation: 22+36=58, Resulting Numbers: [58] 58,35 unequal: No Solution Exploring Operation: 22*36=792, Resulting Numbers: [792] 792,35 unequal: No Solution Moving to Node #0,2,1 Current State: 35:[39, 25], Operations: ['72-69=3', '22+3=25'] Exploring Operation: 39+25=64, Resulting Numbers: [64] 64,35 unequal: No Solution Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,35 unequal: No Solution Exploring Operation: 39*25=975, Resulting Numbers: [975] 975,35 unequal: No Solution Moving to Node #0,2,2 Current State: 35:[39, 19], Operations: ['72-69=3', '22-3=19'] Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 39+19=58, Resulting Numbers: [58] 58,35 unequal: No Solution Exploring Operation: 39*19=741, Resulting Numbers: [741] 741,35 unequal: No Solution Moving to Node #0,2,0 Current State: 35:[22, 13], Operations: ['72-69=3', '39/3=13'] Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,35 unequal: No Solution Exploring Operation: 22+13=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[69, 39, 72, 22], Operations: [] Exploring Operation: 72-69=3, Resulting Numbers: [39, 22, 3] Generated Node #0,2: 35:[39, 22, 3] Operation: 72-69=3 Moving to Node #0,2 Current State: 35:[39, 22, 3], Operations: ['72-69=3'] Exploring Operation: 39/3=13, Resulting Numbers: [22, 13] Generated Node #0,2,0: 35:[22, 13] Operation: 39/3=13 Moving to Node #0,2,0 Current State: 35:[22, 13], Operations: ['72-69=3', '39/3=13'] Exploring Operation: 22+13=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_5
mult_heuristic
[ 69, 54, 84, 51 ]
90
[ "69+54=123", "84-51=33", "123-33=90" ]
Current State: 90:[69, 54, 84, 51], Operations: [] Exploring Operation: 69+54=123, Resulting Numbers: [84, 51, 123] Generated Node #2: [84, 51, 123] from Operation: 69+54=123 Current State: 90:[84, 51, 123], Operations: ['69+54=123'] Exploring Operation: 84-51=33, Resulting Numbers: [123, 33] Generated Node #3: [123, 33] from Operation: 84-51=33 Current State: 90:[123, 33], Operations: ['69+54=123', '84-51=33'] Exploring Operation: 123-33=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[69, 54, 84, 51], Operations: [] Exploring Operation: 69-51=18, Resulting Numbers: [54, 84, 18] Generated Node #0,0: 90:[54, 84, 18] Operation: 69-51=18 Exploring Operation: 54-51=3, Resulting Numbers: [69, 84, 3] Generated Node #0,1: 90:[69, 84, 3] Operation: 54-51=3 Exploring Operation: 84-69=15, Resulting Numbers: [54, 51, 15] Generated Node #0,2: 90:[54, 51, 15] Operation: 84-69=15 Exploring Operation: 84-54=30, Resulting Numbers: [69, 51, 30] Generated Node #0,3: 90:[69, 51, 30] Operation: 84-54=30 Exploring Operation: 69-54=15, Resulting Numbers: [84, 51, 15] Generated Node #0,4: 90:[84, 51, 15] Operation: 69-54=15 Start Sub Search at level 1: Moving to Node #0,4 Current State: 90:[84, 51, 15], Operations: ['69-54=15'] Exploring Operation: 84-51=33, Resulting Numbers: [15, 33] Generated Node #0,4,0: 90:[15, 33] Operation: 84-51=33 Exploring Operation: 51+15=66, Resulting Numbers: [84, 66] Generated Node #0,4,1: 90:[84, 66] Operation: 51+15=66 Exploring Operation: 51-15=36, Resulting Numbers: [84, 36] Generated Node #0,4,2: 90:[84, 36] Operation: 51-15=36 Exploring Operation: 84+15=99, Resulting Numbers: [51, 99] Generated Node #0,4,3: 90:[51, 99] Operation: 84+15=99 Exploring Operation: 84-15=69, Resulting Numbers: [51, 69] Generated Node #0,4,4: 90:[51, 69] Operation: 84-15=69 Moving to Node #0,4,0 Current State: 90:[15, 33], Operations: ['69-54=15', '84-51=33'] Exploring Operation: 15+33=48, Resulting Numbers: [48] 48,90 unequal: No Solution Exploring Operation: 15*33=495, Resulting Numbers: [495] 495,90 unequal: No Solution Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,90 unequal: No Solution Moving to Node #0,4,2 Current State: 90:[84, 36], Operations: ['69-54=15', '51-15=36'] Exploring Operation: 84+36=120, Resulting Numbers: [120] 120,90 unequal: No Solution Exploring Operation: 84*36=3024, Resulting Numbers: [3024] 3024,90 unequal: No Solution Exploring Operation: 84-36=48, Resulting Numbers: [48] 48,90 unequal: No Solution Moving to Node #0,4,3 Current State: 90:[51, 99], Operations: ['69-54=15', '84+15=99'] Exploring Operation: 51+99=150, Resulting Numbers: [150] 150,90 unequal: No Solution Exploring Operation: 99-51=48, Resulting Numbers: [48] 48,90 unequal: No Solution Exploring Operation: 51*99=5049, Resulting Numbers: [5049] 5049,90 unequal: No Solution Moving to Node #0,4,1 Current State: 90:[84, 66], Operations: ['69-54=15', '51+15=66'] Exploring Operation: 84-66=18, Resulting Numbers: [18] 18,90 unequal: No Solution Exploring Operation: 84*66=5544, Resulting Numbers: [5544] 5544,90 unequal: No Solution Exploring Operation: 84+66=150, Resulting Numbers: [150] 150,90 unequal: No Solution Moving to Node #0,4,4 Current State: 90:[51, 69], Operations: ['69-54=15', '84-15=69'] Exploring Operation: 69-51=18, Resulting Numbers: [18] 18,90 unequal: No Solution Exploring Operation: 51*69=3519, Resulting Numbers: [3519] 3519,90 unequal: No Solution Exploring Operation: 51+69=120, Resulting Numbers: [120] 120,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[54, 84, 18], Operations: ['69-51=18'] Exploring Operation: 84+18=102, Resulting Numbers: [54, 102] Generated Node #0,0,0: 90:[54, 102] Operation: 84+18=102 Exploring Operation: 54+18=72, Resulting Numbers: [84, 72] Generated Node #0,0,1: 90:[84, 72] Operation: 54+18=72 Exploring Operation: 84-54=30, Resulting Numbers: [18, 30] Generated Node #0,0,2: 90:[18, 30] Operation: 84-54=30 Exploring Operation: 54/18=3, Resulting Numbers: [84, 3] Generated Node #0,0,3: 90:[84, 3] Operation: 54/18=3 Exploring Operation: 54-18=36, Resulting Numbers: [84, 36] Generated Node #0,0,4: 90:[84, 36] Operation: 54-18=36 Moving to Node #0,0,2 Current State: 90:[18, 30], Operations: ['69-51=18', '84-54=30'] Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,90 unequal: No Solution Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,90 unequal: No Solution Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,90 unequal: No Solution Moving to Node #0,0,3 Current State: 90:[84, 3], Operations: ['69-51=18', '54/18=3'] Exploring Operation: 84*3=252, Resulting Numbers: [252] 252,90 unequal: No Solution Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,90 unequal: No Solution Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,90 unequal: No Solution Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,90 unequal: No Solution Moving to Node #0,0,4 Current State: 90:[84, 36], Operations: ['69-51=18', '54-18=36'] Exploring Operation: 84*36=3024, Resulting Numbers: [3024] 3024,90 unequal: No Solution Exploring Operation: 84-36=48, Resulting Numbers: [48] 48,90 unequal: No Solution Exploring Operation: 84+36=120, Resulting Numbers: [120] 120,90 unequal: No Solution Moving to Node #0,0,0 Current State: 90:[54, 102], Operations: ['69-51=18', '84+18=102'] Exploring Operation: 102-54=48, Resulting Numbers: [48] 48,90 unequal: No Solution Exploring Operation: 54*102=5508, Resulting Numbers: [5508] 5508,90 unequal: No Solution Exploring Operation: 54+102=156, Resulting Numbers: [156] 156,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[84, 72], Operations: ['69-51=18', '54+18=72'] Exploring Operation: 84-72=12, Resulting Numbers: [12] 12,90 unequal: No Solution Exploring Operation: 84+72=156, Resulting Numbers: [156] 156,90 unequal: No Solution Exploring Operation: 84*72=6048, Resulting Numbers: [6048] 6048,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 90:[54, 51, 15], Operations: ['84-69=15'] Exploring Operation: 51-15=36, Resulting Numbers: [54, 36] Generated Node #0,2,0: 90:[54, 36] Operation: 51-15=36 Exploring Operation: 54-15=39, Resulting Numbers: [51, 39] Generated Node #0,2,1: 90:[51, 39] Operation: 54-15=39 Exploring Operation: 54+51=105, Resulting Numbers: [15, 105] Generated Node #0,2,2: 90:[15, 105] Operation: 54+51=105 Exploring Operation: 54-51=3, Resulting Numbers: [15, 3] Generated Node #0,2,3: 90:[15, 3] Operation: 54-51=3 Exploring Operation: 54+15=69, Resulting Numbers: [51, 69] Generated Node #0,2,4: 90:[51, 69] Operation: 54+15=69 Moving to Node #0,2,3 Current State: 90:[15, 3], Operations: ['84-69=15', '54-51=3'] Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,90 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,90 unequal: No Solution Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,90 unequal: No Solution Moving to Node #0,2,1 Current State: 90:[51, 39], Operations: ['84-69=15', '54-15=39'] Exploring Operation: 51+39=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[69, 54, 84, 51], Operations: [] Exploring Operation: 84-69=15, Resulting Numbers: [54, 51, 15] Generated Node #0,2: 90:[54, 51, 15] Operation: 84-69=15 Moving to Node #0,2 Current State: 90:[54, 51, 15], Operations: ['84-69=15'] Exploring Operation: 54-15=39, Resulting Numbers: [51, 39] Generated Node #0,2,1: 90:[51, 39] Operation: 54-15=39 Moving to Node #0,2,1 Current State: 90:[51, 39], Operations: ['84-69=15', '54-15=39'] Exploring Operation: 51+39=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.947917
hs_5
mult_heuristic
[ 90, 10, 66, 12 ]
36
[ "90+66=156", "10*12=120", "156-120=36" ]
Current State: 36:[90, 10, 66, 12], Operations: [] Exploring Operation: 90+66=156, Resulting Numbers: [10, 12, 156] Generated Node #2: [10, 12, 156] from Operation: 90+66=156 Current State: 36:[10, 12, 156], Operations: ['90+66=156'] Exploring Operation: 10*12=120, Resulting Numbers: [156, 120] Generated Node #3: [156, 120] from Operation: 10*12=120 Current State: 36:[156, 120], Operations: ['90+66=156', '10*12=120'] Exploring Operation: 156-120=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[90, 10, 66, 12], Operations: [] Exploring Operation: 90-66=24, Resulting Numbers: [10, 12, 24] Generated Node #0,0: 36:[10, 12, 24] Operation: 90-66=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[10, 12, 24], Operations: ['90-66=24'] Exploring Operation: 12+24=36, Resulting Numbers: [10, 36] Generated Node #0,0,0: 36:[10, 36] Operation: 12+24=36 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[10, 36], Operations: ['90-66=24', '12+24=36'] Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,36 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
[ 67, 34, 72, 50 ]
24
[ "72-67=5", "50/5=10", "34-10=24" ]
Current State: 24:[67, 34, 72, 50], Operations: [] Exploring Operation: 72-67=5, Resulting Numbers: [34, 50, 5] Generated Node #2: [34, 50, 5] from Operation: 72-67=5 Current State: 24:[34, 50, 5], Operations: ['72-67=5'] Exploring Operation: 50/5=10, Resulting Numbers: [34, 10] Generated Node #3: [34, 10] from Operation: 50/5=10 Current State: 24:[34, 10], Operations: ['72-67=5', '50/5=10'] Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[67, 34, 72, 50], Operations: [] Exploring Operation: 72-67=5, Resulting Numbers: [34, 50, 5] Generated Node #0,0: 24:[34, 50, 5] Operation: 72-67=5 Exploring Operation: 72-50=22, Resulting Numbers: [67, 34, 22] Generated Node #0,1: 24:[67, 34, 22] Operation: 72-50=22 Moving to Node #0,0 Current State: 24:[34, 50, 5], Operations: ['72-67=5'] Exploring Operation: 50/5=10, Resulting Numbers: [34, 10] Generated Node #0,0,0: 24:[34, 10] Operation: 50/5=10 Exploring Operation: 50-34=16, Resulting Numbers: [5, 16] Generated Node #0,0,1: 24:[5, 16] Operation: 50-34=16 Moving to Node #0,1 Current State: 24:[67, 34, 22], Operations: ['72-50=22'] Exploring Operation: 67-22=45, Resulting Numbers: [34, 45] Generated Node #0,1,0: 24:[34, 45] Operation: 67-22=45 Exploring Operation: 67-34=33, Resulting Numbers: [22, 33] Generated Node #0,1,1: 24:[22, 33] Operation: 67-34=33 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 24:[22, 33], Operations: ['72-50=22', '67-34=33'] Exploring Operation: 22+33=55, Resulting Numbers: [55] 55,24 unequal: No Solution Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[34, 45], Operations: ['72-50=22', '67-22=45'] Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,24 unequal: No Solution Exploring Operation: 34+45=79, Resulting Numbers: [79] 79,24 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: 24:[5, 16], Operations: ['72-67=5', '50-34=16'] Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,24 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,24 unequal: No Solution Moving to Node #0,0,0 Current State: 24:[34, 10], Operations: ['72-67=5', '50/5=10'] Exploring Operation: 34+10=44, Resulting Numbers: [44] 44,24 unequal: No Solution Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[67, 34, 72, 50], Operations: [] Exploring Operation: 72-67=5, Resulting Numbers: [34, 50, 5] Generated Node #0,0: 24:[34, 50, 5] Operation: 72-67=5 Moving to Node #0,0 Current State: 24:[34, 50, 5], Operations: ['72-67=5'] Exploring Operation: 50/5=10, Resulting Numbers: [34, 10] Generated Node #0,0,0: 24:[34, 10] Operation: 50/5=10 Moving to Node #0,0,0 Current State: 24:[34, 10], Operations: ['72-67=5', '50/5=10'] Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
0.984375
hs_2
mult_heuristic
[ 71, 5, 12, 10 ]
77
[ "5*12=60", "60/10=6", "71+6=77" ]
Current State: 77:[71, 5, 12, 10], Operations: [] Exploring Operation: 5*12=60, Resulting Numbers: [71, 10, 60] Generated Node #2: [71, 10, 60] from Operation: 5*12=60 Current State: 77:[71, 10, 60], Operations: ['5*12=60'] Exploring Operation: 60/10=6, Resulting Numbers: [71, 6] Generated Node #3: [71, 6] from Operation: 60/10=6 Current State: 77:[71, 6], Operations: ['5*12=60', '60/10=6'] Exploring Operation: 71+6=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[71, 5, 12, 10], Operations: [] Exploring Operation: 71+5=76, Resulting Numbers: [12, 10, 76] Generated Node #0,0: 77:[12, 10, 76] Operation: 71+5=76 Exploring Operation: 71+10=81, Resulting Numbers: [5, 12, 81] Generated Node #0,1: 77:[5, 12, 81] Operation: 71+10=81 Moving to Node #0,0 Current State: 77:[12, 10, 76], Operations: ['71+5=76'] Exploring Operation: 10+76=86, Resulting Numbers: [12, 86] Generated Node #0,0,0: 77:[12, 86] Operation: 10+76=86 Exploring Operation: 12-10=2, Resulting Numbers: [76, 2] Generated Node #0,0,1: 77:[76, 2] Operation: 12-10=2 Moving to Node #0,1 Current State: 77:[5, 12, 81], Operations: ['71+10=81'] Exploring Operation: 12-5=7, Resulting Numbers: [81, 7] Generated Node #0,1,0: 77:[81, 7] Operation: 12-5=7 Exploring Operation: 81-5=76, Resulting Numbers: [12, 76] Generated Node #0,1,1: 77:[12, 76] Operation: 81-5=76 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[12, 76], Operations: ['71+10=81', '81-5=76'] Exploring Operation: 12+76=88, Resulting Numbers: [88] 88,77 unequal: No Solution Exploring Operation: 76-12=64, Resulting Numbers: [64] 64,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[81, 7], Operations: ['71+10=81', '12-5=7'] Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,77 unequal: No Solution Exploring Operation: 81+7=88, Resulting Numbers: [88] 88,77 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: 77:[76, 2], Operations: ['71+5=76', '12-10=2'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,77 unequal: No Solution Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[12, 86], Operations: ['71+5=76', '10+76=86'] Exploring Operation: 86-12=74, Resulting Numbers: [74] 74,77 unequal: No Solution Exploring Operation: 12+86=98, Resulting Numbers: [98] 98,77 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 54, 32, 25, 39 ]
86
[ "54-32=22", "25+39=64", "22+64=86" ]
Current State: 86:[54, 32, 25, 39], Operations: [] Exploring Operation: 54-32=22, Resulting Numbers: [25, 39, 22] Generated Node #2: [25, 39, 22] from Operation: 54-32=22 Current State: 86:[25, 39, 22], Operations: ['54-32=22'] Exploring Operation: 25+39=64, Resulting Numbers: [22, 64] Generated Node #3: [22, 64] from Operation: 25+39=64 Current State: 86:[22, 64], Operations: ['54-32=22', '25+39=64'] Exploring Operation: 22+64=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[54, 32, 25, 39], Operations: [] Exploring Operation: 54+32=86, Resulting Numbers: [25, 39, 86] Generated Node #0,0: 86:[25, 39, 86] Operation: 54+32=86 Exploring Operation: 32-25=7, Resulting Numbers: [54, 39, 7] Generated Node #0,1: 86:[54, 39, 7] Operation: 32-25=7 Exploring Operation: 54+25=79, Resulting Numbers: [32, 39, 79] Generated Node #0,2: 86:[32, 39, 79] Operation: 54+25=79 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[54, 39, 7], Operations: ['32-25=7'] Exploring Operation: 39+7=46, Resulting Numbers: [54, 46] Generated Node #0,1,0: 86:[54, 46] Operation: 39+7=46 Exploring Operation: 54-7=47, Resulting Numbers: [39, 47] Generated Node #0,1,1: 86:[39, 47] Operation: 54-7=47 Exploring Operation: 54+39=93, Resulting Numbers: [7, 93] Generated Node #0,1,2: 86:[7, 93] Operation: 54+39=93 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 86:[39, 47], Operations: ['32-25=7', '54-7=47'] Exploring Operation: 47-39=8, Resulting Numbers: [8] 8,86 unequal: No Solution Exploring Operation: 39+47=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[54, 32, 25, 39], Operations: [] Exploring Operation: 32-25=7, Resulting Numbers: [54, 39, 7] Generated Node #0,1: 86:[54, 39, 7] Operation: 32-25=7 Moving to Node #0,1 Current State: 86:[54, 39, 7], Operations: ['32-25=7'] Exploring Operation: 54-7=47, Resulting Numbers: [39, 47] Generated Node #0,1,1: 86:[39, 47] Operation: 54-7=47 Moving to Node #0,1,1 Current State: 86:[39, 47], Operations: ['32-25=7', '54-7=47'] Exploring Operation: 39+47=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 45, 16, 2, 23 ]
75
[ "45-16=29", "2*23=46", "29+46=75" ]
Current State: 75:[45, 16, 2, 23], Operations: [] Exploring Operation: 45-16=29, Resulting Numbers: [2, 23, 29] Generated Node #2: [2, 23, 29] from Operation: 45-16=29 Current State: 75:[2, 23, 29], Operations: ['45-16=29'] Exploring Operation: 2*23=46, Resulting Numbers: [29, 46] Generated Node #3: [29, 46] from Operation: 2*23=46 Current State: 75:[29, 46], Operations: ['45-16=29', '2*23=46'] Exploring Operation: 29+46=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[45, 16, 2, 23], Operations: [] Exploring Operation: 45+23=68, Resulting Numbers: [16, 2, 68] Generated Node #0,0: 75:[16, 2, 68] Operation: 45+23=68 Exploring Operation: 45-16=29, Resulting Numbers: [2, 23, 29] Generated Node #0,1: 75:[2, 23, 29] Operation: 45-16=29 Exploring Operation: 45+16=61, Resulting Numbers: [2, 23, 61] Generated Node #0,2: 75:[2, 23, 61] Operation: 45+16=61 Exploring Operation: 45-23=22, Resulting Numbers: [16, 2, 22] Generated Node #0,3: 75:[16, 2, 22] Operation: 45-23=22 Exploring Operation: 45*2=90, Resulting Numbers: [16, 23, 90] Generated Node #0,4: 75:[16, 23, 90] Operation: 45*2=90 Start Sub Search at level 1: Moving to Node #0,3 Current State: 75:[16, 2, 22], Operations: ['45-23=22'] Exploring Operation: 2+22=24, Resulting Numbers: [16, 24] Generated Node #0,3,0: 75:[16, 24] Operation: 2+22=24 Exploring Operation: 16+2=18, Resulting Numbers: [22, 18] Generated Node #0,3,1: 75:[22, 18] Operation: 16+2=18 Exploring Operation: 16-2=14, Resulting Numbers: [22, 14] Generated Node #0,3,2: 75:[22, 14] Operation: 16-2=14 Exploring Operation: 22/2=11, Resulting Numbers: [16, 11] Generated Node #0,3,3: 75:[16, 11] Operation: 22/2=11 Exploring Operation: 22-16=6, Resulting Numbers: [2, 6] Generated Node #0,3,4: 75:[2, 6] Operation: 22-16=6 Moving to Node #0,3,0 Current State: 75:[16, 24], Operations: ['45-23=22', '2+22=24'] Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 16*24=384, Resulting Numbers: [384] 384,75 unequal: No Solution Exploring Operation: 16+24=40, Resulting Numbers: [40] 40,75 unequal: No Solution Moving to Node #0,3,4 Current State: 75:[2, 6], Operations: ['45-23=22', '22-16=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,75 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,75 unequal: No Solution Moving to Node #0,3,2 Current State: 75:[22, 14], Operations: ['45-23=22', '16-2=14'] Exploring Operation: 22*14=308, Resulting Numbers: [308] 308,75 unequal: No Solution Exploring Operation: 22+14=36, Resulting Numbers: [36] 36,75 unequal: No Solution Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,75 unequal: No Solution Moving to Node #0,3,3 Current State: 75:[16, 11], Operations: ['45-23=22', '22/2=11'] Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,75 unequal: No Solution Exploring Operation: 16*11=176, Resulting Numbers: [176] 176,75 unequal: No Solution Exploring Operation: 16+11=27, Resulting Numbers: [27] 27,75 unequal: No Solution Moving to Node #0,3,1 Current State: 75:[22, 18], Operations: ['45-23=22', '16+2=18'] Exploring Operation: 22+18=40, Resulting Numbers: [40] 40,75 unequal: No Solution Exploring Operation: 22*18=396, Resulting Numbers: [396] 396,75 unequal: No Solution Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,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:[2, 23, 29], Operations: ['45-16=29'] Exploring Operation: 2+23=25, Resulting Numbers: [29, 25] Generated Node #0,1,0: 75:[29, 25] Operation: 2+23=25 Exploring Operation: 23-2=21, Resulting Numbers: [29, 21] Generated Node #0,1,1: 75:[29, 21] Operation: 23-2=21 Exploring Operation: 29-2=27, Resulting Numbers: [23, 27] Generated Node #0,1,2: 75:[23, 27] Operation: 29-2=27 Exploring Operation: 29-23=6, Resulting Numbers: [2, 6] Generated Node #0,1,3: 75:[2, 6] Operation: 29-23=6 Exploring Operation: 2+29=31, Resulting Numbers: [23, 31] Generated Node #0,1,4: 75:[23, 31] Operation: 2+29=31 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 75:[2, 6], Operations: ['45-16=29', '29-23=6'] Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,75 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,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:[29, 25], Operations: ['45-16=29', '2+23=25'] Exploring Operation: 29*25=725, Resulting Numbers: [725] 725,75 unequal: No Solution Exploring Operation: 29+25=54, Resulting Numbers: [54] 54,75 unequal: No Solution Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,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,2 Current State: 75:[23, 27], Operations: ['45-16=29', '29-2=27'] Exploring Operation: 23*27=621, Resulting Numbers: [621] 621,75 unequal: No Solution Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 23+27=50, Resulting Numbers: [50] 50,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 75:[29, 21], Operations: ['45-16=29', '23-2=21'] Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 29*21=609, Resulting Numbers: [609] 609,75 unequal: No Solution Exploring Operation: 29+21=50, Resulting Numbers: [50] 50,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 75:[23, 31], Operations: ['45-16=29', '2+29=31'] Exploring Operation: 23+31=54, Resulting Numbers: [54] 54,75 unequal: No Solution Exploring Operation: 23*31=713, Resulting Numbers: [713] 713,75 unequal: No Solution Exploring Operation: 31-23=8, Resulting Numbers: [8] 8,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[16, 2, 68], Operations: ['45+23=68'] Exploring Operation: 2+68=70, Resulting Numbers: [16, 70] Generated Node #0,0,0: 75:[16, 70] Operation: 2+68=70 Exploring Operation: 16-2=14, Resulting Numbers: [68, 14] Generated Node #0,0,1: 75:[68, 14] Operation: 16-2=14 Exploring Operation: 16+2=18, Resulting Numbers: [68, 18] Generated Node #0,0,2: 75:[68, 18] Operation: 16+2=18 Exploring Operation: 16/2=8, Resulting Numbers: [68, 8] Generated Node #0,0,3: 75:[68, 8] Operation: 16/2=8 Exploring Operation: 16+68=84, Resulting Numbers: [2, 84] Generated Node #0,0,4: 75:[2, 84] Operation: 16+68=84 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[16, 70], Operations: ['45+23=68', '2+68=70'] Exploring Operation: 70-16=54, Resulting Numbers: [54] 54,75 unequal: No Solution Exploring Operation: 16+70=86, Resulting Numbers: [86] 86,75 unequal: No Solution Exploring Operation: 16*70=1120, Resulting Numbers: [1120] 1120,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 75:[68, 14], Operations: ['45+23=68', '16-2=14'] Exploring Operation: 68*14=952, Resulting Numbers: [952] 952,75 unequal: No Solution Exploring Operation: 68+14=82, Resulting Numbers: [82] 82,75 unequal: No Solution Exploring Operation: 68-14=54, Resulting Numbers: [54] 54,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 75:[68, 18], Operations: ['45+23=68', '16+2=18'] Exploring Operation: 68*18=1224, Resulting Numbers: [1224] 1224,75 unequal: No Solution Exploring Operation: 68+18=86, Resulting Numbers: [86] 86,75 unequal: No Solution Exploring Operation: 68-18=50, Resulting Numbers: [50] 50,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 75:[68, 8], Operations: ['45+23=68', '16/2=8'] Exploring Operation: 68-8=60, Resulting Numbers: [60] 60,75 unequal: No Solution Exploring Operation: 68+8=76, Resulting Numbers: [76] 76,75 unequal: No Solution Exploring Operation: 68*8=544, Resulting Numbers: [544] 544,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 75:[2, 84], Operations: ['45+23=68', '16+68=84'] Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,75 unequal: No Solution Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,75 unequal: No Solution Exploring Operation: 2+84=86, Resulting Numbers: [86] 86,75 unequal: No Solution Exploring Operation: 2*84=168, Resulting Numbers: [168] 168,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[2, 23, 61], Operations: ['45+16=61'] Exploring Operation: 23+61=84, Resulting Numbers: [2, 84] Generated Node #0,2,0: 75:[2, 84] Operation: 23+61=84 Exploring Operation: 2+23=25, Resulting Numbers: [61, 25] Generated Node #0,2,1: 75:[61, 25] Operation: 2+23=25 Exploring Operation: 23-2=21, Resulting Numbers: [61, 21] Generated Node #0,2,2: 75:[61, 21] Operation: 23-2=21 Exploring Operation: 61-23=38, Resulting Numbers: [2, 38] Generated Node #0,2,3: 75:[2, 38] Operation: 61-23=38 Exploring Operation: 2+61=63, Resulting Numbers: [23, 63] Generated Node #0,2,4: 75:[23, 63] Operation: 2+61=63 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 75:[2, 84], Operations: ['45+16=61', '23+61=84'] Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,75 unequal: No Solution Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,75 unequal: No Solution Exploring Operation: 2+84=86, Resulting Numbers: [86] 86,75 unequal: No Solution Exploring Operation: 2*84=168, Resulting Numbers: [168] 168,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 75:[61, 25], Operations: ['45+16=61', '2+23=25'] Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,75 unequal: No Solution Exploring Operation: 61*25=1525, Resulting Numbers: [1525] 1525,75 unequal: No Solution Exploring Operation: 61+25=86, Resulting Numbers: [86] 86,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 75:[2, 38], Operations: ['45+16=61', '61-23=38'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,75 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,75 unequal: No Solution Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,75 unequal: No Solution Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 75:[23, 63], Operations: ['45+16=61', '2+61=63'] Exploring Operation: 23+63=86, Resulting Numbers: [86] 86,75 unequal: No Solution Exploring Operation: 23*63=1449, Resulting Numbers: [1449] 1449,75 unequal: No Solution Exploring Operation: 63-23=40, Resulting Numbers: [40] 40,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 75:[61, 21], Operations: ['45+16=61', '23-2=21'] Exploring Operation: 61-21=40, Resulting Numbers: [40] 40,75 unequal: No Solution Exploring Operation: 61*21=1281, Resulting Numbers: [1281] 1281,75 unequal: No Solution Exploring Operation: 61+21=82, Resulting Numbers: [82] 82,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 75:[16, 23, 90], Operations: ['45*2=90'] Exploring Operation: 16+23=39, Resulting Numbers: [90, 39] Generated Node #0,4,0: 75:[90, 39] Operation: 16+23=39 Exploring Operation: 23-16=7, Resulting Numbers: [90, 7] Generated Node #0,4,1: 75:[90, 7] Operation: 23-16=7 Exploring Operation: 90-23=67, Resulting Numbers: [16, 67] Generated Node #0,4,2: 75:[16, 67] Operation: 90-23=67 Exploring Operation: 16+90=106, Resulting Numbers: [23, 106] Generated Node #0,4,3: 75:[23, 106] Operation: 16+90=106 Exploring Operation: 90-16=74, Resulting Numbers: [23, 74] Generated Node #0,4,4: 75:[23, 74] Operation: 90-16=74 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 75:[23, 74], Operations: ['45*2=90', '90-16=74'] Exploring Operation: 23*74=1702, Resulting Numbers: [1702] 1702,75 unequal: No Solution Exploring Operation: 74-23=51, Resulting Numbers: [51] 51,75 unequal: No Solution Exploring Operation: 23+74=97, Resulting Numbers: [97] 97,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 75:[16, 67], Operations: ['45*2=90', '90-23=67'] Exploring Operation: 67-16=51, Resulting Numbers: [51] 51,75 unequal: No Solution Exploring Operation: 16+67=83, Resulting Numbers: [83] 83,75 unequal: No Solution Exploring Operation: 16*67=1072, Resulting Numbers: [1072] 1072,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 75:[90, 7], Operations: ['45*2=90', '23-16=7'] Exploring Operation: 90*7=630, Resulting Numbers: [630] 630,75 unequal: No Solution Exploring Operation: 90+7=97, Resulting Numbers: [97] 97,75 unequal: No Solution Exploring Operation: 90-7=83, Resulting Numbers: [83] 83,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 75:[90, 39], Operations: ['45*2=90', '16+23=39'] Exploring Operation: 90+39=129, Resulting Numbers: [129] 129,75 unequal: No Solution Exploring Operation: 90-39=51, Resulting Numbers: [51] 51,75 unequal: No Solution Exploring Operation: 90*39=3510, Resulting Numbers: [3510] 3510,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 75:[23, 106], Operations: ['45*2=90', '16+90=106'] Exploring Operation: 106-23=83, Resulting Numbers: [83] 83,75 unequal: No Solution Exploring Operation: 23*106=2438, Resulting Numbers: [2438] 2438,75 unequal: No Solution Exploring Operation: 23+106=129, Resulting Numbers: [129] 129,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 33, 37, 23, 24 ]
23
[ "33+37=70", "23+24=47", "70-47=23" ]
Current State: 23:[33, 37, 23, 24], Operations: [] Exploring Operation: 33+37=70, Resulting Numbers: [23, 24, 70] Generated Node #2: [23, 24, 70] from Operation: 33+37=70 Current State: 23:[23, 24, 70], Operations: ['33+37=70'] Exploring Operation: 23+24=47, Resulting Numbers: [70, 47] Generated Node #3: [70, 47] from Operation: 23+24=47 Current State: 23:[70, 47], Operations: ['33+37=70', '23+24=47'] Exploring Operation: 70-47=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[33, 37, 23, 24], Operations: [] Exploring Operation: 37-33=4, Resulting Numbers: [23, 24, 4] Generated Node #0,0: 23:[23, 24, 4] Operation: 37-33=4 Moving to Node #0,0 Current State: 23:[23, 24, 4], Operations: ['37-33=4'] Exploring Operation: 24-4=20, Resulting Numbers: [23, 20] Generated Node #0,0,0: 23:[23, 20] Operation: 24-4=20 Moving to Node #0,0,0 Current State: 23:[23, 20], Operations: ['37-33=4', '24-4=20'] Exploring Operation: 23+20=43, Resulting Numbers: [43] 43,23 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 30, 79, 89, 23 ]
26
[ "89-79=10", "30/10=3", "23+3=26" ]
Current State: 26:[30, 79, 89, 23], Operations: [] Exploring Operation: 89-79=10, Resulting Numbers: [30, 23, 10] Generated Node #2: [30, 23, 10] from Operation: 89-79=10 Current State: 26:[30, 23, 10], Operations: ['89-79=10'] Exploring Operation: 30/10=3, Resulting Numbers: [23, 3] Generated Node #3: [23, 3] from Operation: 30/10=3 Current State: 26:[23, 3], Operations: ['89-79=10', '30/10=3'] Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[30, 79, 89, 23], Operations: [] Exploring Operation: 89-79=10, Resulting Numbers: [30, 23, 10] Generated Node #0,0: 26:[30, 23, 10] Operation: 89-79=10 Exploring Operation: 79-30=49, Resulting Numbers: [89, 23, 49] Generated Node #0,1: 26:[89, 23, 49] Operation: 79-30=49 Exploring Operation: 89-30=59, Resulting Numbers: [79, 23, 59] Generated Node #0,2: 26:[79, 23, 59] Operation: 89-30=59 Moving to Node #0,0 Current State: 26:[30, 23, 10], Operations: ['89-79=10'] Exploring Operation: 30-23=7, Resulting Numbers: [10, 7] Generated Node #0,0,0: 26:[10, 7] Operation: 30-23=7 Exploring Operation: 30/10=3, Resulting Numbers: [23, 3] Generated Node #0,0,1: 26:[23, 3] Operation: 30/10=3 Exploring Operation: 23-10=13, Resulting Numbers: [30, 13] Generated Node #0,0,2: 26:[30, 13] Operation: 23-10=13 Moving to Node #0,1 Current State: 26:[89, 23, 49], Operations: ['79-30=49'] Exploring Operation: 89-23=66, Resulting Numbers: [49, 66] Generated Node #0,1,0: 26:[49, 66] Operation: 89-23=66 Exploring Operation: 89-49=40, Resulting Numbers: [23, 40] Generated Node #0,1,1: 26:[23, 40] Operation: 89-49=40 Exploring Operation: 49-23=26, Resulting Numbers: [89, 26] Generated Node #0,1,2: 26:[89, 26] Operation: 49-23=26 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 26:[23, 40], Operations: ['79-30=49', '89-49=40'] Exploring Operation: 23*40=920, Resulting Numbers: [920] 920,26 unequal: No Solution Exploring Operation: 23+40=63, Resulting Numbers: [63] 63,26 unequal: No Solution Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,26 unequal: No Solution No 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: 26:[49, 66], Operations: ['79-30=49', '89-23=66'] Exploring Operation: 49+66=115, Resulting Numbers: [115] 115,26 unequal: No Solution Exploring Operation: 49*66=3234, Resulting Numbers: [3234] 3234,26 unequal: No Solution Exploring Operation: 66-49=17, Resulting Numbers: [17] 17,26 unequal: No Solution No 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: 26:[89, 26], Operations: ['79-30=49', '49-23=26'] Exploring Operation: 89*26=2314, Resulting Numbers: [2314] 2314,26 unequal: No Solution Exploring Operation: 89+26=115, Resulting Numbers: [115] 115,26 unequal: No Solution Exploring Operation: 89-26=63, Resulting Numbers: [63] 63,26 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: 26:[79, 23, 59], Operations: ['89-30=59'] Exploring Operation: 79-59=20, Resulting Numbers: [23, 20] Generated Node #0,2,0: 26:[23, 20] Operation: 79-59=20 Exploring Operation: 59-23=36, Resulting Numbers: [79, 36] Generated Node #0,2,1: 26:[79, 36] Operation: 59-23=36 Exploring Operation: 79-23=56, Resulting Numbers: [59, 56] Generated Node #0,2,2: 26:[59, 56] Operation: 79-23=56 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 26:[23, 20], Operations: ['89-30=59', '79-59=20'] Exploring Operation: 23*20=460, Resulting Numbers: [460] 460,26 unequal: No Solution Exploring Operation: 23+20=43, Resulting Numbers: [43] 43,26 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,26 unequal: No Solution No 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: 26:[79, 36], Operations: ['89-30=59', '59-23=36'] Exploring Operation: 79+36=115, Resulting Numbers: [115] 115,26 unequal: No Solution Exploring Operation: 79-36=43, Resulting Numbers: [43] 43,26 unequal: No Solution Exploring Operation: 79*36=2844, Resulting Numbers: [2844] 2844,26 unequal: No Solution No 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: 26:[59, 56], Operations: ['89-30=59', '79-23=56'] Exploring Operation: 59-56=3, Resulting Numbers: [3] 3,26 unequal: No Solution Exploring Operation: 59*56=3304, Resulting Numbers: [3304] 3304,26 unequal: No Solution Exploring Operation: 59+56=115, Resulting Numbers: [115] 115,26 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: 26:[23, 3], Operations: ['89-79=10', '30/10=3'] Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[30, 79, 89, 23], Operations: [] Exploring Operation: 89-79=10, Resulting Numbers: [30, 23, 10] Generated Node #0,0: 26:[30, 23, 10] Operation: 89-79=10 Moving to Node #0,0 Current State: 26:[30, 23, 10], Operations: ['89-79=10'] Exploring Operation: 30/10=3, Resulting Numbers: [23, 3] Generated Node #0,0,1: 26:[23, 3] Operation: 30/10=3 Moving to Node #0,0,1 Current State: 26:[23, 3], Operations: ['89-79=10', '30/10=3'] Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
0.969618
hs_3
sum_heuristic
[ 58, 14, 4, 42 ]
51
[ "58-4=54", "42/14=3", "54-3=51" ]
Current State: 51:[58, 14, 4, 42], Operations: [] Exploring Operation: 58-4=54, Resulting Numbers: [14, 42, 54] Generated Node #2: [14, 42, 54] from Operation: 58-4=54 Current State: 51:[14, 42, 54], Operations: ['58-4=54'] Exploring Operation: 42/14=3, Resulting Numbers: [54, 3] Generated Node #3: [54, 3] from Operation: 42/14=3 Current State: 51:[54, 3], Operations: ['58-4=54', '42/14=3'] Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[58, 14, 4, 42], Operations: [] Exploring Operation: 58-42=16, Resulting Numbers: [14, 4, 16] Generated Node #0,0: 51:[14, 4, 16] Operation: 58-42=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[14, 4, 16], Operations: ['58-42=16'] Exploring Operation: 14+4=18, Resulting Numbers: [16, 18] Generated Node #0,0,0: 51:[16, 18] Operation: 14+4=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[16, 18], Operations: ['58-42=16', '14+4=18'] Exploring Operation: 18-16=2, Resulting Numbers: [2] 2,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 44, 60, 99, 2 ]
49
[ "44*2=88", "99-60=39", "88-39=49" ]
Current State: 49:[44, 60, 99, 2], Operations: [] Exploring Operation: 44*2=88, Resulting Numbers: [60, 99, 88] Generated Node #2: [60, 99, 88] from Operation: 44*2=88 Current State: 49:[60, 99, 88], Operations: ['44*2=88'] Exploring Operation: 99-60=39, Resulting Numbers: [88, 39] Generated Node #3: [88, 39] from Operation: 99-60=39 Current State: 49:[88, 39], Operations: ['44*2=88', '99-60=39'] Exploring Operation: 88-39=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[44, 60, 99, 2], Operations: [] Exploring Operation: 99-60=39, Resulting Numbers: [44, 2, 39] Generated Node #0,0: 49:[44, 2, 39] Operation: 99-60=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[44, 2, 39], Operations: ['99-60=39'] Exploring Operation: 44-39=5, Resulting Numbers: [2, 5] Generated Node #0,0,0: 49:[2, 5] Operation: 44-39=5 Moving to Node #0,0,0 Current State: 49:[2, 5], Operations: ['99-60=39', '44-39=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,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
[ 7, 77, 25, 65 ]
91
[ "77-25=52", "65-52=13", "7*13=91" ]
Current State: 91:[7, 77, 25, 65], Operations: [] Exploring Operation: 77-25=52, Resulting Numbers: [7, 65, 52] Generated Node #2: [7, 65, 52] from Operation: 77-25=52 Current State: 91:[7, 65, 52], Operations: ['77-25=52'] Exploring Operation: 65-52=13, Resulting Numbers: [7, 13] Generated Node #3: [7, 13] from Operation: 65-52=13 Current State: 91:[7, 13], Operations: ['77-25=52', '65-52=13'] Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[7, 77, 25, 65], Operations: [] Exploring Operation: 25+65=90, Resulting Numbers: [7, 77, 90] Generated Node #0,0: 91:[7, 77, 90] Operation: 25+65=90 Exploring Operation: 77-65=12, Resulting Numbers: [7, 25, 12] Generated Node #0,1: 91:[7, 25, 12] Operation: 77-65=12 Exploring Operation: 77+25=102, Resulting Numbers: [7, 65, 102] Generated Node #0,2: 91:[7, 65, 102] Operation: 77+25=102 Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[7, 25, 12], Operations: ['77-65=12'] Exploring Operation: 25-7=18, Resulting Numbers: [12, 18] Generated Node #0,1,0: 91:[12, 18] Operation: 25-7=18 Exploring Operation: 25-12=13, Resulting Numbers: [7, 13] Generated Node #0,1,1: 91:[7, 13] Operation: 25-12=13 Exploring Operation: 12-7=5, Resulting Numbers: [25, 5] Generated Node #0,1,2: 91:[25, 5] Operation: 12-7=5 Moving to Node #0,1,1 Current State: 91:[7, 13], Operations: ['77-65=12', '25-12=13'] Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[7, 77, 25, 65], Operations: [] Exploring Operation: 77-65=12, Resulting Numbers: [7, 25, 12] Generated Node #0,1: 91:[7, 25, 12] Operation: 77-65=12 Moving to Node #0,1 Current State: 91:[7, 25, 12], Operations: ['77-65=12'] Exploring Operation: 25-12=13, Resulting Numbers: [7, 13] Generated Node #0,1,1: 91:[7, 13] Operation: 25-12=13 Moving to Node #0,1,1 Current State: 91:[7, 13], Operations: ['77-65=12', '25-12=13'] Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 45, 88, 61, 18 ]
44
[ "61-45=16", "18-16=2", "88/2=44" ]
Current State: 44:[45, 88, 61, 18], Operations: [] Exploring Operation: 61-45=16, Resulting Numbers: [88, 18, 16] Generated Node #2: [88, 18, 16] from Operation: 61-45=16 Current State: 44:[88, 18, 16], Operations: ['61-45=16'] Exploring Operation: 18-16=2, Resulting Numbers: [88, 2] Generated Node #3: [88, 2] from Operation: 18-16=2 Current State: 44:[88, 2], Operations: ['61-45=16', '18-16=2'] Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[45, 88, 61, 18], Operations: [] Exploring Operation: 88-61=27, Resulting Numbers: [45, 18, 27] Generated Node #0,0: 44:[45, 18, 27] Operation: 88-61=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[45, 18, 27], Operations: ['88-61=27'] Exploring Operation: 18+27=45, Resulting Numbers: [45, 45] Generated Node #0,0,0: 44:[45, 45] Operation: 18+27=45 Moving to Node #0,0,0 Current State: 44:[45, 45], Operations: ['88-61=27', '18+27=45'] Exploring Operation: 45/45=1, Resulting Numbers: [1] 1,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 56, 20, 80, 52 ]
16
[ "56-52=4", "80/20=4", "4*4=16" ]
Current State: 16:[56, 20, 80, 52], Operations: [] Exploring Operation: 56-52=4, Resulting Numbers: [20, 80, 4] Generated Node #2: [20, 80, 4] from Operation: 56-52=4 Current State: 16:[20, 80, 4], Operations: ['56-52=4'] Exploring Operation: 80/20=4, Resulting Numbers: [4, 4] Generated Node #3: [4, 4] from Operation: 80/20=4 Current State: 16:[4, 4], Operations: ['56-52=4', '80/20=4'] Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[56, 20, 80, 52], Operations: [] Exploring Operation: 80-56=24, Resulting Numbers: [20, 52, 24] Generated Node #0,0: 16:[20, 52, 24] Operation: 80-56=24 Exploring Operation: 56-52=4, Resulting Numbers: [20, 80, 4] Generated Node #0,1: 16:[20, 80, 4] Operation: 56-52=4 Exploring Operation: 80-52=28, Resulting Numbers: [56, 20, 28] Generated Node #0,2: 16:[56, 20, 28] Operation: 80-52=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[20, 52, 24], Operations: ['80-56=24'] Exploring Operation: 52-24=28, Resulting Numbers: [20, 28] Generated Node #0,0,0: 16:[20, 28] Operation: 52-24=28 Exploring Operation: 52-20=32, Resulting Numbers: [24, 32] Generated Node #0,0,1: 16:[24, 32] Operation: 52-20=32 Exploring Operation: 24-20=4, Resulting Numbers: [52, 4] Generated Node #0,0,2: 16:[52, 4] Operation: 24-20=4 Moving to Node #0,0,0 Current State: 16:[20, 28], Operations: ['80-56=24', '52-24=28'] Exploring Operation: 20*28=560, Resulting Numbers: [560] 560,16 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 20+28=48, Resulting Numbers: [48] 48,16 unequal: No Solution Moving to Node #0,0,1 Current State: 16:[24, 32], Operations: ['80-56=24', '52-20=32'] Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 24*32=768, Resulting Numbers: [768] 768,16 unequal: No Solution Exploring Operation: 24+32=56, Resulting Numbers: [56] 56,16 unequal: No Solution Moving to Node #0,0,2 Current State: 16:[52, 4], Operations: ['80-56=24', '24-20=4'] Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,16 unequal: No Solution Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 52+4=56, Resulting Numbers: [56] 56,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[56, 20, 28], Operations: ['80-52=28'] Exploring Operation: 56-20=36, Resulting Numbers: [28, 36] Generated Node #0,2,0: 16:[28, 36] Operation: 56-20=36 Exploring Operation: 56-28=28, Resulting Numbers: [20, 28] Generated Node #0,2,1: 16:[20, 28] Operation: 56-28=28 Exploring Operation: 56/28=2, Resulting Numbers: [20, 2] Generated Node #0,2,2: 16:[20, 2] Operation: 56/28=2 Moving to Node #0,2,2 Current State: 16:[20, 2], Operations: ['80-52=28', '56/28=2'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,16 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,16 unequal: No Solution Moving to Node #0,2,1 Current State: 16:[20, 28], Operations: ['80-52=28', '56-28=28'] Exploring Operation: 20+28=48, Resulting Numbers: [48] 48,16 unequal: No Solution Exploring Operation: 20*28=560, Resulting Numbers: [560] 560,16 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,16 unequal: No Solution Moving to Node #0,2,0 Current State: 16:[28, 36], Operations: ['80-52=28', '56-20=36'] Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 28+36=64, Resulting Numbers: [64] 64,16 unequal: No Solution Exploring Operation: 28*36=1008, Resulting Numbers: [1008] 1008,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[20, 80, 4], Operations: ['56-52=4'] Exploring Operation: 80/20=4, Resulting Numbers: [4, 4] Generated Node #0,1,0: 16:[4, 4] Operation: 80/20=4 Exploring Operation: 80/4=20, Resulting Numbers: [20, 20] Generated Node #0,1,1: 16:[20, 20] Operation: 80/4=20 Exploring Operation: 80-20=60, Resulting Numbers: [4, 60] Generated Node #0,1,2: 16:[4, 60] Operation: 80-20=60 Moving to Node #0,1,0 Current State: 16:[4, 4], Operations: ['56-52=4', '80/20=4'] Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[56, 20, 80, 52], Operations: [] Exploring Operation: 56-52=4, Resulting Numbers: [20, 80, 4] Generated Node #0,1: 16:[20, 80, 4] Operation: 56-52=4 Moving to Node #0,1 Current State: 16:[20, 80, 4], Operations: ['56-52=4'] Exploring Operation: 80/20=4, Resulting Numbers: [4, 4] Generated Node #0,1,0: 16:[4, 4] Operation: 80/20=4 Moving to Node #0,1,0 Current State: 16:[4, 4], Operations: ['56-52=4', '80/20=4'] Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_3
mult_heuristic
[ 7, 21, 47, 63 ]
35
[ "63/7=9", "47-21=26", "9+26=35" ]
Current State: 35:[7, 21, 47, 63], Operations: [] Exploring Operation: 63/7=9, Resulting Numbers: [21, 47, 9] Generated Node #2: [21, 47, 9] from Operation: 63/7=9 Current State: 35:[21, 47, 9], Operations: ['63/7=9'] Exploring Operation: 47-21=26, Resulting Numbers: [9, 26] Generated Node #3: [9, 26] from Operation: 47-21=26 Current State: 35:[9, 26], Operations: ['63/7=9', '47-21=26'] Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[7, 21, 47, 63], Operations: [] Exploring Operation: 63-21=42, Resulting Numbers: [7, 47, 42] Generated Node #0,0: 35:[7, 47, 42] Operation: 63-21=42 Exploring Operation: 63/7=9, Resulting Numbers: [21, 47, 9] Generated Node #0,1: 35:[21, 47, 9] Operation: 63/7=9 Exploring Operation: 63-47=16, Resulting Numbers: [7, 21, 16] Generated Node #0,2: 35:[7, 21, 16] Operation: 63-47=16 Exploring Operation: 63/21=3, Resulting Numbers: [7, 47, 3] Generated Node #0,3: 35:[7, 47, 3] Operation: 63/21=3 Exploring Operation: 47-21=26, Resulting Numbers: [7, 63, 26] Generated Node #0,4: 35:[7, 63, 26] Operation: 47-21=26 Moving to Node #0,3 Current State: 35:[7, 47, 3], Operations: ['63/21=3'] Exploring Operation: 47-7=40, Resulting Numbers: [3, 40] Generated Node #0,3,0: 35:[3, 40] Operation: 47-7=40 Exploring Operation: 7-3=4, Resulting Numbers: [47, 4] Generated Node #0,3,1: 35:[47, 4] Operation: 7-3=4 Exploring Operation: 7+3=10, Resulting Numbers: [47, 10] Generated Node #0,3,2: 35:[47, 10] Operation: 7+3=10 Exploring Operation: 47+3=50, Resulting Numbers: [7, 50] Generated Node #0,3,3: 35:[7, 50] Operation: 47+3=50 Exploring Operation: 47-3=44, Resulting Numbers: [7, 44] Generated Node #0,3,4: 35:[7, 44] Operation: 47-3=44 Moving to Node #0,0 Current State: 35:[7, 47, 42], Operations: ['63-21=42'] Exploring Operation: 47-42=5, Resulting Numbers: [7, 5] Generated Node #0,0,0: 35:[7, 5] Operation: 47-42=5 Exploring Operation: 42/7=6, Resulting Numbers: [47, 6] Generated Node #0,0,1: 35:[47, 6] Operation: 42/7=6 Exploring Operation: 42-7=35, Resulting Numbers: [47, 35] Generated Node #0,0,2: 35:[47, 35] Operation: 42-7=35 Exploring Operation: 47-7=40, Resulting Numbers: [42, 40] Generated Node #0,0,3: 35:[42, 40] Operation: 47-7=40 Exploring Operation: 7+47=54, Resulting Numbers: [42, 54] Generated Node #0,0,4: 35:[42, 54] Operation: 7+47=54 Moving to Node #0,2 Current State: 35:[7, 21, 16], Operations: ['63-47=16'] Exploring Operation: 21-7=14, Resulting Numbers: [16, 14] Generated Node #0,2,0: 35:[16, 14] Operation: 21-7=14 Exploring Operation: 21-16=5, Resulting Numbers: [7, 5] Generated Node #0,2,1: 35:[7, 5] Operation: 21-16=5 Exploring Operation: 21+16=37, Resulting Numbers: [7, 37] Generated Node #0,2,2: 35:[7, 37] Operation: 21+16=37 Exploring Operation: 21/7=3, Resulting Numbers: [16, 3] Generated Node #0,2,3: 35:[16, 3] Operation: 21/7=3 Exploring Operation: 7+21=28, Resulting Numbers: [16, 28] Generated Node #0,2,4: 35:[16, 28] Operation: 7+21=28 Moving to Node #0,1 Current State: 35:[21, 47, 9], Operations: ['63/7=9'] Exploring Operation: 21+9=30, Resulting Numbers: [47, 30] Generated Node #0,1,0: 35:[47, 30] Operation: 21+9=30 Exploring Operation: 47-21=26, Resulting Numbers: [9, 26] Generated Node #0,1,1: 35:[9, 26] Operation: 47-21=26 Exploring Operation: 47-9=38, Resulting Numbers: [21, 38] Generated Node #0,1,2: 35:[21, 38] Operation: 47-9=38 Exploring Operation: 21+47=68, Resulting Numbers: [9, 68] Generated Node #0,1,3: 35:[9, 68] Operation: 21+47=68 Exploring Operation: 21-9=12, Resulting Numbers: [47, 12] Generated Node #0,1,4: 35:[47, 12] Operation: 21-9=12 Moving to Node #0,4 Current State: 35:[7, 63, 26], Operations: ['47-21=26'] Exploring Operation: 63/7=9, Resulting Numbers: [26, 9] Generated Node #0,4,0: 35:[26, 9] Operation: 63/7=9 Exploring Operation: 63-26=37, Resulting Numbers: [7, 37] Generated Node #0,4,1: 35:[7, 37] Operation: 63-26=37 Exploring Operation: 26-7=19, Resulting Numbers: [63, 19] Generated Node #0,4,2: 35:[63, 19] Operation: 26-7=19 Exploring Operation: 7+26=33, Resulting Numbers: [63, 33] Generated Node #0,4,3: 35:[63, 33] Operation: 7+26=33 Exploring Operation: 63-7=56, Resulting Numbers: [26, 56] Generated Node #0,4,4: 35:[26, 56] Operation: 63-7=56 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 35:[7, 37], Operations: ['47-21=26', '63-26=37'] Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,35 unequal: No Solution Exploring Operation: 7*37=259, Resulting Numbers: [259] 259,35 unequal: No Solution Exploring Operation: 7+37=44, Resulting Numbers: [44] 44,35 unequal: No Solution No 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: 35:[26, 9], Operations: ['47-21=26', '63/7=9'] Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,35 unequal: No Solution Exploring Operation: 26+9=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[7, 21, 47, 63], Operations: [] Exploring Operation: 47-21=26, Resulting Numbers: [7, 63, 26] Generated Node #0,4: 35:[7, 63, 26] Operation: 47-21=26 Moving to Node #0,4 Current State: 35:[7, 63, 26], Operations: ['47-21=26'] Exploring Operation: 63/7=9, Resulting Numbers: [26, 9] Generated Node #0,4,0: 35:[26, 9] Operation: 63/7=9 Moving to Node #0,4,0 Current State: 35:[26, 9], Operations: ['47-21=26', '63/7=9'] Exploring Operation: 26+9=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_5
mult_heuristic
[ 8, 82, 58, 58 ]
74
[ "82-8=74", "58-58=0", "74+0=74" ]
Current State: 74:[8, 82, 58, 58], Operations: [] Exploring Operation: 82-8=74, Resulting Numbers: [58, 58, 74] Generated Node #2: [58, 58, 74] from Operation: 82-8=74 Current State: 74:[58, 58, 74], Operations: ['82-8=74'] Exploring Operation: 58-58=0, Resulting Numbers: [74, 0] Generated Node #3: [74, 0] from Operation: 58-58=0 Current State: 74:[74, 0], Operations: ['82-8=74', '58-58=0'] Exploring Operation: 74+0=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[8, 82, 58, 58], Operations: [] Exploring Operation: 8+58=66, Resulting Numbers: [82, 58, 66] Generated Node #0,0: 74:[82, 58, 66] Operation: 8+58=66 Exploring Operation: 8+58=66, Resulting Numbers: [82, 58, 66] Generated Node #0,1: 74:[82, 58, 66] Operation: 8+58=66 Exploring Operation: 82-8=74, Resulting Numbers: [58, 58, 74] Generated Node #0,2: 74:[58, 58, 74] Operation: 82-8=74 Exploring Operation: 58-58=0, Resulting Numbers: [8, 82, 0] Generated Node #0,3: 74:[8, 82, 0] Operation: 58-58=0 Exploring Operation: 58/58=1, Resulting Numbers: [8, 82, 1] Generated Node #0,4: 74:[8, 82, 1] Operation: 58/58=1 Start Sub Search at level 1: Moving to Node #0,4 Current State: 74:[8, 82, 1], Operations: ['58/58=1'] Exploring Operation: 82-8=74, Resulting Numbers: [1, 74] Generated Node #0,4,0: 74:[1, 74] Operation: 82-8=74 Exploring Operation: 8/1=8, Resulting Numbers: [82, 8] Generated Node #0,4,1: 74:[82, 8] Operation: 8/1=8 Exploring Operation: 8*1=8, Resulting Numbers: [82, 8] Generated Node #0,4,2: 74:[82, 8] Operation: 8*1=8 Exploring Operation: 8-1=7, Resulting Numbers: [82, 7] Generated Node #0,4,3: 74:[82, 7] Operation: 8-1=7 Exploring Operation: 82-1=81, Resulting Numbers: [8, 81] Generated Node #0,4,4: 74:[8, 81] Operation: 82-1=81 Moving to Node #0,4,0 Current State: 74:[1, 74], Operations: ['58/58=1', '82-8=74'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,74 unequal: No Solution Exploring Operation: 1*74=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[8, 82, 58, 58], Operations: [] Exploring Operation: 58/58=1, Resulting Numbers: [8, 82, 1] Generated Node #0,4: 74:[8, 82, 1] Operation: 58/58=1 Moving to Node #0,4 Current State: 74:[8, 82, 1], Operations: ['58/58=1'] Exploring Operation: 82-8=74, Resulting Numbers: [1, 74] Generated Node #0,4,0: 74:[1, 74] Operation: 82-8=74 Moving to Node #0,4,0 Current State: 74:[1, 74], Operations: ['58/58=1', '82-8=74'] Exploring Operation: 1*74=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 27, 64, 99, 70 ]
66
[ "64-27=37", "99-70=29", "37+29=66" ]
Current State: 66:[27, 64, 99, 70], Operations: [] Exploring Operation: 64-27=37, Resulting Numbers: [99, 70, 37] Generated Node #2: [99, 70, 37] from Operation: 64-27=37 Current State: 66:[99, 70, 37], Operations: ['64-27=37'] Exploring Operation: 99-70=29, Resulting Numbers: [37, 29] Generated Node #3: [37, 29] from Operation: 99-70=29 Current State: 66:[37, 29], Operations: ['64-27=37', '99-70=29'] Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[27, 64, 99, 70], Operations: [] Exploring Operation: 99-27=72, Resulting Numbers: [64, 70, 72] Generated Node #0,0: 66:[64, 70, 72] Operation: 99-27=72 Exploring Operation: 99-70=29, Resulting Numbers: [27, 64, 29] Generated Node #0,1: 66:[27, 64, 29] Operation: 99-70=29 Exploring Operation: 64-27=37, Resulting Numbers: [99, 70, 37] Generated Node #0,2: 66:[99, 70, 37] Operation: 64-27=37 Exploring Operation: 99-64=35, Resulting Numbers: [27, 70, 35] Generated Node #0,3: 66:[27, 70, 35] Operation: 99-64=35 Exploring Operation: 70-64=6, Resulting Numbers: [27, 99, 6] Generated Node #0,4: 66:[27, 99, 6] Operation: 70-64=6 Moving to Node #0,1 Current State: 66:[27, 64, 29], Operations: ['99-70=29'] Exploring Operation: 64-29=35, Resulting Numbers: [27, 35] Generated Node #0,1,0: 66:[27, 35] Operation: 64-29=35 Exploring Operation: 64-27=37, Resulting Numbers: [29, 37] Generated Node #0,1,1: 66:[29, 37] Operation: 64-27=37 Exploring Operation: 29-27=2, Resulting Numbers: [64, 2] Generated Node #0,1,2: 66:[64, 2] Operation: 29-27=2 Exploring Operation: 27+64=91, Resulting Numbers: [29, 91] Generated Node #0,1,3: 66:[29, 91] Operation: 27+64=91 Exploring Operation: 27+29=56, Resulting Numbers: [64, 56] Generated Node #0,1,4: 66:[64, 56] Operation: 27+29=56 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 66:[64, 2], Operations: ['99-70=29', '29-27=2'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,66 unequal: No Solution Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[27, 64, 99, 70], Operations: [] Exploring Operation: 99-70=29, Resulting Numbers: [27, 64, 29] Generated Node #0,1: 66:[27, 64, 29] Operation: 99-70=29 Moving to Node #0,1 Current State: 66:[27, 64, 29], Operations: ['99-70=29'] Exploring Operation: 29-27=2, Resulting Numbers: [64, 2] Generated Node #0,1,2: 66:[64, 2] Operation: 29-27=2 Moving to Node #0,1,2 Current State: 66:[64, 2], Operations: ['99-70=29', '29-27=2'] Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 4, 14, 39, 65 ]
77
[ "4*39=156", "14+65=79", "156-79=77" ]
Current State: 77:[4, 14, 39, 65], Operations: [] Exploring Operation: 4*39=156, Resulting Numbers: [14, 65, 156] Generated Node #2: [14, 65, 156] from Operation: 4*39=156 Current State: 77:[14, 65, 156], Operations: ['4*39=156'] Exploring Operation: 14+65=79, Resulting Numbers: [156, 79] Generated Node #3: [156, 79] from Operation: 14+65=79 Current State: 77:[156, 79], Operations: ['4*39=156', '14+65=79'] Exploring Operation: 156-79=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[4, 14, 39, 65], Operations: [] Exploring Operation: 65-39=26, Resulting Numbers: [4, 14, 26] Generated Node #0,0: 77:[4, 14, 26] Operation: 65-39=26 Exploring Operation: 39+65=104, Resulting Numbers: [4, 14, 104] Generated Node #0,1: 77:[4, 14, 104] Operation: 39+65=104 Exploring Operation: 39-14=25, Resulting Numbers: [4, 65, 25] Generated Node #0,2: 77:[4, 65, 25] Operation: 39-14=25 Exploring Operation: 14+65=79, Resulting Numbers: [4, 39, 79] Generated Node #0,3: 77:[4, 39, 79] Operation: 14+65=79 Moving to Node #0,0 Current State: 77:[4, 14, 26], Operations: ['65-39=26'] Exploring Operation: 26-4=22, Resulting Numbers: [14, 22] Generated Node #0,0,0: 77:[14, 22] Operation: 26-4=22 Exploring Operation: 26-14=12, Resulting Numbers: [4, 12] Generated Node #0,0,1: 77:[4, 12] Operation: 26-14=12 Exploring Operation: 14-4=10, Resulting Numbers: [26, 10] Generated Node #0,0,2: 77:[26, 10] Operation: 14-4=10 Exploring Operation: 4+14=18, Resulting Numbers: [26, 18] Generated Node #0,0,3: 77:[26, 18] Operation: 4+14=18 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[4, 12], Operations: ['65-39=26', '26-14=12'] Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,77 unequal: No Solution Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,77 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[14, 22], Operations: ['65-39=26', '26-4=22'] Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,77 unequal: No Solution Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 14*22=308, Resulting Numbers: [308] 308,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 77:[26, 10], Operations: ['65-39=26', '14-4=10'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,77 unequal: No Solution Exploring Operation: 26*10=260, Resulting Numbers: [260] 260,77 unequal: No Solution Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 77:[26, 18], Operations: ['65-39=26', '4+14=18'] Exploring Operation: 26+18=44, Resulting Numbers: [44] 44,77 unequal: No Solution Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 26*18=468, Resulting Numbers: [468] 468,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 77:[4, 65, 25], Operations: ['39-14=25'] Exploring Operation: 4+65=69, Resulting Numbers: [25, 69] Generated Node #0,2,0: 77:[25, 69] Operation: 4+65=69 Exploring Operation: 25-4=21, Resulting Numbers: [65, 21] Generated Node #0,2,1: 77:[65, 21] Operation: 25-4=21 Exploring Operation: 65+25=90, Resulting Numbers: [4, 90] Generated Node #0,2,2: 77:[4, 90] Operation: 65+25=90 Exploring Operation: 65-4=61, Resulting Numbers: [25, 61] Generated Node #0,2,3: 77:[25, 61] Operation: 65-4=61 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 77:[4, 90], Operations: ['39-14=25', '65+25=90'] Exploring Operation: 4*90=360, Resulting Numbers: [360] 360,77 unequal: No Solution Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,77 unequal: No Solution Exploring Operation: 4+90=94, Resulting Numbers: [94] 94,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 77:[25, 69], Operations: ['39-14=25', '4+65=69'] Exploring Operation: 69-25=44, Resulting Numbers: [44] 44,77 unequal: No Solution Exploring Operation: 25*69=1725, Resulting Numbers: [1725] 1725,77 unequal: No Solution Exploring Operation: 25+69=94, Resulting Numbers: [94] 94,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 77:[65, 21], Operations: ['39-14=25', '25-4=21'] Exploring Operation: 65*21=1365, Resulting Numbers: [1365] 1365,77 unequal: No Solution Exploring Operation: 65-21=44, Resulting Numbers: [44] 44,77 unequal: No Solution Exploring Operation: 65+21=86, Resulting Numbers: [86] 86,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 77:[25, 61], Operations: ['39-14=25', '65-4=61'] Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,77 unequal: No Solution Exploring Operation: 25*61=1525, Resulting Numbers: [1525] 1525,77 unequal: No Solution Exploring Operation: 25+61=86, Resulting Numbers: [86] 86,77 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: 77:[4, 39, 79], Operations: ['14+65=79'] Exploring Operation: 79-39=40, Resulting Numbers: [4, 40] Generated Node #0,3,0: 77:[4, 40] Operation: 79-39=40 Exploring Operation: 39-4=35, Resulting Numbers: [79, 35] Generated Node #0,3,1: 77:[79, 35] Operation: 39-4=35 Exploring Operation: 4+39=43, Resulting Numbers: [79, 43] Generated Node #0,3,2: 77:[79, 43] Operation: 4+39=43 Exploring Operation: 79-4=75, Resulting Numbers: [39, 75] Generated Node #0,3,3: 77:[39, 75] Operation: 79-4=75 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 77:[79, 35], Operations: ['14+65=79', '39-4=35'] Exploring Operation: 79-35=44, Resulting Numbers: [44] 44,77 unequal: No Solution Exploring Operation: 79*35=2765, Resulting Numbers: [2765] 2765,77 unequal: No Solution Exploring Operation: 79+35=114, Resulting Numbers: [114] 114,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 77:[39, 75], Operations: ['14+65=79', '79-4=75'] Exploring Operation: 39+75=114, Resulting Numbers: [114] 114,77 unequal: No Solution Exploring Operation: 75-39=36, Resulting Numbers: [36] 36,77 unequal: No Solution Exploring Operation: 39*75=2925, Resulting Numbers: [2925] 2925,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 77:[4, 40], Operations: ['14+65=79', '79-39=40'] Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,77 unequal: No Solution Exploring Operation: 4+40=44, Resulting Numbers: [44] 44,77 unequal: No Solution Exploring Operation: 4*40=160, Resulting Numbers: [160] 160,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 77:[79, 43], Operations: ['14+65=79', '4+39=43'] Exploring Operation: 79*43=3397, Resulting Numbers: [3397] 3397,77 unequal: No Solution Exploring Operation: 79-43=36, Resulting Numbers: [36] 36,77 unequal: No Solution Exploring Operation: 79+43=122, Resulting Numbers: [122] 122,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 77:[4, 14, 104], Operations: ['39+65=104'] Exploring Operation: 104-14=90, Resulting Numbers: [4, 90] Generated Node #0,1,0: 77:[4, 90] Operation: 104-14=90 Exploring Operation: 14-4=10, Resulting Numbers: [104, 10] Generated Node #0,1,1: 77:[104, 10] Operation: 14-4=10 Exploring Operation: 104/4=26, Resulting Numbers: [14, 26] Generated Node #0,1,2: 77:[14, 26] Operation: 104/4=26 Exploring Operation: 104-4=100, Resulting Numbers: [14, 100] Generated Node #0,1,3: 77:[14, 100] Operation: 104-4=100 Moving to Node #0,1,0 Current State: 77:[4, 90], Operations: ['39+65=104', '104-14=90'] Exploring Operation: 4+90=94, Resulting Numbers: [94] 94,77 unequal: No Solution Exploring Operation: 4*90=360, Resulting Numbers: [360] 360,77 unequal: No Solution Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,77 unequal: No Solution Moving to Node #0,1,2 Current State: 77:[14, 26], Operations: ['39+65=104', '104/4=26'] Exploring Operation: 14+26=40, Resulting Numbers: [40] 40,77 unequal: No Solution Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 14*26=364, Resulting Numbers: [364] 364,77 unequal: No Solution Moving to Node #0,1,3 Current State: 77:[14, 100], Operations: ['39+65=104', '104-4=100'] Exploring Operation: 14+100=114, Resulting Numbers: [114] 114,77 unequal: No Solution Exploring Operation: 100-14=86, Resulting Numbers: [86] 86,77 unequal: No Solution Exploring Operation: 14*100=1400, Resulting Numbers: [1400] 1400,77 unequal: No Solution Moving to Node #0,1,1 Current State: 77:[104, 10], Operations: ['39+65=104', '14-4=10'] Exploring Operation: 104-10=94, Resulting Numbers: [94] 94,77 unequal: No Solution Exploring Operation: 104*10=1040, Resulting Numbers: [1040] 1040,77 unequal: No Solution Exploring Operation: 104+10=114, Resulting Numbers: [114] 114,77 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 50, 4, 31, 44 ]
70
[ "50+31=81", "44/4=11", "81-11=70" ]
Current State: 70:[50, 4, 31, 44], Operations: [] Exploring Operation: 50+31=81, Resulting Numbers: [4, 44, 81] Generated Node #2: [4, 44, 81] from Operation: 50+31=81 Current State: 70:[4, 44, 81], Operations: ['50+31=81'] Exploring Operation: 44/4=11, Resulting Numbers: [81, 11] Generated Node #3: [81, 11] from Operation: 44/4=11 Current State: 70:[81, 11], Operations: ['50+31=81', '44/4=11'] Exploring Operation: 81-11=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[50, 4, 31, 44], Operations: [] Exploring Operation: 44-31=13, Resulting Numbers: [50, 4, 13] Generated Node #0,0: 70:[50, 4, 13] Operation: 44-31=13 Exploring Operation: 50-44=6, Resulting Numbers: [4, 31, 6] Generated Node #0,1: 70:[4, 31, 6] Operation: 50-44=6 Exploring Operation: 50-31=19, Resulting Numbers: [4, 44, 19] Generated Node #0,2: 70:[4, 44, 19] Operation: 50-31=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[4, 31, 6], Operations: ['50-44=6'] Exploring Operation: 4+6=10, Resulting Numbers: [31, 10] Generated Node #0,1,0: 70:[31, 10] Operation: 4+6=10 Exploring Operation: 31+6=37, Resulting Numbers: [4, 37] Generated Node #0,1,1: 70:[4, 37] Operation: 31+6=37 Exploring Operation: 4+31=35, Resulting Numbers: [6, 35] Generated Node #0,1,2: 70:[6, 35] Operation: 4+31=35 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 70:[6, 35], Operations: ['50-44=6', '4+31=35'] Exploring Operation: 6*35=210, Resulting Numbers: [210] 210,70 unequal: No Solution Exploring Operation: 6+35=41, Resulting Numbers: [41] 41,70 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,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,1,1 Current State: 70:[4, 37], Operations: ['50-44=6', '31+6=37'] Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,70 unequal: No Solution Exploring Operation: 4*37=148, Resulting Numbers: [148] 148,70 unequal: No Solution Exploring Operation: 4+37=41, Resulting Numbers: [41] 41,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,1,0 Current State: 70:[31, 10], Operations: ['50-44=6', '4+6=10'] Exploring Operation: 31+10=41, Resulting Numbers: [41] 41,70 unequal: No Solution Exploring Operation: 31*10=310, Resulting Numbers: [310] 310,70 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,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,2 Current State: 70:[4, 44, 19], Operations: ['50-31=19'] Exploring Operation: 44-4=40, Resulting Numbers: [19, 40] Generated Node #0,2,0: 70:[19, 40] Operation: 44-4=40 Exploring Operation: 44+19=63, Resulting Numbers: [4, 63] Generated Node #0,2,1: 70:[4, 63] Operation: 44+19=63 Exploring Operation: 44/4=11, Resulting Numbers: [19, 11] Generated Node #0,2,2: 70:[19, 11] Operation: 44/4=11 Moving to Node #0,2,2 Current State: 70:[19, 11], Operations: ['50-31=19', '44/4=11'] Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 19*11=209, Resulting Numbers: [209] 209,70 unequal: No Solution Exploring Operation: 19+11=30, Resulting Numbers: [30] 30,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[4, 63], Operations: ['50-31=19', '44+19=63'] Exploring Operation: 4*63=252, Resulting Numbers: [252] 252,70 unequal: No Solution Exploring Operation: 4+63=67, Resulting Numbers: [67] 67,70 unequal: No Solution Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,70 unequal: No Solution Moving to Node #0,2,0 Current State: 70:[19, 40], Operations: ['50-31=19', '44-4=40'] Exploring Operation: 19+40=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 19*40=760, Resulting Numbers: [760] 760,70 unequal: No Solution Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[50, 4, 13], Operations: ['44-31=13'] Exploring Operation: 50-4=46, Resulting Numbers: [13, 46] Generated Node #0,0,0: 70:[13, 46] Operation: 50-4=46 Exploring Operation: 50+13=63, Resulting Numbers: [4, 63] Generated Node #0,0,1: 70:[4, 63] Operation: 50+13=63 Exploring Operation: 50-13=37, Resulting Numbers: [4, 37] Generated Node #0,0,2: 70:[4, 37] Operation: 50-13=37 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 70:[4, 37], Operations: ['44-31=13', '50-13=37'] Exploring Operation: 4*37=148, Resulting Numbers: [148] 148,70 unequal: No Solution Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,70 unequal: No Solution Exploring Operation: 4+37=41, Resulting Numbers: [41] 41,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,1 Current State: 70:[4, 63], Operations: ['44-31=13', '50+13=63'] Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 4+63=67, Resulting Numbers: [67] 67,70 unequal: No Solution Exploring Operation: 4*63=252, Resulting Numbers: [252] 252,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:[13, 46], Operations: ['44-31=13', '50-4=46'] Exploring Operation: 46-13=33, Resulting Numbers: [33] 33,70 unequal: No Solution Exploring Operation: 13*46=598, Resulting Numbers: [598] 598,70 unequal: No Solution Exploring Operation: 13+46=59, Resulting Numbers: [59] 59,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_3
sum_heuristic
[ 86, 90, 31, 15 ]
29
[ "90-86=4", "15*4=60", "60-31=29" ]
Current State: 29:[86, 90, 31, 15], Operations: [] Exploring Operation: 90-86=4, Resulting Numbers: [31, 15, 4] Generated Node #2: [31, 15, 4] from Operation: 90-86=4 Current State: 29:[31, 15, 4], Operations: ['90-86=4'] Exploring Operation: 15*4=60, Resulting Numbers: [31, 60] Generated Node #3: [31, 60] from Operation: 15*4=60 Current State: 29:[31, 60], Operations: ['90-86=4', '15*4=60'] Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[86, 90, 31, 15], Operations: [] Exploring Operation: 86-31=55, Resulting Numbers: [90, 15, 55] Generated Node #0,0: 29:[90, 15, 55] Operation: 86-31=55 Exploring Operation: 90/15=6, Resulting Numbers: [86, 31, 6] Generated Node #0,1: 29:[86, 31, 6] Operation: 90/15=6 Exploring Operation: 90-86=4, Resulting Numbers: [31, 15, 4] Generated Node #0,2: 29:[31, 15, 4] Operation: 90-86=4 Moving to Node #0,2 Current State: 29:[31, 15, 4], Operations: ['90-86=4'] Exploring Operation: 31-4=27, Resulting Numbers: [15, 27] Generated Node #0,2,0: 29:[15, 27] Operation: 31-4=27 Exploring Operation: 15+4=19, Resulting Numbers: [31, 19] Generated Node #0,2,1: 29:[31, 19] Operation: 15+4=19 Exploring Operation: 31+4=35, Resulting Numbers: [15, 35] Generated Node #0,2,2: 29:[15, 35] Operation: 31+4=35 Moving to Node #0,1 Current State: 29:[86, 31, 6], Operations: ['90/15=6'] Exploring Operation: 86-6=80, Resulting Numbers: [31, 80] Generated Node #0,1,0: 29:[31, 80] Operation: 86-6=80 Exploring Operation: 31-6=25, Resulting Numbers: [86, 25] Generated Node #0,1,1: 29:[86, 25] Operation: 31-6=25 Exploring Operation: 86-31=55, Resulting Numbers: [6, 55] Generated Node #0,1,2: 29:[6, 55] Operation: 86-31=55 Moving to Node #0,0 Current State: 29:[90, 15, 55], Operations: ['86-31=55'] Exploring Operation: 90-15=75, Resulting Numbers: [55, 75] Generated Node #0,0,0: 29:[55, 75] Operation: 90-15=75 Exploring Operation: 90-55=35, Resulting Numbers: [15, 35] Generated Node #0,0,1: 29:[15, 35] Operation: 90-55=35 Exploring Operation: 90/15=6, Resulting Numbers: [55, 6] Generated Node #0,0,2: 29:[55, 6] Operation: 90/15=6 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 29:[15, 35], Operations: ['86-31=55', '90-55=35'] Exploring Operation: 15*35=525, Resulting Numbers: [525] 525,29 unequal: No Solution Exploring Operation: 15+35=50, Resulting Numbers: [50] 50,29 unequal: No Solution Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 29:[55, 6], Operations: ['86-31=55', '90/15=6'] Exploring Operation: 55*6=330, Resulting Numbers: [330] 330,29 unequal: No Solution Exploring Operation: 55+6=61, Resulting Numbers: [61] 61,29 unequal: No Solution Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[55, 75], Operations: ['86-31=55', '90-15=75'] Exploring Operation: 55*75=4125, Resulting Numbers: [4125] 4125,29 unequal: No Solution Exploring Operation: 75-55=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 55+75=130, Resulting Numbers: [130] 130,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 29:[31, 19], Operations: ['90-86=4', '15+4=19'] Exploring Operation: 31-19=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 31+19=50, Resulting Numbers: [50] 50,29 unequal: No Solution Exploring Operation: 31*19=589, Resulting Numbers: [589] 589,29 unequal: No Solution Moving to Node #0,2,0 Current State: 29:[15, 27], Operations: ['90-86=4', '31-4=27'] Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 15+27=42, Resulting Numbers: [42] 42,29 unequal: No Solution Exploring Operation: 15*27=405, Resulting Numbers: [405] 405,29 unequal: No Solution Moving to Node #0,2,2 Current State: 29:[15, 35], Operations: ['90-86=4', '31+4=35'] Exploring Operation: 15*35=525, Resulting Numbers: [525] 525,29 unequal: No Solution Exploring Operation: 15+35=50, Resulting Numbers: [50] 50,29 unequal: No Solution Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,29 unequal: No Solution Moving to Node #0,1,2 Current State: 29:[6, 55], Operations: ['90/15=6', '86-31=55'] Exploring Operation: 6+55=61, Resulting Numbers: [61] 61,29 unequal: No Solution Exploring Operation: 6*55=330, Resulting Numbers: [330] 330,29 unequal: No Solution Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,29 unequal: No Solution Moving to Node #0,1,0 Current State: 29:[31, 80], Operations: ['90/15=6', '86-6=80'] Exploring Operation: 31+80=111, Resulting Numbers: [111] 111,29 unequal: No Solution Exploring Operation: 80-31=49, Resulting Numbers: [49] 49,29 unequal: No Solution Exploring Operation: 31*80=2480, Resulting Numbers: [2480] 2480,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[86, 25], Operations: ['90/15=6', '31-6=25'] Exploring Operation: 86+25=111, Resulting Numbers: [111] 111,29 unequal: No Solution Exploring Operation: 86*25=2150, Resulting Numbers: [2150] 2150,29 unequal: No Solution Exploring Operation: 86-25=61, Resulting Numbers: [61] 61,29 unequal: No Solution No solution found.
0
hs_3
mult_heuristic