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
[ 68, 54, 83, 18 ]
79
[ "68-54=14", "83-18=65", "14+65=79" ]
Current State: 79:[68, 54, 83, 18], Operations: [] Exploring Operation: 68-54=14, Resulting Numbers: [83, 18, 14] Generated Node #2: [83, 18, 14] from Operation: 68-54=14 Current State: 79:[83, 18, 14], Operations: ['68-54=14'] Exploring Operation: 83-18=65, Resulting Numbers: [14, 65] Generated Node #3: [14, 65] from Operation: 83-18=65 Current State: 79:[14, 65], Operations: ['68-54=14', '83-18=65'] Exploring Operation: 14+65=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[68, 54, 83, 18], Operations: [] Exploring Operation: 54+18=72, Resulting Numbers: [68, 83, 72] Generated Node #0,0: 79:[68, 83, 72] Operation: 54+18=72 Moving to Node #0,0 Current State: 79:[68, 83, 72], Operations: ['54+18=72'] Exploring Operation: 68+72=140, Resulting Numbers: [83, 140] Generated Node #0,0,0: 79:[83, 140] Operation: 68+72=140 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[83, 140], Operations: ['54+18=72', '68+72=140'] Exploring Operation: 140-83=57, Resulting Numbers: [57] 57,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 9, 46, 6, 68 ]
78
[ "9+46=55", "68-55=13", "6*13=78" ]
Current State: 78:[9, 46, 6, 68], Operations: [] Exploring Operation: 9+46=55, Resulting Numbers: [6, 68, 55] Generated Node #2: [6, 68, 55] from Operation: 9+46=55 Current State: 78:[6, 68, 55], Operations: ['9+46=55'] Exploring Operation: 68-55=13, Resulting Numbers: [6, 13] Generated Node #3: [6, 13] from Operation: 68-55=13 Current State: 78:[6, 13], Operations: ['9+46=55', '68-55=13'] Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[9, 46, 6, 68], Operations: [] Exploring Operation: 68-46=22, Resulting Numbers: [9, 6, 22] Generated Node #0,0: 78:[9, 6, 22] Operation: 68-46=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[9, 6, 22], Operations: ['68-46=22'] Exploring Operation: 22-9=13, Resulting Numbers: [6, 13] Generated Node #0,0,0: 78:[6, 13] Operation: 22-9=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[6, 13], Operations: ['68-46=22', '22-9=13'] Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[9, 46, 6, 68], Operations: [] Exploring Operation: 68-46=22, Resulting Numbers: [9, 6, 22] Generated Node #0,0: 78:[9, 6, 22] Operation: 68-46=22 Moving to Node #0,0 Current State: 78:[9, 6, 22], Operations: ['68-46=22'] Exploring Operation: 22-9=13, Resulting Numbers: [6, 13] Generated Node #0,0,0: 78:[6, 13] Operation: 22-9=13 Moving to Node #0,0,0 Current State: 78:[6, 13], Operations: ['68-46=22', '22-9=13'] Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 5, 18, 48, 72 ]
57
[ "5+48=53", "72/18=4", "53+4=57" ]
Current State: 57:[5, 18, 48, 72], Operations: [] Exploring Operation: 5+48=53, Resulting Numbers: [18, 72, 53] Generated Node #2: [18, 72, 53] from Operation: 5+48=53 Current State: 57:[18, 72, 53], Operations: ['5+48=53'] Exploring Operation: 72/18=4, Resulting Numbers: [53, 4] Generated Node #3: [53, 4] from Operation: 72/18=4 Current State: 57:[53, 4], Operations: ['5+48=53', '72/18=4'] Exploring Operation: 53+4=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[5, 18, 48, 72], Operations: [] Exploring Operation: 72-48=24, Resulting Numbers: [5, 18, 24] Generated Node #0,0: 57:[5, 18, 24] Operation: 72-48=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[5, 18, 24], Operations: ['72-48=24'] Exploring Operation: 24-5=19, Resulting Numbers: [18, 19] Generated Node #0,0,0: 57:[18, 19] Operation: 24-5=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[18, 19], Operations: ['72-48=24', '24-5=19'] Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,57 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
[ 50, 10, 12, 18 ]
52
[ "50+18=68", "10*12=120", "120-68=52" ]
Current State: 52:[50, 10, 12, 18], Operations: [] Exploring Operation: 50+18=68, Resulting Numbers: [10, 12, 68] Generated Node #2: [10, 12, 68] from Operation: 50+18=68 Current State: 52:[10, 12, 68], Operations: ['50+18=68'] Exploring Operation: 10*12=120, Resulting Numbers: [68, 120] Generated Node #3: [68, 120] from Operation: 10*12=120 Current State: 52:[68, 120], Operations: ['50+18=68', '10*12=120'] Exploring Operation: 120-68=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[50, 10, 12, 18], Operations: [] Exploring Operation: 10+18=28, Resulting Numbers: [50, 12, 28] Generated Node #0,0: 52:[50, 12, 28] Operation: 10+18=28 Moving to Node #0,0 Current State: 52:[50, 12, 28], Operations: ['10+18=28'] Exploring Operation: 50-28=22, Resulting Numbers: [12, 22] Generated Node #0,0,0: 52:[12, 22] Operation: 50-28=22 Moving to Node #0,0,0 Current State: 52:[12, 22], Operations: ['10+18=28', '50-28=22'] Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,52 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 36, 90, 41, 81 ]
37
[ "90-81=9", "36/9=4", "41-4=37" ]
Current State: 37:[36, 90, 41, 81], Operations: [] Exploring Operation: 90-81=9, Resulting Numbers: [36, 41, 9] Generated Node #2: [36, 41, 9] from Operation: 90-81=9 Current State: 37:[36, 41, 9], Operations: ['90-81=9'] Exploring Operation: 36/9=4, Resulting Numbers: [41, 4] Generated Node #3: [41, 4] from Operation: 36/9=4 Current State: 37:[41, 4], Operations: ['90-81=9', '36/9=4'] Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[36, 90, 41, 81], Operations: [] Exploring Operation: 90-41=49, Resulting Numbers: [36, 81, 49] Generated Node #0,0: 37:[36, 81, 49] Operation: 90-41=49 Exploring Operation: 81-41=40, Resulting Numbers: [36, 90, 40] Generated Node #0,1: 37:[36, 90, 40] Operation: 81-41=40 Exploring Operation: 90-81=9, Resulting Numbers: [36, 41, 9] Generated Node #0,2: 37:[36, 41, 9] Operation: 90-81=9 Moving to Node #0,2 Current State: 37:[36, 41, 9], Operations: ['90-81=9'] Exploring Operation: 41-9=32, Resulting Numbers: [36, 32] Generated Node #0,2,0: 37:[36, 32] Operation: 41-9=32 Exploring Operation: 36+9=45, Resulting Numbers: [41, 45] Generated Node #0,2,1: 37:[41, 45] Operation: 36+9=45 Exploring Operation: 36-9=27, Resulting Numbers: [41, 27] Generated Node #0,2,2: 37:[41, 27] Operation: 36-9=27 Moving to Node #0,0 Current State: 37:[36, 81, 49], Operations: ['90-41=49'] Exploring Operation: 81-49=32, Resulting Numbers: [36, 32] Generated Node #0,0,0: 37:[36, 32] Operation: 81-49=32 Exploring Operation: 49-36=13, Resulting Numbers: [81, 13] Generated Node #0,0,1: 37:[81, 13] Operation: 49-36=13 Exploring Operation: 81-36=45, Resulting Numbers: [49, 45] Generated Node #0,0,2: 37:[49, 45] Operation: 81-36=45 Moving to Node #0,1 Current State: 37:[36, 90, 40], Operations: ['81-41=40'] Exploring Operation: 40-36=4, Resulting Numbers: [90, 4] Generated Node #0,1,0: 37:[90, 4] Operation: 40-36=4 Exploring Operation: 90-40=50, Resulting Numbers: [36, 50] Generated Node #0,1,1: 37:[36, 50] Operation: 90-40=50 Exploring Operation: 90-36=54, Resulting Numbers: [40, 54] Generated Node #0,1,2: 37:[40, 54] Operation: 90-36=54 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[36, 50], Operations: ['81-41=40', '90-40=50'] Exploring Operation: 50-36=14, Resulting Numbers: [14] 14,37 unequal: No Solution Exploring Operation: 36*50=1800, Resulting Numbers: [1800] 1800,37 unequal: No Solution Exploring Operation: 36+50=86, Resulting Numbers: [86] 86,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,2 Current State: 37:[40, 54], Operations: ['81-41=40', '90-36=54'] Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,37 unequal: No Solution Exploring Operation: 40*54=2160, Resulting Numbers: [2160] 2160,37 unequal: No Solution Exploring Operation: 40+54=94, Resulting Numbers: [94] 94,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:[90, 4], Operations: ['81-41=40', '40-36=4'] Exploring Operation: 90*4=360, Resulting Numbers: [360] 360,37 unequal: No Solution Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,37 unequal: No Solution Exploring Operation: 90+4=94, Resulting Numbers: [94] 94,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 37:[36, 32], Operations: ['90-81=9', '41-9=32'] Exploring Operation: 36+32=68, Resulting Numbers: [68] 68,37 unequal: No Solution Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 36*32=1152, Resulting Numbers: [1152] 1152,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[36, 32], Operations: ['90-41=49', '81-49=32'] Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 36*32=1152, Resulting Numbers: [1152] 1152,37 unequal: No Solution Exploring Operation: 36+32=68, Resulting Numbers: [68] 68,37 unequal: No Solution Moving to Node #0,2,1 Current State: 37:[41, 45], Operations: ['90-81=9', '36+9=45'] Exploring Operation: 41*45=1845, Resulting Numbers: [1845] 1845,37 unequal: No Solution Exploring Operation: 41+45=86, Resulting Numbers: [86] 86,37 unequal: No Solution Exploring Operation: 45-41=4, Resulting Numbers: [4] 4,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[41, 27], Operations: ['90-81=9', '36-9=27'] Exploring Operation: 41*27=1107, Resulting Numbers: [1107] 1107,37 unequal: No Solution Exploring Operation: 41+27=68, Resulting Numbers: [68] 68,37 unequal: No Solution Exploring Operation: 41-27=14, Resulting Numbers: [14] 14,37 unequal: No Solution Moving to Node #0,0,2 Current State: 37:[49, 45], Operations: ['90-41=49', '81-36=45'] Exploring Operation: 49-45=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 49+45=94, Resulting Numbers: [94] 94,37 unequal: No Solution Exploring Operation: 49*45=2205, Resulting Numbers: [2205] 2205,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[81, 13], Operations: ['90-41=49', '49-36=13'] Exploring Operation: 81*13=1053, Resulting Numbers: [1053] 1053,37 unequal: No Solution Exploring Operation: 81+13=94, Resulting Numbers: [94] 94,37 unequal: No Solution Exploring Operation: 81-13=68, Resulting Numbers: [68] 68,37 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 26, 58, 27, 75 ]
15
[ "58-26=32", "32-27=5", "75/5=15" ]
Current State: 15:[26, 58, 27, 75], Operations: [] Exploring Operation: 58-26=32, Resulting Numbers: [27, 75, 32] Generated Node #2: [27, 75, 32] from Operation: 58-26=32 Current State: 15:[27, 75, 32], Operations: ['58-26=32'] Exploring Operation: 32-27=5, Resulting Numbers: [75, 5] Generated Node #3: [75, 5] from Operation: 32-27=5 Current State: 15:[75, 5], Operations: ['58-26=32', '32-27=5'] Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[26, 58, 27, 75], Operations: [] Exploring Operation: 75-58=17, Resulting Numbers: [26, 27, 17] Generated Node #0,0: 15:[26, 27, 17] Operation: 75-58=17 Moving to Node #0,0 Current State: 15:[26, 27, 17], Operations: ['75-58=17'] Exploring Operation: 27-26=1, Resulting Numbers: [17, 1] Generated Node #0,0,0: 15:[17, 1] Operation: 27-26=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[17, 1], Operations: ['75-58=17', '27-26=1'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 70, 57, 53, 19 ]
47
[ "70-57=13", "53-19=34", "13+34=47" ]
Current State: 47:[70, 57, 53, 19], Operations: [] Exploring Operation: 70-57=13, Resulting Numbers: [53, 19, 13] Generated Node #2: [53, 19, 13] from Operation: 70-57=13 Current State: 47:[53, 19, 13], Operations: ['70-57=13'] Exploring Operation: 53-19=34, Resulting Numbers: [13, 34] Generated Node #3: [13, 34] from Operation: 53-19=34 Current State: 47:[13, 34], Operations: ['70-57=13', '53-19=34'] Exploring Operation: 13+34=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[70, 57, 53, 19], Operations: [] Exploring Operation: 57+19=76, Resulting Numbers: [70, 53, 76] Generated Node #0,0: 47:[70, 53, 76] Operation: 57+19=76 Exploring Operation: 53-19=34, Resulting Numbers: [70, 57, 34] Generated Node #0,1: 47:[70, 57, 34] Operation: 53-19=34 Exploring Operation: 70-19=51, Resulting Numbers: [57, 53, 51] Generated Node #0,2: 47:[57, 53, 51] Operation: 70-19=51 Exploring Operation: 70+19=89, Resulting Numbers: [57, 53, 89] Generated Node #0,3: 47:[57, 53, 89] Operation: 70+19=89 Exploring Operation: 57-19=38, Resulting Numbers: [70, 53, 38] Generated Node #0,4: 47:[70, 53, 38] Operation: 57-19=38 Moving to Node #0,2 Current State: 47:[57, 53, 51], Operations: ['70-19=51'] Exploring Operation: 57-51=6, Resulting Numbers: [53, 6] Generated Node #0,2,0: 47:[53, 6] Operation: 57-51=6 Exploring Operation: 57+51=108, Resulting Numbers: [53, 108] Generated Node #0,2,1: 47:[53, 108] Operation: 57+51=108 Exploring Operation: 53-51=2, Resulting Numbers: [57, 2] Generated Node #0,2,2: 47:[57, 2] Operation: 53-51=2 Exploring Operation: 57-53=4, Resulting Numbers: [51, 4] Generated Node #0,2,3: 47:[51, 4] Operation: 57-53=4 Exploring Operation: 57+53=110, Resulting Numbers: [51, 110] Generated Node #0,2,4: 47:[51, 110] Operation: 57+53=110 Moving to Node #0,4 Current State: 47:[70, 53, 38], Operations: ['57-19=38'] Exploring Operation: 53-38=15, Resulting Numbers: [70, 15] Generated Node #0,4,0: 47:[70, 15] Operation: 53-38=15 Exploring Operation: 70-53=17, Resulting Numbers: [38, 17] Generated Node #0,4,1: 47:[38, 17] Operation: 70-53=17 Exploring Operation: 70-38=32, Resulting Numbers: [53, 32] Generated Node #0,4,2: 47:[53, 32] Operation: 70-38=32 Exploring Operation: 53+38=91, Resulting Numbers: [70, 91] Generated Node #0,4,3: 47:[70, 91] Operation: 53+38=91 Exploring Operation: 70+38=108, Resulting Numbers: [53, 108] Generated Node #0,4,4: 47:[53, 108] Operation: 70+38=108 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 47:[53, 32], Operations: ['57-19=38', '70-38=32'] Exploring Operation: 53-32=21, Resulting Numbers: [21] 21,47 unequal: No Solution Exploring Operation: 53*32=1696, Resulting Numbers: [1696] 1696,47 unequal: No Solution Exploring Operation: 53+32=85, Resulting Numbers: [85] 85,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 47:[38, 17], Operations: ['57-19=38', '70-53=17'] Exploring Operation: 38*17=646, Resulting Numbers: [646] 646,47 unequal: No Solution Exploring Operation: 38+17=55, Resulting Numbers: [55] 55,47 unequal: No Solution Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 47:[70, 15], Operations: ['57-19=38', '53-38=15'] Exploring Operation: 70*15=1050, Resulting Numbers: [1050] 1050,47 unequal: No Solution Exploring Operation: 70+15=85, Resulting Numbers: [85] 85,47 unequal: No Solution Exploring Operation: 70-15=55, Resulting Numbers: [55] 55,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 47:[70, 91], Operations: ['57-19=38', '53+38=91'] Exploring Operation: 70+91=161, Resulting Numbers: [161] 161,47 unequal: No Solution Exploring Operation: 70*91=6370, Resulting Numbers: [6370] 6370,47 unequal: No Solution Exploring Operation: 91-70=21, Resulting Numbers: [21] 21,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 47:[53, 108], Operations: ['57-19=38', '70+38=108'] Exploring Operation: 108-53=55, Resulting Numbers: [55] 55,47 unequal: No Solution Exploring Operation: 53*108=5724, Resulting Numbers: [5724] 5724,47 unequal: No Solution Exploring Operation: 53+108=161, Resulting Numbers: [161] 161,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:[70, 57, 34], Operations: ['53-19=34'] Exploring Operation: 70-34=36, Resulting Numbers: [57, 36] Generated Node #0,1,0: 47:[57, 36] Operation: 70-34=36 Exploring Operation: 57-34=23, Resulting Numbers: [70, 23] Generated Node #0,1,1: 47:[70, 23] Operation: 57-34=23 Exploring Operation: 57+34=91, Resulting Numbers: [70, 91] Generated Node #0,1,2: 47:[70, 91] Operation: 57+34=91 Exploring Operation: 70+34=104, Resulting Numbers: [57, 104] Generated Node #0,1,3: 47:[57, 104] Operation: 70+34=104 Exploring Operation: 70-57=13, Resulting Numbers: [34, 13] Generated Node #0,1,4: 47:[34, 13] Operation: 70-57=13 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[57, 36], Operations: ['53-19=34', '70-34=36'] Exploring Operation: 57+36=93, Resulting Numbers: [93] 93,47 unequal: No Solution Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,47 unequal: No Solution Exploring Operation: 57*36=2052, Resulting Numbers: [2052] 2052,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,1 Current State: 47:[70, 23], Operations: ['53-19=34', '57-34=23'] Exploring Operation: 70*23=1610, Resulting Numbers: [1610] 1610,47 unequal: No Solution Exploring Operation: 70+23=93, Resulting Numbers: [93] 93,47 unequal: No Solution Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[70, 57, 53, 19], Operations: [] Exploring Operation: 53-19=34, Resulting Numbers: [70, 57, 34] Generated Node #0,1: 47:[70, 57, 34] Operation: 53-19=34 Moving to Node #0,1 Current State: 47:[70, 57, 34], Operations: ['53-19=34'] Exploring Operation: 57-34=23, Resulting Numbers: [70, 23] Generated Node #0,1,1: 47:[70, 23] Operation: 57-34=23 Moving to Node #0,1,1 Current State: 47:[70, 23], Operations: ['53-19=34', '57-34=23'] Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.960938
hs_5
mult_heuristic
[ 92, 34, 72, 52 ]
36
[ "92+52=144", "144/72=2", "34+2=36" ]
Current State: 36:[92, 34, 72, 52], Operations: [] Exploring Operation: 92+52=144, Resulting Numbers: [34, 72, 144] Generated Node #2: [34, 72, 144] from Operation: 92+52=144 Current State: 36:[34, 72, 144], Operations: ['92+52=144'] Exploring Operation: 144/72=2, Resulting Numbers: [34, 2] Generated Node #3: [34, 2] from Operation: 144/72=2 Current State: 36:[34, 2], Operations: ['92+52=144', '144/72=2'] Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[92, 34, 72, 52], Operations: [] Exploring Operation: 92-52=40, Resulting Numbers: [34, 72, 40] Generated Node #0,0: 36:[34, 72, 40] Operation: 92-52=40 Exploring Operation: 92-72=20, Resulting Numbers: [34, 52, 20] Generated Node #0,1: 36:[34, 52, 20] Operation: 92-72=20 Moving to Node #0,1 Current State: 36:[34, 52, 20], Operations: ['92-72=20'] Exploring Operation: 52-20=32, Resulting Numbers: [34, 32] Generated Node #0,1,0: 36:[34, 32] Operation: 52-20=32 Exploring Operation: 52-34=18, Resulting Numbers: [20, 18] Generated Node #0,1,1: 36:[20, 18] Operation: 52-34=18 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 36:[20, 18], Operations: ['92-72=20', '52-34=18'] Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,36 unequal: No Solution No 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: 36:[34, 32], Operations: ['92-72=20', '52-20=32'] Exploring Operation: 34-32=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 34+32=66, Resulting Numbers: [66] 66,36 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: 36:[34, 72, 40], Operations: ['92-52=40'] Exploring Operation: 72-40=32, Resulting Numbers: [34, 32] Generated Node #0,0,0: 36:[34, 32] Operation: 72-40=32 Exploring Operation: 72-34=38, Resulting Numbers: [40, 38] Generated Node #0,0,1: 36:[40, 38] Operation: 72-34=38 Moving to Node #0,0,0 Current State: 36:[34, 32], Operations: ['92-52=40', '72-40=32'] Exploring Operation: 34-32=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 34+32=66, Resulting Numbers: [66] 66,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[40, 38], Operations: ['92-52=40', '72-34=38'] Exploring Operation: 40+38=78, Resulting Numbers: [78] 78,36 unequal: No Solution Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,36 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 69, 34, 44, 17 ]
91
[ "34/17=2", "44/2=22", "69+22=91" ]
Current State: 91:[69, 34, 44, 17], Operations: [] Exploring Operation: 34/17=2, Resulting Numbers: [69, 44, 2] Generated Node #2: [69, 44, 2] from Operation: 34/17=2 Current State: 91:[69, 44, 2], Operations: ['34/17=2'] Exploring Operation: 44/2=22, Resulting Numbers: [69, 22] Generated Node #3: [69, 22] from Operation: 44/2=22 Current State: 91:[69, 22], Operations: ['34/17=2', '44/2=22'] Exploring Operation: 69+22=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[69, 34, 44, 17], Operations: [] Exploring Operation: 44-34=10, Resulting Numbers: [69, 17, 10] Generated Node #0,0: 91:[69, 17, 10] Operation: 44-34=10 Moving to Node #0,0 Current State: 91:[69, 17, 10], Operations: ['44-34=10'] Exploring Operation: 69+17=86, Resulting Numbers: [10, 86] Generated Node #0,0,0: 91:[10, 86] Operation: 69+17=86 Moving to Node #0,0,0 Current State: 91:[10, 86], Operations: ['44-34=10', '69+17=86'] Exploring Operation: 10+86=96, Resulting Numbers: [96] 96,91 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 56, 5, 72, 6 ]
49
[ "56+5=61", "72/6=12", "61-12=49" ]
Current State: 49:[56, 5, 72, 6], Operations: [] Exploring Operation: 56+5=61, Resulting Numbers: [72, 6, 61] Generated Node #2: [72, 6, 61] from Operation: 56+5=61 Current State: 49:[72, 6, 61], Operations: ['56+5=61'] Exploring Operation: 72/6=12, Resulting Numbers: [61, 12] Generated Node #3: [61, 12] from Operation: 72/6=12 Current State: 49:[61, 12], Operations: ['56+5=61', '72/6=12'] Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[56, 5, 72, 6], Operations: [] Exploring Operation: 56-5=51, Resulting Numbers: [72, 6, 51] Generated Node #0,0: 49:[72, 6, 51] Operation: 56-5=51 Exploring Operation: 72/6=12, Resulting Numbers: [56, 5, 12] Generated Node #0,1: 49:[56, 5, 12] Operation: 72/6=12 Exploring Operation: 56-6=50, Resulting Numbers: [5, 72, 50] Generated Node #0,2: 49:[5, 72, 50] Operation: 56-6=50 Exploring Operation: 72-56=16, Resulting Numbers: [5, 6, 16] Generated Node #0,3: 49:[5, 6, 16] Operation: 72-56=16 Moving to Node #0,3 Current State: 49:[5, 6, 16], Operations: ['72-56=16'] Exploring Operation: 6-5=1, Resulting Numbers: [16, 1] Generated Node #0,3,0: 49:[16, 1] Operation: 6-5=1 Exploring Operation: 16-6=10, Resulting Numbers: [5, 10] Generated Node #0,3,1: 49:[5, 10] Operation: 16-6=10 Exploring Operation: 16-5=11, Resulting Numbers: [6, 11] Generated Node #0,3,2: 49:[6, 11] Operation: 16-5=11 Exploring Operation: 5+6=11, Resulting Numbers: [16, 11] Generated Node #0,3,3: 49:[16, 11] Operation: 5+6=11 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 49:[5, 10], Operations: ['72-56=16', '16-6=10'] Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 49:[6, 11], Operations: ['72-56=16', '16-5=11'] Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,49 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 49:[16, 11], Operations: ['72-56=16', '5+6=11'] Exploring Operation: 16*11=176, Resulting Numbers: [176] 176,49 unequal: No Solution Exploring Operation: 16+11=27, Resulting Numbers: [27] 27,49 unequal: No Solution Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 49:[16, 1], Operations: ['72-56=16', '6-5=1'] Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,49 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,49 unequal: No Solution Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 49:[56, 5, 12], Operations: ['72/6=12'] Exploring Operation: 56-12=44, Resulting Numbers: [5, 44] Generated Node #0,1,0: 49:[5, 44] Operation: 56-12=44 Exploring Operation: 12-5=7, Resulting Numbers: [56, 7] Generated Node #0,1,1: 49:[56, 7] Operation: 12-5=7 Exploring Operation: 56-5=51, Resulting Numbers: [12, 51] Generated Node #0,1,2: 49:[12, 51] Operation: 56-5=51 Exploring Operation: 56+5=61, Resulting Numbers: [12, 61] Generated Node #0,1,3: 49:[12, 61] Operation: 56+5=61 Moving to Node #0,2 Current State: 49:[5, 72, 50], Operations: ['56-6=50'] Exploring Operation: 50-5=45, Resulting Numbers: [72, 45] Generated Node #0,2,0: 49:[72, 45] Operation: 50-5=45 Exploring Operation: 72-50=22, Resulting Numbers: [5, 22] Generated Node #0,2,1: 49:[5, 22] Operation: 72-50=22 Exploring Operation: 50/5=10, Resulting Numbers: [72, 10] Generated Node #0,2,2: 49:[72, 10] Operation: 50/5=10 Exploring Operation: 72-5=67, Resulting Numbers: [50, 67] Generated Node #0,2,3: 49:[50, 67] Operation: 72-5=67 Moving to Node #0,0 Current State: 49:[72, 6, 51], Operations: ['56-5=51'] Exploring Operation: 72-51=21, Resulting Numbers: [6, 21] Generated Node #0,0,0: 49:[6, 21] Operation: 72-51=21 Exploring Operation: 72-6=66, Resulting Numbers: [51, 66] Generated Node #0,0,1: 49:[51, 66] Operation: 72-6=66 Exploring Operation: 72/6=12, Resulting Numbers: [51, 12] Generated Node #0,0,2: 49:[51, 12] Operation: 72/6=12 Exploring Operation: 51-6=45, Resulting Numbers: [72, 45] Generated Node #0,0,3: 49:[72, 45] Operation: 51-6=45 Moving to Node #0,1,0 Current State: 49:[5, 44], Operations: ['72/6=12', '56-12=44'] Exploring Operation: 5+44=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[56, 5, 72, 6], Operations: [] Exploring Operation: 72/6=12, Resulting Numbers: [56, 5, 12] Generated Node #0,1: 49:[56, 5, 12] Operation: 72/6=12 Moving to Node #0,1 Current State: 49:[56, 5, 12], Operations: ['72/6=12'] Exploring Operation: 56-12=44, Resulting Numbers: [5, 44] Generated Node #0,1,0: 49:[5, 44] Operation: 56-12=44 Moving to Node #0,1,0 Current State: 49:[5, 44], Operations: ['72/6=12', '56-12=44'] Exploring Operation: 5+44=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
0.966146
hs_4
sum_heuristic
[ 10, 77, 33, 68 ]
33
[ "77-10=67", "68-67=1", "33*1=33" ]
Current State: 33:[10, 77, 33, 68], Operations: [] Exploring Operation: 77-10=67, Resulting Numbers: [33, 68, 67] Generated Node #2: [33, 68, 67] from Operation: 77-10=67 Current State: 33:[33, 68, 67], Operations: ['77-10=67'] Exploring Operation: 68-67=1, Resulting Numbers: [33, 1] Generated Node #3: [33, 1] from Operation: 68-67=1 Current State: 33:[33, 1], Operations: ['77-10=67', '68-67=1'] Exploring Operation: 33*1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[10, 77, 33, 68], Operations: [] Exploring Operation: 77-33=44, Resulting Numbers: [10, 68, 44] Generated Node #0,0: 33:[10, 68, 44] Operation: 77-33=44 Exploring Operation: 77-68=9, Resulting Numbers: [10, 33, 9] Generated Node #0,1: 33:[10, 33, 9] Operation: 77-68=9 Moving to Node #0,1 Current State: 33:[10, 33, 9], Operations: ['77-68=9'] Exploring Operation: 10-9=1, Resulting Numbers: [33, 1] Generated Node #0,1,0: 33:[33, 1] Operation: 10-9=1 Exploring Operation: 10+9=19, Resulting Numbers: [33, 19] Generated Node #0,1,1: 33:[33, 19] Operation: 10+9=19 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 33:[33, 1], Operations: ['77-68=9', '10-9=1'] Exploring Operation: 33/1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[10, 77, 33, 68], Operations: [] Exploring Operation: 77-68=9, Resulting Numbers: [10, 33, 9] Generated Node #0,1: 33:[10, 33, 9] Operation: 77-68=9 Moving to Node #0,1 Current State: 33:[10, 33, 9], Operations: ['77-68=9'] Exploring Operation: 10-9=1, Resulting Numbers: [33, 1] Generated Node #0,1,0: 33:[33, 1] Operation: 10-9=1 Moving to Node #0,1,0 Current State: 33:[33, 1], Operations: ['77-68=9', '10-9=1'] Exploring Operation: 33/1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 7, 61, 44, 53 ]
43
[ "61-7=54", "44+53=97", "97-54=43" ]
Current State: 43:[7, 61, 44, 53], Operations: [] Exploring Operation: 61-7=54, Resulting Numbers: [44, 53, 54] Generated Node #2: [44, 53, 54] from Operation: 61-7=54 Current State: 43:[44, 53, 54], Operations: ['61-7=54'] Exploring Operation: 44+53=97, Resulting Numbers: [54, 97] Generated Node #3: [54, 97] from Operation: 44+53=97 Current State: 43:[54, 97], Operations: ['61-7=54', '44+53=97'] Exploring Operation: 97-54=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[7, 61, 44, 53], Operations: [] Exploring Operation: 7+61=68, Resulting Numbers: [44, 53, 68] Generated Node #0,0: 43:[44, 53, 68] Operation: 7+61=68 Exploring Operation: 44-7=37, Resulting Numbers: [61, 53, 37] Generated Node #0,1: 43:[61, 53, 37] Operation: 44-7=37 Exploring Operation: 53-7=46, Resulting Numbers: [61, 44, 46] Generated Node #0,2: 43:[61, 44, 46] Operation: 53-7=46 Exploring Operation: 61-7=54, Resulting Numbers: [44, 53, 54] Generated Node #0,3: 43:[44, 53, 54] Operation: 61-7=54 Start Sub Search at level 1: Moving to Node #0,2 Current State: 43:[61, 44, 46], Operations: ['53-7=46'] Exploring Operation: 46-44=2, Resulting Numbers: [61, 2] Generated Node #0,2,0: 43:[61, 2] Operation: 46-44=2 Exploring Operation: 61+44=105, Resulting Numbers: [46, 105] Generated Node #0,2,1: 43:[46, 105] Operation: 61+44=105 Exploring Operation: 61-44=17, Resulting Numbers: [46, 17] Generated Node #0,2,2: 43:[46, 17] Operation: 61-44=17 Exploring Operation: 61-46=15, Resulting Numbers: [44, 15] Generated Node #0,2,3: 43:[44, 15] Operation: 61-46=15 Moving to Node #0,2,2 Current State: 43:[46, 17], Operations: ['53-7=46', '61-44=17'] Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,43 unequal: No Solution Exploring Operation: 46+17=63, Resulting Numbers: [63] 63,43 unequal: No Solution Exploring Operation: 46*17=782, Resulting Numbers: [782] 782,43 unequal: No Solution Moving to Node #0,2,3 Current State: 43:[44, 15], Operations: ['53-7=46', '61-46=15'] Exploring Operation: 44+15=59, Resulting Numbers: [59] 59,43 unequal: No Solution Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,43 unequal: No Solution Exploring Operation: 44*15=660, Resulting Numbers: [660] 660,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[61, 2], Operations: ['53-7=46', '46-44=2'] Exploring Operation: 61+2=63, Resulting Numbers: [63] 63,43 unequal: No Solution Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,43 unequal: No Solution Exploring Operation: 61*2=122, Resulting Numbers: [122] 122,43 unequal: No Solution Moving to Node #0,2,1 Current State: 43:[46, 105], Operations: ['53-7=46', '61+44=105'] Exploring Operation: 46*105=4830, Resulting Numbers: [4830] 4830,43 unequal: No Solution Exploring Operation: 105-46=59, Resulting Numbers: [59] 59,43 unequal: No Solution Exploring Operation: 46+105=151, Resulting Numbers: [151] 151,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,3 Current State: 43:[44, 53, 54], Operations: ['61-7=54'] Exploring Operation: 54-53=1, Resulting Numbers: [44, 1] Generated Node #0,3,0: 43:[44, 1] Operation: 54-53=1 Exploring Operation: 54-44=10, Resulting Numbers: [53, 10] Generated Node #0,3,1: 43:[53, 10] Operation: 54-44=10 Exploring Operation: 53-44=9, Resulting Numbers: [54, 9] Generated Node #0,3,2: 43:[54, 9] Operation: 53-44=9 Exploring Operation: 44+53=97, Resulting Numbers: [54, 97] Generated Node #0,3,3: 43:[54, 97] Operation: 44+53=97 Moving to Node #0,3,0 Current State: 43:[44, 1], Operations: ['61-7=54', '54-53=1'] Exploring Operation: 44-1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[7, 61, 44, 53], Operations: [] Exploring Operation: 61-7=54, Resulting Numbers: [44, 53, 54] Generated Node #0,3: 43:[44, 53, 54] Operation: 61-7=54 Moving to Node #0,3 Current State: 43:[44, 53, 54], Operations: ['61-7=54'] Exploring Operation: 54-53=1, Resulting Numbers: [44, 1] Generated Node #0,3,0: 43:[44, 1] Operation: 54-53=1 Moving to Node #0,3,0 Current State: 43:[44, 1], Operations: ['61-7=54', '54-53=1'] Exploring Operation: 44-1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_4
mult_heuristic
[ 38, 5, 3, 10 ]
15
[ "38-3=35", "5*10=50", "50-35=15" ]
Current State: 15:[38, 5, 3, 10], Operations: [] Exploring Operation: 38-3=35, Resulting Numbers: [5, 10, 35] Generated Node #2: [5, 10, 35] from Operation: 38-3=35 Current State: 15:[5, 10, 35], Operations: ['38-3=35'] Exploring Operation: 5*10=50, Resulting Numbers: [35, 50] Generated Node #3: [35, 50] from Operation: 5*10=50 Current State: 15:[35, 50], Operations: ['38-3=35', '5*10=50'] Exploring Operation: 50-35=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[38, 5, 3, 10], Operations: [] Exploring Operation: 38-5=33, Resulting Numbers: [3, 10, 33] Generated Node #0,0: 15:[3, 10, 33] Operation: 38-5=33 Exploring Operation: 38-10=28, Resulting Numbers: [5, 3, 28] Generated Node #0,1: 15:[5, 3, 28] Operation: 38-10=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[5, 3, 28], Operations: ['38-10=28'] Exploring Operation: 28-3=25, Resulting Numbers: [5, 25] Generated Node #0,1,0: 15:[5, 25] Operation: 28-3=25 Exploring Operation: 28-5=23, Resulting Numbers: [3, 23] Generated Node #0,1,1: 15:[3, 23] Operation: 28-5=23 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 15:[3, 23], Operations: ['38-10=28', '28-5=23'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 15:[5, 25], Operations: ['38-10=28', '28-3=25'] Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[3, 10, 33], Operations: ['38-5=33'] Exploring Operation: 33-10=23, Resulting Numbers: [3, 23] Generated Node #0,0,0: 15:[3, 23] Operation: 33-10=23 Exploring Operation: 33/3=11, Resulting Numbers: [10, 11] Generated Node #0,0,1: 15:[10, 11] Operation: 33/3=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[3, 23], Operations: ['38-5=33', '33-10=23'] Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,15 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 15:[10, 11], Operations: ['38-5=33', '33/3=11'] Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 10, 8, 86, 28 ]
88
[ "28-8=20", "20/10=2", "86+2=88" ]
Current State: 88:[10, 8, 86, 28], Operations: [] Exploring Operation: 28-8=20, Resulting Numbers: [10, 86, 20] Generated Node #2: [10, 86, 20] from Operation: 28-8=20 Current State: 88:[10, 86, 20], Operations: ['28-8=20'] Exploring Operation: 20/10=2, Resulting Numbers: [86, 2] Generated Node #3: [86, 2] from Operation: 20/10=2 Current State: 88:[86, 2], Operations: ['28-8=20', '20/10=2'] Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[10, 8, 86, 28], Operations: [] Exploring Operation: 28-10=18, Resulting Numbers: [8, 86, 18] Generated Node #0,0: 88:[8, 86, 18] Operation: 28-10=18 Exploring Operation: 8+28=36, Resulting Numbers: [10, 86, 36] Generated Node #0,1: 88:[10, 86, 36] Operation: 8+28=36 Exploring Operation: 10-8=2, Resulting Numbers: [86, 28, 2] Generated Node #0,2: 88:[86, 28, 2] Operation: 10-8=2 Exploring Operation: 28-8=20, Resulting Numbers: [10, 86, 20] Generated Node #0,3: 88:[10, 86, 20] Operation: 28-8=20 Exploring Operation: 10+28=38, Resulting Numbers: [8, 86, 38] Generated Node #0,4: 88:[8, 86, 38] Operation: 10+28=38 Start Sub Search at level 1: Moving to Node #0,3 Current State: 88:[10, 86, 20], Operations: ['28-8=20'] Exploring Operation: 86-10=76, Resulting Numbers: [20, 76] Generated Node #0,3,0: 88:[20, 76] Operation: 86-10=76 Exploring Operation: 20/10=2, Resulting Numbers: [86, 2] Generated Node #0,3,1: 88:[86, 2] Operation: 20/10=2 Exploring Operation: 10+86=96, Resulting Numbers: [20, 96] Generated Node #0,3,2: 88:[20, 96] Operation: 10+86=96 Exploring Operation: 20-10=10, Resulting Numbers: [86, 10] Generated Node #0,3,3: 88:[86, 10] Operation: 20-10=10 Exploring Operation: 10+20=30, Resulting Numbers: [86, 30] Generated Node #0,3,4: 88:[86, 30] Operation: 10+20=30 Moving to Node #0,3,1 Current State: 88:[86, 2], Operations: ['28-8=20', '20/10=2'] Exploring Operation: 86*2=172, Resulting Numbers: [172] 172,88 unequal: No Solution Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,88 unequal: No Solution Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,88 unequal: No Solution Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[10, 8, 86, 28], Operations: [] Exploring Operation: 28-8=20, Resulting Numbers: [10, 86, 20] Generated Node #0,3: 88:[10, 86, 20] Operation: 28-8=20 Moving to Node #0,3 Current State: 88:[10, 86, 20], Operations: ['28-8=20'] Exploring Operation: 20/10=2, Resulting Numbers: [86, 2] Generated Node #0,3,1: 88:[86, 2] Operation: 20/10=2 Moving to Node #0,3,1 Current State: 88:[86, 2], Operations: ['28-8=20', '20/10=2'] Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 9, 11, 28, 2 ]
35
[ "9*2=18", "28-11=17", "18+17=35" ]
Current State: 35:[9, 11, 28, 2], Operations: [] Exploring Operation: 9*2=18, Resulting Numbers: [11, 28, 18] Generated Node #2: [11, 28, 18] from Operation: 9*2=18 Current State: 35:[11, 28, 18], Operations: ['9*2=18'] Exploring Operation: 28-11=17, Resulting Numbers: [18, 17] Generated Node #3: [18, 17] from Operation: 28-11=17 Current State: 35:[18, 17], Operations: ['9*2=18', '28-11=17'] Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[9, 11, 28, 2], Operations: [] Exploring Operation: 11+28=39, Resulting Numbers: [9, 2, 39] Generated Node #0,0: 35:[9, 2, 39] Operation: 11+28=39 Exploring Operation: 9-2=7, Resulting Numbers: [11, 28, 7] Generated Node #0,1: 35:[11, 28, 7] Operation: 9-2=7 Exploring Operation: 11-2=9, Resulting Numbers: [9, 28, 9] Generated Node #0,2: 35:[9, 28, 9] Operation: 11-2=9 Exploring Operation: 9+28=37, Resulting Numbers: [11, 2, 37] Generated Node #0,3: 35:[11, 2, 37] Operation: 9+28=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[9, 2, 39], Operations: ['11+28=39'] Exploring Operation: 39-2=37, Resulting Numbers: [9, 37] Generated Node #0,0,0: 35:[9, 37] Operation: 39-2=37 Exploring Operation: 9+2=11, Resulting Numbers: [39, 11] Generated Node #0,0,1: 35:[39, 11] Operation: 9+2=11 Exploring Operation: 39-9=30, Resulting Numbers: [2, 30] Generated Node #0,0,2: 35:[2, 30] Operation: 39-9=30 Exploring Operation: 9-2=7, Resulting Numbers: [39, 7] Generated Node #0,0,3: 35:[39, 7] Operation: 9-2=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 35:[9, 37], Operations: ['11+28=39', '39-2=37'] Exploring Operation: 9+37=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,35 unequal: No Solution Exploring Operation: 9*37=333, Resulting Numbers: [333] 333,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 35:[39, 7], Operations: ['11+28=39', '9-2=7'] Exploring Operation: 39+7=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,35 unequal: No Solution Exploring Operation: 39*7=273, Resulting Numbers: [273] 273,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 35:[39, 11], Operations: ['11+28=39', '9+2=11'] Exploring Operation: 39*11=429, Resulting Numbers: [429] 429,35 unequal: No Solution Exploring Operation: 39+11=50, Resulting Numbers: [50] 50,35 unequal: No Solution Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 35:[2, 30], Operations: ['11+28=39', '39-9=30'] Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,35 unequal: No Solution Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,35 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,35 unequal: No Solution Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 35:[11, 2, 37], Operations: ['9+28=37'] Exploring Operation: 11+2=13, Resulting Numbers: [37, 13] Generated Node #0,3,0: 35:[37, 13] Operation: 11+2=13 Exploring Operation: 11-2=9, Resulting Numbers: [37, 9] Generated Node #0,3,1: 35:[37, 9] Operation: 11-2=9 Exploring Operation: 2+37=39, Resulting Numbers: [11, 39] Generated Node #0,3,2: 35:[11, 39] Operation: 2+37=39 Exploring Operation: 37-2=35, Resulting Numbers: [11, 35] Generated Node #0,3,3: 35:[11, 35] Operation: 37-2=35 Moving to Node #0,3,1 Current State: 35:[37, 9], Operations: ['9+28=37', '11-2=9'] Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,35 unequal: No Solution Exploring Operation: 37*9=333, Resulting Numbers: [333] 333,35 unequal: No Solution Exploring Operation: 37+9=46, Resulting Numbers: [46] 46,35 unequal: No Solution Moving to Node #0,3,3 Current State: 35:[11, 35], Operations: ['9+28=37', '37-2=35'] Exploring Operation: 11*35=385, Resulting Numbers: [385] 385,35 unequal: No Solution Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,35 unequal: No Solution Exploring Operation: 11+35=46, Resulting Numbers: [46] 46,35 unequal: No Solution Moving to Node #0,3,2 Current State: 35:[11, 39], Operations: ['9+28=37', '2+37=39'] Exploring Operation: 11+39=50, Resulting Numbers: [50] 50,35 unequal: No Solution Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,35 unequal: No Solution Exploring Operation: 11*39=429, Resulting Numbers: [429] 429,35 unequal: No Solution Moving to Node #0,3,0 Current State: 35:[37, 13], Operations: ['9+28=37', '11+2=13'] Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,35 unequal: No Solution Exploring Operation: 37*13=481, Resulting Numbers: [481] 481,35 unequal: No Solution Exploring Operation: 37+13=50, Resulting Numbers: [50] 50,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,1 Current State: 35:[11, 28, 7], Operations: ['9-2=7'] Exploring Operation: 28/7=4, Resulting Numbers: [11, 4] Generated Node #0,1,0: 35:[11, 4] Operation: 28/7=4 Exploring Operation: 11-7=4, Resulting Numbers: [28, 4] Generated Node #0,1,1: 35:[28, 4] Operation: 11-7=4 Exploring Operation: 28+7=35, Resulting Numbers: [11, 35] Generated Node #0,1,2: 35:[11, 35] Operation: 28+7=35 Exploring Operation: 11+28=39, Resulting Numbers: [7, 39] Generated Node #0,1,3: 35:[7, 39] Operation: 11+28=39 Moving to Node #0,1,2 Current State: 35:[11, 35], Operations: ['9-2=7', '28+7=35'] Exploring Operation: 11+35=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,35 unequal: No Solution Exploring Operation: 11*35=385, Resulting Numbers: [385] 385,35 unequal: No Solution Moving to Node #0,1,3 Current State: 35:[7, 39], Operations: ['9-2=7', '11+28=39'] Exploring Operation: 7*39=273, Resulting Numbers: [273] 273,35 unequal: No Solution Exploring Operation: 7+39=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,35 unequal: No Solution Moving to Node #0,1,0 Current State: 35:[11, 4], Operations: ['9-2=7', '28/7=4'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,35 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,35 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[28, 4], Operations: ['9-2=7', '11-7=4'] Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,35 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,35 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,35 unequal: No Solution Exploring Operation: 28*4=112, Resulting Numbers: [112] 112,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,2 Current State: 35:[9, 28, 9], Operations: ['11-2=9'] Exploring Operation: 9/9=1, Resulting Numbers: [28, 1] Generated Node #0,2,0: 35:[28, 1] Operation: 9/9=1 Exploring Operation: 9-9=0, Resulting Numbers: [28, 0] Generated Node #0,2,1: 35:[28, 0] Operation: 9-9=0 Exploring Operation: 9+28=37, Resulting Numbers: [9, 37] Generated Node #0,2,2: 35:[9, 37] Operation: 9+28=37 Exploring Operation: 28+9=37, Resulting Numbers: [9, 37] Generated Node #0,2,3: 35:[9, 37] Operation: 28+9=37 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 35:[9, 37], Operations: ['11-2=9', '9+28=37'] Exploring Operation: 9*37=333, Resulting Numbers: [333] 333,35 unequal: No Solution Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,35 unequal: No Solution Exploring Operation: 9+37=46, Resulting Numbers: [46] 46,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 35:[9, 37], Operations: ['11-2=9', '28+9=37'] Exploring Operation: 9+37=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,35 unequal: No Solution Exploring Operation: 9*37=333, Resulting Numbers: [333] 333,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 35:[28, 1], Operations: ['11-2=9', '9/9=1'] Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,35 unequal: No Solution Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,35 unequal: No Solution Exploring Operation: 28*1=28, Resulting Numbers: [28] 28,35 unequal: No Solution Exploring Operation: 28+1=29, Resulting Numbers: [29] 29,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 35:[28, 0], Operations: ['11-2=9', '9-9=0'] Exploring Operation: 28+0=28, Resulting Numbers: [28] 28,35 unequal: No Solution Exploring Operation: 28*0=0, Resulting Numbers: [0] 0,35 unequal: No Solution Exploring Operation: 28-0=28, Resulting Numbers: [28] 28,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 45, 32, 31, 6 ]
50
[ "45-32=13", "31+6=37", "13+37=50" ]
Current State: 50:[45, 32, 31, 6], Operations: [] Exploring Operation: 45-32=13, Resulting Numbers: [31, 6, 13] Generated Node #2: [31, 6, 13] from Operation: 45-32=13 Current State: 50:[31, 6, 13], Operations: ['45-32=13'] Exploring Operation: 31+6=37, Resulting Numbers: [13, 37] Generated Node #3: [13, 37] from Operation: 31+6=37 Current State: 50:[13, 37], Operations: ['45-32=13', '31+6=37'] Exploring Operation: 13+37=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[45, 32, 31, 6], Operations: [] Exploring Operation: 45-32=13, Resulting Numbers: [31, 6, 13] Generated Node #0,0: 50:[31, 6, 13] Operation: 45-32=13 Exploring Operation: 32-31=1, Resulting Numbers: [45, 6, 1] Generated Node #0,1: 50:[45, 6, 1] Operation: 32-31=1 Exploring Operation: 45-31=14, Resulting Numbers: [32, 6, 14] Generated Node #0,2: 50:[32, 6, 14] Operation: 45-31=14 Moving to Node #0,1 Current State: 50:[45, 6, 1], Operations: ['32-31=1'] Exploring Operation: 45+1=46, Resulting Numbers: [6, 46] Generated Node #0,1,0: 50:[6, 46] Operation: 45+1=46 Exploring Operation: 45+6=51, Resulting Numbers: [1, 51] Generated Node #0,1,1: 50:[1, 51] Operation: 45+6=51 Exploring Operation: 6-1=5, Resulting Numbers: [45, 5] Generated Node #0,1,2: 50:[45, 5] Operation: 6-1=5 Moving to Node #0,0 Current State: 50:[31, 6, 13], Operations: ['45-32=13'] Exploring Operation: 31-6=25, Resulting Numbers: [13, 25] Generated Node #0,0,0: 50:[13, 25] Operation: 31-6=25 Exploring Operation: 31+13=44, Resulting Numbers: [6, 44] Generated Node #0,0,1: 50:[6, 44] Operation: 31+13=44 Exploring Operation: 31-13=18, Resulting Numbers: [6, 18] Generated Node #0,0,2: 50:[6, 18] Operation: 31-13=18 Moving to Node #0,2 Current State: 50:[32, 6, 14], Operations: ['45-31=14'] Exploring Operation: 32+14=46, Resulting Numbers: [6, 46] Generated Node #0,2,0: 50:[6, 46] Operation: 32+14=46 Exploring Operation: 32-6=26, Resulting Numbers: [14, 26] Generated Node #0,2,1: 50:[14, 26] Operation: 32-6=26 Exploring Operation: 32-14=18, Resulting Numbers: [6, 18] Generated Node #0,2,2: 50:[6, 18] Operation: 32-14=18 Moving to Node #0,1,1 Current State: 50:[1, 51], Operations: ['32-31=1', '45+6=51'] Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[45, 32, 31, 6], Operations: [] Exploring Operation: 32-31=1, Resulting Numbers: [45, 6, 1] Generated Node #0,1: 50:[45, 6, 1] Operation: 32-31=1 Moving to Node #0,1 Current State: 50:[45, 6, 1], Operations: ['32-31=1'] Exploring Operation: 45+6=51, Resulting Numbers: [1, 51] Generated Node #0,1,1: 50:[1, 51] Operation: 45+6=51 Moving to Node #0,1,1 Current State: 50:[1, 51], Operations: ['32-31=1', '45+6=51'] Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
0.985243
hs_3
mult_heuristic
[ 68, 80, 40, 98 ]
19
[ "80/40=2", "98/2=49", "68-49=19" ]
Current State: 19:[68, 80, 40, 98], Operations: [] Exploring Operation: 80/40=2, Resulting Numbers: [68, 98, 2] Generated Node #2: [68, 98, 2] from Operation: 80/40=2 Current State: 19:[68, 98, 2], Operations: ['80/40=2'] Exploring Operation: 98/2=49, Resulting Numbers: [68, 49] Generated Node #3: [68, 49] from Operation: 98/2=49 Current State: 19:[68, 49], Operations: ['80/40=2', '98/2=49'] Exploring Operation: 68-49=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[68, 80, 40, 98], Operations: [] Exploring Operation: 80-68=12, Resulting Numbers: [40, 98, 12] Generated Node #0,0: 19:[40, 98, 12] Operation: 80-68=12 Exploring Operation: 98-68=30, Resulting Numbers: [80, 40, 30] Generated Node #0,1: 19:[80, 40, 30] Operation: 98-68=30 Exploring Operation: 98-80=18, Resulting Numbers: [68, 40, 18] Generated Node #0,2: 19:[68, 40, 18] Operation: 98-80=18 Moving to Node #0,2 Current State: 19:[68, 40, 18], Operations: ['98-80=18'] Exploring Operation: 68-18=50, Resulting Numbers: [40, 50] Generated Node #0,2,0: 19:[40, 50] Operation: 68-18=50 Exploring Operation: 68-40=28, Resulting Numbers: [18, 28] Generated Node #0,2,1: 19:[18, 28] Operation: 68-40=28 Exploring Operation: 40-18=22, Resulting Numbers: [68, 22] Generated Node #0,2,2: 19:[68, 22] Operation: 40-18=22 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 19:[18, 28], Operations: ['98-80=18', '68-40=28'] Exploring Operation: 18+28=46, Resulting Numbers: [46] 46,19 unequal: No Solution Exploring Operation: 18*28=504, Resulting Numbers: [504] 504,19 unequal: No Solution Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 19:[40, 50], Operations: ['98-80=18', '68-18=50'] Exploring Operation: 40+50=90, Resulting Numbers: [90] 90,19 unequal: No Solution Exploring Operation: 40*50=2000, Resulting Numbers: [2000] 2000,19 unequal: No Solution Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 19:[68, 22], Operations: ['98-80=18', '40-18=22'] Exploring Operation: 68-22=46, Resulting Numbers: [46] 46,19 unequal: No Solution Exploring Operation: 68+22=90, Resulting Numbers: [90] 90,19 unequal: No Solution Exploring Operation: 68*22=1496, Resulting Numbers: [1496] 1496,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 19:[80, 40, 30], Operations: ['98-68=30'] Exploring Operation: 80-40=40, Resulting Numbers: [30, 40] Generated Node #0,1,0: 19:[30, 40] Operation: 80-40=40 Exploring Operation: 80/40=2, Resulting Numbers: [30, 2] Generated Node #0,1,1: 19:[30, 2] Operation: 80/40=2 Exploring Operation: 80-30=50, Resulting Numbers: [40, 50] Generated Node #0,1,2: 19:[40, 50] Operation: 80-30=50 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[30, 2], Operations: ['98-68=30', '80/40=2'] Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,19 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 19:[30, 40], Operations: ['98-68=30', '80-40=40'] Exploring Operation: 30+40=70, Resulting Numbers: [70] 70,19 unequal: No Solution Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,19 unequal: No Solution Exploring Operation: 30*40=1200, Resulting Numbers: [1200] 1200,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 19:[40, 50], Operations: ['98-68=30', '80-30=50'] Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,19 unequal: No Solution Exploring Operation: 40*50=2000, Resulting Numbers: [2000] 2000,19 unequal: No Solution Exploring Operation: 40+50=90, Resulting Numbers: [90] 90,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 19:[40, 98, 12], Operations: ['80-68=12'] Exploring Operation: 98-12=86, Resulting Numbers: [40, 86] Generated Node #0,0,0: 19:[40, 86] Operation: 98-12=86 Exploring Operation: 98-40=58, Resulting Numbers: [12, 58] Generated Node #0,0,1: 19:[12, 58] Operation: 98-40=58 Exploring Operation: 40-12=28, Resulting Numbers: [98, 28] Generated Node #0,0,2: 19:[98, 28] Operation: 40-12=28 Moving to Node #0,0,1 Current State: 19:[12, 58], Operations: ['80-68=12', '98-40=58'] Exploring Operation: 12+58=70, Resulting Numbers: [70] 70,19 unequal: No Solution Exploring Operation: 12*58=696, Resulting Numbers: [696] 696,19 unequal: No Solution Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[40, 86], Operations: ['80-68=12', '98-12=86'] Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,19 unequal: No Solution Exploring Operation: 40*86=3440, Resulting Numbers: [3440] 3440,19 unequal: No Solution Exploring Operation: 40+86=126, Resulting Numbers: [126] 126,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[98, 28], Operations: ['80-68=12', '40-12=28'] Exploring Operation: 98-28=70, Resulting Numbers: [70] 70,19 unequal: No Solution Exploring Operation: 98+28=126, Resulting Numbers: [126] 126,19 unequal: No Solution Exploring Operation: 98*28=2744, Resulting Numbers: [2744] 2744,19 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 41, 65, 72, 59 ]
69
[ "59-41=18", "72/18=4", "65+4=69" ]
Current State: 69:[41, 65, 72, 59], Operations: [] Exploring Operation: 59-41=18, Resulting Numbers: [65, 72, 18] Generated Node #2: [65, 72, 18] from Operation: 59-41=18 Current State: 69:[65, 72, 18], Operations: ['59-41=18'] Exploring Operation: 72/18=4, Resulting Numbers: [65, 4] Generated Node #3: [65, 4] from Operation: 72/18=4 Current State: 69:[65, 4], Operations: ['59-41=18', '72/18=4'] Exploring Operation: 65+4=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[41, 65, 72, 59], Operations: [] Exploring Operation: 59-41=18, Resulting Numbers: [65, 72, 18] Generated Node #0,0: 69:[65, 72, 18] Operation: 59-41=18 Exploring Operation: 65-41=24, Resulting Numbers: [72, 59, 24] Generated Node #0,1: 69:[72, 59, 24] Operation: 65-41=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[65, 72, 18], Operations: ['59-41=18'] Exploring Operation: 72-65=7, Resulting Numbers: [18, 7] Generated Node #0,0,0: 69:[18, 7] Operation: 72-65=7 Exploring Operation: 72/18=4, Resulting Numbers: [65, 4] Generated Node #0,0,1: 69:[65, 4] Operation: 72/18=4 Moving to Node #0,0,1 Current State: 69:[65, 4], Operations: ['59-41=18', '72/18=4'] Exploring Operation: 65-4=61, Resulting Numbers: [61] 61,69 unequal: No Solution Exploring Operation: 65+4=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[41, 65, 72, 59], Operations: [] Exploring Operation: 59-41=18, Resulting Numbers: [65, 72, 18] Generated Node #0,0: 69:[65, 72, 18] Operation: 59-41=18 Moving to Node #0,0 Current State: 69:[65, 72, 18], Operations: ['59-41=18'] Exploring Operation: 72/18=4, Resulting Numbers: [65, 4] Generated Node #0,0,1: 69:[65, 4] Operation: 72/18=4 Moving to Node #0,0,1 Current State: 69:[65, 4], Operations: ['59-41=18', '72/18=4'] Exploring Operation: 65+4=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 46, 42, 18, 31 ]
14
[ "46-18=28", "31-28=3", "42/3=14" ]
Current State: 14:[46, 42, 18, 31], Operations: [] Exploring Operation: 46-18=28, Resulting Numbers: [42, 31, 28] Generated Node #2: [42, 31, 28] from Operation: 46-18=28 Current State: 14:[42, 31, 28], Operations: ['46-18=28'] Exploring Operation: 31-28=3, Resulting Numbers: [42, 3] Generated Node #3: [42, 3] from Operation: 31-28=3 Current State: 14:[42, 3], Operations: ['46-18=28', '31-28=3'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[46, 42, 18, 31], Operations: [] Exploring Operation: 46-42=4, Resulting Numbers: [18, 31, 4] Generated Node #0,0: 14:[18, 31, 4] Operation: 46-42=4 Moving to Node #0,0 Current State: 14:[18, 31, 4], Operations: ['46-42=4'] Exploring Operation: 31-18=13, Resulting Numbers: [4, 13] Generated Node #0,0,0: 14:[4, 13] Operation: 31-18=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[4, 13], Operations: ['46-42=4', '31-18=13'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,14 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
[ 43, 30, 39, 67 ]
41
[ "43-30=13", "67-39=28", "13+28=41" ]
Current State: 41:[43, 30, 39, 67], Operations: [] Exploring Operation: 43-30=13, Resulting Numbers: [39, 67, 13] Generated Node #2: [39, 67, 13] from Operation: 43-30=13 Current State: 41:[39, 67, 13], Operations: ['43-30=13'] Exploring Operation: 67-39=28, Resulting Numbers: [13, 28] Generated Node #3: [13, 28] from Operation: 67-39=28 Current State: 41:[13, 28], Operations: ['43-30=13', '67-39=28'] Exploring Operation: 13+28=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[43, 30, 39, 67], Operations: [] Exploring Operation: 67-39=28, Resulting Numbers: [43, 30, 28] Generated Node #0,0: 41:[43, 30, 28] Operation: 67-39=28 Exploring Operation: 67-30=37, Resulting Numbers: [43, 39, 37] Generated Node #0,1: 41:[43, 39, 37] Operation: 67-30=37 Moving to Node #0,1 Current State: 41:[43, 39, 37], Operations: ['67-30=37'] Exploring Operation: 43-37=6, Resulting Numbers: [39, 6] Generated Node #0,1,0: 41:[39, 6] Operation: 43-37=6 Exploring Operation: 39+37=76, Resulting Numbers: [43, 76] Generated Node #0,1,1: 41:[43, 76] Operation: 39+37=76 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[39, 6], Operations: ['67-30=37', '43-37=6'] Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 39+6=45, Resulting Numbers: [45] 45,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[43, 76], Operations: ['67-30=37', '39+37=76'] Exploring Operation: 43+76=119, Resulting Numbers: [119] 119,41 unequal: No Solution Exploring Operation: 76-43=33, Resulting Numbers: [33] 33,41 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: 41:[43, 30, 28], Operations: ['67-39=28'] Exploring Operation: 43-28=15, Resulting Numbers: [30, 15] Generated Node #0,0,0: 41:[30, 15] Operation: 43-28=15 Exploring Operation: 30+28=58, Resulting Numbers: [43, 58] Generated Node #0,0,1: 41:[43, 58] Operation: 30+28=58 Moving to Node #0,0,1 Current State: 41:[43, 58], Operations: ['67-39=28', '30+28=58'] Exploring Operation: 43+58=101, Resulting Numbers: [101] 101,41 unequal: No Solution Exploring Operation: 58-43=15, Resulting Numbers: [15] 15,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[30, 15], Operations: ['67-39=28', '43-28=15'] Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,41 unequal: No Solution Exploring Operation: 30+15=45, Resulting Numbers: [45] 45,41 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 8, 10, 97, 84 ]
71
[ "10-8=2", "84*2=168", "168-97=71" ]
Current State: 71:[8, 10, 97, 84], Operations: [] Exploring Operation: 10-8=2, Resulting Numbers: [97, 84, 2] Generated Node #2: [97, 84, 2] from Operation: 10-8=2 Current State: 71:[97, 84, 2], Operations: ['10-8=2'] Exploring Operation: 84*2=168, Resulting Numbers: [97, 168] Generated Node #3: [97, 168] from Operation: 84*2=168 Current State: 71:[97, 168], Operations: ['10-8=2', '84*2=168'] Exploring Operation: 168-97=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[8, 10, 97, 84], Operations: [] Exploring Operation: 8*10=80, Resulting Numbers: [97, 84, 80] Generated Node #0,0: 71:[97, 84, 80] Operation: 8*10=80 Moving to Node #0,0 Current State: 71:[97, 84, 80], Operations: ['8*10=80'] Exploring Operation: 97-84=13, Resulting Numbers: [80, 13] Generated Node #0,0,0: 71:[80, 13] Operation: 97-84=13 Moving to Node #0,0,0 Current State: 71:[80, 13], Operations: ['8*10=80', '97-84=13'] Exploring Operation: 80-13=67, Resulting Numbers: [67] 67,71 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 36, 15, 90, 30 ]
30
[ "36-30=6", "90/6=15", "15+15=30" ]
Current State: 30:[36, 15, 90, 30], Operations: [] Exploring Operation: 36-30=6, Resulting Numbers: [15, 90, 6] Generated Node #2: [15, 90, 6] from Operation: 36-30=6 Current State: 30:[15, 90, 6], Operations: ['36-30=6'] Exploring Operation: 90/6=15, Resulting Numbers: [15, 15] Generated Node #3: [15, 15] from Operation: 90/6=15 Current State: 30:[15, 15], Operations: ['36-30=6', '90/6=15'] Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[36, 15, 90, 30], Operations: [] Exploring Operation: 90/15=6, Resulting Numbers: [36, 30, 6] Generated Node #0,0: 30:[36, 30, 6] Operation: 90/15=6 Exploring Operation: 90/30=3, Resulting Numbers: [36, 15, 3] Generated Node #0,1: 30:[36, 15, 3] Operation: 90/30=3 Exploring Operation: 90-36=54, Resulting Numbers: [15, 30, 54] Generated Node #0,2: 30:[15, 30, 54] Operation: 90-36=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[36, 30, 6], Operations: ['90/15=6'] Exploring Operation: 36/6=6, Resulting Numbers: [30, 6] Generated Node #0,0,0: 30:[30, 6] Operation: 36/6=6 Exploring Operation: 36-30=6, Resulting Numbers: [6, 6] Generated Node #0,0,1: 30:[6, 6] Operation: 36-30=6 Exploring Operation: 36-6=30, Resulting Numbers: [30, 30] Generated Node #0,0,2: 30:[30, 30] Operation: 36-6=30 Moving to Node #0,0,0 Current State: 30:[30, 6], Operations: ['90/15=6', '36/6=6'] Exploring Operation: 30+6=36, Resulting Numbers: [36] 36,30 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[6, 6], Operations: ['90/15=6', '36-30=6'] Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,30 unequal: No Solution Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,30 unequal: No Solution Moving to Node #0,0,2 Current State: 30:[30, 30], Operations: ['90/15=6', '36-6=30'] Exploring Operation: 30-30=0, Resulting Numbers: [0] 0,30 unequal: No Solution Exploring Operation: 30/30=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,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,1 Current State: 30:[36, 15, 3], Operations: ['90/30=3'] Exploring Operation: 36/3=12, Resulting Numbers: [15, 12] Generated Node #0,1,0: 30:[15, 12] Operation: 36/3=12 Exploring Operation: 36-3=33, Resulting Numbers: [15, 33] Generated Node #0,1,1: 30:[15, 33] Operation: 36-3=33 Exploring Operation: 36-15=21, Resulting Numbers: [3, 21] Generated Node #0,1,2: 30:[3, 21] Operation: 36-15=21 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 30:[15, 12], Operations: ['90/30=3', '36/3=12'] Exploring Operation: 15*12=180, Resulting Numbers: [180] 180,30 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 15+12=27, Resulting Numbers: [27] 27,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 30:[15, 33], Operations: ['90/30=3', '36-3=33'] Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,30 unequal: No Solution Exploring Operation: 15*33=495, Resulting Numbers: [495] 495,30 unequal: No Solution Exploring Operation: 15+33=48, Resulting Numbers: [48] 48,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 30:[3, 21], Operations: ['90/30=3', '36-15=21'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,30 unequal: No Solution Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,30 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,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,2 Current State: 30:[15, 30, 54], Operations: ['90-36=54'] Exploring Operation: 54-30=24, Resulting Numbers: [15, 24] Generated Node #0,2,0: 30:[15, 24] Operation: 54-30=24 Exploring Operation: 30-15=15, Resulting Numbers: [54, 15] Generated Node #0,2,1: 30:[54, 15] Operation: 30-15=15 Exploring Operation: 54-15=39, Resulting Numbers: [30, 39] Generated Node #0,2,2: 30:[30, 39] Operation: 54-15=39 Moving to Node #0,2,0 Current State: 30:[15, 24], Operations: ['90-36=54', '54-30=24'] Exploring Operation: 15+24=39, Resulting Numbers: [39] 39,30 unequal: No Solution Exploring Operation: 15*24=360, Resulting Numbers: [360] 360,30 unequal: No Solution Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,30 unequal: No Solution Moving to Node #0,2,2 Current State: 30:[30, 39], Operations: ['90-36=54', '54-15=39'] Exploring Operation: 30*39=1170, Resulting Numbers: [1170] 1170,30 unequal: No Solution Exploring Operation: 30+39=69, Resulting Numbers: [69] 69,30 unequal: No Solution Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,30 unequal: No Solution Moving to Node #0,2,1 Current State: 30:[54, 15], Operations: ['90-36=54', '30-15=15'] Exploring Operation: 54+15=69, Resulting Numbers: [69] 69,30 unequal: No Solution Exploring Operation: 54*15=810, Resulting Numbers: [810] 810,30 unequal: No Solution Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,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
[ 36, 20, 16, 8 ]
53
[ "36*20=720", "720/16=45", "8+45=53" ]
Current State: 53:[36, 20, 16, 8], Operations: [] Exploring Operation: 36*20=720, Resulting Numbers: [16, 8, 720] Generated Node #2: [16, 8, 720] from Operation: 36*20=720 Current State: 53:[16, 8, 720], Operations: ['36*20=720'] Exploring Operation: 720/16=45, Resulting Numbers: [8, 45] Generated Node #3: [8, 45] from Operation: 720/16=45 Current State: 53:[8, 45], Operations: ['36*20=720', '720/16=45'] Exploring Operation: 8+45=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[36, 20, 16, 8], Operations: [] Exploring Operation: 36+16=52, Resulting Numbers: [20, 8, 52] Generated Node #0,0: 53:[20, 8, 52] Operation: 36+16=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[20, 8, 52], Operations: ['36+16=52'] Exploring Operation: 20+8=28, Resulting Numbers: [52, 28] Generated Node #0,0,0: 53:[52, 28] Operation: 20+8=28 Moving to Node #0,0,0 Current State: 53:[52, 28], Operations: ['36+16=52', '20+8=28'] Exploring Operation: 52+28=80, Resulting Numbers: [80] 80,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 89, 94, 7, 20 ]
18
[ "94-89=5", "20-7=13", "5+13=18" ]
Current State: 18:[89, 94, 7, 20], Operations: [] Exploring Operation: 94-89=5, Resulting Numbers: [7, 20, 5] Generated Node #2: [7, 20, 5] from Operation: 94-89=5 Current State: 18:[7, 20, 5], Operations: ['94-89=5'] Exploring Operation: 20-7=13, Resulting Numbers: [5, 13] Generated Node #3: [5, 13] from Operation: 20-7=13 Current State: 18:[5, 13], Operations: ['94-89=5', '20-7=13'] Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[89, 94, 7, 20], Operations: [] Exploring Operation: 89-7=82, Resulting Numbers: [94, 20, 82] Generated Node #0,0: 18:[94, 20, 82] Operation: 89-7=82 Exploring Operation: 94-20=74, Resulting Numbers: [89, 7, 74] Generated Node #0,1: 18:[89, 7, 74] Operation: 94-20=74 Exploring Operation: 94-89=5, Resulting Numbers: [7, 20, 5] Generated Node #0,2: 18:[7, 20, 5] Operation: 94-89=5 Exploring Operation: 89-20=69, Resulting Numbers: [94, 7, 69] Generated Node #0,3: 18:[94, 7, 69] Operation: 89-20=69 Moving to Node #0,2 Current State: 18:[7, 20, 5], Operations: ['94-89=5'] Exploring Operation: 20/5=4, Resulting Numbers: [7, 4] Generated Node #0,2,0: 18:[7, 4] Operation: 20/5=4 Exploring Operation: 20-5=15, Resulting Numbers: [7, 15] Generated Node #0,2,1: 18:[7, 15] Operation: 20-5=15 Exploring Operation: 20-7=13, Resulting Numbers: [5, 13] Generated Node #0,2,2: 18:[5, 13] Operation: 20-7=13 Exploring Operation: 7-5=2, Resulting Numbers: [20, 2] Generated Node #0,2,3: 18:[20, 2] Operation: 7-5=2 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 18:[7, 4], Operations: ['94-89=5', '20/5=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,18 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,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:[20, 2], Operations: ['94-89=5', '7-5=2'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,18 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[89, 94, 7, 20], Operations: [] Exploring Operation: 94-89=5, Resulting Numbers: [7, 20, 5] Generated Node #0,2: 18:[7, 20, 5] Operation: 94-89=5 Moving to Node #0,2 Current State: 18:[7, 20, 5], Operations: ['94-89=5'] Exploring Operation: 7-5=2, Resulting Numbers: [20, 2] Generated Node #0,2,3: 18:[20, 2] Operation: 7-5=2 Moving to Node #0,2,3 Current State: 18:[20, 2], Operations: ['94-89=5', '7-5=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 82, 66, 32, 91 ]
89
[ "82+66=148", "91-32=59", "148-59=89" ]
Current State: 89:[82, 66, 32, 91], Operations: [] Exploring Operation: 82+66=148, Resulting Numbers: [32, 91, 148] Generated Node #2: [32, 91, 148] from Operation: 82+66=148 Current State: 89:[32, 91, 148], Operations: ['82+66=148'] Exploring Operation: 91-32=59, Resulting Numbers: [148, 59] Generated Node #3: [148, 59] from Operation: 91-32=59 Current State: 89:[148, 59], Operations: ['82+66=148', '91-32=59'] Exploring Operation: 148-59=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[82, 66, 32, 91], Operations: [] Exploring Operation: 82+32=114, Resulting Numbers: [66, 91, 114] Generated Node #0,0: 89:[66, 91, 114] Operation: 82+32=114 Exploring Operation: 91-32=59, Resulting Numbers: [82, 66, 59] Generated Node #0,1: 89:[82, 66, 59] Operation: 91-32=59 Exploring Operation: 66+32=98, Resulting Numbers: [82, 91, 98] Generated Node #0,2: 89:[82, 91, 98] Operation: 66+32=98 Moving to Node #0,2 Current State: 89:[82, 91, 98], Operations: ['66+32=98'] Exploring Operation: 98-82=16, Resulting Numbers: [91, 16] Generated Node #0,2,0: 89:[91, 16] Operation: 98-82=16 Exploring Operation: 91-82=9, Resulting Numbers: [98, 9] Generated Node #0,2,1: 89:[98, 9] Operation: 91-82=9 Exploring Operation: 98-91=7, Resulting Numbers: [82, 7] Generated Node #0,2,2: 89:[82, 7] Operation: 98-91=7 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 89:[91, 16], Operations: ['66+32=98', '98-82=16'] Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,89 unequal: No Solution Exploring Operation: 91*16=1456, Resulting Numbers: [1456] 1456,89 unequal: No Solution Exploring Operation: 91+16=107, Resulting Numbers: [107] 107,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:[98, 9], Operations: ['66+32=98', '91-82=9'] Exploring Operation: 98+9=107, Resulting Numbers: [107] 107,89 unequal: No Solution Exploring Operation: 98-9=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[82, 66, 32, 91], Operations: [] Exploring Operation: 66+32=98, Resulting Numbers: [82, 91, 98] Generated Node #0,2: 89:[82, 91, 98] Operation: 66+32=98 Moving to Node #0,2 Current State: 89:[82, 91, 98], Operations: ['66+32=98'] Exploring Operation: 91-82=9, Resulting Numbers: [98, 9] Generated Node #0,2,1: 89:[98, 9] Operation: 91-82=9 Moving to Node #0,2,1 Current State: 89:[98, 9], Operations: ['66+32=98', '91-82=9'] Exploring Operation: 98-9=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 77, 6, 12, 17 ]
30
[ "77-17=60", "12/6=2", "60/2=30" ]
Current State: 30:[77, 6, 12, 17], Operations: [] Exploring Operation: 77-17=60, Resulting Numbers: [6, 12, 60] Generated Node #2: [6, 12, 60] from Operation: 77-17=60 Current State: 30:[6, 12, 60], Operations: ['77-17=60'] Exploring Operation: 12/6=2, Resulting Numbers: [60, 2] Generated Node #3: [60, 2] from Operation: 12/6=2 Current State: 30:[60, 2], Operations: ['77-17=60', '12/6=2'] Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[77, 6, 12, 17], Operations: [] Exploring Operation: 77-12=65, Resulting Numbers: [6, 17, 65] Generated Node #0,0: 30:[6, 17, 65] Operation: 77-12=65 Exploring Operation: 77-6=71, Resulting Numbers: [12, 17, 71] Generated Node #0,1: 30:[12, 17, 71] Operation: 77-6=71 Exploring Operation: 77-17=60, Resulting Numbers: [6, 12, 60] Generated Node #0,2: 30:[6, 12, 60] Operation: 77-17=60 Start Sub Search at level 1: Moving to Node #0,2 Current State: 30:[6, 12, 60], Operations: ['77-17=60'] Exploring Operation: 60/12=5, Resulting Numbers: [6, 5] Generated Node #0,2,0: 30:[6, 5] Operation: 60/12=5 Exploring Operation: 60-12=48, Resulting Numbers: [6, 48] Generated Node #0,2,1: 30:[6, 48] Operation: 60-12=48 Exploring Operation: 60/6=10, Resulting Numbers: [12, 10] Generated Node #0,2,2: 30:[12, 10] Operation: 60/6=10 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 30:[6, 5], Operations: ['77-17=60', '60/12=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[77, 6, 12, 17], Operations: [] Exploring Operation: 77-17=60, Resulting Numbers: [6, 12, 60] Generated Node #0,2: 30:[6, 12, 60] Operation: 77-17=60 Moving to Node #0,2 Current State: 30:[6, 12, 60], Operations: ['77-17=60'] Exploring Operation: 60/12=5, Resulting Numbers: [6, 5] Generated Node #0,2,0: 30:[6, 5] Operation: 60/12=5 Moving to Node #0,2,0 Current State: 30:[6, 5], Operations: ['77-17=60', '60/12=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 12, 56, 34, 16 ]
72
[ "56-34=22", "22-16=6", "12*6=72" ]
Current State: 72:[12, 56, 34, 16], Operations: [] Exploring Operation: 56-34=22, Resulting Numbers: [12, 16, 22] Generated Node #2: [12, 16, 22] from Operation: 56-34=22 Current State: 72:[12, 16, 22], Operations: ['56-34=22'] Exploring Operation: 22-16=6, Resulting Numbers: [12, 6] Generated Node #3: [12, 6] from Operation: 22-16=6 Current State: 72:[12, 6], Operations: ['56-34=22', '22-16=6'] Exploring Operation: 12*6=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[12, 56, 34, 16], Operations: [] Exploring Operation: 56+16=72, Resulting Numbers: [12, 34, 72] Generated Node #0,0: 72:[12, 34, 72] Operation: 56+16=72 Exploring Operation: 56-34=22, Resulting Numbers: [12, 16, 22] Generated Node #0,1: 72:[12, 16, 22] Operation: 56-34=22 Moving to Node #0,0 Current State: 72:[12, 34, 72], Operations: ['56+16=72'] Exploring Operation: 72/12=6, Resulting Numbers: [34, 6] Generated Node #0,0,0: 72:[34, 6] Operation: 72/12=6 Exploring Operation: 34-12=22, Resulting Numbers: [72, 22] Generated Node #0,0,1: 72:[72, 22] Operation: 34-12=22 Moving to Node #0,1 Current State: 72:[12, 16, 22], Operations: ['56-34=22'] Exploring Operation: 16-12=4, Resulting Numbers: [22, 4] Generated Node #0,1,0: 72:[22, 4] Operation: 16-12=4 Exploring Operation: 22-16=6, Resulting Numbers: [12, 6] Generated Node #0,1,1: 72:[12, 6] Operation: 22-16=6 Moving to Node #0,1,1 Current State: 72:[12, 6], Operations: ['56-34=22', '22-16=6'] Exploring Operation: 12*6=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[12, 56, 34, 16], Operations: [] Exploring Operation: 56-34=22, Resulting Numbers: [12, 16, 22] Generated Node #0,1: 72:[12, 16, 22] Operation: 56-34=22 Moving to Node #0,1 Current State: 72:[12, 16, 22], Operations: ['56-34=22'] Exploring Operation: 22-16=6, Resulting Numbers: [12, 6] Generated Node #0,1,1: 72:[12, 6] Operation: 22-16=6 Moving to Node #0,1,1 Current State: 72:[12, 6], Operations: ['56-34=22', '22-16=6'] Exploring Operation: 12*6=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 22, 13, 29, 14 ]
48
[ "22*29=638", "638-14=624", "624/13=48" ]
Current State: 48:[22, 13, 29, 14], Operations: [] Exploring Operation: 22*29=638, Resulting Numbers: [13, 14, 638] Generated Node #2: [13, 14, 638] from Operation: 22*29=638 Current State: 48:[13, 14, 638], Operations: ['22*29=638'] Exploring Operation: 638-14=624, Resulting Numbers: [13, 624] Generated Node #3: [13, 624] from Operation: 638-14=624 Current State: 48:[13, 624], Operations: ['22*29=638', '638-14=624'] Exploring Operation: 624/13=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[22, 13, 29, 14], Operations: [] Exploring Operation: 29-22=7, Resulting Numbers: [13, 14, 7] Generated Node #0,0: 48:[13, 14, 7] Operation: 29-22=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[13, 14, 7], Operations: ['29-22=7'] Exploring Operation: 14/7=2, Resulting Numbers: [13, 2] Generated Node #0,0,0: 48:[13, 2] Operation: 14/7=2 Moving to Node #0,0,0 Current State: 48:[13, 2], Operations: ['29-22=7', '14/7=2'] Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 12, 3, 2, 25 ]
35
[ "12+3=15", "2*25=50", "50-15=35" ]
Current State: 35:[12, 3, 2, 25], Operations: [] Exploring Operation: 12+3=15, Resulting Numbers: [2, 25, 15] Generated Node #2: [2, 25, 15] from Operation: 12+3=15 Current State: 35:[2, 25, 15], Operations: ['12+3=15'] Exploring Operation: 2*25=50, Resulting Numbers: [15, 50] Generated Node #3: [15, 50] from Operation: 2*25=50 Current State: 35:[15, 50], Operations: ['12+3=15', '2*25=50'] Exploring Operation: 50-15=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[12, 3, 2, 25], Operations: [] Exploring Operation: 12*3=36, Resulting Numbers: [2, 25, 36] Generated Node #0,0: 35:[2, 25, 36] Operation: 12*3=36 Exploring Operation: 12+25=37, Resulting Numbers: [3, 2, 37] Generated Node #0,1: 35:[3, 2, 37] Operation: 12+25=37 Exploring Operation: 25-12=13, Resulting Numbers: [3, 2, 13] Generated Node #0,2: 35:[3, 2, 13] Operation: 25-12=13 Exploring Operation: 12/2=6, Resulting Numbers: [3, 25, 6] Generated Node #0,3: 35:[3, 25, 6] Operation: 12/2=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[3, 2, 37], Operations: ['12+25=37'] Exploring Operation: 3+2=5, Resulting Numbers: [37, 5] Generated Node #0,1,0: 35:[37, 5] Operation: 3+2=5 Exploring Operation: 37-3=34, Resulting Numbers: [2, 34] Generated Node #0,1,1: 35:[2, 34] Operation: 37-3=34 Exploring Operation: 37-2=35, Resulting Numbers: [3, 35] Generated Node #0,1,2: 35:[3, 35] Operation: 37-2=35 Exploring Operation: 3*2=6, Resulting Numbers: [37, 6] Generated Node #0,1,3: 35:[37, 6] Operation: 3*2=6 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 35:[37, 5], Operations: ['12+25=37', '3+2=5'] Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,35 unequal: No Solution Exploring Operation: 37+5=42, Resulting Numbers: [42] 42,35 unequal: No Solution Exploring Operation: 37*5=185, Resulting Numbers: [185] 185,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 35:[3, 35], Operations: ['12+25=37', '37-2=35'] Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,35 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,35 unequal: No Solution Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 35:[37, 6], Operations: ['12+25=37', '3*2=6'] Exploring Operation: 37*6=222, Resulting Numbers: [222] 222,35 unequal: No Solution Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,35 unequal: No Solution Exploring Operation: 37+6=43, Resulting Numbers: [43] 43,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 35:[2, 34], Operations: ['12+25=37', '37-3=34'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,35 unequal: No Solution Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,35 unequal: No Solution Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[3, 2, 13], Operations: ['25-12=13'] Exploring Operation: 3+2=5, Resulting Numbers: [13, 5] Generated Node #0,2,0: 35:[13, 5] Operation: 3+2=5 Exploring Operation: 3*2=6, Resulting Numbers: [13, 6] Generated Node #0,2,1: 35:[13, 6] Operation: 3*2=6 Exploring Operation: 13-3=10, Resulting Numbers: [2, 10] Generated Node #0,2,2: 35:[2, 10] Operation: 13-3=10 Exploring Operation: 13-2=11, Resulting Numbers: [3, 11] Generated Node #0,2,3: 35:[3, 11] Operation: 13-2=11 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 35:[13, 5], Operations: ['25-12=13', '3+2=5'] Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,35 unequal: No Solution Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,35 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 35:[2, 10], Operations: ['25-12=13', '13-3=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,35 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 35:[3, 11], Operations: ['25-12=13', '13-2=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,35 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,35 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 35:[13, 6], Operations: ['25-12=13', '3*2=6'] Exploring Operation: 13*6=78, Resulting Numbers: [78] 78,35 unequal: No Solution Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,35 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 35:[3, 25, 6], Operations: ['12/2=6'] Exploring Operation: 25+6=31, Resulting Numbers: [3, 31] Generated Node #0,3,0: 35:[3, 31] Operation: 25+6=31 Exploring Operation: 6-3=3, Resulting Numbers: [25, 3] Generated Node #0,3,1: 35:[25, 3] Operation: 6-3=3 Exploring Operation: 3+6=9, Resulting Numbers: [25, 9] Generated Node #0,3,2: 35:[25, 9] Operation: 3+6=9 Exploring Operation: 3+25=28, Resulting Numbers: [6, 28] Generated Node #0,3,3: 35:[6, 28] Operation: 3+25=28 Moving to Node #0,3,0 Current State: 35:[3, 31], Operations: ['12/2=6', '25+6=31'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,35 unequal: No Solution Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,35 unequal: No Solution Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,35 unequal: No Solution Moving to Node #0,3,3 Current State: 35:[6, 28], Operations: ['12/2=6', '3+25=28'] Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,35 unequal: No Solution Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,35 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,35 unequal: No Solution Moving to Node #0,3,2 Current State: 35:[25, 9], Operations: ['12/2=6', '3+6=9'] Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,35 unequal: No Solution Exploring Operation: 25+9=34, Resulting Numbers: [34] 34,35 unequal: No Solution Exploring Operation: 25*9=225, Resulting Numbers: [225] 225,35 unequal: No Solution Moving to Node #0,3,1 Current State: 35:[25, 3], Operations: ['12/2=6', '6-3=3'] Exploring Operation: 25+3=28, Resulting Numbers: [28] 28,35 unequal: No Solution Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,35 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,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,0 Current State: 35:[2, 25, 36], Operations: ['12*3=36'] Exploring Operation: 36-25=11, Resulting Numbers: [2, 11] Generated Node #0,0,0: 35:[2, 11] Operation: 36-25=11 Exploring Operation: 25-2=23, Resulting Numbers: [36, 23] Generated Node #0,0,1: 35:[36, 23] Operation: 25-2=23 Exploring Operation: 36-2=34, Resulting Numbers: [25, 34] Generated Node #0,0,2: 35:[25, 34] Operation: 36-2=34 Exploring Operation: 2+25=27, Resulting Numbers: [36, 27] Generated Node #0,0,3: 35:[36, 27] Operation: 2+25=27 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 35:[2, 11], Operations: ['12*3=36', '36-25=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,35 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,35 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 35:[36, 27], Operations: ['12*3=36', '2+25=27'] Exploring Operation: 36*27=972, Resulting Numbers: [972] 972,35 unequal: No Solution Exploring Operation: 36+27=63, Resulting Numbers: [63] 63,35 unequal: No Solution Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 35:[25, 34], Operations: ['12*3=36', '36-2=34'] Exploring Operation: 25+34=59, Resulting Numbers: [59] 59,35 unequal: No Solution Exploring Operation: 25*34=850, Resulting Numbers: [850] 850,35 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 35:[36, 23], Operations: ['12*3=36', '25-2=23'] Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,35 unequal: No Solution Exploring Operation: 36*23=828, Resulting Numbers: [828] 828,35 unequal: No Solution Exploring Operation: 36+23=59, Resulting Numbers: [59] 59,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 69, 55, 47, 54 ]
98
[ "69-55=14", "54-47=7", "14*7=98" ]
Current State: 98:[69, 55, 47, 54], Operations: [] Exploring Operation: 69-55=14, Resulting Numbers: [47, 54, 14] Generated Node #2: [47, 54, 14] from Operation: 69-55=14 Current State: 98:[47, 54, 14], Operations: ['69-55=14'] Exploring Operation: 54-47=7, Resulting Numbers: [14, 7] Generated Node #3: [14, 7] from Operation: 54-47=7 Current State: 98:[14, 7], Operations: ['69-55=14', '54-47=7'] Exploring Operation: 14*7=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[69, 55, 47, 54], Operations: [] Exploring Operation: 69-55=14, Resulting Numbers: [47, 54, 14] Generated Node #0,0: 98:[47, 54, 14] Operation: 69-55=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[47, 54, 14], Operations: ['69-55=14'] Exploring Operation: 54-47=7, Resulting Numbers: [14, 7] Generated Node #0,0,0: 98:[14, 7] Operation: 54-47=7 Moving to Node #0,0,0 Current State: 98:[14, 7], Operations: ['69-55=14', '54-47=7'] Exploring Operation: 14*7=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[69, 55, 47, 54], Operations: [] Exploring Operation: 69-55=14, Resulting Numbers: [47, 54, 14] Generated Node #0,0: 98:[47, 54, 14] Operation: 69-55=14 Moving to Node #0,0 Current State: 98:[47, 54, 14], Operations: ['69-55=14'] Exploring Operation: 54-47=7, Resulting Numbers: [14, 7] Generated Node #0,0,0: 98:[14, 7] Operation: 54-47=7 Moving to Node #0,0,0 Current State: 98:[14, 7], Operations: ['69-55=14', '54-47=7'] Exploring Operation: 14*7=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 21, 81, 28, 87 ]
43
[ "21+81=102", "87-28=59", "102-59=43" ]
Current State: 43:[21, 81, 28, 87], Operations: [] Exploring Operation: 21+81=102, Resulting Numbers: [28, 87, 102] Generated Node #2: [28, 87, 102] from Operation: 21+81=102 Current State: 43:[28, 87, 102], Operations: ['21+81=102'] Exploring Operation: 87-28=59, Resulting Numbers: [102, 59] Generated Node #3: [102, 59] from Operation: 87-28=59 Current State: 43:[102, 59], Operations: ['21+81=102', '87-28=59'] Exploring Operation: 102-59=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[21, 81, 28, 87], Operations: [] Exploring Operation: 87-81=6, Resulting Numbers: [21, 28, 6] Generated Node #0,0: 43:[21, 28, 6] Operation: 87-81=6 Exploring Operation: 81-28=53, Resulting Numbers: [21, 87, 53] Generated Node #0,1: 43:[21, 87, 53] Operation: 81-28=53 Exploring Operation: 87-21=66, Resulting Numbers: [81, 28, 66] Generated Node #0,2: 43:[81, 28, 66] Operation: 87-21=66 Exploring Operation: 87-28=59, Resulting Numbers: [21, 81, 59] Generated Node #0,3: 43:[21, 81, 59] Operation: 87-28=59 Exploring Operation: 81-21=60, Resulting Numbers: [28, 87, 60] Generated Node #0,4: 43:[28, 87, 60] Operation: 81-21=60 Moving to Node #0,0 Current State: 43:[21, 28, 6], Operations: ['87-81=6'] Exploring Operation: 28+6=34, Resulting Numbers: [21, 34] Generated Node #0,0,0: 43:[21, 34] Operation: 28+6=34 Exploring Operation: 21-6=15, Resulting Numbers: [28, 15] Generated Node #0,0,1: 43:[28, 15] Operation: 21-6=15 Exploring Operation: 28-6=22, Resulting Numbers: [21, 22] Generated Node #0,0,2: 43:[21, 22] Operation: 28-6=22 Exploring Operation: 21+28=49, Resulting Numbers: [6, 49] Generated Node #0,0,3: 43:[6, 49] Operation: 21+28=49 Exploring Operation: 21+6=27, Resulting Numbers: [28, 27] Generated Node #0,0,4: 43:[28, 27] Operation: 21+6=27 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[21, 34], Operations: ['87-81=6', '28+6=34'] Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,43 unequal: No Solution Exploring Operation: 21+34=55, Resulting Numbers: [55] 55,43 unequal: No Solution Exploring Operation: 21*34=714, Resulting Numbers: [714] 714,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 43:[28, 27], Operations: ['87-81=6', '21+6=27'] Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,43 unequal: No Solution Exploring Operation: 28+27=55, Resulting Numbers: [55] 55,43 unequal: No Solution Exploring Operation: 28*27=756, Resulting Numbers: [756] 756,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 43:[28, 15], Operations: ['87-81=6', '21-6=15'] Exploring Operation: 28*15=420, Resulting Numbers: [420] 420,43 unequal: No Solution Exploring Operation: 28+15=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[21, 81, 28, 87], Operations: [] Exploring Operation: 87-81=6, Resulting Numbers: [21, 28, 6] Generated Node #0,0: 43:[21, 28, 6] Operation: 87-81=6 Moving to Node #0,0 Current State: 43:[21, 28, 6], Operations: ['87-81=6'] Exploring Operation: 21-6=15, Resulting Numbers: [28, 15] Generated Node #0,0,1: 43:[28, 15] Operation: 21-6=15 Moving to Node #0,0,1 Current State: 43:[28, 15], Operations: ['87-81=6', '21-6=15'] Exploring Operation: 28+15=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 1, 30, 52, 1 ]
44
[ "1+1=2", "52-30=22", "2*22=44" ]
Current State: 44:[1, 30, 52, 1], Operations: [] Exploring Operation: 1+1=2, Resulting Numbers: [30, 52, 2] Generated Node #2: [30, 52, 2] from Operation: 1+1=2 Current State: 44:[30, 52, 2], Operations: ['1+1=2'] Exploring Operation: 52-30=22, Resulting Numbers: [2, 22] Generated Node #3: [2, 22] from Operation: 52-30=22 Current State: 44:[2, 22], Operations: ['1+1=2', '52-30=22'] Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[1, 30, 52, 1], Operations: [] Exploring Operation: 52-30=22, Resulting Numbers: [1, 1, 22] Generated Node #0,0: 44:[1, 1, 22] Operation: 52-30=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[1, 1, 22], Operations: ['52-30=22'] Exploring Operation: 1+1=2, Resulting Numbers: [22, 2] Generated Node #0,0,0: 44:[22, 2] Operation: 1+1=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 44:[22, 2], Operations: ['52-30=22', '1+1=2'] Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[1, 30, 52, 1], Operations: [] Exploring Operation: 52-30=22, Resulting Numbers: [1, 1, 22] Generated Node #0,0: 44:[1, 1, 22] Operation: 52-30=22 Moving to Node #0,0 Current State: 44:[1, 1, 22], Operations: ['52-30=22'] Exploring Operation: 1+1=2, Resulting Numbers: [22, 2] Generated Node #0,0,0: 44:[22, 2] Operation: 1+1=2 Moving to Node #0,0,0 Current State: 44:[22, 2], Operations: ['52-30=22', '1+1=2'] Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 16, 48, 63, 15 ]
80
[ "48-16=32", "63-15=48", "32+48=80" ]
Current State: 80:[16, 48, 63, 15], Operations: [] Exploring Operation: 48-16=32, Resulting Numbers: [63, 15, 32] Generated Node #2: [63, 15, 32] from Operation: 48-16=32 Current State: 80:[63, 15, 32], Operations: ['48-16=32'] Exploring Operation: 63-15=48, Resulting Numbers: [32, 48] Generated Node #3: [32, 48] from Operation: 63-15=48 Current State: 80:[32, 48], Operations: ['48-16=32', '63-15=48'] Exploring Operation: 32+48=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[16, 48, 63, 15], Operations: [] Exploring Operation: 16+63=79, Resulting Numbers: [48, 15, 79] Generated Node #0,0: 80:[48, 15, 79] Operation: 16+63=79 Exploring Operation: 63+15=78, Resulting Numbers: [16, 48, 78] Generated Node #0,1: 80:[16, 48, 78] Operation: 63+15=78 Exploring Operation: 63-48=15, Resulting Numbers: [16, 15, 15] Generated Node #0,2: 80:[16, 15, 15] Operation: 63-48=15 Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[16, 15, 15], Operations: ['63-48=15'] Exploring Operation: 16-15=1, Resulting Numbers: [15, 1] Generated Node #0,2,0: 80:[15, 1] Operation: 16-15=1 Exploring Operation: 15/15=1, Resulting Numbers: [16, 1] Generated Node #0,2,1: 80:[16, 1] Operation: 15/15=1 Exploring Operation: 16-15=1, Resulting Numbers: [15, 1] Generated Node #0,2,2: 80:[15, 1] Operation: 16-15=1 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 80:[16, 1], Operations: ['63-48=15', '15/15=1'] Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 80:[15, 1], Operations: ['63-48=15', '16-15=1'] Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,80 unequal: No Solution Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 15*1=15, Resulting Numbers: [15] 15,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 80:[15, 1], Operations: ['63-48=15', '16-15=1'] Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,80 unequal: No Solution Exploring Operation: 15*1=15, Resulting Numbers: [15] 15,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[48, 15, 79], Operations: ['16+63=79'] Exploring Operation: 48+15=63, Resulting Numbers: [79, 63] Generated Node #0,0,0: 80:[79, 63] Operation: 48+15=63 Exploring Operation: 79-48=31, Resulting Numbers: [15, 31] Generated Node #0,0,1: 80:[15, 31] Operation: 79-48=31 Exploring Operation: 48-15=33, Resulting Numbers: [79, 33] Generated Node #0,0,2: 80:[79, 33] Operation: 48-15=33 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 80:[79, 33], Operations: ['16+63=79', '48-15=33'] Exploring Operation: 79+33=112, Resulting Numbers: [112] 112,80 unequal: No Solution Exploring Operation: 79-33=46, Resulting Numbers: [46] 46,80 unequal: No Solution Exploring Operation: 79*33=2607, Resulting Numbers: [2607] 2607,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 80:[15, 31], Operations: ['16+63=79', '79-48=31'] Exploring Operation: 15+31=46, Resulting Numbers: [46] 46,80 unequal: No Solution Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 15*31=465, Resulting Numbers: [465] 465,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 80:[79, 63], Operations: ['16+63=79', '48+15=63'] Exploring Operation: 79+63=142, Resulting Numbers: [142] 142,80 unequal: No Solution Exploring Operation: 79-63=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 79*63=4977, Resulting Numbers: [4977] 4977,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[16, 48, 78], Operations: ['63+15=78'] Exploring Operation: 48/16=3, Resulting Numbers: [78, 3] Generated Node #0,1,0: 80:[78, 3] Operation: 48/16=3 Exploring Operation: 78-48=30, Resulting Numbers: [16, 30] Generated Node #0,1,1: 80:[16, 30] Operation: 78-48=30 Exploring Operation: 48-16=32, Resulting Numbers: [78, 32] Generated Node #0,1,2: 80:[78, 32] Operation: 48-16=32 Moving to Node #0,1,0 Current State: 80:[78, 3], Operations: ['63+15=78', '48/16=3'] Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,80 unequal: No Solution Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,80 unequal: No Solution Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[16, 30], Operations: ['63+15=78', '78-48=30'] Exploring Operation: 16*30=480, Resulting Numbers: [480] 480,80 unequal: No Solution Exploring Operation: 16+30=46, Resulting Numbers: [46] 46,80 unequal: No Solution Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,80 unequal: No Solution Moving to Node #0,1,2 Current State: 80:[78, 32], Operations: ['63+15=78', '48-16=32'] Exploring Operation: 78*32=2496, Resulting Numbers: [2496] 2496,80 unequal: No Solution Exploring Operation: 78+32=110, Resulting Numbers: [110] 110,80 unequal: No Solution Exploring Operation: 78-32=46, Resulting Numbers: [46] 46,80 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
[ 35, 37, 44, 92 ]
96
[ "37-35=2", "92-44=48", "2*48=96" ]
Current State: 96:[35, 37, 44, 92], Operations: [] Exploring Operation: 37-35=2, Resulting Numbers: [44, 92, 2] Generated Node #2: [44, 92, 2] from Operation: 37-35=2 Current State: 96:[44, 92, 2], Operations: ['37-35=2'] Exploring Operation: 92-44=48, Resulting Numbers: [2, 48] Generated Node #3: [2, 48] from Operation: 92-44=48 Current State: 96:[2, 48], Operations: ['37-35=2', '92-44=48'] Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[35, 37, 44, 92], Operations: [] Exploring Operation: 44-37=7, Resulting Numbers: [35, 92, 7] Generated Node #0,0: 96:[35, 92, 7] Operation: 44-37=7 Exploring Operation: 37-35=2, Resulting Numbers: [44, 92, 2] Generated Node #0,1: 96:[44, 92, 2] Operation: 37-35=2 Exploring Operation: 92-44=48, Resulting Numbers: [35, 37, 48] Generated Node #0,2: 96:[35, 37, 48] Operation: 92-44=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[35, 92, 7], Operations: ['44-37=7'] Exploring Operation: 92+7=99, Resulting Numbers: [35, 99] Generated Node #0,0,0: 96:[35, 99] Operation: 92+7=99 Exploring Operation: 35-7=28, Resulting Numbers: [92, 28] Generated Node #0,0,1: 96:[92, 28] Operation: 35-7=28 Exploring Operation: 35/7=5, Resulting Numbers: [92, 5] Generated Node #0,0,2: 96:[92, 5] Operation: 35/7=5 Moving to Node #0,0,2 Current State: 96:[92, 5], Operations: ['44-37=7', '35/7=5'] Exploring Operation: 92+5=97, Resulting Numbers: [97] 97,96 unequal: No Solution Exploring Operation: 92*5=460, Resulting Numbers: [460] 460,96 unequal: No Solution Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,96 unequal: No Solution Moving to Node #0,0,0 Current State: 96:[35, 99], Operations: ['44-37=7', '92+7=99'] Exploring Operation: 35+99=134, Resulting Numbers: [134] 134,96 unequal: No Solution Exploring Operation: 35*99=3465, Resulting Numbers: [3465] 3465,96 unequal: No Solution Exploring Operation: 99-35=64, Resulting Numbers: [64] 64,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[92, 28], Operations: ['44-37=7', '35-7=28'] Exploring Operation: 92*28=2576, Resulting Numbers: [2576] 2576,96 unequal: No Solution Exploring Operation: 92-28=64, Resulting Numbers: [64] 64,96 unequal: No Solution Exploring Operation: 92+28=120, Resulting Numbers: [120] 120,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[44, 92, 2], Operations: ['37-35=2'] Exploring Operation: 92-44=48, Resulting Numbers: [2, 48] Generated Node #0,1,0: 96:[2, 48] Operation: 92-44=48 Exploring Operation: 44+2=46, Resulting Numbers: [92, 46] Generated Node #0,1,1: 96:[92, 46] Operation: 44+2=46 Exploring Operation: 44/2=22, Resulting Numbers: [92, 22] Generated Node #0,1,2: 96:[92, 22] Operation: 44/2=22 Moving to Node #0,1,0 Current State: 96:[2, 48], Operations: ['37-35=2', '92-44=48'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,96 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[35, 37, 44, 92], Operations: [] Exploring Operation: 37-35=2, Resulting Numbers: [44, 92, 2] Generated Node #0,1: 96:[44, 92, 2] Operation: 37-35=2 Moving to Node #0,1 Current State: 96:[44, 92, 2], Operations: ['37-35=2'] Exploring Operation: 92-44=48, Resulting Numbers: [2, 48] Generated Node #0,1,0: 96:[2, 48] Operation: 92-44=48 Moving to Node #0,1,0 Current State: 96:[2, 48], Operations: ['37-35=2', '92-44=48'] Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
mult_heuristic
[ 56, 17, 7, 5 ]
61
[ "56+17=73", "7+5=12", "73-12=61" ]
Current State: 61:[56, 17, 7, 5], Operations: [] Exploring Operation: 56+17=73, Resulting Numbers: [7, 5, 73] Generated Node #2: [7, 5, 73] from Operation: 56+17=73 Current State: 61:[7, 5, 73], Operations: ['56+17=73'] Exploring Operation: 7+5=12, Resulting Numbers: [73, 12] Generated Node #3: [73, 12] from Operation: 7+5=12 Current State: 61:[73, 12], Operations: ['56+17=73', '7+5=12'] Exploring Operation: 73-12=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[56, 17, 7, 5], Operations: [] Exploring Operation: 7*5=35, Resulting Numbers: [56, 17, 35] Generated Node #0,0: 61:[56, 17, 35] Operation: 7*5=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[56, 17, 35], Operations: ['7*5=35'] Exploring Operation: 17+35=52, Resulting Numbers: [56, 52] Generated Node #0,0,0: 61:[56, 52] Operation: 17+35=52 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[56, 52], Operations: ['7*5=35', '17+35=52'] Exploring Operation: 56+52=108, Resulting Numbers: [108] 108,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_1
mult_heuristic
[ 88, 50, 68, 20 ]
10
[ "88-50=38", "68-20=48", "48-38=10" ]
Current State: 10:[88, 50, 68, 20], Operations: [] Exploring Operation: 88-50=38, Resulting Numbers: [68, 20, 38] Generated Node #2: [68, 20, 38] from Operation: 88-50=38 Current State: 10:[68, 20, 38], Operations: ['88-50=38'] Exploring Operation: 68-20=48, Resulting Numbers: [38, 48] Generated Node #3: [38, 48] from Operation: 68-20=48 Current State: 10:[38, 48], Operations: ['88-50=38', '68-20=48'] Exploring Operation: 48-38=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[88, 50, 68, 20], Operations: [] Exploring Operation: 88-68=20, Resulting Numbers: [50, 20, 20] Generated Node #0,0: 10:[50, 20, 20] Operation: 88-68=20 Exploring Operation: 68-50=18, Resulting Numbers: [88, 20, 18] Generated Node #0,1: 10:[88, 20, 18] Operation: 68-50=18 Exploring Operation: 88-20=68, Resulting Numbers: [50, 68, 68] Generated Node #0,2: 10:[50, 68, 68] Operation: 88-20=68 Exploring Operation: 88-50=38, Resulting Numbers: [68, 20, 38] Generated Node #0,3: 10:[68, 20, 38] Operation: 88-50=38 Exploring Operation: 50-20=30, Resulting Numbers: [88, 68, 30] Generated Node #0,4: 10:[88, 68, 30] Operation: 50-20=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[50, 20, 20], Operations: ['88-68=20'] Exploring Operation: 20/20=1, Resulting Numbers: [50, 1] Generated Node #0,0,0: 10:[50, 1] Operation: 20/20=1 Exploring Operation: 20-20=0, Resulting Numbers: [50, 0] Generated Node #0,0,1: 10:[50, 0] Operation: 20-20=0 Exploring Operation: 50-20=30, Resulting Numbers: [20, 30] Generated Node #0,0,2: 10:[20, 30] Operation: 50-20=30 Exploring Operation: 50-20=30, Resulting Numbers: [20, 30] Generated Node #0,0,3: 10:[20, 30] Operation: 50-20=30 Exploring Operation: 50+20=70, Resulting Numbers: [20, 70] Generated Node #0,0,4: 10:[20, 70] Operation: 50+20=70 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 10:[20, 30], Operations: ['88-68=20', '50-20=30'] Exploring Operation: 20*30=600, Resulting Numbers: [600] 600,10 unequal: No Solution Exploring Operation: 20+30=50, Resulting Numbers: [50] 50,10 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[88, 50, 68, 20], Operations: [] Exploring Operation: 88-68=20, Resulting Numbers: [50, 20, 20] Generated Node #0,0: 10:[50, 20, 20] Operation: 88-68=20 Moving to Node #0,0 Current State: 10:[50, 20, 20], Operations: ['88-68=20'] Exploring Operation: 50-20=30, Resulting Numbers: [20, 30] Generated Node #0,0,2: 10:[20, 30] Operation: 50-20=30 Moving to Node #0,0,2 Current State: 10:[20, 30], Operations: ['88-68=20', '50-20=30'] Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 3, 96, 54, 22 ]
61
[ "96-3=93", "54-22=32", "93-32=61" ]
Current State: 61:[3, 96, 54, 22], Operations: [] Exploring Operation: 96-3=93, Resulting Numbers: [54, 22, 93] Generated Node #2: [54, 22, 93] from Operation: 96-3=93 Current State: 61:[54, 22, 93], Operations: ['96-3=93'] Exploring Operation: 54-22=32, Resulting Numbers: [93, 32] Generated Node #3: [93, 32] from Operation: 54-22=32 Current State: 61:[93, 32], Operations: ['96-3=93', '54-22=32'] Exploring Operation: 93-32=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[3, 96, 54, 22], Operations: [] Exploring Operation: 3*22=66, Resulting Numbers: [96, 54, 66] Generated Node #0,0: 61:[96, 54, 66] Operation: 3*22=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[96, 54, 66], Operations: ['3*22=66'] Exploring Operation: 96-54=42, Resulting Numbers: [66, 42] Generated Node #0,0,0: 61:[66, 42] Operation: 96-54=42 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[66, 42], Operations: ['3*22=66', '96-54=42'] Exploring Operation: 66-42=24, Resulting Numbers: [24] 24,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_1
mult_heuristic
[ 99, 36, 69, 8 ]
74
[ "99+36=135", "69-8=61", "135-61=74" ]
Current State: 74:[99, 36, 69, 8], Operations: [] Exploring Operation: 99+36=135, Resulting Numbers: [69, 8, 135] Generated Node #2: [69, 8, 135] from Operation: 99+36=135 Current State: 74:[69, 8, 135], Operations: ['99+36=135'] Exploring Operation: 69-8=61, Resulting Numbers: [135, 61] Generated Node #3: [135, 61] from Operation: 69-8=61 Current State: 74:[135, 61], Operations: ['99+36=135', '69-8=61'] Exploring Operation: 135-61=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[99, 36, 69, 8], Operations: [] Exploring Operation: 69+8=77, Resulting Numbers: [99, 36, 77] Generated Node #0,0: 74:[99, 36, 77] Operation: 69+8=77 Exploring Operation: 99-36=63, Resulting Numbers: [69, 8, 63] Generated Node #0,1: 74:[69, 8, 63] Operation: 99-36=63 Exploring Operation: 99-8=91, Resulting Numbers: [36, 69, 91] Generated Node #0,2: 74:[36, 69, 91] Operation: 99-8=91 Exploring Operation: 99-69=30, Resulting Numbers: [36, 8, 30] Generated Node #0,3: 74:[36, 8, 30] Operation: 99-69=30 Moving to Node #0,3 Current State: 74:[36, 8, 30], Operations: ['99-69=30'] Exploring Operation: 8+30=38, Resulting Numbers: [36, 38] Generated Node #0,3,0: 74:[36, 38] Operation: 8+30=38 Exploring Operation: 36+8=44, Resulting Numbers: [30, 44] Generated Node #0,3,1: 74:[30, 44] Operation: 36+8=44 Exploring Operation: 36+30=66, Resulting Numbers: [8, 66] Generated Node #0,3,2: 74:[8, 66] Operation: 36+30=66 Exploring Operation: 36-30=6, Resulting Numbers: [8, 6] Generated Node #0,3,3: 74:[8, 6] Operation: 36-30=6 Moving to Node #0,1 Current State: 74:[69, 8, 63], Operations: ['99-36=63'] Exploring Operation: 63-8=55, Resulting Numbers: [69, 55] Generated Node #0,1,0: 74:[69, 55] Operation: 63-8=55 Exploring Operation: 8+63=71, Resulting Numbers: [69, 71] Generated Node #0,1,1: 74:[69, 71] Operation: 8+63=71 Exploring Operation: 69-63=6, Resulting Numbers: [8, 6] Generated Node #0,1,2: 74:[8, 6] Operation: 69-63=6 Exploring Operation: 69+8=77, Resulting Numbers: [63, 77] Generated Node #0,1,3: 74:[63, 77] Operation: 69+8=77 Moving to Node #0,2 Current State: 74:[36, 69, 91], Operations: ['99-8=91'] Exploring Operation: 69-36=33, Resulting Numbers: [91, 33] Generated Node #0,2,0: 74:[91, 33] Operation: 69-36=33 Exploring Operation: 91-69=22, Resulting Numbers: [36, 22] Generated Node #0,2,1: 74:[36, 22] Operation: 91-69=22 Exploring Operation: 91-36=55, Resulting Numbers: [69, 55] Generated Node #0,2,2: 74:[69, 55] Operation: 91-36=55 Exploring Operation: 36+69=105, Resulting Numbers: [91, 105] Generated Node #0,2,3: 74:[91, 105] Operation: 36+69=105 Moving to Node #0,0 Current State: 74:[99, 36, 77], Operations: ['69+8=77'] Exploring Operation: 77-36=41, Resulting Numbers: [99, 41] Generated Node #0,0,0: 74:[99, 41] Operation: 77-36=41 Exploring Operation: 99-77=22, Resulting Numbers: [36, 22] Generated Node #0,0,1: 74:[36, 22] Operation: 99-77=22 Exploring Operation: 99+36=135, Resulting Numbers: [77, 135] Generated Node #0,0,2: 74:[77, 135] Operation: 99+36=135 Exploring Operation: 99-36=63, Resulting Numbers: [77, 63] Generated Node #0,0,3: 74:[77, 63] Operation: 99-36=63 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 74:[77, 63], Operations: ['69+8=77', '99-36=63'] Exploring Operation: 77+63=140, Resulting Numbers: [140] 140,74 unequal: No Solution Exploring Operation: 77*63=4851, Resulting Numbers: [4851] 4851,74 unequal: No Solution Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[36, 22], Operations: ['69+8=77', '99-77=22'] Exploring Operation: 36+22=58, Resulting Numbers: [58] 58,74 unequal: No Solution Exploring Operation: 36*22=792, Resulting Numbers: [792] 792,74 unequal: No Solution Exploring Operation: 36-22=14, Resulting Numbers: [14] 14,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[99, 41], Operations: ['69+8=77', '77-36=41'] Exploring Operation: 99-41=58, Resulting Numbers: [58] 58,74 unequal: No Solution Exploring Operation: 99*41=4059, Resulting Numbers: [4059] 4059,74 unequal: No Solution Exploring Operation: 99+41=140, Resulting Numbers: [140] 140,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 74:[77, 135], Operations: ['69+8=77', '99+36=135'] Exploring Operation: 135-77=58, Resulting Numbers: [58] 58,74 unequal: No Solution Exploring Operation: 77+135=212, Resulting Numbers: [212] 212,74 unequal: No Solution Exploring Operation: 77*135=10395, Resulting Numbers: [10395] 10395,74 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: 74:[36, 38], Operations: ['99-69=30', '8+30=38'] Exploring Operation: 38-36=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 36+38=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[99, 36, 69, 8], Operations: [] Exploring Operation: 99-69=30, Resulting Numbers: [36, 8, 30] Generated Node #0,3: 74:[36, 8, 30] Operation: 99-69=30 Moving to Node #0,3 Current State: 74:[36, 8, 30], Operations: ['99-69=30'] Exploring Operation: 8+30=38, Resulting Numbers: [36, 38] Generated Node #0,3,0: 74:[36, 38] Operation: 8+30=38 Moving to Node #0,3,0 Current State: 74:[36, 38], Operations: ['99-69=30', '8+30=38'] Exploring Operation: 36+38=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
0.967014
hs_4
mult_heuristic
[ 35, 81, 75, 45 ]
74
[ "81-35=46", "75+45=120", "120-46=74" ]
Current State: 74:[35, 81, 75, 45], Operations: [] Exploring Operation: 81-35=46, Resulting Numbers: [75, 45, 46] Generated Node #2: [75, 45, 46] from Operation: 81-35=46 Current State: 74:[75, 45, 46], Operations: ['81-35=46'] Exploring Operation: 75+45=120, Resulting Numbers: [46, 120] Generated Node #3: [46, 120] from Operation: 75+45=120 Current State: 74:[46, 120], Operations: ['81-35=46', '75+45=120'] Exploring Operation: 120-46=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[35, 81, 75, 45], Operations: [] Exploring Operation: 81-45=36, Resulting Numbers: [35, 75, 36] Generated Node #0,0: 74:[35, 75, 36] Operation: 81-45=36 Exploring Operation: 35+45=80, Resulting Numbers: [81, 75, 80] Generated Node #0,1: 74:[81, 75, 80] Operation: 35+45=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[35, 75, 36], Operations: ['81-45=36'] Exploring Operation: 75-35=40, Resulting Numbers: [36, 40] Generated Node #0,0,0: 74:[36, 40] Operation: 75-35=40 Exploring Operation: 36-35=1, Resulting Numbers: [75, 1] Generated Node #0,0,1: 74:[75, 1] Operation: 36-35=1 Moving to Node #0,0,1 Current State: 74:[75, 1], Operations: ['81-45=36', '36-35=1'] Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,74 unequal: No Solution Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[35, 81, 75, 45], Operations: [] Exploring Operation: 81-45=36, Resulting Numbers: [35, 75, 36] Generated Node #0,0: 74:[35, 75, 36] Operation: 81-45=36 Moving to Node #0,0 Current State: 74:[35, 75, 36], Operations: ['81-45=36'] Exploring Operation: 36-35=1, Resulting Numbers: [75, 1] Generated Node #0,0,1: 74:[75, 1] Operation: 36-35=1 Moving to Node #0,0,1 Current State: 74:[75, 1], Operations: ['81-45=36', '36-35=1'] Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 40, 46, 68, 12 ]
70
[ "46-40=6", "12/6=2", "68+2=70" ]
Current State: 70:[40, 46, 68, 12], Operations: [] Exploring Operation: 46-40=6, Resulting Numbers: [68, 12, 6] Generated Node #2: [68, 12, 6] from Operation: 46-40=6 Current State: 70:[68, 12, 6], Operations: ['46-40=6'] Exploring Operation: 12/6=2, Resulting Numbers: [68, 2] Generated Node #3: [68, 2] from Operation: 12/6=2 Current State: 70:[68, 2], Operations: ['46-40=6', '12/6=2'] Exploring Operation: 68+2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[40, 46, 68, 12], Operations: [] Exploring Operation: 46-12=34, Resulting Numbers: [40, 68, 34] Generated Node #0,0: 70:[40, 68, 34] Operation: 46-12=34 Exploring Operation: 46-40=6, Resulting Numbers: [68, 12, 6] Generated Node #0,1: 70:[68, 12, 6] Operation: 46-40=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[68, 12, 6], Operations: ['46-40=6'] Exploring Operation: 12-6=6, Resulting Numbers: [68, 6] Generated Node #0,1,0: 70:[68, 6] Operation: 12-6=6 Exploring Operation: 12/6=2, Resulting Numbers: [68, 2] Generated Node #0,1,1: 70:[68, 2] Operation: 12/6=2 Moving to Node #0,1,1 Current State: 70:[68, 2], Operations: ['46-40=6', '12/6=2'] Exploring Operation: 68+2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[40, 46, 68, 12], Operations: [] Exploring Operation: 46-40=6, Resulting Numbers: [68, 12, 6] Generated Node #0,1: 70:[68, 12, 6] Operation: 46-40=6 Moving to Node #0,1 Current State: 70:[68, 12, 6], Operations: ['46-40=6'] Exploring Operation: 12/6=2, Resulting Numbers: [68, 2] Generated Node #0,1,1: 70:[68, 2] Operation: 12/6=2 Moving to Node #0,1,1 Current State: 70:[68, 2], Operations: ['46-40=6', '12/6=2'] Exploring Operation: 68+2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 92, 64, 38, 48 ]
72
[ "92-38=54", "64*54=3456", "3456/48=72" ]
Current State: 72:[92, 64, 38, 48], Operations: [] Exploring Operation: 92-38=54, Resulting Numbers: [64, 48, 54] Generated Node #2: [64, 48, 54] from Operation: 92-38=54 Current State: 72:[64, 48, 54], Operations: ['92-38=54'] Exploring Operation: 64*54=3456, Resulting Numbers: [48, 3456] Generated Node #3: [48, 3456] from Operation: 64*54=3456 Current State: 72:[48, 3456], Operations: ['92-38=54', '64*54=3456'] Exploring Operation: 3456/48=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[92, 64, 38, 48], Operations: [] Exploring Operation: 48-38=10, Resulting Numbers: [92, 64, 10] Generated Node #0,0: 72:[92, 64, 10] Operation: 48-38=10 Exploring Operation: 92-64=28, Resulting Numbers: [38, 48, 28] Generated Node #0,1: 72:[38, 48, 28] Operation: 92-64=28 Exploring Operation: 92-48=44, Resulting Numbers: [64, 38, 44] Generated Node #0,2: 72:[64, 38, 44] Operation: 92-48=44 Exploring Operation: 64-48=16, Resulting Numbers: [92, 38, 16] Generated Node #0,3: 72:[92, 38, 16] Operation: 64-48=16 Moving to Node #0,1 Current State: 72:[38, 48, 28], Operations: ['92-64=28'] Exploring Operation: 48+28=76, Resulting Numbers: [38, 76] Generated Node #0,1,0: 72:[38, 76] Operation: 48+28=76 Exploring Operation: 48-28=20, Resulting Numbers: [38, 20] Generated Node #0,1,1: 72:[38, 20] Operation: 48-28=20 Exploring Operation: 38-28=10, Resulting Numbers: [48, 10] Generated Node #0,1,2: 72:[48, 10] Operation: 38-28=10 Exploring Operation: 48-38=10, Resulting Numbers: [28, 10] Generated Node #0,1,3: 72:[28, 10] Operation: 48-38=10 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 72:[38, 20], Operations: ['92-64=28', '48-28=20'] Exploring Operation: 38+20=58, Resulting Numbers: [58] 58,72 unequal: No Solution Exploring Operation: 38*20=760, Resulting Numbers: [760] 760,72 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 72:[28, 10], Operations: ['92-64=28', '48-38=10'] Exploring Operation: 28*10=280, Resulting Numbers: [280] 280,72 unequal: No Solution Exploring Operation: 28+10=38, Resulting Numbers: [38] 38,72 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 72:[38, 76], Operations: ['92-64=28', '48+28=76'] Exploring Operation: 38*76=2888, Resulting Numbers: [2888] 2888,72 unequal: No Solution Exploring Operation: 38+76=114, Resulting Numbers: [114] 114,72 unequal: No Solution Exploring Operation: 76/38=2, Resulting Numbers: [2] 2,72 unequal: No Solution Exploring Operation: 76-38=38, Resulting Numbers: [38] 38,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 72:[48, 10], Operations: ['92-64=28', '38-28=10'] Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,72 unequal: No Solution Exploring Operation: 48*10=480, Resulting Numbers: [480] 480,72 unequal: No Solution Exploring Operation: 48+10=58, Resulting Numbers: [58] 58,72 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: 72:[64, 38, 44], Operations: ['92-48=44'] Exploring Operation: 64-44=20, Resulting Numbers: [38, 20] Generated Node #0,2,0: 72:[38, 20] Operation: 64-44=20 Exploring Operation: 38+44=82, Resulting Numbers: [64, 82] Generated Node #0,2,1: 72:[64, 82] Operation: 38+44=82 Exploring Operation: 44-38=6, Resulting Numbers: [64, 6] Generated Node #0,2,2: 72:[64, 6] Operation: 44-38=6 Exploring Operation: 64-38=26, Resulting Numbers: [44, 26] Generated Node #0,2,3: 72:[44, 26] Operation: 64-38=26 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 72:[38, 20], Operations: ['92-48=44', '64-44=20'] Exploring Operation: 38+20=58, Resulting Numbers: [58] 58,72 unequal: No Solution Exploring Operation: 38*20=760, Resulting Numbers: [760] 760,72 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 72:[64, 6], Operations: ['92-48=44', '44-38=6'] Exploring Operation: 64+6=70, Resulting Numbers: [70] 70,72 unequal: No Solution Exploring Operation: 64*6=384, Resulting Numbers: [384] 384,72 unequal: No Solution Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 72:[44, 26], Operations: ['92-48=44', '64-38=26'] Exploring Operation: 44+26=70, Resulting Numbers: [70] 70,72 unequal: No Solution Exploring Operation: 44-26=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 44*26=1144, Resulting Numbers: [1144] 1144,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 72:[64, 82], Operations: ['92-48=44', '38+44=82'] Exploring Operation: 64*82=5248, Resulting Numbers: [5248] 5248,72 unequal: No Solution Exploring Operation: 64+82=146, Resulting Numbers: [146] 146,72 unequal: No Solution Exploring Operation: 82-64=18, Resulting Numbers: [18] 18,72 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: 72:[92, 38, 16], Operations: ['64-48=16'] Exploring Operation: 38-16=22, Resulting Numbers: [92, 22] Generated Node #0,3,0: 72:[92, 22] Operation: 38-16=22 Exploring Operation: 92-16=76, Resulting Numbers: [38, 76] Generated Node #0,3,1: 72:[38, 76] Operation: 92-16=76 Exploring Operation: 92-38=54, Resulting Numbers: [16, 54] Generated Node #0,3,2: 72:[16, 54] Operation: 92-38=54 Exploring Operation: 92+16=108, Resulting Numbers: [38, 108] Generated Node #0,3,3: 72:[38, 108] Operation: 92+16=108 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 72:[38, 76], Operations: ['64-48=16', '92-16=76'] Exploring Operation: 76/38=2, Resulting Numbers: [2] 2,72 unequal: No Solution Exploring Operation: 38+76=114, Resulting Numbers: [114] 114,72 unequal: No Solution Exploring Operation: 76-38=38, Resulting Numbers: [38] 38,72 unequal: No Solution Exploring Operation: 38*76=2888, Resulting Numbers: [2888] 2888,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 72:[16, 54], Operations: ['64-48=16', '92-38=54'] Exploring Operation: 16+54=70, Resulting Numbers: [70] 70,72 unequal: No Solution Exploring Operation: 54-16=38, Resulting Numbers: [38] 38,72 unequal: No Solution Exploring Operation: 16*54=864, Resulting Numbers: [864] 864,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 72:[92, 22], Operations: ['64-48=16', '38-16=22'] Exploring Operation: 92+22=114, Resulting Numbers: [114] 114,72 unequal: No Solution Exploring Operation: 92*22=2024, Resulting Numbers: [2024] 2024,72 unequal: No Solution Exploring Operation: 92-22=70, Resulting Numbers: [70] 70,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 72:[38, 108], Operations: ['64-48=16', '92+16=108'] Exploring Operation: 38*108=4104, Resulting Numbers: [4104] 4104,72 unequal: No Solution Exploring Operation: 108-38=70, Resulting Numbers: [70] 70,72 unequal: No Solution Exploring Operation: 38+108=146, Resulting Numbers: [146] 146,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 72:[92, 64, 10], Operations: ['48-38=10'] Exploring Operation: 92-64=28, Resulting Numbers: [10, 28] Generated Node #0,0,0: 72:[10, 28] Operation: 92-64=28 Exploring Operation: 92+10=102, Resulting Numbers: [64, 102] Generated Node #0,0,1: 72:[64, 102] Operation: 92+10=102 Exploring Operation: 64+10=74, Resulting Numbers: [92, 74] Generated Node #0,0,2: 72:[92, 74] Operation: 64+10=74 Exploring Operation: 92-10=82, Resulting Numbers: [64, 82] Generated Node #0,0,3: 72:[64, 82] Operation: 92-10=82 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[10, 28], Operations: ['48-38=10', '92-64=28'] Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 10*28=280, Resulting Numbers: [280] 280,72 unequal: No Solution Exploring Operation: 10+28=38, Resulting Numbers: [38] 38,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 72:[64, 82], Operations: ['48-38=10', '92-10=82'] Exploring Operation: 64*82=5248, Resulting Numbers: [5248] 5248,72 unequal: No Solution Exploring Operation: 82-64=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 64+82=146, Resulting Numbers: [146] 146,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 72:[92, 74], Operations: ['48-38=10', '64+10=74'] Exploring Operation: 92*74=6808, Resulting Numbers: [6808] 6808,72 unequal: No Solution Exploring Operation: 92-74=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 92+74=166, Resulting Numbers: [166] 166,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 72:[64, 102], Operations: ['48-38=10', '92+10=102'] Exploring Operation: 64+102=166, Resulting Numbers: [166] 166,72 unequal: No Solution Exploring Operation: 64*102=6528, Resulting Numbers: [6528] 6528,72 unequal: No Solution Exploring Operation: 102-64=38, Resulting Numbers: [38] 38,72 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
[ 37, 91, 97, 17 ]
95
[ "91-17=74", "74/37=2", "97-2=95" ]
Current State: 95:[37, 91, 97, 17], Operations: [] Exploring Operation: 91-17=74, Resulting Numbers: [37, 97, 74] Generated Node #2: [37, 97, 74] from Operation: 91-17=74 Current State: 95:[37, 97, 74], Operations: ['91-17=74'] Exploring Operation: 74/37=2, Resulting Numbers: [97, 2] Generated Node #3: [97, 2] from Operation: 74/37=2 Current State: 95:[97, 2], Operations: ['91-17=74', '74/37=2'] Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[37, 91, 97, 17], Operations: [] Exploring Operation: 97-91=6, Resulting Numbers: [37, 17, 6] Generated Node #0,0: 95:[37, 17, 6] Operation: 97-91=6 Exploring Operation: 97-17=80, Resulting Numbers: [37, 91, 80] Generated Node #0,1: 95:[37, 91, 80] Operation: 97-17=80 Exploring Operation: 91+17=108, Resulting Numbers: [37, 97, 108] Generated Node #0,2: 95:[37, 97, 108] Operation: 91+17=108 Exploring Operation: 37-17=20, Resulting Numbers: [91, 97, 20] Generated Node #0,3: 95:[91, 97, 20] Operation: 37-17=20 Exploring Operation: 37+91=128, Resulting Numbers: [97, 17, 128] Generated Node #0,4: 95:[97, 17, 128] Operation: 37+91=128 Moving to Node #0,3 Current State: 95:[91, 97, 20], Operations: ['37-17=20'] Exploring Operation: 91-20=71, Resulting Numbers: [97, 71] Generated Node #0,3,0: 95:[97, 71] Operation: 91-20=71 Exploring Operation: 91+20=111, Resulting Numbers: [97, 111] Generated Node #0,3,1: 95:[97, 111] Operation: 91+20=111 Exploring Operation: 97+20=117, Resulting Numbers: [91, 117] Generated Node #0,3,2: 95:[91, 117] Operation: 97+20=117 Exploring Operation: 97-91=6, Resulting Numbers: [20, 6] Generated Node #0,3,3: 95:[20, 6] Operation: 97-91=6 Exploring Operation: 97-20=77, Resulting Numbers: [91, 77] Generated Node #0,3,4: 95:[91, 77] Operation: 97-20=77 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 95:[20, 6], Operations: ['37-17=20', '97-91=6'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,95 unequal: No Solution Exploring Operation: 20+6=26, Resulting Numbers: [26] 26,95 unequal: No Solution Exploring Operation: 20*6=120, Resulting Numbers: [120] 120,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 95:[97, 111], Operations: ['37-17=20', '91+20=111'] Exploring Operation: 97*111=10767, Resulting Numbers: [10767] 10767,95 unequal: No Solution Exploring Operation: 97+111=208, Resulting Numbers: [208] 208,95 unequal: No Solution Exploring Operation: 111-97=14, Resulting Numbers: [14] 14,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 95:[91, 77], Operations: ['37-17=20', '97-20=77'] Exploring Operation: 91*77=7007, Resulting Numbers: [7007] 7007,95 unequal: No Solution Exploring Operation: 91+77=168, Resulting Numbers: [168] 168,95 unequal: No Solution Exploring Operation: 91-77=14, Resulting Numbers: [14] 14,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 95:[97, 71], Operations: ['37-17=20', '91-20=71'] Exploring Operation: 97-71=26, Resulting Numbers: [26] 26,95 unequal: No Solution Exploring Operation: 97*71=6887, Resulting Numbers: [6887] 6887,95 unequal: No Solution Exploring Operation: 97+71=168, Resulting Numbers: [168] 168,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 95:[91, 117], Operations: ['37-17=20', '97+20=117'] Exploring Operation: 117-91=26, Resulting Numbers: [26] 26,95 unequal: No Solution Exploring Operation: 91*117=10647, Resulting Numbers: [10647] 10647,95 unequal: No Solution Exploring Operation: 91+117=208, Resulting Numbers: [208] 208,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 95:[37, 17, 6], Operations: ['97-91=6'] Exploring Operation: 17+6=23, Resulting Numbers: [37, 23] Generated Node #0,0,0: 95:[37, 23] Operation: 17+6=23 Exploring Operation: 17*6=102, Resulting Numbers: [37, 102] Generated Node #0,0,1: 95:[37, 102] Operation: 17*6=102 Exploring Operation: 37-17=20, Resulting Numbers: [6, 20] Generated Node #0,0,2: 95:[6, 20] Operation: 37-17=20 Exploring Operation: 37-6=31, Resulting Numbers: [17, 31] Generated Node #0,0,3: 95:[17, 31] Operation: 37-6=31 Exploring Operation: 17-6=11, Resulting Numbers: [37, 11] Generated Node #0,0,4: 95:[37, 11] Operation: 17-6=11 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 95:[6, 20], Operations: ['97-91=6', '37-17=20'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,95 unequal: No Solution Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,95 unequal: No Solution Exploring Operation: 6*20=120, Resulting Numbers: [120] 120,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 95:[17, 31], Operations: ['97-91=6', '37-6=31'] Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,95 unequal: No Solution Exploring Operation: 17*31=527, Resulting Numbers: [527] 527,95 unequal: No Solution Exploring Operation: 17+31=48, Resulting Numbers: [48] 48,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[37, 23], Operations: ['97-91=6', '17+6=23'] Exploring Operation: 37*23=851, Resulting Numbers: [851] 851,95 unequal: No Solution Exploring Operation: 37+23=60, Resulting Numbers: [60] 60,95 unequal: No Solution Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 95:[37, 11], Operations: ['97-91=6', '17-6=11'] Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,95 unequal: No Solution Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,95 unequal: No Solution Exploring Operation: 37*11=407, Resulting Numbers: [407] 407,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 95:[37, 102], Operations: ['97-91=6', '17*6=102'] Exploring Operation: 37*102=3774, Resulting Numbers: [3774] 3774,95 unequal: No Solution Exploring Operation: 102-37=65, Resulting Numbers: [65] 65,95 unequal: No Solution Exploring Operation: 37+102=139, Resulting Numbers: [139] 139,95 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: 95:[37, 97, 108], Operations: ['91+17=108'] Exploring Operation: 37+97=134, Resulting Numbers: [108, 134] Generated Node #0,2,0: 95:[108, 134] Operation: 37+97=134 Exploring Operation: 108-97=11, Resulting Numbers: [37, 11] Generated Node #0,2,1: 95:[37, 11] Operation: 108-97=11 Exploring Operation: 108-37=71, Resulting Numbers: [97, 71] Generated Node #0,2,2: 95:[97, 71] Operation: 108-37=71 Exploring Operation: 37+108=145, Resulting Numbers: [97, 145] Generated Node #0,2,3: 95:[97, 145] Operation: 37+108=145 Exploring Operation: 97-37=60, Resulting Numbers: [108, 60] Generated Node #0,2,4: 95:[108, 60] Operation: 97-37=60 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 95:[37, 11], Operations: ['91+17=108', '108-97=11'] Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,95 unequal: No Solution Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,95 unequal: No Solution Exploring Operation: 37*11=407, Resulting Numbers: [407] 407,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 95:[97, 71], Operations: ['91+17=108', '108-37=71'] Exploring Operation: 97+71=168, Resulting Numbers: [168] 168,95 unequal: No Solution Exploring Operation: 97*71=6887, Resulting Numbers: [6887] 6887,95 unequal: No Solution Exploring Operation: 97-71=26, Resulting Numbers: [26] 26,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 95:[108, 60], Operations: ['91+17=108', '97-37=60'] Exploring Operation: 108+60=168, Resulting Numbers: [168] 168,95 unequal: No Solution Exploring Operation: 108*60=6480, Resulting Numbers: [6480] 6480,95 unequal: No Solution Exploring Operation: 108-60=48, Resulting Numbers: [48] 48,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 95:[108, 134], Operations: ['91+17=108', '37+97=134'] Exploring Operation: 108+134=242, Resulting Numbers: [242] 242,95 unequal: No Solution Exploring Operation: 108*134=14472, Resulting Numbers: [14472] 14472,95 unequal: No Solution Exploring Operation: 134-108=26, Resulting Numbers: [26] 26,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 95:[97, 145], Operations: ['91+17=108', '37+108=145'] Exploring Operation: 97+145=242, Resulting Numbers: [242] 242,95 unequal: No Solution Exploring Operation: 145-97=48, Resulting Numbers: [48] 48,95 unequal: No Solution Exploring Operation: 97*145=14065, Resulting Numbers: [14065] 14065,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 95:[37, 91, 80], Operations: ['97-17=80'] Exploring Operation: 80-37=43, Resulting Numbers: [91, 43] Generated Node #0,1,0: 95:[91, 43] Operation: 80-37=43 Exploring Operation: 91-80=11, Resulting Numbers: [37, 11] Generated Node #0,1,1: 95:[37, 11] Operation: 91-80=11 Exploring Operation: 37+91=128, Resulting Numbers: [80, 128] Generated Node #0,1,2: 95:[80, 128] Operation: 37+91=128 Exploring Operation: 91-37=54, Resulting Numbers: [80, 54] Generated Node #0,1,3: 95:[80, 54] Operation: 91-37=54 Exploring Operation: 37+80=117, Resulting Numbers: [91, 117] Generated Node #0,1,4: 95:[91, 117] Operation: 37+80=117 Moving to Node #0,4 Current State: 95:[97, 17, 128], Operations: ['37+91=128'] Exploring Operation: 128-97=31, Resulting Numbers: [17, 31] Generated Node #0,4,0: 95:[17, 31] Operation: 128-97=31 Exploring Operation: 97-17=80, Resulting Numbers: [128, 80] Generated Node #0,4,1: 95:[128, 80] Operation: 97-17=80 Exploring Operation: 128-17=111, Resulting Numbers: [97, 111] Generated Node #0,4,2: 95:[97, 111] Operation: 128-17=111 Exploring Operation: 97+17=114, Resulting Numbers: [128, 114] Generated Node #0,4,3: 95:[128, 114] Operation: 97+17=114 Exploring Operation: 17+128=145, Resulting Numbers: [97, 145] Generated Node #0,4,4: 95:[97, 145] Operation: 17+128=145 Moving to Node #0,4,0 Current State: 95:[17, 31], Operations: ['37+91=128', '128-97=31'] Exploring Operation: 17*31=527, Resulting Numbers: [527] 527,95 unequal: No Solution Exploring Operation: 17+31=48, Resulting Numbers: [48] 48,95 unequal: No Solution Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,95 unequal: No Solution Moving to Node #0,4,2 Current State: 95:[97, 111], Operations: ['37+91=128', '128-17=111'] Exploring Operation: 97+111=208, Resulting Numbers: [208] 208,95 unequal: No Solution Exploring Operation: 111-97=14, Resulting Numbers: [14] 14,95 unequal: No Solution Exploring Operation: 97*111=10767, Resulting Numbers: [10767] 10767,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[37, 11], Operations: ['97-17=80', '91-80=11'] Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,95 unequal: No Solution Exploring Operation: 37*11=407, Resulting Numbers: [407] 407,95 unequal: No Solution Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,95 unequal: No Solution Moving to Node #0,1,4 Current State: 95:[91, 117], Operations: ['97-17=80', '37+80=117'] Exploring Operation: 91*117=10647, Resulting Numbers: [10647] 10647,95 unequal: No Solution Exploring Operation: 91+117=208, Resulting Numbers: [208] 208,95 unequal: No Solution Exploring Operation: 117-91=26, Resulting Numbers: [26] 26,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[91, 43], Operations: ['97-17=80', '80-37=43'] Exploring Operation: 91+43=134, Resulting Numbers: [134] 134,95 unequal: No Solution Exploring Operation: 91-43=48, Resulting Numbers: [48] 48,95 unequal: No Solution Exploring Operation: 91*43=3913, Resulting Numbers: [3913] 3913,95 unequal: No Solution Moving to Node #0,1,2 Current State: 95:[80, 128], Operations: ['97-17=80', '37+91=128'] Exploring Operation: 80+128=208, Resulting Numbers: [208] 208,95 unequal: No Solution Exploring Operation: 80*128=10240, Resulting Numbers: [10240] 10240,95 unequal: No Solution Exploring Operation: 128-80=48, Resulting Numbers: [48] 48,95 unequal: No Solution Moving to Node #0,4,1 Current State: 95:[128, 80], Operations: ['37+91=128', '97-17=80'] Exploring Operation: 128-80=48, Resulting Numbers: [48] 48,95 unequal: No Solution Exploring Operation: 128+80=208, Resulting Numbers: [208] 208,95 unequal: No Solution Exploring Operation: 128*80=10240, Resulting Numbers: [10240] 10240,95 unequal: No Solution Moving to Node #0,1,3 Current State: 95:[80, 54], Operations: ['97-17=80', '91-37=54'] Exploring Operation: 80+54=134, Resulting Numbers: [134] 134,95 unequal: No Solution Exploring Operation: 80-54=26, Resulting Numbers: [26] 26,95 unequal: No Solution Exploring Operation: 80*54=4320, Resulting Numbers: [4320] 4320,95 unequal: No Solution Moving to Node #0,4,4 Current State: 95:[97, 145], Operations: ['37+91=128', '17+128=145'] Exploring Operation: 97*145=14065, Resulting Numbers: [14065] 14065,95 unequal: No Solution Exploring Operation: 145-97=48, Resulting Numbers: [48] 48,95 unequal: No Solution Exploring Operation: 97+145=242, Resulting Numbers: [242] 242,95 unequal: No Solution Moving to Node #0,4,3 Current State: 95:[128, 114], Operations: ['37+91=128', '97+17=114'] Exploring Operation: 128*114=14592, Resulting Numbers: [14592] 14592,95 unequal: No Solution Exploring Operation: 128-114=14, Resulting Numbers: [14] 14,95 unequal: No Solution Exploring Operation: 128+114=242, Resulting Numbers: [242] 242,95 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 71, 41, 73, 81 ]
80
[ "73-71=2", "81-41=40", "2*40=80" ]
Current State: 80:[71, 41, 73, 81], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [41, 81, 2] Generated Node #2: [41, 81, 2] from Operation: 73-71=2 Current State: 80:[41, 81, 2], Operations: ['73-71=2'] Exploring Operation: 81-41=40, Resulting Numbers: [2, 40] Generated Node #3: [2, 40] from Operation: 81-41=40 Current State: 80:[2, 40], Operations: ['73-71=2', '81-41=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[71, 41, 73, 81], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [41, 81, 2] Generated Node #0,0: 80:[41, 81, 2] Operation: 73-71=2 Exploring Operation: 81-71=10, Resulting Numbers: [41, 73, 10] Generated Node #0,1: 80:[41, 73, 10] Operation: 81-71=10 Moving to Node #0,0 Current State: 80:[41, 81, 2], Operations: ['73-71=2'] Exploring Operation: 41-2=39, Resulting Numbers: [81, 39] Generated Node #0,0,0: 80:[81, 39] Operation: 41-2=39 Exploring Operation: 81-41=40, Resulting Numbers: [2, 40] Generated Node #0,0,1: 80:[2, 40] Operation: 81-41=40 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[2, 40], Operations: ['73-71=2', '81-41=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[71, 41, 73, 81], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [41, 81, 2] Generated Node #0,0: 80:[41, 81, 2] Operation: 73-71=2 Moving to Node #0,0 Current State: 80:[41, 81, 2], Operations: ['73-71=2'] Exploring Operation: 81-41=40, Resulting Numbers: [2, 40] Generated Node #0,0,1: 80:[2, 40] Operation: 81-41=40 Moving to Node #0,0,1 Current State: 80:[2, 40], Operations: ['73-71=2', '81-41=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 8, 51, 8, 84 ]
34
[ "8/8=1", "84-51=33", "1+33=34" ]
Current State: 34:[8, 51, 8, 84], Operations: [] Exploring Operation: 8/8=1, Resulting Numbers: [51, 84, 1] Generated Node #2: [51, 84, 1] from Operation: 8/8=1 Current State: 34:[51, 84, 1], Operations: ['8/8=1'] Exploring Operation: 84-51=33, Resulting Numbers: [1, 33] Generated Node #3: [1, 33] from Operation: 84-51=33 Current State: 34:[1, 33], Operations: ['8/8=1', '84-51=33'] Exploring Operation: 1+33=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[8, 51, 8, 84], Operations: [] Exploring Operation: 84-8=76, Resulting Numbers: [51, 8, 76] Generated Node #0,0: 34:[51, 8, 76] Operation: 84-8=76 Exploring Operation: 51-8=43, Resulting Numbers: [8, 84, 43] Generated Node #0,1: 34:[8, 84, 43] Operation: 51-8=43 Exploring Operation: 84-51=33, Resulting Numbers: [8, 8, 33] Generated Node #0,2: 34:[8, 8, 33] Operation: 84-51=33 Exploring Operation: 51-8=43, Resulting Numbers: [8, 84, 43] Generated Node #0,3: 34:[8, 84, 43] Operation: 51-8=43 Exploring Operation: 84-8=76, Resulting Numbers: [8, 51, 76] Generated Node #0,4: 34:[8, 51, 76] Operation: 84-8=76 Moving to Node #0,2 Current State: 34:[8, 8, 33], Operations: ['84-51=33'] Exploring Operation: 8+8=16, Resulting Numbers: [33, 16] Generated Node #0,2,0: 34:[33, 16] Operation: 8+8=16 Exploring Operation: 8+33=41, Resulting Numbers: [8, 41] Generated Node #0,2,1: 34:[8, 41] Operation: 8+33=41 Exploring Operation: 8-8=0, Resulting Numbers: [33, 0] Generated Node #0,2,2: 34:[33, 0] Operation: 8-8=0 Exploring Operation: 8+33=41, Resulting Numbers: [8, 41] Generated Node #0,2,3: 34:[8, 41] Operation: 8+33=41 Exploring Operation: 8/8=1, Resulting Numbers: [33, 1] Generated Node #0,2,4: 34:[33, 1] Operation: 8/8=1 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 34:[33, 16], Operations: ['84-51=33', '8+8=16'] Exploring Operation: 33+16=49, Resulting Numbers: [49] 49,34 unequal: No Solution Exploring Operation: 33*16=528, Resulting Numbers: [528] 528,34 unequal: No Solution Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 34:[33, 1], Operations: ['84-51=33', '8/8=1'] Exploring Operation: 33+1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[8, 51, 8, 84], Operations: [] Exploring Operation: 84-51=33, Resulting Numbers: [8, 8, 33] Generated Node #0,2: 34:[8, 8, 33] Operation: 84-51=33 Moving to Node #0,2 Current State: 34:[8, 8, 33], Operations: ['84-51=33'] Exploring Operation: 8/8=1, Resulting Numbers: [33, 1] Generated Node #0,2,4: 34:[33, 1] Operation: 8/8=1 Moving to Node #0,2,4 Current State: 34:[33, 1], Operations: ['84-51=33', '8/8=1'] Exploring Operation: 33+1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 27, 62, 73, 24 ]
33
[ "27-24=3", "73-62=11", "3*11=33" ]
Current State: 33:[27, 62, 73, 24], Operations: [] Exploring Operation: 27-24=3, Resulting Numbers: [62, 73, 3] Generated Node #2: [62, 73, 3] from Operation: 27-24=3 Current State: 33:[62, 73, 3], Operations: ['27-24=3'] Exploring Operation: 73-62=11, Resulting Numbers: [3, 11] Generated Node #3: [3, 11] from Operation: 73-62=11 Current State: 33:[3, 11], Operations: ['27-24=3', '73-62=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[27, 62, 73, 24], Operations: [] Exploring Operation: 73-62=11, Resulting Numbers: [27, 24, 11] Generated Node #0,0: 33:[27, 24, 11] Operation: 73-62=11 Exploring Operation: 62-27=35, Resulting Numbers: [73, 24, 35] Generated Node #0,1: 33:[73, 24, 35] Operation: 62-27=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[27, 24, 11], Operations: ['73-62=11'] Exploring Operation: 27-24=3, Resulting Numbers: [11, 3] Generated Node #0,0,0: 33:[11, 3] Operation: 27-24=3 Exploring Operation: 24+11=35, Resulting Numbers: [27, 35] Generated Node #0,0,1: 33:[27, 35] Operation: 24+11=35 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[11, 3], Operations: ['73-62=11', '27-24=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[27, 62, 73, 24], Operations: [] Exploring Operation: 73-62=11, Resulting Numbers: [27, 24, 11] Generated Node #0,0: 33:[27, 24, 11] Operation: 73-62=11 Moving to Node #0,0 Current State: 33:[27, 24, 11], Operations: ['73-62=11'] Exploring Operation: 27-24=3, Resulting Numbers: [11, 3] Generated Node #0,0,0: 33:[11, 3] Operation: 27-24=3 Moving to Node #0,0,0 Current State: 33:[11, 3], Operations: ['73-62=11', '27-24=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 37, 98, 21, 26 ]
87
[ "26-21=5", "37*5=185", "185-98=87" ]
Current State: 87:[37, 98, 21, 26], Operations: [] Exploring Operation: 26-21=5, Resulting Numbers: [37, 98, 5] Generated Node #2: [37, 98, 5] from Operation: 26-21=5 Current State: 87:[37, 98, 5], Operations: ['26-21=5'] Exploring Operation: 37*5=185, Resulting Numbers: [98, 185] Generated Node #3: [98, 185] from Operation: 37*5=185 Current State: 87:[98, 185], Operations: ['26-21=5', '37*5=185'] Exploring Operation: 185-98=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[37, 98, 21, 26], Operations: [] Exploring Operation: 98-21=77, Resulting Numbers: [37, 26, 77] Generated Node #0,0: 87:[37, 26, 77] Operation: 98-21=77 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[37, 26, 77], Operations: ['98-21=77'] Exploring Operation: 77-37=40, Resulting Numbers: [26, 40] Generated Node #0,0,0: 87:[26, 40] Operation: 77-37=40 Moving to Node #0,0,0 Current State: 87:[26, 40], Operations: ['98-21=77', '77-37=40'] Exploring Operation: 40-26=14, Resulting Numbers: [14] 14,87 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
[ 58, 48, 90, 42 ]
28
[ "90-58=32", "42*32=1344", "1344/48=28" ]
Current State: 28:[58, 48, 90, 42], Operations: [] Exploring Operation: 90-58=32, Resulting Numbers: [48, 42, 32] Generated Node #2: [48, 42, 32] from Operation: 90-58=32 Current State: 28:[48, 42, 32], Operations: ['90-58=32'] Exploring Operation: 42*32=1344, Resulting Numbers: [48, 1344] Generated Node #3: [48, 1344] from Operation: 42*32=1344 Current State: 28:[48, 1344], Operations: ['90-58=32', '42*32=1344'] Exploring Operation: 1344/48=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[58, 48, 90, 42], Operations: [] Exploring Operation: 58-42=16, Resulting Numbers: [48, 90, 16] Generated Node #0,0: 28:[48, 90, 16] Operation: 58-42=16 Exploring Operation: 58-48=10, Resulting Numbers: [90, 42, 10] Generated Node #0,1: 28:[90, 42, 10] Operation: 58-48=10 Exploring Operation: 90-58=32, Resulting Numbers: [48, 42, 32] Generated Node #0,2: 28:[48, 42, 32] Operation: 90-58=32 Exploring Operation: 90-48=42, Resulting Numbers: [58, 42, 42] Generated Node #0,3: 28:[58, 42, 42] Operation: 90-48=42 Exploring Operation: 90-42=48, Resulting Numbers: [58, 48, 48] Generated Node #0,4: 28:[58, 48, 48] Operation: 90-42=48 Moving to Node #0,2 Current State: 28:[48, 42, 32], Operations: ['90-58=32'] Exploring Operation: 48+32=80, Resulting Numbers: [42, 80] Generated Node #0,2,0: 28:[42, 80] Operation: 48+32=80 Exploring Operation: 48+42=90, Resulting Numbers: [32, 90] Generated Node #0,2,1: 28:[32, 90] Operation: 48+42=90 Exploring Operation: 48-32=16, Resulting Numbers: [42, 16] Generated Node #0,2,2: 28:[42, 16] Operation: 48-32=16 Exploring Operation: 48-42=6, Resulting Numbers: [32, 6] Generated Node #0,2,3: 28:[32, 6] Operation: 48-42=6 Exploring Operation: 42-32=10, Resulting Numbers: [48, 10] Generated Node #0,2,4: 28:[48, 10] Operation: 42-32=10 Moving to Node #0,3 Current State: 28:[58, 42, 42], Operations: ['90-48=42'] Exploring Operation: 42-42=0, Resulting Numbers: [58, 0] Generated Node #0,3,0: 28:[58, 0] Operation: 42-42=0 Exploring Operation: 58-42=16, Resulting Numbers: [42, 16] Generated Node #0,3,1: 28:[42, 16] Operation: 58-42=16 Exploring Operation: 58-42=16, Resulting Numbers: [42, 16] Generated Node #0,3,2: 28:[42, 16] Operation: 58-42=16 Exploring Operation: 42/42=1, Resulting Numbers: [58, 1] Generated Node #0,3,3: 28:[58, 1] Operation: 42/42=1 Exploring Operation: 58+42=100, Resulting Numbers: [42, 100] Generated Node #0,3,4: 28:[42, 100] Operation: 58+42=100 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 28:[42, 16], Operations: ['90-48=42', '58-42=16'] Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,28 unequal: No Solution Exploring Operation: 42*16=672, Resulting Numbers: [672] 672,28 unequal: No Solution Exploring Operation: 42+16=58, Resulting Numbers: [58] 58,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 28:[42, 16], Operations: ['90-48=42', '58-42=16'] Exploring Operation: 42*16=672, Resulting Numbers: [672] 672,28 unequal: No Solution Exploring Operation: 42+16=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 28:[58, 1], Operations: ['90-48=42', '42/42=1'] Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,28 unequal: No Solution Exploring Operation: 58+1=59, Resulting Numbers: [59] 59,28 unequal: No Solution Exploring Operation: 58*1=58, Resulting Numbers: [58] 58,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 28:[58, 0], Operations: ['90-48=42', '42-42=0'] Exploring Operation: 58+0=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 58*0=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 58-0=58, Resulting Numbers: [58] 58,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 28:[42, 100], Operations: ['90-48=42', '58+42=100'] Exploring Operation: 42*100=4200, Resulting Numbers: [4200] 4200,28 unequal: No Solution Exploring Operation: 42+100=142, Resulting Numbers: [142] 142,28 unequal: No Solution Exploring Operation: 100-42=58, Resulting Numbers: [58] 58,28 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: 28:[58, 48, 48], Operations: ['90-42=48'] Exploring Operation: 48/48=1, Resulting Numbers: [58, 1] Generated Node #0,4,0: 28:[58, 1] Operation: 48/48=1 Exploring Operation: 58-48=10, Resulting Numbers: [48, 10] Generated Node #0,4,1: 28:[48, 10] Operation: 58-48=10 Exploring Operation: 48-48=0, Resulting Numbers: [58, 0] Generated Node #0,4,2: 28:[58, 0] Operation: 48-48=0 Exploring Operation: 58-48=10, Resulting Numbers: [48, 10] Generated Node #0,4,3: 28:[48, 10] Operation: 58-48=10 Exploring Operation: 58+48=106, Resulting Numbers: [48, 106] Generated Node #0,4,4: 28:[48, 106] Operation: 58+48=106 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 28:[48, 10], Operations: ['90-42=48', '58-48=10'] Exploring Operation: 48+10=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 48*10=480, Resulting Numbers: [480] 480,28 unequal: No Solution Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 28:[48, 10], Operations: ['90-42=48', '58-48=10'] Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,28 unequal: No Solution Exploring Operation: 48+10=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 48*10=480, Resulting Numbers: [480] 480,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 28:[58, 1], Operations: ['90-42=48', '48/48=1'] Exploring Operation: 58+1=59, Resulting Numbers: [59] 59,28 unequal: No Solution Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,28 unequal: No Solution Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 58*1=58, Resulting Numbers: [58] 58,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 28:[58, 0], Operations: ['90-42=48', '48-48=0'] Exploring Operation: 58*0=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 58-0=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 58+0=58, Resulting Numbers: [58] 58,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 28:[48, 106], Operations: ['90-42=48', '58+48=106'] Exploring Operation: 48*106=5088, Resulting Numbers: [5088] 5088,28 unequal: No Solution Exploring Operation: 106-48=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 48+106=154, Resulting Numbers: [154] 154,28 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: 28:[90, 42, 10], Operations: ['58-48=10'] Exploring Operation: 42-10=32, Resulting Numbers: [90, 32] Generated Node #0,1,0: 28:[90, 32] Operation: 42-10=32 Exploring Operation: 90-10=80, Resulting Numbers: [42, 80] Generated Node #0,1,1: 28:[42, 80] Operation: 90-10=80 Exploring Operation: 90+10=100, Resulting Numbers: [42, 100] Generated Node #0,1,2: 28:[42, 100] Operation: 90+10=100 Exploring Operation: 90-42=48, Resulting Numbers: [10, 48] Generated Node #0,1,3: 28:[10, 48] Operation: 90-42=48 Exploring Operation: 90/10=9, Resulting Numbers: [42, 9] Generated Node #0,1,4: 28:[42, 9] Operation: 90/10=9 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 28:[42, 9], Operations: ['58-48=10', '90/10=9'] Exploring Operation: 42*9=378, Resulting Numbers: [378] 378,28 unequal: No Solution Exploring Operation: 42+9=51, Resulting Numbers: [51] 51,28 unequal: No Solution Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 28:[10, 48], Operations: ['58-48=10', '90-42=48'] Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,28 unequal: No Solution Exploring Operation: 10*48=480, Resulting Numbers: [480] 480,28 unequal: No Solution Exploring Operation: 10+48=58, Resulting Numbers: [58] 58,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 28:[90, 32], Operations: ['58-48=10', '42-10=32'] Exploring Operation: 90+32=122, Resulting Numbers: [122] 122,28 unequal: No Solution Exploring Operation: 90*32=2880, Resulting Numbers: [2880] 2880,28 unequal: No Solution Exploring Operation: 90-32=58, Resulting Numbers: [58] 58,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 28:[42, 80], Operations: ['58-48=10', '90-10=80'] Exploring Operation: 42+80=122, Resulting Numbers: [122] 122,28 unequal: No Solution Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,28 unequal: No Solution Exploring Operation: 42*80=3360, Resulting Numbers: [3360] 3360,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 28:[42, 100], Operations: ['58-48=10', '90+10=100'] Exploring Operation: 42*100=4200, Resulting Numbers: [4200] 4200,28 unequal: No Solution Exploring Operation: 100-42=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 42+100=142, Resulting Numbers: [142] 142,28 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: 28:[48, 90, 16], Operations: ['58-42=16'] Exploring Operation: 48/16=3, Resulting Numbers: [90, 3] Generated Node #0,0,0: 28:[90, 3] Operation: 48/16=3 Exploring Operation: 48+16=64, Resulting Numbers: [90, 64] Generated Node #0,0,1: 28:[90, 64] Operation: 48+16=64 Exploring Operation: 90-16=74, Resulting Numbers: [48, 74] Generated Node #0,0,2: 28:[48, 74] Operation: 90-16=74 Exploring Operation: 48-16=32, Resulting Numbers: [90, 32] Generated Node #0,0,3: 28:[90, 32] Operation: 48-16=32 Exploring Operation: 90-48=42, Resulting Numbers: [16, 42] Generated Node #0,0,4: 28:[16, 42] Operation: 90-48=42 Moving to Node #0,2,3 Current State: 28:[32, 6], Operations: ['90-58=32', '48-42=6'] Exploring Operation: 32*6=192, Resulting Numbers: [192] 192,28 unequal: No Solution Exploring Operation: 32+6=38, Resulting Numbers: [38] 38,28 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,28 unequal: No Solution Moving to Node #0,0,4 Current State: 28:[16, 42], Operations: ['58-42=16', '90-48=42'] Exploring Operation: 16+42=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,28 unequal: No Solution Exploring Operation: 16*42=672, Resulting Numbers: [672] 672,28 unequal: No Solution Moving to Node #0,2,2 Current State: 28:[42, 16], Operations: ['90-58=32', '48-32=16'] Exploring Operation: 42+16=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 42*16=672, Resulting Numbers: [672] 672,28 unequal: No Solution Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,28 unequal: No Solution Moving to Node #0,2,4 Current State: 28:[48, 10], Operations: ['90-58=32', '42-32=10'] Exploring Operation: 48*10=480, Resulting Numbers: [480] 480,28 unequal: No Solution Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,28 unequal: No Solution Exploring Operation: 48+10=58, Resulting Numbers: [58] 58,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[90, 3], Operations: ['58-42=16', '48/16=3'] Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,28 unequal: No Solution Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,28 unequal: No Solution Exploring Operation: 90*3=270, Resulting Numbers: [270] 270,28 unequal: No Solution Exploring Operation: 90+3=93, Resulting Numbers: [93] 93,28 unequal: No Solution Moving to Node #0,0,2 Current State: 28:[48, 74], Operations: ['58-42=16', '90-16=74'] Exploring Operation: 48+74=122, Resulting Numbers: [122] 122,28 unequal: No Solution Exploring Operation: 74-48=26, Resulting Numbers: [26] 26,28 unequal: No Solution Exploring Operation: 48*74=3552, Resulting Numbers: [3552] 3552,28 unequal: No Solution Moving to Node #0,2,1 Current State: 28:[32, 90], Operations: ['90-58=32', '48+42=90'] Exploring Operation: 90-32=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 32*90=2880, Resulting Numbers: [2880] 2880,28 unequal: No Solution Exploring Operation: 32+90=122, Resulting Numbers: [122] 122,28 unequal: No Solution Moving to Node #0,2,0 Current State: 28:[42, 80], Operations: ['90-58=32', '48+32=80'] Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,28 unequal: No Solution Exploring Operation: 42*80=3360, Resulting Numbers: [3360] 3360,28 unequal: No Solution Exploring Operation: 42+80=122, Resulting Numbers: [122] 122,28 unequal: No Solution Moving to Node #0,0,3 Current State: 28:[90, 32], Operations: ['58-42=16', '48-16=32'] Exploring Operation: 90+32=122, Resulting Numbers: [122] 122,28 unequal: No Solution Exploring Operation: 90*32=2880, Resulting Numbers: [2880] 2880,28 unequal: No Solution Exploring Operation: 90-32=58, Resulting Numbers: [58] 58,28 unequal: No Solution Moving to Node #0,0,1 Current State: 28:[90, 64], Operations: ['58-42=16', '48+16=64'] Exploring Operation: 90-64=26, Resulting Numbers: [26] 26,28 unequal: No Solution Exploring Operation: 90*64=5760, Resulting Numbers: [5760] 5760,28 unequal: No Solution Exploring Operation: 90+64=154, Resulting Numbers: [154] 154,28 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 95, 10, 14, 80 ]
90
[ "80-10=70", "70/14=5", "95-5=90" ]
Current State: 90:[95, 10, 14, 80], Operations: [] Exploring Operation: 80-10=70, Resulting Numbers: [95, 14, 70] Generated Node #2: [95, 14, 70] from Operation: 80-10=70 Current State: 90:[95, 14, 70], Operations: ['80-10=70'] Exploring Operation: 70/14=5, Resulting Numbers: [95, 5] Generated Node #3: [95, 5] from Operation: 70/14=5 Current State: 90:[95, 5], Operations: ['80-10=70', '70/14=5'] Exploring Operation: 95-5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[95, 10, 14, 80], Operations: [] Exploring Operation: 95-80=15, Resulting Numbers: [10, 14, 15] Generated Node #0,0: 90:[10, 14, 15] Operation: 95-80=15 Exploring Operation: 10+80=90, Resulting Numbers: [95, 14, 90] Generated Node #0,1: 90:[95, 14, 90] Operation: 10+80=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[10, 14, 15], Operations: ['95-80=15'] Exploring Operation: 15-10=5, Resulting Numbers: [14, 5] Generated Node #0,0,0: 90:[14, 5] Operation: 15-10=5 Exploring Operation: 14-10=4, Resulting Numbers: [15, 4] Generated Node #0,0,1: 90:[15, 4] Operation: 14-10=4 Moving to Node #0,0,0 Current State: 90:[14, 5], Operations: ['95-80=15', '15-10=5'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[15, 4], Operations: ['95-80=15', '14-10=4'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[95, 14, 90], Operations: ['10+80=90'] Exploring Operation: 95-14=81, Resulting Numbers: [90, 81] Generated Node #0,1,0: 90:[90, 81] Operation: 95-14=81 Exploring Operation: 95-90=5, Resulting Numbers: [14, 5] Generated Node #0,1,1: 90:[14, 5] Operation: 95-90=5 Moving to Node #0,1,1 Current State: 90:[14, 5], Operations: ['10+80=90', '95-90=5'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,90 unequal: No Solution Moving to Node #0,1,0 Current State: 90:[90, 81], Operations: ['10+80=90', '95-14=81'] Exploring Operation: 90+81=171, Resulting Numbers: [171] 171,90 unequal: No Solution Exploring Operation: 90-81=9, Resulting Numbers: [9] 9,90 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
[ 20, 8, 29, 3 ]
91
[ "8+29=37", "3*37=111", "111-20=91" ]
Current State: 91:[20, 8, 29, 3], Operations: [] Exploring Operation: 8+29=37, Resulting Numbers: [20, 3, 37] Generated Node #2: [20, 3, 37] from Operation: 8+29=37 Current State: 91:[20, 3, 37], Operations: ['8+29=37'] Exploring Operation: 3*37=111, Resulting Numbers: [20, 111] Generated Node #3: [20, 111] from Operation: 3*37=111 Current State: 91:[20, 111], Operations: ['8+29=37', '3*37=111'] Exploring Operation: 111-20=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[20, 8, 29, 3], Operations: [] Exploring Operation: 29-20=9, Resulting Numbers: [8, 3, 9] Generated Node #0,0: 91:[8, 3, 9] Operation: 29-20=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[8, 3, 9], Operations: ['29-20=9'] Exploring Operation: 3+9=12, Resulting Numbers: [8, 12] Generated Node #0,0,0: 91:[8, 12] Operation: 3+9=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[8, 12], Operations: ['29-20=9', '3+9=12'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,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 No solution found.
0
hs_1
mult_heuristic
[ 25, 54, 29, 45 ]
59
[ "25*54=1350", "1350/45=30", "29+30=59" ]
Current State: 59:[25, 54, 29, 45], Operations: [] Exploring Operation: 25*54=1350, Resulting Numbers: [29, 45, 1350] Generated Node #2: [29, 45, 1350] from Operation: 25*54=1350 Current State: 59:[29, 45, 1350], Operations: ['25*54=1350'] Exploring Operation: 1350/45=30, Resulting Numbers: [29, 30] Generated Node #3: [29, 30] from Operation: 1350/45=30 Current State: 59:[29, 30], Operations: ['25*54=1350', '1350/45=30'] Exploring Operation: 29+30=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[25, 54, 29, 45], Operations: [] Exploring Operation: 25+45=70, Resulting Numbers: [54, 29, 70] Generated Node #0,0: 59:[54, 29, 70] Operation: 25+45=70 Exploring Operation: 25+29=54, Resulting Numbers: [54, 45, 54] Generated Node #0,1: 59:[54, 45, 54] Operation: 25+29=54 Exploring Operation: 29+45=74, Resulting Numbers: [25, 54, 74] Generated Node #0,2: 59:[25, 54, 74] Operation: 29+45=74 Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[54, 45, 54], Operations: ['25+29=54'] Exploring Operation: 45+54=99, Resulting Numbers: [54, 99] Generated Node #0,1,0: 59:[54, 99] Operation: 45+54=99 Exploring Operation: 54-45=9, Resulting Numbers: [54, 9] Generated Node #0,1,1: 59:[54, 9] Operation: 54-45=9 Exploring Operation: 54+45=99, Resulting Numbers: [54, 99] Generated Node #0,1,2: 59:[54, 99] Operation: 54+45=99 Moving to Node #0,1,0 Current State: 59:[54, 99], Operations: ['25+29=54', '45+54=99'] Exploring Operation: 54+99=153, Resulting Numbers: [153] 153,59 unequal: No Solution Exploring Operation: 99-54=45, Resulting Numbers: [45] 45,59 unequal: No Solution Exploring Operation: 54*99=5346, Resulting Numbers: [5346] 5346,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[54, 99], Operations: ['25+29=54', '54+45=99'] Exploring Operation: 54+99=153, Resulting Numbers: [153] 153,59 unequal: No Solution Exploring Operation: 54*99=5346, Resulting Numbers: [5346] 5346,59 unequal: No Solution Exploring Operation: 99-54=45, Resulting Numbers: [45] 45,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[54, 9], Operations: ['25+29=54', '54-45=9'] Exploring Operation: 54/9=6, Resulting Numbers: [6] 6,59 unequal: No Solution Exploring Operation: 54+9=63, Resulting Numbers: [63] 63,59 unequal: No Solution Exploring Operation: 54-9=45, Resulting Numbers: [45] 45,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[54, 29, 70], Operations: ['25+45=70'] Exploring Operation: 54+29=83, Resulting Numbers: [70, 83] Generated Node #0,0,0: 59:[70, 83] Operation: 54+29=83 Exploring Operation: 54-29=25, Resulting Numbers: [70, 25] Generated Node #0,0,1: 59:[70, 25] Operation: 54-29=25 Exploring Operation: 70-29=41, Resulting Numbers: [54, 41] Generated Node #0,0,2: 59:[54, 41] Operation: 70-29=41 Moving to Node #0,0,2 Current State: 59:[54, 41], Operations: ['25+45=70', '70-29=41'] Exploring Operation: 54*41=2214, Resulting Numbers: [2214] 2214,59 unequal: No Solution Exploring Operation: 54+41=95, Resulting Numbers: [95] 95,59 unequal: No Solution Exploring Operation: 54-41=13, Resulting Numbers: [13] 13,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[70, 83], Operations: ['25+45=70', '54+29=83'] Exploring Operation: 70+83=153, Resulting Numbers: [153] 153,59 unequal: No Solution Exploring Operation: 83-70=13, Resulting Numbers: [13] 13,59 unequal: No Solution Exploring Operation: 70*83=5810, Resulting Numbers: [5810] 5810,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[70, 25], Operations: ['25+45=70', '54-29=25'] Exploring Operation: 70*25=1750, Resulting Numbers: [1750] 1750,59 unequal: No Solution Exploring Operation: 70+25=95, Resulting Numbers: [95] 95,59 unequal: No Solution Exploring Operation: 70-25=45, Resulting Numbers: [45] 45,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[25, 54, 74], Operations: ['29+45=74'] Exploring Operation: 54-25=29, Resulting Numbers: [74, 29] Generated Node #0,2,0: 59:[74, 29] Operation: 54-25=29 Exploring Operation: 25+54=79, Resulting Numbers: [74, 79] Generated Node #0,2,1: 59:[74, 79] Operation: 25+54=79 Exploring Operation: 74-25=49, Resulting Numbers: [54, 49] Generated Node #0,2,2: 59:[54, 49] Operation: 74-25=49 Moving to Node #0,2,2 Current State: 59:[54, 49], Operations: ['29+45=74', '74-25=49'] Exploring Operation: 54+49=103, Resulting Numbers: [103] 103,59 unequal: No Solution Exploring Operation: 54*49=2646, Resulting Numbers: [2646] 2646,59 unequal: No Solution Exploring Operation: 54-49=5, Resulting Numbers: [5] 5,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[74, 79], Operations: ['29+45=74', '25+54=79'] Exploring Operation: 79-74=5, Resulting Numbers: [5] 5,59 unequal: No Solution Exploring Operation: 74+79=153, Resulting Numbers: [153] 153,59 unequal: No Solution Exploring Operation: 74*79=5846, Resulting Numbers: [5846] 5846,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[74, 29], Operations: ['29+45=74', '54-25=29'] Exploring Operation: 74*29=2146, Resulting Numbers: [2146] 2146,59 unequal: No Solution Exploring Operation: 74+29=103, Resulting Numbers: [103] 103,59 unequal: No Solution Exploring Operation: 74-29=45, Resulting Numbers: [45] 45,59 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
[ 34, 2, 20, 63 ]
25
[ "34*2=68", "63-20=43", "68-43=25" ]
Current State: 25:[34, 2, 20, 63], Operations: [] Exploring Operation: 34*2=68, Resulting Numbers: [20, 63, 68] Generated Node #2: [20, 63, 68] from Operation: 34*2=68 Current State: 25:[20, 63, 68], Operations: ['34*2=68'] Exploring Operation: 63-20=43, Resulting Numbers: [68, 43] Generated Node #3: [68, 43] from Operation: 63-20=43 Current State: 25:[68, 43], Operations: ['34*2=68', '63-20=43'] Exploring Operation: 68-43=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[34, 2, 20, 63], Operations: [] Exploring Operation: 63-34=29, Resulting Numbers: [2, 20, 29] Generated Node #0,0: 25:[2, 20, 29] Operation: 63-34=29 Exploring Operation: 63-20=43, Resulting Numbers: [34, 2, 43] Generated Node #0,1: 25:[34, 2, 43] Operation: 63-20=43 Exploring Operation: 34-2=32, Resulting Numbers: [20, 63, 32] Generated Node #0,2: 25:[20, 63, 32] Operation: 34-2=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[2, 20, 29], Operations: ['63-34=29'] Exploring Operation: 29-20=9, Resulting Numbers: [2, 9] Generated Node #0,0,0: 25:[2, 9] Operation: 29-20=9 Exploring Operation: 2+20=22, Resulting Numbers: [29, 22] Generated Node #0,0,1: 25:[29, 22] Operation: 2+20=22 Exploring Operation: 29-2=27, Resulting Numbers: [20, 27] Generated Node #0,0,2: 25:[20, 27] Operation: 29-2=27 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[2, 9], Operations: ['63-34=29', '29-20=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,25 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,25 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 25:[29, 22], Operations: ['63-34=29', '2+20=22'] Exploring Operation: 29*22=638, Resulting Numbers: [638] 638,25 unequal: No Solution Exploring Operation: 29+22=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 25:[20, 27], Operations: ['63-34=29', '29-2=27'] Exploring Operation: 20*27=540, Resulting Numbers: [540] 540,25 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,25 unequal: No Solution Exploring Operation: 20+27=47, Resulting Numbers: [47] 47,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[34, 2, 43], Operations: ['63-20=43'] Exploring Operation: 43-34=9, Resulting Numbers: [2, 9] Generated Node #0,1,0: 25:[2, 9] Operation: 43-34=9 Exploring Operation: 43-2=41, Resulting Numbers: [34, 41] Generated Node #0,1,1: 25:[34, 41] Operation: 43-2=41 Exploring Operation: 34-2=32, Resulting Numbers: [43, 32] Generated Node #0,1,2: 25:[43, 32] Operation: 34-2=32 Moving to Node #0,1,0 Current State: 25:[2, 9], Operations: ['63-20=43', '43-34=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,25 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,25 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[34, 41], Operations: ['63-20=43', '43-2=41'] Exploring Operation: 34*41=1394, Resulting Numbers: [1394] 1394,25 unequal: No Solution Exploring Operation: 41-34=7, Resulting Numbers: [7] 7,25 unequal: No Solution Exploring Operation: 34+41=75, Resulting Numbers: [75] 75,25 unequal: No Solution Moving to Node #0,1,2 Current State: 25:[43, 32], Operations: ['63-20=43', '34-2=32'] Exploring Operation: 43-32=11, Resulting Numbers: [11] 11,25 unequal: No Solution Exploring Operation: 43*32=1376, Resulting Numbers: [1376] 1376,25 unequal: No Solution Exploring Operation: 43+32=75, Resulting Numbers: [75] 75,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[20, 63, 32], Operations: ['34-2=32'] Exploring Operation: 63-32=31, Resulting Numbers: [20, 31] Generated Node #0,2,0: 25:[20, 31] Operation: 63-32=31 Exploring Operation: 63-20=43, Resulting Numbers: [32, 43] Generated Node #0,2,1: 25:[32, 43] Operation: 63-20=43 Exploring Operation: 32-20=12, Resulting Numbers: [63, 12] Generated Node #0,2,2: 25:[63, 12] Operation: 32-20=12 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 25:[20, 31], Operations: ['34-2=32', '63-32=31'] Exploring Operation: 20+31=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 20*31=620, Resulting Numbers: [620] 620,25 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 25:[32, 43], Operations: ['34-2=32', '63-20=43'] Exploring Operation: 32*43=1376, Resulting Numbers: [1376] 1376,25 unequal: No Solution Exploring Operation: 43-32=11, Resulting Numbers: [11] 11,25 unequal: No Solution Exploring Operation: 32+43=75, Resulting Numbers: [75] 75,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 25:[63, 12], Operations: ['34-2=32', '32-20=12'] Exploring Operation: 63*12=756, Resulting Numbers: [756] 756,25 unequal: No Solution Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,25 unequal: No Solution Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 57, 99, 64, 64 ]
28
[ "57+99=156", "64+64=128", "156-128=28" ]
Current State: 28:[57, 99, 64, 64], Operations: [] Exploring Operation: 57+99=156, Resulting Numbers: [64, 64, 156] Generated Node #2: [64, 64, 156] from Operation: 57+99=156 Current State: 28:[64, 64, 156], Operations: ['57+99=156'] Exploring Operation: 64+64=128, Resulting Numbers: [156, 128] Generated Node #3: [156, 128] from Operation: 64+64=128 Current State: 28:[156, 128], Operations: ['57+99=156', '64+64=128'] Exploring Operation: 156-128=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[57, 99, 64, 64], Operations: [] Exploring Operation: 99-64=35, Resulting Numbers: [57, 64, 35] Generated Node #0,0: 28:[57, 64, 35] Operation: 99-64=35 Exploring Operation: 64/64=1, Resulting Numbers: [57, 99, 1] Generated Node #0,1: 28:[57, 99, 1] Operation: 64/64=1 Exploring Operation: 99-64=35, Resulting Numbers: [57, 64, 35] Generated Node #0,2: 28:[57, 64, 35] Operation: 99-64=35 Exploring Operation: 99-57=42, Resulting Numbers: [64, 64, 42] Generated Node #0,3: 28:[64, 64, 42] Operation: 99-57=42 Moving to Node #0,0 Current State: 28:[57, 64, 35], Operations: ['99-64=35'] Exploring Operation: 57-35=22, Resulting Numbers: [64, 22] Generated Node #0,0,0: 28:[64, 22] Operation: 57-35=22 Exploring Operation: 64-35=29, Resulting Numbers: [57, 29] Generated Node #0,0,1: 28:[57, 29] Operation: 64-35=29 Exploring Operation: 57+64=121, Resulting Numbers: [35, 121] Generated Node #0,0,2: 28:[35, 121] Operation: 57+64=121 Exploring Operation: 64-57=7, Resulting Numbers: [35, 7] Generated Node #0,0,3: 28:[35, 7] Operation: 64-57=7 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 28:[35, 7], Operations: ['99-64=35', '64-57=7'] Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[57, 99, 64, 64], Operations: [] Exploring Operation: 99-64=35, Resulting Numbers: [57, 64, 35] Generated Node #0,0: 28:[57, 64, 35] Operation: 99-64=35 Moving to Node #0,0 Current State: 28:[57, 64, 35], Operations: ['99-64=35'] Exploring Operation: 64-57=7, Resulting Numbers: [35, 7] Generated Node #0,0,3: 28:[35, 7] Operation: 64-57=7 Moving to Node #0,0,3 Current State: 28:[35, 7], Operations: ['99-64=35', '64-57=7'] Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 15, 64, 94, 60 ]
78
[ "15*64=960", "960/60=16", "94-16=78" ]
Current State: 78:[15, 64, 94, 60], Operations: [] Exploring Operation: 15*64=960, Resulting Numbers: [94, 60, 960] Generated Node #2: [94, 60, 960] from Operation: 15*64=960 Current State: 78:[94, 60, 960], Operations: ['15*64=960'] Exploring Operation: 960/60=16, Resulting Numbers: [94, 16] Generated Node #3: [94, 16] from Operation: 960/60=16 Current State: 78:[94, 16], Operations: ['15*64=960', '960/60=16'] Exploring Operation: 94-16=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[15, 64, 94, 60], Operations: [] Exploring Operation: 94-64=30, Resulting Numbers: [15, 60, 30] Generated Node #0,0: 78:[15, 60, 30] Operation: 94-64=30 Exploring Operation: 60/15=4, Resulting Numbers: [64, 94, 4] Generated Node #0,1: 78:[64, 94, 4] Operation: 60/15=4 Exploring Operation: 94-60=34, Resulting Numbers: [15, 64, 34] Generated Node #0,2: 78:[15, 64, 34] Operation: 94-60=34 Exploring Operation: 64-60=4, Resulting Numbers: [15, 94, 4] Generated Node #0,3: 78:[15, 94, 4] Operation: 64-60=4 Start Sub Search at level 1: Moving to Node #0,3 Current State: 78:[15, 94, 4], Operations: ['64-60=4'] Exploring Operation: 94-4=90, Resulting Numbers: [15, 90] Generated Node #0,3,0: 78:[15, 90] Operation: 94-4=90 Exploring Operation: 94-15=79, Resulting Numbers: [4, 79] Generated Node #0,3,1: 78:[4, 79] Operation: 94-15=79 Exploring Operation: 15+4=19, Resulting Numbers: [94, 19] Generated Node #0,3,2: 78:[94, 19] Operation: 15+4=19 Exploring Operation: 15-4=11, Resulting Numbers: [94, 11] Generated Node #0,3,3: 78:[94, 11] Operation: 15-4=11 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 78:[4, 79], Operations: ['64-60=4', '94-15=79'] Exploring Operation: 4+79=83, Resulting Numbers: [83] 83,78 unequal: No Solution Exploring Operation: 4*79=316, Resulting Numbers: [316] 316,78 unequal: No Solution Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,78 unequal: No Solution No 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: 78:[15, 90], Operations: ['64-60=4', '94-4=90'] Exploring Operation: 90-15=75, Resulting Numbers: [75] 75,78 unequal: No Solution Exploring Operation: 15+90=105, Resulting Numbers: [105] 105,78 unequal: No Solution Exploring Operation: 90/15=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 15*90=1350, Resulting Numbers: [1350] 1350,78 unequal: No Solution No 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: 78:[94, 11], Operations: ['64-60=4', '15-4=11'] Exploring Operation: 94-11=83, Resulting Numbers: [83] 83,78 unequal: No Solution Exploring Operation: 94+11=105, Resulting Numbers: [105] 105,78 unequal: No Solution Exploring Operation: 94*11=1034, Resulting Numbers: [1034] 1034,78 unequal: No Solution No 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: 78:[94, 19], Operations: ['64-60=4', '15+4=19'] Exploring Operation: 94*19=1786, Resulting Numbers: [1786] 1786,78 unequal: No Solution Exploring Operation: 94-19=75, Resulting Numbers: [75] 75,78 unequal: No Solution Exploring Operation: 94+19=113, Resulting Numbers: [113] 113,78 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: 78:[15, 64, 34], Operations: ['94-60=34'] Exploring Operation: 15+64=79, Resulting Numbers: [34, 79] Generated Node #0,2,0: 78:[34, 79] Operation: 15+64=79 Exploring Operation: 34-15=19, Resulting Numbers: [64, 19] Generated Node #0,2,1: 78:[64, 19] Operation: 34-15=19 Exploring Operation: 64-34=30, Resulting Numbers: [15, 30] Generated Node #0,2,2: 78:[15, 30] Operation: 64-34=30 Exploring Operation: 64-15=49, Resulting Numbers: [34, 49] Generated Node #0,2,3: 78:[34, 49] Operation: 64-15=49 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 78:[34, 79], Operations: ['94-60=34', '15+64=79'] Exploring Operation: 34+79=113, Resulting Numbers: [113] 113,78 unequal: No Solution Exploring Operation: 34*79=2686, Resulting Numbers: [2686] 2686,78 unequal: No Solution Exploring Operation: 79-34=45, Resulting Numbers: [45] 45,78 unequal: No Solution No 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: 78:[15, 30], Operations: ['94-60=34', '64-34=30'] Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,78 unequal: No Solution Exploring Operation: 15*30=450, Resulting Numbers: [450] 450,78 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 15+30=45, Resulting Numbers: [45] 45,78 unequal: No Solution No 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: 78:[34, 49], Operations: ['94-60=34', '64-15=49'] Exploring Operation: 34+49=83, Resulting Numbers: [83] 83,78 unequal: No Solution Exploring Operation: 49-34=15, Resulting Numbers: [15] 15,78 unequal: No Solution Exploring Operation: 34*49=1666, Resulting Numbers: [1666] 1666,78 unequal: No Solution No 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: 78:[64, 19], Operations: ['94-60=34', '34-15=19'] Exploring Operation: 64-19=45, Resulting Numbers: [45] 45,78 unequal: No Solution Exploring Operation: 64+19=83, Resulting Numbers: [83] 83,78 unequal: No Solution Exploring Operation: 64*19=1216, Resulting Numbers: [1216] 1216,78 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: 78:[15, 60, 30], Operations: ['94-64=30'] Exploring Operation: 60/30=2, Resulting Numbers: [15, 2] Generated Node #0,0,0: 78:[15, 2] Operation: 60/30=2 Exploring Operation: 15+60=75, Resulting Numbers: [30, 75] Generated Node #0,0,1: 78:[30, 75] Operation: 15+60=75 Exploring Operation: 60-30=30, Resulting Numbers: [15, 30] Generated Node #0,0,2: 78:[15, 30] Operation: 60-30=30 Exploring Operation: 60/15=4, Resulting Numbers: [30, 4] Generated Node #0,0,3: 78:[30, 4] Operation: 60/15=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[15, 2], Operations: ['94-64=30', '60/30=2'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,78 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,78 unequal: No Solution No 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: 78:[30, 4], Operations: ['94-64=30', '60/15=4'] Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,78 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,78 unequal: No Solution Exploring Operation: 30*4=120, Resulting Numbers: [120] 120,78 unequal: No Solution No 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: 78:[15, 30], Operations: ['94-64=30', '60-30=30'] Exploring Operation: 15+30=45, Resulting Numbers: [45] 45,78 unequal: No Solution Exploring Operation: 15*30=450, Resulting Numbers: [450] 450,78 unequal: No Solution Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,78 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,78 unequal: No Solution No 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: 78:[30, 75], Operations: ['94-64=30', '15+60=75'] Exploring Operation: 75-30=45, Resulting Numbers: [45] 45,78 unequal: No Solution Exploring Operation: 30+75=105, Resulting Numbers: [105] 105,78 unequal: No Solution Exploring Operation: 30*75=2250, Resulting Numbers: [2250] 2250,78 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: 78:[64, 94, 4], Operations: ['60/15=4'] Exploring Operation: 94-64=30, Resulting Numbers: [4, 30] Generated Node #0,1,0: 78:[4, 30] Operation: 94-64=30 Exploring Operation: 64+4=68, Resulting Numbers: [94, 68] Generated Node #0,1,1: 78:[94, 68] Operation: 64+4=68 Exploring Operation: 64/4=16, Resulting Numbers: [94, 16] Generated Node #0,1,2: 78:[94, 16] Operation: 64/4=16 Exploring Operation: 94-4=90, Resulting Numbers: [64, 90] Generated Node #0,1,3: 78:[64, 90] Operation: 94-4=90 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 78:[4, 30], Operations: ['60/15=4', '94-64=30'] Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,78 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,78 unequal: No Solution Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,78 unequal: No Solution No 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: 78:[94, 16], Operations: ['60/15=4', '64/4=16'] Exploring Operation: 94*16=1504, Resulting Numbers: [1504] 1504,78 unequal: No Solution Exploring Operation: 94-16=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[15, 64, 94, 60], Operations: [] Exploring Operation: 60/15=4, Resulting Numbers: [64, 94, 4] Generated Node #0,1: 78:[64, 94, 4] Operation: 60/15=4 Moving to Node #0,1 Current State: 78:[64, 94, 4], Operations: ['60/15=4'] Exploring Operation: 64/4=16, Resulting Numbers: [94, 16] Generated Node #0,1,2: 78:[94, 16] Operation: 64/4=16 Moving to Node #0,1,2 Current State: 78:[94, 16], Operations: ['60/15=4', '64/4=16'] Exploring Operation: 94-16=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.940972
hs_4
sum_heuristic
[ 50, 32, 49, 51 ]
47
[ "49-32=17", "51/17=3", "50-3=47" ]
Current State: 47:[50, 32, 49, 51], Operations: [] Exploring Operation: 49-32=17, Resulting Numbers: [50, 51, 17] Generated Node #2: [50, 51, 17] from Operation: 49-32=17 Current State: 47:[50, 51, 17], Operations: ['49-32=17'] Exploring Operation: 51/17=3, Resulting Numbers: [50, 3] Generated Node #3: [50, 3] from Operation: 51/17=3 Current State: 47:[50, 3], Operations: ['49-32=17', '51/17=3'] Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[50, 32, 49, 51], Operations: [] Exploring Operation: 51-32=19, Resulting Numbers: [50, 49, 19] Generated Node #0,0: 47:[50, 49, 19] Operation: 51-32=19 Moving to Node #0,0 Current State: 47:[50, 49, 19], Operations: ['51-32=19'] Exploring Operation: 50-19=31, Resulting Numbers: [49, 31] Generated Node #0,0,0: 47:[49, 31] Operation: 50-19=31 Moving to Node #0,0,0 Current State: 47:[49, 31], Operations: ['51-32=19', '50-19=31'] Exploring Operation: 49-31=18, Resulting Numbers: [18] 18,47 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 34, 9, 60, 34 ]
60
[ "34-34=0", "9*0=0", "60+0=60" ]
Current State: 60:[34, 9, 60, 34], Operations: [] Exploring Operation: 34-34=0, Resulting Numbers: [9, 60, 0] Generated Node #2: [9, 60, 0] from Operation: 34-34=0 Current State: 60:[9, 60, 0], Operations: ['34-34=0'] Exploring Operation: 9*0=0, Resulting Numbers: [60, 0] Generated Node #3: [60, 0] from Operation: 9*0=0 Current State: 60:[60, 0], Operations: ['34-34=0', '9*0=0'] Exploring Operation: 60+0=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[34, 9, 60, 34], Operations: [] Exploring Operation: 34-9=25, Resulting Numbers: [60, 34, 25] Generated Node #0,0: 60:[60, 34, 25] Operation: 34-9=25 Exploring Operation: 34-34=0, Resulting Numbers: [9, 60, 0] Generated Node #0,1: 60:[9, 60, 0] Operation: 34-34=0 Exploring Operation: 34/34=1, Resulting Numbers: [9, 60, 1] Generated Node #0,2: 60:[9, 60, 1] Operation: 34/34=1 Moving to Node #0,2 Current State: 60:[9, 60, 1], Operations: ['34/34=1'] Exploring Operation: 9*1=9, Resulting Numbers: [60, 9] Generated Node #0,2,0: 60:[60, 9] Operation: 9*1=9 Exploring Operation: 9/1=9, Resulting Numbers: [60, 9] Generated Node #0,2,1: 60:[60, 9] Operation: 9/1=9 Exploring Operation: 9+1=10, Resulting Numbers: [60, 10] Generated Node #0,2,2: 60:[60, 10] Operation: 9+1=10 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 60:[60, 10], Operations: ['34/34=1', '9+1=10'] Exploring Operation: 60+10=70, Resulting Numbers: [70] 70,60 unequal: No Solution Exploring Operation: 60-10=50, Resulting Numbers: [50] 50,60 unequal: No Solution Exploring Operation: 60/10=6, Resulting Numbers: [6] 6,60 unequal: No Solution No 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: 60:[60, 9], Operations: ['34/34=1', '9*1=9'] Exploring Operation: 60-9=51, Resulting Numbers: [51] 51,60 unequal: No Solution Exploring Operation: 60*9=540, Resulting Numbers: [540] 540,60 unequal: No Solution Exploring Operation: 60+9=69, Resulting Numbers: [69] 69,60 unequal: No Solution No 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: 60:[60, 9], Operations: ['34/34=1', '9/1=9'] Exploring Operation: 60*9=540, Resulting Numbers: [540] 540,60 unequal: No Solution Exploring Operation: 60-9=51, Resulting Numbers: [51] 51,60 unequal: No Solution Exploring Operation: 60+9=69, Resulting Numbers: [69] 69,60 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: 60:[9, 60, 0], Operations: ['34-34=0'] Exploring Operation: 9-0=9, Resulting Numbers: [60, 9] Generated Node #0,1,0: 60:[60, 9] Operation: 9-0=9 Exploring Operation: 60+0=60, Resulting Numbers: [9, 60] Generated Node #0,1,1: 60:[9, 60] Operation: 60+0=60 Exploring Operation: 9+0=9, Resulting Numbers: [60, 9] Generated Node #0,1,2: 60:[60, 9] Operation: 9+0=9 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 60:[60, 9], Operations: ['34-34=0', '9-0=9'] Exploring Operation: 60*9=540, Resulting Numbers: [540] 540,60 unequal: No Solution Exploring Operation: 60-9=51, Resulting Numbers: [51] 51,60 unequal: No Solution Exploring Operation: 60+9=69, Resulting Numbers: [69] 69,60 unequal: No Solution No 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: 60:[9, 60], Operations: ['34-34=0', '60+0=60'] Exploring Operation: 9*60=540, Resulting Numbers: [540] 540,60 unequal: No Solution Exploring Operation: 9+60=69, Resulting Numbers: [69] 69,60 unequal: No Solution Exploring Operation: 60-9=51, Resulting Numbers: [51] 51,60 unequal: No Solution No 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: 60:[60, 9], Operations: ['34-34=0', '9+0=9'] Exploring Operation: 60-9=51, Resulting Numbers: [51] 51,60 unequal: No Solution Exploring Operation: 60*9=540, Resulting Numbers: [540] 540,60 unequal: No Solution Exploring Operation: 60+9=69, Resulting Numbers: [69] 69,60 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: 60:[60, 34, 25], Operations: ['34-9=25'] Exploring Operation: 34+25=59, Resulting Numbers: [60, 59] Generated Node #0,0,0: 60:[60, 59] Operation: 34+25=59 Exploring Operation: 60-34=26, Resulting Numbers: [25, 26] Generated Node #0,0,1: 60:[25, 26] Operation: 60-34=26 Exploring Operation: 34-25=9, Resulting Numbers: [60, 9] Generated Node #0,0,2: 60:[60, 9] Operation: 34-25=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[60, 59], Operations: ['34-9=25', '34+25=59'] Exploring Operation: 60-59=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 60+59=119, Resulting Numbers: [119] 119,60 unequal: No Solution Exploring Operation: 60*59=3540, Resulting Numbers: [3540] 3540,60 unequal: No Solution No 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: 60:[60, 9], Operations: ['34-9=25', '34-25=9'] Exploring Operation: 60-9=51, Resulting Numbers: [51] 51,60 unequal: No Solution Exploring Operation: 60+9=69, Resulting Numbers: [69] 69,60 unequal: No Solution Exploring Operation: 60*9=540, Resulting Numbers: [540] 540,60 unequal: No Solution No 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: 60:[25, 26], Operations: ['34-9=25', '60-34=26'] Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 25*26=650, Resulting Numbers: [650] 650,60 unequal: No Solution Exploring Operation: 25+26=51, Resulting Numbers: [51] 51,60 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
[ 4, 61, 59, 81 ]
87
[ "4+61=65", "81-59=22", "65+22=87" ]
Current State: 87:[4, 61, 59, 81], Operations: [] Exploring Operation: 4+61=65, Resulting Numbers: [59, 81, 65] Generated Node #2: [59, 81, 65] from Operation: 4+61=65 Current State: 87:[59, 81, 65], Operations: ['4+61=65'] Exploring Operation: 81-59=22, Resulting Numbers: [65, 22] Generated Node #3: [65, 22] from Operation: 81-59=22 Current State: 87:[65, 22], Operations: ['4+61=65', '81-59=22'] Exploring Operation: 65+22=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[4, 61, 59, 81], Operations: [] Exploring Operation: 61-59=2, Resulting Numbers: [4, 81, 2] Generated Node #0,0: 87:[4, 81, 2] Operation: 61-59=2 Exploring Operation: 61+59=120, Resulting Numbers: [4, 81, 120] Generated Node #0,1: 87:[4, 81, 120] Operation: 61+59=120 Exploring Operation: 81-59=22, Resulting Numbers: [4, 61, 22] Generated Node #0,2: 87:[4, 61, 22] Operation: 81-59=22 Exploring Operation: 81-61=20, Resulting Numbers: [4, 59, 20] Generated Node #0,3: 87:[4, 59, 20] Operation: 81-61=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[4, 81, 2], Operations: ['61-59=2'] Exploring Operation: 4+81=85, Resulting Numbers: [2, 85] Generated Node #0,0,0: 87:[2, 85] Operation: 4+81=85 Exploring Operation: 4-2=2, Resulting Numbers: [81, 2] Generated Node #0,0,1: 87:[81, 2] Operation: 4-2=2 Exploring Operation: 81+2=83, Resulting Numbers: [4, 83] Generated Node #0,0,2: 87:[4, 83] Operation: 81+2=83 Exploring Operation: 4/2=2, Resulting Numbers: [81, 2] Generated Node #0,0,3: 87:[81, 2] Operation: 4/2=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[2, 85], Operations: ['61-59=2', '4+81=85'] Exploring Operation: 2*85=170, Resulting Numbers: [170] 170,87 unequal: No Solution Exploring Operation: 2+85=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[4, 61, 59, 81], Operations: [] Exploring Operation: 61-59=2, Resulting Numbers: [4, 81, 2] Generated Node #0,0: 87:[4, 81, 2] Operation: 61-59=2 Moving to Node #0,0 Current State: 87:[4, 81, 2], Operations: ['61-59=2'] Exploring Operation: 4+81=85, Resulting Numbers: [2, 85] Generated Node #0,0,0: 87:[2, 85] Operation: 4+81=85 Moving to Node #0,0,0 Current State: 87:[2, 85], Operations: ['61-59=2', '4+81=85'] Exploring Operation: 2+85=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 60, 89, 40, 91 ]
40
[ "60-40=20", "91-89=2", "20*2=40" ]
Current State: 40:[60, 89, 40, 91], Operations: [] Exploring Operation: 60-40=20, Resulting Numbers: [89, 91, 20] Generated Node #2: [89, 91, 20] from Operation: 60-40=20 Current State: 40:[89, 91, 20], Operations: ['60-40=20'] Exploring Operation: 91-89=2, Resulting Numbers: [20, 2] Generated Node #3: [20, 2] from Operation: 91-89=2 Current State: 40:[20, 2], Operations: ['60-40=20', '91-89=2'] Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[60, 89, 40, 91], Operations: [] Exploring Operation: 91-60=31, Resulting Numbers: [89, 40, 31] Generated Node #0,0: 40:[89, 40, 31] Operation: 91-60=31 Exploring Operation: 91-89=2, Resulting Numbers: [60, 40, 2] Generated Node #0,1: 40:[60, 40, 2] Operation: 91-89=2 Moving to Node #0,1 Current State: 40:[60, 40, 2], Operations: ['91-89=2'] Exploring Operation: 60-40=20, Resulting Numbers: [2, 20] Generated Node #0,1,0: 40:[2, 20] Operation: 60-40=20 Exploring Operation: 60/2=30, Resulting Numbers: [40, 30] Generated Node #0,1,1: 40:[40, 30] Operation: 60/2=30 Moving to Node #0,0 Current State: 40:[89, 40, 31], Operations: ['91-60=31'] Exploring Operation: 89-31=58, Resulting Numbers: [40, 58] Generated Node #0,0,0: 40:[40, 58] Operation: 89-31=58 Exploring Operation: 89-40=49, Resulting Numbers: [31, 49] Generated Node #0,0,1: 40:[31, 49] Operation: 89-40=49 Moving to Node #0,1,0 Current State: 40:[2, 20], Operations: ['91-89=2', '60-40=20'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[60, 89, 40, 91], Operations: [] Exploring Operation: 91-89=2, Resulting Numbers: [60, 40, 2] Generated Node #0,1: 40:[60, 40, 2] Operation: 91-89=2 Moving to Node #0,1 Current State: 40:[60, 40, 2], Operations: ['91-89=2'] Exploring Operation: 60-40=20, Resulting Numbers: [2, 20] Generated Node #0,1,0: 40:[2, 20] Operation: 60-40=20 Moving to Node #0,1,0 Current State: 40:[2, 20], Operations: ['91-89=2', '60-40=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 56, 2, 85, 66 ]
24
[ "56+66=122", "122/2=61", "85-61=24" ]
Current State: 24:[56, 2, 85, 66], Operations: [] Exploring Operation: 56+66=122, Resulting Numbers: [2, 85, 122] Generated Node #2: [2, 85, 122] from Operation: 56+66=122 Current State: 24:[2, 85, 122], Operations: ['56+66=122'] Exploring Operation: 122/2=61, Resulting Numbers: [85, 61] Generated Node #3: [85, 61] from Operation: 122/2=61 Current State: 24:[85, 61], Operations: ['56+66=122', '122/2=61'] Exploring Operation: 85-61=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[56, 2, 85, 66], Operations: [] Exploring Operation: 66/2=33, Resulting Numbers: [56, 85, 33] Generated Node #0,0: 24:[56, 85, 33] Operation: 66/2=33 Exploring Operation: 85-66=19, Resulting Numbers: [56, 2, 19] Generated Node #0,1: 24:[56, 2, 19] Operation: 85-66=19 Exploring Operation: 66-56=10, Resulting Numbers: [2, 85, 10] Generated Node #0,2: 24:[2, 85, 10] Operation: 66-56=10 Exploring Operation: 85-56=29, Resulting Numbers: [2, 66, 29] Generated Node #0,3: 24:[2, 66, 29] Operation: 85-56=29 Moving to Node #0,1 Current State: 24:[56, 2, 19], Operations: ['85-66=19'] Exploring Operation: 2+19=21, Resulting Numbers: [56, 21] Generated Node #0,1,0: 24:[56, 21] Operation: 2+19=21 Exploring Operation: 56-19=37, Resulting Numbers: [2, 37] Generated Node #0,1,1: 24:[2, 37] Operation: 56-19=37 Exploring Operation: 56-2=54, Resulting Numbers: [19, 54] Generated Node #0,1,2: 24:[19, 54] Operation: 56-2=54 Exploring Operation: 56/2=28, Resulting Numbers: [19, 28] Generated Node #0,1,3: 24:[19, 28] Operation: 56/2=28 Moving to Node #0,3 Current State: 24:[2, 66, 29], Operations: ['85-56=29'] Exploring Operation: 66-29=37, Resulting Numbers: [2, 37] Generated Node #0,3,0: 24:[2, 37] Operation: 66-29=37 Exploring Operation: 29-2=27, Resulting Numbers: [66, 27] Generated Node #0,3,1: 24:[66, 27] Operation: 29-2=27 Exploring Operation: 66/2=33, Resulting Numbers: [29, 33] Generated Node #0,3,2: 24:[29, 33] Operation: 66/2=33 Exploring Operation: 66-2=64, Resulting Numbers: [29, 64] Generated Node #0,3,3: 24:[29, 64] Operation: 66-2=64 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 24:[2, 37], Operations: ['85-56=29', '66-29=37'] Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,24 unequal: No Solution Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,24 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,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,2 Current State: 24:[29, 33], Operations: ['85-56=29', '66/2=33'] Exploring Operation: 29+33=62, Resulting Numbers: [62] 62,24 unequal: No Solution Exploring Operation: 29*33=957, Resulting Numbers: [957] 957,24 unequal: No Solution Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,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,1 Current State: 24:[66, 27], Operations: ['85-56=29', '29-2=27'] Exploring Operation: 66*27=1782, Resulting Numbers: [1782] 1782,24 unequal: No Solution Exploring Operation: 66+27=93, Resulting Numbers: [93] 93,24 unequal: No Solution Exploring Operation: 66-27=39, Resulting Numbers: [39] 39,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:[29, 64], Operations: ['85-56=29', '66-2=64'] Exploring Operation: 29*64=1856, Resulting Numbers: [1856] 1856,24 unequal: No Solution Exploring Operation: 29+64=93, Resulting Numbers: [93] 93,24 unequal: No Solution Exploring Operation: 64-29=35, Resulting Numbers: [35] 35,24 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: 24:[2, 85, 10], Operations: ['66-56=10'] Exploring Operation: 10-2=8, Resulting Numbers: [85, 8] Generated Node #0,2,0: 24:[85, 8] Operation: 10-2=8 Exploring Operation: 85-2=83, Resulting Numbers: [10, 83] Generated Node #0,2,1: 24:[10, 83] Operation: 85-2=83 Exploring Operation: 2+10=12, Resulting Numbers: [85, 12] Generated Node #0,2,2: 24:[85, 12] Operation: 2+10=12 Exploring Operation: 85-10=75, Resulting Numbers: [2, 75] Generated Node #0,2,3: 24:[2, 75] Operation: 85-10=75 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 24:[2, 75], Operations: ['66-56=10', '85-10=75'] Exploring Operation: 2*75=150, Resulting Numbers: [150] 150,24 unequal: No Solution Exploring Operation: 2+75=77, Resulting Numbers: [77] 77,24 unequal: No Solution Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,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:[85, 8], Operations: ['66-56=10', '10-2=8'] Exploring Operation: 85-8=77, Resulting Numbers: [77] 77,24 unequal: No Solution Exploring Operation: 85+8=93, Resulting Numbers: [93] 93,24 unequal: No Solution Exploring Operation: 85*8=680, Resulting Numbers: [680] 680,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:[10, 83], Operations: ['66-56=10', '85-2=83'] Exploring Operation: 83-10=73, Resulting Numbers: [73] 73,24 unequal: No Solution Exploring Operation: 10+83=93, Resulting Numbers: [93] 93,24 unequal: No Solution Exploring Operation: 10*83=830, Resulting Numbers: [830] 830,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,2 Current State: 24:[85, 12], Operations: ['66-56=10', '2+10=12'] Exploring Operation: 85-12=73, Resulting Numbers: [73] 73,24 unequal: No Solution Exploring Operation: 85*12=1020, Resulting Numbers: [1020] 1020,24 unequal: No Solution Exploring Operation: 85+12=97, Resulting Numbers: [97] 97,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:[56, 85, 33], Operations: ['66/2=33'] Exploring Operation: 85-56=29, Resulting Numbers: [33, 29] Generated Node #0,0,0: 24:[33, 29] Operation: 85-56=29 Exploring Operation: 85-33=52, Resulting Numbers: [56, 52] Generated Node #0,0,1: 24:[56, 52] Operation: 85-33=52 Exploring Operation: 56-33=23, Resulting Numbers: [85, 23] Generated Node #0,0,2: 24:[85, 23] Operation: 56-33=23 Exploring Operation: 56+85=141, Resulting Numbers: [33, 141] Generated Node #0,0,3: 24:[33, 141] Operation: 56+85=141 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[33, 29], Operations: ['66/2=33', '85-56=29'] Exploring Operation: 33+29=62, Resulting Numbers: [62] 62,24 unequal: No Solution Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 33*29=957, Resulting Numbers: [957] 957,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,0,1 Current State: 24:[56, 52], Operations: ['66/2=33', '85-33=52'] Exploring Operation: 56*52=2912, Resulting Numbers: [2912] 2912,24 unequal: No Solution Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 56+52=108, Resulting Numbers: [108] 108,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,0,2 Current State: 24:[85, 23], Operations: ['66/2=33', '56-33=23'] Exploring Operation: 85*23=1955, Resulting Numbers: [1955] 1955,24 unequal: No Solution Exploring Operation: 85-23=62, Resulting Numbers: [62] 62,24 unequal: No Solution Exploring Operation: 85+23=108, Resulting Numbers: [108] 108,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,0,3 Current State: 24:[33, 141], Operations: ['66/2=33', '56+85=141'] Exploring Operation: 33+141=174, Resulting Numbers: [174] 174,24 unequal: No Solution Exploring Operation: 141-33=108, Resulting Numbers: [108] 108,24 unequal: No Solution Exploring Operation: 33*141=4653, Resulting Numbers: [4653] 4653,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 24:[19, 28], Operations: ['85-66=19', '56/2=28'] Exploring Operation: 19+28=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 19*28=532, Resulting Numbers: [532] 532,24 unequal: No Solution Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[2, 37], Operations: ['85-66=19', '56-19=37'] Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,24 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,24 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,24 unequal: No Solution Moving to Node #0,1,2 Current State: 24:[19, 54], Operations: ['85-66=19', '56-2=54'] Exploring Operation: 19*54=1026, Resulting Numbers: [1026] 1026,24 unequal: No Solution Exploring Operation: 19+54=73, Resulting Numbers: [73] 73,24 unequal: No Solution Exploring Operation: 54-19=35, Resulting Numbers: [35] 35,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[56, 21], Operations: ['85-66=19', '2+19=21'] Exploring Operation: 56*21=1176, Resulting Numbers: [1176] 1176,24 unequal: No Solution Exploring Operation: 56+21=77, Resulting Numbers: [77] 77,24 unequal: No Solution Exploring Operation: 56-21=35, Resulting Numbers: [35] 35,24 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 56, 70, 42, 95 ]
97
[ "70+42=112", "112/56=2", "95+2=97" ]
Current State: 97:[56, 70, 42, 95], Operations: [] Exploring Operation: 70+42=112, Resulting Numbers: [56, 95, 112] Generated Node #2: [56, 95, 112] from Operation: 70+42=112 Current State: 97:[56, 95, 112], Operations: ['70+42=112'] Exploring Operation: 112/56=2, Resulting Numbers: [95, 2] Generated Node #3: [95, 2] from Operation: 112/56=2 Current State: 97:[95, 2], Operations: ['70+42=112', '112/56=2'] Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[56, 70, 42, 95], Operations: [] Exploring Operation: 70+42=112, Resulting Numbers: [56, 95, 112] Generated Node #0,0: 97:[56, 95, 112] Operation: 70+42=112 Exploring Operation: 56+70=126, Resulting Numbers: [42, 95, 126] Generated Node #0,1: 97:[42, 95, 126] Operation: 56+70=126 Exploring Operation: 42+95=137, Resulting Numbers: [56, 70, 137] Generated Node #0,2: 97:[56, 70, 137] Operation: 42+95=137 Exploring Operation: 56+42=98, Resulting Numbers: [70, 95, 98] Generated Node #0,3: 97:[70, 95, 98] Operation: 56+42=98 Moving to Node #0,3 Current State: 97:[70, 95, 98], Operations: ['56+42=98'] Exploring Operation: 70+98=168, Resulting Numbers: [95, 168] Generated Node #0,3,0: 97:[95, 168] Operation: 70+98=168 Exploring Operation: 95-70=25, Resulting Numbers: [98, 25] Generated Node #0,3,1: 97:[98, 25] Operation: 95-70=25 Exploring Operation: 98-70=28, Resulting Numbers: [95, 28] Generated Node #0,3,2: 97:[95, 28] Operation: 98-70=28 Exploring Operation: 70+95=165, Resulting Numbers: [98, 165] Generated Node #0,3,3: 97:[98, 165] Operation: 70+95=165 Moving to Node #0,0 Current State: 97:[56, 95, 112], Operations: ['70+42=112'] Exploring Operation: 56+95=151, Resulting Numbers: [112, 151] Generated Node #0,0,0: 97:[112, 151] Operation: 56+95=151 Exploring Operation: 95-56=39, Resulting Numbers: [112, 39] Generated Node #0,0,1: 97:[112, 39] Operation: 95-56=39 Exploring Operation: 112-56=56, Resulting Numbers: [95, 56] Generated Node #0,0,2: 97:[95, 56] Operation: 112-56=56 Exploring Operation: 56+112=168, Resulting Numbers: [95, 168] Generated Node #0,0,3: 97:[95, 168] Operation: 56+112=168 Moving to Node #0,1 Current State: 97:[42, 95, 126], Operations: ['56+70=126'] Exploring Operation: 95-42=53, Resulting Numbers: [126, 53] Generated Node #0,1,0: 97:[126, 53] Operation: 95-42=53 Exploring Operation: 42+126=168, Resulting Numbers: [95, 168] Generated Node #0,1,1: 97:[95, 168] Operation: 42+126=168 Exploring Operation: 42+95=137, Resulting Numbers: [126, 137] Generated Node #0,1,2: 97:[126, 137] Operation: 42+95=137 Exploring Operation: 126-42=84, Resulting Numbers: [95, 84] Generated Node #0,1,3: 97:[95, 84] Operation: 126-42=84 Moving to Node #0,2 Current State: 97:[56, 70, 137], Operations: ['42+95=137'] Exploring Operation: 70-56=14, Resulting Numbers: [137, 14] Generated Node #0,2,0: 97:[137, 14] Operation: 70-56=14 Exploring Operation: 56+70=126, Resulting Numbers: [137, 126] Generated Node #0,2,1: 97:[137, 126] Operation: 56+70=126 Exploring Operation: 137-56=81, Resulting Numbers: [70, 81] Generated Node #0,2,2: 97:[70, 81] Operation: 137-56=81 Exploring Operation: 137-70=67, Resulting Numbers: [56, 67] Generated Node #0,2,3: 97:[56, 67] Operation: 137-70=67 Moving to Node #0,1,3 Current State: 97:[95, 84], Operations: ['56+70=126', '126-42=84'] Exploring Operation: 95+84=179, Resulting Numbers: [179] 179,97 unequal: No Solution Exploring Operation: 95-84=11, Resulting Numbers: [11] 11,97 unequal: No Solution Exploring Operation: 95*84=7980, Resulting Numbers: [7980] 7980,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[70, 81], Operations: ['42+95=137', '137-56=81'] Exploring Operation: 70+81=151, Resulting Numbers: [151] 151,97 unequal: No Solution Exploring Operation: 81-70=11, Resulting Numbers: [11] 11,97 unequal: No Solution Exploring Operation: 70*81=5670, Resulting Numbers: [5670] 5670,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[95, 56], Operations: ['70+42=112', '112-56=56'] Exploring Operation: 95*56=5320, Resulting Numbers: [5320] 5320,97 unequal: No Solution Exploring Operation: 95+56=151, Resulting Numbers: [151] 151,97 unequal: No Solution Exploring Operation: 95-56=39, Resulting Numbers: [39] 39,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[137, 126], Operations: ['42+95=137', '56+70=126'] Exploring Operation: 137*126=17262, Resulting Numbers: [17262] 17262,97 unequal: No Solution Exploring Operation: 137+126=263, Resulting Numbers: [263] 263,97 unequal: No Solution Exploring Operation: 137-126=11, Resulting Numbers: [11] 11,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[112, 151], Operations: ['70+42=112', '56+95=151'] Exploring Operation: 112*151=16912, Resulting Numbers: [16912] 16912,97 unequal: No Solution Exploring Operation: 112+151=263, Resulting Numbers: [263] 263,97 unequal: No Solution Exploring Operation: 151-112=39, Resulting Numbers: [39] 39,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[126, 137], Operations: ['56+70=126', '42+95=137'] Exploring Operation: 137-126=11, Resulting Numbers: [11] 11,97 unequal: No Solution Exploring Operation: 126*137=17262, Resulting Numbers: [17262] 17262,97 unequal: No Solution Exploring Operation: 126+137=263, Resulting Numbers: [263] 263,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[98, 165], Operations: ['56+42=98', '70+95=165'] Exploring Operation: 98+165=263, Resulting Numbers: [263] 263,97 unequal: No Solution Exploring Operation: 98*165=16170, Resulting Numbers: [16170] 16170,97 unequal: No Solution Exploring Operation: 165-98=67, Resulting Numbers: [67] 67,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[56, 67], Operations: ['42+95=137', '137-70=67'] Exploring Operation: 67-56=11, Resulting Numbers: [11] 11,97 unequal: No Solution Exploring Operation: 56*67=3752, Resulting Numbers: [3752] 3752,97 unequal: No Solution Exploring Operation: 56+67=123, Resulting Numbers: [123] 123,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[95, 28], Operations: ['56+42=98', '98-70=28'] Exploring Operation: 95+28=123, Resulting Numbers: [123] 123,97 unequal: No Solution Exploring Operation: 95*28=2660, Resulting Numbers: [2660] 2660,97 unequal: No Solution Exploring Operation: 95-28=67, Resulting Numbers: [67] 67,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[112, 39], Operations: ['70+42=112', '95-56=39'] Exploring Operation: 112*39=4368, Resulting Numbers: [4368] 4368,97 unequal: No Solution Exploring Operation: 112+39=151, Resulting Numbers: [151] 151,97 unequal: No Solution Exploring Operation: 112-39=73, Resulting Numbers: [73] 73,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[95, 168], Operations: ['56+42=98', '70+98=168'] Exploring Operation: 95*168=15960, Resulting Numbers: [15960] 15960,97 unequal: No Solution Exploring Operation: 95+168=263, Resulting Numbers: [263] 263,97 unequal: No Solution Exploring Operation: 168-95=73, Resulting Numbers: [73] 73,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[95, 168], Operations: ['70+42=112', '56+112=168'] Exploring Operation: 168-95=73, Resulting Numbers: [73] 73,97 unequal: No Solution Exploring Operation: 95*168=15960, Resulting Numbers: [15960] 15960,97 unequal: No Solution Exploring Operation: 95+168=263, Resulting Numbers: [263] 263,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[126, 53], Operations: ['56+70=126', '95-42=53'] Exploring Operation: 126+53=179, Resulting Numbers: [179] 179,97 unequal: No Solution Exploring Operation: 126*53=6678, Resulting Numbers: [6678] 6678,97 unequal: No Solution Exploring Operation: 126-53=73, Resulting Numbers: [73] 73,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[98, 25], Operations: ['56+42=98', '95-70=25'] Exploring Operation: 98-25=73, Resulting Numbers: [73] 73,97 unequal: No Solution Exploring Operation: 98*25=2450, Resulting Numbers: [2450] 2450,97 unequal: No Solution Exploring Operation: 98+25=123, Resulting Numbers: [123] 123,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[95, 168], Operations: ['56+70=126', '42+126=168'] Exploring Operation: 168-95=73, Resulting Numbers: [73] 73,97 unequal: No Solution Exploring Operation: 95*168=15960, Resulting Numbers: [15960] 15960,97 unequal: No Solution Exploring Operation: 95+168=263, Resulting Numbers: [263] 263,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[137, 14], Operations: ['42+95=137', '70-56=14'] Exploring Operation: 137*14=1918, Resulting Numbers: [1918] 1918,97 unequal: No Solution Exploring Operation: 137+14=151, Resulting Numbers: [151] 151,97 unequal: No Solution Exploring Operation: 137-14=123, Resulting Numbers: [123] 123,97 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 51, 96, 4, 91 ]
86
[ "91-51=40", "40/4=10", "96-10=86" ]
Current State: 86:[51, 96, 4, 91], Operations: [] Exploring Operation: 91-51=40, Resulting Numbers: [96, 4, 40] Generated Node #2: [96, 4, 40] from Operation: 91-51=40 Current State: 86:[96, 4, 40], Operations: ['91-51=40'] Exploring Operation: 40/4=10, Resulting Numbers: [96, 10] Generated Node #3: [96, 10] from Operation: 40/4=10 Current State: 86:[96, 10], Operations: ['91-51=40', '40/4=10'] Exploring Operation: 96-10=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[51, 96, 4, 91], Operations: [] Exploring Operation: 96-91=5, Resulting Numbers: [51, 4, 5] Generated Node #0,0: 86:[51, 4, 5] Operation: 96-91=5 Exploring Operation: 51-4=47, Resulting Numbers: [96, 91, 47] Generated Node #0,1: 86:[96, 91, 47] Operation: 51-4=47 Exploring Operation: 96-51=45, Resulting Numbers: [4, 91, 45] Generated Node #0,2: 86:[4, 91, 45] Operation: 96-51=45 Exploring Operation: 91-51=40, Resulting Numbers: [96, 4, 40] Generated Node #0,3: 86:[96, 4, 40] Operation: 91-51=40 Moving to Node #0,2 Current State: 86:[4, 91, 45], Operations: ['96-51=45'] Exploring Operation: 91-4=87, Resulting Numbers: [45, 87] Generated Node #0,2,0: 86:[45, 87] Operation: 91-4=87 Exploring Operation: 4+91=95, Resulting Numbers: [45, 95] Generated Node #0,2,1: 86:[45, 95] Operation: 4+91=95 Exploring Operation: 91-45=46, Resulting Numbers: [4, 46] Generated Node #0,2,2: 86:[4, 46] Operation: 91-45=46 Exploring Operation: 45-4=41, Resulting Numbers: [91, 41] Generated Node #0,2,3: 86:[91, 41] Operation: 45-4=41 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 86:[45, 87], Operations: ['96-51=45', '91-4=87'] Exploring Operation: 45*87=3915, Resulting Numbers: [3915] 3915,86 unequal: No Solution Exploring Operation: 45+87=132, Resulting Numbers: [132] 132,86 unequal: No Solution Exploring Operation: 87-45=42, Resulting Numbers: [42] 42,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 86:[4, 46], Operations: ['96-51=45', '91-45=46'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,86 unequal: No Solution Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,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:[91, 41], Operations: ['96-51=45', '45-4=41'] Exploring Operation: 91*41=3731, Resulting Numbers: [3731] 3731,86 unequal: No Solution Exploring Operation: 91+41=132, Resulting Numbers: [132] 132,86 unequal: No Solution Exploring Operation: 91-41=50, Resulting Numbers: [50] 50,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:[45, 95], Operations: ['96-51=45', '4+91=95'] Exploring Operation: 95-45=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 45+95=140, Resulting Numbers: [140] 140,86 unequal: No Solution Exploring Operation: 45*95=4275, Resulting Numbers: [4275] 4275,86 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: 86:[51, 4, 5], Operations: ['96-91=5'] Exploring Operation: 51+4=55, Resulting Numbers: [5, 55] Generated Node #0,0,0: 86:[5, 55] Operation: 51+4=55 Exploring Operation: 51-4=47, Resulting Numbers: [5, 47] Generated Node #0,0,1: 86:[5, 47] Operation: 51-4=47 Exploring Operation: 5-4=1, Resulting Numbers: [51, 1] Generated Node #0,0,2: 86:[51, 1] Operation: 5-4=1 Exploring Operation: 51-5=46, Resulting Numbers: [4, 46] Generated Node #0,0,3: 86:[4, 46] Operation: 51-5=46 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 86:[4, 46], Operations: ['96-91=5', '51-5=46'] Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,86 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,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,0,1 Current State: 86:[5, 47], Operations: ['96-91=5', '51-4=47'] Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,86 unequal: No Solution Exploring Operation: 5*47=235, Resulting Numbers: [235] 235,86 unequal: No Solution Exploring Operation: 5+47=52, Resulting Numbers: [52] 52,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,0,2 Current State: 86:[51, 1], Operations: ['96-91=5', '5-4=1'] Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,86 unequal: No Solution Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 51*1=51, Resulting Numbers: [51] 51,86 unequal: No Solution Exploring Operation: 51+1=52, Resulting Numbers: [52] 52,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,0,0 Current State: 86:[5, 55], Operations: ['96-91=5', '51+4=55'] Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 5*55=275, Resulting Numbers: [275] 275,86 unequal: No Solution Exploring Operation: 5+55=60, Resulting Numbers: [60] 60,86 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 86:[96, 4, 40], Operations: ['91-51=40'] Exploring Operation: 96-4=92, Resulting Numbers: [40, 92] Generated Node #0,3,0: 86:[40, 92] Operation: 96-4=92 Exploring Operation: 4+40=44, Resulting Numbers: [96, 44] Generated Node #0,3,1: 86:[96, 44] Operation: 4+40=44 Exploring Operation: 96-40=56, Resulting Numbers: [4, 56] Generated Node #0,3,2: 86:[4, 56] Operation: 96-40=56 Exploring Operation: 96+4=100, Resulting Numbers: [40, 100] Generated Node #0,3,3: 86:[40, 100] Operation: 96+4=100 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 86:[40, 92], Operations: ['91-51=40', '96-4=92'] Exploring Operation: 40+92=132, Resulting Numbers: [132] 132,86 unequal: No Solution Exploring Operation: 92-40=52, Resulting Numbers: [52] 52,86 unequal: No Solution Exploring Operation: 40*92=3680, Resulting Numbers: [3680] 3680,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,3,1 Current State: 86:[96, 44], Operations: ['91-51=40', '4+40=44'] Exploring Operation: 96-44=52, Resulting Numbers: [52] 52,86 unequal: No Solution Exploring Operation: 96*44=4224, Resulting Numbers: [4224] 4224,86 unequal: No Solution Exploring Operation: 96+44=140, Resulting Numbers: [140] 140,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,3,2 Current State: 86:[4, 56], Operations: ['91-51=40', '96-40=56'] Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,86 unequal: No Solution Exploring Operation: 4+56=60, Resulting Numbers: [60] 60,86 unequal: No Solution Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,86 unequal: No Solution Exploring Operation: 4*56=224, Resulting Numbers: [224] 224,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,3,3 Current State: 86:[40, 100], Operations: ['91-51=40', '96+4=100'] Exploring Operation: 40+100=140, Resulting Numbers: [140] 140,86 unequal: No Solution Exploring Operation: 100-40=60, Resulting Numbers: [60] 60,86 unequal: No Solution Exploring Operation: 40*100=4000, Resulting Numbers: [4000] 4000,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:[96, 91, 47], Operations: ['51-4=47'] Exploring Operation: 96-47=49, Resulting Numbers: [91, 49] Generated Node #0,1,0: 86:[91, 49] Operation: 96-47=49 Exploring Operation: 91-47=44, Resulting Numbers: [96, 44] Generated Node #0,1,1: 86:[96, 44] Operation: 91-47=44 Exploring Operation: 96+47=143, Resulting Numbers: [91, 143] Generated Node #0,1,2: 86:[91, 143] Operation: 96+47=143 Exploring Operation: 96-91=5, Resulting Numbers: [47, 5] Generated Node #0,1,3: 86:[47, 5] Operation: 96-91=5 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 86:[47, 5], Operations: ['51-4=47', '96-91=5'] Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,86 unequal: No Solution Exploring Operation: 47+5=52, Resulting Numbers: [52] 52,86 unequal: No Solution Exploring Operation: 47*5=235, Resulting Numbers: [235] 235,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[91, 49], Operations: ['51-4=47', '96-47=49'] Exploring Operation: 91*49=4459, Resulting Numbers: [4459] 4459,86 unequal: No Solution Exploring Operation: 91-49=42, Resulting Numbers: [42] 42,86 unequal: No Solution Exploring Operation: 91+49=140, Resulting Numbers: [140] 140,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[96, 44], Operations: ['51-4=47', '91-47=44'] Exploring Operation: 96+44=140, Resulting Numbers: [140] 140,86 unequal: No Solution Exploring Operation: 96*44=4224, Resulting Numbers: [4224] 4224,86 unequal: No Solution Exploring Operation: 96-44=52, Resulting Numbers: [52] 52,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 86:[91, 143], Operations: ['51-4=47', '96+47=143'] Exploring Operation: 91*143=13013, Resulting Numbers: [13013] 13013,86 unequal: No Solution Exploring Operation: 91+143=234, Resulting Numbers: [234] 234,86 unequal: No Solution Exploring Operation: 143-91=52, Resulting Numbers: [52] 52,86 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
[ 69, 53, 16, 73 ]
11
[ "73-69=4", "16*4=64", "64-53=11" ]
Current State: 11:[69, 53, 16, 73], Operations: [] Exploring Operation: 73-69=4, Resulting Numbers: [53, 16, 4] Generated Node #2: [53, 16, 4] from Operation: 73-69=4 Current State: 11:[53, 16, 4], Operations: ['73-69=4'] Exploring Operation: 16*4=64, Resulting Numbers: [53, 64] Generated Node #3: [53, 64] from Operation: 16*4=64 Current State: 11:[53, 64], Operations: ['73-69=4', '16*4=64'] Exploring Operation: 64-53=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[69, 53, 16, 73], Operations: [] Exploring Operation: 73-69=4, Resulting Numbers: [53, 16, 4] Generated Node #0,0: 11:[53, 16, 4] Operation: 73-69=4 Exploring Operation: 69-53=16, Resulting Numbers: [16, 73, 16] Generated Node #0,1: 11:[16, 73, 16] Operation: 69-53=16 Moving to Node #0,0 Current State: 11:[53, 16, 4], Operations: ['73-69=4'] Exploring Operation: 53-16=37, Resulting Numbers: [4, 37] Generated Node #0,0,0: 11:[4, 37] Operation: 53-16=37 Exploring Operation: 53-4=49, Resulting Numbers: [16, 49] Generated Node #0,0,1: 11:[16, 49] Operation: 53-4=49 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[4, 37], Operations: ['73-69=4', '53-16=37'] Exploring Operation: 4+37=41, Resulting Numbers: [41] 41,11 unequal: No Solution Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[16, 49], Operations: ['73-69=4', '53-4=49'] Exploring Operation: 49-16=33, Resulting Numbers: [33] 33,11 unequal: No Solution Exploring Operation: 16+49=65, Resulting Numbers: [65] 65,11 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: 11:[16, 73, 16], Operations: ['69-53=16'] Exploring Operation: 73-16=57, Resulting Numbers: [16, 57] Generated Node #0,1,0: 11:[16, 57] Operation: 73-16=57 Exploring Operation: 73-16=57, Resulting Numbers: [16, 57] Generated Node #0,1,1: 11:[16, 57] Operation: 73-16=57 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[16, 57], Operations: ['69-53=16', '73-16=57'] Exploring Operation: 16+57=73, Resulting Numbers: [73] 73,11 unequal: No Solution Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,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:[16, 57], Operations: ['69-53=16', '73-16=57'] Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,11 unequal: No Solution Exploring Operation: 16+57=73, Resulting Numbers: [73] 73,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 5, 98, 81, 16 ]
98
[ "5*16=80", "81-80=1", "98*1=98" ]
Current State: 98:[5, 98, 81, 16], Operations: [] Exploring Operation: 5*16=80, Resulting Numbers: [98, 81, 80] Generated Node #2: [98, 81, 80] from Operation: 5*16=80 Current State: 98:[98, 81, 80], Operations: ['5*16=80'] Exploring Operation: 81-80=1, Resulting Numbers: [98, 1] Generated Node #3: [98, 1] from Operation: 81-80=1 Current State: 98:[98, 1], Operations: ['5*16=80', '81-80=1'] Exploring Operation: 98*1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[5, 98, 81, 16], Operations: [] Exploring Operation: 81-16=65, Resulting Numbers: [5, 98, 65] Generated Node #0,0: 98:[5, 98, 65] Operation: 81-16=65 Exploring Operation: 5+81=86, Resulting Numbers: [98, 16, 86] Generated Node #0,1: 98:[98, 16, 86] Operation: 5+81=86 Exploring Operation: 16-5=11, Resulting Numbers: [98, 81, 11] Generated Node #0,2: 98:[98, 81, 11] Operation: 16-5=11 Exploring Operation: 98-81=17, Resulting Numbers: [5, 16, 17] Generated Node #0,3: 98:[5, 16, 17] Operation: 98-81=17 Exploring Operation: 81+16=97, Resulting Numbers: [5, 98, 97] Generated Node #0,4: 98:[5, 98, 97] Operation: 81+16=97 Start Sub Search at level 1: Moving to Node #0,4 Current State: 98:[5, 98, 97], Operations: ['81+16=97'] Exploring Operation: 5+98=103, Resulting Numbers: [97, 103] Generated Node #0,4,0: 98:[97, 103] Operation: 5+98=103 Exploring Operation: 5+97=102, Resulting Numbers: [98, 102] Generated Node #0,4,1: 98:[98, 102] Operation: 5+97=102 Exploring Operation: 98-5=93, Resulting Numbers: [97, 93] Generated Node #0,4,2: 98:[97, 93] Operation: 98-5=93 Exploring Operation: 97-5=92, Resulting Numbers: [98, 92] Generated Node #0,4,3: 98:[98, 92] Operation: 97-5=92 Exploring Operation: 98-97=1, Resulting Numbers: [5, 1] Generated Node #0,4,4: 98:[5, 1] Operation: 98-97=1 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 98:[5, 1], Operations: ['81+16=97', '98-97=1'] Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,98 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,98 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,98 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,98 unequal: No Solution No 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: 98:[98, 102], Operations: ['81+16=97', '5+97=102'] Exploring Operation: 98+102=200, Resulting Numbers: [200] 200,98 unequal: No Solution Exploring Operation: 98*102=9996, Resulting Numbers: [9996] 9996,98 unequal: No Solution Exploring Operation: 102-98=4, Resulting Numbers: [4] 4,98 unequal: No Solution No 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: 98:[97, 103], Operations: ['81+16=97', '5+98=103'] Exploring Operation: 97*103=9991, Resulting Numbers: [9991] 9991,98 unequal: No Solution Exploring Operation: 103-97=6, Resulting Numbers: [6] 6,98 unequal: No Solution Exploring Operation: 97+103=200, Resulting Numbers: [200] 200,98 unequal: No Solution No 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: 98:[97, 93], Operations: ['81+16=97', '98-5=93'] Exploring Operation: 97+93=190, Resulting Numbers: [190] 190,98 unequal: No Solution Exploring Operation: 97*93=9021, Resulting Numbers: [9021] 9021,98 unequal: No Solution Exploring Operation: 97-93=4, Resulting Numbers: [4] 4,98 unequal: No Solution No 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: 98:[98, 92], Operations: ['81+16=97', '97-5=92'] Exploring Operation: 98+92=190, Resulting Numbers: [190] 190,98 unequal: No Solution Exploring Operation: 98-92=6, Resulting Numbers: [6] 6,98 unequal: No Solution Exploring Operation: 98*92=9016, Resulting Numbers: [9016] 9016,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 98:[5, 16, 17], Operations: ['98-81=17'] Exploring Operation: 5+17=22, Resulting Numbers: [16, 22] Generated Node #0,3,0: 98:[16, 22] Operation: 5+17=22 Exploring Operation: 5+16=21, Resulting Numbers: [17, 21] Generated Node #0,3,1: 98:[17, 21] Operation: 5+16=21 Exploring Operation: 16-5=11, Resulting Numbers: [17, 11] Generated Node #0,3,2: 98:[17, 11] Operation: 16-5=11 Exploring Operation: 17-5=12, Resulting Numbers: [16, 12] Generated Node #0,3,3: 98:[16, 12] Operation: 17-5=12 Exploring Operation: 17-16=1, Resulting Numbers: [5, 1] Generated Node #0,3,4: 98:[5, 1] Operation: 17-16=1 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 98:[5, 1], Operations: ['98-81=17', '17-16=1'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,98 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,98 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,98 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,98 unequal: No Solution No 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: 98:[16, 12], Operations: ['98-81=17', '17-5=12'] Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,98 unequal: No Solution Exploring Operation: 16*12=192, Resulting Numbers: [192] 192,98 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,98 unequal: No Solution No 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: 98:[17, 11], Operations: ['98-81=17', '16-5=11'] Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,98 unequal: No Solution Exploring Operation: 17*11=187, Resulting Numbers: [187] 187,98 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,98 unequal: No Solution No 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: 98:[16, 22], Operations: ['98-81=17', '5+17=22'] Exploring Operation: 16*22=352, Resulting Numbers: [352] 352,98 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,98 unequal: No Solution Exploring Operation: 16+22=38, Resulting Numbers: [38] 38,98 unequal: No Solution No 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: 98:[17, 21], Operations: ['98-81=17', '5+16=21'] Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,98 unequal: No Solution Exploring Operation: 17+21=38, Resulting Numbers: [38] 38,98 unequal: No Solution Exploring Operation: 17*21=357, Resulting Numbers: [357] 357,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[98, 16, 86], Operations: ['5+81=86'] Exploring Operation: 98-86=12, Resulting Numbers: [16, 12] Generated Node #0,1,0: 98:[16, 12] Operation: 98-86=12 Exploring Operation: 98-16=82, Resulting Numbers: [86, 82] Generated Node #0,1,1: 98:[86, 82] Operation: 98-16=82 Exploring Operation: 86-16=70, Resulting Numbers: [98, 70] Generated Node #0,1,2: 98:[98, 70] Operation: 86-16=70 Exploring Operation: 98+16=114, Resulting Numbers: [86, 114] Generated Node #0,1,3: 98:[86, 114] Operation: 98+16=114 Exploring Operation: 16+86=102, Resulting Numbers: [98, 102] Generated Node #0,1,4: 98:[98, 102] Operation: 16+86=102 Moving to Node #0,1,0 Current State: 98:[16, 12], Operations: ['5+81=86', '98-86=12'] Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,98 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,98 unequal: No Solution Exploring Operation: 16*12=192, Resulting Numbers: [192] 192,98 unequal: No Solution Moving to Node #0,1,4 Current State: 98:[98, 102], Operations: ['5+81=86', '16+86=102'] Exploring Operation: 98*102=9996, Resulting Numbers: [9996] 9996,98 unequal: No Solution Exploring Operation: 102-98=4, Resulting Numbers: [4] 4,98 unequal: No Solution Exploring Operation: 98+102=200, Resulting Numbers: [200] 200,98 unequal: No Solution Moving to Node #0,1,2 Current State: 98:[98, 70], Operations: ['5+81=86', '86-16=70'] Exploring Operation: 98-70=28, Resulting Numbers: [28] 28,98 unequal: No Solution Exploring Operation: 98*70=6860, Resulting Numbers: [6860] 6860,98 unequal: No Solution Exploring Operation: 98+70=168, Resulting Numbers: [168] 168,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[86, 82], Operations: ['5+81=86', '98-16=82'] Exploring Operation: 86+82=168, Resulting Numbers: [168] 168,98 unequal: No Solution Exploring Operation: 86-82=4, Resulting Numbers: [4] 4,98 unequal: No Solution Exploring Operation: 86*82=7052, Resulting Numbers: [7052] 7052,98 unequal: No Solution Moving to Node #0,1,3 Current State: 98:[86, 114], Operations: ['5+81=86', '98+16=114'] Exploring Operation: 86*114=9804, Resulting Numbers: [9804] 9804,98 unequal: No Solution Exploring Operation: 86+114=200, Resulting Numbers: [200] 200,98 unequal: No Solution Exploring Operation: 114-86=28, Resulting Numbers: [28] 28,98 unequal: No Solution No 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: 98:[5, 98, 65], Operations: ['81-16=65'] Exploring Operation: 65/5=13, Resulting Numbers: [98, 13] Generated Node #0,0,0: 98:[98, 13] Operation: 65/5=13 Exploring Operation: 98-5=93, Resulting Numbers: [65, 93] Generated Node #0,0,1: 98:[65, 93] Operation: 98-5=93 Exploring Operation: 98-65=33, Resulting Numbers: [5, 33] Generated Node #0,0,2: 98:[5, 33] Operation: 98-65=33 Exploring Operation: 5+98=103, Resulting Numbers: [65, 103] Generated Node #0,0,3: 98:[65, 103] Operation: 5+98=103 Exploring Operation: 65-5=60, Resulting Numbers: [98, 60] Generated Node #0,0,4: 98:[98, 60] Operation: 65-5=60 Moving to Node #0,0,0 Current State: 98:[98, 13], Operations: ['81-16=65', '65/5=13'] Exploring Operation: 98+13=111, Resulting Numbers: [111] 111,98 unequal: No Solution Exploring Operation: 98*13=1274, Resulting Numbers: [1274] 1274,98 unequal: No Solution Exploring Operation: 98-13=85, Resulting Numbers: [85] 85,98 unequal: No Solution Moving to Node #0,0,4 Current State: 98:[98, 60], Operations: ['81-16=65', '65-5=60'] Exploring Operation: 98+60=158, Resulting Numbers: [158] 158,98 unequal: No Solution Exploring Operation: 98*60=5880, Resulting Numbers: [5880] 5880,98 unequal: No Solution Exploring Operation: 98-60=38, Resulting Numbers: [38] 38,98 unequal: No Solution Moving to Node #0,0,2 Current State: 98:[5, 33], Operations: ['81-16=65', '98-65=33'] Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,98 unequal: No Solution Exploring Operation: 5*33=165, Resulting Numbers: [165] 165,98 unequal: No Solution Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[65, 93], Operations: ['81-16=65', '98-5=93'] Exploring Operation: 65*93=6045, Resulting Numbers: [6045] 6045,98 unequal: No Solution Exploring Operation: 65+93=158, Resulting Numbers: [158] 158,98 unequal: No Solution Exploring Operation: 93-65=28, Resulting Numbers: [28] 28,98 unequal: No Solution Moving to Node #0,0,3 Current State: 98:[65, 103], Operations: ['81-16=65', '5+98=103'] Exploring Operation: 103-65=38, Resulting Numbers: [38] 38,98 unequal: No Solution Exploring Operation: 65*103=6695, Resulting Numbers: [6695] 6695,98 unequal: No Solution Exploring Operation: 65+103=168, Resulting Numbers: [168] 168,98 unequal: No Solution No 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: 98:[98, 81, 11], Operations: ['16-5=11'] Exploring Operation: 81-11=70, Resulting Numbers: [98, 70] Generated Node #0,2,0: 98:[98, 70] Operation: 81-11=70 Exploring Operation: 98+11=109, Resulting Numbers: [81, 109] Generated Node #0,2,1: 98:[81, 109] Operation: 98+11=109 Exploring Operation: 98-11=87, Resulting Numbers: [81, 87] Generated Node #0,2,2: 98:[81, 87] Operation: 98-11=87 Exploring Operation: 81+11=92, Resulting Numbers: [98, 92] Generated Node #0,2,3: 98:[98, 92] Operation: 81+11=92 Exploring Operation: 98-81=17, Resulting Numbers: [11, 17] Generated Node #0,2,4: 98:[11, 17] Operation: 98-81=17 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 98:[98, 92], Operations: ['16-5=11', '81+11=92'] Exploring Operation: 98-92=6, Resulting Numbers: [6] 6,98 unequal: No Solution Exploring Operation: 98*92=9016, Resulting Numbers: [9016] 9016,98 unequal: No Solution Exploring Operation: 98+92=190, Resulting Numbers: [190] 190,98 unequal: No Solution No 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: 98:[11, 17], Operations: ['16-5=11', '98-81=17'] Exploring Operation: 11*17=187, Resulting Numbers: [187] 187,98 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,98 unequal: No Solution Exploring Operation: 11+17=28, Resulting Numbers: [28] 28,98 unequal: No Solution No 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: 98:[98, 70], Operations: ['16-5=11', '81-11=70'] Exploring Operation: 98+70=168, Resulting Numbers: [168] 168,98 unequal: No Solution Exploring Operation: 98*70=6860, Resulting Numbers: [6860] 6860,98 unequal: No Solution Exploring Operation: 98-70=28, Resulting Numbers: [28] 28,98 unequal: No Solution No 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: 98:[81, 109], Operations: ['16-5=11', '98+11=109'] Exploring Operation: 81*109=8829, Resulting Numbers: [8829] 8829,98 unequal: No Solution Exploring Operation: 81+109=190, Resulting Numbers: [190] 190,98 unequal: No Solution Exploring Operation: 109-81=28, Resulting Numbers: [28] 28,98 unequal: No Solution No 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: 98:[81, 87], Operations: ['16-5=11', '98-11=87'] Exploring Operation: 81+87=168, Resulting Numbers: [168] 168,98 unequal: No Solution Exploring Operation: 81*87=7047, Resulting Numbers: [7047] 7047,98 unequal: No Solution Exploring Operation: 87-81=6, Resulting Numbers: [6] 6,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 62, 1, 28, 45 ]
46
[ "62+1=63", "45-28=17", "63-17=46" ]
Current State: 46:[62, 1, 28, 45], Operations: [] Exploring Operation: 62+1=63, Resulting Numbers: [28, 45, 63] Generated Node #2: [28, 45, 63] from Operation: 62+1=63 Current State: 46:[28, 45, 63], Operations: ['62+1=63'] Exploring Operation: 45-28=17, Resulting Numbers: [63, 17] Generated Node #3: [63, 17] from Operation: 45-28=17 Current State: 46:[63, 17], Operations: ['62+1=63', '45-28=17'] Exploring Operation: 63-17=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[62, 1, 28, 45], Operations: [] Exploring Operation: 62-45=17, Resulting Numbers: [1, 28, 17] Generated Node #0,0: 46:[1, 28, 17] Operation: 62-45=17 Exploring Operation: 62-1=61, Resulting Numbers: [28, 45, 61] Generated Node #0,1: 46:[28, 45, 61] Operation: 62-1=61 Exploring Operation: 62-28=34, Resulting Numbers: [1, 45, 34] Generated Node #0,2: 46:[1, 45, 34] Operation: 62-28=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[1, 28, 17], Operations: ['62-45=17'] Exploring Operation: 28-1=27, Resulting Numbers: [17, 27] Generated Node #0,0,0: 46:[17, 27] Operation: 28-1=27 Exploring Operation: 28+17=45, Resulting Numbers: [1, 45] Generated Node #0,0,1: 46:[1, 45] Operation: 28+17=45 Exploring Operation: 1+17=18, Resulting Numbers: [28, 18] Generated Node #0,0,2: 46:[28, 18] Operation: 1+17=18 Moving to Node #0,0,1 Current State: 46:[1, 45], Operations: ['62-45=17', '28+17=45'] Exploring Operation: 1+45=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[62, 1, 28, 45], Operations: [] Exploring Operation: 62-45=17, Resulting Numbers: [1, 28, 17] Generated Node #0,0: 46:[1, 28, 17] Operation: 62-45=17 Moving to Node #0,0 Current State: 46:[1, 28, 17], Operations: ['62-45=17'] Exploring Operation: 28+17=45, Resulting Numbers: [1, 45] Generated Node #0,0,1: 46:[1, 45] Operation: 28+17=45 Moving to Node #0,0,1 Current State: 46:[1, 45], Operations: ['62-45=17', '28+17=45'] Exploring Operation: 1+45=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 83, 86, 86, 66 ]
60
[ "86-83=3", "86-66=20", "3*20=60" ]
Current State: 60:[83, 86, 86, 66], Operations: [] Exploring Operation: 86-83=3, Resulting Numbers: [66, 3] Generated Node #2: [66, 3] from Operation: 86-83=3 Current State: 60:[66, 3], Operations: ['86-83=3'] Exploring Operation: 86-66=20, Resulting Numbers: [3, 20] Generated Node #3: [3, 20] from Operation: 86-66=20 Current State: 60:[3, 20], Operations: ['86-83=3', '86-66=20'] Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[83, 86, 86, 66], Operations: [] Exploring Operation: 86/86=1, Resulting Numbers: [83, 66, 1] Generated Node #0,0: 60:[83, 66, 1] Operation: 86/86=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[83, 66, 1], Operations: ['86/86=1'] Exploring Operation: 83-66=17, Resulting Numbers: [1, 17] Generated Node #0,0,0: 60:[1, 17] Operation: 83-66=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[1, 17], Operations: ['86/86=1', '83-66=17'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,60 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
[ 68, 92, 39, 91 ]
29
[ "68-39=29", "92-91=1", "29*1=29" ]
Current State: 29:[68, 92, 39, 91], Operations: [] Exploring Operation: 68-39=29, Resulting Numbers: [92, 91, 29] Generated Node #2: [92, 91, 29] from Operation: 68-39=29 Current State: 29:[92, 91, 29], Operations: ['68-39=29'] Exploring Operation: 92-91=1, Resulting Numbers: [29, 1] Generated Node #3: [29, 1] from Operation: 92-91=1 Current State: 29:[29, 1], Operations: ['68-39=29', '92-91=1'] Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[68, 92, 39, 91], Operations: [] Exploring Operation: 92-91=1, Resulting Numbers: [68, 39, 1] Generated Node #0,0: 29:[68, 39, 1] Operation: 92-91=1 Exploring Operation: 68-39=29, Resulting Numbers: [92, 91, 29] Generated Node #0,1: 29:[92, 91, 29] Operation: 68-39=29 Exploring Operation: 92-39=53, Resulting Numbers: [68, 91, 53] Generated Node #0,2: 29:[68, 91, 53] Operation: 92-39=53 Exploring Operation: 92-68=24, Resulting Numbers: [39, 91, 24] Generated Node #0,3: 29:[39, 91, 24] Operation: 92-68=24 Exploring Operation: 91-68=23, Resulting Numbers: [92, 39, 23] Generated Node #0,4: 29:[92, 39, 23] Operation: 91-68=23 Moving to Node #0,0 Current State: 29:[68, 39, 1], Operations: ['92-91=1'] Exploring Operation: 68/1=68, Resulting Numbers: [39, 68] Generated Node #0,0,0: 29:[39, 68] Operation: 68/1=68 Exploring Operation: 68-39=29, Resulting Numbers: [1, 29] Generated Node #0,0,1: 29:[1, 29] Operation: 68-39=29 Exploring Operation: 68*1=68, Resulting Numbers: [39, 68] Generated Node #0,0,2: 29:[39, 68] Operation: 68*1=68 Exploring Operation: 68-1=67, Resulting Numbers: [39, 67] Generated Node #0,0,3: 29:[39, 67] Operation: 68-1=67 Exploring Operation: 39-1=38, Resulting Numbers: [68, 38] Generated Node #0,0,4: 29:[68, 38] Operation: 39-1=38 Moving to Node #0,3 Current State: 29:[39, 91, 24], Operations: ['92-68=24'] Exploring Operation: 91-39=52, Resulting Numbers: [24, 52] Generated Node #0,3,0: 29:[24, 52] Operation: 91-39=52 Exploring Operation: 39+24=63, Resulting Numbers: [91, 63] Generated Node #0,3,1: 29:[91, 63] Operation: 39+24=63 Exploring Operation: 91+24=115, Resulting Numbers: [39, 115] Generated Node #0,3,2: 29:[39, 115] Operation: 91+24=115 Exploring Operation: 91-24=67, Resulting Numbers: [39, 67] Generated Node #0,3,3: 29:[39, 67] Operation: 91-24=67 Exploring Operation: 39-24=15, Resulting Numbers: [91, 15] Generated Node #0,3,4: 29:[91, 15] Operation: 39-24=15 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 29:[24, 52], Operations: ['92-68=24', '91-39=52'] Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 24*52=1248, Resulting Numbers: [1248] 1248,29 unequal: No Solution Exploring Operation: 24+52=76, Resulting Numbers: [76] 76,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 29:[39, 67], Operations: ['92-68=24', '91-24=67'] Exploring Operation: 39+67=106, Resulting Numbers: [106] 106,29 unequal: No Solution Exploring Operation: 39*67=2613, Resulting Numbers: [2613] 2613,29 unequal: No Solution Exploring Operation: 67-39=28, Resulting Numbers: [28] 28,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 29:[91, 15], Operations: ['92-68=24', '39-24=15'] Exploring Operation: 91*15=1365, Resulting Numbers: [1365] 1365,29 unequal: No Solution Exploring Operation: 91-15=76, Resulting Numbers: [76] 76,29 unequal: No Solution Exploring Operation: 91+15=106, Resulting Numbers: [106] 106,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 29:[91, 63], Operations: ['92-68=24', '39+24=63'] Exploring Operation: 91+63=154, Resulting Numbers: [154] 154,29 unequal: No Solution Exploring Operation: 91-63=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 91*63=5733, Resulting Numbers: [5733] 5733,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 29:[39, 115], Operations: ['92-68=24', '91+24=115'] Exploring Operation: 115-39=76, Resulting Numbers: [76] 76,29 unequal: No Solution Exploring Operation: 39+115=154, Resulting Numbers: [154] 154,29 unequal: No Solution Exploring Operation: 39*115=4485, Resulting Numbers: [4485] 4485,29 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: 29:[92, 39, 23], Operations: ['91-68=23'] Exploring Operation: 92/23=4, Resulting Numbers: [39, 4] Generated Node #0,4,0: 29:[39, 4] Operation: 92/23=4 Exploring Operation: 92-23=69, Resulting Numbers: [39, 69] Generated Node #0,4,1: 29:[39, 69] Operation: 92-23=69 Exploring Operation: 92-39=53, Resulting Numbers: [23, 53] Generated Node #0,4,2: 29:[23, 53] Operation: 92-39=53 Exploring Operation: 92+23=115, Resulting Numbers: [39, 115] Generated Node #0,4,3: 29:[39, 115] Operation: 92+23=115 Exploring Operation: 39-23=16, Resulting Numbers: [92, 16] Generated Node #0,4,4: 29:[92, 16] Operation: 39-23=16 Moving to Node #0,1 Current State: 29:[92, 91, 29], Operations: ['68-39=29'] Exploring Operation: 92-91=1, Resulting Numbers: [29, 1] Generated Node #0,1,0: 29:[29, 1] Operation: 92-91=1 Exploring Operation: 92-29=63, Resulting Numbers: [91, 63] Generated Node #0,1,1: 29:[91, 63] Operation: 92-29=63 Exploring Operation: 92+29=121, Resulting Numbers: [91, 121] Generated Node #0,1,2: 29:[91, 121] Operation: 92+29=121 Exploring Operation: 91-29=62, Resulting Numbers: [92, 62] Generated Node #0,1,3: 29:[92, 62] Operation: 91-29=62 Exploring Operation: 92+91=183, Resulting Numbers: [29, 183] Generated Node #0,1,4: 29:[29, 183] Operation: 92+91=183 Moving to Node #0,2 Current State: 29:[68, 91, 53], Operations: ['92-39=53'] Exploring Operation: 68-53=15, Resulting Numbers: [91, 15] Generated Node #0,2,0: 29:[91, 15] Operation: 68-53=15 Exploring Operation: 91-68=23, Resulting Numbers: [53, 23] Generated Node #0,2,1: 29:[53, 23] Operation: 91-68=23 Exploring Operation: 68+53=121, Resulting Numbers: [91, 121] Generated Node #0,2,2: 29:[91, 121] Operation: 68+53=121 Exploring Operation: 68+91=159, Resulting Numbers: [53, 159] Generated Node #0,2,3: 29:[53, 159] Operation: 68+91=159 Exploring Operation: 91-53=38, Resulting Numbers: [68, 38] Generated Node #0,2,4: 29:[68, 38] Operation: 91-53=38 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 29:[53, 23], Operations: ['92-39=53', '91-68=23'] Exploring Operation: 53-23=30, Resulting Numbers: [30] 30,29 unequal: No Solution Exploring Operation: 53*23=1219, Resulting Numbers: [1219] 1219,29 unequal: No Solution Exploring Operation: 53+23=76, Resulting Numbers: [76] 76,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,4 Current State: 29:[68, 38], Operations: ['92-39=53', '91-53=38'] Exploring Operation: 68*38=2584, Resulting Numbers: [2584] 2584,29 unequal: No Solution Exploring Operation: 68-38=30, Resulting Numbers: [30] 30,29 unequal: No Solution Exploring Operation: 68+38=106, Resulting Numbers: [106] 106,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,0 Current State: 29:[91, 15], Operations: ['92-39=53', '68-53=15'] Exploring Operation: 91*15=1365, Resulting Numbers: [1365] 1365,29 unequal: No Solution Exploring Operation: 91-15=76, Resulting Numbers: [76] 76,29 unequal: No Solution Exploring Operation: 91+15=106, Resulting Numbers: [106] 106,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,2 Current State: 29:[91, 121], Operations: ['92-39=53', '68+53=121'] Exploring Operation: 121-91=30, Resulting Numbers: [30] 30,29 unequal: No Solution Exploring Operation: 91*121=11011, Resulting Numbers: [11011] 11011,29 unequal: No Solution Exploring Operation: 91+121=212, Resulting Numbers: [212] 212,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,3 Current State: 29:[53, 159], Operations: ['92-39=53', '68+91=159'] Exploring Operation: 159/53=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 53*159=8427, Resulting Numbers: [8427] 8427,29 unequal: No Solution Exploring Operation: 159-53=106, Resulting Numbers: [106] 106,29 unequal: No Solution Exploring Operation: 53+159=212, Resulting Numbers: [212] 212,29 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: 29:[1, 29], Operations: ['92-91=1', '68-39=29'] Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[68, 92, 39, 91], Operations: [] Exploring Operation: 92-91=1, Resulting Numbers: [68, 39, 1] Generated Node #0,0: 29:[68, 39, 1] Operation: 92-91=1 Moving to Node #0,0 Current State: 29:[68, 39, 1], Operations: ['92-91=1'] Exploring Operation: 68-39=29, Resulting Numbers: [1, 29] Generated Node #0,0,1: 29:[1, 29] Operation: 68-39=29 Moving to Node #0,0,1 Current State: 29:[1, 29], Operations: ['92-91=1', '68-39=29'] Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
0.942708
hs_5
sum_heuristic
[ 56, 64, 16, 51 ]
75
[ "64-56=8", "16+51=67", "8+67=75" ]
Current State: 75:[56, 64, 16, 51], Operations: [] Exploring Operation: 64-56=8, Resulting Numbers: [16, 51, 8] Generated Node #2: [16, 51, 8] from Operation: 64-56=8 Current State: 75:[16, 51, 8], Operations: ['64-56=8'] Exploring Operation: 16+51=67, Resulting Numbers: [8, 67] Generated Node #3: [8, 67] from Operation: 16+51=67 Current State: 75:[8, 67], Operations: ['64-56=8', '16+51=67'] Exploring Operation: 8+67=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[56, 64, 16, 51], Operations: [] Exploring Operation: 56-51=5, Resulting Numbers: [64, 16, 5] Generated Node #0,0: 75:[64, 16, 5] Operation: 56-51=5 Exploring Operation: 64-51=13, Resulting Numbers: [56, 16, 13] Generated Node #0,1: 75:[56, 16, 13] Operation: 64-51=13 Exploring Operation: 64-56=8, Resulting Numbers: [16, 51, 8] Generated Node #0,2: 75:[16, 51, 8] Operation: 64-56=8 Exploring Operation: 56+16=72, Resulting Numbers: [64, 51, 72] Generated Node #0,3: 75:[64, 51, 72] Operation: 56+16=72 Exploring Operation: 16+51=67, Resulting Numbers: [56, 64, 67] Generated Node #0,4: 75:[56, 64, 67] Operation: 16+51=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[64, 16, 5], Operations: ['56-51=5'] Exploring Operation: 64/16=4, Resulting Numbers: [5, 4] Generated Node #0,0,0: 75:[5, 4] Operation: 64/16=4 Exploring Operation: 64+5=69, Resulting Numbers: [16, 69] Generated Node #0,0,1: 75:[16, 69] Operation: 64+5=69 Exploring Operation: 16+5=21, Resulting Numbers: [64, 21] Generated Node #0,0,2: 75:[64, 21] Operation: 16+5=21 Exploring Operation: 16-5=11, Resulting Numbers: [64, 11] Generated Node #0,0,3: 75:[64, 11] Operation: 16-5=11 Exploring Operation: 64+16=80, Resulting Numbers: [5, 80] Generated Node #0,0,4: 75:[5, 80] Operation: 64+16=80 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[5, 4], Operations: ['56-51=5', '64/16=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,75 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,75 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,75 unequal: No Solution No 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, 80], Operations: ['56-51=5', '64+16=80'] Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[56, 64, 16, 51], Operations: [] Exploring Operation: 56-51=5, Resulting Numbers: [64, 16, 5] Generated Node #0,0: 75:[64, 16, 5] Operation: 56-51=5 Moving to Node #0,0 Current State: 75:[64, 16, 5], Operations: ['56-51=5'] Exploring Operation: 64+16=80, Resulting Numbers: [5, 80] Generated Node #0,0,4: 75:[5, 80] Operation: 64+16=80 Moving to Node #0,0,4 Current State: 75:[5, 80], Operations: ['56-51=5', '64+16=80'] Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 18, 57, 95, 90 ]
76
[ "18*95=1710", "1710/90=19", "57+19=76" ]
Current State: 76:[18, 57, 95, 90], Operations: [] Exploring Operation: 18*95=1710, Resulting Numbers: [57, 90, 1710] Generated Node #2: [57, 90, 1710] from Operation: 18*95=1710 Current State: 76:[57, 90, 1710], Operations: ['18*95=1710'] Exploring Operation: 1710/90=19, Resulting Numbers: [57, 19] Generated Node #3: [57, 19] from Operation: 1710/90=19 Current State: 76:[57, 19], Operations: ['18*95=1710', '1710/90=19'] Exploring Operation: 57+19=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[18, 57, 95, 90], Operations: [] Exploring Operation: 95-57=38, Resulting Numbers: [18, 90, 38] Generated Node #0,0: 76:[18, 90, 38] Operation: 95-57=38 Exploring Operation: 57-18=39, Resulting Numbers: [95, 90, 39] Generated Node #0,1: 76:[95, 90, 39] Operation: 57-18=39 Exploring Operation: 18+57=75, Resulting Numbers: [95, 90, 75] Generated Node #0,2: 76:[95, 90, 75] Operation: 18+57=75 Exploring Operation: 90-57=33, Resulting Numbers: [18, 95, 33] Generated Node #0,3: 76:[18, 95, 33] Operation: 90-57=33 Exploring Operation: 95-90=5, Resulting Numbers: [18, 57, 5] Generated Node #0,4: 76:[18, 57, 5] Operation: 95-90=5 Moving to Node #0,0 Current State: 76:[18, 90, 38], Operations: ['95-57=38'] Exploring Operation: 38-18=20, Resulting Numbers: [90, 20] Generated Node #0,0,0: 76:[90, 20] Operation: 38-18=20 Exploring Operation: 18+90=108, Resulting Numbers: [38, 108] Generated Node #0,0,1: 76:[38, 108] Operation: 18+90=108 Exploring Operation: 90-38=52, Resulting Numbers: [18, 52] Generated Node #0,0,2: 76:[18, 52] Operation: 90-38=52 Exploring Operation: 90-18=72, Resulting Numbers: [38, 72] Generated Node #0,0,3: 76:[38, 72] Operation: 90-18=72 Exploring Operation: 90/18=5, Resulting Numbers: [38, 5] Generated Node #0,0,4: 76:[38, 5] Operation: 90/18=5 Moving to Node #0,4 Current State: 76:[18, 57, 5], Operations: ['95-90=5'] Exploring Operation: 18+5=23, Resulting Numbers: [57, 23] Generated Node #0,4,0: 76:[57, 23] Operation: 18+5=23 Exploring Operation: 57+5=62, Resulting Numbers: [18, 62] Generated Node #0,4,1: 76:[18, 62] Operation: 57+5=62 Exploring Operation: 18+57=75, Resulting Numbers: [5, 75] Generated Node #0,4,2: 76:[5, 75] Operation: 18+57=75 Exploring Operation: 57-5=52, Resulting Numbers: [18, 52] Generated Node #0,4,3: 76:[18, 52] Operation: 57-5=52 Exploring Operation: 57-18=39, Resulting Numbers: [5, 39] Generated Node #0,4,4: 76:[5, 39] Operation: 57-18=39 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 76:[5, 75], Operations: ['95-90=5', '18+57=75'] Exploring Operation: 5+75=80, Resulting Numbers: [80] 80,76 unequal: No Solution Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,76 unequal: No Solution Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 5*75=375, Resulting Numbers: [375] 375,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 76:[5, 39], Operations: ['95-90=5', '57-18=39'] Exploring Operation: 5+39=44, Resulting Numbers: [44] 44,76 unequal: No Solution Exploring Operation: 5*39=195, Resulting Numbers: [195] 195,76 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 76:[18, 62], Operations: ['95-90=5', '57+5=62'] Exploring Operation: 18+62=80, Resulting Numbers: [80] 80,76 unequal: No Solution Exploring Operation: 62-18=44, Resulting Numbers: [44] 44,76 unequal: No Solution Exploring Operation: 18*62=1116, Resulting Numbers: [1116] 1116,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 76:[18, 52], Operations: ['95-90=5', '57-5=52'] Exploring Operation: 18+52=70, Resulting Numbers: [70] 70,76 unequal: No Solution Exploring Operation: 18*52=936, Resulting Numbers: [936] 936,76 unequal: No Solution Exploring Operation: 52-18=34, Resulting Numbers: [34] 34,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 76:[57, 23], Operations: ['95-90=5', '18+5=23'] Exploring Operation: 57+23=80, Resulting Numbers: [80] 80,76 unequal: No Solution Exploring Operation: 57*23=1311, Resulting Numbers: [1311] 1311,76 unequal: No Solution Exploring Operation: 57-23=34, Resulting Numbers: [34] 34,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 76:[18, 95, 33], Operations: ['90-57=33'] Exploring Operation: 18+33=51, Resulting Numbers: [95, 51] Generated Node #0,3,0: 76:[95, 51] Operation: 18+33=51 Exploring Operation: 95-18=77, Resulting Numbers: [33, 77] Generated Node #0,3,1: 76:[33, 77] Operation: 95-18=77 Exploring Operation: 95-33=62, Resulting Numbers: [18, 62] Generated Node #0,3,2: 76:[18, 62] Operation: 95-33=62 Exploring Operation: 18+95=113, Resulting Numbers: [33, 113] Generated Node #0,3,3: 76:[33, 113] Operation: 18+95=113 Exploring Operation: 33-18=15, Resulting Numbers: [95, 15] Generated Node #0,3,4: 76:[95, 15] Operation: 33-18=15 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 76:[33, 77], Operations: ['90-57=33', '95-18=77'] Exploring Operation: 33+77=110, Resulting Numbers: [110] 110,76 unequal: No Solution Exploring Operation: 33*77=2541, Resulting Numbers: [2541] 2541,76 unequal: No Solution Exploring Operation: 77-33=44, Resulting Numbers: [44] 44,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,3,2 Current State: 76:[18, 62], Operations: ['90-57=33', '95-33=62'] Exploring Operation: 18+62=80, Resulting Numbers: [80] 80,76 unequal: No Solution Exploring Operation: 62-18=44, Resulting Numbers: [44] 44,76 unequal: No Solution Exploring Operation: 18*62=1116, Resulting Numbers: [1116] 1116,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,3,4 Current State: 76:[95, 15], Operations: ['90-57=33', '33-18=15'] Exploring Operation: 95+15=110, Resulting Numbers: [110] 110,76 unequal: No Solution Exploring Operation: 95*15=1425, Resulting Numbers: [1425] 1425,76 unequal: No Solution Exploring Operation: 95-15=80, Resulting Numbers: [80] 80,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,3,0 Current State: 76:[95, 51], Operations: ['90-57=33', '18+33=51'] Exploring Operation: 95*51=4845, Resulting Numbers: [4845] 4845,76 unequal: No Solution Exploring Operation: 95-51=44, Resulting Numbers: [44] 44,76 unequal: No Solution Exploring Operation: 95+51=146, Resulting Numbers: [146] 146,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,3,3 Current State: 76:[33, 113], Operations: ['90-57=33', '18+95=113'] Exploring Operation: 33+113=146, Resulting Numbers: [146] 146,76 unequal: No Solution Exploring Operation: 33*113=3729, Resulting Numbers: [3729] 3729,76 unequal: No Solution Exploring Operation: 113-33=80, Resulting Numbers: [80] 80,76 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: 76:[95, 90, 39], Operations: ['57-18=39'] Exploring Operation: 95-39=56, Resulting Numbers: [90, 56] Generated Node #0,1,0: 76:[90, 56] Operation: 95-39=56 Exploring Operation: 95-90=5, Resulting Numbers: [39, 5] Generated Node #0,1,1: 76:[39, 5] Operation: 95-90=5 Exploring Operation: 95+39=134, Resulting Numbers: [90, 134] Generated Node #0,1,2: 76:[90, 134] Operation: 95+39=134 Exploring Operation: 90+39=129, Resulting Numbers: [95, 129] Generated Node #0,1,3: 76:[95, 129] Operation: 90+39=129 Exploring Operation: 90-39=51, Resulting Numbers: [95, 51] Generated Node #0,1,4: 76:[95, 51] Operation: 90-39=51 Moving to Node #0,2 Current State: 76:[95, 90, 75], Operations: ['18+57=75'] Exploring Operation: 95+75=170, Resulting Numbers: [90, 170] Generated Node #0,2,0: 76:[90, 170] Operation: 95+75=170 Exploring Operation: 95-75=20, Resulting Numbers: [90, 20] Generated Node #0,2,1: 76:[90, 20] Operation: 95-75=20 Exploring Operation: 90-75=15, Resulting Numbers: [95, 15] Generated Node #0,2,2: 76:[95, 15] Operation: 90-75=15 Exploring Operation: 95-90=5, Resulting Numbers: [75, 5] Generated Node #0,2,3: 76:[75, 5] Operation: 95-90=5 Exploring Operation: 90+75=165, Resulting Numbers: [95, 165] Generated Node #0,2,4: 76:[95, 165] Operation: 90+75=165 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 76:[75, 5], Operations: ['18+57=75', '95-90=5'] Exploring Operation: 75*5=375, Resulting Numbers: [375] 375,76 unequal: No Solution Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,76 unequal: No Solution Exploring Operation: 75+5=80, Resulting Numbers: [80] 80,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 76:[90, 20], Operations: ['18+57=75', '95-75=20'] Exploring Operation: 90*20=1800, Resulting Numbers: [1800] 1800,76 unequal: No Solution Exploring Operation: 90-20=70, Resulting Numbers: [70] 70,76 unequal: No Solution Exploring Operation: 90+20=110, Resulting Numbers: [110] 110,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 76:[95, 15], Operations: ['18+57=75', '90-75=15'] Exploring Operation: 95*15=1425, Resulting Numbers: [1425] 1425,76 unequal: No Solution Exploring Operation: 95-15=80, Resulting Numbers: [80] 80,76 unequal: No Solution Exploring Operation: 95+15=110, Resulting Numbers: [110] 110,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 76:[90, 170], Operations: ['18+57=75', '95+75=170'] Exploring Operation: 90*170=15300, Resulting Numbers: [15300] 15300,76 unequal: No Solution Exploring Operation: 170-90=80, Resulting Numbers: [80] 80,76 unequal: No Solution Exploring Operation: 90+170=260, Resulting Numbers: [260] 260,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 76:[95, 165], Operations: ['18+57=75', '90+75=165'] Exploring Operation: 165-95=70, Resulting Numbers: [70] 70,76 unequal: No Solution Exploring Operation: 95+165=260, Resulting Numbers: [260] 260,76 unequal: No Solution Exploring Operation: 95*165=15675, Resulting Numbers: [15675] 15675,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,4 Current State: 76:[38, 5], Operations: ['95-57=38', '90/18=5'] Exploring Operation: 38*5=190, Resulting Numbers: [190] 190,76 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 38+5=43, Resulting Numbers: [43] 43,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[39, 5], Operations: ['57-18=39', '95-90=5'] Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,76 unequal: No Solution Exploring Operation: 39*5=195, Resulting Numbers: [195] 195,76 unequal: No Solution Exploring Operation: 39+5=44, Resulting Numbers: [44] 44,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[38, 72], Operations: ['95-57=38', '90-18=72'] Exploring Operation: 38+72=110, Resulting Numbers: [110] 110,76 unequal: No Solution Exploring Operation: 72-38=34, Resulting Numbers: [34] 34,76 unequal: No Solution Exploring Operation: 38*72=2736, Resulting Numbers: [2736] 2736,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[90, 20], Operations: ['95-57=38', '38-18=20'] Exploring Operation: 90-20=70, Resulting Numbers: [70] 70,76 unequal: No Solution Exploring Operation: 90+20=110, Resulting Numbers: [110] 110,76 unequal: No Solution Exploring Operation: 90*20=1800, Resulting Numbers: [1800] 1800,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[18, 52], Operations: ['95-57=38', '90-38=52'] Exploring Operation: 52-18=34, Resulting Numbers: [34] 34,76 unequal: No Solution Exploring Operation: 18*52=936, Resulting Numbers: [936] 936,76 unequal: No Solution Exploring Operation: 18+52=70, Resulting Numbers: [70] 70,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[90, 56], Operations: ['57-18=39', '95-39=56'] Exploring Operation: 90-56=34, Resulting Numbers: [34] 34,76 unequal: No Solution Exploring Operation: 90*56=5040, Resulting Numbers: [5040] 5040,76 unequal: No Solution Exploring Operation: 90+56=146, Resulting Numbers: [146] 146,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[38, 108], Operations: ['95-57=38', '18+90=108'] Exploring Operation: 38*108=4104, Resulting Numbers: [4104] 4104,76 unequal: No Solution Exploring Operation: 38+108=146, Resulting Numbers: [146] 146,76 unequal: No Solution Exploring Operation: 108-38=70, Resulting Numbers: [70] 70,76 unequal: No Solution Moving to Node #0,1,4 Current State: 76:[95, 51], Operations: ['57-18=39', '90-39=51'] Exploring Operation: 95+51=146, Resulting Numbers: [146] 146,76 unequal: No Solution Exploring Operation: 95*51=4845, Resulting Numbers: [4845] 4845,76 unequal: No Solution Exploring Operation: 95-51=44, Resulting Numbers: [44] 44,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[90, 134], Operations: ['57-18=39', '95+39=134'] Exploring Operation: 90*134=12060, Resulting Numbers: [12060] 12060,76 unequal: No Solution Exploring Operation: 90+134=224, Resulting Numbers: [224] 224,76 unequal: No Solution Exploring Operation: 134-90=44, Resulting Numbers: [44] 44,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[95, 129], Operations: ['57-18=39', '90+39=129'] Exploring Operation: 129-95=34, Resulting Numbers: [34] 34,76 unequal: No Solution Exploring Operation: 95*129=12255, Resulting Numbers: [12255] 12255,76 unequal: No Solution Exploring Operation: 95+129=224, Resulting Numbers: [224] 224,76 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 55, 92, 25, 29 ]
91
[ "92-55=37", "25+29=54", "37+54=91" ]
Current State: 91:[55, 92, 25, 29], Operations: [] Exploring Operation: 92-55=37, Resulting Numbers: [25, 29, 37] Generated Node #2: [25, 29, 37] from Operation: 92-55=37 Current State: 91:[25, 29, 37], Operations: ['92-55=37'] Exploring Operation: 25+29=54, Resulting Numbers: [37, 54] Generated Node #3: [37, 54] from Operation: 25+29=54 Current State: 91:[37, 54], Operations: ['92-55=37', '25+29=54'] Exploring Operation: 37+54=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[55, 92, 25, 29], Operations: [] Exploring Operation: 55+29=84, Resulting Numbers: [92, 25, 84] Generated Node #0,0: 91:[92, 25, 84] Operation: 55+29=84 Exploring Operation: 55-29=26, Resulting Numbers: [92, 25, 26] Generated Node #0,1: 91:[92, 25, 26] Operation: 55-29=26 Exploring Operation: 55+25=80, Resulting Numbers: [92, 29, 80] Generated Node #0,2: 91:[92, 29, 80] Operation: 55+25=80 Moving to Node #0,0 Current State: 91:[92, 25, 84], Operations: ['55+29=84'] Exploring Operation: 25+84=109, Resulting Numbers: [92, 109] Generated Node #0,0,0: 91:[92, 109] Operation: 25+84=109 Exploring Operation: 92-84=8, Resulting Numbers: [25, 8] Generated Node #0,0,1: 91:[25, 8] Operation: 92-84=8 Exploring Operation: 92-25=67, Resulting Numbers: [84, 67] Generated Node #0,0,2: 91:[84, 67] Operation: 92-25=67 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 91:[25, 8], Operations: ['55+29=84', '92-84=8'] Exploring Operation: 25+8=33, Resulting Numbers: [33] 33,91 unequal: No Solution Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,91 unequal: No Solution Exploring Operation: 25*8=200, Resulting Numbers: [200] 200,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[92, 109], Operations: ['55+29=84', '25+84=109'] Exploring Operation: 109-92=17, Resulting Numbers: [17] 17,91 unequal: No Solution Exploring Operation: 92+109=201, Resulting Numbers: [201] 201,91 unequal: No Solution Exploring Operation: 92*109=10028, Resulting Numbers: [10028] 10028,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 91:[84, 67], Operations: ['55+29=84', '92-25=67'] Exploring Operation: 84+67=151, Resulting Numbers: [151] 151,91 unequal: No Solution Exploring Operation: 84*67=5628, Resulting Numbers: [5628] 5628,91 unequal: No Solution Exploring Operation: 84-67=17, Resulting Numbers: [17] 17,91 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: 91:[92, 25, 26], Operations: ['55-29=26'] Exploring Operation: 26-25=1, Resulting Numbers: [92, 1] Generated Node #0,1,0: 91:[92, 1] Operation: 26-25=1 Exploring Operation: 92-25=67, Resulting Numbers: [26, 67] Generated Node #0,1,1: 91:[26, 67] Operation: 92-25=67 Exploring Operation: 92-26=66, Resulting Numbers: [25, 66] Generated Node #0,1,2: 91:[25, 66] Operation: 92-26=66 Moving to Node #0,2 Current State: 91:[92, 29, 80], Operations: ['55+25=80'] Exploring Operation: 92-80=12, Resulting Numbers: [29, 12] Generated Node #0,2,0: 91:[29, 12] Operation: 92-80=12 Exploring Operation: 92-29=63, Resulting Numbers: [80, 63] Generated Node #0,2,1: 91:[80, 63] Operation: 92-29=63 Exploring Operation: 29+80=109, Resulting Numbers: [92, 109] Generated Node #0,2,2: 91:[92, 109] Operation: 29+80=109 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 91:[29, 12], Operations: ['55+25=80', '92-80=12'] Exploring Operation: 29*12=348, Resulting Numbers: [348] 348,91 unequal: No Solution Exploring Operation: 29+12=41, Resulting Numbers: [41] 41,91 unequal: No Solution Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 91:[92, 109], Operations: ['55+25=80', '29+80=109'] Exploring Operation: 109-92=17, Resulting Numbers: [17] 17,91 unequal: No Solution Exploring Operation: 92*109=10028, Resulting Numbers: [10028] 10028,91 unequal: No Solution Exploring Operation: 92+109=201, Resulting Numbers: [201] 201,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 91:[80, 63], Operations: ['55+25=80', '92-29=63'] Exploring Operation: 80-63=17, Resulting Numbers: [17] 17,91 unequal: No Solution Exploring Operation: 80*63=5040, Resulting Numbers: [5040] 5040,91 unequal: No Solution Exploring Operation: 80+63=143, Resulting Numbers: [143] 143,91 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: 91:[92, 1], Operations: ['55-29=26', '26-25=1'] Exploring Operation: 92-1=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[55, 92, 25, 29], Operations: [] Exploring Operation: 55-29=26, Resulting Numbers: [92, 25, 26] Generated Node #0,1: 91:[92, 25, 26] Operation: 55-29=26 Moving to Node #0,1 Current State: 91:[92, 25, 26], Operations: ['55-29=26'] Exploring Operation: 26-25=1, Resulting Numbers: [92, 1] Generated Node #0,1,0: 91:[92, 1] Operation: 26-25=1 Moving to Node #0,1,0 Current State: 91:[92, 1], Operations: ['55-29=26', '26-25=1'] Exploring Operation: 92-1=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
0.969618
hs_3
mult_heuristic
[ 84, 64, 63, 44 ]
82
[ "84*63=5292", "5292-44=5248", "5248/64=82" ]
Current State: 82:[84, 64, 63, 44], Operations: [] Exploring Operation: 84*63=5292, Resulting Numbers: [64, 44, 5292] Generated Node #2: [64, 44, 5292] from Operation: 84*63=5292 Current State: 82:[64, 44, 5292], Operations: ['84*63=5292'] Exploring Operation: 5292-44=5248, Resulting Numbers: [64, 5248] Generated Node #3: [64, 5248] from Operation: 5292-44=5248 Current State: 82:[64, 5248], Operations: ['84*63=5292', '5292-44=5248'] Exploring Operation: 5248/64=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[84, 64, 63, 44], Operations: [] Exploring Operation: 84-44=40, Resulting Numbers: [64, 63, 40] Generated Node #0,0: 82:[64, 63, 40] Operation: 84-44=40 Exploring Operation: 63-44=19, Resulting Numbers: [84, 64, 19] Generated Node #0,1: 82:[84, 64, 19] Operation: 63-44=19 Exploring Operation: 64-44=20, Resulting Numbers: [84, 63, 20] Generated Node #0,2: 82:[84, 63, 20] Operation: 64-44=20 Exploring Operation: 84-64=20, Resulting Numbers: [63, 44, 20] Generated Node #0,3: 82:[63, 44, 20] Operation: 84-64=20 Exploring Operation: 64-63=1, Resulting Numbers: [84, 44, 1] Generated Node #0,4: 82:[84, 44, 1] Operation: 64-63=1 Moving to Node #0,4 Current State: 82:[84, 44, 1], Operations: ['64-63=1'] Exploring Operation: 84*1=84, Resulting Numbers: [44, 84] Generated Node #0,4,0: 82:[44, 84] Operation: 84*1=84 Exploring Operation: 84/1=84, Resulting Numbers: [44, 84] Generated Node #0,4,1: 82:[44, 84] Operation: 84/1=84 Exploring Operation: 84-44=40, Resulting Numbers: [1, 40] Generated Node #0,4,2: 82:[1, 40] Operation: 84-44=40 Exploring Operation: 44-1=43, Resulting Numbers: [84, 43] Generated Node #0,4,3: 82:[84, 43] Operation: 44-1=43 Exploring Operation: 84-1=83, Resulting Numbers: [44, 83] Generated Node #0,4,4: 82:[44, 83] Operation: 84-1=83 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 82:[1, 40], Operations: ['64-63=1', '84-44=40'] Exploring Operation: 40/1=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 1+40=41, Resulting Numbers: [41] 41,82 unequal: No Solution Exploring Operation: 1*40=40, Resulting Numbers: [40] 40,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 82:[84, 43], Operations: ['64-63=1', '44-1=43'] Exploring Operation: 84-43=41, Resulting Numbers: [41] 41,82 unequal: No Solution Exploring Operation: 84*43=3612, Resulting Numbers: [3612] 3612,82 unequal: No Solution Exploring Operation: 84+43=127, Resulting Numbers: [127] 127,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 82:[44, 83], Operations: ['64-63=1', '84-1=83'] Exploring Operation: 44*83=3652, Resulting Numbers: [3652] 3652,82 unequal: No Solution Exploring Operation: 44+83=127, Resulting Numbers: [127] 127,82 unequal: No Solution Exploring Operation: 83-44=39, Resulting Numbers: [39] 39,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 82:[44, 84], Operations: ['64-63=1', '84*1=84'] Exploring Operation: 44*84=3696, Resulting Numbers: [3696] 3696,82 unequal: No Solution Exploring Operation: 84-44=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 44+84=128, Resulting Numbers: [128] 128,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 82:[44, 84], Operations: ['64-63=1', '84/1=84'] Exploring Operation: 44*84=3696, Resulting Numbers: [3696] 3696,82 unequal: No Solution Exploring Operation: 84-44=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 44+84=128, Resulting Numbers: [128] 128,82 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: 82:[84, 64, 19], Operations: ['63-44=19'] Exploring Operation: 84-64=20, Resulting Numbers: [19, 20] Generated Node #0,1,0: 82:[19, 20] Operation: 84-64=20 Exploring Operation: 84-19=65, Resulting Numbers: [64, 65] Generated Node #0,1,1: 82:[64, 65] Operation: 84-19=65 Exploring Operation: 84+19=103, Resulting Numbers: [64, 103] Generated Node #0,1,2: 82:[64, 103] Operation: 84+19=103 Exploring Operation: 64+19=83, Resulting Numbers: [84, 83] Generated Node #0,1,3: 82:[84, 83] Operation: 64+19=83 Exploring Operation: 64-19=45, Resulting Numbers: [84, 45] Generated Node #0,1,4: 82:[84, 45] Operation: 64-19=45 Moving to Node #0,0 Current State: 82:[64, 63, 40], Operations: ['84-44=40'] Exploring Operation: 64-40=24, Resulting Numbers: [63, 24] Generated Node #0,0,0: 82:[63, 24] Operation: 64-40=24 Exploring Operation: 64-63=1, Resulting Numbers: [40, 1] Generated Node #0,0,1: 82:[40, 1] Operation: 64-63=1 Exploring Operation: 63-40=23, Resulting Numbers: [64, 23] Generated Node #0,0,2: 82:[64, 23] Operation: 63-40=23 Exploring Operation: 63+40=103, Resulting Numbers: [64, 103] Generated Node #0,0,3: 82:[64, 103] Operation: 63+40=103 Exploring Operation: 64+40=104, Resulting Numbers: [63, 104] Generated Node #0,0,4: 82:[63, 104] Operation: 64+40=104 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 82:[40, 1], Operations: ['84-44=40', '64-63=1'] Exploring Operation: 40/1=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 40+1=41, Resulting Numbers: [41] 41,82 unequal: No Solution Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[63, 24], Operations: ['84-44=40', '64-40=24'] Exploring Operation: 63-24=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 63+24=87, Resulting Numbers: [87] 87,82 unequal: No Solution Exploring Operation: 63*24=1512, Resulting Numbers: [1512] 1512,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 82:[64, 23], Operations: ['84-44=40', '63-40=23'] Exploring Operation: 64*23=1472, Resulting Numbers: [1472] 1472,82 unequal: No Solution Exploring Operation: 64+23=87, Resulting Numbers: [87] 87,82 unequal: No Solution Exploring Operation: 64-23=41, Resulting Numbers: [41] 41,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 82:[64, 103], Operations: ['84-44=40', '63+40=103'] Exploring Operation: 103-64=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 64*103=6592, Resulting Numbers: [6592] 6592,82 unequal: No Solution Exploring Operation: 64+103=167, Resulting Numbers: [167] 167,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 82:[63, 104], Operations: ['84-44=40', '64+40=104'] Exploring Operation: 63+104=167, Resulting Numbers: [167] 167,82 unequal: No Solution Exploring Operation: 104-63=41, Resulting Numbers: [41] 41,82 unequal: No Solution Exploring Operation: 63*104=6552, Resulting Numbers: [6552] 6552,82 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: 82:[84, 63, 20], Operations: ['64-44=20'] Exploring Operation: 63+20=83, Resulting Numbers: [84, 83] Generated Node #0,2,0: 82:[84, 83] Operation: 63+20=83 Exploring Operation: 63-20=43, Resulting Numbers: [84, 43] Generated Node #0,2,1: 82:[84, 43] Operation: 63-20=43 Exploring Operation: 84+20=104, Resulting Numbers: [63, 104] Generated Node #0,2,2: 82:[63, 104] Operation: 84+20=104 Exploring Operation: 84-20=64, Resulting Numbers: [63, 64] Generated Node #0,2,3: 82:[63, 64] Operation: 84-20=64 Exploring Operation: 84-63=21, Resulting Numbers: [20, 21] Generated Node #0,2,4: 82:[20, 21] Operation: 84-63=21 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 82:[84, 83], Operations: ['64-44=20', '63+20=83'] Exploring Operation: 84*83=6972, Resulting Numbers: [6972] 6972,82 unequal: No Solution Exploring Operation: 84-83=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 84+83=167, Resulting Numbers: [167] 167,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 82:[84, 43], Operations: ['64-44=20', '63-20=43'] Exploring Operation: 84*43=3612, Resulting Numbers: [3612] 3612,82 unequal: No Solution Exploring Operation: 84+43=127, Resulting Numbers: [127] 127,82 unequal: No Solution Exploring Operation: 84-43=41, Resulting Numbers: [41] 41,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 82:[63, 64], Operations: ['64-44=20', '84-20=64'] Exploring Operation: 64-63=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 63*64=4032, Resulting Numbers: [4032] 4032,82 unequal: No Solution Exploring Operation: 63+64=127, Resulting Numbers: [127] 127,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 82:[20, 21], Operations: ['64-44=20', '84-63=21'] Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,82 unequal: No Solution Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 82:[63, 104], Operations: ['64-44=20', '84+20=104'] Exploring Operation: 63+104=167, Resulting Numbers: [167] 167,82 unequal: No Solution Exploring Operation: 63*104=6552, Resulting Numbers: [6552] 6552,82 unequal: No Solution Exploring Operation: 104-63=41, Resulting Numbers: [41] 41,82 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: 82:[63, 44, 20], Operations: ['84-64=20'] Exploring Operation: 63-20=43, Resulting Numbers: [44, 43] Generated Node #0,3,0: 82:[44, 43] Operation: 63-20=43 Exploring Operation: 44-20=24, Resulting Numbers: [63, 24] Generated Node #0,3,1: 82:[63, 24] Operation: 44-20=24 Exploring Operation: 44+20=64, Resulting Numbers: [63, 64] Generated Node #0,3,2: 82:[63, 64] Operation: 44+20=64 Exploring Operation: 63-44=19, Resulting Numbers: [20, 19] Generated Node #0,3,3: 82:[20, 19] Operation: 63-44=19 Exploring Operation: 63+20=83, Resulting Numbers: [44, 83] Generated Node #0,3,4: 82:[44, 83] Operation: 63+20=83 Moving to Node #0,1,3 Current State: 82:[84, 83], Operations: ['63-44=19', '64+19=83'] Exploring Operation: 84+83=167, Resulting Numbers: [167] 167,82 unequal: No Solution Exploring Operation: 84-83=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 84*83=6972, Resulting Numbers: [6972] 6972,82 unequal: No Solution Moving to Node #0,3,4 Current State: 82:[44, 83], Operations: ['84-64=20', '63+20=83'] Exploring Operation: 83-44=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 44+83=127, Resulting Numbers: [127] 127,82 unequal: No Solution Exploring Operation: 44*83=3652, Resulting Numbers: [3652] 3652,82 unequal: No Solution Moving to Node #0,3,0 Current State: 82:[44, 43], Operations: ['84-64=20', '63-20=43'] Exploring Operation: 44*43=1892, Resulting Numbers: [1892] 1892,82 unequal: No Solution Exploring Operation: 44+43=87, Resulting Numbers: [87] 87,82 unequal: No Solution Exploring Operation: 44-43=1, Resulting Numbers: [1] 1,82 unequal: No Solution Moving to Node #0,1,4 Current State: 82:[84, 45], Operations: ['63-44=19', '64-19=45'] Exploring Operation: 84*45=3780, Resulting Numbers: [3780] 3780,82 unequal: No Solution Exploring Operation: 84-45=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 84+45=129, Resulting Numbers: [129] 129,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[19, 20], Operations: ['63-44=19', '84-64=20'] Exploring Operation: 19+20=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 19*20=380, Resulting Numbers: [380] 380,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[64, 65], Operations: ['63-44=19', '84-19=65'] Exploring Operation: 64+65=129, Resulting Numbers: [129] 129,82 unequal: No Solution Exploring Operation: 64*65=4160, Resulting Numbers: [4160] 4160,82 unequal: No Solution Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,82 unequal: No Solution Moving to Node #0,3,3 Current State: 82:[20, 19], Operations: ['84-64=20', '63-44=19'] Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,82 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,82 unequal: No Solution Moving to Node #0,3,1 Current State: 82:[63, 24], Operations: ['84-64=20', '44-20=24'] Exploring Operation: 63-24=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 63+24=87, Resulting Numbers: [87] 87,82 unequal: No Solution Exploring Operation: 63*24=1512, Resulting Numbers: [1512] 1512,82 unequal: No Solution Moving to Node #0,3,2 Current State: 82:[63, 64], Operations: ['84-64=20', '44+20=64'] Exploring Operation: 63*64=4032, Resulting Numbers: [4032] 4032,82 unequal: No Solution Exploring Operation: 64-63=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 63+64=127, Resulting Numbers: [127] 127,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[64, 103], Operations: ['63-44=19', '84+19=103'] Exploring Operation: 103-64=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 64*103=6592, Resulting Numbers: [6592] 6592,82 unequal: No Solution Exploring Operation: 64+103=167, Resulting Numbers: [167] 167,82 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 18, 77, 51, 5 ]
55
[ "77-5=72", "72/18=4", "51+4=55" ]
Current State: 55:[18, 77, 51, 5], Operations: [] Exploring Operation: 77-5=72, Resulting Numbers: [18, 51, 72] Generated Node #2: [18, 51, 72] from Operation: 77-5=72 Current State: 55:[18, 51, 72], Operations: ['77-5=72'] Exploring Operation: 72/18=4, Resulting Numbers: [51, 4] Generated Node #3: [51, 4] from Operation: 72/18=4 Current State: 55:[51, 4], Operations: ['77-5=72', '72/18=4'] Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[18, 77, 51, 5], Operations: [] Exploring Operation: 77-5=72, Resulting Numbers: [18, 51, 72] Generated Node #0,0: 55:[18, 51, 72] Operation: 77-5=72 Exploring Operation: 77-18=59, Resulting Numbers: [51, 5, 59] Generated Node #0,1: 55:[51, 5, 59] Operation: 77-18=59 Exploring Operation: 18-5=13, Resulting Numbers: [77, 51, 13] Generated Node #0,2: 55:[77, 51, 13] Operation: 18-5=13 Exploring Operation: 77-51=26, Resulting Numbers: [18, 5, 26] Generated Node #0,3: 55:[18, 5, 26] Operation: 77-51=26 Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[51, 5, 59], Operations: ['77-18=59'] Exploring Operation: 59-51=8, Resulting Numbers: [5, 8] Generated Node #0,1,0: 55:[5, 8] Operation: 59-51=8 Exploring Operation: 51+5=56, Resulting Numbers: [59, 56] Generated Node #0,1,1: 55:[59, 56] Operation: 51+5=56 Exploring Operation: 51-5=46, Resulting Numbers: [59, 46] Generated Node #0,1,2: 55:[59, 46] Operation: 51-5=46 Exploring Operation: 59-5=54, Resulting Numbers: [51, 54] Generated Node #0,1,3: 55:[51, 54] Operation: 59-5=54 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 55:[5, 8], Operations: ['77-18=59', '59-51=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,55 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,55 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 55:[59, 56], Operations: ['77-18=59', '51+5=56'] Exploring Operation: 59+56=115, Resulting Numbers: [115] 115,55 unequal: No Solution Exploring Operation: 59*56=3304, Resulting Numbers: [3304] 3304,55 unequal: No Solution Exploring Operation: 59-56=3, Resulting Numbers: [3] 3,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 55:[51, 54], Operations: ['77-18=59', '59-5=54'] Exploring Operation: 51+54=105, Resulting Numbers: [105] 105,55 unequal: No Solution Exploring Operation: 54-51=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 51*54=2754, Resulting Numbers: [2754] 2754,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 55:[59, 46], Operations: ['77-18=59', '51-5=46'] Exploring Operation: 59+46=105, Resulting Numbers: [105] 105,55 unequal: No Solution Exploring Operation: 59*46=2714, Resulting Numbers: [2714] 2714,55 unequal: No Solution Exploring Operation: 59-46=13, Resulting Numbers: [13] 13,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[18, 5, 26], Operations: ['77-51=26'] Exploring Operation: 18-5=13, Resulting Numbers: [26, 13] Generated Node #0,3,0: 55:[26, 13] Operation: 18-5=13 Exploring Operation: 26-5=21, Resulting Numbers: [18, 21] Generated Node #0,3,1: 55:[18, 21] Operation: 26-5=21 Exploring Operation: 18+26=44, Resulting Numbers: [5, 44] Generated Node #0,3,2: 55:[5, 44] Operation: 18+26=44 Exploring Operation: 26-18=8, Resulting Numbers: [5, 8] Generated Node #0,3,3: 55:[5, 8] Operation: 26-18=8 Moving to Node #0,3,3 Current State: 55:[5, 8], Operations: ['77-51=26', '26-18=8'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,55 unequal: No Solution Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,55 unequal: No Solution Moving to Node #0,3,2 Current State: 55:[5, 44], Operations: ['77-51=26', '18+26=44'] Exploring Operation: 5*44=220, Resulting Numbers: [220] 220,55 unequal: No Solution Exploring Operation: 5+44=49, Resulting Numbers: [49] 49,55 unequal: No Solution Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,55 unequal: No Solution Moving to Node #0,3,1 Current State: 55:[18, 21], Operations: ['77-51=26', '26-5=21'] Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 18+21=39, Resulting Numbers: [39] 39,55 unequal: No Solution Exploring Operation: 18*21=378, Resulting Numbers: [378] 378,55 unequal: No Solution Moving to Node #0,3,0 Current State: 55:[26, 13], Operations: ['77-51=26', '18-5=13'] Exploring Operation: 26+13=39, Resulting Numbers: [39] 39,55 unequal: No Solution Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,55 unequal: No Solution Exploring Operation: 26*13=338, Resulting Numbers: [338] 338,55 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[18, 51, 72], Operations: ['77-5=72'] Exploring Operation: 72-51=21, Resulting Numbers: [18, 21] Generated Node #0,0,0: 55:[18, 21] Operation: 72-51=21 Exploring Operation: 72/18=4, Resulting Numbers: [51, 4] Generated Node #0,0,1: 55:[51, 4] Operation: 72/18=4 Exploring Operation: 18+51=69, Resulting Numbers: [72, 69] Generated Node #0,0,2: 55:[72, 69] Operation: 18+51=69 Exploring Operation: 72-18=54, Resulting Numbers: [51, 54] Generated Node #0,0,3: 55:[51, 54] Operation: 72-18=54 Moving to Node #0,0,1 Current State: 55:[51, 4], Operations: ['77-5=72', '72/18=4'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,55 unequal: No Solution Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[18, 77, 51, 5], Operations: [] Exploring Operation: 77-5=72, Resulting Numbers: [18, 51, 72] Generated Node #0,0: 55:[18, 51, 72] Operation: 77-5=72 Moving to Node #0,0 Current State: 55:[18, 51, 72], Operations: ['77-5=72'] Exploring Operation: 72/18=4, Resulting Numbers: [51, 4] Generated Node #0,0,1: 55:[51, 4] Operation: 72/18=4 Moving to Node #0,0,1 Current State: 55:[51, 4], Operations: ['77-5=72', '72/18=4'] Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_4
mult_heuristic
[ 8, 31, 26, 28 ]
78
[ "8+31=39", "28-26=2", "39*2=78" ]
Current State: 78:[8, 31, 26, 28], Operations: [] Exploring Operation: 8+31=39, Resulting Numbers: [26, 28, 39] Generated Node #2: [26, 28, 39] from Operation: 8+31=39 Current State: 78:[26, 28, 39], Operations: ['8+31=39'] Exploring Operation: 28-26=2, Resulting Numbers: [39, 2] Generated Node #3: [39, 2] from Operation: 28-26=2 Current State: 78:[39, 2], Operations: ['8+31=39', '28-26=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[8, 31, 26, 28], Operations: [] Exploring Operation: 31-8=23, Resulting Numbers: [26, 28, 23] Generated Node #0,0: 78:[26, 28, 23] Operation: 31-8=23 Exploring Operation: 8+31=39, Resulting Numbers: [26, 28, 39] Generated Node #0,1: 78:[26, 28, 39] Operation: 8+31=39 Exploring Operation: 31-28=3, Resulting Numbers: [8, 26, 3] Generated Node #0,2: 78:[8, 26, 3] Operation: 31-28=3 Moving to Node #0,1 Current State: 78:[26, 28, 39], Operations: ['8+31=39'] Exploring Operation: 39-26=13, Resulting Numbers: [28, 13] Generated Node #0,1,0: 78:[28, 13] Operation: 39-26=13 Exploring Operation: 28-26=2, Resulting Numbers: [39, 2] Generated Node #0,1,1: 78:[39, 2] Operation: 28-26=2 Exploring Operation: 39-28=11, Resulting Numbers: [26, 11] Generated Node #0,1,2: 78:[26, 11] Operation: 39-28=11 Moving to Node #0,2 Current State: 78:[8, 26, 3], Operations: ['31-28=3'] Exploring Operation: 8*3=24, Resulting Numbers: [26, 24] Generated Node #0,2,0: 78:[26, 24] Operation: 8*3=24 Exploring Operation: 8+3=11, Resulting Numbers: [26, 11] Generated Node #0,2,1: 78:[26, 11] Operation: 8+3=11 Exploring Operation: 8-3=5, Resulting Numbers: [26, 5] Generated Node #0,2,2: 78:[26, 5] Operation: 8-3=5 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 78:[26, 5], Operations: ['31-28=3', '8-3=5'] Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,78 unequal: No Solution Exploring Operation: 26*5=130, Resulting Numbers: [130] 130,78 unequal: No Solution Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,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,2,0 Current State: 78:[26, 24], Operations: ['31-28=3', '8*3=24'] Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 26*24=624, Resulting Numbers: [624] 624,78 unequal: No Solution Exploring Operation: 26+24=50, Resulting Numbers: [50] 50,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,2,1 Current State: 78:[26, 11], Operations: ['31-28=3', '8+3=11'] Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,78 unequal: No Solution Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 26*11=286, Resulting Numbers: [286] 286,78 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: 78:[26, 28, 23], Operations: ['31-8=23'] Exploring Operation: 28-23=5, Resulting Numbers: [26, 5] Generated Node #0,0,0: 78:[26, 5] Operation: 28-23=5 Exploring Operation: 26-23=3, Resulting Numbers: [28, 3] Generated Node #0,0,1: 78:[28, 3] Operation: 26-23=3 Exploring Operation: 28-26=2, Resulting Numbers: [23, 2] Generated Node #0,0,2: 78:[23, 2] Operation: 28-26=2 Moving to Node #0,1,1 Current State: 78:[39, 2], Operations: ['8+31=39', '28-26=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[8, 31, 26, 28], Operations: [] Exploring Operation: 8+31=39, Resulting Numbers: [26, 28, 39] Generated Node #0,1: 78:[26, 28, 39] Operation: 8+31=39 Moving to Node #0,1 Current State: 78:[26, 28, 39], Operations: ['8+31=39'] Exploring Operation: 28-26=2, Resulting Numbers: [39, 2] Generated Node #0,1,1: 78:[39, 2] Operation: 28-26=2 Moving to Node #0,1,1 Current State: 78:[39, 2], Operations: ['8+31=39', '28-26=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
0.977431
hs_3
sum_heuristic
[ 81, 94, 93, 30 ]
50
[ "94-81=13", "93-30=63", "63-13=50" ]
Current State: 50:[81, 94, 93, 30], Operations: [] Exploring Operation: 94-81=13, Resulting Numbers: [93, 30, 13] Generated Node #2: [93, 30, 13] from Operation: 94-81=13 Current State: 50:[93, 30, 13], Operations: ['94-81=13'] Exploring Operation: 93-30=63, Resulting Numbers: [13, 63] Generated Node #3: [13, 63] from Operation: 93-30=63 Current State: 50:[13, 63], Operations: ['94-81=13', '93-30=63'] Exploring Operation: 63-13=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[81, 94, 93, 30], Operations: [] Exploring Operation: 94-81=13, Resulting Numbers: [93, 30, 13] Generated Node #0,0: 50:[93, 30, 13] Operation: 94-81=13 Exploring Operation: 94-93=1, Resulting Numbers: [81, 30, 1] Generated Node #0,1: 50:[81, 30, 1] Operation: 94-93=1 Moving to Node #0,1 Current State: 50:[81, 30, 1], Operations: ['94-93=1'] Exploring Operation: 81-30=51, Resulting Numbers: [1, 51] Generated Node #0,1,0: 50:[1, 51] Operation: 81-30=51 Exploring Operation: 81-1=80, Resulting Numbers: [30, 80] Generated Node #0,1,1: 50:[30, 80] Operation: 81-1=80 Moving to Node #0,0 Current State: 50:[93, 30, 13], Operations: ['94-81=13'] Exploring Operation: 93-13=80, Resulting Numbers: [30, 80] Generated Node #0,0,0: 50:[30, 80] Operation: 93-13=80 Exploring Operation: 93-30=63, Resulting Numbers: [13, 63] Generated Node #0,0,1: 50:[13, 63] Operation: 93-30=63 Moving to Node #0,1,0 Current State: 50:[1, 51], Operations: ['94-93=1', '81-30=51'] Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[81, 94, 93, 30], Operations: [] Exploring Operation: 94-93=1, Resulting Numbers: [81, 30, 1] Generated Node #0,1: 50:[81, 30, 1] Operation: 94-93=1 Moving to Node #0,1 Current State: 50:[81, 30, 1], Operations: ['94-93=1'] Exploring Operation: 81-30=51, Resulting Numbers: [1, 51] Generated Node #0,1,0: 50:[1, 51] Operation: 81-30=51 Moving to Node #0,1,0 Current State: 50:[1, 51], Operations: ['94-93=1', '81-30=51'] Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 56, 63, 96, 35 ]
73
[ "63*96=6048", "6048/56=108", "108-35=73" ]
Current State: 73:[56, 63, 96, 35], Operations: [] Exploring Operation: 63*96=6048, Resulting Numbers: [56, 35, 6048] Generated Node #2: [56, 35, 6048] from Operation: 63*96=6048 Current State: 73:[56, 35, 6048], Operations: ['63*96=6048'] Exploring Operation: 6048/56=108, Resulting Numbers: [35, 108] Generated Node #3: [35, 108] from Operation: 6048/56=108 Current State: 73:[35, 108], Operations: ['63*96=6048', '6048/56=108'] Exploring Operation: 108-35=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[56, 63, 96, 35], Operations: [] Exploring Operation: 56+35=91, Resulting Numbers: [63, 96, 91] Generated Node #0,0: 73:[63, 96, 91] Operation: 56+35=91 Exploring Operation: 96-35=61, Resulting Numbers: [56, 63, 61] Generated Node #0,1: 73:[56, 63, 61] Operation: 96-35=61 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[56, 63, 61], Operations: ['96-35=61'] Exploring Operation: 56+61=117, Resulting Numbers: [63, 117] Generated Node #0,1,0: 73:[63, 117] Operation: 56+61=117 Exploring Operation: 56+63=119, Resulting Numbers: [61, 119] Generated Node #0,1,1: 73:[61, 119] Operation: 56+63=119 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 73:[63, 117], Operations: ['96-35=61', '56+61=117'] Exploring Operation: 117-63=54, Resulting Numbers: [54] 54,73 unequal: No Solution Exploring Operation: 63+117=180, Resulting Numbers: [180] 180,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 73:[61, 119], Operations: ['96-35=61', '56+63=119'] Exploring Operation: 119-61=58, Resulting Numbers: [58] 58,73 unequal: No Solution Exploring Operation: 61+119=180, Resulting Numbers: [180] 180,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[63, 96, 91], Operations: ['56+35=91'] Exploring Operation: 96-63=33, Resulting Numbers: [91, 33] Generated Node #0,0,0: 73:[91, 33] Operation: 96-63=33 Exploring Operation: 91-63=28, Resulting Numbers: [96, 28] Generated Node #0,0,1: 73:[96, 28] Operation: 91-63=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[91, 33], Operations: ['56+35=91', '96-63=33'] Exploring Operation: 91+33=124, Resulting Numbers: [124] 124,73 unequal: No Solution Exploring Operation: 91-33=58, Resulting Numbers: [58] 58,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 73:[96, 28], Operations: ['56+35=91', '91-63=28'] Exploring Operation: 96-28=68, Resulting Numbers: [68] 68,73 unequal: No Solution Exploring Operation: 96+28=124, Resulting Numbers: [124] 124,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 47, 50, 75, 42 ]
89
[ "50-47=3", "42/3=14", "75+14=89" ]
Current State: 89:[47, 50, 75, 42], Operations: [] Exploring Operation: 50-47=3, Resulting Numbers: [75, 42, 3] Generated Node #2: [75, 42, 3] from Operation: 50-47=3 Current State: 89:[75, 42, 3], Operations: ['50-47=3'] Exploring Operation: 42/3=14, Resulting Numbers: [75, 14] Generated Node #3: [75, 14] from Operation: 42/3=14 Current State: 89:[75, 14], Operations: ['50-47=3', '42/3=14'] Exploring Operation: 75+14=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[47, 50, 75, 42], Operations: [] Exploring Operation: 47+42=89, Resulting Numbers: [50, 75, 89] Generated Node #0,0: 89:[50, 75, 89] Operation: 47+42=89 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[50, 75, 89], Operations: ['47+42=89'] Exploring Operation: 50+75=125, Resulting Numbers: [89, 125] Generated Node #0,0,0: 89:[89, 125] Operation: 50+75=125 Moving to Node #0,0,0 Current State: 89:[89, 125], Operations: ['47+42=89', '50+75=125'] Exploring Operation: 125-89=36, Resulting Numbers: [36] 36,89 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
[ 38, 83, 95, 26 ]
18
[ "95*26=2470", "2470/38=65", "83-65=18" ]
Current State: 18:[38, 83, 95, 26], Operations: [] Exploring Operation: 95*26=2470, Resulting Numbers: [38, 83, 2470] Generated Node #2: [38, 83, 2470] from Operation: 95*26=2470 Current State: 18:[38, 83, 2470], Operations: ['95*26=2470'] Exploring Operation: 2470/38=65, Resulting Numbers: [83, 65] Generated Node #3: [83, 65] from Operation: 2470/38=65 Current State: 18:[83, 65], Operations: ['95*26=2470', '2470/38=65'] Exploring Operation: 83-65=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[38, 83, 95, 26], Operations: [] Exploring Operation: 95-38=57, Resulting Numbers: [83, 26, 57] Generated Node #0,0: 18:[83, 26, 57] Operation: 95-38=57 Exploring Operation: 95-83=12, Resulting Numbers: [38, 26, 12] Generated Node #0,1: 18:[38, 26, 12] Operation: 95-83=12 Exploring Operation: 83-38=45, Resulting Numbers: [95, 26, 45] Generated Node #0,2: 18:[95, 26, 45] Operation: 83-38=45 Exploring Operation: 95-26=69, Resulting Numbers: [38, 83, 69] Generated Node #0,3: 18:[38, 83, 69] Operation: 95-26=69 Exploring Operation: 83-26=57, Resulting Numbers: [38, 95, 57] Generated Node #0,4: 18:[38, 95, 57] Operation: 83-26=57 Moving to Node #0,1 Current State: 18:[38, 26, 12], Operations: ['95-83=12'] Exploring Operation: 38-26=12, Resulting Numbers: [12, 12] Generated Node #0,1,0: 18:[12, 12] Operation: 38-26=12 Exploring Operation: 26+12=38, Resulting Numbers: [38, 38] Generated Node #0,1,1: 18:[38, 38] Operation: 26+12=38 Exploring Operation: 26-12=14, Resulting Numbers: [38, 14] Generated Node #0,1,2: 18:[38, 14] Operation: 26-12=14 Exploring Operation: 38-12=26, Resulting Numbers: [26, 26] Generated Node #0,1,3: 18:[26, 26] Operation: 38-12=26 Exploring Operation: 38+12=50, Resulting Numbers: [26, 50] Generated Node #0,1,4: 18:[26, 50] Operation: 38+12=50 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 18:[12, 12], Operations: ['95-83=12', '38-26=12'] Exploring Operation: 12*12=144, Resulting Numbers: [144] 144,18 unequal: No Solution Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,18 unequal: No Solution Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,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:[26, 26], Operations: ['95-83=12', '38-12=26'] Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,18 unequal: No Solution Exploring Operation: 26-26=0, Resulting Numbers: [0] 0,18 unequal: No Solution Exploring Operation: 26*26=676, Resulting Numbers: [676] 676,18 unequal: No Solution Exploring Operation: 26/26=1, Resulting Numbers: [1] 1,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,2 Current State: 18:[38, 14], Operations: ['95-83=12', '26-12=14'] Exploring Operation: 38*14=532, Resulting Numbers: [532] 532,18 unequal: No Solution Exploring Operation: 38+14=52, Resulting Numbers: [52] 52,18 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,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:[38, 38], Operations: ['95-83=12', '26+12=38'] Exploring Operation: 38+38=76, Resulting Numbers: [76] 76,18 unequal: No Solution Exploring Operation: 38*38=1444, Resulting Numbers: [1444] 1444,18 unequal: No Solution Exploring Operation: 38/38=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 38-38=0, Resulting Numbers: [0] 0,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:[26, 50], Operations: ['95-83=12', '38+12=50'] Exploring Operation: 26+50=76, Resulting Numbers: [76] 76,18 unequal: No Solution Exploring Operation: 26*50=1300, Resulting Numbers: [1300] 1300,18 unequal: No Solution Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,18 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: 18:[95, 26, 45], Operations: ['83-38=45'] Exploring Operation: 95-26=69, Resulting Numbers: [45, 69] Generated Node #0,2,0: 18:[45, 69] Operation: 95-26=69 Exploring Operation: 45-26=19, Resulting Numbers: [95, 19] Generated Node #0,2,1: 18:[95, 19] Operation: 45-26=19 Exploring Operation: 95+26=121, Resulting Numbers: [45, 121] Generated Node #0,2,2: 18:[45, 121] Operation: 95+26=121 Exploring Operation: 95+45=140, Resulting Numbers: [26, 140] Generated Node #0,2,3: 18:[26, 140] Operation: 95+45=140 Exploring Operation: 95-45=50, Resulting Numbers: [26, 50] Generated Node #0,2,4: 18:[26, 50] Operation: 95-45=50 Moving to Node #0,0 Current State: 18:[83, 26, 57], Operations: ['95-38=57'] Exploring Operation: 83+26=109, Resulting Numbers: [57, 109] Generated Node #0,0,0: 18:[57, 109] Operation: 83+26=109 Exploring Operation: 57-26=31, Resulting Numbers: [83, 31] Generated Node #0,0,1: 18:[83, 31] Operation: 57-26=31 Exploring Operation: 83+57=140, Resulting Numbers: [26, 140] Generated Node #0,0,2: 18:[26, 140] Operation: 83+57=140 Exploring Operation: 83-57=26, Resulting Numbers: [26, 26] Generated Node #0,0,3: 18:[26, 26] Operation: 83-57=26 Exploring Operation: 83-26=57, Resulting Numbers: [57, 57] Generated Node #0,0,4: 18:[57, 57] Operation: 83-26=57 Moving to Node #0,3 Current State: 18:[38, 83, 69], Operations: ['95-26=69'] Exploring Operation: 38+83=121, Resulting Numbers: [69, 121] Generated Node #0,3,0: 18:[69, 121] Operation: 38+83=121 Exploring Operation: 69-38=31, Resulting Numbers: [83, 31] Generated Node #0,3,1: 18:[83, 31] Operation: 69-38=31 Exploring Operation: 83-69=14, Resulting Numbers: [38, 14] Generated Node #0,3,2: 18:[38, 14] Operation: 83-69=14 Exploring Operation: 83-38=45, Resulting Numbers: [69, 45] Generated Node #0,3,3: 18:[69, 45] Operation: 83-38=45 Exploring Operation: 38+69=107, Resulting Numbers: [83, 107] Generated Node #0,3,4: 18:[83, 107] Operation: 38+69=107 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 18:[38, 14], Operations: ['95-26=69', '83-69=14'] Exploring Operation: 38+14=52, Resulting Numbers: [52] 52,18 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,18 unequal: No Solution Exploring Operation: 38*14=532, Resulting Numbers: [532] 532,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 18:[83, 31], Operations: ['95-26=69', '69-38=31'] Exploring Operation: 83*31=2573, Resulting Numbers: [2573] 2573,18 unequal: No Solution Exploring Operation: 83+31=114, Resulting Numbers: [114] 114,18 unequal: No Solution Exploring Operation: 83-31=52, Resulting Numbers: [52] 52,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 18:[69, 45], Operations: ['95-26=69', '83-38=45'] Exploring Operation: 69*45=3105, Resulting Numbers: [3105] 3105,18 unequal: No Solution Exploring Operation: 69+45=114, Resulting Numbers: [114] 114,18 unequal: No Solution Exploring Operation: 69-45=24, Resulting Numbers: [24] 24,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 18:[69, 121], Operations: ['95-26=69', '38+83=121'] Exploring Operation: 69+121=190, Resulting Numbers: [190] 190,18 unequal: No Solution Exploring Operation: 121-69=52, Resulting Numbers: [52] 52,18 unequal: No Solution Exploring Operation: 69*121=8349, Resulting Numbers: [8349] 8349,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 18:[83, 107], Operations: ['95-26=69', '38+69=107'] Exploring Operation: 83+107=190, Resulting Numbers: [190] 190,18 unequal: No Solution Exploring Operation: 107-83=24, Resulting Numbers: [24] 24,18 unequal: No Solution Exploring Operation: 83*107=8881, Resulting Numbers: [8881] 8881,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:[38, 95, 57], Operations: ['83-26=57'] Exploring Operation: 95-57=38, Resulting Numbers: [38, 38] Generated Node #0,4,0: 18:[38, 38] Operation: 95-57=38 Exploring Operation: 57-38=19, Resulting Numbers: [95, 19] Generated Node #0,4,1: 18:[95, 19] Operation: 57-38=19 Exploring Operation: 95-38=57, Resulting Numbers: [57, 57] Generated Node #0,4,2: 18:[57, 57] Operation: 95-38=57 Exploring Operation: 38+57=95, Resulting Numbers: [95, 95] Generated Node #0,4,3: 18:[95, 95] Operation: 38+57=95 Exploring Operation: 38+95=133, Resulting Numbers: [57, 133] Generated Node #0,4,4: 18:[57, 133] Operation: 38+95=133 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 18:[38, 38], Operations: ['83-26=57', '95-57=38'] Exploring Operation: 38*38=1444, Resulting Numbers: [1444] 1444,18 unequal: No Solution Exploring Operation: 38/38=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 38+38=76, Resulting Numbers: [76] 76,18 unequal: No Solution Exploring Operation: 38-38=0, Resulting Numbers: [0] 0,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:[95, 19], Operations: ['83-26=57', '57-38=19'] Exploring Operation: 95+19=114, Resulting Numbers: [114] 114,18 unequal: No Solution Exploring Operation: 95-19=76, Resulting Numbers: [76] 76,18 unequal: No Solution Exploring Operation: 95/19=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 95*19=1805, Resulting Numbers: [1805] 1805,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:[57, 57], Operations: ['83-26=57', '95-38=57'] Exploring Operation: 57-57=0, Resulting Numbers: [0] 0,18 unequal: No Solution Exploring Operation: 57+57=114, Resulting Numbers: [114] 114,18 unequal: No Solution Exploring Operation: 57/57=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 57*57=3249, Resulting Numbers: [3249] 3249,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,3 Current State: 18:[95, 95], Operations: ['83-26=57', '38+57=95'] Exploring Operation: 95+95=190, Resulting Numbers: [190] 190,18 unequal: No Solution Exploring Operation: 95*95=9025, Resulting Numbers: [9025] 9025,18 unequal: No Solution Exploring Operation: 95/95=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 95-95=0, Resulting Numbers: [0] 0,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:[57, 133], Operations: ['83-26=57', '38+95=133'] Exploring Operation: 133-57=76, Resulting Numbers: [76] 76,18 unequal: No Solution Exploring Operation: 57+133=190, Resulting Numbers: [190] 190,18 unequal: No Solution Exploring Operation: 57*133=7581, Resulting Numbers: [7581] 7581,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 18:[26, 26], Operations: ['95-38=57', '83-57=26'] Exploring Operation: 26/26=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 26-26=0, Resulting Numbers: [0] 0,18 unequal: No Solution Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,18 unequal: No Solution Exploring Operation: 26*26=676, Resulting Numbers: [676] 676,18 unequal: No Solution Moving to Node #0,2,4 Current State: 18:[26, 50], Operations: ['83-38=45', '95-45=50'] Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,18 unequal: No Solution Exploring Operation: 26+50=76, Resulting Numbers: [76] 76,18 unequal: No Solution Exploring Operation: 26*50=1300, Resulting Numbers: [1300] 1300,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[83, 31], Operations: ['95-38=57', '57-26=31'] Exploring Operation: 83*31=2573, Resulting Numbers: [2573] 2573,18 unequal: No Solution Exploring Operation: 83+31=114, Resulting Numbers: [114] 114,18 unequal: No Solution Exploring Operation: 83-31=52, Resulting Numbers: [52] 52,18 unequal: No Solution Moving to Node #0,2,1 Current State: 18:[95, 19], Operations: ['83-38=45', '45-26=19'] Exploring Operation: 95/19=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 95+19=114, Resulting Numbers: [114] 114,18 unequal: No Solution Exploring Operation: 95-19=76, Resulting Numbers: [76] 76,18 unequal: No Solution Exploring Operation: 95*19=1805, Resulting Numbers: [1805] 1805,18 unequal: No Solution Moving to Node #0,2,0 Current State: 18:[45, 69], Operations: ['83-38=45', '95-26=69'] Exploring Operation: 45*69=3105, Resulting Numbers: [3105] 3105,18 unequal: No Solution Exploring Operation: 69-45=24, Resulting Numbers: [24] 24,18 unequal: No Solution Exploring Operation: 45+69=114, Resulting Numbers: [114] 114,18 unequal: No Solution Moving to Node #0,0,4 Current State: 18:[57, 57], Operations: ['95-38=57', '83-26=57'] Exploring Operation: 57/57=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 57-57=0, Resulting Numbers: [0] 0,18 unequal: No Solution Exploring Operation: 57*57=3249, Resulting Numbers: [3249] 3249,18 unequal: No Solution Exploring Operation: 57+57=114, Resulting Numbers: [114] 114,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[26, 140], Operations: ['95-38=57', '83+57=140'] Exploring Operation: 26+140=166, Resulting Numbers: [166] 166,18 unequal: No Solution Exploring Operation: 26*140=3640, Resulting Numbers: [3640] 3640,18 unequal: No Solution Exploring Operation: 140-26=114, Resulting Numbers: [114] 114,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[57, 109], Operations: ['95-38=57', '83+26=109'] Exploring Operation: 109-57=52, Resulting Numbers: [52] 52,18 unequal: No Solution Exploring Operation: 57+109=166, Resulting Numbers: [166] 166,18 unequal: No Solution Exploring Operation: 57*109=6213, Resulting Numbers: [6213] 6213,18 unequal: No Solution Moving to Node #0,2,3 Current State: 18:[26, 140], Operations: ['83-38=45', '95+45=140'] Exploring Operation: 140-26=114, Resulting Numbers: [114] 114,18 unequal: No Solution Exploring Operation: 26*140=3640, Resulting Numbers: [3640] 3640,18 unequal: No Solution Exploring Operation: 26+140=166, Resulting Numbers: [166] 166,18 unequal: No Solution Moving to Node #0,2,2 Current State: 18:[45, 121], Operations: ['83-38=45', '95+26=121'] Exploring Operation: 121-45=76, Resulting Numbers: [76] 76,18 unequal: No Solution Exploring Operation: 45*121=5445, Resulting Numbers: [5445] 5445,18 unequal: No Solution Exploring Operation: 45+121=166, Resulting Numbers: [166] 166,18 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 43, 62, 38, 72 ]
46
[ "62-38=24", "72/24=3", "43+3=46" ]
Current State: 46:[43, 62, 38, 72], Operations: [] Exploring Operation: 62-38=24, Resulting Numbers: [43, 72, 24] Generated Node #2: [43, 72, 24] from Operation: 62-38=24 Current State: 46:[43, 72, 24], Operations: ['62-38=24'] Exploring Operation: 72/24=3, Resulting Numbers: [43, 3] Generated Node #3: [43, 3] from Operation: 72/24=3 Current State: 46:[43, 3], Operations: ['62-38=24', '72/24=3'] Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[43, 62, 38, 72], Operations: [] Exploring Operation: 72-62=10, Resulting Numbers: [43, 38, 10] Generated Node #0,0: 46:[43, 38, 10] Operation: 72-62=10 Exploring Operation: 72-43=29, Resulting Numbers: [62, 38, 29] Generated Node #0,1: 46:[62, 38, 29] Operation: 72-43=29 Moving to Node #0,0 Current State: 46:[43, 38, 10], Operations: ['72-62=10'] Exploring Operation: 38-10=28, Resulting Numbers: [43, 28] Generated Node #0,0,0: 46:[43, 28] Operation: 38-10=28 Exploring Operation: 38+10=48, Resulting Numbers: [43, 48] Generated Node #0,0,1: 46:[43, 48] Operation: 38+10=48 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 46:[43, 48], Operations: ['72-62=10', '38+10=48'] Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,46 unequal: No Solution Exploring Operation: 43+48=91, Resulting Numbers: [91] 91,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:[43, 28], Operations: ['72-62=10', '38-10=28'] Exploring Operation: 43-28=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 43+28=71, Resulting Numbers: [71] 71,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:[62, 38, 29], Operations: ['72-43=29'] Exploring Operation: 62-38=24, Resulting Numbers: [29, 24] Generated Node #0,1,0: 46:[29, 24] Operation: 62-38=24 Exploring Operation: 62-29=33, Resulting Numbers: [38, 33] Generated Node #0,1,1: 46:[38, 33] Operation: 62-29=33 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 46:[29, 24], Operations: ['72-43=29', '62-38=24'] Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,46 unequal: No Solution Exploring Operation: 29+24=53, Resulting Numbers: [53] 53,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:[38, 33], Operations: ['72-43=29', '62-29=33'] Exploring Operation: 38+33=71, Resulting Numbers: [71] 71,46 unequal: No Solution Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,46 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
[ 12, 61, 15, 36 ]
28
[ "61-12=49", "36-15=21", "49-21=28" ]
Current State: 28:[12, 61, 15, 36], Operations: [] Exploring Operation: 61-12=49, Resulting Numbers: [15, 36, 49] Generated Node #2: [15, 36, 49] from Operation: 61-12=49 Current State: 28:[15, 36, 49], Operations: ['61-12=49'] Exploring Operation: 36-15=21, Resulting Numbers: [49, 21] Generated Node #3: [49, 21] from Operation: 36-15=21 Current State: 28:[49, 21], Operations: ['61-12=49', '36-15=21'] Exploring Operation: 49-21=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[12, 61, 15, 36], Operations: [] Exploring Operation: 61-15=46, Resulting Numbers: [12, 36, 46] Generated Node #0,0: 28:[12, 36, 46] Operation: 61-15=46 Exploring Operation: 61-12=49, Resulting Numbers: [15, 36, 49] Generated Node #0,1: 28:[15, 36, 49] Operation: 61-12=49 Exploring Operation: 36/12=3, Resulting Numbers: [61, 15, 3] Generated Node #0,2: 28:[61, 15, 3] Operation: 36/12=3 Exploring Operation: 61-36=25, Resulting Numbers: [12, 15, 25] Generated Node #0,3: 28:[12, 15, 25] Operation: 61-36=25 Start Sub Search at level 1: Moving to Node #0,3 Current State: 28:[12, 15, 25], Operations: ['61-36=25'] Exploring Operation: 25-15=10, Resulting Numbers: [12, 10] Generated Node #0,3,0: 28:[12, 10] Operation: 25-15=10 Exploring Operation: 12+15=27, Resulting Numbers: [25, 27] Generated Node #0,3,1: 28:[25, 27] Operation: 12+15=27 Exploring Operation: 15-12=3, Resulting Numbers: [25, 3] Generated Node #0,3,2: 28:[25, 3] Operation: 15-12=3 Exploring Operation: 25-12=13, Resulting Numbers: [15, 13] Generated Node #0,3,3: 28:[15, 13] Operation: 25-12=13 Moving to Node #0,3,3 Current State: 28:[15, 13], Operations: ['61-36=25', '25-12=13'] Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 15*13=195, Resulting Numbers: [195] 195,28 unequal: No Solution Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[12, 61, 15, 36], Operations: [] Exploring Operation: 61-36=25, Resulting Numbers: [12, 15, 25] Generated Node #0,3: 28:[12, 15, 25] Operation: 61-36=25 Moving to Node #0,3 Current State: 28:[12, 15, 25], Operations: ['61-36=25'] Exploring Operation: 25-12=13, Resulting Numbers: [15, 13] Generated Node #0,3,3: 28:[15, 13] Operation: 25-12=13 Moving to Node #0,3,3 Current State: 28:[15, 13], Operations: ['61-36=25', '25-12=13'] Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 94, 53, 72, 74 ]
100
[ "74-72=2", "94/2=47", "53+47=100" ]
Current State: 100:[94, 53, 72, 74], Operations: [] Exploring Operation: 74-72=2, Resulting Numbers: [94, 53, 2] Generated Node #2: [94, 53, 2] from Operation: 74-72=2 Current State: 100:[94, 53, 2], Operations: ['74-72=2'] Exploring Operation: 94/2=47, Resulting Numbers: [53, 47] Generated Node #3: [53, 47] from Operation: 94/2=47 Current State: 100:[53, 47], Operations: ['74-72=2', '94/2=47'] Exploring Operation: 53+47=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[94, 53, 72, 74], Operations: [] Exploring Operation: 74-72=2, Resulting Numbers: [94, 53, 2] Generated Node #0,0: 100:[94, 53, 2] Operation: 74-72=2 Exploring Operation: 72-53=19, Resulting Numbers: [94, 74, 19] Generated Node #0,1: 100:[94, 74, 19] Operation: 72-53=19 Exploring Operation: 74-53=21, Resulting Numbers: [94, 72, 21] Generated Node #0,2: 100:[94, 72, 21] Operation: 74-53=21 Exploring Operation: 94-72=22, Resulting Numbers: [53, 74, 22] Generated Node #0,3: 100:[53, 74, 22] Operation: 94-72=22 Exploring Operation: 94-74=20, Resulting Numbers: [53, 72, 20] Generated Node #0,4: 100:[53, 72, 20] Operation: 94-74=20 Moving to Node #0,0 Current State: 100:[94, 53, 2], Operations: ['74-72=2'] Exploring Operation: 94-2=92, Resulting Numbers: [53, 92] Generated Node #0,0,0: 100:[53, 92] Operation: 94-2=92 Exploring Operation: 53-2=51, Resulting Numbers: [94, 51] Generated Node #0,0,1: 100:[94, 51] Operation: 53-2=51 Exploring Operation: 94/2=47, Resulting Numbers: [53, 47] Generated Node #0,0,2: 100:[53, 47] Operation: 94/2=47 Exploring Operation: 94+2=96, Resulting Numbers: [53, 96] Generated Node #0,0,3: 100:[53, 96] Operation: 94+2=96 Exploring Operation: 94-53=41, Resulting Numbers: [2, 41] Generated Node #0,0,4: 100:[2, 41] Operation: 94-53=41 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 100:[53, 47], Operations: ['74-72=2', '94/2=47'] Exploring Operation: 53-47=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 53*47=2491, Resulting Numbers: [2491] 2491,100 unequal: No Solution Exploring Operation: 53+47=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[94, 53, 72, 74], Operations: [] Exploring Operation: 74-72=2, Resulting Numbers: [94, 53, 2] Generated Node #0,0: 100:[94, 53, 2] Operation: 74-72=2 Moving to Node #0,0 Current State: 100:[94, 53, 2], Operations: ['74-72=2'] Exploring Operation: 94/2=47, Resulting Numbers: [53, 47] Generated Node #0,0,2: 100:[53, 47] Operation: 94/2=47 Moving to Node #0,0,2 Current State: 100:[53, 47], Operations: ['74-72=2', '94/2=47'] Exploring Operation: 53+47=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 26, 26, 42, 47 ]
57
[ "26+26=52", "47-42=5", "52+5=57" ]
Current State: 57:[26, 26, 42, 47], Operations: [] Exploring Operation: 26+26=52, Resulting Numbers: [42, 47, 52] Generated Node #2: [42, 47, 52] from Operation: 26+26=52 Current State: 57:[42, 47, 52], Operations: ['26+26=52'] Exploring Operation: 47-42=5, Resulting Numbers: [52, 5] Generated Node #3: [52, 5] from Operation: 47-42=5 Current State: 57:[52, 5], Operations: ['26+26=52', '47-42=5'] Exploring Operation: 52+5=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[26, 26, 42, 47], Operations: [] Exploring Operation: 47-42=5, Resulting Numbers: [26, 26, 5] Generated Node #0,0: 57:[26, 26, 5] Operation: 47-42=5 Exploring Operation: 42-26=16, Resulting Numbers: [26, 47, 16] Generated Node #0,1: 57:[26, 47, 16] Operation: 42-26=16 Moving to Node #0,0 Current State: 57:[26, 26, 5], Operations: ['47-42=5'] Exploring Operation: 26/26=1, Resulting Numbers: [5, 1] Generated Node #0,0,0: 57:[5, 1] Operation: 26/26=1 Exploring Operation: 26-26=0, Resulting Numbers: [5, 0] Generated Node #0,0,1: 57:[5, 0] Operation: 26-26=0 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 57:[5, 1], Operations: ['47-42=5', '26/26=1'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,57 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 57:[5, 0], Operations: ['47-42=5', '26-26=0'] Exploring Operation: 5-0=5, Resulting Numbers: [5] 5,57 unequal: No Solution Exploring Operation: 5+0=5, Resulting Numbers: [5] 5,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 57:[26, 47, 16], Operations: ['42-26=16'] Exploring Operation: 47+16=63, Resulting Numbers: [26, 63] Generated Node #0,1,0: 57:[26, 63] Operation: 47+16=63 Exploring Operation: 47-26=21, Resulting Numbers: [16, 21] Generated Node #0,1,1: 57:[16, 21] Operation: 47-26=21 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 57:[16, 21], Operations: ['42-26=16', '47-26=21'] Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,57 unequal: No Solution Exploring Operation: 16+21=37, Resulting Numbers: [37] 37,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 57:[26, 63], Operations: ['42-26=16', '47+16=63'] Exploring Operation: 63-26=37, Resulting Numbers: [37] 37,57 unequal: No Solution Exploring Operation: 26+63=89, Resulting Numbers: [89] 89,57 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
[ 17, 12, 6, 33 ]
52
[ "17+33=50", "12/6=2", "50+2=52" ]
Current State: 52:[17, 12, 6, 33], Operations: [] Exploring Operation: 17+33=50, Resulting Numbers: [12, 6, 50] Generated Node #2: [12, 6, 50] from Operation: 17+33=50 Current State: 52:[12, 6, 50], Operations: ['17+33=50'] Exploring Operation: 12/6=2, Resulting Numbers: [50, 2] Generated Node #3: [50, 2] from Operation: 12/6=2 Current State: 52:[50, 2], Operations: ['17+33=50', '12/6=2'] Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[17, 12, 6, 33], Operations: [] Exploring Operation: 17+33=50, Resulting Numbers: [12, 6, 50] Generated Node #0,0: 52:[12, 6, 50] Operation: 17+33=50 Exploring Operation: 33-17=16, Resulting Numbers: [12, 6, 16] Generated Node #0,1: 52:[12, 6, 16] Operation: 33-17=16 Moving to Node #0,0 Current State: 52:[12, 6, 50], Operations: ['17+33=50'] Exploring Operation: 12-6=6, Resulting Numbers: [50, 6] Generated Node #0,0,0: 52:[50, 6] Operation: 12-6=6 Exploring Operation: 12/6=2, Resulting Numbers: [50, 2] Generated Node #0,0,1: 52:[50, 2] Operation: 12/6=2 Moving to Node #0,1 Current State: 52:[12, 6, 16], Operations: ['33-17=16'] Exploring Operation: 16-12=4, Resulting Numbers: [6, 4] Generated Node #0,1,0: 52:[6, 4] Operation: 16-12=4 Exploring Operation: 12/6=2, Resulting Numbers: [16, 2] Generated Node #0,1,1: 52:[16, 2] Operation: 12/6=2 Moving to Node #0,0,1 Current State: 52:[50, 2], Operations: ['17+33=50', '12/6=2'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[17, 12, 6, 33], Operations: [] Exploring Operation: 17+33=50, Resulting Numbers: [12, 6, 50] Generated Node #0,0: 52:[12, 6, 50] Operation: 17+33=50 Moving to Node #0,0 Current State: 52:[12, 6, 50], Operations: ['17+33=50'] Exploring Operation: 12/6=2, Resulting Numbers: [50, 2] Generated Node #0,0,1: 52:[50, 2] Operation: 12/6=2 Moving to Node #0,0,1 Current State: 52:[50, 2], Operations: ['17+33=50', '12/6=2'] Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
0.989583
hs_2
mult_heuristic
[ 97, 88, 47, 3 ]
44
[ "97+88=185", "47*3=141", "185-141=44" ]
Current State: 44:[97, 88, 47, 3], Operations: [] Exploring Operation: 97+88=185, Resulting Numbers: [47, 3, 185] Generated Node #2: [47, 3, 185] from Operation: 97+88=185 Current State: 44:[47, 3, 185], Operations: ['97+88=185'] Exploring Operation: 47*3=141, Resulting Numbers: [185, 141] Generated Node #3: [185, 141] from Operation: 47*3=141 Current State: 44:[185, 141], Operations: ['97+88=185', '47*3=141'] Exploring Operation: 185-141=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[97, 88, 47, 3], Operations: [] Exploring Operation: 88-47=41, Resulting Numbers: [97, 3, 41] Generated Node #0,0: 44:[97, 3, 41] Operation: 88-47=41 Exploring Operation: 97-88=9, Resulting Numbers: [47, 3, 9] Generated Node #0,1: 44:[47, 3, 9] Operation: 97-88=9 Exploring Operation: 97-47=50, Resulting Numbers: [88, 3, 50] Generated Node #0,2: 44:[88, 3, 50] Operation: 97-47=50 Moving to Node #0,1 Current State: 44:[47, 3, 9], Operations: ['97-88=9'] Exploring Operation: 9/3=3, Resulting Numbers: [47, 3] Generated Node #0,1,0: 44:[47, 3] Operation: 9/3=3 Exploring Operation: 3+9=12, Resulting Numbers: [47, 12] Generated Node #0,1,1: 44:[47, 12] Operation: 3+9=12 Exploring Operation: 47-3=44, Resulting Numbers: [9, 44] Generated Node #0,1,2: 44:[9, 44] Operation: 47-3=44 Moving to Node #0,2 Current State: 44:[88, 3, 50], Operations: ['97-47=50'] Exploring Operation: 50-3=47, Resulting Numbers: [88, 47] Generated Node #0,2,0: 44:[88, 47] Operation: 50-3=47 Exploring Operation: 88-3=85, Resulting Numbers: [50, 85] Generated Node #0,2,1: 44:[50, 85] Operation: 88-3=85 Exploring Operation: 88-50=38, Resulting Numbers: [3, 38] Generated Node #0,2,2: 44:[3, 38] Operation: 88-50=38 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 44:[3, 38], Operations: ['97-47=50', '88-50=38'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,44 unequal: No Solution Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 44:[88, 47], Operations: ['97-47=50', '50-3=47'] Exploring Operation: 88-47=41, Resulting Numbers: [41] 41,44 unequal: No Solution Exploring Operation: 88*47=4136, Resulting Numbers: [4136] 4136,44 unequal: No Solution Exploring Operation: 88+47=135, Resulting Numbers: [135] 135,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 44:[50, 85], Operations: ['97-47=50', '88-3=85'] Exploring Operation: 85-50=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 50*85=4250, Resulting Numbers: [4250] 4250,44 unequal: No Solution Exploring Operation: 50+85=135, Resulting Numbers: [135] 135,44 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: 44:[97, 3, 41], Operations: ['88-47=41'] Exploring Operation: 97-41=56, Resulting Numbers: [3, 56] Generated Node #0,0,0: 44:[3, 56] Operation: 97-41=56 Exploring Operation: 97-3=94, Resulting Numbers: [41, 94] Generated Node #0,0,1: 44:[41, 94] Operation: 97-3=94 Exploring Operation: 3+41=44, Resulting Numbers: [97, 44] Generated Node #0,0,2: 44:[97, 44] Operation: 3+41=44 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[3, 56], Operations: ['88-47=41', '97-41=56'] Exploring Operation: 3+56=59, Resulting Numbers: [59] 59,44 unequal: No Solution Exploring Operation: 3*56=168, Resulting Numbers: [168] 168,44 unequal: No Solution Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 44:[41, 94], Operations: ['88-47=41', '97-3=94'] Exploring Operation: 41+94=135, Resulting Numbers: [135] 135,44 unequal: No Solution Exploring Operation: 94-41=53, Resulting Numbers: [53] 53,44 unequal: No Solution Exploring Operation: 41*94=3854, Resulting Numbers: [3854] 3854,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 44:[97, 44], Operations: ['88-47=41', '3+41=44'] Exploring Operation: 97-44=53, Resulting Numbers: [53] 53,44 unequal: No Solution Exploring Operation: 97*44=4268, Resulting Numbers: [4268] 4268,44 unequal: No Solution Exploring Operation: 97+44=141, Resulting Numbers: [141] 141,44 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: 44:[9, 44], Operations: ['97-88=9', '47-3=44'] Exploring Operation: 9+44=53, Resulting Numbers: [53] 53,44 unequal: No Solution Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 9*44=396, Resulting Numbers: [396] 396,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[47, 3], Operations: ['97-88=9', '9/3=3'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[97, 88, 47, 3], Operations: [] Exploring Operation: 97-88=9, Resulting Numbers: [47, 3, 9] Generated Node #0,1: 44:[47, 3, 9] Operation: 97-88=9 Moving to Node #0,1 Current State: 44:[47, 3, 9], Operations: ['97-88=9'] Exploring Operation: 9/3=3, Resulting Numbers: [47, 3] Generated Node #0,1,0: 44:[47, 3] Operation: 9/3=3 Moving to Node #0,1,0 Current State: 44:[47, 3], Operations: ['97-88=9', '9/3=3'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
0.967014
hs_3
mult_heuristic
[ 92, 28, 98, 47 ]
69
[ "92+28=120", "98-47=51", "120-51=69" ]
Current State: 69:[92, 28, 98, 47], Operations: [] Exploring Operation: 92+28=120, Resulting Numbers: [98, 47, 120] Generated Node #2: [98, 47, 120] from Operation: 92+28=120 Current State: 69:[98, 47, 120], Operations: ['92+28=120'] Exploring Operation: 98-47=51, Resulting Numbers: [120, 51] Generated Node #3: [120, 51] from Operation: 98-47=51 Current State: 69:[120, 51], Operations: ['92+28=120', '98-47=51'] Exploring Operation: 120-51=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[92, 28, 98, 47], Operations: [] Exploring Operation: 92-28=64, Resulting Numbers: [98, 47, 64] Generated Node #0,0: 69:[98, 47, 64] Operation: 92-28=64 Exploring Operation: 98-28=70, Resulting Numbers: [92, 47, 70] Generated Node #0,1: 69:[92, 47, 70] Operation: 98-28=70 Exploring Operation: 92-47=45, Resulting Numbers: [28, 98, 45] Generated Node #0,2: 69:[28, 98, 45] Operation: 92-47=45 Exploring Operation: 98-47=51, Resulting Numbers: [92, 28, 51] Generated Node #0,3: 69:[92, 28, 51] Operation: 98-47=51 Exploring Operation: 98-92=6, Resulting Numbers: [28, 47, 6] Generated Node #0,4: 69:[28, 47, 6] Operation: 98-92=6 Moving to Node #0,4 Current State: 69:[28, 47, 6], Operations: ['98-92=6'] Exploring Operation: 28-6=22, Resulting Numbers: [47, 22] Generated Node #0,4,0: 69:[47, 22] Operation: 28-6=22 Exploring Operation: 47-28=19, Resulting Numbers: [6, 19] Generated Node #0,4,1: 69:[6, 19] Operation: 47-28=19 Exploring Operation: 47-6=41, Resulting Numbers: [28, 41] Generated Node #0,4,2: 69:[28, 41] Operation: 47-6=41 Exploring Operation: 28+47=75, Resulting Numbers: [6, 75] Generated Node #0,4,3: 69:[6, 75] Operation: 28+47=75 Exploring Operation: 47+6=53, Resulting Numbers: [28, 53] Generated Node #0,4,4: 69:[28, 53] Operation: 47+6=53 Moving to Node #0,3 Current State: 69:[92, 28, 51], Operations: ['98-47=51'] Exploring Operation: 92+28=120, Resulting Numbers: [51, 120] Generated Node #0,3,0: 69:[51, 120] Operation: 92+28=120 Exploring Operation: 92-28=64, Resulting Numbers: [51, 64] Generated Node #0,3,1: 69:[51, 64] Operation: 92-28=64 Exploring Operation: 92-51=41, Resulting Numbers: [28, 41] Generated Node #0,3,2: 69:[28, 41] Operation: 92-51=41 Exploring Operation: 28+51=79, Resulting Numbers: [92, 79] Generated Node #0,3,3: 69:[92, 79] Operation: 28+51=79 Exploring Operation: 51-28=23, Resulting Numbers: [92, 23] Generated Node #0,3,4: 69:[92, 23] Operation: 51-28=23 Moving to Node #0,1 Current State: 69:[92, 47, 70], Operations: ['98-28=70'] Exploring Operation: 92-47=45, Resulting Numbers: [70, 45] Generated Node #0,1,0: 69:[70, 45] Operation: 92-47=45 Exploring Operation: 70-47=23, Resulting Numbers: [92, 23] Generated Node #0,1,1: 69:[92, 23] Operation: 70-47=23 Exploring Operation: 92-70=22, Resulting Numbers: [47, 22] Generated Node #0,1,2: 69:[47, 22] Operation: 92-70=22 Exploring Operation: 92+47=139, Resulting Numbers: [70, 139] Generated Node #0,1,3: 69:[70, 139] Operation: 92+47=139 Exploring Operation: 47+70=117, Resulting Numbers: [92, 117] Generated Node #0,1,4: 69:[92, 117] Operation: 47+70=117 Moving to Node #0,0 Current State: 69:[98, 47, 64], Operations: ['92-28=64'] Exploring Operation: 98-47=51, Resulting Numbers: [64, 51] Generated Node #0,0,0: 69:[64, 51] Operation: 98-47=51 Exploring Operation: 98-64=34, Resulting Numbers: [47, 34] Generated Node #0,0,1: 69:[47, 34] Operation: 98-64=34 Exploring Operation: 64-47=17, Resulting Numbers: [98, 17] Generated Node #0,0,2: 69:[98, 17] Operation: 64-47=17 Exploring Operation: 47+64=111, Resulting Numbers: [98, 111] Generated Node #0,0,3: 69:[98, 111] Operation: 47+64=111 Exploring Operation: 98+47=145, Resulting Numbers: [64, 145] Generated Node #0,0,4: 69:[64, 145] Operation: 98+47=145 Moving to Node #0,2 Current State: 69:[28, 98, 45], Operations: ['92-47=45'] Exploring Operation: 45-28=17, Resulting Numbers: [98, 17] Generated Node #0,2,0: 69:[98, 17] Operation: 45-28=17 Exploring Operation: 28+98=126, Resulting Numbers: [45, 126] Generated Node #0,2,1: 69:[45, 126] Operation: 28+98=126 Exploring Operation: 98-28=70, Resulting Numbers: [45, 70] Generated Node #0,2,2: 69:[45, 70] Operation: 98-28=70 Exploring Operation: 98-45=53, Resulting Numbers: [28, 53] Generated Node #0,2,3: 69:[28, 53] Operation: 98-45=53 Exploring Operation: 28+45=73, Resulting Numbers: [98, 73] Generated Node #0,2,4: 69:[98, 73] Operation: 28+45=73 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 69:[28, 53], Operations: ['92-47=45', '98-45=53'] Exploring Operation: 28+53=81, Resulting Numbers: [81] 81,69 unequal: No Solution Exploring Operation: 28*53=1484, Resulting Numbers: [1484] 1484,69 unequal: No Solution Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 69:[45, 70], Operations: ['92-47=45', '98-28=70'] Exploring Operation: 45+70=115, Resulting Numbers: [115] 115,69 unequal: No Solution Exploring Operation: 45*70=3150, Resulting Numbers: [3150] 3150,69 unequal: No Solution Exploring Operation: 70-45=25, Resulting Numbers: [25] 25,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 69:[98, 73], Operations: ['92-47=45', '28+45=73'] Exploring Operation: 98*73=7154, Resulting Numbers: [7154] 7154,69 unequal: No Solution Exploring Operation: 98+73=171, Resulting Numbers: [171] 171,69 unequal: No Solution Exploring Operation: 98-73=25, Resulting Numbers: [25] 25,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 69:[98, 17], Operations: ['92-47=45', '45-28=17'] Exploring Operation: 98*17=1666, Resulting Numbers: [1666] 1666,69 unequal: No Solution Exploring Operation: 98-17=81, Resulting Numbers: [81] 81,69 unequal: No Solution Exploring Operation: 98+17=115, Resulting Numbers: [115] 115,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 69:[45, 126], Operations: ['92-47=45', '28+98=126'] Exploring Operation: 45*126=5670, Resulting Numbers: [5670] 5670,69 unequal: No Solution Exploring Operation: 126-45=81, Resulting Numbers: [81] 81,69 unequal: No Solution Exploring Operation: 45+126=171, Resulting Numbers: [171] 171,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,1 Current State: 69:[6, 19], Operations: ['98-92=6', '47-28=19'] Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,69 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,69 unequal: No Solution Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,69 unequal: No Solution Moving to Node #0,4,3 Current State: 69:[6, 75], Operations: ['98-92=6', '28+47=75'] Exploring Operation: 6+75=81, Resulting Numbers: [81] 81,69 unequal: No Solution Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[92, 28, 98, 47], Operations: [] Exploring Operation: 98-92=6, Resulting Numbers: [28, 47, 6] Generated Node #0,4: 69:[28, 47, 6] Operation: 98-92=6 Moving to Node #0,4 Current State: 69:[28, 47, 6], Operations: ['98-92=6'] Exploring Operation: 28+47=75, Resulting Numbers: [6, 75] Generated Node #0,4,3: 69:[6, 75] Operation: 28+47=75 Moving to Node #0,4,3 Current State: 69:[6, 75], Operations: ['98-92=6', '28+47=75'] Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
0.953125
hs_5
mult_heuristic
[ 68, 7, 26, 76 ]
26
[ "68+7=75", "76-75=1", "26*1=26" ]
Current State: 26:[68, 7, 26, 76], Operations: [] Exploring Operation: 68+7=75, Resulting Numbers: [26, 76, 75] Generated Node #2: [26, 76, 75] from Operation: 68+7=75 Current State: 26:[26, 76, 75], Operations: ['68+7=75'] Exploring Operation: 76-75=1, Resulting Numbers: [26, 1] Generated Node #3: [26, 1] from Operation: 76-75=1 Current State: 26:[26, 1], Operations: ['68+7=75', '76-75=1'] Exploring Operation: 26*1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[68, 7, 26, 76], Operations: [] Exploring Operation: 68-26=42, Resulting Numbers: [7, 76, 42] Generated Node #0,0: 26:[7, 76, 42] Operation: 68-26=42 Exploring Operation: 76-68=8, Resulting Numbers: [7, 26, 8] Generated Node #0,1: 26:[7, 26, 8] Operation: 76-68=8 Moving to Node #0,1 Current State: 26:[7, 26, 8], Operations: ['76-68=8'] Exploring Operation: 8-7=1, Resulting Numbers: [26, 1] Generated Node #0,1,0: 26:[26, 1] Operation: 8-7=1 Exploring Operation: 7+8=15, Resulting Numbers: [26, 15] Generated Node #0,1,1: 26:[26, 15] Operation: 7+8=15 Moving to Node #0,0 Current State: 26:[7, 76, 42], Operations: ['68-26=42'] Exploring Operation: 42/7=6, Resulting Numbers: [76, 6] Generated Node #0,0,0: 26:[76, 6] Operation: 42/7=6 Exploring Operation: 76-42=34, Resulting Numbers: [7, 34] Generated Node #0,0,1: 26:[7, 34] Operation: 76-42=34 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 26:[7, 34], Operations: ['68-26=42', '76-42=34'] Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 7+34=41, Resulting Numbers: [41] 41,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:[76, 6], Operations: ['68-26=42', '42/7=6'] Exploring Operation: 76+6=82, Resulting Numbers: [82] 82,26 unequal: No Solution Exploring Operation: 76-6=70, Resulting Numbers: [70] 70,26 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: 26:[26, 1], Operations: ['76-68=8', '8-7=1'] Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[68, 7, 26, 76], Operations: [] Exploring Operation: 76-68=8, Resulting Numbers: [7, 26, 8] Generated Node #0,1: 26:[7, 26, 8] Operation: 76-68=8 Moving to Node #0,1 Current State: 26:[7, 26, 8], Operations: ['76-68=8'] Exploring Operation: 8-7=1, Resulting Numbers: [26, 1] Generated Node #0,1,0: 26:[26, 1] Operation: 8-7=1 Moving to Node #0,1,0 Current State: 26:[26, 1], Operations: ['76-68=8', '8-7=1'] Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 92, 85, 88, 70 ]
11
[ "92-85=7", "88-70=18", "18-7=11" ]
Current State: 11:[92, 85, 88, 70], Operations: [] Exploring Operation: 92-85=7, Resulting Numbers: [88, 70, 7] Generated Node #2: [88, 70, 7] from Operation: 92-85=7 Current State: 11:[88, 70, 7], Operations: ['92-85=7'] Exploring Operation: 88-70=18, Resulting Numbers: [7, 18] Generated Node #3: [7, 18] from Operation: 88-70=18 Current State: 11:[7, 18], Operations: ['92-85=7', '88-70=18'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[92, 85, 88, 70], Operations: [] Exploring Operation: 92-70=22, Resulting Numbers: [85, 88, 22] Generated Node #0,0: 11:[85, 88, 22] Operation: 92-70=22 Exploring Operation: 88-85=3, Resulting Numbers: [92, 70, 3] Generated Node #0,1: 11:[92, 70, 3] Operation: 88-85=3 Exploring Operation: 92-88=4, Resulting Numbers: [85, 70, 4] Generated Node #0,2: 11:[85, 70, 4] Operation: 92-88=4 Exploring Operation: 85-70=15, Resulting Numbers: [92, 88, 15] Generated Node #0,3: 11:[92, 88, 15] Operation: 85-70=15 Exploring Operation: 92-85=7, Resulting Numbers: [88, 70, 7] Generated Node #0,4: 11:[88, 70, 7] Operation: 92-85=7 Moving to Node #0,2 Current State: 11:[85, 70, 4], Operations: ['92-88=4'] Exploring Operation: 85-70=15, Resulting Numbers: [4, 15] Generated Node #0,2,0: 11:[4, 15] Operation: 85-70=15 Exploring Operation: 70+4=74, Resulting Numbers: [85, 74] Generated Node #0,2,1: 11:[85, 74] Operation: 70+4=74 Exploring Operation: 85+4=89, Resulting Numbers: [70, 89] Generated Node #0,2,2: 11:[70, 89] Operation: 85+4=89 Exploring Operation: 70-4=66, Resulting Numbers: [85, 66] Generated Node #0,2,3: 11:[85, 66] Operation: 70-4=66 Exploring Operation: 85-4=81, Resulting Numbers: [70, 81] Generated Node #0,2,4: 11:[70, 81] Operation: 85-4=81 Moving to Node #0,4 Current State: 11:[88, 70, 7], Operations: ['92-85=7'] Exploring Operation: 70-7=63, Resulting Numbers: [88, 63] Generated Node #0,4,0: 11:[88, 63] Operation: 70-7=63 Exploring Operation: 88+7=95, Resulting Numbers: [70, 95] Generated Node #0,4,1: 11:[70, 95] Operation: 88+7=95 Exploring Operation: 70/7=10, Resulting Numbers: [88, 10] Generated Node #0,4,2: 11:[88, 10] Operation: 70/7=10 Exploring Operation: 88-70=18, Resulting Numbers: [7, 18] Generated Node #0,4,3: 11:[7, 18] Operation: 88-70=18 Exploring Operation: 88-7=81, Resulting Numbers: [70, 81] Generated Node #0,4,4: 11:[70, 81] Operation: 88-7=81 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 11:[7, 18], Operations: ['92-85=7', '88-70=18'] Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,11 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[92, 85, 88, 70], Operations: [] Exploring Operation: 92-85=7, Resulting Numbers: [88, 70, 7] Generated Node #0,4: 11:[88, 70, 7] Operation: 92-85=7 Moving to Node #0,4 Current State: 11:[88, 70, 7], Operations: ['92-85=7'] Exploring Operation: 88-70=18, Resulting Numbers: [7, 18] Generated Node #0,4,3: 11:[7, 18] Operation: 88-70=18 Moving to Node #0,4,3 Current State: 11:[7, 18], Operations: ['92-85=7', '88-70=18'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 25, 86, 43, 74 ]
47
[ "74-25=49", "86/43=2", "49-2=47" ]
Current State: 47:[25, 86, 43, 74], Operations: [] Exploring Operation: 74-25=49, Resulting Numbers: [86, 43, 49] Generated Node #2: [86, 43, 49] from Operation: 74-25=49 Current State: 47:[86, 43, 49], Operations: ['74-25=49'] Exploring Operation: 86/43=2, Resulting Numbers: [49, 2] Generated Node #3: [49, 2] from Operation: 86/43=2 Current State: 47:[49, 2], Operations: ['74-25=49', '86/43=2'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[25, 86, 43, 74], Operations: [] Exploring Operation: 86-25=61, Resulting Numbers: [43, 74, 61] Generated Node #0,0: 47:[43, 74, 61] Operation: 86-25=61 Exploring Operation: 86-74=12, Resulting Numbers: [25, 43, 12] Generated Node #0,1: 47:[25, 43, 12] Operation: 86-74=12 Exploring Operation: 74-25=49, Resulting Numbers: [86, 43, 49] Generated Node #0,2: 47:[86, 43, 49] Operation: 74-25=49 Exploring Operation: 86-43=43, Resulting Numbers: [25, 74, 43] Generated Node #0,3: 47:[25, 74, 43] Operation: 86-43=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[43, 74, 61], Operations: ['86-25=61'] Exploring Operation: 61-43=18, Resulting Numbers: [74, 18] Generated Node #0,0,0: 47:[74, 18] Operation: 61-43=18 Exploring Operation: 74-43=31, Resulting Numbers: [61, 31] Generated Node #0,0,1: 47:[61, 31] Operation: 74-43=31 Exploring Operation: 74-61=13, Resulting Numbers: [43, 13] Generated Node #0,0,2: 47:[43, 13] Operation: 74-61=13 Exploring Operation: 43+74=117, Resulting Numbers: [61, 117] Generated Node #0,0,3: 47:[61, 117] Operation: 43+74=117 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[61, 31], Operations: ['86-25=61', '74-43=31'] Exploring Operation: 61+31=92, Resulting Numbers: [92] 92,47 unequal: No Solution Exploring Operation: 61-31=30, Resulting Numbers: [30] 30,47 unequal: No Solution Exploring Operation: 61*31=1891, Resulting Numbers: [1891] 1891,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 47:[43, 13], Operations: ['86-25=61', '74-61=13'] Exploring Operation: 43*13=559, Resulting Numbers: [559] 559,47 unequal: No Solution Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,47 unequal: No Solution Exploring Operation: 43+13=56, Resulting Numbers: [56] 56,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[74, 18], Operations: ['86-25=61', '61-43=18'] Exploring Operation: 74*18=1332, Resulting Numbers: [1332] 1332,47 unequal: No Solution Exploring Operation: 74-18=56, Resulting Numbers: [56] 56,47 unequal: No Solution Exploring Operation: 74+18=92, Resulting Numbers: [92] 92,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 47:[61, 117], Operations: ['86-25=61', '43+74=117'] Exploring Operation: 61+117=178, Resulting Numbers: [178] 178,47 unequal: No Solution Exploring Operation: 117-61=56, Resulting Numbers: [56] 56,47 unequal: No Solution Exploring Operation: 61*117=7137, Resulting Numbers: [7137] 7137,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[86, 43, 49], Operations: ['74-25=49'] Exploring Operation: 86-49=37, Resulting Numbers: [43, 37] Generated Node #0,2,0: 47:[43, 37] Operation: 86-49=37 Exploring Operation: 86-43=43, Resulting Numbers: [49, 43] Generated Node #0,2,1: 47:[49, 43] Operation: 86-43=43 Exploring Operation: 49-43=6, Resulting Numbers: [86, 6] Generated Node #0,2,2: 47:[86, 6] Operation: 49-43=6 Exploring Operation: 86/43=2, Resulting Numbers: [49, 2] Generated Node #0,2,3: 47:[49, 2] Operation: 86/43=2 Moving to Node #0,2,1 Current State: 47:[49, 43], Operations: ['74-25=49', '86-43=43'] Exploring Operation: 49-43=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 49+43=92, Resulting Numbers: [92] 92,47 unequal: No Solution Exploring Operation: 49*43=2107, Resulting Numbers: [2107] 2107,47 unequal: No Solution Moving to Node #0,2,0 Current State: 47:[43, 37], Operations: ['74-25=49', '86-49=37'] Exploring Operation: 43+37=80, Resulting Numbers: [80] 80,47 unequal: No Solution Exploring Operation: 43*37=1591, Resulting Numbers: [1591] 1591,47 unequal: No Solution Exploring Operation: 43-37=6, Resulting Numbers: [6] 6,47 unequal: No Solution Moving to Node #0,2,3 Current State: 47:[49, 2], Operations: ['74-25=49', '86/43=2'] 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:[25, 86, 43, 74], Operations: [] Exploring Operation: 74-25=49, Resulting Numbers: [86, 43, 49] Generated Node #0,2: 47:[86, 43, 49] Operation: 74-25=49 Moving to Node #0,2 Current State: 47:[86, 43, 49], Operations: ['74-25=49'] Exploring Operation: 86/43=2, Resulting Numbers: [49, 2] Generated Node #0,2,3: 47:[49, 2] Operation: 86/43=2 Moving to Node #0,2,3 Current State: 47:[49, 2], Operations: ['74-25=49', '86/43=2'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_4
sum_heuristic
[ 4, 5, 68, 21 ]
89
[ "5-4=1", "68+21=89", "1*89=89" ]
Current State: 89:[4, 5, 68, 21], Operations: [] Exploring Operation: 5-4=1, Resulting Numbers: [68, 21, 1] Generated Node #2: [68, 21, 1] from Operation: 5-4=1 Current State: 89:[68, 21, 1], Operations: ['5-4=1'] Exploring Operation: 68+21=89, Resulting Numbers: [1, 89] Generated Node #3: [1, 89] from Operation: 68+21=89 Current State: 89:[1, 89], Operations: ['5-4=1', '68+21=89'] Exploring Operation: 1*89=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[4, 5, 68, 21], Operations: [] Exploring Operation: 5*21=105, Resulting Numbers: [4, 68, 105] Generated Node #0,0: 89:[4, 68, 105] Operation: 5*21=105 Exploring Operation: 4*21=84, Resulting Numbers: [5, 68, 84] Generated Node #0,1: 89:[5, 68, 84] Operation: 4*21=84 Moving to Node #0,1 Current State: 89:[5, 68, 84], Operations: ['4*21=84'] Exploring Operation: 5+84=89, Resulting Numbers: [68, 89] Generated Node #0,1,0: 89:[68, 89] Operation: 5+84=89 Exploring Operation: 5+68=73, Resulting Numbers: [84, 73] Generated Node #0,1,1: 89:[84, 73] Operation: 5+68=73 Moving to Node #0,0 Current State: 89:[4, 68, 105], Operations: ['5*21=105'] Exploring Operation: 105-4=101, Resulting Numbers: [68, 101] Generated Node #0,0,0: 89:[68, 101] Operation: 105-4=101 Exploring Operation: 4+68=72, Resulting Numbers: [105, 72] Generated Node #0,0,1: 89:[105, 72] Operation: 4+68=72 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[68, 101], Operations: ['5*21=105', '105-4=101'] Exploring Operation: 101-68=33, Resulting Numbers: [33] 33,89 unequal: No Solution Exploring Operation: 68+101=169, Resulting Numbers: [169] 169,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:[105, 72], Operations: ['5*21=105', '4+68=72'] Exploring Operation: 105+72=177, Resulting Numbers: [177] 177,89 unequal: No Solution Exploring Operation: 105-72=33, Resulting Numbers: [33] 33,89 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: 89:[68, 89], Operations: ['4*21=84', '5+84=89'] Exploring Operation: 68+89=157, Resulting Numbers: [157] 157,89 unequal: No Solution Exploring Operation: 89-68=21, Resulting Numbers: [21] 21,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[84, 73], Operations: ['4*21=84', '5+68=73'] Exploring Operation: 84-73=11, Resulting Numbers: [11] 11,89 unequal: No Solution Exploring Operation: 84+73=157, Resulting Numbers: [157] 157,89 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 48, 37, 66, 48 ]
54
[ "48-37=11", "66/11=6", "48+6=54" ]
Current State: 54:[48, 37, 66, 48], Operations: [] Exploring Operation: 48-37=11, Resulting Numbers: [66, 11] Generated Node #2: [66, 11] from Operation: 48-37=11 Current State: 54:[66, 11], Operations: ['48-37=11'] Exploring Operation: 66/11=6, Resulting Numbers: [6] 6,54 equal: Goal Reached Exploring Operation: 48+6=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[48, 37, 66, 48], Operations: [] Exploring Operation: 66-48=18, Resulting Numbers: [37, 48, 18] Generated Node #0,0: 54:[37, 48, 18] Operation: 66-48=18 Exploring Operation: 66-37=29, Resulting Numbers: [48, 48, 29] Generated Node #0,1: 54:[48, 48, 29] Operation: 66-37=29 Moving to Node #0,1 Current State: 54:[48, 48, 29], Operations: ['66-37=29'] Exploring Operation: 48-48=0, Resulting Numbers: [29, 0] Generated Node #0,1,0: 54:[29, 0] Operation: 48-48=0 Exploring Operation: 48/48=1, Resulting Numbers: [29, 1] Generated Node #0,1,1: 54:[29, 1] Operation: 48/48=1 Moving to Node #0,0 Current State: 54:[37, 48, 18], Operations: ['66-48=18'] Exploring Operation: 37+18=55, Resulting Numbers: [48, 55] Generated Node #0,0,0: 54:[48, 55] Operation: 37+18=55 Exploring Operation: 48-37=11, Resulting Numbers: [18, 11] Generated Node #0,0,1: 54:[18, 11] Operation: 48-37=11 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 54:[18, 11], Operations: ['66-48=18', '48-37=11'] Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,54 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[48, 55], Operations: ['66-48=18', '37+18=55'] Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 48+55=103, Resulting Numbers: [103] 103,54 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: 54:[29, 1], Operations: ['66-37=29', '48/48=1'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,54 unequal: No Solution Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,54 unequal: No Solution Moving to Node #0,1,0 Current State: 54:[29, 0], Operations: ['66-37=29', '48-48=0'] Exploring Operation: 29*0=0, Resulting Numbers: [0] 0,54 unequal: No Solution Exploring Operation: 29+0=29, Resulting Numbers: [29] 29,54 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 43, 95, 38, 32 ]
23
[ "43+95=138", "38-32=6", "138/6=23" ]
Current State: 23:[43, 95, 38, 32], Operations: [] Exploring Operation: 43+95=138, Resulting Numbers: [38, 32, 138] Generated Node #2: [38, 32, 138] from Operation: 43+95=138 Current State: 23:[38, 32, 138], Operations: ['43+95=138'] Exploring Operation: 38-32=6, Resulting Numbers: [138, 6] Generated Node #3: [138, 6] from Operation: 38-32=6 Current State: 23:[138, 6], Operations: ['43+95=138', '38-32=6'] Exploring Operation: 138/6=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[43, 95, 38, 32], Operations: [] Exploring Operation: 95-43=52, Resulting Numbers: [38, 32, 52] Generated Node #0,0: 23:[38, 32, 52] Operation: 95-43=52 Moving to Node #0,0 Current State: 23:[38, 32, 52], Operations: ['95-43=52'] Exploring Operation: 52-38=14, Resulting Numbers: [32, 14] Generated Node #0,0,0: 23:[32, 14] Operation: 52-38=14 Moving to Node #0,0,0 Current State: 23:[32, 14], Operations: ['95-43=52', '52-38=14'] Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,23 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 44, 37, 61, 5 ]
59
[ "44-37=7", "61+5=66", "66-7=59" ]
Current State: 59:[44, 37, 61, 5], Operations: [] Exploring Operation: 44-37=7, Resulting Numbers: [61, 5, 7] Generated Node #2: [61, 5, 7] from Operation: 44-37=7 Current State: 59:[61, 5, 7], Operations: ['44-37=7'] Exploring Operation: 61+5=66, Resulting Numbers: [7, 66] Generated Node #3: [7, 66] from Operation: 61+5=66 Current State: 59:[7, 66], Operations: ['44-37=7', '61+5=66'] Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[44, 37, 61, 5], Operations: [] Exploring Operation: 44+5=49, Resulting Numbers: [37, 61, 49] Generated Node #0,0: 59:[37, 61, 49] Operation: 44+5=49 Exploring Operation: 44-5=39, Resulting Numbers: [37, 61, 39] Generated Node #0,1: 59:[37, 61, 39] Operation: 44-5=39 Exploring Operation: 37-5=32, Resulting Numbers: [44, 61, 32] Generated Node #0,2: 59:[44, 61, 32] Operation: 37-5=32 Exploring Operation: 37+5=42, Resulting Numbers: [44, 61, 42] Generated Node #0,3: 59:[44, 61, 42] Operation: 37+5=42 Exploring Operation: 61-5=56, Resulting Numbers: [44, 37, 56] Generated Node #0,4: 59:[44, 37, 56] Operation: 61-5=56 Moving to Node #0,0 Current State: 59:[37, 61, 49], Operations: ['44+5=49'] Exploring Operation: 61-37=24, Resulting Numbers: [49, 24] Generated Node #0,0,0: 59:[49, 24] Operation: 61-37=24 Exploring Operation: 49-37=12, Resulting Numbers: [61, 12] Generated Node #0,0,1: 59:[61, 12] Operation: 49-37=12 Exploring Operation: 37+61=98, Resulting Numbers: [49, 98] Generated Node #0,0,2: 59:[49, 98] Operation: 37+61=98 Exploring Operation: 61-49=12, Resulting Numbers: [37, 12] Generated Node #0,0,3: 59:[37, 12] Operation: 61-49=12 Exploring Operation: 37+49=86, Resulting Numbers: [61, 86] Generated Node #0,0,4: 59:[61, 86] Operation: 37+49=86 Moving to Node #0,3 Current State: 59:[44, 61, 42], Operations: ['37+5=42'] Exploring Operation: 61-42=19, Resulting Numbers: [44, 19] Generated Node #0,3,0: 59:[44, 19] Operation: 61-42=19 Exploring Operation: 61-44=17, Resulting Numbers: [42, 17] Generated Node #0,3,1: 59:[42, 17] Operation: 61-44=17 Exploring Operation: 44+42=86, Resulting Numbers: [61, 86] Generated Node #0,3,2: 59:[61, 86] Operation: 44+42=86 Exploring Operation: 44-42=2, Resulting Numbers: [61, 2] Generated Node #0,3,3: 59:[61, 2] Operation: 44-42=2 Exploring Operation: 61+42=103, Resulting Numbers: [44, 103] Generated Node #0,3,4: 59:[44, 103] Operation: 61+42=103 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 59:[61, 86], Operations: ['37+5=42', '44+42=86'] Exploring Operation: 86-61=25, Resulting Numbers: [25] 25,59 unequal: No Solution Exploring Operation: 61*86=5246, Resulting Numbers: [5246] 5246,59 unequal: No Solution Exploring Operation: 61+86=147, Resulting Numbers: [147] 147,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 59:[44, 19], Operations: ['37+5=42', '61-42=19'] Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,59 unequal: No Solution Exploring Operation: 44+19=63, Resulting Numbers: [63] 63,59 unequal: No Solution Exploring Operation: 44*19=836, Resulting Numbers: [836] 836,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 59:[42, 17], Operations: ['37+5=42', '61-44=17'] Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,59 unequal: No Solution Exploring Operation: 42*17=714, Resulting Numbers: [714] 714,59 unequal: No Solution Exploring Operation: 42+17=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[44, 37, 61, 5], Operations: [] Exploring Operation: 37+5=42, Resulting Numbers: [44, 61, 42] Generated Node #0,3: 59:[44, 61, 42] Operation: 37+5=42 Moving to Node #0,3 Current State: 59:[44, 61, 42], Operations: ['37+5=42'] Exploring Operation: 61-44=17, Resulting Numbers: [42, 17] Generated Node #0,3,1: 59:[42, 17] Operation: 61-44=17 Moving to Node #0,3,1 Current State: 59:[42, 17], Operations: ['37+5=42', '61-44=17'] Exploring Operation: 42+17=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_5
mult_heuristic
[ 2, 7, 77, 67 ]
54
[ "67-2=65", "77/7=11", "65-11=54" ]
Current State: 54:[2, 7, 77, 67], Operations: [] Exploring Operation: 67-2=65, Resulting Numbers: [7, 77, 65] Generated Node #2: [7, 77, 65] from Operation: 67-2=65 Current State: 54:[7, 77, 65], Operations: ['67-2=65'] Exploring Operation: 77/7=11, Resulting Numbers: [65, 11] Generated Node #3: [65, 11] from Operation: 77/7=11 Current State: 54:[65, 11], Operations: ['67-2=65', '77/7=11'] Exploring Operation: 65-11=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[2, 7, 77, 67], Operations: [] Exploring Operation: 77-67=10, Resulting Numbers: [2, 7, 10] Generated Node #0,0: 54:[2, 7, 10] Operation: 77-67=10 Exploring Operation: 77/7=11, Resulting Numbers: [2, 67, 11] Generated Node #0,1: 54:[2, 67, 11] Operation: 77/7=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[2, 7, 10], Operations: ['77-67=10'] Exploring Operation: 2+7=9, Resulting Numbers: [10, 9] Generated Node #0,0,0: 54:[10, 9] Operation: 2+7=9 Exploring Operation: 10-7=3, Resulting Numbers: [2, 3] Generated Node #0,0,1: 54:[2, 3] Operation: 10-7=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 54:[2, 3], Operations: ['77-67=10', '10-7=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,54 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[10, 9], Operations: ['77-67=10', '2+7=9'] Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,54 unequal: No Solution Exploring Operation: 10+9=19, Resulting Numbers: [19] 19,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[2, 67, 11], Operations: ['77/7=11'] Exploring Operation: 67-2=65, Resulting Numbers: [11, 65] Generated Node #0,1,0: 54:[11, 65] Operation: 67-2=65 Exploring Operation: 67-11=56, Resulting Numbers: [2, 56] Generated Node #0,1,1: 54:[2, 56] Operation: 67-11=56 Moving to Node #0,1,1 Current State: 54:[2, 56], Operations: ['77/7=11', '67-11=56'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,54 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[2, 7, 77, 67], Operations: [] Exploring Operation: 77/7=11, Resulting Numbers: [2, 67, 11] Generated Node #0,1: 54:[2, 67, 11] Operation: 77/7=11 Moving to Node #0,1 Current State: 54:[2, 67, 11], Operations: ['77/7=11'] Exploring Operation: 67-11=56, Resulting Numbers: [2, 56] Generated Node #0,1,1: 54:[2, 56] Operation: 67-11=56 Moving to Node #0,1,1 Current State: 54:[2, 56], Operations: ['77/7=11', '67-11=56'] Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 69, 2, 60, 41 ]
30
[ "69+2=71", "60+41=101", "101-71=30" ]
Current State: 30:[69, 2, 60, 41], Operations: [] Exploring Operation: 69+2=71, Resulting Numbers: [60, 41, 71] Generated Node #2: [60, 41, 71] from Operation: 69+2=71 Current State: 30:[60, 41, 71], Operations: ['69+2=71'] Exploring Operation: 60+41=101, Resulting Numbers: [71, 101] Generated Node #3: [71, 101] from Operation: 60+41=101 Current State: 30:[71, 101], Operations: ['69+2=71', '60+41=101'] Exploring Operation: 101-71=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[69, 2, 60, 41], Operations: [] Exploring Operation: 69-60=9, Resulting Numbers: [2, 41, 9] Generated Node #0,0: 30:[2, 41, 9] Operation: 69-60=9 Moving to Node #0,0 Current State: 30:[2, 41, 9], Operations: ['69-60=9'] Exploring Operation: 41-9=32, Resulting Numbers: [2, 32] Generated Node #0,0,0: 30:[2, 32] Operation: 41-9=32 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[2, 32], Operations: ['69-60=9', '41-9=32'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[69, 2, 60, 41], Operations: [] Exploring Operation: 69-60=9, Resulting Numbers: [2, 41, 9] Generated Node #0,0: 30:[2, 41, 9] Operation: 69-60=9 Moving to Node #0,0 Current State: 30:[2, 41, 9], Operations: ['69-60=9'] Exploring Operation: 41-9=32, Resulting Numbers: [2, 32] Generated Node #0,0,0: 30:[2, 32] Operation: 41-9=32 Moving to Node #0,0,0 Current State: 30:[2, 32], Operations: ['69-60=9', '41-9=32'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 29, 31, 71, 23 ]
25
[ "31-29=2", "23*2=46", "71-46=25" ]
Current State: 25:[29, 31, 71, 23], Operations: [] Exploring Operation: 31-29=2, Resulting Numbers: [71, 23, 2] Generated Node #2: [71, 23, 2] from Operation: 31-29=2 Current State: 25:[71, 23, 2], Operations: ['31-29=2'] Exploring Operation: 23*2=46, Resulting Numbers: [71, 46] Generated Node #3: [71, 46] from Operation: 23*2=46 Current State: 25:[71, 46], Operations: ['31-29=2', '23*2=46'] Exploring Operation: 71-46=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[29, 31, 71, 23], Operations: [] Exploring Operation: 31-29=2, Resulting Numbers: [71, 23, 2] Generated Node #0,0: 25:[71, 23, 2] Operation: 31-29=2 Exploring Operation: 71-23=48, Resulting Numbers: [29, 31, 48] Generated Node #0,1: 25:[29, 31, 48] Operation: 71-23=48 Exploring Operation: 29-23=6, Resulting Numbers: [31, 71, 6] Generated Node #0,2: 25:[31, 71, 6] Operation: 29-23=6 Exploring Operation: 71-31=40, Resulting Numbers: [29, 23, 40] Generated Node #0,3: 25:[29, 23, 40] Operation: 71-31=40 Exploring Operation: 71-29=42, Resulting Numbers: [31, 23, 42] Generated Node #0,4: 25:[31, 23, 42] Operation: 71-29=42 Start Sub Search at level 1: Moving to Node #0,3 Current State: 25:[29, 23, 40], Operations: ['71-31=40'] Exploring Operation: 23+40=63, Resulting Numbers: [29, 63] Generated Node #0,3,0: 25:[29, 63] Operation: 23+40=63 Exploring Operation: 40-29=11, Resulting Numbers: [23, 11] Generated Node #0,3,1: 25:[23, 11] Operation: 40-29=11 Exploring Operation: 40-23=17, Resulting Numbers: [29, 17] Generated Node #0,3,2: 25:[29, 17] Operation: 40-23=17 Exploring Operation: 29+23=52, Resulting Numbers: [40, 52] Generated Node #0,3,3: 25:[40, 52] Operation: 29+23=52 Exploring Operation: 29-23=6, Resulting Numbers: [40, 6] Generated Node #0,3,4: 25:[40, 6] Operation: 29-23=6 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 25:[23, 11], Operations: ['71-31=40', '40-29=11'] Exploring Operation: 23*11=253, Resulting Numbers: [253] 253,25 unequal: No Solution Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 23+11=34, Resulting Numbers: [34] 34,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 25:[29, 17], Operations: ['71-31=40', '40-23=17'] Exploring Operation: 29*17=493, Resulting Numbers: [493] 493,25 unequal: No Solution Exploring Operation: 29+17=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 29-17=12, Resulting Numbers: [12] 12,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 25:[40, 6], Operations: ['71-31=40', '29-23=6'] Exploring Operation: 40*6=240, Resulting Numbers: [240] 240,25 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,25 unequal: No Solution Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 25:[29, 63], Operations: ['71-31=40', '23+40=63'] Exploring Operation: 29+63=92, Resulting Numbers: [92] 92,25 unequal: No Solution Exploring Operation: 63-29=34, Resulting Numbers: [34] 34,25 unequal: No Solution Exploring Operation: 29*63=1827, Resulting Numbers: [1827] 1827,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 25:[40, 52], Operations: ['71-31=40', '29+23=52'] Exploring Operation: 40*52=2080, Resulting Numbers: [2080] 2080,25 unequal: No Solution Exploring Operation: 40+52=92, Resulting Numbers: [92] 92,25 unequal: No Solution Exploring Operation: 52-40=12, Resulting Numbers: [12] 12,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 25:[31, 23, 42], Operations: ['71-29=42'] Exploring Operation: 42-31=11, Resulting Numbers: [23, 11] Generated Node #0,4,0: 25:[23, 11] Operation: 42-31=11 Exploring Operation: 42-23=19, Resulting Numbers: [31, 19] Generated Node #0,4,1: 25:[31, 19] Operation: 42-23=19 Exploring Operation: 31-23=8, Resulting Numbers: [42, 8] Generated Node #0,4,2: 25:[42, 8] Operation: 31-23=8 Exploring Operation: 31+23=54, Resulting Numbers: [42, 54] Generated Node #0,4,3: 25:[42, 54] Operation: 31+23=54 Exploring Operation: 23+42=65, Resulting Numbers: [31, 65] Generated Node #0,4,4: 25:[31, 65] Operation: 23+42=65 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 25:[23, 11], Operations: ['71-29=42', '42-31=11'] Exploring Operation: 23*11=253, Resulting Numbers: [253] 253,25 unequal: No Solution Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 23+11=34, Resulting Numbers: [34] 34,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 25:[31, 19], Operations: ['71-29=42', '42-23=19'] Exploring Operation: 31+19=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 31*19=589, Resulting Numbers: [589] 589,25 unequal: No Solution Exploring Operation: 31-19=12, Resulting Numbers: [12] 12,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 25:[42, 8], Operations: ['71-29=42', '31-23=8'] Exploring Operation: 42+8=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 42*8=336, Resulting Numbers: [336] 336,25 unequal: No Solution Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 25:[42, 54], Operations: ['71-29=42', '31+23=54'] Exploring Operation: 54-42=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 42*54=2268, Resulting Numbers: [2268] 2268,25 unequal: No Solution Exploring Operation: 42+54=96, Resulting Numbers: [96] 96,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 25:[31, 65], Operations: ['71-29=42', '23+42=65'] Exploring Operation: 31*65=2015, Resulting Numbers: [2015] 2015,25 unequal: No Solution Exploring Operation: 31+65=96, Resulting Numbers: [96] 96,25 unequal: No Solution Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[29, 31, 48], Operations: ['71-23=48'] Exploring Operation: 48-29=19, Resulting Numbers: [31, 19] Generated Node #0,1,0: 25:[31, 19] Operation: 48-29=19 Exploring Operation: 29+48=77, Resulting Numbers: [31, 77] Generated Node #0,1,1: 25:[31, 77] Operation: 29+48=77 Exploring Operation: 31-29=2, Resulting Numbers: [48, 2] Generated Node #0,1,2: 25:[48, 2] Operation: 31-29=2 Exploring Operation: 48-31=17, Resulting Numbers: [29, 17] Generated Node #0,1,3: 25:[29, 17] Operation: 48-31=17 Exploring Operation: 29+31=60, Resulting Numbers: [48, 60] Generated Node #0,1,4: 25:[48, 60] Operation: 29+31=60 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 25:[31, 19], Operations: ['71-23=48', '48-29=19'] Exploring Operation: 31*19=589, Resulting Numbers: [589] 589,25 unequal: No Solution Exploring Operation: 31+19=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 31-19=12, Resulting Numbers: [12] 12,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 25:[29, 17], Operations: ['71-23=48', '48-31=17'] Exploring Operation: 29+17=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 29-17=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 29*17=493, Resulting Numbers: [493] 493,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 25:[48, 2], Operations: ['71-23=48', '31-29=2'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,25 unequal: No Solution Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 25:[31, 77], Operations: ['71-23=48', '29+48=77'] Exploring Operation: 77-31=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 31+77=108, Resulting Numbers: [108] 108,25 unequal: No Solution Exploring Operation: 31*77=2387, Resulting Numbers: [2387] 2387,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 25:[48, 60], Operations: ['71-23=48', '29+31=60'] Exploring Operation: 60-48=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 48+60=108, Resulting Numbers: [108] 108,25 unequal: No Solution Exploring Operation: 48*60=2880, Resulting Numbers: [2880] 2880,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[71, 23, 2], Operations: ['31-29=2'] Exploring Operation: 23-2=21, Resulting Numbers: [71, 21] Generated Node #0,0,0: 25:[71, 21] Operation: 23-2=21 Exploring Operation: 71-23=48, Resulting Numbers: [2, 48] Generated Node #0,0,1: 25:[2, 48] Operation: 71-23=48 Exploring Operation: 71-2=69, Resulting Numbers: [23, 69] Generated Node #0,0,2: 25:[23, 69] Operation: 71-2=69 Exploring Operation: 23+2=25, Resulting Numbers: [71, 25] Generated Node #0,0,3: 25:[71, 25] Operation: 23+2=25 Exploring Operation: 71+2=73, Resulting Numbers: [23, 73] Generated Node #0,0,4: 25:[23, 73] Operation: 71+2=73 Moving to Node #0,0,1 Current State: 25:[2, 48], Operations: ['31-29=2', '71-23=48'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,25 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,25 unequal: No Solution Moving to Node #0,0,3 Current State: 25:[71, 25], Operations: ['31-29=2', '23+2=25'] Exploring Operation: 71*25=1775, Resulting Numbers: [1775] 1775,25 unequal: No Solution Exploring Operation: 71-25=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 71+25=96, Resulting Numbers: [96] 96,25 unequal: No Solution Moving to Node #0,0,2 Current State: 25:[23, 69], Operations: ['31-29=2', '71-2=69'] Exploring Operation: 69/23=3, Resulting Numbers: [3] 3,25 unequal: No Solution Exploring Operation: 69-23=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 23+69=92, Resulting Numbers: [92] 92,25 unequal: No Solution Exploring Operation: 23*69=1587, Resulting Numbers: [1587] 1587,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[71, 21], Operations: ['31-29=2', '23-2=21'] Exploring Operation: 71*21=1491, Resulting Numbers: [1491] 1491,25 unequal: No Solution Exploring Operation: 71-21=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 71+21=92, Resulting Numbers: [92] 92,25 unequal: No Solution Moving to Node #0,0,4 Current State: 25:[23, 73], Operations: ['31-29=2', '71+2=73'] Exploring Operation: 23*73=1679, Resulting Numbers: [1679] 1679,25 unequal: No Solution Exploring Operation: 23+73=96, Resulting Numbers: [96] 96,25 unequal: No Solution Exploring Operation: 73-23=50, Resulting Numbers: [50] 50,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[31, 71, 6], Operations: ['29-23=6'] Exploring Operation: 31+6=37, Resulting Numbers: [71, 37] Generated Node #0,2,0: 25:[71, 37] Operation: 31+6=37 Exploring Operation: 71-31=40, Resulting Numbers: [6, 40] Generated Node #0,2,1: 25:[6, 40] Operation: 71-31=40 Exploring Operation: 31-6=25, Resulting Numbers: [71, 25] Generated Node #0,2,2: 25:[71, 25] Operation: 31-6=25 Exploring Operation: 71-6=65, Resulting Numbers: [31, 65] Generated Node #0,2,3: 25:[31, 65] Operation: 71-6=65 Exploring Operation: 71+6=77, Resulting Numbers: [31, 77] Generated Node #0,2,4: 25:[31, 77] Operation: 71+6=77 Moving to Node #0,2,1 Current State: 25:[6, 40], Operations: ['29-23=6', '71-31=40'] Exploring Operation: 6+40=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,25 unequal: No Solution Exploring Operation: 6*40=240, Resulting Numbers: [240] 240,25 unequal: No Solution Moving to Node #0,2,3 Current State: 25:[31, 65], Operations: ['29-23=6', '71-6=65'] Exploring Operation: 31+65=96, Resulting Numbers: [96] 96,25 unequal: No Solution Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,25 unequal: No Solution Exploring Operation: 31*65=2015, Resulting Numbers: [2015] 2015,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[71, 25], Operations: ['29-23=6', '31-6=25'] Exploring Operation: 71-25=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 71+25=96, Resulting Numbers: [96] 96,25 unequal: No Solution Exploring Operation: 71*25=1775, Resulting Numbers: [1775] 1775,25 unequal: No Solution Moving to Node #0,2,0 Current State: 25:[71, 37], Operations: ['29-23=6', '31+6=37'] Exploring Operation: 71+37=108, Resulting Numbers: [108] 108,25 unequal: No Solution Exploring Operation: 71*37=2627, Resulting Numbers: [2627] 2627,25 unequal: No Solution Exploring Operation: 71-37=34, Resulting Numbers: [34] 34,25 unequal: No Solution Moving to Node #0,2,4 Current State: 25:[31, 77], Operations: ['29-23=6', '71+6=77'] Exploring Operation: 31+77=108, Resulting Numbers: [108] 108,25 unequal: No Solution Exploring Operation: 77-31=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 31*77=2387, Resulting Numbers: [2387] 2387,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 17, 3, 82, 2 ]
59
[ "82-17=65", "3*2=6", "65-6=59" ]
Current State: 59:[17, 3, 82, 2], Operations: [] Exploring Operation: 82-17=65, Resulting Numbers: [3, 2, 65] Generated Node #2: [3, 2, 65] from Operation: 82-17=65 Current State: 59:[3, 2, 65], Operations: ['82-17=65'] Exploring Operation: 3*2=6, Resulting Numbers: [65, 6] Generated Node #3: [65, 6] from Operation: 3*2=6 Current State: 59:[65, 6], Operations: ['82-17=65', '3*2=6'] Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[17, 3, 82, 2], Operations: [] Exploring Operation: 17*3=51, Resulting Numbers: [82, 2, 51] Generated Node #0,0: 59:[82, 2, 51] Operation: 17*3=51 Moving to Node #0,0 Current State: 59:[82, 2, 51], Operations: ['17*3=51'] Exploring Operation: 82/2=41, Resulting Numbers: [51, 41] Generated Node #0,0,0: 59:[51, 41] Operation: 82/2=41 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[51, 41], Operations: ['17*3=51', '82/2=41'] Exploring Operation: 51+41=92, Resulting Numbers: [92] 92,59 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
[ 11, 49, 49, 72 ]
84
[ "11+72=83", "49/49=1", "83+1=84" ]
Current State: 84:[11, 49, 49, 72], Operations: [] Exploring Operation: 11+72=83, Resulting Numbers: [49, 49, 83] Generated Node #2: [49, 49, 83] from Operation: 11+72=83 Current State: 84:[49, 49, 83], Operations: ['11+72=83'] Exploring Operation: 49/49=1, Resulting Numbers: [83, 1] Generated Node #3: [83, 1] from Operation: 49/49=1 Current State: 84:[83, 1], Operations: ['11+72=83', '49/49=1'] Exploring Operation: 83+1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[11, 49, 49, 72], Operations: [] Exploring Operation: 72-49=23, Resulting Numbers: [11, 49, 23] Generated Node #0,0: 84:[11, 49, 23] Operation: 72-49=23 Exploring Operation: 72-49=23, Resulting Numbers: [11, 49, 23] Generated Node #0,1: 84:[11, 49, 23] Operation: 72-49=23 Moving to Node #0,0 Current State: 84:[11, 49, 23], Operations: ['72-49=23'] Exploring Operation: 49-11=38, Resulting Numbers: [23, 38] Generated Node #0,0,0: 84:[23, 38] Operation: 49-11=38 Exploring Operation: 49-23=26, Resulting Numbers: [11, 26] Generated Node #0,0,1: 84:[11, 26] Operation: 49-23=26 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 84:[11, 26], Operations: ['72-49=23', '49-23=26'] Exploring Operation: 11+26=37, Resulting Numbers: [37] 37,84 unequal: No Solution Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[23, 38], Operations: ['72-49=23', '49-11=38'] Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,84 unequal: No Solution Exploring Operation: 23+38=61, Resulting Numbers: [61] 61,84 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: 84:[11, 49, 23], Operations: ['72-49=23'] Exploring Operation: 49-11=38, Resulting Numbers: [23, 38] Generated Node #0,1,0: 84:[23, 38] Operation: 49-11=38 Exploring Operation: 49-23=26, Resulting Numbers: [11, 26] Generated Node #0,1,1: 84:[11, 26] Operation: 49-23=26 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 84:[11, 26], Operations: ['72-49=23', '49-23=26'] Exploring Operation: 11+26=37, Resulting Numbers: [37] 37,84 unequal: No Solution Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 84:[23, 38], Operations: ['72-49=23', '49-11=38'] Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,84 unequal: No Solution Exploring Operation: 23+38=61, Resulting Numbers: [61] 61,84 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, 90, 72, 13 ]
78
[ "2+13=15", "90/15=6", "72+6=78" ]
Current State: 78:[2, 90, 72, 13], Operations: [] Exploring Operation: 2+13=15, Resulting Numbers: [90, 72, 15] Generated Node #2: [90, 72, 15] from Operation: 2+13=15 Current State: 78:[90, 72, 15], Operations: ['2+13=15'] Exploring Operation: 90/15=6, Resulting Numbers: [72, 6] Generated Node #3: [72, 6] from Operation: 90/15=6 Current State: 78:[72, 6], Operations: ['2+13=15', '90/15=6'] Exploring Operation: 72+6=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[2, 90, 72, 13], Operations: [] Exploring Operation: 90-13=77, Resulting Numbers: [2, 72, 77] Generated Node #0,0: 78:[2, 72, 77] Operation: 90-13=77 Exploring Operation: 90/2=45, Resulting Numbers: [72, 13, 45] Generated Node #0,1: 78:[72, 13, 45] Operation: 90/2=45 Exploring Operation: 90-72=18, Resulting Numbers: [2, 13, 18] Generated Node #0,2: 78:[2, 13, 18] Operation: 90-72=18 Moving to Node #0,2 Current State: 78:[2, 13, 18], Operations: ['90-72=18'] Exploring Operation: 18-2=16, Resulting Numbers: [13, 16] Generated Node #0,2,0: 78:[13, 16] Operation: 18-2=16 Exploring Operation: 2*18=36, Resulting Numbers: [13, 36] Generated Node #0,2,1: 78:[13, 36] Operation: 2*18=36 Exploring Operation: 18-13=5, Resulting Numbers: [2, 5] Generated Node #0,2,2: 78:[2, 5] Operation: 18-13=5 Moving to Node #0,0 Current State: 78:[2, 72, 77], Operations: ['90-13=77'] Exploring Operation: 72/2=36, Resulting Numbers: [77, 36] Generated Node #0,0,0: 78:[77, 36] Operation: 72/2=36 Exploring Operation: 77-72=5, Resulting Numbers: [2, 5] Generated Node #0,0,1: 78:[2, 5] Operation: 77-72=5 Exploring Operation: 2+72=74, Resulting Numbers: [77, 74] Generated Node #0,0,2: 78:[77, 74] Operation: 2+72=74 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 78:[2, 5], Operations: ['90-13=77', '77-72=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,78 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,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,0 Current State: 78:[77, 36], Operations: ['90-13=77', '72/2=36'] Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,78 unequal: No Solution Exploring Operation: 77*36=2772, Resulting Numbers: [2772] 2772,78 unequal: No Solution Exploring Operation: 77+36=113, Resulting Numbers: [113] 113,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,2 Current State: 78:[77, 74], Operations: ['90-13=77', '2+72=74'] Exploring Operation: 77-74=3, Resulting Numbers: [3] 3,78 unequal: No Solution Exploring Operation: 77*74=5698, Resulting Numbers: [5698] 5698,78 unequal: No Solution Exploring Operation: 77+74=151, Resulting Numbers: [151] 151,78 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: 78:[72, 13, 45], Operations: ['90/2=45'] Exploring Operation: 45-13=32, Resulting Numbers: [72, 32] Generated Node #0,1,0: 78:[72, 32] Operation: 45-13=32 Exploring Operation: 72-45=27, Resulting Numbers: [13, 27] Generated Node #0,1,1: 78:[13, 27] Operation: 72-45=27 Exploring Operation: 72+13=85, Resulting Numbers: [45, 85] Generated Node #0,1,2: 78:[45, 85] Operation: 72+13=85 Moving to Node #0,2,2 Current State: 78:[2, 5], Operations: ['90-72=18', '18-13=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,78 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[13, 27], Operations: ['90/2=45', '72-45=27'] Exploring Operation: 13*27=351, Resulting Numbers: [351] 351,78 unequal: No Solution Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,78 unequal: No Solution Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,78 unequal: No Solution Moving to Node #0,2,1 Current State: 78:[13, 36], Operations: ['90-72=18', '2*18=36'] Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,78 unequal: No Solution Exploring Operation: 13*36=468, Resulting Numbers: [468] 468,78 unequal: No Solution Exploring Operation: 13+36=49, Resulting Numbers: [49] 49,78 unequal: No Solution Moving to Node #0,2,0 Current State: 78:[13, 16], Operations: ['90-72=18', '18-2=16'] Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,78 unequal: No Solution Exploring Operation: 13*16=208, Resulting Numbers: [208] 208,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[72, 32], Operations: ['90/2=45', '45-13=32'] Exploring Operation: 72-32=40, Resulting Numbers: [40] 40,78 unequal: No Solution Exploring Operation: 72+32=104, Resulting Numbers: [104] 104,78 unequal: No Solution Exploring Operation: 72*32=2304, Resulting Numbers: [2304] 2304,78 unequal: No Solution Moving to Node #0,1,2 Current State: 78:[45, 85], Operations: ['90/2=45', '72+13=85'] Exploring Operation: 45*85=3825, Resulting Numbers: [3825] 3825,78 unequal: No Solution Exploring Operation: 85-45=40, Resulting Numbers: [40] 40,78 unequal: No Solution Exploring Operation: 45+85=130, Resulting Numbers: [130] 130,78 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 45, 41, 45, 93 ]
87
[ "45-41=4", "45*4=180", "180-93=87" ]
Current State: 87:[45, 41, 45, 93], Operations: [] Exploring Operation: 45-41=4, Resulting Numbers: [93, 4] Generated Node #2: [93, 4] from Operation: 45-41=4 Current State: 87:[93, 4], Operations: ['45-41=4'] Exploring Operation: 45*4=180, Resulting Numbers: [93, 180] Generated Node #3: [93, 180] from Operation: 45*4=180 Current State: 87:[93, 180], Operations: ['45-41=4', '45*4=180'] Exploring Operation: 180-93=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[45, 41, 45, 93], Operations: [] Exploring Operation: 45/45=1, Resulting Numbers: [41, 93, 1] Generated Node #0,0: 87:[41, 93, 1] Operation: 45/45=1 Exploring Operation: 45+45=90, Resulting Numbers: [41, 93, 90] Generated Node #0,1: 87:[41, 93, 90] Operation: 45+45=90 Exploring Operation: 45-45=0, Resulting Numbers: [41, 93, 0] Generated Node #0,2: 87:[41, 93, 0] Operation: 45-45=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[41, 93, 1], Operations: ['45/45=1'] Exploring Operation: 41-1=40, Resulting Numbers: [93, 40] Generated Node #0,0,0: 87:[93, 40] Operation: 41-1=40 Exploring Operation: 41*1=41, Resulting Numbers: [93, 41] Generated Node #0,0,1: 87:[93, 41] Operation: 41*1=41 Exploring Operation: 93-1=92, Resulting Numbers: [41, 92] Generated Node #0,0,2: 87:[41, 92] Operation: 93-1=92 Moving to Node #0,0,0 Current State: 87:[93, 40], Operations: ['45/45=1', '41-1=40'] Exploring Operation: 93-40=53, Resulting Numbers: [53] 53,87 unequal: No Solution Exploring Operation: 93+40=133, Resulting Numbers: [133] 133,87 unequal: No Solution Exploring Operation: 93*40=3720, Resulting Numbers: [3720] 3720,87 unequal: No Solution Moving to Node #0,0,2 Current State: 87:[41, 92], Operations: ['45/45=1', '93-1=92'] Exploring Operation: 41*92=3772, Resulting Numbers: [3772] 3772,87 unequal: No Solution Exploring Operation: 41+92=133, Resulting Numbers: [133] 133,87 unequal: No Solution Exploring Operation: 92-41=51, Resulting Numbers: [51] 51,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[93, 41], Operations: ['45/45=1', '41*1=41'] Exploring Operation: 93+41=134, Resulting Numbers: [134] 134,87 unequal: No Solution Exploring Operation: 93-41=52, Resulting Numbers: [52] 52,87 unequal: No Solution Exploring Operation: 93*41=3813, Resulting Numbers: [3813] 3813,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[41, 93, 90], Operations: ['45+45=90'] Exploring Operation: 93-41=52, Resulting Numbers: [90, 52] Generated Node #0,1,0: 87:[90, 52] Operation: 93-41=52 Exploring Operation: 93-90=3, Resulting Numbers: [41, 3] Generated Node #0,1,1: 87:[41, 3] Operation: 93-90=3 Exploring Operation: 90-41=49, Resulting Numbers: [93, 49] Generated Node #0,1,2: 87:[93, 49] Operation: 90-41=49 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 87:[41, 3], Operations: ['45+45=90', '93-90=3'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,87 unequal: No Solution Exploring Operation: 41*3=123, Resulting Numbers: [123] 123,87 unequal: No Solution Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 87:[90, 52], Operations: ['45+45=90', '93-41=52'] Exploring Operation: 90+52=142, Resulting Numbers: [142] 142,87 unequal: No Solution Exploring Operation: 90*52=4680, Resulting Numbers: [4680] 4680,87 unequal: No Solution Exploring Operation: 90-52=38, Resulting Numbers: [38] 38,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 87:[93, 49], Operations: ['45+45=90', '90-41=49'] Exploring Operation: 93-49=44, Resulting Numbers: [44] 44,87 unequal: No Solution Exploring Operation: 93+49=142, Resulting Numbers: [142] 142,87 unequal: No Solution Exploring Operation: 93*49=4557, Resulting Numbers: [4557] 4557,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[41, 93, 0], Operations: ['45-45=0'] Exploring Operation: 41*0=0, Resulting Numbers: [93, 0] Generated Node #0,2,0: 87:[93, 0] Operation: 41*0=0 Exploring Operation: 41+0=41, Resulting Numbers: [93, 41] Generated Node #0,2,1: 87:[93, 41] Operation: 41+0=41 Exploring Operation: 93*0=0, Resulting Numbers: [41, 0] Generated Node #0,2,2: 87:[41, 0] Operation: 93*0=0 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 87:[93, 0], Operations: ['45-45=0', '41*0=0'] Exploring Operation: 93-0=93, Resulting Numbers: [93] 93,87 unequal: No Solution Exploring Operation: 93+0=93, Resulting Numbers: [93] 93,87 unequal: No Solution Exploring Operation: 93*0=0, Resulting Numbers: [0] 0,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 87:[41, 0], Operations: ['45-45=0', '93*0=0'] Exploring Operation: 41-0=41, Resulting Numbers: [41] 41,87 unequal: No Solution Exploring Operation: 41+0=41, Resulting Numbers: [41] 41,87 unequal: No Solution Exploring Operation: 41*0=0, Resulting Numbers: [0] 0,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 87:[93, 41], Operations: ['45-45=0', '41+0=41'] Exploring Operation: 93+41=134, Resulting Numbers: [134] 134,87 unequal: No Solution Exploring Operation: 93*41=3813, Resulting Numbers: [3813] 3813,87 unequal: No Solution Exploring Operation: 93-41=52, Resulting Numbers: [52] 52,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 20, 35, 23, 21 ]
99
[ "20+35=55", "23+21=44", "55+44=99" ]
Current State: 99:[20, 35, 23, 21], Operations: [] Exploring Operation: 20+35=55, Resulting Numbers: [23, 21, 55] Generated Node #2: [23, 21, 55] from Operation: 20+35=55 Current State: 99:[23, 21, 55], Operations: ['20+35=55'] Exploring Operation: 23+21=44, Resulting Numbers: [55, 44] Generated Node #3: [55, 44] from Operation: 23+21=44 Current State: 99:[55, 44], Operations: ['20+35=55', '23+21=44'] Exploring Operation: 55+44=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[20, 35, 23, 21], Operations: [] Exploring Operation: 23-20=3, Resulting Numbers: [35, 21, 3] Generated Node #0,0: 99:[35, 21, 3] Operation: 23-20=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[35, 21, 3], Operations: ['23-20=3'] Exploring Operation: 35-21=14, Resulting Numbers: [3, 14] Generated Node #0,0,0: 99:[3, 14] Operation: 35-21=14 Moving to Node #0,0,0 Current State: 99:[3, 14], Operations: ['23-20=3', '35-21=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 2, 82, 1, 6 ]
74
[ "82-2=80", "1*6=6", "80-6=74" ]
Current State: 74:[2, 82, 1, 6], Operations: [] Exploring Operation: 82-2=80, Resulting Numbers: [1, 6, 80] Generated Node #2: [1, 6, 80] from Operation: 82-2=80 Current State: 74:[1, 6, 80], Operations: ['82-2=80'] Exploring Operation: 1*6=6, Resulting Numbers: [80, 6] Generated Node #3: [80, 6] from Operation: 1*6=6 Current State: 74:[80, 6], Operations: ['82-2=80', '1*6=6'] Exploring Operation: 80-6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[2, 82, 1, 6], Operations: [] Exploring Operation: 6-2=4, Resulting Numbers: [82, 1, 4] Generated Node #0,0: 74:[82, 1, 4] Operation: 6-2=4 Exploring Operation: 82-2=80, Resulting Numbers: [1, 6, 80] Generated Node #0,1: 74:[1, 6, 80] Operation: 82-2=80 Exploring Operation: 82-6=76, Resulting Numbers: [2, 1, 76] Generated Node #0,2: 74:[2, 1, 76] Operation: 82-6=76 Exploring Operation: 82/2=41, Resulting Numbers: [1, 6, 41] Generated Node #0,3: 74:[1, 6, 41] Operation: 82/2=41 Exploring Operation: 6/2=3, Resulting Numbers: [82, 1, 3] Generated Node #0,4: 74:[82, 1, 3] Operation: 6/2=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[2, 1, 76], Operations: ['82-6=76'] Exploring Operation: 2*1=2, Resulting Numbers: [76, 2] Generated Node #0,2,0: 74:[76, 2] Operation: 2*1=2 Exploring Operation: 76/2=38, Resulting Numbers: [1, 38] Generated Node #0,2,1: 74:[1, 38] Operation: 76/2=38 Exploring Operation: 76-1=75, Resulting Numbers: [2, 75] Generated Node #0,2,2: 74:[2, 75] Operation: 76-1=75 Exploring Operation: 2/1=2, Resulting Numbers: [76, 2] Generated Node #0,2,3: 74:[76, 2] Operation: 2/1=2 Exploring Operation: 76-2=74, Resulting Numbers: [1, 74] Generated Node #0,2,4: 74:[1, 74] Operation: 76-2=74 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 74:[2, 75], Operations: ['82-6=76', '76-1=75'] Exploring Operation: 2*75=150, Resulting Numbers: [150] 150,74 unequal: No Solution Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,74 unequal: No Solution Exploring Operation: 2+75=77, Resulting Numbers: [77] 77,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 74:[1, 74], Operations: ['82-6=76', '76-2=74'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,74 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[2, 82, 1, 6], Operations: [] Exploring Operation: 82-6=76, Resulting Numbers: [2, 1, 76] Generated Node #0,2: 74:[2, 1, 76] Operation: 82-6=76 Moving to Node #0,2 Current State: 74:[2, 1, 76], Operations: ['82-6=76'] Exploring Operation: 76-2=74, Resulting Numbers: [1, 74] Generated Node #0,2,4: 74:[1, 74] Operation: 76-2=74 Moving to Node #0,2,4 Current State: 74:[1, 74], Operations: ['82-6=76', '76-2=74'] Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 1, 5, 11, 4 ]
80
[ "1+11=12", "4+12=16", "5*16=80" ]
Current State: 80:[1, 5, 11, 4], Operations: [] Exploring Operation: 1+11=12, Resulting Numbers: [5, 4, 12] Generated Node #2: [5, 4, 12] from Operation: 1+11=12 Current State: 80:[5, 4, 12], Operations: ['1+11=12'] Exploring Operation: 4+12=16, Resulting Numbers: [5, 16] Generated Node #3: [5, 16] from Operation: 4+12=16 Current State: 80:[5, 16], Operations: ['1+11=12', '4+12=16'] Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[1, 5, 11, 4], Operations: [] Exploring Operation: 11-1=10, Resulting Numbers: [5, 4, 10] Generated Node #0,0: 80:[5, 4, 10] Operation: 11-1=10 Exploring Operation: 5-1=4, Resulting Numbers: [11, 4, 4] Generated Node #0,1: 80:[11, 4, 4] Operation: 5-1=4 Exploring Operation: 1*5=5, Resulting Numbers: [11, 4, 5] Generated Node #0,2: 80:[11, 4, 5] Operation: 1*5=5 Moving to Node #0,0 Current State: 80:[5, 4, 10], Operations: ['11-1=10'] Exploring Operation: 5*4=20, Resulting Numbers: [10, 20] Generated Node #0,0,0: 80:[10, 20] Operation: 5*4=20 Exploring Operation: 10/5=2, Resulting Numbers: [4, 2] Generated Node #0,0,1: 80:[4, 2] Operation: 10/5=2 Exploring Operation: 10-5=5, Resulting Numbers: [4, 5] Generated Node #0,0,2: 80:[4, 5] Operation: 10-5=5 Moving to Node #0,1 Current State: 80:[11, 4, 4], Operations: ['5-1=4'] Exploring Operation: 11+4=15, Resulting Numbers: [4, 15] Generated Node #0,1,0: 80:[4, 15] Operation: 11+4=15 Exploring Operation: 11+4=15, Resulting Numbers: [4, 15] Generated Node #0,1,1: 80:[4, 15] Operation: 11+4=15 Exploring Operation: 11-4=7, Resulting Numbers: [4, 7] Generated Node #0,1,2: 80:[4, 7] Operation: 11-4=7 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[4, 15], Operations: ['5-1=4', '11+4=15'] Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,80 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,80 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[4, 15], Operations: ['5-1=4', '11+4=15'] Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,80 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,80 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 80:[4, 7], Operations: ['5-1=4', '11-4=7'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,80 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,80 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: 80:[11, 4, 5], Operations: ['1*5=5'] Exploring Operation: 11+4=15, Resulting Numbers: [5, 15] Generated Node #0,2,0: 80:[5, 15] Operation: 11+4=15 Exploring Operation: 11-4=7, Resulting Numbers: [5, 7] Generated Node #0,2,1: 80:[5, 7] Operation: 11-4=7 Exploring Operation: 11+5=16, Resulting Numbers: [4, 16] Generated Node #0,2,2: 80:[4, 16] Operation: 11+5=16 Moving to Node #0,0,0 Current State: 80:[10, 20], Operations: ['11-1=10', '5*4=20'] Exploring Operation: 10+20=30, Resulting Numbers: [30] 30,80 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[4, 5], Operations: ['11-1=10', '10-5=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[4, 2], Operations: ['11-1=10', '10/5=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,80 unequal: No Solution Moving to Node #0,2,2 Current State: 80:[4, 16], Operations: ['1*5=5', '11+5=16'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,80 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,80 unequal: No Solution Moving to Node #0,2,0 Current State: 80:[5, 15], Operations: ['1*5=5', '11+4=15'] Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[5, 7], Operations: ['1*5=5', '11-4=7'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,80 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 58, 90, 36, 99 ]
85
[ "58+90=148", "99-36=63", "148-63=85" ]
Current State: 85:[58, 90, 36, 99], Operations: [] Exploring Operation: 58+90=148, Resulting Numbers: [36, 99, 148] Generated Node #2: [36, 99, 148] from Operation: 58+90=148 Current State: 85:[36, 99, 148], Operations: ['58+90=148'] Exploring Operation: 99-36=63, Resulting Numbers: [148, 63] Generated Node #3: [148, 63] from Operation: 99-36=63 Current State: 85:[148, 63], Operations: ['58+90=148', '99-36=63'] Exploring Operation: 148-63=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[58, 90, 36, 99], Operations: [] Exploring Operation: 99-58=41, Resulting Numbers: [90, 36, 41] Generated Node #0,0: 85:[90, 36, 41] Operation: 99-58=41 Exploring Operation: 99-90=9, Resulting Numbers: [58, 36, 9] Generated Node #0,1: 85:[58, 36, 9] Operation: 99-90=9 Exploring Operation: 58-36=22, Resulting Numbers: [90, 99, 22] Generated Node #0,2: 85:[90, 99, 22] Operation: 58-36=22 Exploring Operation: 90-58=32, Resulting Numbers: [36, 99, 32] Generated Node #0,3: 85:[36, 99, 32] Operation: 90-58=32 Exploring Operation: 58+36=94, Resulting Numbers: [90, 99, 94] Generated Node #0,4: 85:[90, 99, 94] Operation: 58+36=94 Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[90, 99, 22], Operations: ['58-36=22'] Exploring Operation: 90+22=112, Resulting Numbers: [99, 112] Generated Node #0,2,0: 85:[99, 112] Operation: 90+22=112 Exploring Operation: 99-22=77, Resulting Numbers: [90, 77] Generated Node #0,2,1: 85:[90, 77] Operation: 99-22=77 Exploring Operation: 99+22=121, Resulting Numbers: [90, 121] Generated Node #0,2,2: 85:[90, 121] Operation: 99+22=121 Exploring Operation: 99-90=9, Resulting Numbers: [22, 9] Generated Node #0,2,3: 85:[22, 9] Operation: 99-90=9 Exploring Operation: 90-22=68, Resulting Numbers: [99, 68] Generated Node #0,2,4: 85:[99, 68] Operation: 90-22=68 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 85:[22, 9], Operations: ['58-36=22', '99-90=9'] Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,85 unequal: No Solution Exploring Operation: 22+9=31, Resulting Numbers: [31] 31,85 unequal: No Solution Exploring Operation: 22*9=198, Resulting Numbers: [198] 198,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 85:[90, 77], Operations: ['58-36=22', '99-22=77'] Exploring Operation: 90*77=6930, Resulting Numbers: [6930] 6930,85 unequal: No Solution Exploring Operation: 90-77=13, Resulting Numbers: [13] 13,85 unequal: No Solution Exploring Operation: 90+77=167, Resulting Numbers: [167] 167,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 85:[99, 68], Operations: ['58-36=22', '90-22=68'] Exploring Operation: 99+68=167, Resulting Numbers: [167] 167,85 unequal: No Solution Exploring Operation: 99-68=31, Resulting Numbers: [31] 31,85 unequal: No Solution Exploring Operation: 99*68=6732, Resulting Numbers: [6732] 6732,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 85:[99, 112], Operations: ['58-36=22', '90+22=112'] Exploring Operation: 99+112=211, Resulting Numbers: [211] 211,85 unequal: No Solution Exploring Operation: 99*112=11088, Resulting Numbers: [11088] 11088,85 unequal: No Solution Exploring Operation: 112-99=13, Resulting Numbers: [13] 13,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 85:[90, 121], Operations: ['58-36=22', '99+22=121'] Exploring Operation: 121-90=31, Resulting Numbers: [31] 31,85 unequal: No Solution Exploring Operation: 90*121=10890, Resulting Numbers: [10890] 10890,85 unequal: No Solution Exploring Operation: 90+121=211, Resulting Numbers: [211] 211,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 85:[90, 99, 94], Operations: ['58+36=94'] Exploring Operation: 99-90=9, Resulting Numbers: [94, 9] Generated Node #0,4,0: 85:[94, 9] Operation: 99-90=9 Exploring Operation: 90+94=184, Resulting Numbers: [99, 184] Generated Node #0,4,1: 85:[99, 184] Operation: 90+94=184 Exploring Operation: 94-90=4, Resulting Numbers: [99, 4] Generated Node #0,4,2: 85:[99, 4] Operation: 94-90=4 Exploring Operation: 90+99=189, Resulting Numbers: [94, 189] Generated Node #0,4,3: 85:[94, 189] Operation: 90+99=189 Exploring Operation: 99-94=5, Resulting Numbers: [90, 5] Generated Node #0,4,4: 85:[90, 5] Operation: 99-94=5 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 85:[90, 5], Operations: ['58+36=94', '99-94=5'] Exploring Operation: 90+5=95, Resulting Numbers: [95] 95,85 unequal: No Solution Exploring Operation: 90*5=450, Resulting Numbers: [450] 450,85 unequal: No Solution Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,85 unequal: No Solution Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[58, 90, 36, 99], Operations: [] Exploring Operation: 58+36=94, Resulting Numbers: [90, 99, 94] Generated Node #0,4: 85:[90, 99, 94] Operation: 58+36=94 Moving to Node #0,4 Current State: 85:[90, 99, 94], Operations: ['58+36=94'] Exploring Operation: 99-94=5, Resulting Numbers: [90, 5] Generated Node #0,4,4: 85:[90, 5] Operation: 99-94=5 Moving to Node #0,4,4 Current State: 85:[90, 5], Operations: ['58+36=94', '99-94=5'] Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967014
hs_5
sum_heuristic