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
[ 29, 61, 21, 85 ]
74
[ "61-29=32", "21+85=106", "106-32=74" ]
Current State: 74:[29, 61, 21, 85], Operations: [] Exploring Operation: 61-29=32, Resulting Numbers: [21, 85, 32] Generated Node #2: [21, 85, 32] from Operation: 61-29=32 Current State: 74:[21, 85, 32], Operations: ['61-29=32'] Exploring Operation: 21+85=106, Resulting Numbers: [32, 106] Generated Node #3: [32, 106] from Operation: 21+85=106 Current State: 74:[32, 106], Operations: ['61-29=32', '21+85=106'] Exploring Operation: 106-32=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[29, 61, 21, 85], Operations: [] Exploring Operation: 29-21=8, Resulting Numbers: [61, 85, 8] Generated Node #0,0: 74:[61, 85, 8] Operation: 29-21=8 Exploring Operation: 61-21=40, Resulting Numbers: [29, 85, 40] Generated Node #0,1: 74:[29, 85, 40] Operation: 61-21=40 Exploring Operation: 61+21=82, Resulting Numbers: [29, 85, 82] Generated Node #0,2: 74:[29, 85, 82] Operation: 61+21=82 Exploring Operation: 85-21=64, Resulting Numbers: [29, 61, 64] Generated Node #0,3: 74:[29, 61, 64] Operation: 85-21=64 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[29, 85, 40], Operations: ['61-21=40'] Exploring Operation: 85-29=56, Resulting Numbers: [40, 56] Generated Node #0,1,0: 74:[40, 56] Operation: 85-29=56 Exploring Operation: 85-40=45, Resulting Numbers: [29, 45] Generated Node #0,1,1: 74:[29, 45] Operation: 85-40=45 Exploring Operation: 40-29=11, Resulting Numbers: [85, 11] Generated Node #0,1,2: 74:[85, 11] Operation: 40-29=11 Exploring Operation: 29+40=69, Resulting Numbers: [85, 69] Generated Node #0,1,3: 74:[85, 69] Operation: 29+40=69 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 74:[29, 45], Operations: ['61-21=40', '85-40=45'] Exploring Operation: 29+45=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[29, 61, 21, 85], Operations: [] Exploring Operation: 61-21=40, Resulting Numbers: [29, 85, 40] Generated Node #0,1: 74:[29, 85, 40] Operation: 61-21=40 Moving to Node #0,1 Current State: 74:[29, 85, 40], Operations: ['61-21=40'] Exploring Operation: 85-40=45, Resulting Numbers: [29, 45] Generated Node #0,1,1: 74:[29, 45] Operation: 85-40=45 Moving to Node #0,1,1 Current State: 74:[29, 45], Operations: ['61-21=40', '85-40=45'] Exploring Operation: 29+45=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 81, 48, 1, 18 ]
50
[ "81-48=33", "18-1=17", "33+17=50" ]
Current State: 50:[81, 48, 1, 18], Operations: [] Exploring Operation: 81-48=33, Resulting Numbers: [1, 18, 33] Generated Node #2: [1, 18, 33] from Operation: 81-48=33 Current State: 50:[1, 18, 33], Operations: ['81-48=33'] Exploring Operation: 18-1=17, Resulting Numbers: [33, 17] Generated Node #3: [33, 17] from Operation: 18-1=17 Current State: 50:[33, 17], Operations: ['81-48=33', '18-1=17'] Exploring Operation: 33+17=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[81, 48, 1, 18], Operations: [] Exploring Operation: 48+1=49, Resulting Numbers: [81, 18, 49] Generated Node #0,0: 50:[81, 18, 49] Operation: 48+1=49 Exploring Operation: 81-48=33, Resulting Numbers: [1, 18, 33] Generated Node #0,1: 50:[1, 18, 33] Operation: 81-48=33 Exploring Operation: 81-1=80, Resulting Numbers: [48, 18, 80] Generated Node #0,2: 50:[48, 18, 80] Operation: 81-1=80 Exploring Operation: 48-18=30, Resulting Numbers: [81, 1, 30] Generated Node #0,3: 50:[81, 1, 30] Operation: 48-18=30 Exploring Operation: 81-18=63, Resulting Numbers: [48, 1, 63] Generated Node #0,4: 50:[48, 1, 63] Operation: 81-18=63 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[1, 18, 33], Operations: ['81-48=33'] Exploring Operation: 18+33=51, Resulting Numbers: [1, 51] Generated Node #0,1,0: 50:[1, 51] Operation: 18+33=51 Exploring Operation: 1*18=18, Resulting Numbers: [33, 18] Generated Node #0,1,1: 50:[33, 18] Operation: 1*18=18 Exploring Operation: 1+18=19, Resulting Numbers: [33, 19] Generated Node #0,1,2: 50:[33, 19] Operation: 1+18=19 Exploring Operation: 33-18=15, Resulting Numbers: [1, 15] Generated Node #0,1,3: 50:[1, 15] Operation: 33-18=15 Exploring Operation: 33-1=32, Resulting Numbers: [18, 32] Generated Node #0,1,4: 50:[18, 32] Operation: 33-1=32 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 50:[1, 51], Operations: ['81-48=33', '18+33=51'] Exploring Operation: 1*51=51, Resulting Numbers: [51] 51,50 unequal: No Solution Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[81, 48, 1, 18], Operations: [] Exploring Operation: 81-48=33, Resulting Numbers: [1, 18, 33] Generated Node #0,1: 50:[1, 18, 33] Operation: 81-48=33 Moving to Node #0,1 Current State: 50:[1, 18, 33], Operations: ['81-48=33'] Exploring Operation: 18+33=51, Resulting Numbers: [1, 51] Generated Node #0,1,0: 50:[1, 51] Operation: 18+33=51 Moving to Node #0,1,0 Current State: 50:[1, 51], Operations: ['81-48=33', '18+33=51'] Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 2, 30, 53, 40 ]
65
[ "30-2=28", "53+40=93", "93-28=65" ]
Current State: 65:[2, 30, 53, 40], Operations: [] Exploring Operation: 30-2=28, Resulting Numbers: [53, 40, 28] Generated Node #2: [53, 40, 28] from Operation: 30-2=28 Current State: 65:[53, 40, 28], Operations: ['30-2=28'] Exploring Operation: 53+40=93, Resulting Numbers: [28, 93] Generated Node #3: [28, 93] from Operation: 53+40=93 Current State: 65:[28, 93], Operations: ['30-2=28', '53+40=93'] Exploring Operation: 93-28=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[2, 30, 53, 40], Operations: [] Exploring Operation: 30+40=70, Resulting Numbers: [2, 53, 70] Generated Node #0,0: 65:[2, 53, 70] Operation: 30+40=70 Exploring Operation: 53-40=13, Resulting Numbers: [2, 30, 13] Generated Node #0,1: 65:[2, 30, 13] Operation: 53-40=13 Exploring Operation: 40/2=20, Resulting Numbers: [30, 53, 20] Generated Node #0,2: 65:[30, 53, 20] Operation: 40/2=20 Exploring Operation: 40-30=10, Resulting Numbers: [2, 53, 10] Generated Node #0,3: 65:[2, 53, 10] Operation: 40-30=10 Moving to Node #0,3 Current State: 65:[2, 53, 10], Operations: ['40-30=10'] Exploring Operation: 53+10=63, Resulting Numbers: [2, 63] Generated Node #0,3,0: 65:[2, 63] Operation: 53+10=63 Exploring Operation: 2+53=55, Resulting Numbers: [10, 55] Generated Node #0,3,1: 65:[10, 55] Operation: 2+53=55 Exploring Operation: 10/2=5, Resulting Numbers: [53, 5] Generated Node #0,3,2: 65:[53, 5] Operation: 10/2=5 Exploring Operation: 2+10=12, Resulting Numbers: [53, 12] Generated Node #0,3,3: 65:[53, 12] Operation: 2+10=12 Moving to Node #0,1 Current State: 65:[2, 30, 13], Operations: ['53-40=13'] Exploring Operation: 2*30=60, Resulting Numbers: [13, 60] Generated Node #0,1,0: 65:[13, 60] Operation: 2*30=60 Exploring Operation: 30-13=17, Resulting Numbers: [2, 17] Generated Node #0,1,1: 65:[2, 17] Operation: 30-13=17 Exploring Operation: 30/2=15, Resulting Numbers: [13, 15] Generated Node #0,1,2: 65:[13, 15] Operation: 30/2=15 Exploring Operation: 30-2=28, Resulting Numbers: [13, 28] Generated Node #0,1,3: 65:[13, 28] Operation: 30-2=28 Moving to Node #0,0 Current State: 65:[2, 53, 70], Operations: ['30+40=70'] Exploring Operation: 2+53=55, Resulting Numbers: [70, 55] Generated Node #0,0,0: 65:[70, 55] Operation: 2+53=55 Exploring Operation: 53-2=51, Resulting Numbers: [70, 51] Generated Node #0,0,1: 65:[70, 51] Operation: 53-2=51 Exploring Operation: 70-2=68, Resulting Numbers: [53, 68] Generated Node #0,0,2: 65:[53, 68] Operation: 70-2=68 Exploring Operation: 70-53=17, Resulting Numbers: [2, 17] Generated Node #0,0,3: 65:[2, 17] Operation: 70-53=17 Moving to Node #0,2 Current State: 65:[30, 53, 20], Operations: ['40/2=20'] Exploring Operation: 30-20=10, Resulting Numbers: [53, 10] Generated Node #0,2,0: 65:[53, 10] Operation: 30-20=10 Exploring Operation: 53+20=73, Resulting Numbers: [30, 73] Generated Node #0,2,1: 65:[30, 73] Operation: 53+20=73 Exploring Operation: 30+53=83, Resulting Numbers: [20, 83] Generated Node #0,2,2: 65:[20, 83] Operation: 30+53=83 Exploring Operation: 53-30=23, Resulting Numbers: [20, 23] Generated Node #0,2,3: 65:[20, 23] Operation: 53-30=23 Moving to Node #0,1,2 Current State: 65:[13, 15], Operations: ['53-40=13', '30/2=15'] Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 13+15=28, Resulting Numbers: [28] 28,65 unequal: No Solution Exploring Operation: 13*15=195, Resulting Numbers: [195] 195,65 unequal: No Solution Moving to Node #0,1,0 Current State: 65:[13, 60], Operations: ['53-40=13', '2*30=60'] Exploring Operation: 13+60=73, Resulting Numbers: [73] 73,65 unequal: No Solution Exploring Operation: 13*60=780, Resulting Numbers: [780] 780,65 unequal: No Solution Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,65 unequal: No Solution Moving to Node #0,3,0 Current State: 65:[2, 63], Operations: ['40-30=10', '53+10=63'] Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,65 unequal: No Solution Exploring Operation: 2+63=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[2, 30, 53, 40], Operations: [] Exploring Operation: 40-30=10, Resulting Numbers: [2, 53, 10] Generated Node #0,3: 65:[2, 53, 10] Operation: 40-30=10 Moving to Node #0,3 Current State: 65:[2, 53, 10], Operations: ['40-30=10'] Exploring Operation: 53+10=63, Resulting Numbers: [2, 63] Generated Node #0,3,0: 65:[2, 63] Operation: 53+10=63 Moving to Node #0,3,0 Current State: 65:[2, 63], Operations: ['40-30=10', '53+10=63'] Exploring Operation: 2+63=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
0.972222
hs_4
sum_heuristic
[ 63, 54, 28, 22 ]
67
[ "63+54=117", "28+22=50", "117-50=67" ]
Current State: 67:[63, 54, 28, 22], Operations: [] Exploring Operation: 63+54=117, Resulting Numbers: [28, 22, 117] Generated Node #2: [28, 22, 117] from Operation: 63+54=117 Current State: 67:[28, 22, 117], Operations: ['63+54=117'] Exploring Operation: 28+22=50, Resulting Numbers: [117, 50] Generated Node #3: [117, 50] from Operation: 28+22=50 Current State: 67:[117, 50], Operations: ['63+54=117', '28+22=50'] Exploring Operation: 117-50=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[63, 54, 28, 22], Operations: [] Exploring Operation: 63+22=85, Resulting Numbers: [54, 28, 85] Generated Node #0,0: 67:[54, 28, 85] Operation: 63+22=85 Exploring Operation: 54+28=82, Resulting Numbers: [63, 22, 82] Generated Node #0,1: 67:[63, 22, 82] Operation: 54+28=82 Exploring Operation: 54+22=76, Resulting Numbers: [63, 28, 76] Generated Node #0,2: 67:[63, 28, 76] Operation: 54+22=76 Exploring Operation: 28+22=50, Resulting Numbers: [63, 54, 50] Generated Node #0,3: 67:[63, 54, 50] Operation: 28+22=50 Exploring Operation: 63-22=41, Resulting Numbers: [54, 28, 41] Generated Node #0,4: 67:[54, 28, 41] Operation: 63-22=41 Moving to Node #0,3 Current State: 67:[63, 54, 50], Operations: ['28+22=50'] Exploring Operation: 63+50=113, Resulting Numbers: [54, 113] Generated Node #0,3,0: 67:[54, 113] Operation: 63+50=113 Exploring Operation: 63-50=13, Resulting Numbers: [54, 13] Generated Node #0,3,1: 67:[54, 13] Operation: 63-50=13 Exploring Operation: 54+50=104, Resulting Numbers: [63, 104] Generated Node #0,3,2: 67:[63, 104] Operation: 54+50=104 Exploring Operation: 63+54=117, Resulting Numbers: [50, 117] Generated Node #0,3,3: 67:[50, 117] Operation: 63+54=117 Exploring Operation: 54-50=4, Resulting Numbers: [63, 4] Generated Node #0,3,4: 67:[63, 4] Operation: 54-50=4 Moving to Node #0,2 Current State: 67:[63, 28, 76], Operations: ['54+22=76'] Exploring Operation: 76-28=48, Resulting Numbers: [63, 48] Generated Node #0,2,0: 67:[63, 48] Operation: 76-28=48 Exploring Operation: 76-63=13, Resulting Numbers: [28, 13] Generated Node #0,2,1: 67:[28, 13] Operation: 76-63=13 Exploring Operation: 63+28=91, Resulting Numbers: [76, 91] Generated Node #0,2,2: 67:[76, 91] Operation: 63+28=91 Exploring Operation: 28+76=104, Resulting Numbers: [63, 104] Generated Node #0,2,3: 67:[63, 104] Operation: 28+76=104 Exploring Operation: 63-28=35, Resulting Numbers: [76, 35] Generated Node #0,2,4: 67:[76, 35] Operation: 63-28=35 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 67:[63, 48], Operations: ['54+22=76', '76-28=48'] Exploring Operation: 63+48=111, Resulting Numbers: [111] 111,67 unequal: No Solution Exploring Operation: 63-48=15, Resulting Numbers: [15] 15,67 unequal: No Solution Exploring Operation: 63*48=3024, Resulting Numbers: [3024] 3024,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 67:[76, 91], Operations: ['54+22=76', '63+28=91'] Exploring Operation: 91-76=15, Resulting Numbers: [15] 15,67 unequal: No Solution Exploring Operation: 76*91=6916, Resulting Numbers: [6916] 6916,67 unequal: No Solution Exploring Operation: 76+91=167, Resulting Numbers: [167] 167,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 67:[63, 104], Operations: ['54+22=76', '28+76=104'] Exploring Operation: 63+104=167, Resulting Numbers: [167] 167,67 unequal: No Solution Exploring Operation: 63*104=6552, Resulting Numbers: [6552] 6552,67 unequal: No Solution Exploring Operation: 104-63=41, Resulting Numbers: [41] 41,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 67:[76, 35], Operations: ['54+22=76', '63-28=35'] Exploring Operation: 76*35=2660, Resulting Numbers: [2660] 2660,67 unequal: No Solution Exploring Operation: 76-35=41, Resulting Numbers: [41] 41,67 unequal: No Solution Exploring Operation: 76+35=111, Resulting Numbers: [111] 111,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 67:[28, 13], Operations: ['54+22=76', '76-63=13'] Exploring Operation: 28+13=41, Resulting Numbers: [41] 41,67 unequal: No Solution Exploring Operation: 28*13=364, Resulting Numbers: [364] 364,67 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 67:[63, 22, 82], Operations: ['54+28=82'] Exploring Operation: 82-22=60, Resulting Numbers: [63, 60] Generated Node #0,1,0: 67:[63, 60] Operation: 82-22=60 Exploring Operation: 63+22=85, Resulting Numbers: [82, 85] Generated Node #0,1,1: 67:[82, 85] Operation: 63+22=85 Exploring Operation: 22+82=104, Resulting Numbers: [63, 104] Generated Node #0,1,2: 67:[63, 104] Operation: 22+82=104 Exploring Operation: 63-22=41, Resulting Numbers: [82, 41] Generated Node #0,1,3: 67:[82, 41] Operation: 63-22=41 Exploring Operation: 82-63=19, Resulting Numbers: [22, 19] Generated Node #0,1,4: 67:[22, 19] Operation: 82-63=19 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[63, 60], Operations: ['54+28=82', '82-22=60'] Exploring Operation: 63+60=123, Resulting Numbers: [123] 123,67 unequal: No Solution Exploring Operation: 63*60=3780, Resulting Numbers: [3780] 3780,67 unequal: No Solution Exploring Operation: 63-60=3, Resulting Numbers: [3] 3,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 67:[82, 85], Operations: ['54+28=82', '63+22=85'] Exploring Operation: 82+85=167, Resulting Numbers: [167] 167,67 unequal: No Solution Exploring Operation: 82*85=6970, Resulting Numbers: [6970] 6970,67 unequal: No Solution Exploring Operation: 85-82=3, Resulting Numbers: [3] 3,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 67:[63, 104], Operations: ['54+28=82', '22+82=104'] Exploring Operation: 63*104=6552, Resulting Numbers: [6552] 6552,67 unequal: No Solution Exploring Operation: 104-63=41, Resulting Numbers: [41] 41,67 unequal: No Solution Exploring Operation: 63+104=167, Resulting Numbers: [167] 167,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 67:[82, 41], Operations: ['54+28=82', '63-22=41'] Exploring Operation: 82-41=41, Resulting Numbers: [41] 41,67 unequal: No Solution Exploring Operation: 82/41=2, Resulting Numbers: [2] 2,67 unequal: No Solution Exploring Operation: 82+41=123, Resulting Numbers: [123] 123,67 unequal: No Solution Exploring Operation: 82*41=3362, Resulting Numbers: [3362] 3362,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 67:[22, 19], Operations: ['54+28=82', '82-63=19'] Exploring Operation: 22+19=41, Resulting Numbers: [41] 41,67 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 22*19=418, Resulting Numbers: [418] 418,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 67:[54, 28, 85], Operations: ['63+22=85'] Exploring Operation: 54-28=26, Resulting Numbers: [85, 26] Generated Node #0,0,0: 67:[85, 26] Operation: 54-28=26 Exploring Operation: 85-28=57, Resulting Numbers: [54, 57] Generated Node #0,0,1: 67:[54, 57] Operation: 85-28=57 Exploring Operation: 85-54=31, Resulting Numbers: [28, 31] Generated Node #0,0,2: 67:[28, 31] Operation: 85-54=31 Exploring Operation: 54+28=82, Resulting Numbers: [85, 82] Generated Node #0,0,3: 67:[85, 82] Operation: 54+28=82 Exploring Operation: 28+85=113, Resulting Numbers: [54, 113] Generated Node #0,0,4: 67:[54, 113] Operation: 28+85=113 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[54, 57], Operations: ['63+22=85', '85-28=57'] Exploring Operation: 54*57=3078, Resulting Numbers: [3078] 3078,67 unequal: No Solution Exploring Operation: 54+57=111, Resulting Numbers: [111] 111,67 unequal: No Solution Exploring Operation: 57-54=3, Resulting Numbers: [3] 3,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 67:[85, 82], Operations: ['63+22=85', '54+28=82'] Exploring Operation: 85*82=6970, Resulting Numbers: [6970] 6970,67 unequal: No Solution Exploring Operation: 85-82=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 85+82=167, Resulting Numbers: [167] 167,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[85, 26], Operations: ['63+22=85', '54-28=26'] Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,67 unequal: No Solution Exploring Operation: 85*26=2210, Resulting Numbers: [2210] 2210,67 unequal: No Solution Exploring Operation: 85+26=111, Resulting Numbers: [111] 111,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 67:[54, 113], Operations: ['63+22=85', '28+85=113'] Exploring Operation: 54*113=6102, Resulting Numbers: [6102] 6102,67 unequal: No Solution Exploring Operation: 54+113=167, Resulting Numbers: [167] 167,67 unequal: No Solution Exploring Operation: 113-54=59, Resulting Numbers: [59] 59,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 67:[28, 31], Operations: ['63+22=85', '85-54=31'] Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 28+31=59, Resulting Numbers: [59] 59,67 unequal: No Solution Exploring Operation: 28*31=868, Resulting Numbers: [868] 868,67 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: 67:[54, 28, 41], Operations: ['63-22=41'] Exploring Operation: 41-28=13, Resulting Numbers: [54, 13] Generated Node #0,4,0: 67:[54, 13] Operation: 41-28=13 Exploring Operation: 54+41=95, Resulting Numbers: [28, 95] Generated Node #0,4,1: 67:[28, 95] Operation: 54+41=95 Exploring Operation: 54-28=26, Resulting Numbers: [41, 26] Generated Node #0,4,2: 67:[41, 26] Operation: 54-28=26 Exploring Operation: 28+41=69, Resulting Numbers: [54, 69] Generated Node #0,4,3: 67:[54, 69] Operation: 28+41=69 Exploring Operation: 54+28=82, Resulting Numbers: [41, 82] Generated Node #0,4,4: 67:[41, 82] Operation: 54+28=82 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 67:[54, 69], Operations: ['63-22=41', '28+41=69'] Exploring Operation: 54+69=123, Resulting Numbers: [123] 123,67 unequal: No Solution Exploring Operation: 69-54=15, Resulting Numbers: [15] 15,67 unequal: No Solution Exploring Operation: 54*69=3726, Resulting Numbers: [3726] 3726,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 67:[41, 82], Operations: ['63-22=41', '54+28=82'] Exploring Operation: 82-41=41, Resulting Numbers: [41] 41,67 unequal: No Solution Exploring Operation: 82/41=2, Resulting Numbers: [2] 2,67 unequal: No Solution Exploring Operation: 41+82=123, Resulting Numbers: [123] 123,67 unequal: No Solution Exploring Operation: 41*82=3362, Resulting Numbers: [3362] 3362,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 67:[54, 13], Operations: ['63-22=41', '41-28=13'] Exploring Operation: 54*13=702, Resulting Numbers: [702] 702,67 unequal: No Solution Exploring Operation: 54+13=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[63, 54, 28, 22], Operations: [] Exploring Operation: 63-22=41, Resulting Numbers: [54, 28, 41] Generated Node #0,4: 67:[54, 28, 41] Operation: 63-22=41 Moving to Node #0,4 Current State: 67:[54, 28, 41], Operations: ['63-22=41'] Exploring Operation: 41-28=13, Resulting Numbers: [54, 13] Generated Node #0,4,0: 67:[54, 13] Operation: 41-28=13 Moving to Node #0,4,0 Current State: 67:[54, 13], Operations: ['63-22=41', '41-28=13'] Exploring Operation: 54+13=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.922743
hs_5
sum_heuristic
[ 65, 63, 25, 15 ]
69
[ "65+25=90", "90/15=6", "63+6=69" ]
Current State: 69:[65, 63, 25, 15], Operations: [] Exploring Operation: 65+25=90, Resulting Numbers: [63, 15, 90] Generated Node #2: [63, 15, 90] from Operation: 65+25=90 Current State: 69:[63, 15, 90], Operations: ['65+25=90'] Exploring Operation: 90/15=6, Resulting Numbers: [63, 6] Generated Node #3: [63, 6] from Operation: 90/15=6 Current State: 69:[63, 6], Operations: ['65+25=90', '90/15=6'] Exploring Operation: 63+6=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[65, 63, 25, 15], Operations: [] Exploring Operation: 65+15=80, Resulting Numbers: [63, 25, 80] Generated Node #0,0: 69:[63, 25, 80] Operation: 65+15=80 Exploring Operation: 25-15=10, Resulting Numbers: [65, 63, 10] Generated Node #0,1: 69:[65, 63, 10] Operation: 25-15=10 Exploring Operation: 65-63=2, Resulting Numbers: [25, 15, 2] Generated Node #0,2: 69:[25, 15, 2] Operation: 65-63=2 Exploring Operation: 65-15=50, Resulting Numbers: [63, 25, 50] Generated Node #0,3: 69:[63, 25, 50] Operation: 65-15=50 Exploring Operation: 63+15=78, Resulting Numbers: [65, 25, 78] Generated Node #0,4: 69:[65, 25, 78] Operation: 63+15=78 Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[25, 15, 2], Operations: ['65-63=2'] Exploring Operation: 25-2=23, Resulting Numbers: [15, 23] Generated Node #0,2,0: 69:[15, 23] Operation: 25-2=23 Exploring Operation: 25+2=27, Resulting Numbers: [15, 27] Generated Node #0,2,1: 69:[15, 27] Operation: 25+2=27 Exploring Operation: 15*2=30, Resulting Numbers: [25, 30] Generated Node #0,2,2: 69:[25, 30] Operation: 15*2=30 Exploring Operation: 25-15=10, Resulting Numbers: [2, 10] Generated Node #0,2,3: 69:[2, 10] Operation: 25-15=10 Exploring Operation: 15+2=17, Resulting Numbers: [25, 17] Generated Node #0,2,4: 69:[25, 17] Operation: 15+2=17 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 69:[15, 23], Operations: ['65-63=2', '25-2=23'] Exploring Operation: 15+23=38, Resulting Numbers: [38] 38,69 unequal: No Solution Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 15*23=345, Resulting Numbers: [345] 345,69 unequal: No Solution No 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: 69:[2, 10], Operations: ['65-63=2', '25-15=10'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,69 unequal: No Solution No 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: 69:[25, 17], Operations: ['65-63=2', '15+2=17'] Exploring Operation: 25-17=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 25+17=42, Resulting Numbers: [42] 42,69 unequal: No Solution Exploring Operation: 25*17=425, Resulting Numbers: [425] 425,69 unequal: No Solution No 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: 69:[25, 30], Operations: ['65-63=2', '15*2=30'] Exploring Operation: 25*30=750, Resulting Numbers: [750] 750,69 unequal: No Solution Exploring Operation: 25+30=55, Resulting Numbers: [55] 55,69 unequal: No Solution Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,69 unequal: No Solution No 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: 69:[15, 27], Operations: ['65-63=2', '25+2=27'] Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 15*27=405, Resulting Numbers: [405] 405,69 unequal: No Solution Exploring Operation: 15+27=42, Resulting Numbers: [42] 42,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 69:[65, 25, 78], Operations: ['63+15=78'] Exploring Operation: 65-25=40, Resulting Numbers: [78, 40] Generated Node #0,4,0: 69:[78, 40] Operation: 65-25=40 Exploring Operation: 25+78=103, Resulting Numbers: [65, 103] Generated Node #0,4,1: 69:[65, 103] Operation: 25+78=103 Exploring Operation: 78-25=53, Resulting Numbers: [65, 53] Generated Node #0,4,2: 69:[65, 53] Operation: 78-25=53 Exploring Operation: 78-65=13, Resulting Numbers: [25, 13] Generated Node #0,4,3: 69:[25, 13] Operation: 78-65=13 Exploring Operation: 65+25=90, Resulting Numbers: [78, 90] Generated Node #0,4,4: 69:[78, 90] Operation: 65+25=90 Moving to Node #0,4,3 Current State: 69:[25, 13], Operations: ['63+15=78', '78-65=13'] Exploring Operation: 25*13=325, Resulting Numbers: [325] 325,69 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 25+13=38, Resulting Numbers: [38] 38,69 unequal: No Solution Moving to Node #0,4,2 Current State: 69:[65, 53], Operations: ['63+15=78', '78-25=53'] Exploring Operation: 65+53=118, Resulting Numbers: [118] 118,69 unequal: No Solution Exploring Operation: 65*53=3445, Resulting Numbers: [3445] 3445,69 unequal: No Solution Exploring Operation: 65-53=12, Resulting Numbers: [12] 12,69 unequal: No Solution Moving to Node #0,4,0 Current State: 69:[78, 40], Operations: ['63+15=78', '65-25=40'] Exploring Operation: 78+40=118, Resulting Numbers: [118] 118,69 unequal: No Solution Exploring Operation: 78-40=38, Resulting Numbers: [38] 38,69 unequal: No Solution Exploring Operation: 78*40=3120, Resulting Numbers: [3120] 3120,69 unequal: No Solution Moving to Node #0,4,4 Current State: 69:[78, 90], Operations: ['63+15=78', '65+25=90'] Exploring Operation: 78+90=168, Resulting Numbers: [168] 168,69 unequal: No Solution Exploring Operation: 78*90=7020, Resulting Numbers: [7020] 7020,69 unequal: No Solution Exploring Operation: 90-78=12, Resulting Numbers: [12] 12,69 unequal: No Solution Moving to Node #0,4,1 Current State: 69:[65, 103], Operations: ['63+15=78', '25+78=103'] Exploring Operation: 65+103=168, Resulting Numbers: [168] 168,69 unequal: No Solution Exploring Operation: 65*103=6695, Resulting Numbers: [6695] 6695,69 unequal: No Solution Exploring Operation: 103-65=38, Resulting Numbers: [38] 38,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,1 Current State: 69:[65, 63, 10], Operations: ['25-15=10'] Exploring Operation: 63+10=73, Resulting Numbers: [65, 73] Generated Node #0,1,0: 69:[65, 73] Operation: 63+10=73 Exploring Operation: 65-10=55, Resulting Numbers: [63, 55] Generated Node #0,1,1: 69:[63, 55] Operation: 65-10=55 Exploring Operation: 63-10=53, Resulting Numbers: [65, 53] Generated Node #0,1,2: 69:[65, 53] Operation: 63-10=53 Exploring Operation: 65-63=2, Resulting Numbers: [10, 2] Generated Node #0,1,3: 69:[10, 2] Operation: 65-63=2 Exploring Operation: 65+10=75, Resulting Numbers: [63, 75] Generated Node #0,1,4: 69:[63, 75] Operation: 65+10=75 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 69:[65, 73], Operations: ['25-15=10', '63+10=73'] Exploring Operation: 73-65=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 65+73=138, Resulting Numbers: [138] 138,69 unequal: No Solution Exploring Operation: 65*73=4745, Resulting Numbers: [4745] 4745,69 unequal: No Solution No 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: 69:[10, 2], Operations: ['25-15=10', '65-63=2'] Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,69 unequal: No Solution No 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: 69:[63, 75], Operations: ['25-15=10', '65+10=75'] Exploring Operation: 63*75=4725, Resulting Numbers: [4725] 4725,69 unequal: No Solution Exploring Operation: 75-63=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 63+75=138, Resulting Numbers: [138] 138,69 unequal: No Solution No 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: 69:[63, 55], Operations: ['25-15=10', '65-10=55'] Exploring Operation: 63*55=3465, Resulting Numbers: [3465] 3465,69 unequal: No Solution Exploring Operation: 63+55=118, Resulting Numbers: [118] 118,69 unequal: No Solution Exploring Operation: 63-55=8, Resulting Numbers: [8] 8,69 unequal: No Solution No 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: 69:[65, 53], Operations: ['25-15=10', '63-10=53'] Exploring Operation: 65-53=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 65+53=118, Resulting Numbers: [118] 118,69 unequal: No Solution Exploring Operation: 65*53=3445, Resulting Numbers: [3445] 3445,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[63, 25, 80], Operations: ['65+15=80'] Exploring Operation: 63-25=38, Resulting Numbers: [80, 38] Generated Node #0,0,0: 69:[80, 38] Operation: 63-25=38 Exploring Operation: 80-63=17, Resulting Numbers: [25, 17] Generated Node #0,0,1: 69:[25, 17] Operation: 80-63=17 Exploring Operation: 80-25=55, Resulting Numbers: [63, 55] Generated Node #0,0,2: 69:[63, 55] Operation: 80-25=55 Exploring Operation: 63+25=88, Resulting Numbers: [80, 88] Generated Node #0,0,3: 69:[80, 88] Operation: 63+25=88 Exploring Operation: 25+80=105, Resulting Numbers: [63, 105] Generated Node #0,0,4: 69:[63, 105] Operation: 25+80=105 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 69:[25, 17], Operations: ['65+15=80', '80-63=17'] Exploring Operation: 25+17=42, Resulting Numbers: [42] 42,69 unequal: No Solution Exploring Operation: 25-17=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 25*17=425, Resulting Numbers: [425] 425,69 unequal: No Solution No 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: 69:[63, 55], Operations: ['65+15=80', '80-25=55'] Exploring Operation: 63+55=118, Resulting Numbers: [118] 118,69 unequal: No Solution Exploring Operation: 63*55=3465, Resulting Numbers: [3465] 3465,69 unequal: No Solution Exploring Operation: 63-55=8, Resulting Numbers: [8] 8,69 unequal: No Solution No 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: 69:[80, 38], Operations: ['65+15=80', '63-25=38'] Exploring Operation: 80-38=42, Resulting Numbers: [42] 42,69 unequal: No Solution Exploring Operation: 80+38=118, Resulting Numbers: [118] 118,69 unequal: No Solution Exploring Operation: 80*38=3040, Resulting Numbers: [3040] 3040,69 unequal: No Solution No 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: 69:[80, 88], Operations: ['65+15=80', '63+25=88'] Exploring Operation: 80*88=7040, Resulting Numbers: [7040] 7040,69 unequal: No Solution Exploring Operation: 88-80=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 80+88=168, Resulting Numbers: [168] 168,69 unequal: No Solution No 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: 69:[63, 105], Operations: ['65+15=80', '25+80=105'] Exploring Operation: 63+105=168, Resulting Numbers: [168] 168,69 unequal: No Solution Exploring Operation: 105-63=42, Resulting Numbers: [42] 42,69 unequal: No Solution Exploring Operation: 63*105=6615, Resulting Numbers: [6615] 6615,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 69:[63, 25, 50], Operations: ['65-15=50'] Exploring Operation: 50/25=2, Resulting Numbers: [63, 2] Generated Node #0,3,0: 69:[63, 2] Operation: 50/25=2 Exploring Operation: 25+50=75, Resulting Numbers: [63, 75] Generated Node #0,3,1: 69:[63, 75] Operation: 25+50=75 Exploring Operation: 50-25=25, Resulting Numbers: [63, 25] Generated Node #0,3,2: 69:[63, 25] Operation: 50-25=25 Exploring Operation: 63-50=13, Resulting Numbers: [25, 13] Generated Node #0,3,3: 69:[25, 13] Operation: 63-50=13 Exploring Operation: 63-25=38, Resulting Numbers: [50, 38] Generated Node #0,3,4: 69:[50, 38] Operation: 63-25=38 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 69:[63, 2], Operations: ['65-15=50', '50/25=2'] Exploring Operation: 63*2=126, Resulting Numbers: [126] 126,69 unequal: No Solution Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,69 unequal: No Solution Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,69 unequal: No Solution No 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: 69:[63, 25], Operations: ['65-15=50', '50-25=25'] Exploring Operation: 63*25=1575, Resulting Numbers: [1575] 1575,69 unequal: No Solution Exploring Operation: 63+25=88, Resulting Numbers: [88] 88,69 unequal: No Solution Exploring Operation: 63-25=38, Resulting Numbers: [38] 38,69 unequal: No Solution No 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: 69:[63, 75], Operations: ['65-15=50', '25+50=75'] Exploring Operation: 75-63=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 63+75=138, Resulting Numbers: [138] 138,69 unequal: No Solution Exploring Operation: 63*75=4725, Resulting Numbers: [4725] 4725,69 unequal: No Solution No 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: 69:[25, 13], Operations: ['65-15=50', '63-50=13'] Exploring Operation: 25+13=38, Resulting Numbers: [38] 38,69 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 25*13=325, Resulting Numbers: [325] 325,69 unequal: No Solution No 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: 69:[50, 38], Operations: ['65-15=50', '63-25=38'] Exploring Operation: 50*38=1900, Resulting Numbers: [1900] 1900,69 unequal: No Solution Exploring Operation: 50-38=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 50+38=88, Resulting Numbers: [88] 88,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 91, 86, 25, 64 ]
61
[ "91-86=5", "25*5=125", "125-64=61" ]
Current State: 61:[91, 86, 25, 64], Operations: [] Exploring Operation: 91-86=5, Resulting Numbers: [25, 64, 5] Generated Node #2: [25, 64, 5] from Operation: 91-86=5 Current State: 61:[25, 64, 5], Operations: ['91-86=5'] Exploring Operation: 25*5=125, Resulting Numbers: [64, 125] Generated Node #3: [64, 125] from Operation: 25*5=125 Current State: 61:[64, 125], Operations: ['91-86=5', '25*5=125'] Exploring Operation: 125-64=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[91, 86, 25, 64], Operations: [] Exploring Operation: 64-25=39, Resulting Numbers: [91, 86, 39] Generated Node #0,0: 61:[91, 86, 39] Operation: 64-25=39 Exploring Operation: 91-25=66, Resulting Numbers: [86, 64, 66] Generated Node #0,1: 61:[86, 64, 66] Operation: 91-25=66 Exploring Operation: 86-25=61, Resulting Numbers: [91, 64, 61] Generated Node #0,2: 61:[91, 64, 61] Operation: 86-25=61 Exploring Operation: 86+25=111, Resulting Numbers: [91, 64, 111] Generated Node #0,3: 61:[91, 64, 111] Operation: 86+25=111 Exploring Operation: 91+25=116, Resulting Numbers: [86, 64, 116] Generated Node #0,4: 61:[86, 64, 116] Operation: 91+25=116 Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[86, 64, 66], Operations: ['91-25=66'] Exploring Operation: 86-64=22, Resulting Numbers: [66, 22] Generated Node #0,1,0: 61:[66, 22] Operation: 86-64=22 Exploring Operation: 86+64=150, Resulting Numbers: [66, 150] Generated Node #0,1,1: 61:[66, 150] Operation: 86+64=150 Exploring Operation: 66-64=2, Resulting Numbers: [86, 2] Generated Node #0,1,2: 61:[86, 2] Operation: 66-64=2 Exploring Operation: 86+66=152, Resulting Numbers: [64, 152] Generated Node #0,1,3: 61:[64, 152] Operation: 86+66=152 Exploring Operation: 86-66=20, Resulting Numbers: [64, 20] Generated Node #0,1,4: 61:[64, 20] Operation: 86-66=20 Moving to Node #0,1,0 Current State: 61:[66, 22], Operations: ['91-25=66', '86-64=22'] Exploring Operation: 66*22=1452, Resulting Numbers: [1452] 1452,61 unequal: No Solution Exploring Operation: 66/22=3, Resulting Numbers: [3] 3,61 unequal: No Solution Exploring Operation: 66-22=44, Resulting Numbers: [44] 44,61 unequal: No Solution Exploring Operation: 66+22=88, Resulting Numbers: [88] 88,61 unequal: No Solution Moving to Node #0,1,4 Current State: 61:[64, 20], Operations: ['91-25=66', '86-66=20'] Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,61 unequal: No Solution Exploring Operation: 64*20=1280, Resulting Numbers: [1280] 1280,61 unequal: No Solution Exploring Operation: 64+20=84, Resulting Numbers: [84] 84,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[86, 2], Operations: ['91-25=66', '66-64=2'] Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,61 unequal: No Solution Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,61 unequal: No Solution Exploring Operation: 86*2=172, Resulting Numbers: [172] 172,61 unequal: No Solution Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[66, 150], Operations: ['91-25=66', '86+64=150'] Exploring Operation: 150-66=84, Resulting Numbers: [84] 84,61 unequal: No Solution Exploring Operation: 66+150=216, Resulting Numbers: [216] 216,61 unequal: No Solution Exploring Operation: 66*150=9900, Resulting Numbers: [9900] 9900,61 unequal: No Solution Moving to Node #0,1,3 Current State: 61:[64, 152], Operations: ['91-25=66', '86+66=152'] Exploring Operation: 64+152=216, Resulting Numbers: [216] 216,61 unequal: No Solution Exploring Operation: 64*152=9728, Resulting Numbers: [9728] 9728,61 unequal: No Solution Exploring Operation: 152-64=88, Resulting Numbers: [88] 88,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 61:[91, 64, 61], Operations: ['86-25=61'] Exploring Operation: 91+61=152, Resulting Numbers: [64, 152] Generated Node #0,2,0: 61:[64, 152] Operation: 91+61=152 Exploring Operation: 64-61=3, Resulting Numbers: [91, 3] Generated Node #0,2,1: 61:[91, 3] Operation: 64-61=3 Exploring Operation: 91+64=155, Resulting Numbers: [61, 155] Generated Node #0,2,2: 61:[61, 155] Operation: 91+64=155 Exploring Operation: 91-64=27, Resulting Numbers: [61, 27] Generated Node #0,2,3: 61:[61, 27] Operation: 91-64=27 Exploring Operation: 91-61=30, Resulting Numbers: [64, 30] Generated Node #0,2,4: 61:[64, 30] Operation: 91-61=30 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 61:[61, 27], Operations: ['86-25=61', '91-64=27'] Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,61 unequal: No Solution Exploring Operation: 61*27=1647, Resulting Numbers: [1647] 1647,61 unequal: No Solution Exploring Operation: 61+27=88, Resulting Numbers: [88] 88,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 61:[64, 30], Operations: ['86-25=61', '91-61=30'] Exploring Operation: 64*30=1920, Resulting Numbers: [1920] 1920,61 unequal: No Solution Exploring Operation: 64+30=94, Resulting Numbers: [94] 94,61 unequal: No Solution Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 61:[91, 3], Operations: ['86-25=61', '64-61=3'] Exploring Operation: 91*3=273, Resulting Numbers: [273] 273,61 unequal: No Solution Exploring Operation: 91+3=94, Resulting Numbers: [94] 94,61 unequal: No Solution Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 61:[64, 152], Operations: ['86-25=61', '91+61=152'] Exploring Operation: 64+152=216, Resulting Numbers: [216] 216,61 unequal: No Solution Exploring Operation: 64*152=9728, Resulting Numbers: [9728] 9728,61 unequal: No Solution Exploring Operation: 152-64=88, Resulting Numbers: [88] 88,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 61:[61, 155], Operations: ['86-25=61', '91+64=155'] Exploring Operation: 61*155=9455, Resulting Numbers: [9455] 9455,61 unequal: No Solution Exploring Operation: 155-61=94, Resulting Numbers: [94] 94,61 unequal: No Solution Exploring Operation: 61+155=216, Resulting Numbers: [216] 216,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[91, 86, 39], Operations: ['64-25=39'] Exploring Operation: 86-39=47, Resulting Numbers: [91, 47] Generated Node #0,0,0: 61:[91, 47] Operation: 86-39=47 Exploring Operation: 91-39=52, Resulting Numbers: [86, 52] Generated Node #0,0,1: 61:[86, 52] Operation: 91-39=52 Exploring Operation: 86+39=125, Resulting Numbers: [91, 125] Generated Node #0,0,2: 61:[91, 125] Operation: 86+39=125 Exploring Operation: 91-86=5, Resulting Numbers: [39, 5] Generated Node #0,0,3: 61:[39, 5] Operation: 91-86=5 Exploring Operation: 91+39=130, Resulting Numbers: [86, 130] Generated Node #0,0,4: 61:[86, 130] Operation: 91+39=130 Moving to Node #0,0,1 Current State: 61:[86, 52], Operations: ['64-25=39', '91-39=52'] Exploring Operation: 86*52=4472, Resulting Numbers: [4472] 4472,61 unequal: No Solution Exploring Operation: 86+52=138, Resulting Numbers: [138] 138,61 unequal: No Solution Exploring Operation: 86-52=34, Resulting Numbers: [34] 34,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[91, 47], Operations: ['64-25=39', '86-39=47'] Exploring Operation: 91+47=138, Resulting Numbers: [138] 138,61 unequal: No Solution Exploring Operation: 91*47=4277, Resulting Numbers: [4277] 4277,61 unequal: No Solution Exploring Operation: 91-47=44, Resulting Numbers: [44] 44,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[39, 5], Operations: ['64-25=39', '91-86=5'] Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,61 unequal: No Solution Exploring Operation: 39+5=44, Resulting Numbers: [44] 44,61 unequal: No Solution Exploring Operation: 39*5=195, Resulting Numbers: [195] 195,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[91, 125], Operations: ['64-25=39', '86+39=125'] Exploring Operation: 91*125=11375, Resulting Numbers: [11375] 11375,61 unequal: No Solution Exploring Operation: 125-91=34, Resulting Numbers: [34] 34,61 unequal: No Solution Exploring Operation: 91+125=216, Resulting Numbers: [216] 216,61 unequal: No Solution Moving to Node #0,0,4 Current State: 61:[86, 130], Operations: ['64-25=39', '91+39=130'] Exploring Operation: 86*130=11180, Resulting Numbers: [11180] 11180,61 unequal: No Solution Exploring Operation: 130-86=44, Resulting Numbers: [44] 44,61 unequal: No Solution Exploring Operation: 86+130=216, Resulting Numbers: [216] 216,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 61:[91, 64, 111], Operations: ['86+25=111'] Exploring Operation: 111-64=47, Resulting Numbers: [91, 47] Generated Node #0,3,0: 61:[91, 47] Operation: 111-64=47 Exploring Operation: 111-91=20, Resulting Numbers: [64, 20] Generated Node #0,3,1: 61:[64, 20] Operation: 111-91=20 Exploring Operation: 91+64=155, Resulting Numbers: [111, 155] Generated Node #0,3,2: 61:[111, 155] Operation: 91+64=155 Exploring Operation: 91-64=27, Resulting Numbers: [111, 27] Generated Node #0,3,3: 61:[111, 27] Operation: 91-64=27 Exploring Operation: 91+111=202, Resulting Numbers: [64, 202] Generated Node #0,3,4: 61:[64, 202] Operation: 91+111=202 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 61:[91, 47], Operations: ['86+25=111', '111-64=47'] Exploring Operation: 91*47=4277, Resulting Numbers: [4277] 4277,61 unequal: No Solution Exploring Operation: 91+47=138, Resulting Numbers: [138] 138,61 unequal: No Solution Exploring Operation: 91-47=44, Resulting Numbers: [44] 44,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 61:[64, 20], Operations: ['86+25=111', '111-91=20'] Exploring Operation: 64*20=1280, Resulting Numbers: [1280] 1280,61 unequal: No Solution Exploring Operation: 64+20=84, Resulting Numbers: [84] 84,61 unequal: No Solution Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 61:[111, 27], Operations: ['86+25=111', '91-64=27'] Exploring Operation: 111-27=84, Resulting Numbers: [84] 84,61 unequal: No Solution Exploring Operation: 111*27=2997, Resulting Numbers: [2997] 2997,61 unequal: No Solution Exploring Operation: 111+27=138, Resulting Numbers: [138] 138,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 61:[111, 155], Operations: ['86+25=111', '91+64=155'] Exploring Operation: 111+155=266, Resulting Numbers: [266] 266,61 unequal: No Solution Exploring Operation: 111*155=17205, Resulting Numbers: [17205] 17205,61 unequal: No Solution Exploring Operation: 155-111=44, Resulting Numbers: [44] 44,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 61:[64, 202], Operations: ['86+25=111', '91+111=202'] Exploring Operation: 202-64=138, Resulting Numbers: [138] 138,61 unequal: No Solution Exploring Operation: 64*202=12928, Resulting Numbers: [12928] 12928,61 unequal: No Solution Exploring Operation: 64+202=266, Resulting Numbers: [266] 266,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 Start Sub Search at level 1: Moving to Node #0,4 Current State: 61:[86, 64, 116], Operations: ['91+25=116'] Exploring Operation: 116-86=30, Resulting Numbers: [64, 30] Generated Node #0,4,0: 61:[64, 30] Operation: 116-86=30 Exploring Operation: 116-64=52, Resulting Numbers: [86, 52] Generated Node #0,4,1: 61:[86, 52] Operation: 116-64=52 Exploring Operation: 86+64=150, Resulting Numbers: [116, 150] Generated Node #0,4,2: 61:[116, 150] Operation: 86+64=150 Exploring Operation: 86+116=202, Resulting Numbers: [64, 202] Generated Node #0,4,3: 61:[64, 202] Operation: 86+116=202 Exploring Operation: 86-64=22, Resulting Numbers: [116, 22] Generated Node #0,4,4: 61:[116, 22] Operation: 86-64=22 Moving to Node #0,4,0 Current State: 61:[64, 30], Operations: ['91+25=116', '116-86=30'] Exploring Operation: 64*30=1920, Resulting Numbers: [1920] 1920,61 unequal: No Solution Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,61 unequal: No Solution Exploring Operation: 64+30=94, Resulting Numbers: [94] 94,61 unequal: No Solution Moving to Node #0,4,1 Current State: 61:[86, 52], Operations: ['91+25=116', '116-64=52'] Exploring Operation: 86+52=138, Resulting Numbers: [138] 138,61 unequal: No Solution Exploring Operation: 86-52=34, Resulting Numbers: [34] 34,61 unequal: No Solution Exploring Operation: 86*52=4472, Resulting Numbers: [4472] 4472,61 unequal: No Solution Moving to Node #0,4,4 Current State: 61:[116, 22], Operations: ['91+25=116', '86-64=22'] Exploring Operation: 116-22=94, Resulting Numbers: [94] 94,61 unequal: No Solution Exploring Operation: 116+22=138, Resulting Numbers: [138] 138,61 unequal: No Solution Exploring Operation: 116*22=2552, Resulting Numbers: [2552] 2552,61 unequal: No Solution Moving to Node #0,4,2 Current State: 61:[116, 150], Operations: ['91+25=116', '86+64=150'] Exploring Operation: 116+150=266, Resulting Numbers: [266] 266,61 unequal: No Solution Exploring Operation: 116*150=17400, Resulting Numbers: [17400] 17400,61 unequal: No Solution Exploring Operation: 150-116=34, Resulting Numbers: [34] 34,61 unequal: No Solution Moving to Node #0,4,3 Current State: 61:[64, 202], Operations: ['91+25=116', '86+116=202'] Exploring Operation: 64+202=266, Resulting Numbers: [266] 266,61 unequal: No Solution Exploring Operation: 202-64=138, Resulting Numbers: [138] 138,61 unequal: No Solution Exploring Operation: 64*202=12928, Resulting Numbers: [12928] 12928,61 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
[ 62, 51, 92, 49 ]
70
[ "62+51=113", "92-49=43", "113-43=70" ]
Current State: 70:[62, 51, 92, 49], Operations: [] Exploring Operation: 62+51=113, Resulting Numbers: [92, 49, 113] Generated Node #2: [92, 49, 113] from Operation: 62+51=113 Current State: 70:[92, 49, 113], Operations: ['62+51=113'] Exploring Operation: 92-49=43, Resulting Numbers: [113, 43] Generated Node #3: [113, 43] from Operation: 92-49=43 Current State: 70:[113, 43], Operations: ['62+51=113', '92-49=43'] Exploring Operation: 113-43=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[62, 51, 92, 49], Operations: [] Exploring Operation: 92-51=41, Resulting Numbers: [62, 49, 41] Generated Node #0,0: 70:[62, 49, 41] Operation: 92-51=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[62, 49, 41], Operations: ['92-51=41'] Exploring Operation: 62-49=13, Resulting Numbers: [41, 13] Generated Node #0,0,0: 70:[41, 13] Operation: 62-49=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[41, 13], Operations: ['92-51=41', '62-49=13'] Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 90, 94, 43, 24 ]
26
[ "90-43=47", "94/47=2", "24+2=26" ]
Current State: 26:[90, 94, 43, 24], Operations: [] Exploring Operation: 90-43=47, Resulting Numbers: [94, 24, 47] Generated Node #2: [94, 24, 47] from Operation: 90-43=47 Current State: 26:[94, 24, 47], Operations: ['90-43=47'] Exploring Operation: 94/47=2, Resulting Numbers: [24, 2] Generated Node #3: [24, 2] from Operation: 94/47=2 Current State: 26:[24, 2], Operations: ['90-43=47', '94/47=2'] Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[90, 94, 43, 24], Operations: [] Exploring Operation: 94-43=51, Resulting Numbers: [90, 24, 51] Generated Node #0,0: 26:[90, 24, 51] Operation: 94-43=51 Exploring Operation: 94-90=4, Resulting Numbers: [43, 24, 4] Generated Node #0,1: 26:[43, 24, 4] Operation: 94-90=4 Exploring Operation: 90-43=47, Resulting Numbers: [94, 24, 47] Generated Node #0,2: 26:[94, 24, 47] Operation: 90-43=47 Moving to Node #0,1 Current State: 26:[43, 24, 4], Operations: ['94-90=4'] Exploring Operation: 24+4=28, Resulting Numbers: [43, 28] Generated Node #0,1,0: 26:[43, 28] Operation: 24+4=28 Exploring Operation: 43-24=19, Resulting Numbers: [4, 19] Generated Node #0,1,1: 26:[4, 19] Operation: 43-24=19 Exploring Operation: 43-4=39, Resulting Numbers: [24, 39] Generated Node #0,1,2: 26:[24, 39] Operation: 43-4=39 Moving to Node #0,0 Current State: 26:[90, 24, 51], Operations: ['94-43=51'] Exploring Operation: 51-24=27, Resulting Numbers: [90, 27] Generated Node #0,0,0: 26:[90, 27] Operation: 51-24=27 Exploring Operation: 90-24=66, Resulting Numbers: [51, 66] Generated Node #0,0,1: 26:[51, 66] Operation: 90-24=66 Exploring Operation: 90-51=39, Resulting Numbers: [24, 39] Generated Node #0,0,2: 26:[24, 39] Operation: 90-51=39 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 26:[24, 39], Operations: ['94-43=51', '90-51=39'] Exploring Operation: 24+39=63, Resulting Numbers: [63] 63,26 unequal: No Solution Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,26 unequal: No Solution Exploring Operation: 24*39=936, Resulting Numbers: [936] 936,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:[90, 27], Operations: ['94-43=51', '51-24=27'] Exploring Operation: 90+27=117, Resulting Numbers: [117] 117,26 unequal: No Solution Exploring Operation: 90*27=2430, Resulting Numbers: [2430] 2430,26 unequal: No Solution Exploring Operation: 90-27=63, Resulting Numbers: [63] 63,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 26:[51, 66], Operations: ['94-43=51', '90-24=66'] Exploring Operation: 51+66=117, Resulting Numbers: [117] 117,26 unequal: No Solution Exploring Operation: 51*66=3366, Resulting Numbers: [3366] 3366,26 unequal: No Solution Exploring Operation: 66-51=15, Resulting Numbers: [15] 15,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 26:[94, 24, 47], Operations: ['90-43=47'] Exploring Operation: 94/47=2, Resulting Numbers: [24, 2] Generated Node #0,2,0: 26:[24, 2] Operation: 94/47=2 Exploring Operation: 94-47=47, Resulting Numbers: [24, 47] Generated Node #0,2,1: 26:[24, 47] Operation: 94-47=47 Exploring Operation: 94-24=70, Resulting Numbers: [47, 70] Generated Node #0,2,2: 26:[47, 70] Operation: 94-24=70 Moving to Node #0,2,0 Current State: 26:[24, 2], Operations: ['90-43=47', '94/47=2'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,26 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,26 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[90, 94, 43, 24], Operations: [] Exploring Operation: 90-43=47, Resulting Numbers: [94, 24, 47] Generated Node #0,2: 26:[94, 24, 47] Operation: 90-43=47 Moving to Node #0,2 Current State: 26:[94, 24, 47], Operations: ['90-43=47'] Exploring Operation: 94/47=2, Resulting Numbers: [24, 2] Generated Node #0,2,0: 26:[24, 2] Operation: 94/47=2 Moving to Node #0,2,0 Current State: 26:[24, 2], Operations: ['90-43=47', '94/47=2'] Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
0.975694
hs_3
mult_heuristic
[ 95, 28, 69, 4 ]
19
[ "95-69=26", "28/4=7", "26-7=19" ]
Current State: 19:[95, 28, 69, 4], Operations: [] Exploring Operation: 95-69=26, Resulting Numbers: [28, 4, 26] Generated Node #2: [28, 4, 26] from Operation: 95-69=26 Current State: 19:[28, 4, 26], Operations: ['95-69=26'] Exploring Operation: 28/4=7, Resulting Numbers: [26, 7] Generated Node #3: [26, 7] from Operation: 28/4=7 Current State: 19:[26, 7], Operations: ['95-69=26', '28/4=7'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[95, 28, 69, 4], Operations: [] Exploring Operation: 95-69=26, Resulting Numbers: [28, 4, 26] Generated Node #0,0: 19:[28, 4, 26] Operation: 95-69=26 Exploring Operation: 95-28=67, Resulting Numbers: [69, 4, 67] Generated Node #0,1: 19:[69, 4, 67] Operation: 95-28=67 Exploring Operation: 95-4=91, Resulting Numbers: [28, 69, 91] Generated Node #0,2: 19:[28, 69, 91] Operation: 95-4=91 Exploring Operation: 28-4=24, Resulting Numbers: [95, 69, 24] Generated Node #0,3: 19:[95, 69, 24] Operation: 28-4=24 Exploring Operation: 69-28=41, Resulting Numbers: [95, 4, 41] Generated Node #0,4: 19:[95, 4, 41] Operation: 69-28=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[28, 4, 26], Operations: ['95-69=26'] Exploring Operation: 28/4=7, Resulting Numbers: [26, 7] Generated Node #0,0,0: 19:[26, 7] Operation: 28/4=7 Exploring Operation: 4+26=30, Resulting Numbers: [28, 30] Generated Node #0,0,1: 19:[28, 30] Operation: 4+26=30 Exploring Operation: 26-4=22, Resulting Numbers: [28, 22] Generated Node #0,0,2: 19:[28, 22] Operation: 26-4=22 Exploring Operation: 28-4=24, Resulting Numbers: [26, 24] Generated Node #0,0,3: 19:[26, 24] Operation: 28-4=24 Exploring Operation: 28+4=32, Resulting Numbers: [26, 32] Generated Node #0,0,4: 19:[26, 32] Operation: 28+4=32 Moving to Node #0,0,2 Current State: 19:[28, 22], Operations: ['95-69=26', '26-4=22'] Exploring Operation: 28*22=616, Resulting Numbers: [616] 616,19 unequal: No Solution Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 28+22=50, Resulting Numbers: [50] 50,19 unequal: No Solution Moving to Node #0,0,3 Current State: 19:[26, 24], Operations: ['95-69=26', '28-4=24'] Exploring Operation: 26+24=50, Resulting Numbers: [50] 50,19 unequal: No Solution Exploring Operation: 26*24=624, Resulting Numbers: [624] 624,19 unequal: No Solution Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[26, 7], Operations: ['95-69=26', '28/4=7'] Exploring Operation: 26+7=33, Resulting Numbers: [33] 33,19 unequal: No Solution Exploring Operation: 26*7=182, Resulting Numbers: [182] 182,19 unequal: No Solution Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[95, 28, 69, 4], Operations: [] Exploring Operation: 95-69=26, Resulting Numbers: [28, 4, 26] Generated Node #0,0: 19:[28, 4, 26] Operation: 95-69=26 Moving to Node #0,0 Current State: 19:[28, 4, 26], Operations: ['95-69=26'] Exploring Operation: 28/4=7, Resulting Numbers: [26, 7] Generated Node #0,0,0: 19:[26, 7] Operation: 28/4=7 Moving to Node #0,0,0 Current State: 19:[26, 7], Operations: ['95-69=26', '28/4=7'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 32, 19, 17, 39 ]
100
[ "39-32=7", "17*7=119", "119-19=100" ]
Current State: 100:[32, 19, 17, 39], Operations: [] Exploring Operation: 39-32=7, Resulting Numbers: [19, 17, 7] Generated Node #2: [19, 17, 7] from Operation: 39-32=7 Current State: 100:[19, 17, 7], Operations: ['39-32=7'] Exploring Operation: 17*7=119, Resulting Numbers: [19, 119] Generated Node #3: [19, 119] from Operation: 17*7=119 Current State: 100:[19, 119], Operations: ['39-32=7', '17*7=119'] Exploring Operation: 119-19=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[32, 19, 17, 39], Operations: [] Exploring Operation: 39-32=7, Resulting Numbers: [19, 17, 7] Generated Node #0,0: 100:[19, 17, 7] Operation: 39-32=7 Moving to Node #0,0 Current State: 100:[19, 17, 7], Operations: ['39-32=7'] Exploring Operation: 17-7=10, Resulting Numbers: [19, 10] Generated Node #0,0,0: 100:[19, 10] Operation: 17-7=10 Moving to Node #0,0,0 Current State: 100:[19, 10], Operations: ['39-32=7', '17-7=10'] Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,100 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 72, 28, 19, 13 ]
12
[ "72-28=44", "19+13=32", "44-32=12" ]
Current State: 12:[72, 28, 19, 13], Operations: [] Exploring Operation: 72-28=44, Resulting Numbers: [19, 13, 44] Generated Node #2: [19, 13, 44] from Operation: 72-28=44 Current State: 12:[19, 13, 44], Operations: ['72-28=44'] Exploring Operation: 19+13=32, Resulting Numbers: [44, 32] Generated Node #3: [44, 32] from Operation: 19+13=32 Current State: 12:[44, 32], Operations: ['72-28=44', '19+13=32'] Exploring Operation: 44-32=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[72, 28, 19, 13], Operations: [] Exploring Operation: 72-28=44, Resulting Numbers: [19, 13, 44] Generated Node #0,0: 12:[19, 13, 44] Operation: 72-28=44 Exploring Operation: 72-19=53, Resulting Numbers: [28, 13, 53] Generated Node #0,1: 12:[28, 13, 53] Operation: 72-19=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[19, 13, 44], Operations: ['72-28=44'] Exploring Operation: 44-13=31, Resulting Numbers: [19, 31] Generated Node #0,0,0: 12:[19, 31] Operation: 44-13=31 Exploring Operation: 44-19=25, Resulting Numbers: [13, 25] Generated Node #0,0,1: 12:[13, 25] Operation: 44-19=25 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 12:[13, 25], Operations: ['72-28=44', '44-19=25'] Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,12 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[72, 28, 19, 13], Operations: [] Exploring Operation: 72-28=44, Resulting Numbers: [19, 13, 44] Generated Node #0,0: 12:[19, 13, 44] Operation: 72-28=44 Moving to Node #0,0 Current State: 12:[19, 13, 44], Operations: ['72-28=44'] Exploring Operation: 44-19=25, Resulting Numbers: [13, 25] Generated Node #0,0,1: 12:[13, 25] Operation: 44-19=25 Moving to Node #0,0,1 Current State: 12:[13, 25], Operations: ['72-28=44', '44-19=25'] Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 42, 64, 76, 2 ]
32
[ "42+64=106", "76-2=74", "106-74=32" ]
Current State: 32:[42, 64, 76, 2], Operations: [] Exploring Operation: 42+64=106, Resulting Numbers: [76, 2, 106] Generated Node #2: [76, 2, 106] from Operation: 42+64=106 Current State: 32:[76, 2, 106], Operations: ['42+64=106'] Exploring Operation: 76-2=74, Resulting Numbers: [106, 74] Generated Node #3: [106, 74] from Operation: 76-2=74 Current State: 32:[106, 74], Operations: ['42+64=106', '76-2=74'] Exploring Operation: 106-74=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[42, 64, 76, 2], Operations: [] Exploring Operation: 64-42=22, Resulting Numbers: [76, 2, 22] Generated Node #0,0: 32:[76, 2, 22] Operation: 64-42=22 Exploring Operation: 76-64=12, Resulting Numbers: [42, 2, 12] Generated Node #0,1: 32:[42, 2, 12] Operation: 76-64=12 Exploring Operation: 64/2=32, Resulting Numbers: [42, 76, 32] Generated Node #0,2: 32:[42, 76, 32] Operation: 64/2=32 Exploring Operation: 76-42=34, Resulting Numbers: [64, 2, 34] Generated Node #0,3: 32:[64, 2, 34] Operation: 76-42=34 Exploring Operation: 76/2=38, Resulting Numbers: [42, 64, 38] Generated Node #0,4: 32:[42, 64, 38] Operation: 76/2=38 Moving to Node #0,1 Current State: 32:[42, 2, 12], Operations: ['76-64=12'] Exploring Operation: 2+12=14, Resulting Numbers: [42, 14] Generated Node #0,1,0: 32:[42, 14] Operation: 2+12=14 Exploring Operation: 42-2=40, Resulting Numbers: [12, 40] Generated Node #0,1,1: 32:[12, 40] Operation: 42-2=40 Exploring Operation: 42-12=30, Resulting Numbers: [2, 30] Generated Node #0,1,2: 32:[2, 30] Operation: 42-12=30 Exploring Operation: 12-2=10, Resulting Numbers: [42, 10] Generated Node #0,1,3: 32:[42, 10] Operation: 12-2=10 Exploring Operation: 42/2=21, Resulting Numbers: [12, 21] Generated Node #0,1,4: 32:[12, 21] Operation: 42/2=21 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 32:[2, 30], Operations: ['76-64=12', '42-12=30'] Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,32 unequal: No Solution Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,32 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,32 unequal: No Solution Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[42, 64, 76, 2], Operations: [] Exploring Operation: 76-64=12, Resulting Numbers: [42, 2, 12] Generated Node #0,1: 32:[42, 2, 12] Operation: 76-64=12 Moving to Node #0,1 Current State: 32:[42, 2, 12], Operations: ['76-64=12'] Exploring Operation: 42-12=30, Resulting Numbers: [2, 30] Generated Node #0,1,2: 32:[2, 30] Operation: 42-12=30 Moving to Node #0,1,2 Current State: 32:[2, 30], Operations: ['76-64=12', '42-12=30'] Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 30, 1, 1, 80 ]
80
[ "1-1=0", "30*0=0", "80+0=80" ]
Current State: 80:[30, 1, 1, 80], Operations: [] Exploring Operation: 1-1=0, Resulting Numbers: [30, 80, 0] Generated Node #2: [30, 80, 0] from Operation: 1-1=0 Current State: 80:[30, 80, 0], Operations: ['1-1=0'] Exploring Operation: 30*0=0, Resulting Numbers: [80, 0] Generated Node #3: [80, 0] from Operation: 30*0=0 Current State: 80:[80, 0], Operations: ['1-1=0', '30*0=0'] Exploring Operation: 80+0=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[30, 1, 1, 80], Operations: [] Exploring Operation: 30+1=31, Resulting Numbers: [1, 80, 31] Generated Node #0,0: 80:[1, 80, 31] Operation: 30+1=31 Exploring Operation: 30-1=29, Resulting Numbers: [1, 80, 29] Generated Node #0,1: 80:[1, 80, 29] Operation: 30-1=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[1, 80, 31], Operations: ['30+1=31'] Exploring Operation: 1*80=80, Resulting Numbers: [31, 80] Generated Node #0,0,0: 80:[31, 80] Operation: 1*80=80 Exploring Operation: 1+31=32, Resulting Numbers: [80, 32] Generated Node #0,0,1: 80:[80, 32] Operation: 1+31=32 Moving to Node #0,0,1 Current State: 80:[80, 32], Operations: ['30+1=31', '1+31=32'] Exploring Operation: 80+32=112, Resulting Numbers: [112] 112,80 unequal: No Solution Exploring Operation: 80-32=48, Resulting Numbers: [48] 48,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[31, 80], Operations: ['30+1=31', '1*80=80'] Exploring Operation: 80-31=49, Resulting Numbers: [49] 49,80 unequal: No Solution Exploring Operation: 31+80=111, Resulting Numbers: [111] 111,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 Current State: 80:[1, 80, 29], Operations: ['30-1=29'] Exploring Operation: 1*80=80, Resulting Numbers: [29, 80] Generated Node #0,1,0: 80:[29, 80] Operation: 1*80=80 Exploring Operation: 29-1=28, Resulting Numbers: [80, 28] Generated Node #0,1,1: 80:[80, 28] Operation: 29-1=28 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 80:[80, 28], Operations: ['30-1=29', '29-1=28'] Exploring Operation: 80+28=108, Resulting Numbers: [108] 108,80 unequal: No Solution Exploring Operation: 80-28=52, Resulting Numbers: [52] 52,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,1,0 Current State: 80:[29, 80], Operations: ['30-1=29', '1*80=80'] Exploring Operation: 29+80=109, Resulting Numbers: [109] 109,80 unequal: No Solution Exploring Operation: 80-29=51, Resulting Numbers: [51] 51,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 19, 53, 57, 52 ]
77
[ "19+53=72", "57-52=5", "72+5=77" ]
Current State: 77:[19, 53, 57, 52], Operations: [] Exploring Operation: 19+53=72, Resulting Numbers: [57, 52, 72] Generated Node #2: [57, 52, 72] from Operation: 19+53=72 Current State: 77:[57, 52, 72], Operations: ['19+53=72'] Exploring Operation: 57-52=5, Resulting Numbers: [72, 5] Generated Node #3: [72, 5] from Operation: 57-52=5 Current State: 77:[72, 5], Operations: ['19+53=72', '57-52=5'] Exploring Operation: 72+5=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[19, 53, 57, 52], Operations: [] Exploring Operation: 53-52=1, Resulting Numbers: [19, 57, 1] Generated Node #0,0: 77:[19, 57, 1] Operation: 53-52=1 Moving to Node #0,0 Current State: 77:[19, 57, 1], Operations: ['53-52=1'] Exploring Operation: 19+57=76, Resulting Numbers: [1, 76] Generated Node #0,0,0: 77:[1, 76] Operation: 19+57=76 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[1, 76], Operations: ['53-52=1', '19+57=76'] Exploring Operation: 1+76=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[19, 53, 57, 52], Operations: [] Exploring Operation: 53-52=1, Resulting Numbers: [19, 57, 1] Generated Node #0,0: 77:[19, 57, 1] Operation: 53-52=1 Moving to Node #0,0 Current State: 77:[19, 57, 1], Operations: ['53-52=1'] Exploring Operation: 19+57=76, Resulting Numbers: [1, 76] Generated Node #0,0,0: 77:[1, 76] Operation: 19+57=76 Moving to Node #0,0,0 Current State: 77:[1, 76], Operations: ['53-52=1', '19+57=76'] Exploring Operation: 1+76=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 68, 17, 2, 6 ]
11
[ "68/2=34", "17+6=23", "34-23=11" ]
Current State: 11:[68, 17, 2, 6], Operations: [] Exploring Operation: 68/2=34, Resulting Numbers: [17, 6, 34] Generated Node #2: [17, 6, 34] from Operation: 68/2=34 Current State: 11:[17, 6, 34], Operations: ['68/2=34'] Exploring Operation: 17+6=23, Resulting Numbers: [34, 23] Generated Node #3: [34, 23] from Operation: 17+6=23 Current State: 11:[34, 23], Operations: ['68/2=34', '17+6=23'] Exploring Operation: 34-23=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[68, 17, 2, 6], Operations: [] Exploring Operation: 68-17=51, Resulting Numbers: [2, 6, 51] Generated Node #0,0: 11:[2, 6, 51] Operation: 68-17=51 Exploring Operation: 68/17=4, Resulting Numbers: [2, 6, 4] Generated Node #0,1: 11:[2, 6, 4] Operation: 68/17=4 Exploring Operation: 2*6=12, Resulting Numbers: [68, 17, 12] Generated Node #0,2: 11:[68, 17, 12] Operation: 2*6=12 Exploring Operation: 68/2=34, Resulting Numbers: [17, 6, 34] Generated Node #0,3: 11:[17, 6, 34] Operation: 68/2=34 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[2, 6, 4], Operations: ['68/17=4'] Exploring Operation: 2*6=12, Resulting Numbers: [4, 12] Generated Node #0,1,0: 11:[4, 12] Operation: 2*6=12 Exploring Operation: 2+4=6, Resulting Numbers: [6, 6] Generated Node #0,1,1: 11:[6, 6] Operation: 2+4=6 Exploring Operation: 2+6=8, Resulting Numbers: [4, 8] Generated Node #0,1,2: 11:[4, 8] Operation: 2+6=8 Exploring Operation: 2*4=8, Resulting Numbers: [6, 8] Generated Node #0,1,3: 11:[6, 8] Operation: 2*4=8 Moving to Node #0,1,0 Current State: 11:[4, 12], Operations: ['68/17=4', '2*6=12'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,11 unequal: No Solution Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,11 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,11 unequal: No Solution Moving to Node #0,1,3 Current State: 11:[6, 8], Operations: ['68/17=4', '2*4=8'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,11 unequal: No Solution Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[4, 8], Operations: ['68/17=4', '2+6=8'] Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[6, 6], Operations: ['68/17=4', '2+4=6'] Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,11 unequal: No Solution Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,11 unequal: No Solution Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,11 unequal: No Solution Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,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,3 Current State: 11:[17, 6, 34], Operations: ['68/2=34'] Exploring Operation: 34-17=17, Resulting Numbers: [6, 17] Generated Node #0,3,0: 11:[6, 17] Operation: 34-17=17 Exploring Operation: 34-6=28, Resulting Numbers: [17, 28] Generated Node #0,3,1: 11:[17, 28] Operation: 34-6=28 Exploring Operation: 17-6=11, Resulting Numbers: [34, 11] Generated Node #0,3,2: 11:[34, 11] Operation: 17-6=11 Exploring Operation: 34/17=2, Resulting Numbers: [6, 2] Generated Node #0,3,3: 11:[6, 2] Operation: 34/17=2 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 11:[6, 17], Operations: ['68/2=34', '34-17=17'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[68, 17, 2, 6], Operations: [] Exploring Operation: 68/2=34, Resulting Numbers: [17, 6, 34] Generated Node #0,3: 11:[17, 6, 34] Operation: 68/2=34 Moving to Node #0,3 Current State: 11:[17, 6, 34], Operations: ['68/2=34'] Exploring Operation: 34-17=17, Resulting Numbers: [6, 17] Generated Node #0,3,0: 11:[6, 17] Operation: 34-17=17 Moving to Node #0,3,0 Current State: 11:[6, 17], Operations: ['68/2=34', '34-17=17'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 69, 91, 24, 29 ]
31
[ "91-69=22", "24+29=53", "53-22=31" ]
Current State: 31:[69, 91, 24, 29], Operations: [] Exploring Operation: 91-69=22, Resulting Numbers: [24, 29, 22] Generated Node #2: [24, 29, 22] from Operation: 91-69=22 Current State: 31:[24, 29, 22], Operations: ['91-69=22'] Exploring Operation: 24+29=53, Resulting Numbers: [22, 53] Generated Node #3: [22, 53] from Operation: 24+29=53 Current State: 31:[22, 53], Operations: ['91-69=22', '24+29=53'] Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[69, 91, 24, 29], Operations: [] Exploring Operation: 91-69=22, Resulting Numbers: [24, 29, 22] Generated Node #0,0: 31:[24, 29, 22] Operation: 91-69=22 Moving to Node #0,0 Current State: 31:[24, 29, 22], Operations: ['91-69=22'] Exploring Operation: 24+22=46, Resulting Numbers: [29, 46] Generated Node #0,0,0: 31:[29, 46] Operation: 24+22=46 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[29, 46], Operations: ['91-69=22', '24+22=46'] Exploring Operation: 46-29=17, Resulting Numbers: [17] 17,31 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
[ 1, 61, 79, 54 ]
36
[ "1*61=61", "79-54=25", "61-25=36" ]
Current State: 36:[1, 61, 79, 54], Operations: [] Exploring Operation: 1*61=61, Resulting Numbers: [79, 54, 61] Generated Node #2: [79, 54, 61] from Operation: 1*61=61 Current State: 36:[79, 54, 61], Operations: ['1*61=61'] Exploring Operation: 79-54=25, Resulting Numbers: [61, 25] Generated Node #3: [61, 25] from Operation: 79-54=25 Current State: 36:[61, 25], Operations: ['1*61=61', '79-54=25'] Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[1, 61, 79, 54], Operations: [] Exploring Operation: 79-54=25, Resulting Numbers: [1, 61, 25] Generated Node #0,0: 36:[1, 61, 25] Operation: 79-54=25 Exploring Operation: 61-54=7, Resulting Numbers: [1, 79, 7] Generated Node #0,1: 36:[1, 79, 7] Operation: 61-54=7 Exploring Operation: 79-61=18, Resulting Numbers: [1, 54, 18] Generated Node #0,2: 36:[1, 54, 18] Operation: 79-61=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 36:[1, 54, 18], Operations: ['79-61=18'] Exploring Operation: 54-1=53, Resulting Numbers: [18, 53] Generated Node #0,2,0: 36:[18, 53] Operation: 54-1=53 Exploring Operation: 54/18=3, Resulting Numbers: [1, 3] Generated Node #0,2,1: 36:[1, 3] Operation: 54/18=3 Exploring Operation: 54-18=36, Resulting Numbers: [1, 36] Generated Node #0,2,2: 36:[1, 36] Operation: 54-18=36 Moving to Node #0,2,1 Current State: 36:[1, 3], Operations: ['79-61=18', '54/18=3'] Exploring Operation: 1+3=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[1, 36], Operations: ['79-61=18', '54-18=36'] Exploring Operation: 1*36=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[1, 61, 79, 54], Operations: [] Exploring Operation: 79-61=18, Resulting Numbers: [1, 54, 18] Generated Node #0,2: 36:[1, 54, 18] Operation: 79-61=18 Moving to Node #0,2 Current State: 36:[1, 54, 18], Operations: ['79-61=18'] Exploring Operation: 54-18=36, Resulting Numbers: [1, 36] Generated Node #0,2,2: 36:[1, 36] Operation: 54-18=36 Moving to Node #0,2,2 Current State: 36:[1, 36], Operations: ['79-61=18', '54-18=36'] Exploring Operation: 1*36=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 14, 29, 72, 12 ]
17
[ "14+29=43", "72-12=60", "60-43=17" ]
Current State: 17:[14, 29, 72, 12], Operations: [] Exploring Operation: 14+29=43, Resulting Numbers: [72, 12, 43] Generated Node #2: [72, 12, 43] from Operation: 14+29=43 Current State: 17:[72, 12, 43], Operations: ['14+29=43'] Exploring Operation: 72-12=60, Resulting Numbers: [43, 60] Generated Node #3: [43, 60] from Operation: 72-12=60 Current State: 17:[43, 60], Operations: ['14+29=43', '72-12=60'] Exploring Operation: 60-43=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[14, 29, 72, 12], Operations: [] Exploring Operation: 72/12=6, Resulting Numbers: [14, 29, 6] Generated Node #0,0: 17:[14, 29, 6] Operation: 72/12=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[14, 29, 6], Operations: ['72/12=6'] Exploring Operation: 29-6=23, Resulting Numbers: [14, 23] Generated Node #0,0,0: 17:[14, 23] Operation: 29-6=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[14, 23], Operations: ['72/12=6', '29-6=23'] Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 83, 40, 90, 67 ]
20
[ "83-40=43", "90-67=23", "43-23=20" ]
Current State: 20:[83, 40, 90, 67], Operations: [] Exploring Operation: 83-40=43, Resulting Numbers: [90, 67, 43] Generated Node #2: [90, 67, 43] from Operation: 83-40=43 Current State: 20:[90, 67, 43], Operations: ['83-40=43'] Exploring Operation: 90-67=23, Resulting Numbers: [43, 23] Generated Node #3: [43, 23] from Operation: 90-67=23 Current State: 20:[43, 23], Operations: ['83-40=43', '90-67=23'] Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[83, 40, 90, 67], Operations: [] Exploring Operation: 90-83=7, Resulting Numbers: [40, 67, 7] Generated Node #0,0: 20:[40, 67, 7] Operation: 90-83=7 Exploring Operation: 83-67=16, Resulting Numbers: [40, 90, 16] Generated Node #0,1: 20:[40, 90, 16] Operation: 83-67=16 Exploring Operation: 90-67=23, Resulting Numbers: [83, 40, 23] Generated Node #0,2: 20:[83, 40, 23] Operation: 90-67=23 Moving to Node #0,0 Current State: 20:[40, 67, 7], Operations: ['90-83=7'] Exploring Operation: 40-7=33, Resulting Numbers: [67, 33] Generated Node #0,0,0: 20:[67, 33] Operation: 40-7=33 Exploring Operation: 67-7=60, Resulting Numbers: [40, 60] Generated Node #0,0,1: 20:[40, 60] Operation: 67-7=60 Exploring Operation: 67-40=27, Resulting Numbers: [7, 27] Generated Node #0,0,2: 20:[7, 27] Operation: 67-40=27 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 20:[7, 27], Operations: ['90-83=7', '67-40=27'] Exploring Operation: 7*27=189, Resulting Numbers: [189] 189,20 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[83, 40, 90, 67], Operations: [] Exploring Operation: 90-83=7, Resulting Numbers: [40, 67, 7] Generated Node #0,0: 20:[40, 67, 7] Operation: 90-83=7 Moving to Node #0,0 Current State: 20:[40, 67, 7], Operations: ['90-83=7'] Exploring Operation: 67-40=27, Resulting Numbers: [7, 27] Generated Node #0,0,2: 20:[7, 27] Operation: 67-40=27 Moving to Node #0,0,2 Current State: 20:[7, 27], Operations: ['90-83=7', '67-40=27'] Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 74, 99, 22, 78 ]
73
[ "74+99=173", "22+78=100", "173-100=73" ]
Current State: 73:[74, 99, 22, 78], Operations: [] Exploring Operation: 74+99=173, Resulting Numbers: [22, 78, 173] Generated Node #2: [22, 78, 173] from Operation: 74+99=173 Current State: 73:[22, 78, 173], Operations: ['74+99=173'] Exploring Operation: 22+78=100, Resulting Numbers: [173, 100] Generated Node #3: [173, 100] from Operation: 22+78=100 Current State: 73:[173, 100], Operations: ['74+99=173', '22+78=100'] Exploring Operation: 173-100=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[74, 99, 22, 78], Operations: [] Exploring Operation: 99-22=77, Resulting Numbers: [74, 78, 77] Generated Node #0,0: 73:[74, 78, 77] Operation: 99-22=77 Exploring Operation: 74+22=96, Resulting Numbers: [99, 78, 96] Generated Node #0,1: 73:[99, 78, 96] Operation: 74+22=96 Exploring Operation: 78-22=56, Resulting Numbers: [74, 99, 56] Generated Node #0,2: 73:[74, 99, 56] Operation: 78-22=56 Exploring Operation: 74-22=52, Resulting Numbers: [99, 78, 52] Generated Node #0,3: 73:[99, 78, 52] Operation: 74-22=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[74, 78, 77], Operations: ['99-22=77'] Exploring Operation: 78-77=1, Resulting Numbers: [74, 1] Generated Node #0,0,0: 73:[74, 1] Operation: 78-77=1 Exploring Operation: 77-74=3, Resulting Numbers: [78, 3] Generated Node #0,0,1: 73:[78, 3] Operation: 77-74=3 Exploring Operation: 78-74=4, Resulting Numbers: [77, 4] Generated Node #0,0,2: 73:[77, 4] Operation: 78-74=4 Exploring Operation: 74+78=152, Resulting Numbers: [77, 152] Generated Node #0,0,3: 73:[77, 152] Operation: 74+78=152 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[74, 1], Operations: ['99-22=77', '78-77=1'] Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,73 unequal: No Solution Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,73 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,73 unequal: No Solution Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[74, 99, 22, 78], Operations: [] Exploring Operation: 99-22=77, Resulting Numbers: [74, 78, 77] Generated Node #0,0: 73:[74, 78, 77] Operation: 99-22=77 Moving to Node #0,0 Current State: 73:[74, 78, 77], Operations: ['99-22=77'] Exploring Operation: 78-77=1, Resulting Numbers: [74, 1] Generated Node #0,0,0: 73:[74, 1] Operation: 78-77=1 Moving to Node #0,0,0 Current State: 73:[74, 1], Operations: ['99-22=77', '78-77=1'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 48, 2, 17, 8 ]
72
[ "17-2=15", "8*15=120", "120-48=72" ]
Current State: 72:[48, 2, 17, 8], Operations: [] Exploring Operation: 17-2=15, Resulting Numbers: [48, 8, 15] Generated Node #2: [48, 8, 15] from Operation: 17-2=15 Current State: 72:[48, 8, 15], Operations: ['17-2=15'] Exploring Operation: 8*15=120, Resulting Numbers: [48, 120] Generated Node #3: [48, 120] from Operation: 8*15=120 Current State: 72:[48, 120], Operations: ['17-2=15', '8*15=120'] Exploring Operation: 120-48=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[48, 2, 17, 8], Operations: [] Exploring Operation: 48/8=6, Resulting Numbers: [2, 17, 6] Generated Node #0,0: 72:[2, 17, 6] Operation: 48/8=6 Exploring Operation: 48/2=24, Resulting Numbers: [17, 8, 24] Generated Node #0,1: 72:[17, 8, 24] Operation: 48/2=24 Exploring Operation: 48-17=31, Resulting Numbers: [2, 8, 31] Generated Node #0,2: 72:[2, 8, 31] Operation: 48-17=31 Moving to Node #0,0 Current State: 72:[2, 17, 6], Operations: ['48/8=6'] Exploring Operation: 2+17=19, Resulting Numbers: [6, 19] Generated Node #0,0,0: 72:[6, 19] Operation: 2+17=19 Exploring Operation: 2+6=8, Resulting Numbers: [17, 8] Generated Node #0,0,1: 72:[17, 8] Operation: 2+6=8 Exploring Operation: 2*6=12, Resulting Numbers: [17, 12] Generated Node #0,0,2: 72:[17, 12] Operation: 2*6=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[6, 19], Operations: ['48/8=6', '2+17=19'] Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,72 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,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:[17, 8], Operations: ['48/8=6', '2+6=8'] Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 17*8=136, Resulting Numbers: [136] 136,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:[17, 12], Operations: ['48/8=6', '2*6=12'] Exploring Operation: 17*12=204, Resulting Numbers: [204] 204,72 unequal: No Solution Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,72 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,72 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: 72:[17, 8, 24], Operations: ['48/2=24'] Exploring Operation: 24-17=7, Resulting Numbers: [8, 7] Generated Node #0,1,0: 72:[8, 7] Operation: 24-17=7 Exploring Operation: 17-8=9, Resulting Numbers: [24, 9] Generated Node #0,1,1: 72:[24, 9] Operation: 17-8=9 Exploring Operation: 17+8=25, Resulting Numbers: [24, 25] Generated Node #0,1,2: 72:[24, 25] Operation: 17+8=25 Moving to Node #0,2 Current State: 72:[2, 8, 31], Operations: ['48-17=31'] Exploring Operation: 2+31=33, Resulting Numbers: [8, 33] Generated Node #0,2,0: 72:[8, 33] Operation: 2+31=33 Exploring Operation: 31-8=23, Resulting Numbers: [2, 23] Generated Node #0,2,1: 72:[2, 23] Operation: 31-8=23 Exploring Operation: 8+31=39, Resulting Numbers: [2, 39] Generated Node #0,2,2: 72:[2, 39] Operation: 8+31=39 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 72:[2, 23], Operations: ['48-17=31', '31-8=23'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,72 unequal: No Solution Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,72 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,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,0 Current State: 72:[8, 33], Operations: ['48-17=31', '2+31=33'] Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 8+33=41, Resulting Numbers: [41] 41,72 unequal: No Solution Exploring Operation: 8*33=264, Resulting Numbers: [264] 264,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:[2, 39], Operations: ['48-17=31', '8+31=39'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,72 unequal: No Solution Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,72 unequal: No Solution Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,72 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: 72:[24, 9], Operations: ['48/2=24', '17-8=9'] Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,72 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,72 unequal: No Solution Exploring Operation: 24*9=216, Resulting Numbers: [216] 216,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[8, 7], Operations: ['48/2=24', '24-17=7'] Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,72 unequal: No Solution Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,72 unequal: No Solution Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,72 unequal: No Solution Moving to Node #0,1,2 Current State: 72:[24, 25], Operations: ['48/2=24', '17+8=25'] Exploring Operation: 24*25=600, Resulting Numbers: [600] 600,72 unequal: No Solution Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,72 unequal: No Solution Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,72 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 46, 52, 40, 55 ]
21
[ "52-46=6", "55-40=15", "6+15=21" ]
Current State: 21:[46, 52, 40, 55], Operations: [] Exploring Operation: 52-46=6, Resulting Numbers: [40, 55, 6] Generated Node #2: [40, 55, 6] from Operation: 52-46=6 Current State: 21:[40, 55, 6], Operations: ['52-46=6'] Exploring Operation: 55-40=15, Resulting Numbers: [6, 15] Generated Node #3: [6, 15] from Operation: 55-40=15 Current State: 21:[6, 15], Operations: ['52-46=6', '55-40=15'] Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[46, 52, 40, 55], Operations: [] Exploring Operation: 55-52=3, Resulting Numbers: [46, 40, 3] Generated Node #0,0: 21:[46, 40, 3] Operation: 55-52=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[46, 40, 3], Operations: ['55-52=3'] Exploring Operation: 46-40=6, Resulting Numbers: [3, 6] Generated Node #0,0,0: 21:[3, 6] Operation: 46-40=6 Moving to Node #0,0,0 Current State: 21:[3, 6], Operations: ['55-52=3', '46-40=6'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 53, 28, 60, 11 ]
10
[ "53+28=81", "60+11=71", "81-71=10" ]
Current State: 10:[53, 28, 60, 11], Operations: [] Exploring Operation: 53+28=81, Resulting Numbers: [60, 11, 81] Generated Node #2: [60, 11, 81] from Operation: 53+28=81 Current State: 10:[60, 11, 81], Operations: ['53+28=81'] Exploring Operation: 60+11=71, Resulting Numbers: [81, 71] Generated Node #3: [81, 71] from Operation: 60+11=71 Current State: 10:[81, 71], Operations: ['53+28=81', '60+11=71'] Exploring Operation: 81-71=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[53, 28, 60, 11], Operations: [] Exploring Operation: 53-28=25, Resulting Numbers: [60, 11, 25] Generated Node #0,0: 10:[60, 11, 25] Operation: 53-28=25 Exploring Operation: 60-28=32, Resulting Numbers: [53, 11, 32] Generated Node #0,1: 10:[53, 11, 32] Operation: 60-28=32 Exploring Operation: 60-53=7, Resulting Numbers: [28, 11, 7] Generated Node #0,2: 10:[28, 11, 7] Operation: 60-53=7 Moving to Node #0,2 Current State: 10:[28, 11, 7], Operations: ['60-53=7'] Exploring Operation: 28-7=21, Resulting Numbers: [11, 21] Generated Node #0,2,0: 10:[11, 21] Operation: 28-7=21 Exploring Operation: 28-11=17, Resulting Numbers: [7, 17] Generated Node #0,2,1: 10:[7, 17] Operation: 28-11=17 Exploring Operation: 28/7=4, Resulting Numbers: [11, 4] Generated Node #0,2,2: 10:[11, 4] Operation: 28/7=4 Moving to Node #0,0 Current State: 10:[60, 11, 25], Operations: ['53-28=25'] Exploring Operation: 60-11=49, Resulting Numbers: [25, 49] Generated Node #0,0,0: 10:[25, 49] Operation: 60-11=49 Exploring Operation: 60-25=35, Resulting Numbers: [11, 35] Generated Node #0,0,1: 10:[11, 35] Operation: 60-25=35 Exploring Operation: 25-11=14, Resulting Numbers: [60, 14] Generated Node #0,0,2: 10:[60, 14] Operation: 25-11=14 Moving to Node #0,1 Current State: 10:[53, 11, 32], Operations: ['60-28=32'] Exploring Operation: 53-11=42, Resulting Numbers: [32, 42] Generated Node #0,1,0: 10:[32, 42] Operation: 53-11=42 Exploring Operation: 53-32=21, Resulting Numbers: [11, 21] Generated Node #0,1,1: 10:[11, 21] Operation: 53-32=21 Exploring Operation: 32-11=21, Resulting Numbers: [53, 21] Generated Node #0,1,2: 10:[53, 21] Operation: 32-11=21 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[11, 21], Operations: ['60-28=32', '53-32=21'] Exploring Operation: 11*21=231, Resulting Numbers: [231] 231,10 unequal: No Solution Exploring Operation: 11+21=32, Resulting Numbers: [32] 32,10 unequal: No Solution Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[53, 28, 60, 11], Operations: [] Exploring Operation: 60-28=32, Resulting Numbers: [53, 11, 32] Generated Node #0,1: 10:[53, 11, 32] Operation: 60-28=32 Moving to Node #0,1 Current State: 10:[53, 11, 32], Operations: ['60-28=32'] Exploring Operation: 53-32=21, Resulting Numbers: [11, 21] Generated Node #0,1,1: 10:[11, 21] Operation: 53-32=21 Moving to Node #0,1,1 Current State: 10:[11, 21], Operations: ['60-28=32', '53-32=21'] Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 93, 83, 41, 88 ]
43
[ "93+83=176", "176/88=2", "41+2=43" ]
Current State: 43:[93, 83, 41, 88], Operations: [] Exploring Operation: 93+83=176, Resulting Numbers: [41, 88, 176] Generated Node #2: [41, 88, 176] from Operation: 93+83=176 Current State: 43:[41, 88, 176], Operations: ['93+83=176'] Exploring Operation: 176/88=2, Resulting Numbers: [41, 2] Generated Node #3: [41, 2] from Operation: 176/88=2 Current State: 43:[41, 2], Operations: ['93+83=176', '176/88=2'] Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[93, 83, 41, 88], Operations: [] Exploring Operation: 93-83=10, Resulting Numbers: [41, 88, 10] Generated Node #0,0: 43:[41, 88, 10] Operation: 93-83=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[41, 88, 10], Operations: ['93-83=10'] Exploring Operation: 88-41=47, Resulting Numbers: [10, 47] Generated Node #0,0,0: 43:[10, 47] Operation: 88-41=47 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[10, 47], Operations: ['93-83=10', '88-41=47'] Exploring Operation: 47-10=37, Resulting Numbers: [37] 37,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 52, 22, 46, 54 ]
57
[ "54-52=2", "22/2=11", "46+11=57" ]
Current State: 57:[52, 22, 46, 54], Operations: [] Exploring Operation: 54-52=2, Resulting Numbers: [22, 46, 2] Generated Node #2: [22, 46, 2] from Operation: 54-52=2 Current State: 57:[22, 46, 2], Operations: ['54-52=2'] Exploring Operation: 22/2=11, Resulting Numbers: [46, 11] Generated Node #3: [46, 11] from Operation: 22/2=11 Current State: 57:[46, 11], Operations: ['54-52=2', '22/2=11'] Exploring Operation: 46+11=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[52, 22, 46, 54], Operations: [] Exploring Operation: 46-22=24, Resulting Numbers: [52, 54, 24] Generated Node #0,0: 57:[52, 54, 24] Operation: 46-22=24 Exploring Operation: 52-46=6, Resulting Numbers: [22, 54, 6] Generated Node #0,1: 57:[22, 54, 6] Operation: 52-46=6 Exploring Operation: 54-46=8, Resulting Numbers: [52, 22, 8] Generated Node #0,2: 57:[52, 22, 8] Operation: 54-46=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[22, 54, 6], Operations: ['52-46=6'] Exploring Operation: 54/6=9, Resulting Numbers: [22, 9] Generated Node #0,1,0: 57:[22, 9] Operation: 54/6=9 Exploring Operation: 54+6=60, Resulting Numbers: [22, 60] Generated Node #0,1,1: 57:[22, 60] Operation: 54+6=60 Exploring Operation: 22-6=16, Resulting Numbers: [54, 16] Generated Node #0,1,2: 57:[54, 16] Operation: 22-6=16 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 57:[22, 60], Operations: ['52-46=6', '54+6=60'] Exploring Operation: 22*60=1320, Resulting Numbers: [1320] 1320,57 unequal: No Solution Exploring Operation: 22+60=82, Resulting Numbers: [82] 82,57 unequal: No Solution Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,57 unequal: No Solution No 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: 57:[54, 16], Operations: ['52-46=6', '22-6=16'] Exploring Operation: 54-16=38, Resulting Numbers: [38] 38,57 unequal: No Solution Exploring Operation: 54*16=864, Resulting Numbers: [864] 864,57 unequal: No Solution Exploring Operation: 54+16=70, Resulting Numbers: [70] 70,57 unequal: No Solution No 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: 57:[22, 9], Operations: ['52-46=6', '54/6=9'] Exploring Operation: 22+9=31, Resulting Numbers: [31] 31,57 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,57 unequal: No Solution Exploring Operation: 22*9=198, Resulting Numbers: [198] 198,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[52, 54, 24], Operations: ['46-22=24'] Exploring Operation: 54-24=30, Resulting Numbers: [52, 30] Generated Node #0,0,0: 57:[52, 30] Operation: 54-24=30 Exploring Operation: 52-24=28, Resulting Numbers: [54, 28] Generated Node #0,0,1: 57:[54, 28] Operation: 52-24=28 Exploring Operation: 54-52=2, Resulting Numbers: [24, 2] Generated Node #0,0,2: 57:[24, 2] Operation: 54-52=2 Moving to Node #0,0,2 Current State: 57:[24, 2], Operations: ['46-22=24', '54-52=2'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,57 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,57 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,57 unequal: No Solution Moving to Node #0,0,1 Current State: 57:[54, 28], Operations: ['46-22=24', '52-24=28'] Exploring Operation: 54+28=82, Resulting Numbers: [82] 82,57 unequal: No Solution Exploring Operation: 54*28=1512, Resulting Numbers: [1512] 1512,57 unequal: No Solution Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,57 unequal: No Solution Moving to Node #0,0,0 Current State: 57:[52, 30], Operations: ['46-22=24', '54-24=30'] Exploring Operation: 52-30=22, Resulting Numbers: [22] 22,57 unequal: No Solution Exploring Operation: 52+30=82, Resulting Numbers: [82] 82,57 unequal: No Solution Exploring Operation: 52*30=1560, Resulting Numbers: [1560] 1560,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 57:[52, 22, 8], Operations: ['54-46=8'] Exploring Operation: 52+8=60, Resulting Numbers: [22, 60] Generated Node #0,2,0: 57:[22, 60] Operation: 52+8=60 Exploring Operation: 52-22=30, Resulting Numbers: [8, 30] Generated Node #0,2,1: 57:[8, 30] Operation: 52-22=30 Exploring Operation: 22-8=14, Resulting Numbers: [52, 14] Generated Node #0,2,2: 57:[52, 14] Operation: 22-8=14 Moving to Node #0,2,0 Current State: 57:[22, 60], Operations: ['54-46=8', '52+8=60'] Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,57 unequal: No Solution Exploring Operation: 22+60=82, Resulting Numbers: [82] 82,57 unequal: No Solution Exploring Operation: 22*60=1320, Resulting Numbers: [1320] 1320,57 unequal: No Solution Moving to Node #0,2,2 Current State: 57:[52, 14], Operations: ['54-46=8', '22-8=14'] Exploring Operation: 52+14=66, Resulting Numbers: [66] 66,57 unequal: No Solution Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,57 unequal: No Solution Exploring Operation: 52*14=728, Resulting Numbers: [728] 728,57 unequal: No Solution Moving to Node #0,2,1 Current State: 57:[8, 30], Operations: ['54-46=8', '52-22=30'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,57 unequal: No Solution Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,57 unequal: No Solution Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 54, 74, 63, 57 ]
65
[ "63-57=6", "54/6=9", "74-9=65" ]
Current State: 65:[54, 74, 63, 57], Operations: [] Exploring Operation: 63-57=6, Resulting Numbers: [54, 74, 6] Generated Node #2: [54, 74, 6] from Operation: 63-57=6 Current State: 65:[54, 74, 6], Operations: ['63-57=6'] Exploring Operation: 54/6=9, Resulting Numbers: [74, 9] Generated Node #3: [74, 9] from Operation: 54/6=9 Current State: 65:[74, 9], Operations: ['63-57=6', '54/6=9'] Exploring Operation: 74-9=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[54, 74, 63, 57], Operations: [] Exploring Operation: 74-57=17, Resulting Numbers: [54, 63, 17] Generated Node #0,0: 65:[54, 63, 17] Operation: 74-57=17 Exploring Operation: 74-54=20, Resulting Numbers: [63, 57, 20] Generated Node #0,1: 65:[63, 57, 20] Operation: 74-54=20 Exploring Operation: 57-54=3, Resulting Numbers: [74, 63, 3] Generated Node #0,2: 65:[74, 63, 3] Operation: 57-54=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[74, 63, 3], Operations: ['57-54=3'] Exploring Operation: 74-3=71, Resulting Numbers: [63, 71] Generated Node #0,2,0: 65:[63, 71] Operation: 74-3=71 Exploring Operation: 63+3=66, Resulting Numbers: [74, 66] Generated Node #0,2,1: 65:[74, 66] Operation: 63+3=66 Exploring Operation: 74-63=11, Resulting Numbers: [3, 11] Generated Node #0,2,2: 65:[3, 11] Operation: 74-63=11 Moving to Node #0,2,2 Current State: 65:[3, 11], Operations: ['57-54=3', '74-63=11'] Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,65 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,65 unequal: No Solution Moving to Node #0,2,0 Current State: 65:[63, 71], Operations: ['57-54=3', '74-3=71'] Exploring Operation: 71-63=8, Resulting Numbers: [8] 8,65 unequal: No Solution Exploring Operation: 63*71=4473, Resulting Numbers: [4473] 4473,65 unequal: No Solution Exploring Operation: 63+71=134, Resulting Numbers: [134] 134,65 unequal: No Solution Moving to Node #0,2,1 Current State: 65:[74, 66], Operations: ['57-54=3', '63+3=66'] Exploring Operation: 74*66=4884, Resulting Numbers: [4884] 4884,65 unequal: No Solution Exploring Operation: 74+66=140, Resulting Numbers: [140] 140,65 unequal: No Solution Exploring Operation: 74-66=8, Resulting Numbers: [8] 8,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[54, 63, 17], Operations: ['74-57=17'] Exploring Operation: 63-54=9, Resulting Numbers: [17, 9] Generated Node #0,0,0: 65:[17, 9] Operation: 63-54=9 Exploring Operation: 54+17=71, Resulting Numbers: [63, 71] Generated Node #0,0,1: 65:[63, 71] Operation: 54+17=71 Exploring Operation: 54-17=37, Resulting Numbers: [63, 37] Generated Node #0,0,2: 65:[63, 37] Operation: 54-17=37 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 65:[17, 9], Operations: ['74-57=17', '63-54=9'] Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,65 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,65 unequal: No Solution Exploring Operation: 17*9=153, Resulting Numbers: [153] 153,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 65:[63, 71], Operations: ['74-57=17', '54+17=71'] Exploring Operation: 63+71=134, Resulting Numbers: [134] 134,65 unequal: No Solution Exploring Operation: 71-63=8, Resulting Numbers: [8] 8,65 unequal: No Solution Exploring Operation: 63*71=4473, Resulting Numbers: [4473] 4473,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 65:[63, 37], Operations: ['74-57=17', '54-17=37'] Exploring Operation: 63+37=100, Resulting Numbers: [100] 100,65 unequal: No Solution Exploring Operation: 63*37=2331, Resulting Numbers: [2331] 2331,65 unequal: No Solution Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[63, 57, 20], Operations: ['74-54=20'] Exploring Operation: 63-57=6, Resulting Numbers: [20, 6] Generated Node #0,1,0: 65:[20, 6] Operation: 63-57=6 Exploring Operation: 63+20=83, Resulting Numbers: [57, 83] Generated Node #0,1,1: 65:[57, 83] Operation: 63+20=83 Exploring Operation: 57+20=77, Resulting Numbers: [63, 77] Generated Node #0,1,2: 65:[63, 77] Operation: 57+20=77 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 65:[20, 6], Operations: ['74-54=20', '63-57=6'] Exploring Operation: 20*6=120, Resulting Numbers: [120] 120,65 unequal: No Solution Exploring Operation: 20+6=26, Resulting Numbers: [26] 26,65 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 65:[63, 77], Operations: ['74-54=20', '57+20=77'] Exploring Operation: 63+77=140, Resulting Numbers: [140] 140,65 unequal: No Solution Exploring Operation: 63*77=4851, Resulting Numbers: [4851] 4851,65 unequal: No Solution Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 65:[57, 83], Operations: ['74-54=20', '63+20=83'] Exploring Operation: 83-57=26, Resulting Numbers: [26] 26,65 unequal: No Solution Exploring Operation: 57+83=140, Resulting Numbers: [140] 140,65 unequal: No Solution Exploring Operation: 57*83=4731, Resulting Numbers: [4731] 4731,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 20, 37, 19, 41 ]
61
[ "41-37=4", "20*4=80", "80-19=61" ]
Current State: 61:[20, 37, 19, 41], Operations: [] Exploring Operation: 41-37=4, Resulting Numbers: [20, 19, 4] Generated Node #2: [20, 19, 4] from Operation: 41-37=4 Current State: 61:[20, 19, 4], Operations: ['41-37=4'] Exploring Operation: 20*4=80, Resulting Numbers: [19, 80] Generated Node #3: [19, 80] from Operation: 20*4=80 Current State: 61:[19, 80], Operations: ['41-37=4', '20*4=80'] Exploring Operation: 80-19=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[20, 37, 19, 41], Operations: [] Exploring Operation: 20+19=39, Resulting Numbers: [37, 41, 39] Generated Node #0,0: 61:[37, 41, 39] Operation: 20+19=39 Exploring Operation: 20+37=57, Resulting Numbers: [19, 41, 57] Generated Node #0,1: 61:[19, 41, 57] Operation: 20+37=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[37, 41, 39], Operations: ['20+19=39'] Exploring Operation: 37+41=78, Resulting Numbers: [39, 78] Generated Node #0,0,0: 61:[39, 78] Operation: 37+41=78 Exploring Operation: 37+39=76, Resulting Numbers: [41, 76] Generated Node #0,0,1: 61:[41, 76] Operation: 37+39=76 Moving to Node #0,0,1 Current State: 61:[41, 76], Operations: ['20+19=39', '37+39=76'] Exploring Operation: 41+76=117, Resulting Numbers: [117] 117,61 unequal: No Solution Exploring Operation: 76-41=35, Resulting Numbers: [35] 35,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[39, 78], Operations: ['20+19=39', '37+41=78'] Exploring Operation: 39+78=117, Resulting Numbers: [117] 117,61 unequal: No Solution Exploring Operation: 78-39=39, Resulting Numbers: [39] 39,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[19, 41, 57], Operations: ['20+37=57'] Exploring Operation: 19+41=60, Resulting Numbers: [57, 60] Generated Node #0,1,0: 61:[57, 60] Operation: 19+41=60 Exploring Operation: 19+57=76, Resulting Numbers: [41, 76] Generated Node #0,1,1: 61:[41, 76] Operation: 19+57=76 Moving to Node #0,1,0 Current State: 61:[57, 60], Operations: ['20+37=57', '19+41=60'] Exploring Operation: 60-57=3, Resulting Numbers: [3] 3,61 unequal: No Solution Exploring Operation: 57+60=117, Resulting Numbers: [117] 117,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[41, 76], Operations: ['20+37=57', '19+57=76'] Exploring Operation: 41+76=117, Resulting Numbers: [117] 117,61 unequal: No Solution Exploring Operation: 76-41=35, Resulting Numbers: [35] 35,61 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
[ 12, 24, 60, 47 ]
45
[ "60-12=48", "48/24=2", "47-2=45" ]
Current State: 45:[12, 24, 60, 47], Operations: [] Exploring Operation: 60-12=48, Resulting Numbers: [24, 47, 48] Generated Node #2: [24, 47, 48] from Operation: 60-12=48 Current State: 45:[24, 47, 48], Operations: ['60-12=48'] Exploring Operation: 48/24=2, Resulting Numbers: [47, 2] Generated Node #3: [47, 2] from Operation: 48/24=2 Current State: 45:[47, 2], Operations: ['60-12=48', '48/24=2'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[12, 24, 60, 47], Operations: [] Exploring Operation: 60/12=5, Resulting Numbers: [24, 47, 5] Generated Node #0,0: 45:[24, 47, 5] Operation: 60/12=5 Exploring Operation: 60-12=48, Resulting Numbers: [24, 47, 48] Generated Node #0,1: 45:[24, 47, 48] Operation: 60-12=48 Exploring Operation: 60-24=36, Resulting Numbers: [12, 47, 36] Generated Node #0,2: 45:[12, 47, 36] Operation: 60-24=36 Exploring Operation: 60-47=13, Resulting Numbers: [12, 24, 13] Generated Node #0,3: 45:[12, 24, 13] Operation: 60-47=13 Moving to Node #0,0 Current State: 45:[24, 47, 5], Operations: ['60/12=5'] Exploring Operation: 24-5=19, Resulting Numbers: [47, 19] Generated Node #0,0,0: 45:[47, 19] Operation: 24-5=19 Exploring Operation: 47-24=23, Resulting Numbers: [5, 23] Generated Node #0,0,1: 45:[5, 23] Operation: 47-24=23 Exploring Operation: 24+5=29, Resulting Numbers: [47, 29] Generated Node #0,0,2: 45:[47, 29] Operation: 24+5=29 Exploring Operation: 47-5=42, Resulting Numbers: [24, 42] Generated Node #0,0,3: 45:[24, 42] Operation: 47-5=42 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[47, 19], Operations: ['60/12=5', '24-5=19'] Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,45 unequal: No Solution Exploring Operation: 47+19=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 47*19=893, Resulting Numbers: [893] 893,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 45:[5, 23], Operations: ['60/12=5', '47-24=23'] Exploring Operation: 5*23=115, Resulting Numbers: [115] 115,45 unequal: No Solution Exploring Operation: 5+23=28, Resulting Numbers: [28] 28,45 unequal: No Solution Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 45:[24, 42], Operations: ['60/12=5', '47-5=42'] Exploring Operation: 24+42=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 24*42=1008, Resulting Numbers: [1008] 1008,45 unequal: No Solution Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 45:[47, 29], Operations: ['60/12=5', '24+5=29'] Exploring Operation: 47-29=18, Resulting Numbers: [18] 18,45 unequal: No Solution Exploring Operation: 47*29=1363, Resulting Numbers: [1363] 1363,45 unequal: No Solution Exploring Operation: 47+29=76, Resulting Numbers: [76] 76,45 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: 45:[12, 47, 36], Operations: ['60-24=36'] Exploring Operation: 12+36=48, Resulting Numbers: [47, 48] Generated Node #0,2,0: 45:[47, 48] Operation: 12+36=48 Exploring Operation: 36-12=24, Resulting Numbers: [47, 24] Generated Node #0,2,1: 45:[47, 24] Operation: 36-12=24 Exploring Operation: 47-36=11, Resulting Numbers: [12, 11] Generated Node #0,2,2: 45:[12, 11] Operation: 47-36=11 Exploring Operation: 36/12=3, Resulting Numbers: [47, 3] Generated Node #0,2,3: 45:[47, 3] Operation: 36/12=3 Moving to Node #0,1 Current State: 45:[24, 47, 48], Operations: ['60-12=48'] Exploring Operation: 48-24=24, Resulting Numbers: [47, 24] Generated Node #0,1,0: 45:[47, 24] Operation: 48-24=24 Exploring Operation: 48/24=2, Resulting Numbers: [47, 2] Generated Node #0,1,1: 45:[47, 2] Operation: 48/24=2 Exploring Operation: 47-24=23, Resulting Numbers: [48, 23] Generated Node #0,1,2: 45:[48, 23] Operation: 47-24=23 Exploring Operation: 48-47=1, Resulting Numbers: [24, 1] Generated Node #0,1,3: 45:[24, 1] Operation: 48-47=1 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[47, 2], Operations: ['60-12=48', '48/24=2'] Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,45 unequal: No Solution Exploring Operation: 47+2=49, Resulting Numbers: [49] 49,45 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[12, 24, 60, 47], Operations: [] Exploring Operation: 60-12=48, Resulting Numbers: [24, 47, 48] Generated Node #0,1: 45:[24, 47, 48] Operation: 60-12=48 Moving to Node #0,1 Current State: 45:[24, 47, 48], Operations: ['60-12=48'] Exploring Operation: 48/24=2, Resulting Numbers: [47, 2] Generated Node #0,1,1: 45:[47, 2] Operation: 48/24=2 Moving to Node #0,1,1 Current State: 45:[47, 2], Operations: ['60-12=48', '48/24=2'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
mult_heuristic
[ 5, 93, 86, 17 ]
78
[ "5*17=85", "93-86=7", "85-7=78" ]
Current State: 78:[5, 93, 86, 17], Operations: [] Exploring Operation: 5*17=85, Resulting Numbers: [93, 86, 85] Generated Node #2: [93, 86, 85] from Operation: 5*17=85 Current State: 78:[93, 86, 85], Operations: ['5*17=85'] Exploring Operation: 93-86=7, Resulting Numbers: [85, 7] Generated Node #3: [85, 7] from Operation: 93-86=7 Current State: 78:[85, 7], Operations: ['5*17=85', '93-86=7'] Exploring Operation: 85-7=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[5, 93, 86, 17], Operations: [] Exploring Operation: 93-86=7, Resulting Numbers: [5, 17, 7] Generated Node #0,0: 78:[5, 17, 7] Operation: 93-86=7 Moving to Node #0,0 Current State: 78:[5, 17, 7], Operations: ['93-86=7'] Exploring Operation: 17-5=12, Resulting Numbers: [7, 12] Generated Node #0,0,0: 78:[7, 12] Operation: 17-5=12 Moving to Node #0,0,0 Current State: 78:[7, 12], Operations: ['93-86=7', '17-5=12'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,78 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 62, 47, 60, 6 ]
69
[ "62-47=15", "60-6=54", "15+54=69" ]
Current State: 69:[62, 47, 60, 6], Operations: [] Exploring Operation: 62-47=15, Resulting Numbers: [60, 6, 15] Generated Node #2: [60, 6, 15] from Operation: 62-47=15 Current State: 69:[60, 6, 15], Operations: ['62-47=15'] Exploring Operation: 60-6=54, Resulting Numbers: [15, 54] Generated Node #3: [15, 54] from Operation: 60-6=54 Current State: 69:[15, 54], Operations: ['62-47=15', '60-6=54'] Exploring Operation: 15+54=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[62, 47, 60, 6], Operations: [] Exploring Operation: 62-47=15, Resulting Numbers: [60, 6, 15] Generated Node #0,0: 69:[60, 6, 15] Operation: 62-47=15 Exploring Operation: 60-47=13, Resulting Numbers: [62, 6, 13] Generated Node #0,1: 69:[62, 6, 13] Operation: 60-47=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[60, 6, 15], Operations: ['62-47=15'] Exploring Operation: 60+15=75, Resulting Numbers: [6, 75] Generated Node #0,0,0: 69:[6, 75] Operation: 60+15=75 Exploring Operation: 60/15=4, Resulting Numbers: [6, 4] Generated Node #0,0,1: 69:[6, 4] Operation: 60/15=4 Moving to Node #0,0,1 Current State: 69:[6, 4], Operations: ['62-47=15', '60/15=4'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,69 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[6, 75], Operations: ['62-47=15', '60+15=75'] Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[62, 47, 60, 6], Operations: [] Exploring Operation: 62-47=15, Resulting Numbers: [60, 6, 15] Generated Node #0,0: 69:[60, 6, 15] Operation: 62-47=15 Moving to Node #0,0 Current State: 69:[60, 6, 15], Operations: ['62-47=15'] Exploring Operation: 60+15=75, Resulting Numbers: [6, 75] Generated Node #0,0,0: 69:[6, 75] Operation: 60+15=75 Moving to Node #0,0,0 Current State: 69:[6, 75], Operations: ['62-47=15', '60+15=75'] Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 17, 43, 81, 3 ]
53
[ "43-17=26", "81/3=27", "26+27=53" ]
Current State: 53:[17, 43, 81, 3], Operations: [] Exploring Operation: 43-17=26, Resulting Numbers: [81, 3, 26] Generated Node #2: [81, 3, 26] from Operation: 43-17=26 Current State: 53:[81, 3, 26], Operations: ['43-17=26'] Exploring Operation: 81/3=27, Resulting Numbers: [26, 27] Generated Node #3: [26, 27] from Operation: 81/3=27 Current State: 53:[26, 27], Operations: ['43-17=26', '81/3=27'] Exploring Operation: 26+27=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[17, 43, 81, 3], Operations: [] Exploring Operation: 17*3=51, Resulting Numbers: [43, 81, 51] Generated Node #0,0: 53:[43, 81, 51] Operation: 17*3=51 Exploring Operation: 81-17=64, Resulting Numbers: [43, 3, 64] Generated Node #0,1: 53:[43, 3, 64] Operation: 81-17=64 Exploring Operation: 17+3=20, Resulting Numbers: [43, 81, 20] Generated Node #0,2: 53:[43, 81, 20] Operation: 17+3=20 Exploring Operation: 43+3=46, Resulting Numbers: [17, 81, 46] Generated Node #0,3: 53:[17, 81, 46] Operation: 43+3=46 Exploring Operation: 81-3=78, Resulting Numbers: [17, 43, 78] Generated Node #0,4: 53:[17, 43, 78] Operation: 81-3=78 Moving to Node #0,0 Current State: 53:[43, 81, 51], Operations: ['17*3=51'] Exploring Operation: 43+51=94, Resulting Numbers: [81, 94] Generated Node #0,0,0: 53:[81, 94] Operation: 43+51=94 Exploring Operation: 43+81=124, Resulting Numbers: [51, 124] Generated Node #0,0,1: 53:[51, 124] Operation: 43+81=124 Exploring Operation: 81-51=30, Resulting Numbers: [43, 30] Generated Node #0,0,2: 53:[43, 30] Operation: 81-51=30 Exploring Operation: 81-43=38, Resulting Numbers: [51, 38] Generated Node #0,0,3: 53:[51, 38] Operation: 81-43=38 Exploring Operation: 51-43=8, Resulting Numbers: [81, 8] Generated Node #0,0,4: 53:[81, 8] Operation: 51-43=8 Moving to Node #0,2 Current State: 53:[43, 81, 20], Operations: ['17+3=20'] Exploring Operation: 43+20=63, Resulting Numbers: [81, 63] Generated Node #0,2,0: 53:[81, 63] Operation: 43+20=63 Exploring Operation: 81-43=38, Resulting Numbers: [20, 38] Generated Node #0,2,1: 53:[20, 38] Operation: 81-43=38 Exploring Operation: 81-20=61, Resulting Numbers: [43, 61] Generated Node #0,2,2: 53:[43, 61] Operation: 81-20=61 Exploring Operation: 81+20=101, Resulting Numbers: [43, 101] Generated Node #0,2,3: 53:[43, 101] Operation: 81+20=101 Exploring Operation: 43-20=23, Resulting Numbers: [81, 23] Generated Node #0,2,4: 53:[81, 23] Operation: 43-20=23 Moving to Node #0,4 Current State: 53:[17, 43, 78], Operations: ['81-3=78'] Exploring Operation: 17+43=60, Resulting Numbers: [78, 60] Generated Node #0,4,0: 53:[78, 60] Operation: 17+43=60 Exploring Operation: 43-17=26, Resulting Numbers: [78, 26] Generated Node #0,4,1: 53:[78, 26] Operation: 43-17=26 Exploring Operation: 78-43=35, Resulting Numbers: [17, 35] Generated Node #0,4,2: 53:[17, 35] Operation: 78-43=35 Exploring Operation: 17+78=95, Resulting Numbers: [43, 95] Generated Node #0,4,3: 53:[43, 95] Operation: 17+78=95 Exploring Operation: 78-17=61, Resulting Numbers: [43, 61] Generated Node #0,4,4: 53:[43, 61] Operation: 78-17=61 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 53:[43, 61], Operations: ['81-3=78', '78-17=61'] Exploring Operation: 43*61=2623, Resulting Numbers: [2623] 2623,53 unequal: No Solution Exploring Operation: 43+61=104, Resulting Numbers: [104] 104,53 unequal: No Solution Exploring Operation: 61-43=18, Resulting Numbers: [18] 18,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 53:[78, 60], Operations: ['81-3=78', '17+43=60'] Exploring Operation: 78+60=138, Resulting Numbers: [138] 138,53 unequal: No Solution Exploring Operation: 78*60=4680, Resulting Numbers: [4680] 4680,53 unequal: No Solution Exploring Operation: 78-60=18, Resulting Numbers: [18] 18,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 53:[78, 26], Operations: ['81-3=78', '43-17=26'] Exploring Operation: 78-26=52, Resulting Numbers: [52] 52,53 unequal: No Solution Exploring Operation: 78*26=2028, Resulting Numbers: [2028] 2028,53 unequal: No Solution Exploring Operation: 78+26=104, Resulting Numbers: [104] 104,53 unequal: No Solution Exploring Operation: 78/26=3, Resulting Numbers: [3] 3,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 53:[43, 95], Operations: ['81-3=78', '17+78=95'] Exploring Operation: 43+95=138, Resulting Numbers: [138] 138,53 unequal: No Solution Exploring Operation: 43*95=4085, Resulting Numbers: [4085] 4085,53 unequal: No Solution Exploring Operation: 95-43=52, Resulting Numbers: [52] 52,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 53:[17, 35], Operations: ['81-3=78', '78-43=35'] Exploring Operation: 17+35=52, Resulting Numbers: [52] 52,53 unequal: No Solution Exploring Operation: 17*35=595, Resulting Numbers: [595] 595,53 unequal: No Solution Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,53 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: 53:[43, 3, 64], Operations: ['81-17=64'] Exploring Operation: 3+64=67, Resulting Numbers: [43, 67] Generated Node #0,1,0: 53:[43, 67] Operation: 3+64=67 Exploring Operation: 64-43=21, Resulting Numbers: [3, 21] Generated Node #0,1,1: 53:[3, 21] Operation: 64-43=21 Exploring Operation: 43+3=46, Resulting Numbers: [64, 46] Generated Node #0,1,2: 53:[64, 46] Operation: 43+3=46 Exploring Operation: 64-3=61, Resulting Numbers: [43, 61] Generated Node #0,1,3: 53:[43, 61] Operation: 64-3=61 Exploring Operation: 43-3=40, Resulting Numbers: [64, 40] Generated Node #0,1,4: 53:[64, 40] Operation: 43-3=40 Moving to Node #0,3 Current State: 53:[17, 81, 46], Operations: ['43+3=46'] Exploring Operation: 46-17=29, Resulting Numbers: [81, 29] Generated Node #0,3,0: 53:[81, 29] Operation: 46-17=29 Exploring Operation: 81-17=64, Resulting Numbers: [46, 64] Generated Node #0,3,1: 53:[46, 64] Operation: 81-17=64 Exploring Operation: 17+81=98, Resulting Numbers: [46, 98] Generated Node #0,3,2: 53:[46, 98] Operation: 17+81=98 Exploring Operation: 17+46=63, Resulting Numbers: [81, 63] Generated Node #0,3,3: 53:[81, 63] Operation: 17+46=63 Exploring Operation: 81-46=35, Resulting Numbers: [17, 35] Generated Node #0,3,4: 53:[17, 35] Operation: 81-46=35 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 53:[46, 64], Operations: ['43+3=46', '81-17=64'] Exploring Operation: 46+64=110, Resulting Numbers: [110] 110,53 unequal: No Solution Exploring Operation: 64-46=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 46*64=2944, Resulting Numbers: [2944] 2944,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 53:[81, 63], Operations: ['43+3=46', '17+46=63'] Exploring Operation: 81-63=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 81+63=144, Resulting Numbers: [144] 144,53 unequal: No Solution Exploring Operation: 81*63=5103, Resulting Numbers: [5103] 5103,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 53:[81, 29], Operations: ['43+3=46', '46-17=29'] Exploring Operation: 81-29=52, Resulting Numbers: [52] 52,53 unequal: No Solution Exploring Operation: 81+29=110, Resulting Numbers: [110] 110,53 unequal: No Solution Exploring Operation: 81*29=2349, Resulting Numbers: [2349] 2349,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 53:[46, 98], Operations: ['43+3=46', '17+81=98'] Exploring Operation: 46*98=4508, Resulting Numbers: [4508] 4508,53 unequal: No Solution Exploring Operation: 46+98=144, Resulting Numbers: [144] 144,53 unequal: No Solution Exploring Operation: 98-46=52, Resulting Numbers: [52] 52,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 53:[17, 35], Operations: ['43+3=46', '81-46=35'] Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 17*35=595, Resulting Numbers: [595] 595,53 unequal: No Solution Exploring Operation: 17+35=52, Resulting Numbers: [52] 52,53 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: 53:[51, 38], Operations: ['17*3=51', '81-43=38'] Exploring Operation: 51+38=89, Resulting Numbers: [89] 89,53 unequal: No Solution Exploring Operation: 51-38=13, Resulting Numbers: [13] 13,53 unequal: No Solution Exploring Operation: 51*38=1938, Resulting Numbers: [1938] 1938,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[43, 61], Operations: ['17+3=20', '81-20=61'] Exploring Operation: 61-43=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 43+61=104, Resulting Numbers: [104] 104,53 unequal: No Solution Exploring Operation: 43*61=2623, Resulting Numbers: [2623] 2623,53 unequal: No Solution Moving to Node #0,1,3 Current State: 53:[43, 61], Operations: ['81-17=64', '64-3=61'] Exploring Operation: 61-43=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 43*61=2623, Resulting Numbers: [2623] 2623,53 unequal: No Solution Exploring Operation: 43+61=104, Resulting Numbers: [104] 104,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[64, 46], Operations: ['81-17=64', '43+3=46'] Exploring Operation: 64-46=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 64+46=110, Resulting Numbers: [110] 110,53 unequal: No Solution Exploring Operation: 64*46=2944, Resulting Numbers: [2944] 2944,53 unequal: No Solution Moving to Node #0,1,4 Current State: 53:[64, 40], Operations: ['81-17=64', '43-3=40'] Exploring Operation: 64+40=104, Resulting Numbers: [104] 104,53 unequal: No Solution Exploring Operation: 64*40=2560, Resulting Numbers: [2560] 2560,53 unequal: No Solution Exploring Operation: 64-40=24, Resulting Numbers: [24] 24,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[43, 67], Operations: ['81-17=64', '3+64=67'] Exploring Operation: 43*67=2881, Resulting Numbers: [2881] 2881,53 unequal: No Solution Exploring Operation: 67-43=24, Resulting Numbers: [24] 24,53 unequal: No Solution Exploring Operation: 43+67=110, Resulting Numbers: [110] 110,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[43, 30], Operations: ['17*3=51', '81-51=30'] Exploring Operation: 43+30=73, Resulting Numbers: [73] 73,53 unequal: No Solution Exploring Operation: 43*30=1290, Resulting Numbers: [1290] 1290,53 unequal: No Solution Exploring Operation: 43-30=13, Resulting Numbers: [13] 13,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[81, 63], Operations: ['17+3=20', '43+20=63'] Exploring Operation: 81-63=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 81+63=144, Resulting Numbers: [144] 144,53 unequal: No Solution Exploring Operation: 81*63=5103, Resulting Numbers: [5103] 5103,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[20, 38], Operations: ['17+3=20', '81-43=38'] Exploring Operation: 20*38=760, Resulting Numbers: [760] 760,53 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 20+38=58, Resulting Numbers: [58] 58,53 unequal: No Solution Moving to Node #0,2,4 Current State: 53:[81, 23], Operations: ['17+3=20', '43-20=23'] Exploring Operation: 81+23=104, Resulting Numbers: [104] 104,53 unequal: No Solution Exploring Operation: 81*23=1863, Resulting Numbers: [1863] 1863,53 unequal: No Solution Exploring Operation: 81-23=58, Resulting Numbers: [58] 58,53 unequal: No Solution Moving to Node #0,2,3 Current State: 53:[43, 101], Operations: ['17+3=20', '81+20=101'] Exploring Operation: 43+101=144, Resulting Numbers: [144] 144,53 unequal: No Solution Exploring Operation: 43*101=4343, Resulting Numbers: [4343] 4343,53 unequal: No Solution Exploring Operation: 101-43=58, Resulting Numbers: [58] 58,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[81, 94], Operations: ['17*3=51', '43+51=94'] Exploring Operation: 94-81=13, Resulting Numbers: [13] 13,53 unequal: No Solution Exploring Operation: 81*94=7614, Resulting Numbers: [7614] 7614,53 unequal: No Solution Exploring Operation: 81+94=175, Resulting Numbers: [175] 175,53 unequal: No Solution Moving to Node #0,0,4 Current State: 53:[81, 8], Operations: ['17*3=51', '51-43=8'] Exploring Operation: 81*8=648, Resulting Numbers: [648] 648,53 unequal: No Solution Exploring Operation: 81+8=89, Resulting Numbers: [89] 89,53 unequal: No Solution Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[51, 124], Operations: ['17*3=51', '43+81=124'] Exploring Operation: 124-51=73, Resulting Numbers: [73] 73,53 unequal: No Solution Exploring Operation: 51*124=6324, Resulting Numbers: [6324] 6324,53 unequal: No Solution Exploring Operation: 51+124=175, Resulting Numbers: [175] 175,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[3, 21], Operations: ['81-17=64', '64-43=21'] Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,53 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,53 unequal: No Solution Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,53 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 26, 17, 28, 74 ]
98
[ "17+74=91", "28*91=2548", "2548/26=98" ]
Current State: 98:[26, 17, 28, 74], Operations: [] Exploring Operation: 17+74=91, Resulting Numbers: [26, 28, 91] Generated Node #2: [26, 28, 91] from Operation: 17+74=91 Current State: 98:[26, 28, 91], Operations: ['17+74=91'] Exploring Operation: 28*91=2548, Resulting Numbers: [26, 2548] Generated Node #3: [26, 2548] from Operation: 28*91=2548 Current State: 98:[26, 2548], Operations: ['17+74=91', '28*91=2548'] Exploring Operation: 2548/26=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[26, 17, 28, 74], Operations: [] Exploring Operation: 74-26=48, Resulting Numbers: [17, 28, 48] Generated Node #0,0: 98:[17, 28, 48] Operation: 74-26=48 Exploring Operation: 74-28=46, Resulting Numbers: [26, 17, 46] Generated Node #0,1: 98:[26, 17, 46] Operation: 74-28=46 Exploring Operation: 28-26=2, Resulting Numbers: [17, 74, 2] Generated Node #0,2: 98:[17, 74, 2] Operation: 28-26=2 Exploring Operation: 28+74=102, Resulting Numbers: [26, 17, 102] Generated Node #0,3: 98:[26, 17, 102] Operation: 28+74=102 Exploring Operation: 26+74=100, Resulting Numbers: [17, 28, 100] Generated Node #0,4: 98:[17, 28, 100] Operation: 26+74=100 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[17, 28, 48], Operations: ['74-26=48'] Exploring Operation: 17+28=45, Resulting Numbers: [48, 45] Generated Node #0,0,0: 98:[48, 45] Operation: 17+28=45 Exploring Operation: 28+48=76, Resulting Numbers: [17, 76] Generated Node #0,0,1: 98:[17, 76] Operation: 28+48=76 Exploring Operation: 17+48=65, Resulting Numbers: [28, 65] Generated Node #0,0,2: 98:[28, 65] Operation: 17+48=65 Exploring Operation: 48-28=20, Resulting Numbers: [17, 20] Generated Node #0,0,3: 98:[17, 20] Operation: 48-28=20 Exploring Operation: 28-17=11, Resulting Numbers: [48, 11] Generated Node #0,0,4: 98:[48, 11] Operation: 28-17=11 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 98:[48, 11], Operations: ['74-26=48', '28-17=11'] Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,98 unequal: No Solution Exploring Operation: 48+11=59, Resulting Numbers: [59] 59,98 unequal: No Solution Exploring Operation: 48*11=528, Resulting Numbers: [528] 528,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,0,0 Current State: 98:[48, 45], Operations: ['74-26=48', '17+28=45'] Exploring Operation: 48+45=93, Resulting Numbers: [93] 93,98 unequal: No Solution Exploring Operation: 48*45=2160, Resulting Numbers: [2160] 2160,98 unequal: No Solution Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,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,0,3 Current State: 98:[17, 20], Operations: ['74-26=48', '48-28=20'] Exploring Operation: 17*20=340, Resulting Numbers: [340] 340,98 unequal: No Solution Exploring Operation: 17+20=37, Resulting Numbers: [37] 37,98 unequal: No Solution Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,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,0,1 Current State: 98:[17, 76], Operations: ['74-26=48', '28+48=76'] Exploring Operation: 17+76=93, Resulting Numbers: [93] 93,98 unequal: No Solution Exploring Operation: 76-17=59, Resulting Numbers: [59] 59,98 unequal: No Solution Exploring Operation: 17*76=1292, Resulting Numbers: [1292] 1292,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,0,2 Current State: 98:[28, 65], Operations: ['74-26=48', '17+48=65'] Exploring Operation: 28*65=1820, Resulting Numbers: [1820] 1820,98 unequal: No Solution Exploring Operation: 65-28=37, Resulting Numbers: [37] 37,98 unequal: No Solution Exploring Operation: 28+65=93, Resulting Numbers: [93] 93,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:[26, 17, 46], Operations: ['74-28=46'] Exploring Operation: 26+17=43, Resulting Numbers: [46, 43] Generated Node #0,1,0: 98:[46, 43] Operation: 26+17=43 Exploring Operation: 26+46=72, Resulting Numbers: [17, 72] Generated Node #0,1,1: 98:[17, 72] Operation: 26+46=72 Exploring Operation: 26-17=9, Resulting Numbers: [46, 9] Generated Node #0,1,2: 98:[46, 9] Operation: 26-17=9 Exploring Operation: 46-26=20, Resulting Numbers: [17, 20] Generated Node #0,1,3: 98:[17, 20] Operation: 46-26=20 Exploring Operation: 17+46=63, Resulting Numbers: [26, 63] Generated Node #0,1,4: 98:[26, 63] Operation: 17+46=63 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 98:[46, 9], Operations: ['74-28=46', '26-17=9'] Exploring Operation: 46+9=55, Resulting Numbers: [55] 55,98 unequal: No Solution Exploring Operation: 46*9=414, Resulting Numbers: [414] 414,98 unequal: No Solution Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,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,1,0 Current State: 98:[46, 43], Operations: ['74-28=46', '26+17=43'] Exploring Operation: 46*43=1978, Resulting Numbers: [1978] 1978,98 unequal: No Solution Exploring Operation: 46-43=3, Resulting Numbers: [3] 3,98 unequal: No Solution Exploring Operation: 46+43=89, Resulting Numbers: [89] 89,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,1,3 Current State: 98:[17, 20], Operations: ['74-28=46', '46-26=20'] Exploring Operation: 17*20=340, Resulting Numbers: [340] 340,98 unequal: No Solution Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,98 unequal: No Solution Exploring Operation: 17+20=37, Resulting Numbers: [37] 37,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,1,1 Current State: 98:[17, 72], Operations: ['74-28=46', '26+46=72'] Exploring Operation: 17*72=1224, Resulting Numbers: [1224] 1224,98 unequal: No Solution Exploring Operation: 72-17=55, Resulting Numbers: [55] 55,98 unequal: No Solution Exploring Operation: 17+72=89, Resulting Numbers: [89] 89,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,1,4 Current State: 98:[26, 63], Operations: ['74-28=46', '17+46=63'] Exploring Operation: 63-26=37, Resulting Numbers: [37] 37,98 unequal: No Solution Exploring Operation: 26+63=89, Resulting Numbers: [89] 89,98 unequal: No Solution Exploring Operation: 26*63=1638, Resulting Numbers: [1638] 1638,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:[26, 17, 102], Operations: ['28+74=102'] Exploring Operation: 102-17=85, Resulting Numbers: [26, 85] Generated Node #0,3,0: 98:[26, 85] Operation: 102-17=85 Exploring Operation: 102-26=76, Resulting Numbers: [17, 76] Generated Node #0,3,1: 98:[17, 76] Operation: 102-26=76 Exploring Operation: 102/17=6, Resulting Numbers: [26, 6] Generated Node #0,3,2: 98:[26, 6] Operation: 102/17=6 Exploring Operation: 26-17=9, Resulting Numbers: [102, 9] Generated Node #0,3,3: 98:[102, 9] Operation: 26-17=9 Exploring Operation: 26+17=43, Resulting Numbers: [102, 43] Generated Node #0,3,4: 98:[102, 43] Operation: 26+17=43 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 98:[102, 9], Operations: ['28+74=102', '26-17=9'] Exploring Operation: 102*9=918, Resulting Numbers: [918] 918,98 unequal: No Solution Exploring Operation: 102-9=93, Resulting Numbers: [93] 93,98 unequal: No Solution Exploring Operation: 102+9=111, Resulting Numbers: [111] 111,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,4 Current State: 98:[102, 43], Operations: ['28+74=102', '26+17=43'] Exploring Operation: 102-43=59, Resulting Numbers: [59] 59,98 unequal: No Solution Exploring Operation: 102*43=4386, Resulting Numbers: [4386] 4386,98 unequal: No Solution Exploring Operation: 102+43=145, Resulting Numbers: [145] 145,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:[26, 6], Operations: ['28+74=102', '102/17=6'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,98 unequal: No Solution Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,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:[26, 85], Operations: ['28+74=102', '102-17=85'] Exploring Operation: 26+85=111, Resulting Numbers: [111] 111,98 unequal: No Solution Exploring Operation: 26*85=2210, Resulting Numbers: [2210] 2210,98 unequal: No Solution Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,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, 76], Operations: ['28+74=102', '102-26=76'] Exploring Operation: 17*76=1292, Resulting Numbers: [1292] 1292,98 unequal: No Solution Exploring Operation: 76-17=59, Resulting Numbers: [59] 59,98 unequal: No Solution Exploring Operation: 17+76=93, Resulting Numbers: [93] 93,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,4 Current State: 98:[17, 28, 100], Operations: ['26+74=100'] Exploring Operation: 100-28=72, Resulting Numbers: [17, 72] Generated Node #0,4,0: 98:[17, 72] Operation: 100-28=72 Exploring Operation: 100-17=83, Resulting Numbers: [28, 83] Generated Node #0,4,1: 98:[28, 83] Operation: 100-17=83 Exploring Operation: 17+28=45, Resulting Numbers: [100, 45] Generated Node #0,4,2: 98:[100, 45] Operation: 17+28=45 Exploring Operation: 28-17=11, Resulting Numbers: [100, 11] Generated Node #0,4,3: 98:[100, 11] Operation: 28-17=11 Exploring Operation: 17+100=117, Resulting Numbers: [28, 117] Generated Node #0,4,4: 98:[28, 117] Operation: 17+100=117 Moving to Node #0,4,3 Current State: 98:[100, 11], Operations: ['26+74=100', '28-17=11'] Exploring Operation: 100*11=1100, Resulting Numbers: [1100] 1100,98 unequal: No Solution Exploring Operation: 100-11=89, Resulting Numbers: [89] 89,98 unequal: No Solution Exploring Operation: 100+11=111, Resulting Numbers: [111] 111,98 unequal: No Solution Moving to Node #0,4,2 Current State: 98:[100, 45], Operations: ['26+74=100', '17+28=45'] Exploring Operation: 100*45=4500, Resulting Numbers: [4500] 4500,98 unequal: No Solution Exploring Operation: 100+45=145, Resulting Numbers: [145] 145,98 unequal: No Solution Exploring Operation: 100-45=55, Resulting Numbers: [55] 55,98 unequal: No Solution Moving to Node #0,4,0 Current State: 98:[17, 72], Operations: ['26+74=100', '100-28=72'] Exploring Operation: 72-17=55, Resulting Numbers: [55] 55,98 unequal: No Solution Exploring Operation: 17*72=1224, Resulting Numbers: [1224] 1224,98 unequal: No Solution Exploring Operation: 17+72=89, Resulting Numbers: [89] 89,98 unequal: No Solution Moving to Node #0,4,1 Current State: 98:[28, 83], Operations: ['26+74=100', '100-17=83'] Exploring Operation: 83-28=55, Resulting Numbers: [55] 55,98 unequal: No Solution Exploring Operation: 28+83=111, Resulting Numbers: [111] 111,98 unequal: No Solution Exploring Operation: 28*83=2324, Resulting Numbers: [2324] 2324,98 unequal: No Solution Moving to Node #0,4,4 Current State: 98:[28, 117], Operations: ['26+74=100', '17+100=117'] Exploring Operation: 117-28=89, Resulting Numbers: [89] 89,98 unequal: No Solution Exploring Operation: 28+117=145, Resulting Numbers: [145] 145,98 unequal: No Solution Exploring Operation: 28*117=3276, Resulting Numbers: [3276] 3276,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:[17, 74, 2], Operations: ['28-26=2'] Exploring Operation: 74/2=37, Resulting Numbers: [17, 37] Generated Node #0,2,0: 98:[17, 37] Operation: 74/2=37 Exploring Operation: 17+74=91, Resulting Numbers: [2, 91] Generated Node #0,2,1: 98:[2, 91] Operation: 17+74=91 Exploring Operation: 74+2=76, Resulting Numbers: [17, 76] Generated Node #0,2,2: 98:[17, 76] Operation: 74+2=76 Exploring Operation: 74-17=57, Resulting Numbers: [2, 57] Generated Node #0,2,3: 98:[2, 57] Operation: 74-17=57 Exploring Operation: 17-2=15, Resulting Numbers: [74, 15] Generated Node #0,2,4: 98:[74, 15] Operation: 17-2=15 Moving to Node #0,2,1 Current State: 98:[2, 91], Operations: ['28-26=2', '17+74=91'] Exploring Operation: 2*91=182, Resulting Numbers: [182] 182,98 unequal: No Solution Exploring Operation: 2+91=93, Resulting Numbers: [93] 93,98 unequal: No Solution Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,98 unequal: No Solution Moving to Node #0,2,3 Current State: 98:[2, 57], Operations: ['28-26=2', '74-17=57'] Exploring Operation: 2*57=114, Resulting Numbers: [114] 114,98 unequal: No Solution Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,98 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,98 unequal: No Solution Moving to Node #0,2,0 Current State: 98:[17, 37], Operations: ['28-26=2', '74/2=37'] Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 17+37=54, Resulting Numbers: [54] 54,98 unequal: No Solution Exploring Operation: 17*37=629, Resulting Numbers: [629] 629,98 unequal: No Solution Moving to Node #0,2,2 Current State: 98:[17, 76], Operations: ['28-26=2', '74+2=76'] Exploring Operation: 17+76=93, Resulting Numbers: [93] 93,98 unequal: No Solution Exploring Operation: 76-17=59, Resulting Numbers: [59] 59,98 unequal: No Solution Exploring Operation: 17*76=1292, Resulting Numbers: [1292] 1292,98 unequal: No Solution Moving to Node #0,2,4 Current State: 98:[74, 15], Operations: ['28-26=2', '17-2=15'] Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,98 unequal: No Solution Exploring Operation: 74+15=89, Resulting Numbers: [89] 89,98 unequal: No Solution Exploring Operation: 74*15=1110, Resulting Numbers: [1110] 1110,98 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
[ 50, 76, 69, 18 ]
39
[ "50+76=126", "69+18=87", "126-87=39" ]
Current State: 39:[50, 76, 69, 18], Operations: [] Exploring Operation: 50+76=126, Resulting Numbers: [69, 18, 126] Generated Node #2: [69, 18, 126] from Operation: 50+76=126 Current State: 39:[69, 18, 126], Operations: ['50+76=126'] Exploring Operation: 69+18=87, Resulting Numbers: [126, 87] Generated Node #3: [126, 87] from Operation: 69+18=87 Current State: 39:[126, 87], Operations: ['50+76=126', '69+18=87'] Exploring Operation: 126-87=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[50, 76, 69, 18], Operations: [] Exploring Operation: 76-69=7, Resulting Numbers: [50, 18, 7] Generated Node #0,0: 39:[50, 18, 7] Operation: 76-69=7 Moving to Node #0,0 Current State: 39:[50, 18, 7], Operations: ['76-69=7'] Exploring Operation: 50-7=43, Resulting Numbers: [18, 43] Generated Node #0,0,0: 39:[18, 43] Operation: 50-7=43 Moving to Node #0,0,0 Current State: 39:[18, 43], Operations: ['76-69=7', '50-7=43'] Exploring Operation: 43-18=25, Resulting Numbers: [25] 25,39 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 3, 98, 61, 89 ]
73
[ "3+98=101", "89-61=28", "101-28=73" ]
Current State: 73:[3, 98, 61, 89], Operations: [] Exploring Operation: 3+98=101, Resulting Numbers: [61, 89, 101] Generated Node #2: [61, 89, 101] from Operation: 3+98=101 Current State: 73:[61, 89, 101], Operations: ['3+98=101'] Exploring Operation: 89-61=28, Resulting Numbers: [101, 28] Generated Node #3: [101, 28] from Operation: 89-61=28 Current State: 73:[101, 28], Operations: ['3+98=101', '89-61=28'] Exploring Operation: 101-28=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[3, 98, 61, 89], Operations: [] Exploring Operation: 98-3=95, Resulting Numbers: [61, 89, 95] Generated Node #0,0: 73:[61, 89, 95] Operation: 98-3=95 Moving to Node #0,0 Current State: 73:[61, 89, 95], Operations: ['98-3=95'] Exploring Operation: 95-61=34, Resulting Numbers: [89, 34] Generated Node #0,0,0: 73:[89, 34] Operation: 95-61=34 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[89, 34], Operations: ['98-3=95', '95-61=34'] Exploring Operation: 89-34=55, Resulting Numbers: [55] 55,73 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
[ 51, 44, 16, 59 ]
50
[ "51-44=7", "59-16=43", "7+43=50" ]
Current State: 50:[51, 44, 16, 59], Operations: [] Exploring Operation: 51-44=7, Resulting Numbers: [16, 59, 7] Generated Node #2: [16, 59, 7] from Operation: 51-44=7 Current State: 50:[16, 59, 7], Operations: ['51-44=7'] Exploring Operation: 59-16=43, Resulting Numbers: [7, 43] Generated Node #3: [7, 43] from Operation: 59-16=43 Current State: 50:[7, 43], Operations: ['51-44=7', '59-16=43'] Exploring Operation: 7+43=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[51, 44, 16, 59], Operations: [] Exploring Operation: 51-44=7, Resulting Numbers: [16, 59, 7] Generated Node #0,0: 50:[16, 59, 7] Operation: 51-44=7 Exploring Operation: 59-44=15, Resulting Numbers: [51, 16, 15] Generated Node #0,1: 50:[51, 16, 15] Operation: 59-44=15 Exploring Operation: 44-16=28, Resulting Numbers: [51, 59, 28] Generated Node #0,2: 50:[51, 59, 28] Operation: 44-16=28 Exploring Operation: 59-16=43, Resulting Numbers: [51, 44, 43] Generated Node #0,3: 50:[51, 44, 43] Operation: 59-16=43 Exploring Operation: 59-51=8, Resulting Numbers: [44, 16, 8] Generated Node #0,4: 50:[44, 16, 8] Operation: 59-51=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[51, 16, 15], Operations: ['59-44=15'] Exploring Operation: 16+15=31, Resulting Numbers: [51, 31] Generated Node #0,1,0: 50:[51, 31] Operation: 16+15=31 Exploring Operation: 51+16=67, Resulting Numbers: [15, 67] Generated Node #0,1,1: 50:[15, 67] Operation: 51+16=67 Exploring Operation: 51-15=36, Resulting Numbers: [16, 36] Generated Node #0,1,2: 50:[16, 36] Operation: 51-15=36 Exploring Operation: 16-15=1, Resulting Numbers: [51, 1] Generated Node #0,1,3: 50:[51, 1] Operation: 16-15=1 Exploring Operation: 51-16=35, Resulting Numbers: [15, 35] Generated Node #0,1,4: 50:[15, 35] Operation: 51-16=35 Moving to Node #0,1,3 Current State: 50:[51, 1], Operations: ['59-44=15', '16-15=1'] Exploring Operation: 51*1=51, Resulting Numbers: [51] 51,50 unequal: No Solution Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[51, 44, 16, 59], Operations: [] Exploring Operation: 59-44=15, Resulting Numbers: [51, 16, 15] Generated Node #0,1: 50:[51, 16, 15] Operation: 59-44=15 Moving to Node #0,1 Current State: 50:[51, 16, 15], Operations: ['59-44=15'] Exploring Operation: 16-15=1, Resulting Numbers: [51, 1] Generated Node #0,1,3: 50:[51, 1] Operation: 16-15=1 Moving to Node #0,1,3 Current State: 50:[51, 1], Operations: ['59-44=15', '16-15=1'] Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 86, 91, 75, 40 ]
62
[ "86+91=177", "75+40=115", "177-115=62" ]
Current State: 62:[86, 91, 75, 40], Operations: [] Exploring Operation: 86+91=177, Resulting Numbers: [75, 40, 177] Generated Node #2: [75, 40, 177] from Operation: 86+91=177 Current State: 62:[75, 40, 177], Operations: ['86+91=177'] Exploring Operation: 75+40=115, Resulting Numbers: [177, 115] Generated Node #3: [177, 115] from Operation: 75+40=115 Current State: 62:[177, 115], Operations: ['86+91=177', '75+40=115'] Exploring Operation: 177-115=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[86, 91, 75, 40], Operations: [] Exploring Operation: 91-75=16, Resulting Numbers: [86, 40, 16] Generated Node #0,0: 62:[86, 40, 16] Operation: 91-75=16 Exploring Operation: 86-75=11, Resulting Numbers: [91, 40, 11] Generated Node #0,1: 62:[91, 40, 11] Operation: 86-75=11 Exploring Operation: 91-86=5, Resulting Numbers: [75, 40, 5] Generated Node #0,2: 62:[75, 40, 5] Operation: 91-86=5 Exploring Operation: 91-40=51, Resulting Numbers: [86, 75, 51] Generated Node #0,3: 62:[86, 75, 51] Operation: 91-40=51 Exploring Operation: 86-40=46, Resulting Numbers: [91, 75, 46] Generated Node #0,4: 62:[91, 75, 46] Operation: 86-40=46 Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[75, 40, 5], Operations: ['91-86=5'] Exploring Operation: 75-5=70, Resulting Numbers: [40, 70] Generated Node #0,2,0: 62:[40, 70] Operation: 75-5=70 Exploring Operation: 75-40=35, Resulting Numbers: [5, 35] Generated Node #0,2,1: 62:[5, 35] Operation: 75-40=35 Exploring Operation: 40-5=35, Resulting Numbers: [75, 35] Generated Node #0,2,2: 62:[75, 35] Operation: 40-5=35 Exploring Operation: 40/5=8, Resulting Numbers: [75, 8] Generated Node #0,2,3: 62:[75, 8] Operation: 40/5=8 Exploring Operation: 75/5=15, Resulting Numbers: [40, 15] Generated Node #0,2,4: 62:[40, 15] Operation: 75/5=15 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 62:[5, 35], Operations: ['91-86=5', '75-40=35'] Exploring Operation: 5+35=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,62 unequal: No Solution Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 5*35=175, Resulting Numbers: [175] 175,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 62:[40, 70], Operations: ['91-86=5', '75-5=70'] Exploring Operation: 70-40=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 40+70=110, Resulting Numbers: [110] 110,62 unequal: No Solution Exploring Operation: 40*70=2800, Resulting Numbers: [2800] 2800,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 62:[75, 35], Operations: ['91-86=5', '40-5=35'] Exploring Operation: 75+35=110, Resulting Numbers: [110] 110,62 unequal: No Solution Exploring Operation: 75-35=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 75*35=2625, Resulting Numbers: [2625] 2625,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 62:[75, 8], Operations: ['91-86=5', '40/5=8'] Exploring Operation: 75-8=67, Resulting Numbers: [67] 67,62 unequal: No Solution Exploring Operation: 75*8=600, Resulting Numbers: [600] 600,62 unequal: No Solution Exploring Operation: 75+8=83, Resulting Numbers: [83] 83,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 62:[40, 15], Operations: ['91-86=5', '75/5=15'] Exploring Operation: 40*15=600, Resulting Numbers: [600] 600,62 unequal: No Solution Exploring Operation: 40+15=55, Resulting Numbers: [55] 55,62 unequal: No Solution Exploring Operation: 40-15=25, Resulting Numbers: [25] 25,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[86, 40, 16], Operations: ['91-75=16'] Exploring Operation: 86-16=70, Resulting Numbers: [40, 70] Generated Node #0,0,0: 62:[40, 70] Operation: 86-16=70 Exploring Operation: 86+16=102, Resulting Numbers: [40, 102] Generated Node #0,0,1: 62:[40, 102] Operation: 86+16=102 Exploring Operation: 40-16=24, Resulting Numbers: [86, 24] Generated Node #0,0,2: 62:[86, 24] Operation: 40-16=24 Exploring Operation: 86-40=46, Resulting Numbers: [16, 46] Generated Node #0,0,3: 62:[16, 46] Operation: 86-40=46 Exploring Operation: 40+16=56, Resulting Numbers: [86, 56] Generated Node #0,0,4: 62:[86, 56] Operation: 40+16=56 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[40, 70], Operations: ['91-75=16', '86-16=70'] Exploring Operation: 40*70=2800, Resulting Numbers: [2800] 2800,62 unequal: No Solution Exploring Operation: 70-40=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 40+70=110, Resulting Numbers: [110] 110,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 62:[16, 46], Operations: ['91-75=16', '86-40=46'] Exploring Operation: 16*46=736, Resulting Numbers: [736] 736,62 unequal: No Solution Exploring Operation: 16+46=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[86, 91, 75, 40], Operations: [] Exploring Operation: 91-75=16, Resulting Numbers: [86, 40, 16] Generated Node #0,0: 62:[86, 40, 16] Operation: 91-75=16 Moving to Node #0,0 Current State: 62:[86, 40, 16], Operations: ['91-75=16'] Exploring Operation: 86-40=46, Resulting Numbers: [16, 46] Generated Node #0,0,3: 62:[16, 46] Operation: 86-40=46 Moving to Node #0,0,3 Current State: 62:[16, 46], Operations: ['91-75=16', '86-40=46'] Exploring Operation: 16+46=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.965278
hs_5
mult_heuristic
[ 44, 76, 14, 78 ]
72
[ "78-76=2", "14*2=28", "44+28=72" ]
Current State: 72:[44, 76, 14, 78], Operations: [] Exploring Operation: 78-76=2, Resulting Numbers: [44, 14, 2] Generated Node #2: [44, 14, 2] from Operation: 78-76=2 Current State: 72:[44, 14, 2], Operations: ['78-76=2'] Exploring Operation: 14*2=28, Resulting Numbers: [44, 28] Generated Node #3: [44, 28] from Operation: 14*2=28 Current State: 72:[44, 28], Operations: ['78-76=2', '14*2=28'] Exploring Operation: 44+28=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[44, 76, 14, 78], Operations: [] Exploring Operation: 78-44=34, Resulting Numbers: [76, 14, 34] Generated Node #0,0: 72:[76, 14, 34] Operation: 78-44=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[76, 14, 34], Operations: ['78-44=34'] Exploring Operation: 34-14=20, Resulting Numbers: [76, 20] Generated Node #0,0,0: 72:[76, 20] Operation: 34-14=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[76, 20], Operations: ['78-44=34', '34-14=20'] Exploring Operation: 76-20=56, Resulting Numbers: [56] 56,72 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
[ 45, 2, 38, 57 ]
48
[ "45+2=47", "38+57=95", "95-47=48" ]
Current State: 48:[45, 2, 38, 57], Operations: [] Exploring Operation: 45+2=47, Resulting Numbers: [38, 57, 47] Generated Node #2: [38, 57, 47] from Operation: 45+2=47 Current State: 48:[38, 57, 47], Operations: ['45+2=47'] Exploring Operation: 38+57=95, Resulting Numbers: [47, 95] Generated Node #3: [47, 95] from Operation: 38+57=95 Current State: 48:[47, 95], Operations: ['45+2=47', '38+57=95'] Exploring Operation: 95-47=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[45, 2, 38, 57], Operations: [] Exploring Operation: 57-38=19, Resulting Numbers: [45, 2, 19] Generated Node #0,0: 48:[45, 2, 19] Operation: 57-38=19 Exploring Operation: 38/2=19, Resulting Numbers: [45, 57, 19] Generated Node #0,1: 48:[45, 57, 19] Operation: 38/2=19 Exploring Operation: 57-45=12, Resulting Numbers: [2, 38, 12] Generated Node #0,2: 48:[2, 38, 12] Operation: 57-45=12 Exploring Operation: 45-38=7, Resulting Numbers: [2, 57, 7] Generated Node #0,3: 48:[2, 57, 7] Operation: 45-38=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[45, 2, 19], Operations: ['57-38=19'] Exploring Operation: 2+19=21, Resulting Numbers: [45, 21] Generated Node #0,0,0: 48:[45, 21] Operation: 2+19=21 Exploring Operation: 45+2=47, Resulting Numbers: [19, 47] Generated Node #0,0,1: 48:[19, 47] Operation: 45+2=47 Exploring Operation: 45-19=26, Resulting Numbers: [2, 26] Generated Node #0,0,2: 48:[2, 26] Operation: 45-19=26 Exploring Operation: 19-2=17, Resulting Numbers: [45, 17] Generated Node #0,0,3: 48:[45, 17] Operation: 19-2=17 Moving to Node #0,0,2 Current State: 48:[2, 26], Operations: ['57-38=19', '45-19=26'] Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,48 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,48 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,48 unequal: No Solution Moving to Node #0,0,3 Current State: 48:[45, 17], Operations: ['57-38=19', '19-2=17'] Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,48 unequal: No Solution Exploring Operation: 45+17=62, Resulting Numbers: [62] 62,48 unequal: No Solution Exploring Operation: 45*17=765, Resulting Numbers: [765] 765,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[19, 47], Operations: ['57-38=19', '45+2=47'] Exploring Operation: 19*47=893, Resulting Numbers: [893] 893,48 unequal: No Solution Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,48 unequal: No Solution Exploring Operation: 19+47=66, Resulting Numbers: [66] 66,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[45, 21], Operations: ['57-38=19', '2+19=21'] Exploring Operation: 45+21=66, Resulting Numbers: [66] 66,48 unequal: No Solution Exploring Operation: 45*21=945, Resulting Numbers: [945] 945,48 unequal: No Solution Exploring Operation: 45-21=24, Resulting Numbers: [24] 24,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[2, 38, 12], Operations: ['57-45=12'] Exploring Operation: 38-12=26, Resulting Numbers: [2, 26] Generated Node #0,2,0: 48:[2, 26] Operation: 38-12=26 Exploring Operation: 38/2=19, Resulting Numbers: [12, 19] Generated Node #0,2,1: 48:[12, 19] Operation: 38/2=19 Exploring Operation: 2+38=40, Resulting Numbers: [12, 40] Generated Node #0,2,2: 48:[12, 40] Operation: 2+38=40 Exploring Operation: 38+12=50, Resulting Numbers: [2, 50] Generated Node #0,2,3: 48:[2, 50] Operation: 38+12=50 Moving to Node #0,2,0 Current State: 48:[2, 26], Operations: ['57-45=12', '38-12=26'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,48 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,48 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,48 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,48 unequal: No Solution Moving to Node #0,2,3 Current State: 48:[2, 50], Operations: ['57-45=12', '38+12=50'] Exploring Operation: 2*50=100, Resulting Numbers: [100] 100,48 unequal: No Solution Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,48 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[45, 2, 38, 57], Operations: [] Exploring Operation: 57-45=12, Resulting Numbers: [2, 38, 12] Generated Node #0,2: 48:[2, 38, 12] Operation: 57-45=12 Moving to Node #0,2 Current State: 48:[2, 38, 12], Operations: ['57-45=12'] Exploring Operation: 38+12=50, Resulting Numbers: [2, 50] Generated Node #0,2,3: 48:[2, 50] Operation: 38+12=50 Moving to Node #0,2,3 Current State: 48:[2, 50], Operations: ['57-45=12', '38+12=50'] Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_4
sum_heuristic
[ 8, 30, 55, 22 ]
56
[ "30-8=22", "22/22=1", "55+1=56" ]
Current State: 56:[8, 30, 55, 22], Operations: [] Exploring Operation: 30-8=22, Resulting Numbers: [55, 22, 22] Generated Node #2: [55, 22, 22] from Operation: 30-8=22 Current State: 56:[55, 22, 22], Operations: ['30-8=22'] Exploring Operation: 22/22=1, Resulting Numbers: [55, 1] Generated Node #3: [55, 1] from Operation: 22/22=1 Current State: 56:[55, 1], Operations: ['30-8=22', '22/22=1'] Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[8, 30, 55, 22], Operations: [] Exploring Operation: 22-8=14, Resulting Numbers: [30, 55, 14] Generated Node #0,0: 56:[30, 55, 14] Operation: 22-8=14 Exploring Operation: 30-22=8, Resulting Numbers: [8, 55, 8] Generated Node #0,1: 56:[8, 55, 8] Operation: 30-22=8 Moving to Node #0,1 Current State: 56:[8, 55, 8], Operations: ['30-22=8'] Exploring Operation: 8+8=16, Resulting Numbers: [55, 16] Generated Node #0,1,0: 56:[55, 16] Operation: 8+8=16 Exploring Operation: 8/8=1, Resulting Numbers: [55, 1] Generated Node #0,1,1: 56:[55, 1] Operation: 8/8=1 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 56:[55, 1], Operations: ['30-22=8', '8/8=1'] Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[8, 30, 55, 22], Operations: [] Exploring Operation: 30-22=8, Resulting Numbers: [8, 55, 8] Generated Node #0,1: 56:[8, 55, 8] Operation: 30-22=8 Moving to Node #0,1 Current State: 56:[8, 55, 8], Operations: ['30-22=8'] Exploring Operation: 8/8=1, Resulting Numbers: [55, 1] Generated Node #0,1,1: 56:[55, 1] Operation: 8/8=1 Moving to Node #0,1,1 Current State: 56:[55, 1], Operations: ['30-22=8', '8/8=1'] Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 77, 66, 30, 8 ]
89
[ "66+30=96", "96/8=12", "77+12=89" ]
Current State: 89:[77, 66, 30, 8], Operations: [] Exploring Operation: 66+30=96, Resulting Numbers: [77, 8, 96] Generated Node #2: [77, 8, 96] from Operation: 66+30=96 Current State: 89:[77, 8, 96], Operations: ['66+30=96'] Exploring Operation: 96/8=12, Resulting Numbers: [77, 12] Generated Node #3: [77, 12] from Operation: 96/8=12 Current State: 89:[77, 12], Operations: ['66+30=96', '96/8=12'] Exploring Operation: 77+12=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[77, 66, 30, 8], Operations: [] Exploring Operation: 66+8=74, Resulting Numbers: [77, 30, 74] Generated Node #0,0: 89:[77, 30, 74] Operation: 66+8=74 Exploring Operation: 30+8=38, Resulting Numbers: [77, 66, 38] Generated Node #0,1: 89:[77, 66, 38] Operation: 30+8=38 Exploring Operation: 77+8=85, Resulting Numbers: [66, 30, 85] Generated Node #0,2: 89:[66, 30, 85] Operation: 77+8=85 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[77, 30, 74], Operations: ['66+8=74'] Exploring Operation: 30+74=104, Resulting Numbers: [77, 104] Generated Node #0,0,0: 89:[77, 104] Operation: 30+74=104 Exploring Operation: 77+30=107, Resulting Numbers: [74, 107] Generated Node #0,0,1: 89:[74, 107] Operation: 77+30=107 Exploring Operation: 77-30=47, Resulting Numbers: [74, 47] Generated Node #0,0,2: 89:[74, 47] Operation: 77-30=47 Moving to Node #0,0,0 Current State: 89:[77, 104], Operations: ['66+8=74', '30+74=104'] Exploring Operation: 104-77=27, Resulting Numbers: [27] 27,89 unequal: No Solution Exploring Operation: 77*104=8008, Resulting Numbers: [8008] 8008,89 unequal: No Solution Exploring Operation: 77+104=181, Resulting Numbers: [181] 181,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[74, 107], Operations: ['66+8=74', '77+30=107'] Exploring Operation: 74*107=7918, Resulting Numbers: [7918] 7918,89 unequal: No Solution Exploring Operation: 74+107=181, Resulting Numbers: [181] 181,89 unequal: No Solution Exploring Operation: 107-74=33, Resulting Numbers: [33] 33,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[74, 47], Operations: ['66+8=74', '77-30=47'] Exploring Operation: 74+47=121, Resulting Numbers: [121] 121,89 unequal: No Solution Exploring Operation: 74*47=3478, Resulting Numbers: [3478] 3478,89 unequal: No Solution Exploring Operation: 74-47=27, Resulting Numbers: [27] 27,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[77, 66, 38], Operations: ['30+8=38'] Exploring Operation: 77+38=115, Resulting Numbers: [66, 115] Generated Node #0,1,0: 89:[66, 115] Operation: 77+38=115 Exploring Operation: 77-38=39, Resulting Numbers: [66, 39] Generated Node #0,1,1: 89:[66, 39] Operation: 77-38=39 Exploring Operation: 66+38=104, Resulting Numbers: [77, 104] Generated Node #0,1,2: 89:[77, 104] Operation: 66+38=104 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 89:[77, 104], Operations: ['30+8=38', '66+38=104'] Exploring Operation: 104-77=27, Resulting Numbers: [27] 27,89 unequal: No Solution Exploring Operation: 77+104=181, Resulting Numbers: [181] 181,89 unequal: No Solution Exploring Operation: 77*104=8008, Resulting Numbers: [8008] 8008,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 89:[66, 115], Operations: ['30+8=38', '77+38=115'] Exploring Operation: 66+115=181, Resulting Numbers: [181] 181,89 unequal: No Solution Exploring Operation: 115-66=49, Resulting Numbers: [49] 49,89 unequal: No Solution Exploring Operation: 66*115=7590, Resulting Numbers: [7590] 7590,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 89:[66, 39], Operations: ['30+8=38', '77-38=39'] Exploring Operation: 66-39=27, Resulting Numbers: [27] 27,89 unequal: No Solution Exploring Operation: 66+39=105, Resulting Numbers: [105] 105,89 unequal: No Solution Exploring Operation: 66*39=2574, Resulting Numbers: [2574] 2574,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[66, 30, 85], Operations: ['77+8=85'] Exploring Operation: 66-30=36, Resulting Numbers: [85, 36] Generated Node #0,2,0: 89:[85, 36] Operation: 66-30=36 Exploring Operation: 30+85=115, Resulting Numbers: [66, 115] Generated Node #0,2,1: 89:[66, 115] Operation: 30+85=115 Exploring Operation: 66+30=96, Resulting Numbers: [85, 96] Generated Node #0,2,2: 89:[85, 96] Operation: 66+30=96 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 89:[85, 96], Operations: ['77+8=85', '66+30=96'] Exploring Operation: 96-85=11, Resulting Numbers: [11] 11,89 unequal: No Solution Exploring Operation: 85+96=181, Resulting Numbers: [181] 181,89 unequal: No Solution Exploring Operation: 85*96=8160, Resulting Numbers: [8160] 8160,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 89:[66, 115], Operations: ['77+8=85', '30+85=115'] Exploring Operation: 66+115=181, Resulting Numbers: [181] 181,89 unequal: No Solution Exploring Operation: 66*115=7590, Resulting Numbers: [7590] 7590,89 unequal: No Solution Exploring Operation: 115-66=49, Resulting Numbers: [49] 49,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 89:[85, 36], Operations: ['77+8=85', '66-30=36'] Exploring Operation: 85+36=121, Resulting Numbers: [121] 121,89 unequal: No Solution Exploring Operation: 85-36=49, Resulting Numbers: [49] 49,89 unequal: No Solution Exploring Operation: 85*36=3060, Resulting Numbers: [3060] 3060,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 1, 12, 7, 77 ]
24
[ "1+12=13", "77/7=11", "13+11=24" ]
Current State: 24:[1, 12, 7, 77], Operations: [] Exploring Operation: 1+12=13, Resulting Numbers: [7, 77, 13] Generated Node #2: [7, 77, 13] from Operation: 1+12=13 Current State: 24:[7, 77, 13], Operations: ['1+12=13'] Exploring Operation: 77/7=11, Resulting Numbers: [13, 11] Generated Node #3: [13, 11] from Operation: 77/7=11 Current State: 24:[13, 11], Operations: ['1+12=13', '77/7=11'] Exploring Operation: 13+11=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[1, 12, 7, 77], Operations: [] Exploring Operation: 7-1=6, Resulting Numbers: [12, 77, 6] Generated Node #0,0: 24:[12, 77, 6] Operation: 7-1=6 Exploring Operation: 77-12=65, Resulting Numbers: [1, 7, 65] Generated Node #0,1: 24:[1, 7, 65] Operation: 77-12=65 Exploring Operation: 77-7=70, Resulting Numbers: [1, 12, 70] Generated Node #0,2: 24:[1, 12, 70] Operation: 77-7=70 Exploring Operation: 1+7=8, Resulting Numbers: [12, 77, 8] Generated Node #0,3: 24:[12, 77, 8] Operation: 1+7=8 Exploring Operation: 77/7=11, Resulting Numbers: [1, 12, 11] Generated Node #0,4: 24:[1, 12, 11] Operation: 77/7=11 Moving to Node #0,4 Current State: 24:[1, 12, 11], Operations: ['77/7=11'] Exploring Operation: 12/1=12, Resulting Numbers: [11, 12] Generated Node #0,4,0: 24:[11, 12] Operation: 12/1=12 Exploring Operation: 1*12=12, Resulting Numbers: [11, 12] Generated Node #0,4,1: 24:[11, 12] Operation: 1*12=12 Exploring Operation: 11/1=11, Resulting Numbers: [12, 11] Generated Node #0,4,2: 24:[12, 11] Operation: 11/1=11 Exploring Operation: 1*11=11, Resulting Numbers: [12, 11] Generated Node #0,4,3: 24:[12, 11] Operation: 1*11=11 Exploring Operation: 1+11=12, Resulting Numbers: [12, 12] Generated Node #0,4,4: 24:[12, 12] Operation: 1+11=12 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 24:[12, 12], Operations: ['77/7=11', '1+11=12'] Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[1, 12, 7, 77], Operations: [] Exploring Operation: 77/7=11, Resulting Numbers: [1, 12, 11] Generated Node #0,4: 24:[1, 12, 11] Operation: 77/7=11 Moving to Node #0,4 Current State: 24:[1, 12, 11], Operations: ['77/7=11'] Exploring Operation: 1+11=12, Resulting Numbers: [12, 12] Generated Node #0,4,4: 24:[12, 12] Operation: 1+11=12 Moving to Node #0,4,4 Current State: 24:[12, 12], Operations: ['77/7=11', '1+11=12'] Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 10, 80, 6, 23 ]
21
[ "80/10=8", "6+23=29", "29-8=21" ]
Current State: 21:[10, 80, 6, 23], Operations: [] Exploring Operation: 80/10=8, Resulting Numbers: [6, 23, 8] Generated Node #2: [6, 23, 8] from Operation: 80/10=8 Current State: 21:[6, 23, 8], Operations: ['80/10=8'] Exploring Operation: 6+23=29, Resulting Numbers: [8, 29] Generated Node #3: [8, 29] from Operation: 6+23=29 Current State: 21:[8, 29], Operations: ['80/10=8', '6+23=29'] Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[10, 80, 6, 23], Operations: [] Exploring Operation: 80-10=70, Resulting Numbers: [6, 23, 70] Generated Node #0,0: 21:[6, 23, 70] Operation: 80-10=70 Exploring Operation: 80/10=8, Resulting Numbers: [6, 23, 8] Generated Node #0,1: 21:[6, 23, 8] Operation: 80/10=8 Exploring Operation: 80-23=57, Resulting Numbers: [10, 6, 57] Generated Node #0,2: 21:[10, 6, 57] Operation: 80-23=57 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[6, 23, 8], Operations: ['80/10=8'] Exploring Operation: 8-6=2, Resulting Numbers: [23, 2] Generated Node #0,1,0: 21:[23, 2] Operation: 8-6=2 Exploring Operation: 23-8=15, Resulting Numbers: [6, 15] Generated Node #0,1,1: 21:[6, 15] Operation: 23-8=15 Exploring Operation: 23-6=17, Resulting Numbers: [8, 17] Generated Node #0,1,2: 21:[8, 17] Operation: 23-6=17 Moving to Node #0,1,0 Current State: 21:[23, 2], Operations: ['80/10=8', '8-6=2'] Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,21 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[10, 80, 6, 23], Operations: [] Exploring Operation: 80/10=8, Resulting Numbers: [6, 23, 8] Generated Node #0,1: 21:[6, 23, 8] Operation: 80/10=8 Moving to Node #0,1 Current State: 21:[6, 23, 8], Operations: ['80/10=8'] Exploring Operation: 8-6=2, Resulting Numbers: [23, 2] Generated Node #0,1,0: 21:[23, 2] Operation: 8-6=2 Moving to Node #0,1,0 Current State: 21:[23, 2], Operations: ['80/10=8', '8-6=2'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 67, 99, 69, 58 ]
82
[ "69-67=2", "99-58=41", "2*41=82" ]
Current State: 82:[67, 99, 69, 58], Operations: [] Exploring Operation: 69-67=2, Resulting Numbers: [99, 58, 2] Generated Node #2: [99, 58, 2] from Operation: 69-67=2 Current State: 82:[99, 58, 2], Operations: ['69-67=2'] Exploring Operation: 99-58=41, Resulting Numbers: [2, 41] Generated Node #3: [2, 41] from Operation: 99-58=41 Current State: 82:[2, 41], Operations: ['69-67=2', '99-58=41'] Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[67, 99, 69, 58], Operations: [] Exploring Operation: 67-58=9, Resulting Numbers: [99, 69, 9] Generated Node #0,0: 82:[99, 69, 9] Operation: 67-58=9 Exploring Operation: 69-67=2, Resulting Numbers: [99, 58, 2] Generated Node #0,1: 82:[99, 58, 2] Operation: 69-67=2 Exploring Operation: 99-58=41, Resulting Numbers: [67, 69, 41] Generated Node #0,2: 82:[67, 69, 41] Operation: 99-58=41 Moving to Node #0,2 Current State: 82:[67, 69, 41], Operations: ['99-58=41'] Exploring Operation: 69-41=28, Resulting Numbers: [67, 28] Generated Node #0,2,0: 82:[67, 28] Operation: 69-41=28 Exploring Operation: 69-67=2, Resulting Numbers: [41, 2] Generated Node #0,2,1: 82:[41, 2] Operation: 69-67=2 Exploring Operation: 67-41=26, Resulting Numbers: [69, 26] Generated Node #0,2,2: 82:[69, 26] Operation: 67-41=26 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 82:[41, 2], Operations: ['99-58=41', '69-67=2'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[67, 99, 69, 58], Operations: [] Exploring Operation: 99-58=41, Resulting Numbers: [67, 69, 41] Generated Node #0,2: 82:[67, 69, 41] Operation: 99-58=41 Moving to Node #0,2 Current State: 82:[67, 69, 41], Operations: ['99-58=41'] Exploring Operation: 69-67=2, Resulting Numbers: [41, 2] Generated Node #0,2,1: 82:[41, 2] Operation: 69-67=2 Moving to Node #0,2,1 Current State: 82:[41, 2], Operations: ['99-58=41', '69-67=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 66, 98, 54, 18 ]
63
[ "66+18=84", "98*54=5292", "5292/84=63" ]
Current State: 63:[66, 98, 54, 18], Operations: [] Exploring Operation: 66+18=84, Resulting Numbers: [98, 54, 84] Generated Node #2: [98, 54, 84] from Operation: 66+18=84 Current State: 63:[98, 54, 84], Operations: ['66+18=84'] Exploring Operation: 98*54=5292, Resulting Numbers: [84, 5292] Generated Node #3: [84, 5292] from Operation: 98*54=5292 Current State: 63:[84, 5292], Operations: ['66+18=84', '98*54=5292'] Exploring Operation: 5292/84=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[66, 98, 54, 18], Operations: [] Exploring Operation: 98-66=32, Resulting Numbers: [54, 18, 32] Generated Node #0,0: 63:[54, 18, 32] Operation: 98-66=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[54, 18, 32], Operations: ['98-66=32'] Exploring Operation: 54-32=22, Resulting Numbers: [18, 22] Generated Node #0,0,0: 63:[18, 22] Operation: 54-32=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[18, 22], Operations: ['98-66=32', '54-32=22'] Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,63 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
[ 71, 16, 52, 78 ]
95
[ "16*78=1248", "1248/52=24", "71+24=95" ]
Current State: 95:[71, 16, 52, 78], Operations: [] Exploring Operation: 16*78=1248, Resulting Numbers: [71, 52, 1248] Generated Node #2: [71, 52, 1248] from Operation: 16*78=1248 Current State: 95:[71, 52, 1248], Operations: ['16*78=1248'] Exploring Operation: 1248/52=24, Resulting Numbers: [71, 24] Generated Node #3: [71, 24] from Operation: 1248/52=24 Current State: 95:[71, 24], Operations: ['16*78=1248', '1248/52=24'] Exploring Operation: 71+24=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[71, 16, 52, 78], Operations: [] Exploring Operation: 78-52=26, Resulting Numbers: [71, 16, 26] Generated Node #0,0: 95:[71, 16, 26] Operation: 78-52=26 Exploring Operation: 71-52=19, Resulting Numbers: [16, 78, 19] Generated Node #0,1: 95:[16, 78, 19] Operation: 71-52=19 Exploring Operation: 78-71=7, Resulting Numbers: [16, 52, 7] Generated Node #0,2: 95:[16, 52, 7] Operation: 78-71=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[16, 78, 19], Operations: ['71-52=19'] Exploring Operation: 78+19=97, Resulting Numbers: [16, 97] Generated Node #0,1,0: 95:[16, 97] Operation: 78+19=97 Exploring Operation: 16+78=94, Resulting Numbers: [19, 94] Generated Node #0,1,1: 95:[19, 94] Operation: 16+78=94 Exploring Operation: 19-16=3, Resulting Numbers: [78, 3] Generated Node #0,1,2: 95:[78, 3] Operation: 19-16=3 Moving to Node #0,1,1 Current State: 95:[19, 94], Operations: ['71-52=19', '16+78=94'] Exploring Operation: 94-19=75, Resulting Numbers: [75] 75,95 unequal: No Solution Exploring Operation: 19+94=113, Resulting Numbers: [113] 113,95 unequal: No Solution Exploring Operation: 19*94=1786, Resulting Numbers: [1786] 1786,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[16, 97], Operations: ['71-52=19', '78+19=97'] Exploring Operation: 16*97=1552, Resulting Numbers: [1552] 1552,95 unequal: No Solution Exploring Operation: 97-16=81, Resulting Numbers: [81] 81,95 unequal: No Solution Exploring Operation: 16+97=113, Resulting Numbers: [113] 113,95 unequal: No Solution Moving to Node #0,1,2 Current State: 95:[78, 3], Operations: ['71-52=19', '19-16=3'] Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,95 unequal: No Solution Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,95 unequal: No Solution Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[71, 16, 26], Operations: ['78-52=26'] Exploring Operation: 71+26=97, Resulting Numbers: [16, 97] Generated Node #0,0,0: 95:[16, 97] Operation: 71+26=97 Exploring Operation: 71+16=87, Resulting Numbers: [26, 87] Generated Node #0,0,1: 95:[26, 87] Operation: 71+16=87 Exploring Operation: 71-26=45, Resulting Numbers: [16, 45] Generated Node #0,0,2: 95:[16, 45] Operation: 71-26=45 Moving to Node #0,0,0 Current State: 95:[16, 97], Operations: ['78-52=26', '71+26=97'] Exploring Operation: 16+97=113, Resulting Numbers: [113] 113,95 unequal: No Solution Exploring Operation: 97-16=81, Resulting Numbers: [81] 81,95 unequal: No Solution Exploring Operation: 16*97=1552, Resulting Numbers: [1552] 1552,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[26, 87], Operations: ['78-52=26', '71+16=87'] Exploring Operation: 26+87=113, Resulting Numbers: [113] 113,95 unequal: No Solution Exploring Operation: 26*87=2262, Resulting Numbers: [2262] 2262,95 unequal: No Solution Exploring Operation: 87-26=61, Resulting Numbers: [61] 61,95 unequal: No Solution Moving to Node #0,0,2 Current State: 95:[16, 45], Operations: ['78-52=26', '71-26=45'] Exploring Operation: 16*45=720, Resulting Numbers: [720] 720,95 unequal: No Solution Exploring Operation: 16+45=61, Resulting Numbers: [61] 61,95 unequal: No Solution Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 95:[16, 52, 7], Operations: ['78-71=7'] Exploring Operation: 16+52=68, Resulting Numbers: [7, 68] Generated Node #0,2,0: 95:[7, 68] Operation: 16+52=68 Exploring Operation: 52-7=45, Resulting Numbers: [16, 45] Generated Node #0,2,1: 95:[16, 45] Operation: 52-7=45 Exploring Operation: 52-16=36, Resulting Numbers: [7, 36] Generated Node #0,2,2: 95:[7, 36] Operation: 52-16=36 Moving to Node #0,2,2 Current State: 95:[7, 36], Operations: ['78-71=7', '52-16=36'] Exploring Operation: 7+36=43, Resulting Numbers: [43] 43,95 unequal: No Solution Exploring Operation: 7*36=252, Resulting Numbers: [252] 252,95 unequal: No Solution Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,95 unequal: No Solution Moving to Node #0,2,0 Current State: 95:[7, 68], Operations: ['78-71=7', '16+52=68'] Exploring Operation: 68-7=61, Resulting Numbers: [61] 61,95 unequal: No Solution Exploring Operation: 7+68=75, Resulting Numbers: [75] 75,95 unequal: No Solution Exploring Operation: 7*68=476, Resulting Numbers: [476] 476,95 unequal: No Solution Moving to Node #0,2,1 Current State: 95:[16, 45], Operations: ['78-71=7', '52-7=45'] Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,95 unequal: No Solution Exploring Operation: 16*45=720, Resulting Numbers: [720] 720,95 unequal: No Solution Exploring Operation: 16+45=61, Resulting Numbers: [61] 61,95 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
[ 93, 59, 5, 94 ]
53
[ "93+59=152", "5+94=99", "152-99=53" ]
Current State: 53:[93, 59, 5, 94], Operations: [] Exploring Operation: 93+59=152, Resulting Numbers: [5, 94, 152] Generated Node #2: [5, 94, 152] from Operation: 93+59=152 Current State: 53:[5, 94, 152], Operations: ['93+59=152'] Exploring Operation: 5+94=99, Resulting Numbers: [152, 99] Generated Node #3: [152, 99] from Operation: 5+94=99 Current State: 53:[152, 99], Operations: ['93+59=152', '5+94=99'] Exploring Operation: 152-99=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[93, 59, 5, 94], Operations: [] Exploring Operation: 93+5=98, Resulting Numbers: [59, 94, 98] Generated Node #0,0: 53:[59, 94, 98] Operation: 93+5=98 Exploring Operation: 59-5=54, Resulting Numbers: [93, 94, 54] Generated Node #0,1: 53:[93, 94, 54] Operation: 59-5=54 Exploring Operation: 59+5=64, Resulting Numbers: [93, 94, 64] Generated Node #0,2: 53:[93, 94, 64] Operation: 59+5=64 Exploring Operation: 94-5=89, Resulting Numbers: [93, 59, 89] Generated Node #0,3: 53:[93, 59, 89] Operation: 94-5=89 Exploring Operation: 93-5=88, Resulting Numbers: [59, 94, 88] Generated Node #0,4: 53:[59, 94, 88] Operation: 93-5=88 Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[93, 94, 54], Operations: ['59-5=54'] Exploring Operation: 94-93=1, Resulting Numbers: [54, 1] Generated Node #0,1,0: 53:[54, 1] Operation: 94-93=1 Exploring Operation: 94-54=40, Resulting Numbers: [93, 40] Generated Node #0,1,1: 53:[93, 40] Operation: 94-54=40 Exploring Operation: 93+54=147, Resulting Numbers: [94, 147] Generated Node #0,1,2: 53:[94, 147] Operation: 93+54=147 Exploring Operation: 93+94=187, Resulting Numbers: [54, 187] Generated Node #0,1,3: 53:[54, 187] Operation: 93+94=187 Exploring Operation: 93-54=39, Resulting Numbers: [94, 39] Generated Node #0,1,4: 53:[94, 39] Operation: 93-54=39 Moving to Node #0,1,0 Current State: 53:[54, 1], Operations: ['59-5=54', '94-93=1'] Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,53 unequal: No Solution Exploring Operation: 54*1=54, Resulting Numbers: [54] 54,53 unequal: No Solution Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[93, 59, 5, 94], Operations: [] Exploring Operation: 59-5=54, Resulting Numbers: [93, 94, 54] Generated Node #0,1: 53:[93, 94, 54] Operation: 59-5=54 Moving to Node #0,1 Current State: 53:[93, 94, 54], Operations: ['59-5=54'] Exploring Operation: 94-93=1, Resulting Numbers: [54, 1] Generated Node #0,1,0: 53:[54, 1] Operation: 94-93=1 Moving to Node #0,1,0 Current State: 53:[54, 1], Operations: ['59-5=54', '94-93=1'] Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 78, 14, 42, 3 ]
66
[ "78-14=64", "64-42=22", "3*22=66" ]
Current State: 66:[78, 14, 42, 3], Operations: [] Exploring Operation: 78-14=64, Resulting Numbers: [42, 3, 64] Generated Node #2: [42, 3, 64] from Operation: 78-14=64 Current State: 66:[42, 3, 64], Operations: ['78-14=64'] Exploring Operation: 64-42=22, Resulting Numbers: [3, 22] Generated Node #3: [3, 22] from Operation: 64-42=22 Current State: 66:[3, 22], Operations: ['78-14=64', '64-42=22'] Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[78, 14, 42, 3], Operations: [] Exploring Operation: 78-14=64, Resulting Numbers: [42, 3, 64] Generated Node #0,0: 66:[42, 3, 64] Operation: 78-14=64 Exploring Operation: 78-42=36, Resulting Numbers: [14, 3, 36] Generated Node #0,1: 66:[14, 3, 36] Operation: 78-42=36 Moving to Node #0,1 Current State: 66:[14, 3, 36], Operations: ['78-42=36'] Exploring Operation: 36-14=22, Resulting Numbers: [3, 22] Generated Node #0,1,0: 66:[3, 22] Operation: 36-14=22 Exploring Operation: 14-3=11, Resulting Numbers: [36, 11] Generated Node #0,1,1: 66:[36, 11] Operation: 14-3=11 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[3, 22], Operations: ['78-42=36', '36-14=22'] Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[78, 14, 42, 3], Operations: [] Exploring Operation: 78-42=36, Resulting Numbers: [14, 3, 36] Generated Node #0,1: 66:[14, 3, 36] Operation: 78-42=36 Moving to Node #0,1 Current State: 66:[14, 3, 36], Operations: ['78-42=36'] Exploring Operation: 36-14=22, Resulting Numbers: [3, 22] Generated Node #0,1,0: 66:[3, 22] Operation: 36-14=22 Moving to Node #0,1,0 Current State: 66:[3, 22], Operations: ['78-42=36', '36-14=22'] Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 7, 1, 26, 52 ]
15
[ "7*52=364", "364/26=14", "1+14=15" ]
Current State: 15:[7, 1, 26, 52], Operations: [] Exploring Operation: 7*52=364, Resulting Numbers: [1, 26, 364] Generated Node #2: [1, 26, 364] from Operation: 7*52=364 Current State: 15:[1, 26, 364], Operations: ['7*52=364'] Exploring Operation: 364/26=14, Resulting Numbers: [1, 14] Generated Node #3: [1, 14] from Operation: 364/26=14 Current State: 15:[1, 14], Operations: ['7*52=364', '364/26=14'] Exploring Operation: 1+14=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[7, 1, 26, 52], Operations: [] Exploring Operation: 52/26=2, Resulting Numbers: [7, 1, 2] Generated Node #0,0: 15:[7, 1, 2] Operation: 52/26=2 Exploring Operation: 26-7=19, Resulting Numbers: [1, 52, 19] Generated Node #0,1: 15:[1, 52, 19] Operation: 26-7=19 Exploring Operation: 52-26=26, Resulting Numbers: [7, 1, 26] Generated Node #0,2: 15:[7, 1, 26] Operation: 52-26=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[7, 1, 2], Operations: ['52/26=2'] Exploring Operation: 1+2=3, Resulting Numbers: [7, 3] Generated Node #0,0,0: 15:[7, 3] Operation: 1+2=3 Exploring Operation: 7-1=6, Resulting Numbers: [2, 6] Generated Node #0,0,1: 15:[2, 6] Operation: 7-1=6 Exploring Operation: 7-2=5, Resulting Numbers: [1, 5] Generated Node #0,0,2: 15:[1, 5] Operation: 7-2=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[7, 3], Operations: ['52/26=2', '1+2=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,15 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,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:[2, 6], Operations: ['52/26=2', '7-1=6'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,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,2 Current State: 15:[1, 5], Operations: ['52/26=2', '7-2=5'] Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,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,2 Current State: 15:[7, 1, 26], Operations: ['52-26=26'] Exploring Operation: 7-1=6, Resulting Numbers: [26, 6] Generated Node #0,2,0: 15:[26, 6] Operation: 7-1=6 Exploring Operation: 26-7=19, Resulting Numbers: [1, 19] Generated Node #0,2,1: 15:[1, 19] Operation: 26-7=19 Exploring Operation: 26-1=25, Resulting Numbers: [7, 25] Generated Node #0,2,2: 15:[7, 25] Operation: 26-1=25 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 15:[1, 19], Operations: ['52-26=26', '26-7=19'] Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,15 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,15 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,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,2,0 Current State: 15:[26, 6], Operations: ['52-26=26', '7-1=6'] Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,15 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,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,2,2 Current State: 15:[7, 25], Operations: ['52-26=26', '26-1=25'] Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,15 unequal: No Solution Exploring Operation: 7+25=32, Resulting Numbers: [32] 32,15 unequal: No Solution Exploring Operation: 7*25=175, Resulting Numbers: [175] 175,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,1 Current State: 15:[1, 52, 19], Operations: ['26-7=19'] Exploring Operation: 19-1=18, Resulting Numbers: [52, 18] Generated Node #0,1,0: 15:[52, 18] Operation: 19-1=18 Exploring Operation: 52-19=33, Resulting Numbers: [1, 33] Generated Node #0,1,1: 15:[1, 33] Operation: 52-19=33 Exploring Operation: 52-1=51, Resulting Numbers: [19, 51] Generated Node #0,1,2: 15:[19, 51] Operation: 52-1=51 Moving to Node #0,1,1 Current State: 15:[1, 33], Operations: ['26-7=19', '52-19=33'] Exploring Operation: 1*33=33, Resulting Numbers: [33] 33,15 unequal: No Solution Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,15 unequal: No Solution Exploring Operation: 33/1=33, Resulting Numbers: [33] 33,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[52, 18], Operations: ['26-7=19', '19-1=18'] Exploring Operation: 52-18=34, Resulting Numbers: [34] 34,15 unequal: No Solution Exploring Operation: 52+18=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 52*18=936, Resulting Numbers: [936] 936,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[19, 51], Operations: ['26-7=19', '52-1=51'] Exploring Operation: 19+51=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 51-19=32, Resulting Numbers: [32] 32,15 unequal: No Solution Exploring Operation: 19*51=969, Resulting Numbers: [969] 969,15 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
[ 60, 17, 7, 31 ]
84
[ "60-17=43", "43-31=12", "7*12=84" ]
Current State: 84:[60, 17, 7, 31], Operations: [] Exploring Operation: 60-17=43, Resulting Numbers: [7, 31, 43] Generated Node #2: [7, 31, 43] from Operation: 60-17=43 Current State: 84:[7, 31, 43], Operations: ['60-17=43'] Exploring Operation: 43-31=12, Resulting Numbers: [7, 12] Generated Node #3: [7, 12] from Operation: 43-31=12 Current State: 84:[7, 12], Operations: ['60-17=43', '43-31=12'] Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[60, 17, 7, 31], Operations: [] Exploring Operation: 60-17=43, Resulting Numbers: [7, 31, 43] Generated Node #0,0: 84:[7, 31, 43] Operation: 60-17=43 Exploring Operation: 60-31=29, Resulting Numbers: [17, 7, 29] Generated Node #0,1: 84:[17, 7, 29] Operation: 60-31=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[7, 31, 43], Operations: ['60-17=43'] Exploring Operation: 43-31=12, Resulting Numbers: [7, 12] Generated Node #0,0,0: 84:[7, 12] Operation: 43-31=12 Exploring Operation: 31-7=24, Resulting Numbers: [43, 24] Generated Node #0,0,1: 84:[43, 24] Operation: 31-7=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[7, 12], Operations: ['60-17=43', '43-31=12'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,84 unequal: No Solution Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[60, 17, 7, 31], Operations: [] Exploring Operation: 60-17=43, Resulting Numbers: [7, 31, 43] Generated Node #0,0: 84:[7, 31, 43] Operation: 60-17=43 Moving to Node #0,0 Current State: 84:[7, 31, 43], Operations: ['60-17=43'] Exploring Operation: 43-31=12, Resulting Numbers: [7, 12] Generated Node #0,0,0: 84:[7, 12] Operation: 43-31=12 Moving to Node #0,0,0 Current State: 84:[7, 12], Operations: ['60-17=43', '43-31=12'] Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 48, 31, 8, 83 ]
74
[ "48-31=17", "8+83=91", "91-17=74" ]
Current State: 74:[48, 31, 8, 83], Operations: [] Exploring Operation: 48-31=17, Resulting Numbers: [8, 83, 17] Generated Node #2: [8, 83, 17] from Operation: 48-31=17 Current State: 74:[8, 83, 17], Operations: ['48-31=17'] Exploring Operation: 8+83=91, Resulting Numbers: [17, 91] Generated Node #3: [17, 91] from Operation: 8+83=91 Current State: 74:[17, 91], Operations: ['48-31=17', '8+83=91'] Exploring Operation: 91-17=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[48, 31, 8, 83], Operations: [] Exploring Operation: 83-48=35, Resulting Numbers: [31, 8, 35] Generated Node #0,0: 74:[31, 8, 35] Operation: 83-48=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[31, 8, 35], Operations: ['83-48=35'] Exploring Operation: 31+8=39, Resulting Numbers: [35, 39] Generated Node #0,0,0: 74:[35, 39] Operation: 31+8=39 Moving to Node #0,0,0 Current State: 74:[35, 39], Operations: ['83-48=35', '31+8=39'] Exploring Operation: 35+39=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[48, 31, 8, 83], Operations: [] Exploring Operation: 83-48=35, Resulting Numbers: [31, 8, 35] Generated Node #0,0: 74:[31, 8, 35] Operation: 83-48=35 Moving to Node #0,0 Current State: 74:[31, 8, 35], Operations: ['83-48=35'] Exploring Operation: 31+8=39, Resulting Numbers: [35, 39] Generated Node #0,0,0: 74:[35, 39] Operation: 31+8=39 Moving to Node #0,0,0 Current State: 74:[35, 39], Operations: ['83-48=35', '31+8=39'] Exploring Operation: 35+39=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 47, 39, 57, 75 ]
45
[ "39+75=114", "114/57=2", "47-2=45" ]
Current State: 45:[47, 39, 57, 75], Operations: [] Exploring Operation: 39+75=114, Resulting Numbers: [47, 57, 114] Generated Node #2: [47, 57, 114] from Operation: 39+75=114 Current State: 45:[47, 57, 114], Operations: ['39+75=114'] Exploring Operation: 114/57=2, Resulting Numbers: [47, 2] Generated Node #3: [47, 2] from Operation: 114/57=2 Current State: 45:[47, 2], Operations: ['39+75=114', '114/57=2'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[47, 39, 57, 75], Operations: [] Exploring Operation: 75-57=18, Resulting Numbers: [47, 39, 18] Generated Node #0,0: 45:[47, 39, 18] Operation: 75-57=18 Exploring Operation: 75-47=28, Resulting Numbers: [39, 57, 28] Generated Node #0,1: 45:[39, 57, 28] Operation: 75-47=28 Exploring Operation: 75-39=36, Resulting Numbers: [47, 57, 36] Generated Node #0,2: 45:[47, 57, 36] Operation: 75-39=36 Moving to Node #0,0 Current State: 45:[47, 39, 18], Operations: ['75-57=18'] Exploring Operation: 39-18=21, Resulting Numbers: [47, 21] Generated Node #0,0,0: 45:[47, 21] Operation: 39-18=21 Exploring Operation: 39+18=57, Resulting Numbers: [47, 57] Generated Node #0,0,1: 45:[47, 57] Operation: 39+18=57 Exploring Operation: 47-39=8, Resulting Numbers: [18, 8] Generated Node #0,0,2: 45:[18, 8] Operation: 47-39=8 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 45:[18, 8], Operations: ['75-57=18', '47-39=8'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,45 unequal: No Solution Exploring Operation: 18*8=144, Resulting Numbers: [144] 144,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[47, 21], Operations: ['75-57=18', '39-18=21'] Exploring Operation: 47*21=987, Resulting Numbers: [987] 987,45 unequal: No Solution Exploring Operation: 47-21=26, Resulting Numbers: [26] 26,45 unequal: No Solution Exploring Operation: 47+21=68, Resulting Numbers: [68] 68,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 45:[47, 57], Operations: ['75-57=18', '39+18=57'] Exploring Operation: 47*57=2679, Resulting Numbers: [2679] 2679,45 unequal: No Solution Exploring Operation: 47+57=104, Resulting Numbers: [104] 104,45 unequal: No Solution Exploring Operation: 57-47=10, Resulting Numbers: [10] 10,45 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: 45:[47, 57, 36], Operations: ['75-39=36'] Exploring Operation: 47-36=11, Resulting Numbers: [57, 11] Generated Node #0,2,0: 45:[57, 11] Operation: 47-36=11 Exploring Operation: 57-47=10, Resulting Numbers: [36, 10] Generated Node #0,2,1: 45:[36, 10] Operation: 57-47=10 Exploring Operation: 57-36=21, Resulting Numbers: [47, 21] Generated Node #0,2,2: 45:[47, 21] Operation: 57-36=21 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 45:[47, 21], Operations: ['75-39=36', '57-36=21'] Exploring Operation: 47-21=26, Resulting Numbers: [26] 26,45 unequal: No Solution Exploring Operation: 47+21=68, Resulting Numbers: [68] 68,45 unequal: No Solution Exploring Operation: 47*21=987, Resulting Numbers: [987] 987,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 45:[36, 10], Operations: ['75-39=36', '57-47=10'] Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,45 unequal: No Solution Exploring Operation: 36*10=360, Resulting Numbers: [360] 360,45 unequal: No Solution Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 45:[57, 11], Operations: ['75-39=36', '47-36=11'] Exploring Operation: 57+11=68, Resulting Numbers: [68] 68,45 unequal: No Solution Exploring Operation: 57*11=627, Resulting Numbers: [627] 627,45 unequal: No Solution Exploring Operation: 57-11=46, Resulting Numbers: [46] 46,45 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: 45:[39, 57, 28], Operations: ['75-47=28'] Exploring Operation: 57-28=29, Resulting Numbers: [39, 29] Generated Node #0,1,0: 45:[39, 29] Operation: 57-28=29 Exploring Operation: 57-39=18, Resulting Numbers: [28, 18] Generated Node #0,1,1: 45:[28, 18] Operation: 57-39=18 Exploring Operation: 39-28=11, Resulting Numbers: [57, 11] Generated Node #0,1,2: 45:[57, 11] Operation: 39-28=11 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 45:[57, 11], Operations: ['75-47=28', '39-28=11'] Exploring Operation: 57+11=68, Resulting Numbers: [68] 68,45 unequal: No Solution Exploring Operation: 57*11=627, Resulting Numbers: [627] 627,45 unequal: No Solution Exploring Operation: 57-11=46, Resulting Numbers: [46] 46,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[28, 18], Operations: ['75-47=28', '57-39=18'] Exploring Operation: 28+18=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 28*18=504, Resulting Numbers: [504] 504,45 unequal: No Solution Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[39, 29], Operations: ['75-47=28', '57-28=29'] Exploring Operation: 39-29=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 39+29=68, Resulting Numbers: [68] 68,45 unequal: No Solution Exploring Operation: 39*29=1131, Resulting Numbers: [1131] 1131,45 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
[ 3, 39, 76, 37 ]
52
[ "39/3=13", "76-37=39", "13+39=52" ]
Current State: 52:[3, 39, 76, 37], Operations: [] Exploring Operation: 39/3=13, Resulting Numbers: [76, 37, 13] Generated Node #2: [76, 37, 13] from Operation: 39/3=13 Current State: 52:[76, 37, 13], Operations: ['39/3=13'] Exploring Operation: 76-37=39, Resulting Numbers: [13, 39] Generated Node #3: [13, 39] from Operation: 76-37=39 Current State: 52:[13, 39], Operations: ['39/3=13', '76-37=39'] Exploring Operation: 13+39=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[3, 39, 76, 37], Operations: [] Exploring Operation: 39/3=13, Resulting Numbers: [76, 37, 13] Generated Node #0,0: 52:[76, 37, 13] Operation: 39/3=13 Exploring Operation: 39-37=2, Resulting Numbers: [3, 76, 2] Generated Node #0,1: 52:[3, 76, 2] Operation: 39-37=2 Exploring Operation: 3+39=42, Resulting Numbers: [76, 37, 42] Generated Node #0,2: 52:[76, 37, 42] Operation: 3+39=42 Exploring Operation: 76-37=39, Resulting Numbers: [3, 39, 39] Generated Node #0,3: 52:[3, 39, 39] Operation: 76-37=39 Exploring Operation: 76-39=37, Resulting Numbers: [3, 37, 37] Generated Node #0,4: 52:[3, 37, 37] Operation: 76-39=37 Start Sub Search at level 1: Moving to Node #0,4 Current State: 52:[3, 37, 37], Operations: ['76-39=37'] Exploring Operation: 37-3=34, Resulting Numbers: [37, 34] Generated Node #0,4,0: 52:[37, 34] Operation: 37-3=34 Exploring Operation: 37/37=1, Resulting Numbers: [3, 1] Generated Node #0,4,1: 52:[3, 1] Operation: 37/37=1 Exploring Operation: 37-37=0, Resulting Numbers: [3, 0] Generated Node #0,4,2: 52:[3, 0] Operation: 37-37=0 Exploring Operation: 37-3=34, Resulting Numbers: [37, 34] Generated Node #0,4,3: 52:[37, 34] Operation: 37-3=34 Exploring Operation: 3+37=40, Resulting Numbers: [37, 40] Generated Node #0,4,4: 52:[37, 40] Operation: 3+37=40 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 52:[3, 1], Operations: ['76-39=37', '37/37=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,52 unequal: No Solution No 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: 52:[3, 0], Operations: ['76-39=37', '37-37=0'] Exploring Operation: 3+0=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 3*0=0, Resulting Numbers: [0] 0,52 unequal: No Solution No 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: 52:[37, 34], Operations: ['76-39=37', '37-3=34'] Exploring Operation: 37+34=71, Resulting Numbers: [71] 71,52 unequal: No Solution Exploring Operation: 37-34=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 37*34=1258, Resulting Numbers: [1258] 1258,52 unequal: No Solution No 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: 52:[37, 34], Operations: ['76-39=37', '37-3=34'] Exploring Operation: 37-34=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 37+34=71, Resulting Numbers: [71] 71,52 unequal: No Solution Exploring Operation: 37*34=1258, Resulting Numbers: [1258] 1258,52 unequal: No Solution No 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: 52:[37, 40], Operations: ['76-39=37', '3+37=40'] Exploring Operation: 40-37=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 37*40=1480, Resulting Numbers: [1480] 1480,52 unequal: No Solution Exploring Operation: 37+40=77, Resulting Numbers: [77] 77,52 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: 52:[3, 76, 2], Operations: ['39-37=2'] Exploring Operation: 3+2=5, Resulting Numbers: [76, 5] Generated Node #0,1,0: 52:[76, 5] Operation: 3+2=5 Exploring Operation: 76/2=38, Resulting Numbers: [3, 38] Generated Node #0,1,1: 52:[3, 38] Operation: 76/2=38 Exploring Operation: 3-2=1, Resulting Numbers: [76, 1] Generated Node #0,1,2: 52:[76, 1] Operation: 3-2=1 Exploring Operation: 76-3=73, Resulting Numbers: [2, 73] Generated Node #0,1,3: 52:[2, 73] Operation: 76-3=73 Exploring Operation: 76-2=74, Resulting Numbers: [3, 74] Generated Node #0,1,4: 52:[3, 74] Operation: 76-2=74 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 52:[3, 38], Operations: ['39-37=2', '76/2=38'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,52 unequal: No Solution Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,52 unequal: No Solution No 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: 52:[2, 73], Operations: ['39-37=2', '76-3=73'] Exploring Operation: 2+73=75, Resulting Numbers: [75] 75,52 unequal: No Solution Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,52 unequal: No Solution Exploring Operation: 2*73=146, Resulting Numbers: [146] 146,52 unequal: No Solution No 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: 52:[3, 74], Operations: ['39-37=2', '76-2=74'] Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,52 unequal: No Solution Exploring Operation: 3*74=222, Resulting Numbers: [222] 222,52 unequal: No Solution Exploring Operation: 3+74=77, Resulting Numbers: [77] 77,52 unequal: No Solution No 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: 52:[76, 5], Operations: ['39-37=2', '3+2=5'] Exploring Operation: 76+5=81, Resulting Numbers: [81] 81,52 unequal: No Solution Exploring Operation: 76*5=380, Resulting Numbers: [380] 380,52 unequal: No Solution Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,52 unequal: No Solution No 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: 52:[76, 1], Operations: ['39-37=2', '3-2=1'] Exploring Operation: 76*1=76, Resulting Numbers: [76] 76,52 unequal: No Solution Exploring Operation: 76+1=77, Resulting Numbers: [77] 77,52 unequal: No Solution Exploring Operation: 76-1=75, Resulting Numbers: [75] 75,52 unequal: No Solution Exploring Operation: 76/1=76, Resulting Numbers: [76] 76,52 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: 52:[3, 39, 39], Operations: ['76-37=39'] Exploring Operation: 39/3=13, Resulting Numbers: [39, 13] Generated Node #0,3,0: 52:[39, 13] Operation: 39/3=13 Exploring Operation: 3+39=42, Resulting Numbers: [39, 42] Generated Node #0,3,1: 52:[39, 42] Operation: 3+39=42 Exploring Operation: 39-39=0, Resulting Numbers: [3, 0] Generated Node #0,3,2: 52:[3, 0] Operation: 39-39=0 Exploring Operation: 39/3=13, Resulting Numbers: [39, 13] Generated Node #0,3,3: 52:[39, 13] Operation: 39/3=13 Exploring Operation: 39/39=1, Resulting Numbers: [3, 1] Generated Node #0,3,4: 52:[3, 1] Operation: 39/39=1 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 52:[3, 1], Operations: ['76-37=39', '39/39=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,52 unequal: No Solution No 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: 52:[3, 0], Operations: ['76-37=39', '39-39=0'] Exploring Operation: 3+0=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 3*0=0, Resulting Numbers: [0] 0,52 unequal: No Solution No 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: 52:[39, 13], Operations: ['76-37=39', '39/3=13'] Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 39*13=507, Resulting Numbers: [507] 507,52 unequal: No Solution Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 39+13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[3, 39, 76, 37], Operations: [] Exploring Operation: 76-37=39, Resulting Numbers: [3, 39, 39] Generated Node #0,3: 52:[3, 39, 39] Operation: 76-37=39 Moving to Node #0,3 Current State: 52:[3, 39, 39], Operations: ['76-37=39'] Exploring Operation: 39/3=13, Resulting Numbers: [39, 13] Generated Node #0,3,0: 52:[39, 13] Operation: 39/3=13 Moving to Node #0,3,0 Current State: 52:[39, 13], Operations: ['76-37=39', '39/3=13'] Exploring Operation: 39+13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.94184
hs_5
mult_heuristic
[ 73, 96, 6, 75 ]
14
[ "75-73=2", "96/6=16", "16-2=14" ]
Current State: 14:[73, 96, 6, 75], Operations: [] Exploring Operation: 75-73=2, Resulting Numbers: [96, 6, 2] Generated Node #2: [96, 6, 2] from Operation: 75-73=2 Current State: 14:[96, 6, 2], Operations: ['75-73=2'] Exploring Operation: 96/6=16, Resulting Numbers: [2, 16] Generated Node #3: [2, 16] from Operation: 96/6=16 Current State: 14:[2, 16], Operations: ['75-73=2', '96/6=16'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[73, 96, 6, 75], Operations: [] Exploring Operation: 96-75=21, Resulting Numbers: [73, 6, 21] Generated Node #0,0: 14:[73, 6, 21] Operation: 96-75=21 Moving to Node #0,0 Current State: 14:[73, 6, 21], Operations: ['96-75=21'] Exploring Operation: 73-21=52, Resulting Numbers: [6, 52] Generated Node #0,0,0: 14:[6, 52] Operation: 73-21=52 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[6, 52], Operations: ['96-75=21', '73-21=52'] Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,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
mult_heuristic
[ 78, 48, 35, 51 ]
56
[ "78-48=30", "35+51=86", "86-30=56" ]
Current State: 56:[78, 48, 35, 51], Operations: [] Exploring Operation: 78-48=30, Resulting Numbers: [35, 51, 30] Generated Node #2: [35, 51, 30] from Operation: 78-48=30 Current State: 56:[35, 51, 30], Operations: ['78-48=30'] Exploring Operation: 35+51=86, Resulting Numbers: [30, 86] Generated Node #3: [30, 86] from Operation: 35+51=86 Current State: 56:[30, 86], Operations: ['78-48=30', '35+51=86'] Exploring Operation: 86-30=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[78, 48, 35, 51], Operations: [] Exploring Operation: 78-48=30, Resulting Numbers: [35, 51, 30] Generated Node #0,0: 56:[35, 51, 30] Operation: 78-48=30 Moving to Node #0,0 Current State: 56:[35, 51, 30], Operations: ['78-48=30'] Exploring Operation: 51-35=16, Resulting Numbers: [30, 16] Generated Node #0,0,0: 56:[30, 16] Operation: 51-35=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[30, 16], Operations: ['78-48=30', '51-35=16'] Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,56 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
[ 70, 48, 5, 11 ]
55
[ "70-48=22", "22-11=11", "5*11=55" ]
Current State: 55:[70, 48, 5, 11], Operations: [] Exploring Operation: 70-48=22, Resulting Numbers: [5, 11, 22] Generated Node #2: [5, 11, 22] from Operation: 70-48=22 Current State: 55:[5, 11, 22], Operations: ['70-48=22'] Exploring Operation: 22-11=11, Resulting Numbers: [5, 11] Generated Node #3: [5, 11] from Operation: 22-11=11 Current State: 55:[5, 11], Operations: ['70-48=22', '22-11=11'] Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[70, 48, 5, 11], Operations: [] Exploring Operation: 70/5=14, Resulting Numbers: [48, 11, 14] Generated Node #0,0: 55:[48, 11, 14] Operation: 70/5=14 Exploring Operation: 70-48=22, Resulting Numbers: [5, 11, 22] Generated Node #0,1: 55:[5, 11, 22] Operation: 70-48=22 Exploring Operation: 70-11=59, Resulting Numbers: [48, 5, 59] Generated Node #0,2: 55:[48, 5, 59] Operation: 70-11=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[48, 11, 14], Operations: ['70/5=14'] Exploring Operation: 48+14=62, Resulting Numbers: [11, 62] Generated Node #0,0,0: 55:[11, 62] Operation: 48+14=62 Exploring Operation: 48+11=59, Resulting Numbers: [14, 59] Generated Node #0,0,1: 55:[14, 59] Operation: 48+11=59 Exploring Operation: 14-11=3, Resulting Numbers: [48, 3] Generated Node #0,0,2: 55:[48, 3] Operation: 14-11=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 55:[11, 62], Operations: ['70/5=14', '48+14=62'] Exploring Operation: 62-11=51, Resulting Numbers: [51] 51,55 unequal: No Solution Exploring Operation: 11*62=682, Resulting Numbers: [682] 682,55 unequal: No Solution Exploring Operation: 11+62=73, Resulting Numbers: [73] 73,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,0,1 Current State: 55:[14, 59], Operations: ['70/5=14', '48+11=59'] Exploring Operation: 14+59=73, Resulting Numbers: [73] 73,55 unequal: No Solution Exploring Operation: 59-14=45, Resulting Numbers: [45] 45,55 unequal: No Solution Exploring Operation: 14*59=826, Resulting Numbers: [826] 826,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,0,2 Current State: 55:[48, 3], Operations: ['70/5=14', '14-11=3'] Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,55 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,55 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,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,1 Current State: 55:[5, 11, 22], Operations: ['70-48=22'] Exploring Operation: 22-11=11, Resulting Numbers: [5, 11] Generated Node #0,1,0: 55:[5, 11] Operation: 22-11=11 Exploring Operation: 22-5=17, Resulting Numbers: [11, 17] Generated Node #0,1,1: 55:[11, 17] Operation: 22-5=17 Exploring Operation: 22/11=2, Resulting Numbers: [5, 2] Generated Node #0,1,2: 55:[5, 2] Operation: 22/11=2 Moving to Node #0,1,0 Current State: 55:[5, 11], Operations: ['70-48=22', '22-11=11'] Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[70, 48, 5, 11], Operations: [] Exploring Operation: 70-48=22, Resulting Numbers: [5, 11, 22] Generated Node #0,1: 55:[5, 11, 22] Operation: 70-48=22 Moving to Node #0,1 Current State: 55:[5, 11, 22], Operations: ['70-48=22'] Exploring Operation: 22-11=11, Resulting Numbers: [5, 11] Generated Node #0,1,0: 55:[5, 11] Operation: 22-11=11 Moving to Node #0,1,0 Current State: 55:[5, 11], Operations: ['70-48=22', '22-11=11'] Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 78, 61, 44, 10 ]
59
[ "78+10=88", "88/44=2", "61-2=59" ]
Current State: 59:[78, 61, 44, 10], Operations: [] Exploring Operation: 78+10=88, Resulting Numbers: [61, 44, 88] Generated Node #2: [61, 44, 88] from Operation: 78+10=88 Current State: 59:[61, 44, 88], Operations: ['78+10=88'] Exploring Operation: 88/44=2, Resulting Numbers: [61, 2] Generated Node #3: [61, 2] from Operation: 88/44=2 Current State: 59:[61, 2], Operations: ['78+10=88', '88/44=2'] Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[78, 61, 44, 10], Operations: [] Exploring Operation: 78-10=68, Resulting Numbers: [61, 44, 68] Generated Node #0,0: 59:[61, 44, 68] Operation: 78-10=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[61, 44, 68], Operations: ['78-10=68'] Exploring Operation: 68-44=24, Resulting Numbers: [61, 24] Generated Node #0,0,0: 59:[61, 24] Operation: 68-44=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[61, 24], Operations: ['78-10=68', '68-44=24'] Exploring Operation: 61-24=37, Resulting Numbers: [37] 37,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 79, 13, 70, 70 ]
92
[ "79+13=92", "70-70=0", "92+0=92" ]
Current State: 92:[79, 13, 70, 70], Operations: [] Exploring Operation: 79+13=92, Resulting Numbers: [70, 70, 92] Generated Node #2: [70, 70, 92] from Operation: 79+13=92 Current State: 92:[70, 70, 92], Operations: ['79+13=92'] Exploring Operation: 70-70=0, Resulting Numbers: [92, 0] Generated Node #3: [92, 0] from Operation: 70-70=0 Current State: 92:[92, 0], Operations: ['79+13=92', '70-70=0'] Exploring Operation: 92+0=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[79, 13, 70, 70], Operations: [] Exploring Operation: 79-70=9, Resulting Numbers: [13, 70, 9] Generated Node #0,0: 92:[13, 70, 9] Operation: 79-70=9 Exploring Operation: 70/70=1, Resulting Numbers: [79, 13, 1] Generated Node #0,1: 92:[79, 13, 1] Operation: 70/70=1 Exploring Operation: 70-70=0, Resulting Numbers: [79, 13, 0] Generated Node #0,2: 92:[79, 13, 0] Operation: 70-70=0 Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[79, 13, 1], Operations: ['70/70=1'] Exploring Operation: 79+13=92, Resulting Numbers: [1, 92] Generated Node #0,1,0: 92:[1, 92] Operation: 79+13=92 Exploring Operation: 79-13=66, Resulting Numbers: [1, 66] Generated Node #0,1,1: 92:[1, 66] Operation: 79-13=66 Exploring Operation: 79+1=80, Resulting Numbers: [13, 80] Generated Node #0,1,2: 92:[13, 80] Operation: 79+1=80 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 92:[1, 92], Operations: ['70/70=1', '79+13=92'] Exploring Operation: 1*92=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[79, 13, 70, 70], Operations: [] Exploring Operation: 70/70=1, Resulting Numbers: [79, 13, 1] Generated Node #0,1: 92:[79, 13, 1] Operation: 70/70=1 Moving to Node #0,1 Current State: 92:[79, 13, 1], Operations: ['70/70=1'] Exploring Operation: 79+13=92, Resulting Numbers: [1, 92] Generated Node #0,1,0: 92:[1, 92] Operation: 79+13=92 Moving to Node #0,1,0 Current State: 92:[1, 92], Operations: ['70/70=1', '79+13=92'] Exploring Operation: 1*92=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 45, 18, 27, 94 ]
58
[ "45+18=63", "27+94=121", "121-63=58" ]
Current State: 58:[45, 18, 27, 94], Operations: [] Exploring Operation: 45+18=63, Resulting Numbers: [27, 94, 63] Generated Node #2: [27, 94, 63] from Operation: 45+18=63 Current State: 58:[27, 94, 63], Operations: ['45+18=63'] Exploring Operation: 27+94=121, Resulting Numbers: [63, 121] Generated Node #3: [63, 121] from Operation: 27+94=121 Current State: 58:[63, 121], Operations: ['45+18=63', '27+94=121'] Exploring Operation: 121-63=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[45, 18, 27, 94], Operations: [] Exploring Operation: 94-45=49, Resulting Numbers: [18, 27, 49] Generated Node #0,0: 58:[18, 27, 49] Operation: 94-45=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[18, 27, 49], Operations: ['94-45=49'] Exploring Operation: 49-18=31, Resulting Numbers: [27, 31] Generated Node #0,0,0: 58:[27, 31] Operation: 49-18=31 Moving to Node #0,0,0 Current State: 58:[27, 31], Operations: ['94-45=49', '49-18=31'] Exploring Operation: 27+31=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[45, 18, 27, 94], Operations: [] Exploring Operation: 94-45=49, Resulting Numbers: [18, 27, 49] Generated Node #0,0: 58:[18, 27, 49] Operation: 94-45=49 Moving to Node #0,0 Current State: 58:[18, 27, 49], Operations: ['94-45=49'] Exploring Operation: 49-18=31, Resulting Numbers: [27, 31] Generated Node #0,0,0: 58:[27, 31] Operation: 49-18=31 Moving to Node #0,0,0 Current State: 58:[27, 31], Operations: ['94-45=49', '49-18=31'] Exploring Operation: 27+31=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 76, 58, 69, 25 ]
62
[ "76-58=18", "69-25=44", "18+44=62" ]
Current State: 62:[76, 58, 69, 25], Operations: [] Exploring Operation: 76-58=18, Resulting Numbers: [69, 25, 18] Generated Node #2: [69, 25, 18] from Operation: 76-58=18 Current State: 62:[69, 25, 18], Operations: ['76-58=18'] Exploring Operation: 69-25=44, Resulting Numbers: [18, 44] Generated Node #3: [18, 44] from Operation: 69-25=44 Current State: 62:[18, 44], Operations: ['76-58=18', '69-25=44'] Exploring Operation: 18+44=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[76, 58, 69, 25], Operations: [] Exploring Operation: 69-58=11, Resulting Numbers: [76, 25, 11] Generated Node #0,0: 62:[76, 25, 11] Operation: 69-58=11 Exploring Operation: 58-25=33, Resulting Numbers: [76, 69, 33] Generated Node #0,1: 62:[76, 69, 33] Operation: 58-25=33 Exploring Operation: 76-69=7, Resulting Numbers: [58, 25, 7] Generated Node #0,2: 62:[58, 25, 7] Operation: 76-69=7 Exploring Operation: 76-58=18, Resulting Numbers: [69, 25, 18] Generated Node #0,3: 62:[69, 25, 18] Operation: 76-58=18 Exploring Operation: 76-25=51, Resulting Numbers: [58, 69, 51] Generated Node #0,4: 62:[58, 69, 51] Operation: 76-25=51 Moving to Node #0,2 Current State: 62:[58, 25, 7], Operations: ['76-69=7'] Exploring Operation: 58-25=33, Resulting Numbers: [7, 33] Generated Node #0,2,0: 62:[7, 33] Operation: 58-25=33 Exploring Operation: 25+7=32, Resulting Numbers: [58, 32] Generated Node #0,2,1: 62:[58, 32] Operation: 25+7=32 Exploring Operation: 58+7=65, Resulting Numbers: [25, 65] Generated Node #0,2,2: 62:[25, 65] Operation: 58+7=65 Exploring Operation: 25-7=18, Resulting Numbers: [58, 18] Generated Node #0,2,3: 62:[58, 18] Operation: 25-7=18 Exploring Operation: 58-7=51, Resulting Numbers: [25, 51] Generated Node #0,2,4: 62:[25, 51] Operation: 58-7=51 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 62:[58, 32], Operations: ['76-69=7', '25+7=32'] Exploring Operation: 58*32=1856, Resulting Numbers: [1856] 1856,62 unequal: No Solution Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 58+32=90, Resulting Numbers: [90] 90,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 62:[7, 33], Operations: ['76-69=7', '58-25=33'] Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 7*33=231, Resulting Numbers: [231] 231,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 62:[25, 65], Operations: ['76-69=7', '58+7=65'] Exploring Operation: 25+65=90, Resulting Numbers: [90] 90,62 unequal: No Solution Exploring Operation: 65-25=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 25*65=1625, Resulting Numbers: [1625] 1625,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 62:[58, 18], Operations: ['76-69=7', '25-7=18'] Exploring Operation: 58-18=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 58+18=76, Resulting Numbers: [76] 76,62 unequal: No Solution Exploring Operation: 58*18=1044, Resulting Numbers: [1044] 1044,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 62:[25, 51], Operations: ['76-69=7', '58-7=51'] Exploring Operation: 25+51=76, Resulting Numbers: [76] 76,62 unequal: No Solution Exploring Operation: 25*51=1275, Resulting Numbers: [1275] 1275,62 unequal: No Solution Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,62 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: 62:[58, 69, 51], Operations: ['76-25=51'] Exploring Operation: 69+51=120, Resulting Numbers: [58, 120] Generated Node #0,4,0: 62:[58, 120] Operation: 69+51=120 Exploring Operation: 69-58=11, Resulting Numbers: [51, 11] Generated Node #0,4,1: 62:[51, 11] Operation: 69-58=11 Exploring Operation: 58+51=109, Resulting Numbers: [69, 109] Generated Node #0,4,2: 62:[69, 109] Operation: 58+51=109 Exploring Operation: 69-51=18, Resulting Numbers: [58, 18] Generated Node #0,4,3: 62:[58, 18] Operation: 69-51=18 Exploring Operation: 58-51=7, Resulting Numbers: [69, 7] Generated Node #0,4,4: 62:[69, 7] Operation: 58-51=7 Moving to Node #0,1 Current State: 62:[76, 69, 33], Operations: ['58-25=33'] Exploring Operation: 76-33=43, Resulting Numbers: [69, 43] Generated Node #0,1,0: 62:[69, 43] Operation: 76-33=43 Exploring Operation: 76-69=7, Resulting Numbers: [33, 7] Generated Node #0,1,1: 62:[33, 7] Operation: 76-69=7 Exploring Operation: 69-33=36, Resulting Numbers: [76, 36] Generated Node #0,1,2: 62:[76, 36] Operation: 69-33=36 Exploring Operation: 76+33=109, Resulting Numbers: [69, 109] Generated Node #0,1,3: 62:[69, 109] Operation: 76+33=109 Exploring Operation: 69+33=102, Resulting Numbers: [76, 102] Generated Node #0,1,4: 62:[76, 102] Operation: 69+33=102 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 62:[33, 7], Operations: ['58-25=33', '76-69=7'] Exploring Operation: 33+7=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 33*7=231, Resulting Numbers: [231] 231,62 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 62:[69, 43], Operations: ['58-25=33', '76-33=43'] Exploring Operation: 69*43=2967, Resulting Numbers: [2967] 2967,62 unequal: No Solution Exploring Operation: 69-43=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 69+43=112, Resulting Numbers: [112] 112,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 62:[76, 36], Operations: ['58-25=33', '69-33=36'] Exploring Operation: 76*36=2736, Resulting Numbers: [2736] 2736,62 unequal: No Solution Exploring Operation: 76-36=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 76+36=112, Resulting Numbers: [112] 112,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 62:[69, 109], Operations: ['58-25=33', '76+33=109'] Exploring Operation: 69+109=178, Resulting Numbers: [178] 178,62 unequal: No Solution Exploring Operation: 109-69=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 69*109=7521, Resulting Numbers: [7521] 7521,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 62:[76, 102], Operations: ['58-25=33', '69+33=102'] Exploring Operation: 76*102=7752, Resulting Numbers: [7752] 7752,62 unequal: No Solution Exploring Operation: 76+102=178, Resulting Numbers: [178] 178,62 unequal: No Solution Exploring Operation: 102-76=26, Resulting Numbers: [26] 26,62 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: 62:[69, 25, 18], Operations: ['76-58=18'] Exploring Operation: 69-18=51, Resulting Numbers: [25, 51] Generated Node #0,3,0: 62:[25, 51] Operation: 69-18=51 Exploring Operation: 69+18=87, Resulting Numbers: [25, 87] Generated Node #0,3,1: 62:[25, 87] Operation: 69+18=87 Exploring Operation: 25+18=43, Resulting Numbers: [69, 43] Generated Node #0,3,2: 62:[69, 43] Operation: 25+18=43 Exploring Operation: 69-25=44, Resulting Numbers: [18, 44] Generated Node #0,3,3: 62:[18, 44] Operation: 69-25=44 Exploring Operation: 25-18=7, Resulting Numbers: [69, 7] Generated Node #0,3,4: 62:[69, 7] Operation: 25-18=7 Moving to Node #0,0 Current State: 62:[76, 25, 11], Operations: ['69-58=11'] Exploring Operation: 76-25=51, Resulting Numbers: [11, 51] Generated Node #0,0,0: 62:[11, 51] Operation: 76-25=51 Exploring Operation: 76-11=65, Resulting Numbers: [25, 65] Generated Node #0,0,1: 62:[25, 65] Operation: 76-11=65 Exploring Operation: 76+11=87, Resulting Numbers: [25, 87] Generated Node #0,0,2: 62:[25, 87] Operation: 76+11=87 Exploring Operation: 25+11=36, Resulting Numbers: [76, 36] Generated Node #0,0,3: 62:[76, 36] Operation: 25+11=36 Exploring Operation: 25-11=14, Resulting Numbers: [76, 14] Generated Node #0,0,4: 62:[76, 14] Operation: 25-11=14 Moving to Node #0,0,1 Current State: 62:[25, 65], Operations: ['69-58=11', '76-11=65'] Exploring Operation: 25*65=1625, Resulting Numbers: [1625] 1625,62 unequal: No Solution Exploring Operation: 25+65=90, Resulting Numbers: [90] 90,62 unequal: No Solution Exploring Operation: 65-25=40, Resulting Numbers: [40] 40,62 unequal: No Solution Moving to Node #0,3,4 Current State: 62:[69, 7], Operations: ['76-58=18', '25-18=7'] Exploring Operation: 69-7=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[76, 58, 69, 25], Operations: [] Exploring Operation: 76-58=18, Resulting Numbers: [69, 25, 18] Generated Node #0,3: 62:[69, 25, 18] Operation: 76-58=18 Moving to Node #0,3 Current State: 62:[69, 25, 18], Operations: ['76-58=18'] Exploring Operation: 25-18=7, Resulting Numbers: [69, 7] Generated Node #0,3,4: 62:[69, 7] Operation: 25-18=7 Moving to Node #0,3,4 Current State: 62:[69, 7], Operations: ['76-58=18', '25-18=7'] Exploring Operation: 69-7=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
0.940972
hs_5
sum_heuristic
[ 87, 48, 82, 35 ]
87
[ "82-48=34", "35-34=1", "87*1=87" ]
Current State: 87:[87, 48, 82, 35], Operations: [] Exploring Operation: 82-48=34, Resulting Numbers: [87, 35, 34] Generated Node #2: [87, 35, 34] from Operation: 82-48=34 Current State: 87:[87, 35, 34], Operations: ['82-48=34'] Exploring Operation: 35-34=1, Resulting Numbers: [87, 1] Generated Node #3: [87, 1] from Operation: 35-34=1 Current State: 87:[87, 1], Operations: ['82-48=34', '35-34=1'] Exploring Operation: 87*1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[87, 48, 82, 35], Operations: [] Exploring Operation: 48-35=13, Resulting Numbers: [87, 82, 13] Generated Node #0,0: 87:[87, 82, 13] Operation: 48-35=13 Exploring Operation: 48+35=83, Resulting Numbers: [87, 82, 83] Generated Node #0,1: 87:[87, 82, 83] Operation: 48+35=83 Exploring Operation: 82-48=34, Resulting Numbers: [87, 35, 34] Generated Node #0,2: 87:[87, 35, 34] Operation: 82-48=34 Moving to Node #0,1 Current State: 87:[87, 82, 83], Operations: ['48+35=83'] Exploring Operation: 83-82=1, Resulting Numbers: [87, 1] Generated Node #0,1,0: 87:[87, 1] Operation: 83-82=1 Exploring Operation: 87-83=4, Resulting Numbers: [82, 4] Generated Node #0,1,1: 87:[82, 4] Operation: 87-83=4 Exploring Operation: 87-82=5, Resulting Numbers: [83, 5] Generated Node #0,1,2: 87:[83, 5] Operation: 87-82=5 Moving to Node #0,2 Current State: 87:[87, 35, 34], Operations: ['82-48=34'] Exploring Operation: 35+34=69, Resulting Numbers: [87, 69] Generated Node #0,2,0: 87:[87, 69] Operation: 35+34=69 Exploring Operation: 35-34=1, Resulting Numbers: [87, 1] Generated Node #0,2,1: 87:[87, 1] Operation: 35-34=1 Exploring Operation: 87-35=52, Resulting Numbers: [34, 52] Generated Node #0,2,2: 87:[34, 52] Operation: 87-35=52 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 87:[87, 1], Operations: ['82-48=34', '35-34=1'] Exploring Operation: 87/1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[87, 48, 82, 35], Operations: [] Exploring Operation: 82-48=34, Resulting Numbers: [87, 35, 34] Generated Node #0,2: 87:[87, 35, 34] Operation: 82-48=34 Moving to Node #0,2 Current State: 87:[87, 35, 34], Operations: ['82-48=34'] Exploring Operation: 35-34=1, Resulting Numbers: [87, 1] Generated Node #0,2,1: 87:[87, 1] Operation: 35-34=1 Moving to Node #0,2,1 Current State: 87:[87, 1], Operations: ['82-48=34', '35-34=1'] Exploring Operation: 87/1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 78, 9, 59, 24 ]
53
[ "78-24=54", "54/9=6", "59-6=53" ]
Current State: 53:[78, 9, 59, 24], Operations: [] Exploring Operation: 78-24=54, Resulting Numbers: [9, 59, 54] Generated Node #2: [9, 59, 54] from Operation: 78-24=54 Current State: 53:[9, 59, 54], Operations: ['78-24=54'] Exploring Operation: 54/9=6, Resulting Numbers: [59, 6] Generated Node #3: [59, 6] from Operation: 54/9=6 Current State: 53:[59, 6], Operations: ['78-24=54', '54/9=6'] Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[78, 9, 59, 24], Operations: [] Exploring Operation: 78-9=69, Resulting Numbers: [59, 24, 69] Generated Node #0,0: 53:[59, 24, 69] Operation: 78-9=69 Exploring Operation: 78-24=54, Resulting Numbers: [9, 59, 54] Generated Node #0,1: 53:[9, 59, 54] Operation: 78-24=54 Exploring Operation: 9+24=33, Resulting Numbers: [78, 59, 33] Generated Node #0,2: 53:[78, 59, 33] Operation: 9+24=33 Moving to Node #0,0 Current State: 53:[59, 24, 69], Operations: ['78-9=69'] Exploring Operation: 59+24=83, Resulting Numbers: [69, 83] Generated Node #0,0,0: 53:[69, 83] Operation: 59+24=83 Exploring Operation: 59-24=35, Resulting Numbers: [69, 35] Generated Node #0,0,1: 53:[69, 35] Operation: 59-24=35 Exploring Operation: 69-24=45, Resulting Numbers: [59, 45] Generated Node #0,0,2: 53:[59, 45] Operation: 69-24=45 Moving to Node #0,1 Current State: 53:[9, 59, 54], Operations: ['78-24=54'] Exploring Operation: 54-9=45, Resulting Numbers: [59, 45] Generated Node #0,1,0: 53:[59, 45] Operation: 54-9=45 Exploring Operation: 59-9=50, Resulting Numbers: [54, 50] Generated Node #0,1,1: 53:[54, 50] Operation: 59-9=50 Exploring Operation: 9+59=68, Resulting Numbers: [54, 68] Generated Node #0,1,2: 53:[54, 68] Operation: 9+59=68 Moving to Node #0,2 Current State: 53:[78, 59, 33], Operations: ['9+24=33'] Exploring Operation: 59-33=26, Resulting Numbers: [78, 26] Generated Node #0,2,0: 53:[78, 26] Operation: 59-33=26 Exploring Operation: 78-33=45, Resulting Numbers: [59, 45] Generated Node #0,2,1: 53:[59, 45] Operation: 78-33=45 Exploring Operation: 78-59=19, Resulting Numbers: [33, 19] Generated Node #0,2,2: 53:[33, 19] Operation: 78-59=19 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 53:[59, 45], Operations: ['9+24=33', '78-33=45'] Exploring Operation: 59*45=2655, Resulting Numbers: [2655] 2655,53 unequal: No Solution Exploring Operation: 59+45=104, Resulting Numbers: [104] 104,53 unequal: No Solution Exploring Operation: 59-45=14, Resulting Numbers: [14] 14,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 53:[78, 26], Operations: ['9+24=33', '59-33=26'] Exploring Operation: 78-26=52, Resulting Numbers: [52] 52,53 unequal: No Solution Exploring Operation: 78+26=104, Resulting Numbers: [104] 104,53 unequal: No Solution Exploring Operation: 78/26=3, Resulting Numbers: [3] 3,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 53:[33, 19], Operations: ['9+24=33', '78-59=19'] Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,53 unequal: No Solution Exploring Operation: 33*19=627, Resulting Numbers: [627] 627,53 unequal: No Solution Exploring Operation: 33+19=52, Resulting Numbers: [52] 52,53 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: 53:[54, 50], Operations: ['78-24=54', '59-9=50'] Exploring Operation: 54+50=104, Resulting Numbers: [104] 104,53 unequal: No Solution Exploring Operation: 54-50=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 54*50=2700, Resulting Numbers: [2700] 2700,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[59, 45], Operations: ['78-9=69', '69-24=45'] Exploring Operation: 59*45=2655, Resulting Numbers: [2655] 2655,53 unequal: No Solution Exploring Operation: 59+45=104, Resulting Numbers: [104] 104,53 unequal: No Solution Exploring Operation: 59-45=14, Resulting Numbers: [14] 14,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[59, 45], Operations: ['78-24=54', '54-9=45'] Exploring Operation: 59+45=104, Resulting Numbers: [104] 104,53 unequal: No Solution Exploring Operation: 59*45=2655, Resulting Numbers: [2655] 2655,53 unequal: No Solution Exploring Operation: 59-45=14, Resulting Numbers: [14] 14,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[54, 68], Operations: ['78-24=54', '9+59=68'] Exploring Operation: 54*68=3672, Resulting Numbers: [3672] 3672,53 unequal: No Solution Exploring Operation: 68-54=14, Resulting Numbers: [14] 14,53 unequal: No Solution Exploring Operation: 54+68=122, Resulting Numbers: [122] 122,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[69, 35], Operations: ['78-9=69', '59-24=35'] Exploring Operation: 69*35=2415, Resulting Numbers: [2415] 2415,53 unequal: No Solution Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 69+35=104, Resulting Numbers: [104] 104,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[69, 83], Operations: ['78-9=69', '59+24=83'] Exploring Operation: 69+83=152, Resulting Numbers: [152] 152,53 unequal: No Solution Exploring Operation: 69*83=5727, Resulting Numbers: [5727] 5727,53 unequal: No Solution Exploring Operation: 83-69=14, Resulting Numbers: [14] 14,53 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 49, 99, 45, 5 ]
19
[ "99-49=50", "45+50=95", "95/5=19" ]
Current State: 19:[49, 99, 45, 5], Operations: [] Exploring Operation: 99-49=50, Resulting Numbers: [45, 5, 50] Generated Node #2: [45, 5, 50] from Operation: 99-49=50 Current State: 19:[45, 5, 50], Operations: ['99-49=50'] Exploring Operation: 45+50=95, Resulting Numbers: [5, 95] Generated Node #3: [5, 95] from Operation: 45+50=95 Current State: 19:[5, 95], Operations: ['99-49=50', '45+50=95'] Exploring Operation: 95/5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[49, 99, 45, 5], Operations: [] Exploring Operation: 49-45=4, Resulting Numbers: [99, 5, 4] Generated Node #0,0: 19:[99, 5, 4] Operation: 49-45=4 Exploring Operation: 99-49=50, Resulting Numbers: [45, 5, 50] Generated Node #0,1: 19:[45, 5, 50] Operation: 99-49=50 Exploring Operation: 99-45=54, Resulting Numbers: [49, 5, 54] Generated Node #0,2: 19:[49, 5, 54] Operation: 99-45=54 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[45, 5, 50], Operations: ['99-49=50'] Exploring Operation: 45/5=9, Resulting Numbers: [50, 9] Generated Node #0,1,0: 19:[50, 9] Operation: 45/5=9 Exploring Operation: 50/5=10, Resulting Numbers: [45, 10] Generated Node #0,1,1: 19:[45, 10] Operation: 50/5=10 Exploring Operation: 50-45=5, Resulting Numbers: [5, 5] Generated Node #0,1,2: 19:[5, 5] Operation: 50-45=5 Moving to Node #0,1,2 Current State: 19:[5, 5], Operations: ['99-49=50', '50-45=5'] Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,19 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[45, 10], Operations: ['99-49=50', '50/5=10'] Exploring Operation: 45*10=450, Resulting Numbers: [450] 450,19 unequal: No Solution Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,19 unequal: No Solution Exploring Operation: 45+10=55, Resulting Numbers: [55] 55,19 unequal: No Solution Moving to Node #0,1,0 Current State: 19:[50, 9], Operations: ['99-49=50', '45/5=9'] Exploring Operation: 50+9=59, Resulting Numbers: [59] 59,19 unequal: No Solution Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,19 unequal: No Solution Exploring Operation: 50*9=450, Resulting Numbers: [450] 450,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 Current State: 19:[49, 5, 54], Operations: ['99-45=54'] Exploring Operation: 54-5=49, Resulting Numbers: [49, 49] Generated Node #0,2,0: 19:[49, 49] Operation: 54-5=49 Exploring Operation: 49-5=44, Resulting Numbers: [54, 44] Generated Node #0,2,1: 19:[54, 44] Operation: 49-5=44 Exploring Operation: 54-49=5, Resulting Numbers: [5, 5] Generated Node #0,2,2: 19:[5, 5] Operation: 54-49=5 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 19:[5, 5], Operations: ['99-45=54', '54-49=5'] Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,19 unequal: No Solution Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,19 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 19:[49, 49], Operations: ['99-45=54', '54-5=49'] Exploring Operation: 49+49=98, Resulting Numbers: [98] 98,19 unequal: No Solution Exploring Operation: 49-49=0, Resulting Numbers: [0] 0,19 unequal: No Solution Exploring Operation: 49/49=1, Resulting Numbers: [1] 1,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 19:[54, 44], Operations: ['99-45=54', '49-5=44'] Exploring Operation: 54*44=2376, Resulting Numbers: [2376] 2376,19 unequal: No Solution Exploring Operation: 54-44=10, Resulting Numbers: [10] 10,19 unequal: No Solution Exploring Operation: 54+44=98, Resulting Numbers: [98] 98,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[99, 5, 4], Operations: ['49-45=4'] Exploring Operation: 99-5=94, Resulting Numbers: [4, 94] Generated Node #0,0,0: 19:[4, 94] Operation: 99-5=94 Exploring Operation: 5*4=20, Resulting Numbers: [99, 20] Generated Node #0,0,1: 19:[99, 20] Operation: 5*4=20 Exploring Operation: 99-4=95, Resulting Numbers: [5, 95] Generated Node #0,0,2: 19:[5, 95] Operation: 99-4=95 Moving to Node #0,0,1 Current State: 19:[99, 20], Operations: ['49-45=4', '5*4=20'] Exploring Operation: 99+20=119, Resulting Numbers: [119] 119,19 unequal: No Solution Exploring Operation: 99-20=79, Resulting Numbers: [79] 79,19 unequal: No Solution Exploring Operation: 99*20=1980, Resulting Numbers: [1980] 1980,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[4, 94], Operations: ['49-45=4', '99-5=94'] Exploring Operation: 4*94=376, Resulting Numbers: [376] 376,19 unequal: No Solution Exploring Operation: 4+94=98, Resulting Numbers: [98] 98,19 unequal: No Solution Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[5, 95], Operations: ['49-45=4', '99-4=95'] Exploring Operation: 95-5=90, Resulting Numbers: [90] 90,19 unequal: No Solution Exploring Operation: 95/5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[49, 99, 45, 5], Operations: [] Exploring Operation: 49-45=4, Resulting Numbers: [99, 5, 4] Generated Node #0,0: 19:[99, 5, 4] Operation: 49-45=4 Moving to Node #0,0 Current State: 19:[99, 5, 4], Operations: ['49-45=4'] Exploring Operation: 99-4=95, Resulting Numbers: [5, 95] Generated Node #0,0,2: 19:[5, 95] Operation: 99-4=95 Moving to Node #0,0,2 Current State: 19:[5, 95], Operations: ['49-45=4', '99-4=95'] Exploring Operation: 95/5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_3
sum_heuristic
[ 92, 98, 20, 25 ]
30
[ "98-92=6", "25-20=5", "6*5=30" ]
Current State: 30:[92, 98, 20, 25], Operations: [] Exploring Operation: 98-92=6, Resulting Numbers: [20, 25, 6] Generated Node #2: [20, 25, 6] from Operation: 98-92=6 Current State: 30:[20, 25, 6], Operations: ['98-92=6'] Exploring Operation: 25-20=5, Resulting Numbers: [6, 5] Generated Node #3: [6, 5] from Operation: 25-20=5 Current State: 30:[6, 5], Operations: ['98-92=6', '25-20=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[92, 98, 20, 25], Operations: [] Exploring Operation: 98-92=6, Resulting Numbers: [20, 25, 6] Generated Node #0,0: 30:[20, 25, 6] Operation: 98-92=6 Moving to Node #0,0 Current State: 30:[20, 25, 6], Operations: ['98-92=6'] Exploring Operation: 25-20=5, Resulting Numbers: [6, 5] Generated Node #0,0,0: 30:[6, 5] Operation: 25-20=5 Moving to Node #0,0,0 Current State: 30:[6, 5], Operations: ['98-92=6', '25-20=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[92, 98, 20, 25], Operations: [] Exploring Operation: 98-92=6, Resulting Numbers: [20, 25, 6] Generated Node #0,0: 30:[20, 25, 6] Operation: 98-92=6 Moving to Node #0,0 Current State: 30:[20, 25, 6], Operations: ['98-92=6'] Exploring Operation: 25-20=5, Resulting Numbers: [6, 5] Generated Node #0,0,0: 30:[6, 5] Operation: 25-20=5 Moving to Node #0,0,0 Current State: 30:[6, 5], Operations: ['98-92=6', '25-20=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 62, 10, 27, 42 ]
93
[ "42-27=15", "62*15=930", "930/10=93" ]
Current State: 93:[62, 10, 27, 42], Operations: [] Exploring Operation: 42-27=15, Resulting Numbers: [62, 10, 15] Generated Node #2: [62, 10, 15] from Operation: 42-27=15 Current State: 93:[62, 10, 15], Operations: ['42-27=15'] Exploring Operation: 62*15=930, Resulting Numbers: [10, 930] Generated Node #3: [10, 930] from Operation: 62*15=930 Current State: 93:[10, 930], Operations: ['42-27=15', '62*15=930'] Exploring Operation: 930/10=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[62, 10, 27, 42], Operations: [] Exploring Operation: 62-42=20, Resulting Numbers: [10, 27, 20] Generated Node #0,0: 93:[10, 27, 20] Operation: 62-42=20 Exploring Operation: 62+27=89, Resulting Numbers: [10, 42, 89] Generated Node #0,1: 93:[10, 42, 89] Operation: 62+27=89 Exploring Operation: 62-27=35, Resulting Numbers: [10, 42, 35] Generated Node #0,2: 93:[10, 42, 35] Operation: 62-27=35 Exploring Operation: 62+10=72, Resulting Numbers: [27, 42, 72] Generated Node #0,3: 93:[27, 42, 72] Operation: 62+10=72 Exploring Operation: 62+42=104, Resulting Numbers: [10, 27, 104] Generated Node #0,4: 93:[10, 27, 104] Operation: 62+42=104 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[10, 27, 20], Operations: ['62-42=20'] Exploring Operation: 10+27=37, Resulting Numbers: [20, 37] Generated Node #0,0,0: 93:[20, 37] Operation: 10+27=37 Exploring Operation: 20/10=2, Resulting Numbers: [27, 2] Generated Node #0,0,1: 93:[27, 2] Operation: 20/10=2 Exploring Operation: 10+20=30, Resulting Numbers: [27, 30] Generated Node #0,0,2: 93:[27, 30] Operation: 10+20=30 Exploring Operation: 27-20=7, Resulting Numbers: [10, 7] Generated Node #0,0,3: 93:[10, 7] Operation: 27-20=7 Exploring Operation: 20-10=10, Resulting Numbers: [27, 10] Generated Node #0,0,4: 93:[27, 10] Operation: 20-10=10 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 93:[27, 2], Operations: ['62-42=20', '20/10=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,93 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,93 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,93 unequal: No Solution No 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: 93:[27, 30], Operations: ['62-42=20', '10+20=30'] Exploring Operation: 30-27=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 27+30=57, Resulting Numbers: [57] 57,93 unequal: No Solution Exploring Operation: 27*30=810, Resulting Numbers: [810] 810,93 unequal: No Solution No 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: 93:[10, 7], Operations: ['62-42=20', '27-20=7'] Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,93 unequal: No Solution Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,93 unequal: No Solution No 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: 93:[27, 10], Operations: ['62-42=20', '20-10=10'] Exploring Operation: 27*10=270, Resulting Numbers: [270] 270,93 unequal: No Solution Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 27+10=37, Resulting Numbers: [37] 37,93 unequal: No Solution No 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: 93:[20, 37], Operations: ['62-42=20', '10+27=37'] Exploring Operation: 20+37=57, Resulting Numbers: [57] 57,93 unequal: No Solution Exploring Operation: 20*37=740, Resulting Numbers: [740] 740,93 unequal: No Solution Exploring Operation: 37-20=17, Resulting Numbers: [17] 17,93 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: 93:[10, 42, 89], Operations: ['62+27=89'] Exploring Operation: 89-10=79, Resulting Numbers: [42, 79] Generated Node #0,1,0: 93:[42, 79] Operation: 89-10=79 Exploring Operation: 89-42=47, Resulting Numbers: [10, 47] Generated Node #0,1,1: 93:[10, 47] Operation: 89-42=47 Exploring Operation: 10+89=99, Resulting Numbers: [42, 99] Generated Node #0,1,2: 93:[42, 99] Operation: 10+89=99 Exploring Operation: 10+42=52, Resulting Numbers: [89, 52] Generated Node #0,1,3: 93:[89, 52] Operation: 10+42=52 Exploring Operation: 42-10=32, Resulting Numbers: [89, 32] Generated Node #0,1,4: 93:[89, 32] Operation: 42-10=32 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 93:[89, 32], Operations: ['62+27=89', '42-10=32'] Exploring Operation: 89+32=121, Resulting Numbers: [121] 121,93 unequal: No Solution Exploring Operation: 89*32=2848, Resulting Numbers: [2848] 2848,93 unequal: No Solution Exploring Operation: 89-32=57, Resulting Numbers: [57] 57,93 unequal: No Solution No 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: 93:[42, 99], Operations: ['62+27=89', '10+89=99'] Exploring Operation: 99-42=57, Resulting Numbers: [57] 57,93 unequal: No Solution Exploring Operation: 42*99=4158, Resulting Numbers: [4158] 4158,93 unequal: No Solution Exploring Operation: 42+99=141, Resulting Numbers: [141] 141,93 unequal: No Solution No 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: 93:[10, 47], Operations: ['62+27=89', '89-42=47'] Exploring Operation: 10+47=57, Resulting Numbers: [57] 57,93 unequal: No Solution Exploring Operation: 10*47=470, Resulting Numbers: [470] 470,93 unequal: No Solution Exploring Operation: 47-10=37, Resulting Numbers: [37] 37,93 unequal: No Solution No 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: 93:[42, 79], Operations: ['62+27=89', '89-10=79'] Exploring Operation: 42+79=121, Resulting Numbers: [121] 121,93 unequal: No Solution Exploring Operation: 79-42=37, Resulting Numbers: [37] 37,93 unequal: No Solution Exploring Operation: 42*79=3318, Resulting Numbers: [3318] 3318,93 unequal: No Solution No 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: 93:[89, 52], Operations: ['62+27=89', '10+42=52'] Exploring Operation: 89*52=4628, Resulting Numbers: [4628] 4628,93 unequal: No Solution Exploring Operation: 89+52=141, Resulting Numbers: [141] 141,93 unequal: No Solution Exploring Operation: 89-52=37, Resulting Numbers: [37] 37,93 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: 93:[10, 42, 35], Operations: ['62-27=35'] Exploring Operation: 35-10=25, Resulting Numbers: [42, 25] Generated Node #0,2,0: 93:[42, 25] Operation: 35-10=25 Exploring Operation: 42+35=77, Resulting Numbers: [10, 77] Generated Node #0,2,1: 93:[10, 77] Operation: 42+35=77 Exploring Operation: 10+42=52, Resulting Numbers: [35, 52] Generated Node #0,2,2: 93:[35, 52] Operation: 10+42=52 Exploring Operation: 42-10=32, Resulting Numbers: [35, 32] Generated Node #0,2,3: 93:[35, 32] Operation: 42-10=32 Exploring Operation: 42-35=7, Resulting Numbers: [10, 7] Generated Node #0,2,4: 93:[10, 7] Operation: 42-35=7 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 93:[35, 32], Operations: ['62-27=35', '42-10=32'] Exploring Operation: 35+32=67, Resulting Numbers: [67] 67,93 unequal: No Solution Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 35*32=1120, Resulting Numbers: [1120] 1120,93 unequal: No Solution No 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: 93:[10, 7], Operations: ['62-27=35', '42-35=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,93 unequal: No Solution Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,93 unequal: No Solution No 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: 93:[42, 25], Operations: ['62-27=35', '35-10=25'] Exploring Operation: 42*25=1050, Resulting Numbers: [1050] 1050,93 unequal: No Solution Exploring Operation: 42-25=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 42+25=67, Resulting Numbers: [67] 67,93 unequal: No Solution No 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: 93:[10, 77], Operations: ['62-27=35', '42+35=77'] Exploring Operation: 10*77=770, Resulting Numbers: [770] 770,93 unequal: No Solution Exploring Operation: 10+77=87, Resulting Numbers: [87] 87,93 unequal: No Solution Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,93 unequal: No Solution No 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: 93:[35, 52], Operations: ['62-27=35', '10+42=52'] Exploring Operation: 35*52=1820, Resulting Numbers: [1820] 1820,93 unequal: No Solution Exploring Operation: 52-35=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 35+52=87, Resulting Numbers: [87] 87,93 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: 93:[10, 27, 104], Operations: ['62+42=104'] Exploring Operation: 10+104=114, Resulting Numbers: [27, 114] Generated Node #0,4,0: 93:[27, 114] Operation: 10+104=114 Exploring Operation: 27-10=17, Resulting Numbers: [104, 17] Generated Node #0,4,1: 93:[104, 17] Operation: 27-10=17 Exploring Operation: 104-10=94, Resulting Numbers: [27, 94] Generated Node #0,4,2: 93:[27, 94] Operation: 104-10=94 Exploring Operation: 104-27=77, Resulting Numbers: [10, 77] Generated Node #0,4,3: 93:[10, 77] Operation: 104-27=77 Exploring Operation: 10+27=37, Resulting Numbers: [104, 37] Generated Node #0,4,4: 93:[104, 37] Operation: 10+27=37 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 93:[27, 94], Operations: ['62+42=104', '104-10=94'] Exploring Operation: 27*94=2538, Resulting Numbers: [2538] 2538,93 unequal: No Solution Exploring Operation: 27+94=121, Resulting Numbers: [121] 121,93 unequal: No Solution Exploring Operation: 94-27=67, Resulting Numbers: [67] 67,93 unequal: No Solution No 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: 93:[104, 37], Operations: ['62+42=104', '10+27=37'] Exploring Operation: 104+37=141, Resulting Numbers: [141] 141,93 unequal: No Solution Exploring Operation: 104-37=67, Resulting Numbers: [67] 67,93 unequal: No Solution Exploring Operation: 104*37=3848, Resulting Numbers: [3848] 3848,93 unequal: No Solution No 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: 93:[10, 77], Operations: ['62+42=104', '104-27=77'] Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,93 unequal: No Solution Exploring Operation: 10+77=87, Resulting Numbers: [87] 87,93 unequal: No Solution Exploring Operation: 10*77=770, Resulting Numbers: [770] 770,93 unequal: No Solution No 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: 93:[27, 114], Operations: ['62+42=104', '10+104=114'] Exploring Operation: 114-27=87, Resulting Numbers: [87] 87,93 unequal: No Solution Exploring Operation: 27+114=141, Resulting Numbers: [141] 141,93 unequal: No Solution Exploring Operation: 27*114=3078, Resulting Numbers: [3078] 3078,93 unequal: No Solution No 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: 93:[104, 17], Operations: ['62+42=104', '27-10=17'] Exploring Operation: 104*17=1768, Resulting Numbers: [1768] 1768,93 unequal: No Solution Exploring Operation: 104-17=87, Resulting Numbers: [87] 87,93 unequal: No Solution Exploring Operation: 104+17=121, Resulting Numbers: [121] 121,93 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: 93:[27, 42, 72], Operations: ['62+10=72'] Exploring Operation: 27+72=99, Resulting Numbers: [42, 99] Generated Node #0,3,0: 93:[42, 99] Operation: 27+72=99 Exploring Operation: 72-42=30, Resulting Numbers: [27, 30] Generated Node #0,3,1: 93:[27, 30] Operation: 72-42=30 Exploring Operation: 72-27=45, Resulting Numbers: [42, 45] Generated Node #0,3,2: 93:[42, 45] Operation: 72-27=45 Exploring Operation: 42-27=15, Resulting Numbers: [72, 15] Generated Node #0,3,3: 93:[72, 15] Operation: 42-27=15 Exploring Operation: 42+72=114, Resulting Numbers: [27, 114] Generated Node #0,3,4: 93:[27, 114] Operation: 42+72=114 Moving to Node #0,3,1 Current State: 93:[27, 30], Operations: ['62+10=72', '72-42=30'] Exploring Operation: 27+30=57, Resulting Numbers: [57] 57,93 unequal: No Solution Exploring Operation: 27*30=810, Resulting Numbers: [810] 810,93 unequal: No Solution Exploring Operation: 30-27=3, Resulting Numbers: [3] 3,93 unequal: No Solution Moving to Node #0,3,0 Current State: 93:[42, 99], Operations: ['62+10=72', '27+72=99'] Exploring Operation: 99-42=57, Resulting Numbers: [57] 57,93 unequal: No Solution Exploring Operation: 42+99=141, Resulting Numbers: [141] 141,93 unequal: No Solution Exploring Operation: 42*99=4158, Resulting Numbers: [4158] 4158,93 unequal: No Solution Moving to Node #0,3,2 Current State: 93:[42, 45], Operations: ['62+10=72', '72-27=45'] Exploring Operation: 45-42=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 42+45=87, Resulting Numbers: [87] 87,93 unequal: No Solution Exploring Operation: 42*45=1890, Resulting Numbers: [1890] 1890,93 unequal: No Solution Moving to Node #0,3,4 Current State: 93:[27, 114], Operations: ['62+10=72', '42+72=114'] Exploring Operation: 27+114=141, Resulting Numbers: [141] 141,93 unequal: No Solution Exploring Operation: 114-27=87, Resulting Numbers: [87] 87,93 unequal: No Solution Exploring Operation: 27*114=3078, Resulting Numbers: [3078] 3078,93 unequal: No Solution Moving to Node #0,3,3 Current State: 93:[72, 15], Operations: ['62+10=72', '42-27=15'] Exploring Operation: 72*15=1080, Resulting Numbers: [1080] 1080,93 unequal: No Solution Exploring Operation: 72-15=57, Resulting Numbers: [57] 57,93 unequal: No Solution Exploring Operation: 72+15=87, Resulting Numbers: [87] 87,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 26, 63, 67, 65 ]
76
[ "67-65=2", "26/2=13", "63+13=76" ]
Current State: 76:[26, 63, 67, 65], Operations: [] Exploring Operation: 67-65=2, Resulting Numbers: [26, 63, 2] Generated Node #2: [26, 63, 2] from Operation: 67-65=2 Current State: 76:[26, 63, 2], Operations: ['67-65=2'] Exploring Operation: 26/2=13, Resulting Numbers: [63, 13] Generated Node #3: [63, 13] from Operation: 26/2=13 Current State: 76:[63, 13], Operations: ['67-65=2', '26/2=13'] Exploring Operation: 63+13=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[26, 63, 67, 65], Operations: [] Exploring Operation: 63-26=37, Resulting Numbers: [67, 65, 37] Generated Node #0,0: 76:[67, 65, 37] Operation: 63-26=37 Exploring Operation: 67-65=2, Resulting Numbers: [26, 63, 2] Generated Node #0,1: 76:[26, 63, 2] Operation: 67-65=2 Exploring Operation: 65-63=2, Resulting Numbers: [26, 67, 2] Generated Node #0,2: 76:[26, 67, 2] Operation: 65-63=2 Exploring Operation: 67-63=4, Resulting Numbers: [26, 65, 4] Generated Node #0,3: 76:[26, 65, 4] Operation: 67-63=4 Moving to Node #0,2 Current State: 76:[26, 67, 2], Operations: ['65-63=2'] Exploring Operation: 67-26=41, Resulting Numbers: [2, 41] Generated Node #0,2,0: 76:[2, 41] Operation: 67-26=41 Exploring Operation: 67+2=69, Resulting Numbers: [26, 69] Generated Node #0,2,1: 76:[26, 69] Operation: 67+2=69 Exploring Operation: 26-2=24, Resulting Numbers: [67, 24] Generated Node #0,2,2: 76:[67, 24] Operation: 26-2=24 Exploring Operation: 26/2=13, Resulting Numbers: [67, 13] Generated Node #0,2,3: 76:[67, 13] Operation: 26/2=13 Moving to Node #0,3 Current State: 76:[26, 65, 4], Operations: ['67-63=4'] Exploring Operation: 65-26=39, Resulting Numbers: [4, 39] Generated Node #0,3,0: 76:[4, 39] Operation: 65-26=39 Exploring Operation: 26-4=22, Resulting Numbers: [65, 22] Generated Node #0,3,1: 76:[65, 22] Operation: 26-4=22 Exploring Operation: 65+4=69, Resulting Numbers: [26, 69] Generated Node #0,3,2: 76:[26, 69] Operation: 65+4=69 Exploring Operation: 26+65=91, Resulting Numbers: [4, 91] Generated Node #0,3,3: 76:[4, 91] Operation: 26+65=91 Moving to Node #0,1 Current State: 76:[26, 63, 2], Operations: ['67-65=2'] Exploring Operation: 63+2=65, Resulting Numbers: [26, 65] Generated Node #0,1,0: 76:[26, 65] Operation: 63+2=65 Exploring Operation: 26-2=24, Resulting Numbers: [63, 24] Generated Node #0,1,1: 76:[63, 24] Operation: 26-2=24 Exploring Operation: 63-26=37, Resulting Numbers: [2, 37] Generated Node #0,1,2: 76:[2, 37] Operation: 63-26=37 Exploring Operation: 26+63=89, Resulting Numbers: [2, 89] Generated Node #0,1,3: 76:[2, 89] Operation: 26+63=89 Moving to Node #0,0 Current State: 76:[67, 65, 37], Operations: ['63-26=37'] Exploring Operation: 65+37=102, Resulting Numbers: [67, 102] Generated Node #0,0,0: 76:[67, 102] Operation: 65+37=102 Exploring Operation: 67-37=30, Resulting Numbers: [65, 30] Generated Node #0,0,1: 76:[65, 30] Operation: 67-37=30 Exploring Operation: 67-65=2, Resulting Numbers: [37, 2] Generated Node #0,0,2: 76:[37, 2] Operation: 67-65=2 Exploring Operation: 65-37=28, Resulting Numbers: [67, 28] Generated Node #0,0,3: 76:[67, 28] Operation: 65-37=28 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 76:[37, 2], Operations: ['63-26=37', '67-65=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,76 unequal: No Solution Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 76:[67, 28], Operations: ['63-26=37', '65-37=28'] Exploring Operation: 67+28=95, Resulting Numbers: [95] 95,76 unequal: No Solution Exploring Operation: 67*28=1876, Resulting Numbers: [1876] 1876,76 unequal: No Solution Exploring Operation: 67-28=39, Resulting Numbers: [39] 39,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[65, 30], Operations: ['63-26=37', '67-37=30'] Exploring Operation: 65*30=1950, Resulting Numbers: [1950] 1950,76 unequal: No Solution Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,76 unequal: No Solution Exploring Operation: 65+30=95, Resulting Numbers: [95] 95,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[67, 102], Operations: ['63-26=37', '65+37=102'] Exploring Operation: 67*102=6834, Resulting Numbers: [6834] 6834,76 unequal: No Solution Exploring Operation: 102-67=35, Resulting Numbers: [35] 35,76 unequal: No Solution Exploring Operation: 67+102=169, Resulting Numbers: [169] 169,76 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: 76:[4, 39], Operations: ['67-63=4', '65-26=39'] Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,76 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,76 unequal: No Solution Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[2, 37], Operations: ['67-65=2', '63-26=37'] Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,76 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,76 unequal: No Solution Moving to Node #0,2,0 Current State: 76:[2, 41], Operations: ['65-63=2', '67-26=41'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,76 unequal: No Solution Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[2, 89], Operations: ['67-65=2', '26+63=89'] Exploring Operation: 2*89=178, Resulting Numbers: [178] 178,76 unequal: No Solution Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,76 unequal: No Solution Exploring Operation: 2+89=91, Resulting Numbers: [91] 91,76 unequal: No Solution Moving to Node #0,2,2 Current State: 76:[67, 24], Operations: ['65-63=2', '26-2=24'] Exploring Operation: 67+24=91, Resulting Numbers: [91] 91,76 unequal: No Solution Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,76 unequal: No Solution Exploring Operation: 67*24=1608, Resulting Numbers: [1608] 1608,76 unequal: No Solution Moving to Node #0,3,2 Current State: 76:[26, 69], Operations: ['67-63=4', '65+4=69'] Exploring Operation: 69-26=43, Resulting Numbers: [43] 43,76 unequal: No Solution Exploring Operation: 26*69=1794, Resulting Numbers: [1794] 1794,76 unequal: No Solution Exploring Operation: 26+69=95, Resulting Numbers: [95] 95,76 unequal: No Solution Moving to Node #0,3,1 Current State: 76:[65, 22], Operations: ['67-63=4', '26-4=22'] Exploring Operation: 65-22=43, Resulting Numbers: [43] 43,76 unequal: No Solution Exploring Operation: 65+22=87, Resulting Numbers: [87] 87,76 unequal: No Solution Exploring Operation: 65*22=1430, Resulting Numbers: [1430] 1430,76 unequal: No Solution Moving to Node #0,2,1 Current State: 76:[26, 69], Operations: ['65-63=2', '67+2=69'] Exploring Operation: 26+69=95, Resulting Numbers: [95] 95,76 unequal: No Solution Exploring Operation: 26*69=1794, Resulting Numbers: [1794] 1794,76 unequal: No Solution Exploring Operation: 69-26=43, Resulting Numbers: [43] 43,76 unequal: No Solution Moving to Node #0,3,3 Current State: 76:[4, 91], Operations: ['67-63=4', '26+65=91'] Exploring Operation: 4*91=364, Resulting Numbers: [364] 364,76 unequal: No Solution Exploring Operation: 91-4=87, Resulting Numbers: [87] 87,76 unequal: No Solution Exploring Operation: 4+91=95, Resulting Numbers: [95] 95,76 unequal: No Solution Moving to Node #0,2,3 Current State: 76:[67, 13], Operations: ['65-63=2', '26/2=13'] Exploring Operation: 67-13=54, Resulting Numbers: [54] 54,76 unequal: No Solution Exploring Operation: 67+13=80, Resulting Numbers: [80] 80,76 unequal: No Solution Exploring Operation: 67*13=871, Resulting Numbers: [871] 871,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[63, 24], Operations: ['67-65=2', '26-2=24'] Exploring Operation: 63-24=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 63*24=1512, Resulting Numbers: [1512] 1512,76 unequal: No Solution Exploring Operation: 63+24=87, Resulting Numbers: [87] 87,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[26, 65], Operations: ['67-65=2', '63+2=65'] Exploring Operation: 65-26=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 26*65=1690, Resulting Numbers: [1690] 1690,76 unequal: No Solution Exploring Operation: 26+65=91, Resulting Numbers: [91] 91,76 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 49, 48, 16, 5 ]
20
[ "49-48=1", "16+5=21", "21-1=20" ]
Current State: 20:[49, 48, 16, 5], Operations: [] Exploring Operation: 49-48=1, Resulting Numbers: [16, 5, 1] Generated Node #2: [16, 5, 1] from Operation: 49-48=1 Current State: 20:[16, 5, 1], Operations: ['49-48=1'] Exploring Operation: 16+5=21, Resulting Numbers: [1, 21] Generated Node #3: [1, 21] from Operation: 16+5=21 Current State: 20:[1, 21], Operations: ['49-48=1', '16+5=21'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[49, 48, 16, 5], Operations: [] Exploring Operation: 48-16=32, Resulting Numbers: [49, 5, 32] Generated Node #0,0: 20:[49, 5, 32] Operation: 48-16=32 Exploring Operation: 49-48=1, Resulting Numbers: [16, 5, 1] Generated Node #0,1: 20:[16, 5, 1] Operation: 49-48=1 Exploring Operation: 49-16=33, Resulting Numbers: [48, 5, 33] Generated Node #0,2: 20:[48, 5, 33] Operation: 49-16=33 Exploring Operation: 49-5=44, Resulting Numbers: [48, 16, 44] Generated Node #0,3: 20:[48, 16, 44] Operation: 49-5=44 Exploring Operation: 48/16=3, Resulting Numbers: [49, 5, 3] Generated Node #0,4: 20:[49, 5, 3] Operation: 48/16=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[16, 5, 1], Operations: ['49-48=1'] Exploring Operation: 16/1=16, Resulting Numbers: [5, 16] Generated Node #0,1,0: 20:[5, 16] Operation: 16/1=16 Exploring Operation: 16-5=11, Resulting Numbers: [1, 11] Generated Node #0,1,1: 20:[1, 11] Operation: 16-5=11 Exploring Operation: 16+5=21, Resulting Numbers: [1, 21] Generated Node #0,1,2: 20:[1, 21] Operation: 16+5=21 Exploring Operation: 16*1=16, Resulting Numbers: [5, 16] Generated Node #0,1,3: 20:[5, 16] Operation: 16*1=16 Exploring Operation: 16+1=17, Resulting Numbers: [5, 17] Generated Node #0,1,4: 20:[5, 17] Operation: 16+1=17 Moving to Node #0,1,1 Current State: 20:[1, 11], Operations: ['49-48=1', '16-5=11'] Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,20 unequal: No Solution Exploring Operation: 1+11=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,20 unequal: No Solution Moving to Node #0,1,2 Current State: 20:[1, 21], Operations: ['49-48=1', '16+5=21'] Exploring Operation: 1+21=22, Resulting Numbers: [22] 22,20 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,20 unequal: No Solution Exploring Operation: 1*21=21, Resulting Numbers: [21] 21,20 unequal: No Solution Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[49, 48, 16, 5], Operations: [] Exploring Operation: 49-48=1, Resulting Numbers: [16, 5, 1] Generated Node #0,1: 20:[16, 5, 1] Operation: 49-48=1 Moving to Node #0,1 Current State: 20:[16, 5, 1], Operations: ['49-48=1'] Exploring Operation: 16+5=21, Resulting Numbers: [1, 21] Generated Node #0,1,2: 20:[1, 21] Operation: 16+5=21 Moving to Node #0,1,2 Current State: 20:[1, 21], Operations: ['49-48=1', '16+5=21'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 73, 14, 59, 77 ]
49
[ "73+14=87", "59+77=136", "136-87=49" ]
Current State: 49:[73, 14, 59, 77], Operations: [] Exploring Operation: 73+14=87, Resulting Numbers: [59, 77, 87] Generated Node #2: [59, 77, 87] from Operation: 73+14=87 Current State: 49:[59, 77, 87], Operations: ['73+14=87'] Exploring Operation: 59+77=136, Resulting Numbers: [87, 136] Generated Node #3: [87, 136] from Operation: 59+77=136 Current State: 49:[87, 136], Operations: ['73+14=87', '59+77=136'] Exploring Operation: 136-87=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[73, 14, 59, 77], Operations: [] Exploring Operation: 77-59=18, Resulting Numbers: [73, 14, 18] Generated Node #0,0: 49:[73, 14, 18] Operation: 77-59=18 Exploring Operation: 73-14=59, Resulting Numbers: [59, 77, 59] Generated Node #0,1: 49:[59, 77, 59] Operation: 73-14=59 Exploring Operation: 73-59=14, Resulting Numbers: [14, 77, 14] Generated Node #0,2: 49:[14, 77, 14] Operation: 73-59=14 Exploring Operation: 77-73=4, Resulting Numbers: [14, 59, 4] Generated Node #0,3: 49:[14, 59, 4] Operation: 77-73=4 Exploring Operation: 77-14=63, Resulting Numbers: [73, 59, 63] Generated Node #0,4: 49:[73, 59, 63] Operation: 77-14=63 Moving to Node #0,3 Current State: 49:[14, 59, 4], Operations: ['77-73=4'] Exploring Operation: 14+4=18, Resulting Numbers: [59, 18] Generated Node #0,3,0: 49:[59, 18] Operation: 14+4=18 Exploring Operation: 59-4=55, Resulting Numbers: [14, 55] Generated Node #0,3,1: 49:[14, 55] Operation: 59-4=55 Exploring Operation: 14*4=56, Resulting Numbers: [59, 56] Generated Node #0,3,2: 49:[59, 56] Operation: 14*4=56 Exploring Operation: 59-14=45, Resulting Numbers: [4, 45] Generated Node #0,3,3: 49:[4, 45] Operation: 59-14=45 Exploring Operation: 14-4=10, Resulting Numbers: [59, 10] Generated Node #0,3,4: 49:[59, 10] Operation: 14-4=10 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 49:[4, 45], Operations: ['77-73=4', '59-14=45'] Exploring Operation: 4+45=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[73, 14, 59, 77], Operations: [] Exploring Operation: 77-73=4, Resulting Numbers: [14, 59, 4] Generated Node #0,3: 49:[14, 59, 4] Operation: 77-73=4 Moving to Node #0,3 Current State: 49:[14, 59, 4], Operations: ['77-73=4'] Exploring Operation: 59-14=45, Resulting Numbers: [4, 45] Generated Node #0,3,3: 49:[4, 45] Operation: 59-14=45 Moving to Node #0,3,3 Current State: 49:[4, 45], Operations: ['77-73=4', '59-14=45'] Exploring Operation: 4+45=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 80, 40, 4, 2 ]
98
[ "40-4=36", "36/2=18", "80+18=98" ]
Current State: 98:[80, 40, 4, 2], Operations: [] Exploring Operation: 40-4=36, Resulting Numbers: [80, 2, 36] Generated Node #2: [80, 2, 36] from Operation: 40-4=36 Current State: 98:[80, 2, 36], Operations: ['40-4=36'] Exploring Operation: 36/2=18, Resulting Numbers: [80, 18] Generated Node #3: [80, 18] from Operation: 36/2=18 Current State: 98:[80, 18], Operations: ['40-4=36', '36/2=18'] Exploring Operation: 80+18=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[80, 40, 4, 2], Operations: [] Exploring Operation: 80/40=2, Resulting Numbers: [4, 2, 2] Generated Node #0,0: 98:[4, 2, 2] Operation: 80/40=2 Exploring Operation: 80-40=40, Resulting Numbers: [4, 2, 40] Generated Node #0,1: 98:[4, 2, 40] Operation: 80-40=40 Moving to Node #0,0 Current State: 98:[4, 2, 2], Operations: ['80/40=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 98:[2, 2] Operation: 4/2=2 Exploring Operation: 4-2=2, Resulting Numbers: [2, 2] Generated Node #0,0,1: 98:[2, 2] Operation: 4-2=2 Moving to Node #0,1 Current State: 98:[4, 2, 40], Operations: ['80-40=40'] Exploring Operation: 4+40=44, Resulting Numbers: [2, 44] Generated Node #0,1,0: 98:[2, 44] Operation: 4+40=44 Exploring Operation: 40/4=10, Resulting Numbers: [2, 10] Generated Node #0,1,1: 98:[2, 10] Operation: 40/4=10 Moving to Node #0,0,0 Current State: 98:[2, 2], Operations: ['80/40=2', '4/2=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,98 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[2, 2], Operations: ['80/40=2', '4-2=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,98 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[2, 10], Operations: ['80-40=40', '40/4=10'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,98 unequal: No Solution Moving to Node #0,1,0 Current State: 98:[2, 44], Operations: ['80-40=40', '4+40=44'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,98 unequal: No Solution Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,98 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 86, 95, 20, 10 ]
39
[ "95-86=9", "20+10=30", "9+30=39" ]
Current State: 39:[86, 95, 20, 10], Operations: [] Exploring Operation: 95-86=9, Resulting Numbers: [20, 10, 9] Generated Node #2: [20, 10, 9] from Operation: 95-86=9 Current State: 39:[20, 10, 9], Operations: ['95-86=9'] Exploring Operation: 20+10=30, Resulting Numbers: [9, 30] Generated Node #3: [9, 30] from Operation: 20+10=30 Current State: 39:[9, 30], Operations: ['95-86=9', '20+10=30'] Exploring Operation: 9+30=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[86, 95, 20, 10], Operations: [] Exploring Operation: 86-10=76, Resulting Numbers: [95, 20, 76] Generated Node #0,0: 39:[95, 20, 76] Operation: 86-10=76 Exploring Operation: 95-20=75, Resulting Numbers: [86, 10, 75] Generated Node #0,1: 39:[86, 10, 75] Operation: 95-20=75 Exploring Operation: 95-86=9, Resulting Numbers: [20, 10, 9] Generated Node #0,2: 39:[20, 10, 9] Operation: 95-86=9 Exploring Operation: 95-10=85, Resulting Numbers: [86, 20, 85] Generated Node #0,3: 39:[86, 20, 85] Operation: 95-10=85 Exploring Operation: 86-20=66, Resulting Numbers: [95, 10, 66] Generated Node #0,4: 39:[95, 10, 66] Operation: 86-20=66 Moving to Node #0,2 Current State: 39:[20, 10, 9], Operations: ['95-86=9'] Exploring Operation: 20/10=2, Resulting Numbers: [9, 2] Generated Node #0,2,0: 39:[9, 2] Operation: 20/10=2 Exploring Operation: 10-9=1, Resulting Numbers: [20, 1] Generated Node #0,2,1: 39:[20, 1] Operation: 10-9=1 Exploring Operation: 20-10=10, Resulting Numbers: [9, 10] Generated Node #0,2,2: 39:[9, 10] Operation: 20-10=10 Exploring Operation: 20+10=30, Resulting Numbers: [9, 30] Generated Node #0,2,3: 39:[9, 30] Operation: 20+10=30 Exploring Operation: 20-9=11, Resulting Numbers: [10, 11] Generated Node #0,2,4: 39:[10, 11] Operation: 20-9=11 Moving to Node #0,4 Current State: 39:[95, 10, 66], Operations: ['86-20=66'] Exploring Operation: 66-10=56, Resulting Numbers: [95, 56] Generated Node #0,4,0: 39:[95, 56] Operation: 66-10=56 Exploring Operation: 95-66=29, Resulting Numbers: [10, 29] Generated Node #0,4,1: 39:[10, 29] Operation: 95-66=29 Exploring Operation: 95-10=85, Resulting Numbers: [66, 85] Generated Node #0,4,2: 39:[66, 85] Operation: 95-10=85 Exploring Operation: 10+66=76, Resulting Numbers: [95, 76] Generated Node #0,4,3: 39:[95, 76] Operation: 10+66=76 Exploring Operation: 95+10=105, Resulting Numbers: [66, 105] Generated Node #0,4,4: 39:[66, 105] Operation: 95+10=105 Moving to Node #0,1 Current State: 39:[86, 10, 75], Operations: ['95-20=75'] Exploring Operation: 86-75=11, Resulting Numbers: [10, 11] Generated Node #0,1,0: 39:[10, 11] Operation: 86-75=11 Exploring Operation: 86-10=76, Resulting Numbers: [75, 76] Generated Node #0,1,1: 39:[75, 76] Operation: 86-10=76 Exploring Operation: 86+10=96, Resulting Numbers: [75, 96] Generated Node #0,1,2: 39:[75, 96] Operation: 86+10=96 Exploring Operation: 75-10=65, Resulting Numbers: [86, 65] Generated Node #0,1,3: 39:[86, 65] Operation: 75-10=65 Exploring Operation: 10+75=85, Resulting Numbers: [86, 85] Generated Node #0,1,4: 39:[86, 85] Operation: 10+75=85 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 39:[10, 11], Operations: ['95-20=75', '86-75=11'] Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,39 unequal: No Solution Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,39 unequal: No Solution Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 39:[75, 76], Operations: ['95-20=75', '86-10=76'] Exploring Operation: 75*76=5700, Resulting Numbers: [5700] 5700,39 unequal: No Solution Exploring Operation: 75+76=151, Resulting Numbers: [151] 151,39 unequal: No Solution Exploring Operation: 76-75=1, Resulting Numbers: [1] 1,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 39:[86, 65], Operations: ['95-20=75', '75-10=65'] Exploring Operation: 86-65=21, Resulting Numbers: [21] 21,39 unequal: No Solution Exploring Operation: 86*65=5590, Resulting Numbers: [5590] 5590,39 unequal: No Solution Exploring Operation: 86+65=151, Resulting Numbers: [151] 151,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 39:[75, 96], Operations: ['95-20=75', '86+10=96'] Exploring Operation: 75+96=171, Resulting Numbers: [171] 171,39 unequal: No Solution Exploring Operation: 75*96=7200, Resulting Numbers: [7200] 7200,39 unequal: No Solution Exploring Operation: 96-75=21, Resulting Numbers: [21] 21,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 39:[86, 85], Operations: ['95-20=75', '10+75=85'] Exploring Operation: 86-85=1, Resulting Numbers: [1] 1,39 unequal: No Solution Exploring Operation: 86*85=7310, Resulting Numbers: [7310] 7310,39 unequal: No Solution Exploring Operation: 86+85=171, Resulting Numbers: [171] 171,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 39:[95, 20, 76], Operations: ['86-10=76'] Exploring Operation: 76-20=56, Resulting Numbers: [95, 56] Generated Node #0,0,0: 39:[95, 56] Operation: 76-20=56 Exploring Operation: 20+76=96, Resulting Numbers: [95, 96] Generated Node #0,0,1: 39:[95, 96] Operation: 20+76=96 Exploring Operation: 95-20=75, Resulting Numbers: [76, 75] Generated Node #0,0,2: 39:[76, 75] Operation: 95-20=75 Exploring Operation: 95+20=115, Resulting Numbers: [76, 115] Generated Node #0,0,3: 39:[76, 115] Operation: 95+20=115 Exploring Operation: 95-76=19, Resulting Numbers: [20, 19] Generated Node #0,0,4: 39:[20, 19] Operation: 95-76=19 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 39:[20, 19], Operations: ['86-10=76', '95-76=19'] Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,39 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[86, 95, 20, 10], Operations: [] Exploring Operation: 86-10=76, Resulting Numbers: [95, 20, 76] Generated Node #0,0: 39:[95, 20, 76] Operation: 86-10=76 Moving to Node #0,0 Current State: 39:[95, 20, 76], Operations: ['86-10=76'] Exploring Operation: 95-76=19, Resulting Numbers: [20, 19] Generated Node #0,0,4: 39:[20, 19] Operation: 95-76=19 Moving to Node #0,0,4 Current State: 39:[20, 19], Operations: ['86-10=76', '95-76=19'] Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_5
sum_heuristic
[ 22, 84, 9, 5 ]
48
[ "84-22=62", "9+5=14", "62-14=48" ]
Current State: 48:[22, 84, 9, 5], Operations: [] Exploring Operation: 84-22=62, Resulting Numbers: [9, 5, 62] Generated Node #2: [9, 5, 62] from Operation: 84-22=62 Current State: 48:[9, 5, 62], Operations: ['84-22=62'] Exploring Operation: 9+5=14, Resulting Numbers: [62, 14] Generated Node #3: [62, 14] from Operation: 9+5=14 Current State: 48:[62, 14], Operations: ['84-22=62', '9+5=14'] Exploring Operation: 62-14=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[22, 84, 9, 5], Operations: [] Exploring Operation: 22-5=17, Resulting Numbers: [84, 9, 17] Generated Node #0,0: 48:[84, 9, 17] Operation: 22-5=17 Exploring Operation: 84-22=62, Resulting Numbers: [9, 5, 62] Generated Node #0,1: 48:[9, 5, 62] Operation: 84-22=62 Exploring Operation: 84-5=79, Resulting Numbers: [22, 9, 79] Generated Node #0,2: 48:[22, 9, 79] Operation: 84-5=79 Exploring Operation: 84-9=75, Resulting Numbers: [22, 5, 75] Generated Node #0,3: 48:[22, 5, 75] Operation: 84-9=75 Exploring Operation: 22-9=13, Resulting Numbers: [84, 5, 13] Generated Node #0,4: 48:[84, 5, 13] Operation: 22-9=13 Moving to Node #0,1 Current State: 48:[9, 5, 62], Operations: ['84-22=62'] Exploring Operation: 9-5=4, Resulting Numbers: [62, 4] Generated Node #0,1,0: 48:[62, 4] Operation: 9-5=4 Exploring Operation: 62-5=57, Resulting Numbers: [9, 57] Generated Node #0,1,1: 48:[9, 57] Operation: 62-5=57 Exploring Operation: 9*5=45, Resulting Numbers: [62, 45] Generated Node #0,1,2: 48:[62, 45] Operation: 9*5=45 Exploring Operation: 62-9=53, Resulting Numbers: [5, 53] Generated Node #0,1,3: 48:[5, 53] Operation: 62-9=53 Exploring Operation: 9+5=14, Resulting Numbers: [62, 14] Generated Node #0,1,4: 48:[62, 14] Operation: 9+5=14 Moving to Node #0,3 Current State: 48:[22, 5, 75], Operations: ['84-9=75'] Exploring Operation: 75-5=70, Resulting Numbers: [22, 70] Generated Node #0,3,0: 48:[22, 70] Operation: 75-5=70 Exploring Operation: 22+5=27, Resulting Numbers: [75, 27] Generated Node #0,3,1: 48:[75, 27] Operation: 22+5=27 Exploring Operation: 75/5=15, Resulting Numbers: [22, 15] Generated Node #0,3,2: 48:[22, 15] Operation: 75/5=15 Exploring Operation: 75-22=53, Resulting Numbers: [5, 53] Generated Node #0,3,3: 48:[5, 53] Operation: 75-22=53 Exploring Operation: 22-5=17, Resulting Numbers: [75, 17] Generated Node #0,3,4: 48:[75, 17] Operation: 22-5=17 Moving to Node #0,2 Current State: 48:[22, 9, 79], Operations: ['84-5=79'] Exploring Operation: 79-22=57, Resulting Numbers: [9, 57] Generated Node #0,2,0: 48:[9, 57] Operation: 79-22=57 Exploring Operation: 79-9=70, Resulting Numbers: [22, 70] Generated Node #0,2,1: 48:[22, 70] Operation: 79-9=70 Exploring Operation: 9+79=88, Resulting Numbers: [22, 88] Generated Node #0,2,2: 48:[22, 88] Operation: 9+79=88 Exploring Operation: 22-9=13, Resulting Numbers: [79, 13] Generated Node #0,2,3: 48:[79, 13] Operation: 22-9=13 Exploring Operation: 22+9=31, Resulting Numbers: [79, 31] Generated Node #0,2,4: 48:[79, 31] Operation: 22+9=31 Moving to Node #0,0 Current State: 48:[84, 9, 17], Operations: ['22-5=17'] Exploring Operation: 9+17=26, Resulting Numbers: [84, 26] Generated Node #0,0,0: 48:[84, 26] Operation: 9+17=26 Exploring Operation: 84-17=67, Resulting Numbers: [9, 67] Generated Node #0,0,1: 48:[9, 67] Operation: 84-17=67 Exploring Operation: 84-9=75, Resulting Numbers: [17, 75] Generated Node #0,0,2: 48:[17, 75] Operation: 84-9=75 Exploring Operation: 17-9=8, Resulting Numbers: [84, 8] Generated Node #0,0,3: 48:[84, 8] Operation: 17-9=8 Exploring Operation: 84+9=93, Resulting Numbers: [17, 93] Generated Node #0,0,4: 48:[17, 93] Operation: 84+9=93 Moving to Node #0,4 Current State: 48:[84, 5, 13], Operations: ['22-9=13'] Exploring Operation: 5+13=18, Resulting Numbers: [84, 18] Generated Node #0,4,0: 48:[84, 18] Operation: 5+13=18 Exploring Operation: 84+5=89, Resulting Numbers: [13, 89] Generated Node #0,4,1: 48:[13, 89] Operation: 84+5=89 Exploring Operation: 84-5=79, Resulting Numbers: [13, 79] Generated Node #0,4,2: 48:[13, 79] Operation: 84-5=79 Exploring Operation: 84-13=71, Resulting Numbers: [5, 71] Generated Node #0,4,3: 48:[5, 71] Operation: 84-13=71 Exploring Operation: 13-5=8, Resulting Numbers: [84, 8] Generated Node #0,4,4: 48:[84, 8] Operation: 13-5=8 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 48:[5, 71], Operations: ['22-9=13', '84-13=71'] Exploring Operation: 5+71=76, Resulting Numbers: [76] 76,48 unequal: No Solution Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,48 unequal: No Solution Exploring Operation: 5*71=355, Resulting Numbers: [355] 355,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 48:[13, 79], Operations: ['22-9=13', '84-5=79'] Exploring Operation: 79-13=66, Resulting Numbers: [66] 66,48 unequal: No Solution Exploring Operation: 13+79=92, Resulting Numbers: [92] 92,48 unequal: No Solution Exploring Operation: 13*79=1027, Resulting Numbers: [1027] 1027,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 48:[84, 8], Operations: ['22-9=13', '13-5=8'] Exploring Operation: 84+8=92, Resulting Numbers: [92] 92,48 unequal: No Solution Exploring Operation: 84*8=672, Resulting Numbers: [672] 672,48 unequal: No Solution Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 48:[84, 18], Operations: ['22-9=13', '5+13=18'] Exploring Operation: 84+18=102, Resulting Numbers: [102] 102,48 unequal: No Solution Exploring Operation: 84*18=1512, Resulting Numbers: [1512] 1512,48 unequal: No Solution Exploring Operation: 84-18=66, Resulting Numbers: [66] 66,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 48:[13, 89], Operations: ['22-9=13', '84+5=89'] Exploring Operation: 89-13=76, Resulting Numbers: [76] 76,48 unequal: No Solution Exploring Operation: 13*89=1157, Resulting Numbers: [1157] 1157,48 unequal: No Solution Exploring Operation: 13+89=102, Resulting Numbers: [102] 102,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 48:[22, 15], Operations: ['84-9=75', '75/5=15'] Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,48 unequal: No Solution Exploring Operation: 22*15=330, Resulting Numbers: [330] 330,48 unequal: No Solution Moving to Node #0,1,3 Current State: 48:[5, 53], Operations: ['84-22=62', '62-9=53'] Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[22, 84, 9, 5], Operations: [] Exploring Operation: 84-22=62, Resulting Numbers: [9, 5, 62] Generated Node #0,1: 48:[9, 5, 62] Operation: 84-22=62 Moving to Node #0,1 Current State: 48:[9, 5, 62], Operations: ['84-22=62'] Exploring Operation: 62-9=53, Resulting Numbers: [5, 53] Generated Node #0,1,3: 48:[5, 53] Operation: 62-9=53 Moving to Node #0,1,3 Current State: 48:[5, 53], Operations: ['84-22=62', '62-9=53'] Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
0.953993
hs_5
mult_heuristic
[ 2, 71, 97, 51 ]
57
[ "71-51=20", "2*20=40", "97-40=57" ]
Current State: 57:[2, 71, 97, 51], Operations: [] Exploring Operation: 71-51=20, Resulting Numbers: [2, 97, 20] Generated Node #2: [2, 97, 20] from Operation: 71-51=20 Current State: 57:[2, 97, 20], Operations: ['71-51=20'] Exploring Operation: 2*20=40, Resulting Numbers: [97, 40] Generated Node #3: [97, 40] from Operation: 2*20=40 Current State: 57:[97, 40], Operations: ['71-51=20', '2*20=40'] Exploring Operation: 97-40=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[2, 71, 97, 51], Operations: [] Exploring Operation: 97-2=95, Resulting Numbers: [71, 51, 95] Generated Node #0,0: 57:[71, 51, 95] Operation: 97-2=95 Exploring Operation: 97-71=26, Resulting Numbers: [2, 51, 26] Generated Node #0,1: 57:[2, 51, 26] Operation: 97-71=26 Exploring Operation: 97-51=46, Resulting Numbers: [2, 71, 46] Generated Node #0,2: 57:[2, 71, 46] Operation: 97-51=46 Exploring Operation: 71-51=20, Resulting Numbers: [2, 97, 20] Generated Node #0,3: 57:[2, 97, 20] Operation: 71-51=20 Exploring Operation: 71-2=69, Resulting Numbers: [97, 51, 69] Generated Node #0,4: 57:[97, 51, 69] Operation: 71-2=69 Moving to Node #0,1 Current State: 57:[2, 51, 26], Operations: ['97-71=26'] Exploring Operation: 2*26=52, Resulting Numbers: [51, 52] Generated Node #0,1,0: 57:[51, 52] Operation: 2*26=52 Exploring Operation: 26/2=13, Resulting Numbers: [51, 13] Generated Node #0,1,1: 57:[51, 13] Operation: 26/2=13 Exploring Operation: 26-2=24, Resulting Numbers: [51, 24] Generated Node #0,1,2: 57:[51, 24] Operation: 26-2=24 Exploring Operation: 51-26=25, Resulting Numbers: [2, 25] Generated Node #0,1,3: 57:[2, 25] Operation: 51-26=25 Exploring Operation: 2+51=53, Resulting Numbers: [26, 53] Generated Node #0,1,4: 57:[26, 53] Operation: 2+51=53 Moving to Node #0,2 Current State: 57:[2, 71, 46], Operations: ['97-51=46'] Exploring Operation: 46/2=23, Resulting Numbers: [71, 23] Generated Node #0,2,0: 57:[71, 23] Operation: 46/2=23 Exploring Operation: 71-46=25, Resulting Numbers: [2, 25] Generated Node #0,2,1: 57:[2, 25] Operation: 71-46=25 Exploring Operation: 2+71=73, Resulting Numbers: [46, 73] Generated Node #0,2,2: 57:[46, 73] Operation: 2+71=73 Exploring Operation: 71-2=69, Resulting Numbers: [46, 69] Generated Node #0,2,3: 57:[46, 69] Operation: 71-2=69 Exploring Operation: 2+46=48, Resulting Numbers: [71, 48] Generated Node #0,2,4: 57:[71, 48] Operation: 2+46=48 Moving to Node #0,3 Current State: 57:[2, 97, 20], Operations: ['71-51=20'] Exploring Operation: 97-20=77, Resulting Numbers: [2, 77] Generated Node #0,3,0: 57:[2, 77] Operation: 97-20=77 Exploring Operation: 2+97=99, Resulting Numbers: [20, 99] Generated Node #0,3,1: 57:[20, 99] Operation: 2+97=99 Exploring Operation: 2+20=22, Resulting Numbers: [97, 22] Generated Node #0,3,2: 57:[97, 22] Operation: 2+20=22 Exploring Operation: 20-2=18, Resulting Numbers: [97, 18] Generated Node #0,3,3: 57:[97, 18] Operation: 20-2=18 Exploring Operation: 97-2=95, Resulting Numbers: [20, 95] Generated Node #0,3,4: 57:[20, 95] Operation: 97-2=95 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 57:[2, 77], Operations: ['71-51=20', '97-20=77'] Exploring Operation: 2+77=79, Resulting Numbers: [79] 79,57 unequal: No Solution Exploring Operation: 2*77=154, Resulting Numbers: [154] 154,57 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 57:[20, 95], Operations: ['71-51=20', '97-2=95'] Exploring Operation: 20*95=1900, Resulting Numbers: [1900] 1900,57 unequal: No Solution Exploring Operation: 20+95=115, Resulting Numbers: [115] 115,57 unequal: No Solution Exploring Operation: 95-20=75, Resulting Numbers: [75] 75,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 57:[97, 18], Operations: ['71-51=20', '20-2=18'] Exploring Operation: 97+18=115, Resulting Numbers: [115] 115,57 unequal: No Solution Exploring Operation: 97*18=1746, Resulting Numbers: [1746] 1746,57 unequal: No Solution Exploring Operation: 97-18=79, Resulting Numbers: [79] 79,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 57:[20, 99], Operations: ['71-51=20', '2+97=99'] Exploring Operation: 20+99=119, Resulting Numbers: [119] 119,57 unequal: No Solution Exploring Operation: 99-20=79, Resulting Numbers: [79] 79,57 unequal: No Solution Exploring Operation: 20*99=1980, Resulting Numbers: [1980] 1980,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 57:[97, 22], Operations: ['71-51=20', '2+20=22'] Exploring Operation: 97+22=119, Resulting Numbers: [119] 119,57 unequal: No Solution Exploring Operation: 97-22=75, Resulting Numbers: [75] 75,57 unequal: No Solution Exploring Operation: 97*22=2134, Resulting Numbers: [2134] 2134,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 57:[71, 51, 95], Operations: ['97-2=95'] Exploring Operation: 51+95=146, Resulting Numbers: [71, 146] Generated Node #0,0,0: 57:[71, 146] Operation: 51+95=146 Exploring Operation: 95-71=24, Resulting Numbers: [51, 24] Generated Node #0,0,1: 57:[51, 24] Operation: 95-71=24 Exploring Operation: 71+51=122, Resulting Numbers: [95, 122] Generated Node #0,0,2: 57:[95, 122] Operation: 71+51=122 Exploring Operation: 71-51=20, Resulting Numbers: [95, 20] Generated Node #0,0,3: 57:[95, 20] Operation: 71-51=20 Exploring Operation: 95-51=44, Resulting Numbers: [71, 44] Generated Node #0,0,4: 57:[71, 44] Operation: 95-51=44 Moving to Node #0,4 Current State: 57:[97, 51, 69], Operations: ['71-2=69'] Exploring Operation: 97+51=148, Resulting Numbers: [69, 148] Generated Node #0,4,0: 57:[69, 148] Operation: 97+51=148 Exploring Operation: 97-51=46, Resulting Numbers: [69, 46] Generated Node #0,4,1: 57:[69, 46] Operation: 97-51=46 Exploring Operation: 69-51=18, Resulting Numbers: [97, 18] Generated Node #0,4,2: 57:[97, 18] Operation: 69-51=18 Exploring Operation: 51+69=120, Resulting Numbers: [97, 120] Generated Node #0,4,3: 57:[97, 120] Operation: 51+69=120 Exploring Operation: 97-69=28, Resulting Numbers: [51, 28] Generated Node #0,4,4: 57:[51, 28] Operation: 97-69=28 Moving to Node #0,1,3 Current State: 57:[2, 25], Operations: ['97-71=26', '51-26=25'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,57 unequal: No Solution Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,57 unequal: No Solution Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,57 unequal: No Solution Moving to Node #0,2,1 Current State: 57:[2, 25], Operations: ['97-51=46', '71-46=25'] Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,57 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,57 unequal: No Solution Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,57 unequal: No Solution Moving to Node #0,1,2 Current State: 57:[51, 24], Operations: ['97-71=26', '26-2=24'] Exploring Operation: 51*24=1224, Resulting Numbers: [1224] 1224,57 unequal: No Solution Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,57 unequal: No Solution Exploring Operation: 51+24=75, Resulting Numbers: [75] 75,57 unequal: No Solution Moving to Node #0,1,0 Current State: 57:[51, 52], Operations: ['97-71=26', '2*26=52'] Exploring Operation: 51*52=2652, Resulting Numbers: [2652] 2652,57 unequal: No Solution Exploring Operation: 51+52=103, Resulting Numbers: [103] 103,57 unequal: No Solution Exploring Operation: 52-51=1, Resulting Numbers: [1] 1,57 unequal: No Solution Moving to Node #0,0,1 Current State: 57:[51, 24], Operations: ['97-2=95', '95-71=24'] Exploring Operation: 51*24=1224, Resulting Numbers: [1224] 1224,57 unequal: No Solution Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,57 unequal: No Solution Exploring Operation: 51+24=75, Resulting Numbers: [75] 75,57 unequal: No Solution Moving to Node #0,1,4 Current State: 57:[26, 53], Operations: ['97-71=26', '2+51=53'] Exploring Operation: 26*53=1378, Resulting Numbers: [1378] 1378,57 unequal: No Solution Exploring Operation: 26+53=79, Resulting Numbers: [79] 79,57 unequal: No Solution Exploring Operation: 53-26=27, Resulting Numbers: [27] 27,57 unequal: No Solution Moving to Node #0,1,1 Current State: 57:[51, 13], Operations: ['97-71=26', '26/2=13'] Exploring Operation: 51+13=64, Resulting Numbers: [64] 64,57 unequal: No Solution Exploring Operation: 51*13=663, Resulting Numbers: [663] 663,57 unequal: No Solution Exploring Operation: 51-13=38, Resulting Numbers: [38] 38,57 unequal: No Solution Moving to Node #0,4,4 Current State: 57:[51, 28], Operations: ['71-2=69', '97-69=28'] Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,57 unequal: No Solution Exploring Operation: 51+28=79, Resulting Numbers: [79] 79,57 unequal: No Solution Exploring Operation: 51*28=1428, Resulting Numbers: [1428] 1428,57 unequal: No Solution Moving to Node #0,2,0 Current State: 57:[71, 23], Operations: ['97-51=46', '46/2=23'] Exploring Operation: 71+23=94, Resulting Numbers: [94] 94,57 unequal: No Solution Exploring Operation: 71*23=1633, Resulting Numbers: [1633] 1633,57 unequal: No Solution Exploring Operation: 71-23=48, Resulting Numbers: [48] 48,57 unequal: No Solution Moving to Node #0,4,1 Current State: 57:[69, 46], Operations: ['71-2=69', '97-51=46'] Exploring Operation: 69-46=23, Resulting Numbers: [23] 23,57 unequal: No Solution Exploring Operation: 69*46=3174, Resulting Numbers: [3174] 3174,57 unequal: No Solution Exploring Operation: 69+46=115, Resulting Numbers: [115] 115,57 unequal: No Solution Moving to Node #0,2,4 Current State: 57:[71, 48], Operations: ['97-51=46', '2+46=48'] Exploring Operation: 71+48=119, Resulting Numbers: [119] 119,57 unequal: No Solution Exploring Operation: 71-48=23, Resulting Numbers: [23] 23,57 unequal: No Solution Exploring Operation: 71*48=3408, Resulting Numbers: [3408] 3408,57 unequal: No Solution Moving to Node #0,2,3 Current State: 57:[46, 69], Operations: ['97-51=46', '71-2=69'] Exploring Operation: 46+69=115, Resulting Numbers: [115] 115,57 unequal: No Solution Exploring Operation: 69-46=23, Resulting Numbers: [23] 23,57 unequal: No Solution Exploring Operation: 46*69=3174, Resulting Numbers: [3174] 3174,57 unequal: No Solution Moving to Node #0,0,4 Current State: 57:[71, 44], Operations: ['97-2=95', '95-51=44'] Exploring Operation: 71*44=3124, Resulting Numbers: [3124] 3124,57 unequal: No Solution Exploring Operation: 71+44=115, Resulting Numbers: [115] 115,57 unequal: No Solution Exploring Operation: 71-44=27, Resulting Numbers: [27] 27,57 unequal: No Solution Moving to Node #0,2,2 Current State: 57:[46, 73], Operations: ['97-51=46', '2+71=73'] Exploring Operation: 46*73=3358, Resulting Numbers: [3358] 3358,57 unequal: No Solution Exploring Operation: 46+73=119, Resulting Numbers: [119] 119,57 unequal: No Solution Exploring Operation: 73-46=27, Resulting Numbers: [27] 27,57 unequal: No Solution Moving to Node #0,0,3 Current State: 57:[95, 20], Operations: ['97-2=95', '71-51=20'] Exploring Operation: 95*20=1900, Resulting Numbers: [1900] 1900,57 unequal: No Solution Exploring Operation: 95+20=115, Resulting Numbers: [115] 115,57 unequal: No Solution Exploring Operation: 95-20=75, Resulting Numbers: [75] 75,57 unequal: No Solution Moving to Node #0,4,2 Current State: 57:[97, 18], Operations: ['71-2=69', '69-51=18'] Exploring Operation: 97-18=79, Resulting Numbers: [79] 79,57 unequal: No Solution Exploring Operation: 97+18=115, Resulting Numbers: [115] 115,57 unequal: No Solution Exploring Operation: 97*18=1746, Resulting Numbers: [1746] 1746,57 unequal: No Solution Moving to Node #0,4,0 Current State: 57:[69, 148], Operations: ['71-2=69', '97+51=148'] Exploring Operation: 148-69=79, Resulting Numbers: [79] 79,57 unequal: No Solution Exploring Operation: 69*148=10212, Resulting Numbers: [10212] 10212,57 unequal: No Solution Exploring Operation: 69+148=217, Resulting Numbers: [217] 217,57 unequal: No Solution Moving to Node #0,0,2 Current State: 57:[95, 122], Operations: ['97-2=95', '71+51=122'] Exploring Operation: 95+122=217, Resulting Numbers: [217] 217,57 unequal: No Solution Exploring Operation: 95*122=11590, Resulting Numbers: [11590] 11590,57 unequal: No Solution Exploring Operation: 122-95=27, Resulting Numbers: [27] 27,57 unequal: No Solution Moving to Node #0,0,0 Current State: 57:[71, 146], Operations: ['97-2=95', '51+95=146'] Exploring Operation: 71*146=10366, Resulting Numbers: [10366] 10366,57 unequal: No Solution Exploring Operation: 71+146=217, Resulting Numbers: [217] 217,57 unequal: No Solution Exploring Operation: 146-71=75, Resulting Numbers: [75] 75,57 unequal: No Solution Moving to Node #0,4,3 Current State: 57:[97, 120], Operations: ['71-2=69', '51+69=120'] Exploring Operation: 120-97=23, Resulting Numbers: [23] 23,57 unequal: No Solution Exploring Operation: 97*120=11640, Resulting Numbers: [11640] 11640,57 unequal: No Solution Exploring Operation: 97+120=217, Resulting Numbers: [217] 217,57 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 73, 46, 13, 19 ]
21
[ "73-46=27", "19-13=6", "27-6=21" ]
Current State: 21:[73, 46, 13, 19], Operations: [] Exploring Operation: 73-46=27, Resulting Numbers: [13, 19, 27] Generated Node #2: [13, 19, 27] from Operation: 73-46=27 Current State: 21:[13, 19, 27], Operations: ['73-46=27'] Exploring Operation: 19-13=6, Resulting Numbers: [27, 6] Generated Node #3: [27, 6] from Operation: 19-13=6 Current State: 21:[27, 6], Operations: ['73-46=27', '19-13=6'] Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[73, 46, 13, 19], Operations: [] Exploring Operation: 73-19=54, Resulting Numbers: [46, 13, 54] Generated Node #0,0: 21:[46, 13, 54] Operation: 73-19=54 Exploring Operation: 73-46=27, Resulting Numbers: [13, 19, 27] Generated Node #0,1: 21:[13, 19, 27] Operation: 73-46=27 Exploring Operation: 73-13=60, Resulting Numbers: [46, 19, 60] Generated Node #0,2: 21:[46, 19, 60] Operation: 73-13=60 Exploring Operation: 46-19=27, Resulting Numbers: [73, 13, 27] Generated Node #0,3: 21:[73, 13, 27] Operation: 46-19=27 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[13, 19, 27], Operations: ['73-46=27'] Exploring Operation: 19-13=6, Resulting Numbers: [27, 6] Generated Node #0,1,0: 21:[27, 6] Operation: 19-13=6 Exploring Operation: 13+19=32, Resulting Numbers: [27, 32] Generated Node #0,1,1: 21:[27, 32] Operation: 13+19=32 Exploring Operation: 27-19=8, Resulting Numbers: [13, 8] Generated Node #0,1,2: 21:[13, 8] Operation: 27-19=8 Exploring Operation: 27-13=14, Resulting Numbers: [19, 14] Generated Node #0,1,3: 21:[19, 14] Operation: 27-13=14 Moving to Node #0,1,0 Current State: 21:[27, 6], Operations: ['73-46=27', '19-13=6'] Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[73, 46, 13, 19], Operations: [] Exploring Operation: 73-46=27, Resulting Numbers: [13, 19, 27] Generated Node #0,1: 21:[13, 19, 27] Operation: 73-46=27 Moving to Node #0,1 Current State: 21:[13, 19, 27], Operations: ['73-46=27'] Exploring Operation: 19-13=6, Resulting Numbers: [27, 6] Generated Node #0,1,0: 21:[27, 6] Operation: 19-13=6 Moving to Node #0,1,0 Current State: 21:[27, 6], Operations: ['73-46=27', '19-13=6'] Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 48, 69, 63, 84 ]
87
[ "69-48=21", "63/21=3", "84+3=87" ]
Current State: 87:[48, 69, 63, 84], Operations: [] Exploring Operation: 69-48=21, Resulting Numbers: [63, 84, 21] Generated Node #2: [63, 84, 21] from Operation: 69-48=21 Current State: 87:[63, 84, 21], Operations: ['69-48=21'] Exploring Operation: 63/21=3, Resulting Numbers: [84, 3] Generated Node #3: [84, 3] from Operation: 63/21=3 Current State: 87:[84, 3], Operations: ['69-48=21', '63/21=3'] Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[48, 69, 63, 84], Operations: [] Exploring Operation: 69-63=6, Resulting Numbers: [48, 84, 6] Generated Node #0,0: 87:[48, 84, 6] Operation: 69-63=6 Exploring Operation: 63-48=15, Resulting Numbers: [69, 84, 15] Generated Node #0,1: 87:[69, 84, 15] Operation: 63-48=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[48, 84, 6], Operations: ['69-63=6'] Exploring Operation: 84-48=36, Resulting Numbers: [6, 36] Generated Node #0,0,0: 87:[6, 36] Operation: 84-48=36 Exploring Operation: 48/6=8, Resulting Numbers: [84, 8] Generated Node #0,0,1: 87:[84, 8] Operation: 48/6=8 Moving to Node #0,0,1 Current State: 87:[84, 8], Operations: ['69-63=6', '48/6=8'] Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,87 unequal: No Solution Exploring Operation: 84+8=92, Resulting Numbers: [92] 92,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[6, 36], Operations: ['69-63=6', '84-48=36'] Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,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:[69, 84, 15], Operations: ['63-48=15'] Exploring Operation: 84-69=15, Resulting Numbers: [15, 15] Generated Node #0,1,0: 87:[15, 15] Operation: 84-69=15 Exploring Operation: 69+15=84, Resulting Numbers: [84, 84] Generated Node #0,1,1: 87:[84, 84] Operation: 69+15=84 Moving to Node #0,1,1 Current State: 87:[84, 84], Operations: ['63-48=15', '69+15=84'] Exploring Operation: 84-84=0, Resulting Numbers: [0] 0,87 unequal: No Solution Exploring Operation: 84/84=1, Resulting Numbers: [1] 1,87 unequal: No Solution Moving to Node #0,1,0 Current State: 87:[15, 15], Operations: ['63-48=15', '84-69=15'] Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 15/15=1, Resulting Numbers: [1] 1,87 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
[ 7, 54, 75, 96 ]
68
[ "54-7=47", "96-75=21", "47+21=68" ]
Current State: 68:[7, 54, 75, 96], Operations: [] Exploring Operation: 54-7=47, Resulting Numbers: [75, 96, 47] Generated Node #2: [75, 96, 47] from Operation: 54-7=47 Current State: 68:[75, 96, 47], Operations: ['54-7=47'] Exploring Operation: 96-75=21, Resulting Numbers: [47, 21] Generated Node #3: [47, 21] from Operation: 96-75=21 Current State: 68:[47, 21], Operations: ['54-7=47', '96-75=21'] Exploring Operation: 47+21=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[7, 54, 75, 96], Operations: [] Exploring Operation: 96-54=42, Resulting Numbers: [7, 75, 42] Generated Node #0,0: 68:[7, 75, 42] Operation: 96-54=42 Exploring Operation: 96-75=21, Resulting Numbers: [7, 54, 21] Generated Node #0,1: 68:[7, 54, 21] Operation: 96-75=21 Moving to Node #0,0 Current State: 68:[7, 75, 42], Operations: ['96-54=42'] Exploring Operation: 75-42=33, Resulting Numbers: [7, 33] Generated Node #0,0,0: 68:[7, 33] Operation: 75-42=33 Exploring Operation: 75-7=68, Resulting Numbers: [42, 68] Generated Node #0,0,1: 68:[42, 68] Operation: 75-7=68 Moving to Node #0,1 Current State: 68:[7, 54, 21], Operations: ['96-75=21'] Exploring Operation: 54-21=33, Resulting Numbers: [7, 33] Generated Node #0,1,0: 68:[7, 33] Operation: 54-21=33 Exploring Operation: 54+21=75, Resulting Numbers: [7, 75] Generated Node #0,1,1: 68:[7, 75] Operation: 54+21=75 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 68:[7, 33], Operations: ['96-75=21', '54-21=33'] Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,68 unequal: No Solution Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 68:[7, 75], Operations: ['96-75=21', '54+21=75'] Exploring Operation: 7+75=82, Resulting Numbers: [82] 82,68 unequal: No Solution Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[7, 54, 75, 96], Operations: [] Exploring Operation: 96-75=21, Resulting Numbers: [7, 54, 21] Generated Node #0,1: 68:[7, 54, 21] Operation: 96-75=21 Moving to Node #0,1 Current State: 68:[7, 54, 21], Operations: ['96-75=21'] Exploring Operation: 54+21=75, Resulting Numbers: [7, 75] Generated Node #0,1,1: 68:[7, 75] Operation: 54+21=75 Moving to Node #0,1,1 Current State: 68:[7, 75], Operations: ['96-75=21', '54+21=75'] Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_2
mult_heuristic
[ 11, 70, 18, 89 ]
12
[ "70-11=59", "89-18=71", "71-59=12" ]
Current State: 12:[11, 70, 18, 89], Operations: [] Exploring Operation: 70-11=59, Resulting Numbers: [18, 89, 59] Generated Node #2: [18, 89, 59] from Operation: 70-11=59 Current State: 12:[18, 89, 59], Operations: ['70-11=59'] Exploring Operation: 89-18=71, Resulting Numbers: [59, 71] Generated Node #3: [59, 71] from Operation: 89-18=71 Current State: 12:[59, 71], Operations: ['70-11=59', '89-18=71'] Exploring Operation: 71-59=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[11, 70, 18, 89], Operations: [] Exploring Operation: 89-70=19, Resulting Numbers: [11, 18, 19] Generated Node #0,0: 12:[11, 18, 19] Operation: 89-70=19 Exploring Operation: 70-18=52, Resulting Numbers: [11, 89, 52] Generated Node #0,1: 12:[11, 89, 52] Operation: 70-18=52 Exploring Operation: 89-18=71, Resulting Numbers: [11, 70, 71] Generated Node #0,2: 12:[11, 70, 71] Operation: 89-18=71 Moving to Node #0,0 Current State: 12:[11, 18, 19], Operations: ['89-70=19'] Exploring Operation: 19-18=1, Resulting Numbers: [11, 1] Generated Node #0,0,0: 12:[11, 1] Operation: 19-18=1 Exploring Operation: 19-11=8, Resulting Numbers: [18, 8] Generated Node #0,0,1: 12:[18, 8] Operation: 19-11=8 Exploring Operation: 18-11=7, Resulting Numbers: [19, 7] Generated Node #0,0,2: 12:[19, 7] Operation: 18-11=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 12:[11, 1], Operations: ['89-70=19', '19-18=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[11, 70, 18, 89], Operations: [] Exploring Operation: 89-70=19, Resulting Numbers: [11, 18, 19] Generated Node #0,0: 12:[11, 18, 19] Operation: 89-70=19 Moving to Node #0,0 Current State: 12:[11, 18, 19], Operations: ['89-70=19'] Exploring Operation: 19-18=1, Resulting Numbers: [11, 1] Generated Node #0,0,0: 12:[11, 1] Operation: 19-18=1 Moving to Node #0,0,0 Current State: 12:[11, 1], Operations: ['89-70=19', '19-18=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 13, 83, 82, 7 ]
74
[ "13*7=91", "83+82=165", "165-91=74" ]
Current State: 74:[13, 83, 82, 7], Operations: [] Exploring Operation: 13*7=91, Resulting Numbers: [83, 82, 91] Generated Node #2: [83, 82, 91] from Operation: 13*7=91 Current State: 74:[83, 82, 91], Operations: ['13*7=91'] Exploring Operation: 83+82=165, Resulting Numbers: [91, 165] Generated Node #3: [91, 165] from Operation: 83+82=165 Current State: 74:[91, 165], Operations: ['13*7=91', '83+82=165'] Exploring Operation: 165-91=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[13, 83, 82, 7], Operations: [] Exploring Operation: 83-13=70, Resulting Numbers: [82, 7, 70] Generated Node #0,0: 74:[82, 7, 70] Operation: 83-13=70 Exploring Operation: 83-82=1, Resulting Numbers: [13, 7, 1] Generated Node #0,1: 74:[13, 7, 1] Operation: 83-82=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[82, 7, 70], Operations: ['83-13=70'] Exploring Operation: 82-7=75, Resulting Numbers: [70, 75] Generated Node #0,0,0: 74:[70, 75] Operation: 82-7=75 Exploring Operation: 7+70=77, Resulting Numbers: [82, 77] Generated Node #0,0,1: 74:[82, 77] Operation: 7+70=77 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[70, 75], Operations: ['83-13=70', '82-7=75'] Exploring Operation: 75-70=5, Resulting Numbers: [5] 5,74 unequal: No Solution Exploring Operation: 70+75=145, Resulting Numbers: [145] 145,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[82, 77], Operations: ['83-13=70', '7+70=77'] Exploring Operation: 82+77=159, Resulting Numbers: [159] 159,74 unequal: No Solution Exploring Operation: 82-77=5, Resulting Numbers: [5] 5,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[13, 7, 1], Operations: ['83-82=1'] Exploring Operation: 13-1=12, Resulting Numbers: [7, 12] Generated Node #0,1,0: 74:[7, 12] Operation: 13-1=12 Exploring Operation: 13-7=6, Resulting Numbers: [1, 6] Generated Node #0,1,1: 74:[1, 6] Operation: 13-7=6 Moving to Node #0,1,1 Current State: 74:[1, 6], Operations: ['83-82=1', '13-7=6'] Exploring Operation: 1*6=6, Resulting Numbers: [6] 6,74 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[7, 12], Operations: ['83-82=1', '13-1=12'] Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,74 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,74 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
[ 88, 22, 21, 65 ]
66
[ "88+22=110", "65-21=44", "110-44=66" ]
Current State: 66:[88, 22, 21, 65], Operations: [] Exploring Operation: 88+22=110, Resulting Numbers: [21, 65, 110] Generated Node #2: [21, 65, 110] from Operation: 88+22=110 Current State: 66:[21, 65, 110], Operations: ['88+22=110'] Exploring Operation: 65-21=44, Resulting Numbers: [110, 44] Generated Node #3: [110, 44] from Operation: 65-21=44 Current State: 66:[110, 44], Operations: ['88+22=110', '65-21=44'] Exploring Operation: 110-44=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[88, 22, 21, 65], Operations: [] Exploring Operation: 88-21=67, Resulting Numbers: [22, 65, 67] Generated Node #0,0: 66:[22, 65, 67] Operation: 88-21=67 Exploring Operation: 88-22=66, Resulting Numbers: [21, 65, 66] Generated Node #0,1: 66:[21, 65, 66] Operation: 88-22=66 Moving to Node #0,0 Current State: 66:[22, 65, 67], Operations: ['88-21=67'] Exploring Operation: 67-65=2, Resulting Numbers: [22, 2] Generated Node #0,0,0: 66:[22, 2] Operation: 67-65=2 Exploring Operation: 65-22=43, Resulting Numbers: [67, 43] Generated Node #0,0,1: 66:[67, 43] Operation: 65-22=43 Moving to Node #0,1 Current State: 66:[21, 65, 66], Operations: ['88-22=66'] Exploring Operation: 66-65=1, Resulting Numbers: [21, 1] Generated Node #0,1,0: 66:[21, 1] Operation: 66-65=1 Exploring Operation: 65-21=44, Resulting Numbers: [66, 44] Generated Node #0,1,1: 66:[66, 44] Operation: 65-21=44 Moving to Node #0,0,0 Current State: 66:[22, 2], Operations: ['88-21=67', '67-65=2'] Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,66 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,66 unequal: No Solution Moving to Node #0,1,0 Current State: 66:[21, 1], Operations: ['88-22=66', '66-65=1'] Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,66 unequal: No Solution Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,66 unequal: No Solution Moving to Node #0,0,1 Current State: 66:[67, 43], Operations: ['88-21=67', '65-22=43'] Exploring Operation: 67+43=110, Resulting Numbers: [110] 110,66 unequal: No Solution Exploring Operation: 67-43=24, Resulting Numbers: [24] 24,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[66, 44], Operations: ['88-22=66', '65-21=44'] Exploring Operation: 66+44=110, Resulting Numbers: [110] 110,66 unequal: No Solution Exploring Operation: 66-44=22, Resulting Numbers: [22] 22,66 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 3, 47, 18, 66 ]
59
[ "3*18=54", "47+66=113", "113-54=59" ]
Current State: 59:[3, 47, 18, 66], Operations: [] Exploring Operation: 3*18=54, Resulting Numbers: [47, 66, 54] Generated Node #2: [47, 66, 54] from Operation: 3*18=54 Current State: 59:[47, 66, 54], Operations: ['3*18=54'] Exploring Operation: 47+66=113, Resulting Numbers: [54, 113] Generated Node #3: [54, 113] from Operation: 47+66=113 Current State: 59:[54, 113], Operations: ['3*18=54', '47+66=113'] Exploring Operation: 113-54=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[3, 47, 18, 66], Operations: [] Exploring Operation: 3+47=50, Resulting Numbers: [18, 66, 50] Generated Node #0,0: 59:[18, 66, 50] Operation: 3+47=50 Exploring Operation: 3*18=54, Resulting Numbers: [47, 66, 54] Generated Node #0,1: 59:[47, 66, 54] Operation: 3*18=54 Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[47, 66, 54], Operations: ['3*18=54'] Exploring Operation: 47+54=101, Resulting Numbers: [66, 101] Generated Node #0,1,0: 59:[66, 101] Operation: 47+54=101 Exploring Operation: 66-47=19, Resulting Numbers: [54, 19] Generated Node #0,1,1: 59:[54, 19] Operation: 66-47=19 Moving to Node #0,1,1 Current State: 59:[54, 19], Operations: ['3*18=54', '66-47=19'] Exploring Operation: 54-19=35, Resulting Numbers: [35] 35,59 unequal: No Solution Exploring Operation: 54+19=73, Resulting Numbers: [73] 73,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[66, 101], Operations: ['3*18=54', '47+54=101'] Exploring Operation: 101-66=35, Resulting Numbers: [35] 35,59 unequal: No Solution Exploring Operation: 66+101=167, Resulting Numbers: [167] 167,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:[18, 66, 50], Operations: ['3+47=50'] Exploring Operation: 66-18=48, Resulting Numbers: [50, 48] Generated Node #0,0,0: 59:[50, 48] Operation: 66-18=48 Exploring Operation: 18+50=68, Resulting Numbers: [66, 68] Generated Node #0,0,1: 59:[66, 68] Operation: 18+50=68 Moving to Node #0,0,1 Current State: 59:[66, 68], Operations: ['3+47=50', '18+50=68'] Exploring Operation: 66+68=134, Resulting Numbers: [134] 134,59 unequal: No Solution Exploring Operation: 68-66=2, Resulting Numbers: [2] 2,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[50, 48], Operations: ['3+47=50', '66-18=48'] Exploring Operation: 50+48=98, Resulting Numbers: [98] 98,59 unequal: No Solution Exploring Operation: 50-48=2, Resulting Numbers: [2] 2,59 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
[ 47, 83, 67, 6 ]
37
[ "83-47=36", "67+6=73", "73-36=37" ]
Current State: 37:[47, 83, 67, 6], Operations: [] Exploring Operation: 83-47=36, Resulting Numbers: [67, 6, 36] Generated Node #2: [67, 6, 36] from Operation: 83-47=36 Current State: 37:[67, 6, 36], Operations: ['83-47=36'] Exploring Operation: 67+6=73, Resulting Numbers: [36, 73] Generated Node #3: [36, 73] from Operation: 67+6=73 Current State: 37:[36, 73], Operations: ['83-47=36', '67+6=73'] Exploring Operation: 73-36=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[47, 83, 67, 6], Operations: [] Exploring Operation: 83-6=77, Resulting Numbers: [47, 67, 77] Generated Node #0,0: 37:[47, 67, 77] Operation: 83-6=77 Exploring Operation: 83-67=16, Resulting Numbers: [47, 6, 16] Generated Node #0,1: 37:[47, 6, 16] Operation: 83-67=16 Exploring Operation: 83-47=36, Resulting Numbers: [67, 6, 36] Generated Node #0,2: 37:[67, 6, 36] Operation: 83-47=36 Exploring Operation: 47-6=41, Resulting Numbers: [83, 67, 41] Generated Node #0,3: 37:[83, 67, 41] Operation: 47-6=41 Exploring Operation: 67-6=61, Resulting Numbers: [47, 83, 61] Generated Node #0,4: 37:[47, 83, 61] Operation: 67-6=61 Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[47, 6, 16], Operations: ['83-67=16'] Exploring Operation: 47-16=31, Resulting Numbers: [6, 31] Generated Node #0,1,0: 37:[6, 31] Operation: 47-16=31 Exploring Operation: 6+16=22, Resulting Numbers: [47, 22] Generated Node #0,1,1: 37:[47, 22] Operation: 6+16=22 Exploring Operation: 47+6=53, Resulting Numbers: [16, 53] Generated Node #0,1,2: 37:[16, 53] Operation: 47+6=53 Exploring Operation: 16-6=10, Resulting Numbers: [47, 10] Generated Node #0,1,3: 37:[47, 10] Operation: 16-6=10 Exploring Operation: 47-6=41, Resulting Numbers: [16, 41] Generated Node #0,1,4: 37:[16, 41] Operation: 47-6=41 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 37:[47, 22], Operations: ['83-67=16', '6+16=22'] Exploring Operation: 47+22=69, Resulting Numbers: [69] 69,37 unequal: No Solution Exploring Operation: 47-22=25, Resulting Numbers: [25] 25,37 unequal: No Solution Exploring Operation: 47*22=1034, Resulting Numbers: [1034] 1034,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 37:[16, 41], Operations: ['83-67=16', '47-6=41'] Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,37 unequal: No Solution Exploring Operation: 16*41=656, Resulting Numbers: [656] 656,37 unequal: No Solution Exploring Operation: 16+41=57, Resulting Numbers: [57] 57,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 37:[6, 31], Operations: ['83-67=16', '47-16=31'] Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[47, 83, 67, 6], Operations: [] Exploring Operation: 83-67=16, Resulting Numbers: [47, 6, 16] Generated Node #0,1: 37:[47, 6, 16] Operation: 83-67=16 Moving to Node #0,1 Current State: 37:[47, 6, 16], Operations: ['83-67=16'] Exploring Operation: 47-16=31, Resulting Numbers: [6, 31] Generated Node #0,1,0: 37:[6, 31] Operation: 47-16=31 Moving to Node #0,1,0 Current State: 37:[6, 31], Operations: ['83-67=16', '47-16=31'] Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 96, 19, 40, 8 ]
12
[ "96-40=56", "56/8=7", "19-7=12" ]
Current State: 12:[96, 19, 40, 8], Operations: [] Exploring Operation: 96-40=56, Resulting Numbers: [19, 8, 56] Generated Node #2: [19, 8, 56] from Operation: 96-40=56 Current State: 12:[19, 8, 56], Operations: ['96-40=56'] Exploring Operation: 56/8=7, Resulting Numbers: [19, 7] Generated Node #3: [19, 7] from Operation: 56/8=7 Current State: 12:[19, 7], Operations: ['96-40=56', '56/8=7'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[96, 19, 40, 8], Operations: [] Exploring Operation: 96-40=56, Resulting Numbers: [19, 8, 56] Generated Node #0,0: 12:[19, 8, 56] Operation: 96-40=56 Exploring Operation: 40/8=5, Resulting Numbers: [96, 19, 5] Generated Node #0,1: 12:[96, 19, 5] Operation: 40/8=5 Exploring Operation: 96-19=77, Resulting Numbers: [40, 8, 77] Generated Node #0,2: 12:[40, 8, 77] Operation: 96-19=77 Exploring Operation: 96/8=12, Resulting Numbers: [19, 40, 12] Generated Node #0,3: 12:[19, 40, 12] Operation: 96/8=12 Exploring Operation: 40-19=21, Resulting Numbers: [96, 8, 21] Generated Node #0,4: 12:[96, 8, 21] Operation: 40-19=21 Start Sub Search at level 1: Moving to Node #0,3 Current State: 12:[19, 40, 12], Operations: ['96/8=12'] Exploring Operation: 40-19=21, Resulting Numbers: [12, 21] Generated Node #0,3,0: 12:[12, 21] Operation: 40-19=21 Exploring Operation: 19-12=7, Resulting Numbers: [40, 7] Generated Node #0,3,1: 12:[40, 7] Operation: 19-12=7 Exploring Operation: 19+40=59, Resulting Numbers: [12, 59] Generated Node #0,3,2: 12:[12, 59] Operation: 19+40=59 Exploring Operation: 40-12=28, Resulting Numbers: [19, 28] Generated Node #0,3,3: 12:[19, 28] Operation: 40-12=28 Exploring Operation: 19+12=31, Resulting Numbers: [40, 31] Generated Node #0,3,4: 12:[40, 31] Operation: 19+12=31 Moving to Node #0,3,0 Current State: 12:[12, 21], Operations: ['96/8=12', '40-19=21'] Exploring Operation: 12*21=252, Resulting Numbers: [252] 252,12 unequal: No Solution Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,12 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,12 unequal: No Solution Moving to Node #0,3,3 Current State: 12:[19, 28], Operations: ['96/8=12', '40-12=28'] Exploring Operation: 19+28=47, Resulting Numbers: [47] 47,12 unequal: No Solution Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 19*28=532, Resulting Numbers: [532] 532,12 unequal: No Solution Moving to Node #0,3,1 Current State: 12:[40, 7], Operations: ['96/8=12', '19-12=7'] Exploring Operation: 40+7=47, Resulting Numbers: [47] 47,12 unequal: No Solution Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,12 unequal: No Solution Exploring Operation: 40*7=280, Resulting Numbers: [280] 280,12 unequal: No Solution Moving to Node #0,3,2 Current State: 12:[12, 59], Operations: ['96/8=12', '19+40=59'] Exploring Operation: 12*59=708, Resulting Numbers: [708] 708,12 unequal: No Solution Exploring Operation: 59-12=47, Resulting Numbers: [47] 47,12 unequal: No Solution Exploring Operation: 12+59=71, Resulting Numbers: [71] 71,12 unequal: No Solution Moving to Node #0,3,4 Current State: 12:[40, 31], Operations: ['96/8=12', '19+12=31'] Exploring Operation: 40*31=1240, Resulting Numbers: [1240] 1240,12 unequal: No Solution Exploring Operation: 40+31=71, Resulting Numbers: [71] 71,12 unequal: No Solution Exploring Operation: 40-31=9, Resulting Numbers: [9] 9,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[19, 8, 56], Operations: ['96-40=56'] Exploring Operation: 56-8=48, Resulting Numbers: [19, 48] Generated Node #0,0,0: 12:[19, 48] Operation: 56-8=48 Exploring Operation: 19+8=27, Resulting Numbers: [56, 27] Generated Node #0,0,1: 12:[56, 27] Operation: 19+8=27 Exploring Operation: 19-8=11, Resulting Numbers: [56, 11] Generated Node #0,0,2: 12:[56, 11] Operation: 19-8=11 Exploring Operation: 56/8=7, Resulting Numbers: [19, 7] Generated Node #0,0,3: 12:[19, 7] Operation: 56/8=7 Exploring Operation: 56-19=37, Resulting Numbers: [8, 37] Generated Node #0,0,4: 12:[8, 37] Operation: 56-19=37 Moving to Node #0,0,3 Current State: 12:[19, 7], Operations: ['96-40=56', '56/8=7'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[96, 19, 40, 8], Operations: [] Exploring Operation: 96-40=56, Resulting Numbers: [19, 8, 56] Generated Node #0,0: 12:[19, 8, 56] Operation: 96-40=56 Moving to Node #0,0 Current State: 12:[19, 8, 56], Operations: ['96-40=56'] Exploring Operation: 56/8=7, Resulting Numbers: [19, 7] Generated Node #0,0,3: 12:[19, 7] Operation: 56/8=7 Moving to Node #0,0,3 Current State: 12:[19, 7], Operations: ['96-40=56', '56/8=7'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_5
mult_heuristic
[ 43, 4, 48, 17 ]
27
[ "43+48=91", "17+91=108", "108/4=27" ]
Current State: 27:[43, 4, 48, 17], Operations: [] Exploring Operation: 43+48=91, Resulting Numbers: [4, 17, 91] Generated Node #2: [4, 17, 91] from Operation: 43+48=91 Current State: 27:[4, 17, 91], Operations: ['43+48=91'] Exploring Operation: 17+91=108, Resulting Numbers: [4, 108] Generated Node #3: [4, 108] from Operation: 17+91=108 Current State: 27:[4, 108], Operations: ['43+48=91', '17+91=108'] Exploring Operation: 108/4=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[43, 4, 48, 17], Operations: [] Exploring Operation: 48-43=5, Resulting Numbers: [4, 17, 5] Generated Node #0,0: 27:[4, 17, 5] Operation: 48-43=5 Exploring Operation: 48-17=31, Resulting Numbers: [43, 4, 31] Generated Node #0,1: 27:[43, 4, 31] Operation: 48-17=31 Moving to Node #0,0 Current State: 27:[4, 17, 5], Operations: ['48-43=5'] Exploring Operation: 17-4=13, Resulting Numbers: [5, 13] Generated Node #0,0,0: 27:[5, 13] Operation: 17-4=13 Exploring Operation: 17-5=12, Resulting Numbers: [4, 12] Generated Node #0,0,1: 27:[4, 12] Operation: 17-5=12 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 27:[4, 12], Operations: ['48-43=5', '17-5=12'] Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,27 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[5, 13], Operations: ['48-43=5', '17-4=13'] Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,27 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,27 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: 27:[43, 4, 31], Operations: ['48-17=31'] Exploring Operation: 43-31=12, Resulting Numbers: [4, 12] Generated Node #0,1,0: 27:[4, 12] Operation: 43-31=12 Exploring Operation: 43-4=39, Resulting Numbers: [31, 39] Generated Node #0,1,1: 27:[31, 39] Operation: 43-4=39 Moving to Node #0,1,0 Current State: 27:[4, 12], Operations: ['48-17=31', '43-31=12'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[31, 39], Operations: ['48-17=31', '43-4=39'] Exploring Operation: 39-31=8, Resulting Numbers: [8] 8,27 unequal: No Solution Exploring Operation: 31+39=70, Resulting Numbers: [70] 70,27 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 35, 7, 40, 13 ]
16
[ "35+40=75", "7*13=91", "91-75=16" ]
Current State: 16:[35, 7, 40, 13], Operations: [] Exploring Operation: 35+40=75, Resulting Numbers: [7, 13, 75] Generated Node #2: [7, 13, 75] from Operation: 35+40=75 Current State: 16:[7, 13, 75], Operations: ['35+40=75'] Exploring Operation: 7*13=91, Resulting Numbers: [75, 91] Generated Node #3: [75, 91] from Operation: 7*13=91 Current State: 16:[75, 91], Operations: ['35+40=75', '7*13=91'] Exploring Operation: 91-75=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[35, 7, 40, 13], Operations: [] Exploring Operation: 40-35=5, Resulting Numbers: [7, 13, 5] Generated Node #0,0: 16:[7, 13, 5] Operation: 40-35=5 Exploring Operation: 35/7=5, Resulting Numbers: [40, 13, 5] Generated Node #0,1: 16:[40, 13, 5] Operation: 35/7=5 Exploring Operation: 35-13=22, Resulting Numbers: [7, 40, 22] Generated Node #0,2: 16:[7, 40, 22] Operation: 35-13=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[7, 13, 5], Operations: ['40-35=5'] Exploring Operation: 13-7=6, Resulting Numbers: [5, 6] Generated Node #0,0,0: 16:[5, 6] Operation: 13-7=6 Exploring Operation: 7-5=2, Resulting Numbers: [13, 2] Generated Node #0,0,1: 16:[13, 2] Operation: 7-5=2 Exploring Operation: 13-5=8, Resulting Numbers: [7, 8] Generated Node #0,0,2: 16:[7, 8] Operation: 13-5=8 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 16:[7, 8], Operations: ['40-35=5', '13-5=8'] Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,16 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,16 unequal: No Solution No 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: 16:[5, 6], Operations: ['40-35=5', '13-7=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,16 unequal: No Solution No 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: 16:[13, 2], Operations: ['40-35=5', '7-5=2'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,16 unequal: No Solution Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,16 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: 16:[40, 13, 5], Operations: ['35/7=5'] Exploring Operation: 40/5=8, Resulting Numbers: [13, 8] Generated Node #0,1,0: 16:[13, 8] Operation: 40/5=8 Exploring Operation: 40-13=27, Resulting Numbers: [5, 27] Generated Node #0,1,1: 16:[5, 27] Operation: 40-13=27 Exploring Operation: 40-5=35, Resulting Numbers: [13, 35] Generated Node #0,1,2: 16:[13, 35] Operation: 40-5=35 Moving to Node #0,1,0 Current State: 16:[13, 8], Operations: ['35/7=5', '40/5=8'] Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,16 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,16 unequal: No Solution Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[5, 27], Operations: ['35/7=5', '40-13=27'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,16 unequal: No Solution Exploring Operation: 5*27=135, Resulting Numbers: [135] 135,16 unequal: No Solution Moving to Node #0,1,2 Current State: 16:[13, 35], Operations: ['35/7=5', '40-5=35'] Exploring Operation: 35-13=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 13+35=48, Resulting Numbers: [48] 48,16 unequal: No Solution Exploring Operation: 13*35=455, Resulting Numbers: [455] 455,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[7, 40, 22], Operations: ['35-13=22'] Exploring Operation: 40-7=33, Resulting Numbers: [22, 33] Generated Node #0,2,0: 16:[22, 33] Operation: 40-7=33 Exploring Operation: 40-22=18, Resulting Numbers: [7, 18] Generated Node #0,2,1: 16:[7, 18] Operation: 40-22=18 Exploring Operation: 22-7=15, Resulting Numbers: [40, 15] Generated Node #0,2,2: 16:[40, 15] Operation: 22-7=15 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 16:[7, 18], Operations: ['35-13=22', '40-22=18'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,16 unequal: No Solution Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,16 unequal: No Solution No 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: 16:[22, 33], Operations: ['35-13=22', '40-7=33'] Exploring Operation: 22+33=55, Resulting Numbers: [55] 55,16 unequal: No Solution Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 22*33=726, Resulting Numbers: [726] 726,16 unequal: No Solution No 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: 16:[40, 15], Operations: ['35-13=22', '22-7=15'] Exploring Operation: 40*15=600, Resulting Numbers: [600] 600,16 unequal: No Solution Exploring Operation: 40-15=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 40+15=55, Resulting Numbers: [55] 55,16 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
[ 82, 26, 1, 88 ]
33
[ "82-26=56", "1+88=89", "89-56=33" ]
Current State: 33:[82, 26, 1, 88], Operations: [] Exploring Operation: 82-26=56, Resulting Numbers: [1, 88, 56] Generated Node #2: [1, 88, 56] from Operation: 82-26=56 Current State: 33:[1, 88, 56], Operations: ['82-26=56'] Exploring Operation: 1+88=89, Resulting Numbers: [56, 89] Generated Node #3: [56, 89] from Operation: 1+88=89 Current State: 33:[56, 89], Operations: ['82-26=56', '1+88=89'] Exploring Operation: 89-56=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[82, 26, 1, 88], Operations: [] Exploring Operation: 88-82=6, Resulting Numbers: [26, 1, 6] Generated Node #0,0: 33:[26, 1, 6] Operation: 88-82=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[26, 1, 6], Operations: ['88-82=6'] Exploring Operation: 26+6=32, Resulting Numbers: [1, 32] Generated Node #0,0,0: 33:[1, 32] Operation: 26+6=32 Moving to Node #0,0,0 Current State: 33:[1, 32], Operations: ['88-82=6', '26+6=32'] Exploring Operation: 1+32=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[82, 26, 1, 88], Operations: [] Exploring Operation: 88-82=6, Resulting Numbers: [26, 1, 6] Generated Node #0,0: 33:[26, 1, 6] Operation: 88-82=6 Moving to Node #0,0 Current State: 33:[26, 1, 6], Operations: ['88-82=6'] Exploring Operation: 26+6=32, Resulting Numbers: [1, 32] Generated Node #0,0,0: 33:[1, 32] Operation: 26+6=32 Moving to Node #0,0,0 Current State: 33:[1, 32], Operations: ['88-82=6', '26+6=32'] Exploring Operation: 1+32=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 11, 99, 69, 5 ]
28
[ "11-5=6", "99+69=168", "168/6=28" ]
Current State: 28:[11, 99, 69, 5], Operations: [] Exploring Operation: 11-5=6, Resulting Numbers: [99, 69, 6] Generated Node #2: [99, 69, 6] from Operation: 11-5=6 Current State: 28:[99, 69, 6], Operations: ['11-5=6'] Exploring Operation: 99+69=168, Resulting Numbers: [6, 168] Generated Node #3: [6, 168] from Operation: 99+69=168 Current State: 28:[6, 168], Operations: ['11-5=6', '99+69=168'] Exploring Operation: 168/6=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[11, 99, 69, 5], Operations: [] Exploring Operation: 99/11=9, Resulting Numbers: [69, 5, 9] Generated Node #0,0: 28:[69, 5, 9] Operation: 99/11=9 Exploring Operation: 99-69=30, Resulting Numbers: [11, 5, 30] Generated Node #0,1: 28:[11, 5, 30] Operation: 99-69=30 Moving to Node #0,1 Current State: 28:[11, 5, 30], Operations: ['99-69=30'] Exploring Operation: 11-5=6, Resulting Numbers: [30, 6] Generated Node #0,1,0: 28:[30, 6] Operation: 11-5=6 Exploring Operation: 11+5=16, Resulting Numbers: [30, 16] Generated Node #0,1,1: 28:[30, 16] Operation: 11+5=16 Moving to Node #0,0 Current State: 28:[69, 5, 9], Operations: ['99/11=9'] Exploring Operation: 69-5=64, Resulting Numbers: [9, 64] Generated Node #0,0,0: 28:[9, 64] Operation: 69-5=64 Exploring Operation: 69-9=60, Resulting Numbers: [5, 60] Generated Node #0,0,1: 28:[5, 60] Operation: 69-9=60 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 28:[5, 60], Operations: ['99/11=9', '69-9=60'] Exploring Operation: 60-5=55, Resulting Numbers: [55] 55,28 unequal: No Solution Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[9, 64], Operations: ['99/11=9', '69-5=64'] Exploring Operation: 9+64=73, Resulting Numbers: [73] 73,28 unequal: No Solution Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,28 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: 28:[30, 6], Operations: ['99-69=30', '11-5=6'] Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,28 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[30, 16], Operations: ['99-69=30', '11+5=16'] Exploring Operation: 30+16=46, Resulting Numbers: [46] 46,28 unequal: No Solution Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,28 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 58, 72, 57, 63 ]
70
[ "63-57=6", "72/6=12", "58+12=70" ]
Current State: 70:[58, 72, 57, 63], Operations: [] Exploring Operation: 63-57=6, Resulting Numbers: [58, 72, 6] Generated Node #2: [58, 72, 6] from Operation: 63-57=6 Current State: 70:[58, 72, 6], Operations: ['63-57=6'] Exploring Operation: 72/6=12, Resulting Numbers: [58, 12] Generated Node #3: [58, 12] from Operation: 72/6=12 Current State: 70:[58, 12], Operations: ['63-57=6', '72/6=12'] Exploring Operation: 58+12=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[58, 72, 57, 63], Operations: [] Exploring Operation: 63-57=6, Resulting Numbers: [58, 72, 6] Generated Node #0,0: 70:[58, 72, 6] Operation: 63-57=6 Exploring Operation: 63-58=5, Resulting Numbers: [72, 57, 5] Generated Node #0,1: 70:[72, 57, 5] Operation: 63-58=5 Exploring Operation: 58-57=1, Resulting Numbers: [72, 63, 1] Generated Node #0,2: 70:[72, 63, 1] Operation: 58-57=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[72, 63, 1], Operations: ['58-57=1'] Exploring Operation: 72-1=71, Resulting Numbers: [63, 71] Generated Node #0,2,0: 70:[63, 71] Operation: 72-1=71 Exploring Operation: 63+1=64, Resulting Numbers: [72, 64] Generated Node #0,2,1: 70:[72, 64] Operation: 63+1=64 Exploring Operation: 72-63=9, Resulting Numbers: [1, 9] Generated Node #0,2,2: 70:[1, 9] Operation: 72-63=9 Moving to Node #0,2,2 Current State: 70:[1, 9], Operations: ['58-57=1', '72-63=9'] Exploring Operation: 1*9=9, Resulting Numbers: [9] 9,70 unequal: No Solution Exploring Operation: 1+9=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,70 unequal: No Solution Moving to Node #0,2,0 Current State: 70:[63, 71], Operations: ['58-57=1', '72-1=71'] Exploring Operation: 63*71=4473, Resulting Numbers: [4473] 4473,70 unequal: No Solution Exploring Operation: 71-63=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 63+71=134, Resulting Numbers: [134] 134,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[72, 64], Operations: ['58-57=1', '63+1=64'] Exploring Operation: 72*64=4608, Resulting Numbers: [4608] 4608,70 unequal: No Solution Exploring Operation: 72-64=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 72+64=136, Resulting Numbers: [136] 136,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[58, 72, 6], Operations: ['63-57=6'] Exploring Operation: 58+6=64, Resulting Numbers: [72, 64] Generated Node #0,0,0: 70:[72, 64] Operation: 58+6=64 Exploring Operation: 72-58=14, Resulting Numbers: [6, 14] Generated Node #0,0,1: 70:[6, 14] Operation: 72-58=14 Exploring Operation: 72/6=12, Resulting Numbers: [58, 12] Generated Node #0,0,2: 70:[58, 12] Operation: 72/6=12 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 70:[6, 14], Operations: ['63-57=6', '72-58=14'] Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,70 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[72, 64], Operations: ['63-57=6', '58+6=64'] Exploring Operation: 72-64=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 72*64=4608, Resulting Numbers: [4608] 4608,70 unequal: No Solution Exploring Operation: 72+64=136, Resulting Numbers: [136] 136,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 70:[58, 12], Operations: ['63-57=6', '72/6=12'] Exploring Operation: 58*12=696, Resulting Numbers: [696] 696,70 unequal: No Solution Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,70 unequal: No Solution Exploring Operation: 58+12=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[58, 72, 57, 63], Operations: [] Exploring Operation: 63-57=6, Resulting Numbers: [58, 72, 6] Generated Node #0,0: 70:[58, 72, 6] Operation: 63-57=6 Moving to Node #0,0 Current State: 70:[58, 72, 6], Operations: ['63-57=6'] Exploring Operation: 72/6=12, Resulting Numbers: [58, 12] Generated Node #0,0,2: 70:[58, 12] Operation: 72/6=12 Moving to Node #0,0,2 Current State: 70:[58, 12], Operations: ['63-57=6', '72/6=12'] Exploring Operation: 58+12=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_3
sum_heuristic
[ 70, 14, 84, 77 ]
10
[ "77-70=7", "84-14=70", "70/7=10" ]
Current State: 10:[70, 14, 84, 77], Operations: [] Exploring Operation: 77-70=7, Resulting Numbers: [14, 84, 7] Generated Node #2: [14, 84, 7] from Operation: 77-70=7 Current State: 10:[14, 84, 7], Operations: ['77-70=7'] Exploring Operation: 84-14=70, Resulting Numbers: [7, 70] Generated Node #3: [7, 70] from Operation: 84-14=70 Current State: 10:[7, 70], Operations: ['77-70=7', '84-14=70'] Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[70, 14, 84, 77], Operations: [] Exploring Operation: 84/14=6, Resulting Numbers: [70, 77, 6] Generated Node #0,0: 10:[70, 77, 6] Operation: 84/14=6 Exploring Operation: 84-70=14, Resulting Numbers: [14, 77, 14] Generated Node #0,1: 10:[14, 77, 14] Operation: 84-70=14 Exploring Operation: 84-77=7, Resulting Numbers: [70, 14, 7] Generated Node #0,2: 10:[70, 14, 7] Operation: 84-77=7 Exploring Operation: 77-70=7, Resulting Numbers: [14, 84, 7] Generated Node #0,3: 10:[14, 84, 7] Operation: 77-70=7 Moving to Node #0,2 Current State: 10:[70, 14, 7], Operations: ['84-77=7'] Exploring Operation: 70-14=56, Resulting Numbers: [7, 56] Generated Node #0,2,0: 10:[7, 56] Operation: 70-14=56 Exploring Operation: 70/14=5, Resulting Numbers: [7, 5] Generated Node #0,2,1: 10:[7, 5] Operation: 70/14=5 Exploring Operation: 70-7=63, Resulting Numbers: [14, 63] Generated Node #0,2,2: 10:[14, 63] Operation: 70-7=63 Exploring Operation: 70/7=10, Resulting Numbers: [14, 10] Generated Node #0,2,3: 10:[14, 10] Operation: 70/7=10 Moving to Node #0,1 Current State: 10:[14, 77, 14], Operations: ['84-70=14'] Exploring Operation: 14-14=0, Resulting Numbers: [77, 0] Generated Node #0,1,0: 10:[77, 0] Operation: 14-14=0 Exploring Operation: 14/14=1, Resulting Numbers: [77, 1] Generated Node #0,1,1: 10:[77, 1] Operation: 14/14=1 Exploring Operation: 77-14=63, Resulting Numbers: [14, 63] Generated Node #0,1,2: 10:[14, 63] Operation: 77-14=63 Exploring Operation: 77-14=63, Resulting Numbers: [14, 63] Generated Node #0,1,3: 10:[14, 63] Operation: 77-14=63 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 10:[14, 63], Operations: ['84-70=14', '77-14=63'] Exploring Operation: 14+63=77, Resulting Numbers: [77] 77,10 unequal: No Solution Exploring Operation: 14*63=882, Resulting Numbers: [882] 882,10 unequal: No Solution Exploring Operation: 63-14=49, Resulting Numbers: [49] 49,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 10:[14, 63], Operations: ['84-70=14', '77-14=63'] Exploring Operation: 14+63=77, Resulting Numbers: [77] 77,10 unequal: No Solution Exploring Operation: 14*63=882, Resulting Numbers: [882] 882,10 unequal: No Solution Exploring Operation: 63-14=49, Resulting Numbers: [49] 49,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[77, 1], Operations: ['84-70=14', '14/14=1'] Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,10 unequal: No Solution Exploring Operation: 77*1=77, Resulting Numbers: [77] 77,10 unequal: No Solution Exploring Operation: 77+1=78, Resulting Numbers: [78] 78,10 unequal: No Solution Exploring Operation: 77/1=77, Resulting Numbers: [77] 77,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[77, 0], Operations: ['84-70=14', '14-14=0'] Exploring Operation: 77*0=0, Resulting Numbers: [0] 0,10 unequal: No Solution Exploring Operation: 77+0=77, Resulting Numbers: [77] 77,10 unequal: No Solution Exploring Operation: 77-0=77, Resulting Numbers: [77] 77,10 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: 10:[14, 84, 7], Operations: ['77-70=7'] Exploring Operation: 84/14=6, Resulting Numbers: [7, 6] Generated Node #0,3,0: 10:[7, 6] Operation: 84/14=6 Exploring Operation: 84-14=70, Resulting Numbers: [7, 70] Generated Node #0,3,1: 10:[7, 70] Operation: 84-14=70 Exploring Operation: 84/7=12, Resulting Numbers: [14, 12] Generated Node #0,3,2: 10:[14, 12] Operation: 84/7=12 Exploring Operation: 84-7=77, Resulting Numbers: [14, 77] Generated Node #0,3,3: 10:[14, 77] Operation: 84-7=77 Moving to Node #0,0 Current State: 10:[70, 77, 6], Operations: ['84/14=6'] Exploring Operation: 70+6=76, Resulting Numbers: [77, 76] Generated Node #0,0,0: 10:[77, 76] Operation: 70+6=76 Exploring Operation: 77-6=71, Resulting Numbers: [70, 71] Generated Node #0,0,1: 10:[70, 71] Operation: 77-6=71 Exploring Operation: 77-70=7, Resulting Numbers: [6, 7] Generated Node #0,0,2: 10:[6, 7] Operation: 77-70=7 Exploring Operation: 70-6=64, Resulting Numbers: [77, 64] Generated Node #0,0,3: 10:[77, 64] Operation: 70-6=64 Moving to Node #0,2,1 Current State: 10:[7, 5], Operations: ['84-77=7', '70/14=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,10 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,10 unequal: No Solution Moving to Node #0,3,0 Current State: 10:[7, 6], Operations: ['77-70=7', '84/14=6'] Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,10 unequal: No Solution Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,10 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[6, 7], Operations: ['84/14=6', '77-70=7'] Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,10 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,10 unequal: No Solution Moving to Node #0,2,3 Current State: 10:[14, 10], Operations: ['84-77=7', '70/7=10'] Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,10 unequal: No Solution Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,10 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,10 unequal: No Solution Moving to Node #0,3,2 Current State: 10:[14, 12], Operations: ['77-70=7', '84/7=12'] Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,10 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 14*12=168, Resulting Numbers: [168] 168,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[7, 56], Operations: ['84-77=7', '70-14=56'] Exploring Operation: 7+56=63, Resulting Numbers: [63] 63,10 unequal: No Solution Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 7*56=392, Resulting Numbers: [392] 392,10 unequal: No Solution Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,10 unequal: No Solution Moving to Node #0,2,2 Current State: 10:[14, 63], Operations: ['84-77=7', '70-7=63'] Exploring Operation: 63-14=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 14+63=77, Resulting Numbers: [77] 77,10 unequal: No Solution Exploring Operation: 14*63=882, Resulting Numbers: [882] 882,10 unequal: No Solution Moving to Node #0,3,1 Current State: 10:[7, 70], Operations: ['77-70=7', '84-14=70'] Exploring Operation: 7*70=490, Resulting Numbers: [490] 490,10 unequal: No Solution Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,10 unequal: No Solution Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[70, 14, 84, 77], Operations: [] Exploring Operation: 77-70=7, Resulting Numbers: [14, 84, 7] Generated Node #0,3: 10:[14, 84, 7] Operation: 77-70=7 Moving to Node #0,3 Current State: 10:[14, 84, 7], Operations: ['77-70=7'] Exploring Operation: 84-14=70, Resulting Numbers: [7, 70] Generated Node #0,3,1: 10:[7, 70] Operation: 84-14=70 Moving to Node #0,3,1 Current State: 10:[7, 70], Operations: ['77-70=7', '84-14=70'] Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
0.946181
hs_4
mult_heuristic
[ 82, 51, 51, 70 ]
82
[ "51-51=0", "70*0=0", "82+0=82" ]
Current State: 82:[82, 51, 51, 70], Operations: [] Exploring Operation: 51-51=0, Resulting Numbers: [82, 70, 0] Generated Node #2: [82, 70, 0] from Operation: 51-51=0 Current State: 82:[82, 70, 0], Operations: ['51-51=0'] Exploring Operation: 70*0=0, Resulting Numbers: [82, 0] Generated Node #3: [82, 0] from Operation: 70*0=0 Current State: 82:[82, 0], Operations: ['51-51=0', '70*0=0'] Exploring Operation: 82+0=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[82, 51, 51, 70], Operations: [] Exploring Operation: 70-51=19, Resulting Numbers: [82, 51, 19] Generated Node #0,0: 82:[82, 51, 19] Operation: 70-51=19 Exploring Operation: 51-51=0, Resulting Numbers: [82, 70, 0] Generated Node #0,1: 82:[82, 70, 0] Operation: 51-51=0 Exploring Operation: 51/51=1, Resulting Numbers: [82, 70, 1] Generated Node #0,2: 82:[82, 70, 1] Operation: 51/51=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[82, 70, 1], Operations: ['51/51=1'] Exploring Operation: 70+1=71, Resulting Numbers: [82, 71] Generated Node #0,2,0: 82:[82, 71] Operation: 70+1=71 Exploring Operation: 82-70=12, Resulting Numbers: [1, 12] Generated Node #0,2,1: 82:[1, 12] Operation: 82-70=12 Exploring Operation: 82*1=82, Resulting Numbers: [70, 82] Generated Node #0,2,2: 82:[70, 82] Operation: 82*1=82 Moving to Node #0,2,0 Current State: 82:[82, 71], Operations: ['51/51=1', '70+1=71'] Exploring Operation: 82*71=5822, Resulting Numbers: [5822] 5822,82 unequal: No Solution Exploring Operation: 82+71=153, Resulting Numbers: [153] 153,82 unequal: No Solution Exploring Operation: 82-71=11, Resulting Numbers: [11] 11,82 unequal: No Solution Moving to Node #0,2,1 Current State: 82:[1, 12], Operations: ['51/51=1', '82-70=12'] Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,82 unequal: No Solution Exploring Operation: 1*12=12, Resulting Numbers: [12] 12,82 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,82 unequal: No Solution Moving to Node #0,2,2 Current State: 82:[70, 82], Operations: ['51/51=1', '82*1=82'] Exploring Operation: 70*82=5740, Resulting Numbers: [5740] 5740,82 unequal: No Solution Exploring Operation: 70+82=152, Resulting Numbers: [152] 152,82 unequal: No Solution Exploring Operation: 82-70=12, Resulting Numbers: [12] 12,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,1 Current State: 82:[82, 70, 0], Operations: ['51-51=0'] Exploring Operation: 82-70=12, Resulting Numbers: [0, 12] Generated Node #0,1,0: 82:[0, 12] Operation: 82-70=12 Exploring Operation: 70*0=0, Resulting Numbers: [82, 0] Generated Node #0,1,1: 82:[82, 0] Operation: 70*0=0 Exploring Operation: 82+0=82, Resulting Numbers: [70, 82] Generated Node #0,1,2: 82:[70, 82] Operation: 82+0=82 Moving to Node #0,1,1 Current State: 82:[82, 0], Operations: ['51-51=0', '70*0=0'] Exploring Operation: 82*0=0, Resulting Numbers: [0] 0,82 unequal: No Solution Exploring Operation: 82+0=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[82, 51, 51, 70], Operations: [] Exploring Operation: 51-51=0, Resulting Numbers: [82, 70, 0] Generated Node #0,1: 82:[82, 70, 0] Operation: 51-51=0 Moving to Node #0,1 Current State: 82:[82, 70, 0], Operations: ['51-51=0'] Exploring Operation: 70*0=0, Resulting Numbers: [82, 0] Generated Node #0,1,1: 82:[82, 0] Operation: 70*0=0 Moving to Node #0,1,1 Current State: 82:[82, 0], Operations: ['51-51=0', '70*0=0'] Exploring Operation: 82+0=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 40, 26, 84, 98 ]
80
[ "40+26=66", "98-84=14", "66+14=80" ]
Current State: 80:[40, 26, 84, 98], Operations: [] Exploring Operation: 40+26=66, Resulting Numbers: [84, 98, 66] Generated Node #2: [84, 98, 66] from Operation: 40+26=66 Current State: 80:[84, 98, 66], Operations: ['40+26=66'] Exploring Operation: 98-84=14, Resulting Numbers: [66, 14] Generated Node #3: [66, 14] from Operation: 98-84=14 Current State: 80:[66, 14], Operations: ['40+26=66', '98-84=14'] Exploring Operation: 66+14=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[40, 26, 84, 98], Operations: [] Exploring Operation: 98-26=72, Resulting Numbers: [40, 84, 72] Generated Node #0,0: 80:[40, 84, 72] Operation: 98-26=72 Exploring Operation: 40-26=14, Resulting Numbers: [84, 98, 14] Generated Node #0,1: 80:[84, 98, 14] Operation: 40-26=14 Exploring Operation: 98-84=14, Resulting Numbers: [40, 26, 14] Generated Node #0,2: 80:[40, 26, 14] Operation: 98-84=14 Exploring Operation: 84-40=44, Resulting Numbers: [26, 98, 44] Generated Node #0,3: 80:[26, 98, 44] Operation: 84-40=44 Exploring Operation: 98-40=58, Resulting Numbers: [26, 84, 58] Generated Node #0,4: 80:[26, 84, 58] Operation: 98-40=58 Moving to Node #0,2 Current State: 80:[40, 26, 14], Operations: ['98-84=14'] Exploring Operation: 26+14=40, Resulting Numbers: [40, 40] Generated Node #0,2,0: 80:[40, 40] Operation: 26+14=40 Exploring Operation: 26-14=12, Resulting Numbers: [40, 12] Generated Node #0,2,1: 80:[40, 12] Operation: 26-14=12 Exploring Operation: 40-26=14, Resulting Numbers: [14, 14] Generated Node #0,2,2: 80:[14, 14] Operation: 40-26=14 Exploring Operation: 40-14=26, Resulting Numbers: [26, 26] Generated Node #0,2,3: 80:[26, 26] Operation: 40-14=26 Exploring Operation: 40+26=66, Resulting Numbers: [14, 66] Generated Node #0,2,4: 80:[14, 66] Operation: 40+26=66 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 80:[40, 40], Operations: ['98-84=14', '26+14=40'] Exploring Operation: 40-40=0, Resulting Numbers: [0] 0,80 unequal: No Solution Exploring Operation: 40*40=1600, Resulting Numbers: [1600] 1600,80 unequal: No Solution Exploring Operation: 40+40=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[40, 26, 84, 98], Operations: [] Exploring Operation: 98-84=14, Resulting Numbers: [40, 26, 14] Generated Node #0,2: 80:[40, 26, 14] Operation: 98-84=14 Moving to Node #0,2 Current State: 80:[40, 26, 14], Operations: ['98-84=14'] Exploring Operation: 26+14=40, Resulting Numbers: [40, 40] Generated Node #0,2,0: 80:[40, 40] Operation: 26+14=40 Moving to Node #0,2,0 Current State: 80:[40, 40], Operations: ['98-84=14', '26+14=40'] Exploring Operation: 40+40=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 1, 28, 71, 25 ]
18
[ "1*28=28", "71-25=46", "46-28=18" ]
Current State: 18:[1, 28, 71, 25], Operations: [] Exploring Operation: 1*28=28, Resulting Numbers: [71, 25, 28] Generated Node #2: [71, 25, 28] from Operation: 1*28=28 Current State: 18:[71, 25, 28], Operations: ['1*28=28'] Exploring Operation: 71-25=46, Resulting Numbers: [28, 46] Generated Node #3: [28, 46] from Operation: 71-25=46 Current State: 18:[28, 46], Operations: ['1*28=28', '71-25=46'] Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[1, 28, 71, 25], Operations: [] Exploring Operation: 71-25=46, Resulting Numbers: [1, 28, 46] Generated Node #0,0: 18:[1, 28, 46] Operation: 71-25=46 Exploring Operation: 28-1=27, Resulting Numbers: [71, 25, 27] Generated Node #0,1: 18:[71, 25, 27] Operation: 28-1=27 Exploring Operation: 71-28=43, Resulting Numbers: [1, 25, 43] Generated Node #0,2: 18:[1, 25, 43] Operation: 71-28=43 Exploring Operation: 28-25=3, Resulting Numbers: [1, 71, 3] Generated Node #0,3: 18:[1, 71, 3] Operation: 28-25=3 Moving to Node #0,2 Current State: 18:[1, 25, 43], Operations: ['71-28=43'] Exploring Operation: 43-25=18, Resulting Numbers: [1, 18] Generated Node #0,2,0: 18:[1, 18] Operation: 43-25=18 Exploring Operation: 43-1=42, Resulting Numbers: [25, 42] Generated Node #0,2,1: 18:[25, 42] Operation: 43-1=42 Exploring Operation: 1*25=25, Resulting Numbers: [43, 25] Generated Node #0,2,2: 18:[43, 25] Operation: 1*25=25 Exploring Operation: 25-1=24, Resulting Numbers: [43, 24] Generated Node #0,2,3: 18:[43, 24] Operation: 25-1=24 Moving to Node #0,0 Current State: 18:[1, 28, 46], Operations: ['71-25=46'] Exploring Operation: 46-1=45, Resulting Numbers: [28, 45] Generated Node #0,0,0: 18:[28, 45] Operation: 46-1=45 Exploring Operation: 46-28=18, Resulting Numbers: [1, 18] Generated Node #0,0,1: 18:[1, 18] Operation: 46-28=18 Exploring Operation: 28-1=27, Resulting Numbers: [46, 27] Generated Node #0,0,2: 18:[46, 27] Operation: 28-1=27 Exploring Operation: 1*28=28, Resulting Numbers: [46, 28] Generated Node #0,0,3: 18:[46, 28] Operation: 1*28=28 Moving to Node #0,3 Current State: 18:[1, 71, 3], Operations: ['28-25=3'] Exploring Operation: 71-1=70, Resulting Numbers: [3, 70] Generated Node #0,3,0: 18:[3, 70] Operation: 71-1=70 Exploring Operation: 71/1=71, Resulting Numbers: [3, 71] Generated Node #0,3,1: 18:[3, 71] Operation: 71/1=71 Exploring Operation: 71-3=68, Resulting Numbers: [1, 68] Generated Node #0,3,2: 18:[1, 68] Operation: 71-3=68 Exploring Operation: 1*71=71, Resulting Numbers: [3, 71] Generated Node #0,3,3: 18:[3, 71] Operation: 1*71=71 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 18:[1, 68], Operations: ['28-25=3', '71-3=68'] Exploring Operation: 68/1=68, Resulting Numbers: [68] 68,18 unequal: No Solution Exploring Operation: 1*68=68, Resulting Numbers: [68] 68,18 unequal: No Solution Exploring Operation: 1+68=69, Resulting Numbers: [69] 69,18 unequal: No Solution Exploring Operation: 68-1=67, Resulting Numbers: [67] 67,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:[3, 70], Operations: ['28-25=3', '71-1=70'] Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,18 unequal: No Solution Exploring Operation: 3*70=210, Resulting Numbers: [210] 210,18 unequal: No Solution Exploring Operation: 3+70=73, Resulting Numbers: [73] 73,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:[3, 71], Operations: ['28-25=3', '71/1=71'] Exploring Operation: 3+71=74, Resulting Numbers: [74] 74,18 unequal: No Solution Exploring Operation: 3*71=213, Resulting Numbers: [213] 213,18 unequal: No Solution Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,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:[3, 71], Operations: ['28-25=3', '1*71=71'] Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,18 unequal: No Solution Exploring Operation: 3*71=213, Resulting Numbers: [213] 213,18 unequal: No Solution Exploring Operation: 3+71=74, Resulting Numbers: [74] 74,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 18:[71, 25, 27], Operations: ['28-1=27'] Exploring Operation: 71-25=46, Resulting Numbers: [27, 46] Generated Node #0,1,0: 18:[27, 46] Operation: 71-25=46 Exploring Operation: 71-27=44, Resulting Numbers: [25, 44] Generated Node #0,1,1: 18:[25, 44] Operation: 71-27=44 Exploring Operation: 27-25=2, Resulting Numbers: [71, 2] Generated Node #0,1,2: 18:[71, 2] Operation: 27-25=2 Exploring Operation: 71+25=96, Resulting Numbers: [27, 96] Generated Node #0,1,3: 18:[27, 96] Operation: 71+25=96 Moving to Node #0,2,0 Current State: 18:[1, 18], Operations: ['71-28=43', '43-25=18'] Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[1, 28, 71, 25], Operations: [] Exploring Operation: 71-28=43, Resulting Numbers: [1, 25, 43] Generated Node #0,2: 18:[1, 25, 43] Operation: 71-28=43 Moving to Node #0,2 Current State: 18:[1, 25, 43], Operations: ['71-28=43'] Exploring Operation: 43-25=18, Resulting Numbers: [1, 18] Generated Node #0,2,0: 18:[1, 18] Operation: 43-25=18 Moving to Node #0,2,0 Current State: 18:[1, 18], Operations: ['71-28=43', '43-25=18'] Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
0.967014
hs_4
sum_heuristic
[ 85, 40, 58, 86 ]
73
[ "85-40=45", "86-58=28", "45+28=73" ]
Current State: 73:[85, 40, 58, 86], Operations: [] Exploring Operation: 85-40=45, Resulting Numbers: [58, 86, 45] Generated Node #2: [58, 86, 45] from Operation: 85-40=45 Current State: 73:[58, 86, 45], Operations: ['85-40=45'] Exploring Operation: 86-58=28, Resulting Numbers: [45, 28] Generated Node #3: [45, 28] from Operation: 86-58=28 Current State: 73:[45, 28], Operations: ['85-40=45', '86-58=28'] Exploring Operation: 45+28=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[85, 40, 58, 86], Operations: [] Exploring Operation: 85-40=45, Resulting Numbers: [58, 86, 45] Generated Node #0,0: 73:[58, 86, 45] Operation: 85-40=45 Exploring Operation: 85+40=125, Resulting Numbers: [58, 86, 125] Generated Node #0,1: 73:[58, 86, 125] Operation: 85+40=125 Exploring Operation: 86-40=46, Resulting Numbers: [85, 58, 46] Generated Node #0,2: 73:[85, 58, 46] Operation: 86-40=46 Exploring Operation: 40+58=98, Resulting Numbers: [85, 86, 98] Generated Node #0,3: 73:[85, 86, 98] Operation: 40+58=98 Start Sub Search at level 1: Moving to Node #0,3 Current State: 73:[85, 86, 98], Operations: ['40+58=98'] Exploring Operation: 85+86=171, Resulting Numbers: [98, 171] Generated Node #0,3,0: 73:[98, 171] Operation: 85+86=171 Exploring Operation: 98-85=13, Resulting Numbers: [86, 13] Generated Node #0,3,1: 73:[86, 13] Operation: 98-85=13 Exploring Operation: 98-86=12, Resulting Numbers: [85, 12] Generated Node #0,3,2: 73:[85, 12] Operation: 98-86=12 Exploring Operation: 86-85=1, Resulting Numbers: [98, 1] Generated Node #0,3,3: 73:[98, 1] Operation: 86-85=1 Moving to Node #0,3,1 Current State: 73:[86, 13], Operations: ['40+58=98', '98-85=13'] Exploring Operation: 86*13=1118, Resulting Numbers: [1118] 1118,73 unequal: No Solution Exploring Operation: 86+13=99, Resulting Numbers: [99] 99,73 unequal: No Solution Exploring Operation: 86-13=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[85, 40, 58, 86], Operations: [] Exploring Operation: 40+58=98, Resulting Numbers: [85, 86, 98] Generated Node #0,3: 73:[85, 86, 98] Operation: 40+58=98 Moving to Node #0,3 Current State: 73:[85, 86, 98], Operations: ['40+58=98'] Exploring Operation: 98-85=13, Resulting Numbers: [86, 13] Generated Node #0,3,1: 73:[86, 13] Operation: 98-85=13 Moving to Node #0,3,1 Current State: 73:[86, 13], Operations: ['40+58=98', '98-85=13'] Exploring Operation: 86-13=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 58, 16, 65, 14 ]
37
[ "58-16=42", "65+14=79", "79-42=37" ]
Current State: 37:[58, 16, 65, 14], Operations: [] Exploring Operation: 58-16=42, Resulting Numbers: [65, 14, 42] Generated Node #2: [65, 14, 42] from Operation: 58-16=42 Current State: 37:[65, 14, 42], Operations: ['58-16=42'] Exploring Operation: 65+14=79, Resulting Numbers: [42, 79] Generated Node #3: [42, 79] from Operation: 65+14=79 Current State: 37:[42, 79], Operations: ['58-16=42', '65+14=79'] Exploring Operation: 79-42=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[58, 16, 65, 14], Operations: [] Exploring Operation: 58-14=44, Resulting Numbers: [16, 65, 44] Generated Node #0,0: 37:[16, 65, 44] Operation: 58-14=44 Exploring Operation: 58-16=42, Resulting Numbers: [65, 14, 42] Generated Node #0,1: 37:[65, 14, 42] Operation: 58-16=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[16, 65, 44], Operations: ['58-14=44'] Exploring Operation: 65-16=49, Resulting Numbers: [44, 49] Generated Node #0,0,0: 37:[44, 49] Operation: 65-16=49 Exploring Operation: 44-16=28, Resulting Numbers: [65, 28] Generated Node #0,0,1: 37:[65, 28] Operation: 44-16=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[44, 49], Operations: ['58-14=44', '65-16=49'] Exploring Operation: 49-44=5, Resulting Numbers: [5] 5,37 unequal: No Solution Exploring Operation: 44+49=93, Resulting Numbers: [93] 93,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 37:[65, 28], Operations: ['58-14=44', '44-16=28'] Exploring Operation: 65+28=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 65-28=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[58, 16, 65, 14], Operations: [] Exploring Operation: 58-14=44, Resulting Numbers: [16, 65, 44] Generated Node #0,0: 37:[16, 65, 44] Operation: 58-14=44 Moving to Node #0,0 Current State: 37:[16, 65, 44], Operations: ['58-14=44'] Exploring Operation: 44-16=28, Resulting Numbers: [65, 28] Generated Node #0,0,1: 37:[65, 28] Operation: 44-16=28 Moving to Node #0,0,1 Current State: 37:[65, 28], Operations: ['58-14=44', '44-16=28'] Exploring Operation: 65-28=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 88, 48, 29, 80 ]
11
[ "88-48=40", "80-29=51", "51-40=11" ]
Current State: 11:[88, 48, 29, 80], Operations: [] Exploring Operation: 88-48=40, Resulting Numbers: [29, 80, 40] Generated Node #2: [29, 80, 40] from Operation: 88-48=40 Current State: 11:[29, 80, 40], Operations: ['88-48=40'] Exploring Operation: 80-29=51, Resulting Numbers: [40, 51] Generated Node #3: [40, 51] from Operation: 80-29=51 Current State: 11:[40, 51], Operations: ['88-48=40', '80-29=51'] Exploring Operation: 51-40=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[88, 48, 29, 80], Operations: [] Exploring Operation: 88-80=8, Resulting Numbers: [48, 29, 8] Generated Node #0,0: 11:[48, 29, 8] Operation: 88-80=8 Exploring Operation: 80-48=32, Resulting Numbers: [88, 29, 32] Generated Node #0,1: 11:[88, 29, 32] Operation: 80-48=32 Exploring Operation: 88-29=59, Resulting Numbers: [48, 80, 59] Generated Node #0,2: 11:[48, 80, 59] Operation: 88-29=59 Exploring Operation: 88-48=40, Resulting Numbers: [29, 80, 40] Generated Node #0,3: 11:[29, 80, 40] Operation: 88-48=40 Moving to Node #0,0 Current State: 11:[48, 29, 8], Operations: ['88-80=8'] Exploring Operation: 48-29=19, Resulting Numbers: [8, 19] Generated Node #0,0,0: 11:[8, 19] Operation: 48-29=19 Exploring Operation: 48-8=40, Resulting Numbers: [29, 40] Generated Node #0,0,1: 11:[29, 40] Operation: 48-8=40 Exploring Operation: 48/8=6, Resulting Numbers: [29, 6] Generated Node #0,0,2: 11:[29, 6] Operation: 48/8=6 Exploring Operation: 29-8=21, Resulting Numbers: [48, 21] Generated Node #0,0,3: 11:[48, 21] Operation: 29-8=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[8, 19], Operations: ['88-80=8', '48-29=19'] Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,11 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[88, 48, 29, 80], Operations: [] Exploring Operation: 88-80=8, Resulting Numbers: [48, 29, 8] Generated Node #0,0: 11:[48, 29, 8] Operation: 88-80=8 Moving to Node #0,0 Current State: 11:[48, 29, 8], Operations: ['88-80=8'] Exploring Operation: 48-29=19, Resulting Numbers: [8, 19] Generated Node #0,0,0: 11:[8, 19] Operation: 48-29=19 Moving to Node #0,0,0 Current State: 11:[8, 19], Operations: ['88-80=8', '48-29=19'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 39, 60, 55, 89 ]
66
[ "89-39=50", "60*55=3300", "3300/50=66" ]
Current State: 66:[39, 60, 55, 89], Operations: [] Exploring Operation: 89-39=50, Resulting Numbers: [60, 55, 50] Generated Node #2: [60, 55, 50] from Operation: 89-39=50 Current State: 66:[60, 55, 50], Operations: ['89-39=50'] Exploring Operation: 60*55=3300, Resulting Numbers: [50, 3300] Generated Node #3: [50, 3300] from Operation: 60*55=3300 Current State: 66:[50, 3300], Operations: ['89-39=50', '60*55=3300'] Exploring Operation: 3300/50=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[39, 60, 55, 89], Operations: [] Exploring Operation: 89-55=34, Resulting Numbers: [39, 60, 34] Generated Node #0,0: 66:[39, 60, 34] Operation: 89-55=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[39, 60, 34], Operations: ['89-55=34'] Exploring Operation: 60-39=21, Resulting Numbers: [34, 21] Generated Node #0,0,0: 66:[34, 21] Operation: 60-39=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 66:[34, 21], Operations: ['89-55=34', '60-39=21'] Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 44, 57, 15, 5 ]
98
[ "44+57=101", "15/5=3", "101-3=98" ]
Current State: 98:[44, 57, 15, 5], Operations: [] Exploring Operation: 44+57=101, Resulting Numbers: [15, 5, 101] Generated Node #2: [15, 5, 101] from Operation: 44+57=101 Current State: 98:[15, 5, 101], Operations: ['44+57=101'] Exploring Operation: 15/5=3, Resulting Numbers: [101, 3] Generated Node #3: [101, 3] from Operation: 15/5=3 Current State: 98:[101, 3], Operations: ['44+57=101', '15/5=3'] Exploring Operation: 101-3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[44, 57, 15, 5], Operations: [] Exploring Operation: 57-5=52, Resulting Numbers: [44, 15, 52] Generated Node #0,0: 98:[44, 15, 52] Operation: 57-5=52 Exploring Operation: 44+5=49, Resulting Numbers: [57, 15, 49] Generated Node #0,1: 98:[57, 15, 49] Operation: 44+5=49 Exploring Operation: 57-44=13, Resulting Numbers: [15, 5, 13] Generated Node #0,2: 98:[15, 5, 13] Operation: 57-44=13 Exploring Operation: 44+57=101, Resulting Numbers: [15, 5, 101] Generated Node #0,3: 98:[15, 5, 101] Operation: 44+57=101 Start Sub Search at level 1: Moving to Node #0,2 Current State: 98:[15, 5, 13], Operations: ['57-44=13'] Exploring Operation: 15-5=10, Resulting Numbers: [13, 10] Generated Node #0,2,0: 98:[13, 10] Operation: 15-5=10 Exploring Operation: 13-5=8, Resulting Numbers: [15, 8] Generated Node #0,2,1: 98:[15, 8] Operation: 13-5=8 Exploring Operation: 15/5=3, Resulting Numbers: [13, 3] Generated Node #0,2,2: 98:[13, 3] Operation: 15/5=3 Exploring Operation: 15-13=2, Resulting Numbers: [5, 2] Generated Node #0,2,3: 98:[5, 2] Operation: 15-13=2 Moving to Node #0,2,1 Current State: 98:[15, 8], Operations: ['57-44=13', '13-5=8'] Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,98 unequal: No Solution Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,98 unequal: No Solution Exploring Operation: 15*8=120, Resulting Numbers: [120] 120,98 unequal: No Solution Moving to Node #0,2,3 Current State: 98:[5, 2], Operations: ['57-44=13', '15-13=2'] Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,98 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,98 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,98 unequal: No Solution Moving to Node #0,2,2 Current State: 98:[13, 3], Operations: ['57-44=13', '15/5=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,98 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,98 unequal: No Solution Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,98 unequal: No Solution Moving to Node #0,2,0 Current State: 98:[13, 10], Operations: ['57-44=13', '15-5=10'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,98 unequal: No Solution Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,98 unequal: No Solution Exploring Operation: 13*10=130, Resulting Numbers: [130] 130,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,3 Current State: 98:[15, 5, 101], Operations: ['44+57=101'] Exploring Operation: 15+5=20, Resulting Numbers: [101, 20] Generated Node #0,3,0: 98:[101, 20] Operation: 15+5=20 Exploring Operation: 15-5=10, Resulting Numbers: [101, 10] Generated Node #0,3,1: 98:[101, 10] Operation: 15-5=10 Exploring Operation: 15/5=3, Resulting Numbers: [101, 3] Generated Node #0,3,2: 98:[101, 3] Operation: 15/5=3 Exploring Operation: 101-5=96, Resulting Numbers: [15, 96] Generated Node #0,3,3: 98:[15, 96] Operation: 101-5=96 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 98:[15, 96], Operations: ['44+57=101', '101-5=96'] Exploring Operation: 15*96=1440, Resulting Numbers: [1440] 1440,98 unequal: No Solution Exploring Operation: 96-15=81, Resulting Numbers: [81] 81,98 unequal: No Solution Exploring Operation: 15+96=111, Resulting Numbers: [111] 111,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:[101, 3], Operations: ['44+57=101', '15/5=3'] Exploring Operation: 101-3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[44, 57, 15, 5], Operations: [] Exploring Operation: 44+57=101, Resulting Numbers: [15, 5, 101] Generated Node #0,3: 98:[15, 5, 101] Operation: 44+57=101 Moving to Node #0,3 Current State: 98:[15, 5, 101], Operations: ['44+57=101'] Exploring Operation: 15/5=3, Resulting Numbers: [101, 3] Generated Node #0,3,2: 98:[101, 3] Operation: 15/5=3 Moving to Node #0,3,2 Current State: 98:[101, 3], Operations: ['44+57=101', '15/5=3'] Exploring Operation: 101-3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 58, 85, 76, 54 ]
38
[ "85-58=27", "76*27=2052", "2052/54=38" ]
Current State: 38:[58, 85, 76, 54], Operations: [] Exploring Operation: 85-58=27, Resulting Numbers: [76, 54, 27] Generated Node #2: [76, 54, 27] from Operation: 85-58=27 Current State: 38:[76, 54, 27], Operations: ['85-58=27'] Exploring Operation: 76*27=2052, Resulting Numbers: [54, 2052] Generated Node #3: [54, 2052] from Operation: 76*27=2052 Current State: 38:[54, 2052], Operations: ['85-58=27', '76*27=2052'] Exploring Operation: 2052/54=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[58, 85, 76, 54], Operations: [] Exploring Operation: 85-76=9, Resulting Numbers: [58, 54, 9] Generated Node #0,0: 38:[58, 54, 9] Operation: 85-76=9 Exploring Operation: 85-58=27, Resulting Numbers: [76, 54, 27] Generated Node #0,1: 38:[76, 54, 27] Operation: 85-58=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[58, 54, 9], Operations: ['85-76=9'] Exploring Operation: 58-54=4, Resulting Numbers: [9, 4] Generated Node #0,0,0: 38:[9, 4] Operation: 58-54=4 Exploring Operation: 54/9=6, Resulting Numbers: [58, 6] Generated Node #0,0,1: 38:[58, 6] Operation: 54/9=6 Moving to Node #0,0,0 Current State: 38:[9, 4], Operations: ['85-76=9', '58-54=4'] Exploring Operation: 9*4=36, Resulting Numbers: [36] 36,38 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[58, 6], Operations: ['85-76=9', '54/9=6'] Exploring Operation: 58+6=64, Resulting Numbers: [64] 64,38 unequal: No Solution Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[76, 54, 27], Operations: ['85-58=27'] Exploring Operation: 76-27=49, Resulting Numbers: [54, 49] Generated Node #0,1,0: 38:[54, 49] Operation: 76-27=49 Exploring Operation: 76-54=22, Resulting Numbers: [27, 22] Generated Node #0,1,1: 38:[27, 22] Operation: 76-54=22 Moving to Node #0,1,1 Current State: 38:[27, 22], Operations: ['85-58=27', '76-54=22'] Exploring Operation: 27+22=49, Resulting Numbers: [49] 49,38 unequal: No Solution Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[54, 49], Operations: ['85-58=27', '76-27=49'] Exploring Operation: 54-49=5, Resulting Numbers: [5] 5,38 unequal: No Solution Exploring Operation: 54+49=103, Resulting Numbers: [103] 103,38 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
[ 76, 39, 96, 57 ]
38
[ "76+39=115", "96+57=153", "153-115=38" ]
Current State: 38:[76, 39, 96, 57], Operations: [] Exploring Operation: 76+39=115, Resulting Numbers: [96, 57, 115] Generated Node #2: [96, 57, 115] from Operation: 76+39=115 Current State: 38:[96, 57, 115], Operations: ['76+39=115'] Exploring Operation: 96+57=153, Resulting Numbers: [115, 153] Generated Node #3: [115, 153] from Operation: 96+57=153 Current State: 38:[115, 153], Operations: ['76+39=115', '96+57=153'] Exploring Operation: 153-115=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[76, 39, 96, 57], Operations: [] Exploring Operation: 96-76=20, Resulting Numbers: [39, 57, 20] Generated Node #0,0: 38:[39, 57, 20] Operation: 96-76=20 Exploring Operation: 96-57=39, Resulting Numbers: [76, 39, 39] Generated Node #0,1: 38:[76, 39, 39] Operation: 96-57=39 Moving to Node #0,0 Current State: 38:[39, 57, 20], Operations: ['96-76=20'] Exploring Operation: 57-39=18, Resulting Numbers: [20, 18] Generated Node #0,0,0: 38:[20, 18] Operation: 57-39=18 Exploring Operation: 57-20=37, Resulting Numbers: [39, 37] Generated Node #0,0,1: 38:[39, 37] Operation: 57-20=37 Moving to Node #0,1 Current State: 38:[76, 39, 39], Operations: ['96-57=39'] Exploring Operation: 76-39=37, Resulting Numbers: [39, 37] Generated Node #0,1,0: 38:[39, 37] Operation: 76-39=37 Exploring Operation: 76-39=37, Resulting Numbers: [39, 37] Generated Node #0,1,1: 38:[39, 37] Operation: 76-39=37 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 38:[39, 37], Operations: ['96-57=39', '76-39=37'] Exploring Operation: 39-37=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 39+37=76, Resulting Numbers: [76] 76,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 38:[39, 37], Operations: ['96-57=39', '76-39=37'] Exploring Operation: 39+37=76, Resulting Numbers: [76] 76,38 unequal: No Solution Exploring Operation: 39-37=2, Resulting Numbers: [2] 2,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 38:[20, 18], Operations: ['96-76=20', '57-39=18'] Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[76, 39, 96, 57], Operations: [] Exploring Operation: 96-76=20, Resulting Numbers: [39, 57, 20] Generated Node #0,0: 38:[39, 57, 20] Operation: 96-76=20 Moving to Node #0,0 Current State: 38:[39, 57, 20], Operations: ['96-76=20'] Exploring Operation: 57-39=18, Resulting Numbers: [20, 18] Generated Node #0,0,0: 38:[20, 18] Operation: 57-39=18 Moving to Node #0,0,0 Current State: 38:[20, 18], Operations: ['96-76=20', '57-39=18'] Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 1, 43, 14, 77 ]
74
[ "43-1=42", "42/14=3", "77-3=74" ]
Current State: 74:[1, 43, 14, 77], Operations: [] Exploring Operation: 43-1=42, Resulting Numbers: [14, 77, 42] Generated Node #2: [14, 77, 42] from Operation: 43-1=42 Current State: 74:[14, 77, 42], Operations: ['43-1=42'] Exploring Operation: 42/14=3, Resulting Numbers: [77, 3] Generated Node #3: [77, 3] from Operation: 42/14=3 Current State: 74:[77, 3], Operations: ['43-1=42', '42/14=3'] Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[1, 43, 14, 77], Operations: [] Exploring Operation: 43-14=29, Resulting Numbers: [1, 77, 29] Generated Node #0,0: 74:[1, 77, 29] Operation: 43-14=29 Moving to Node #0,0 Current State: 74:[1, 77, 29], Operations: ['43-14=29'] Exploring Operation: 77-1=76, Resulting Numbers: [29, 76] Generated Node #0,0,0: 74:[29, 76] Operation: 77-1=76 Moving to Node #0,0,0 Current State: 74:[29, 76], Operations: ['43-14=29', '77-1=76'] Exploring Operation: 76-29=47, Resulting Numbers: [47] 47,74 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 42, 50, 78, 68 ]
53
[ "68-42=26", "78/26=3", "50+3=53" ]
Current State: 53:[42, 50, 78, 68], Operations: [] Exploring Operation: 68-42=26, Resulting Numbers: [50, 78, 26] Generated Node #2: [50, 78, 26] from Operation: 68-42=26 Current State: 53:[50, 78, 26], Operations: ['68-42=26'] Exploring Operation: 78/26=3, Resulting Numbers: [50, 3] Generated Node #3: [50, 3] from Operation: 78/26=3 Current State: 53:[50, 3], Operations: ['68-42=26', '78/26=3'] Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[42, 50, 78, 68], Operations: [] Exploring Operation: 78-42=36, Resulting Numbers: [50, 68, 36] Generated Node #0,0: 53:[50, 68, 36] Operation: 78-42=36 Exploring Operation: 78-50=28, Resulting Numbers: [42, 68, 28] Generated Node #0,1: 53:[42, 68, 28] Operation: 78-50=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[50, 68, 36], Operations: ['78-42=36'] Exploring Operation: 50+36=86, Resulting Numbers: [68, 86] Generated Node #0,0,0: 53:[68, 86] Operation: 50+36=86 Exploring Operation: 68-36=32, Resulting Numbers: [50, 32] Generated Node #0,0,1: 53:[50, 32] Operation: 68-36=32 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 53:[50, 32], Operations: ['78-42=36', '68-36=32'] Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 50+32=82, Resulting Numbers: [82] 82,53 unequal: No Solution No 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: 53:[68, 86], Operations: ['78-42=36', '50+36=86'] Exploring Operation: 86-68=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 68+86=154, Resulting Numbers: [154] 154,53 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: 53:[42, 68, 28], Operations: ['78-50=28'] Exploring Operation: 68-28=40, Resulting Numbers: [42, 40] Generated Node #0,1,0: 53:[42, 40] Operation: 68-28=40 Exploring Operation: 42+28=70, Resulting Numbers: [68, 70] Generated Node #0,1,1: 53:[68, 70] Operation: 42+28=70 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 53:[42, 40], Operations: ['78-50=28', '68-28=40'] Exploring Operation: 42-40=2, Resulting Numbers: [2] 2,53 unequal: No Solution Exploring Operation: 42+40=82, Resulting Numbers: [82] 82,53 unequal: No Solution No 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: 53:[68, 70], Operations: ['78-50=28', '42+28=70'] Exploring Operation: 68+70=138, Resulting Numbers: [138] 138,53 unequal: No Solution Exploring Operation: 70-68=2, Resulting Numbers: [2] 2,53 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
[ 9, 7, 61, 9 ]
35
[ "9-7=2", "61+9=70", "70/2=35" ]
Current State: 35:[9, 7, 61, 9], Operations: [] Exploring Operation: 9-7=2, Resulting Numbers: [61, 2] Generated Node #2: [61, 2] from Operation: 9-7=2 Current State: 35:[61, 2], Operations: ['9-7=2'] Exploring Operation: 61+9=70, Resulting Numbers: [2, 70] Generated Node #3: [2, 70] from Operation: 61+9=70 Current State: 35:[2, 70], Operations: ['9-7=2', '61+9=70'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[9, 7, 61, 9], Operations: [] Exploring Operation: 61-9=52, Resulting Numbers: [7, 9, 52] Generated Node #0,0: 35:[7, 9, 52] Operation: 61-9=52 Exploring Operation: 61-7=54, Resulting Numbers: [9, 9, 54] Generated Node #0,1: 35:[9, 9, 54] Operation: 61-7=54 Exploring Operation: 61-9=52, Resulting Numbers: [9, 7, 52] Generated Node #0,2: 35:[9, 7, 52] Operation: 61-9=52 Moving to Node #0,0 Current State: 35:[7, 9, 52], Operations: ['61-9=52'] Exploring Operation: 9-7=2, Resulting Numbers: [52, 2] Generated Node #0,0,0: 35:[52, 2] Operation: 9-7=2 Exploring Operation: 52-9=43, Resulting Numbers: [7, 43] Generated Node #0,0,1: 35:[7, 43] Operation: 52-9=43 Exploring Operation: 52-7=45, Resulting Numbers: [9, 45] Generated Node #0,0,2: 35:[9, 45] Operation: 52-7=45 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 35:[7, 43], Operations: ['61-9=52', '52-9=43'] Exploring Operation: 7+43=50, Resulting Numbers: [50] 50,35 unequal: No Solution Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 7*43=301, Resulting Numbers: [301] 301,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,2 Current State: 35:[9, 45], Operations: ['61-9=52', '52-7=45'] Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 9+45=54, Resulting Numbers: [54] 54,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,0 Current State: 35:[52, 2], Operations: ['61-9=52', '9-7=2'] Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,35 unequal: No Solution Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,35 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: 35:[9, 7, 52], Operations: ['61-9=52'] Exploring Operation: 9-7=2, Resulting Numbers: [52, 2] Generated Node #0,2,0: 35:[52, 2] Operation: 9-7=2 Exploring Operation: 52-9=43, Resulting Numbers: [7, 43] Generated Node #0,2,1: 35:[7, 43] Operation: 52-9=43 Exploring Operation: 52-7=45, Resulting Numbers: [9, 45] Generated Node #0,2,2: 35:[9, 45] Operation: 52-7=45 Moving to Node #0,1 Current State: 35:[9, 9, 54], Operations: ['61-7=54'] Exploring Operation: 54/9=6, Resulting Numbers: [9, 6] Generated Node #0,1,0: 35:[9, 6] Operation: 54/9=6 Exploring Operation: 54/9=6, Resulting Numbers: [9, 6] Generated Node #0,1,1: 35:[9, 6] Operation: 54/9=6 Exploring Operation: 54-9=45, Resulting Numbers: [9, 45] Generated Node #0,1,2: 35:[9, 45] Operation: 54-9=45 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 35:[9, 6], Operations: ['61-7=54', '54/9=6'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,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,1 Current State: 35:[9, 6], Operations: ['61-7=54', '54/9=6'] Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,35 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,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,2 Current State: 35:[9, 45], Operations: ['61-7=54', '54-9=45'] Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 9+45=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 35:[7, 43], Operations: ['61-9=52', '52-9=43'] Exploring Operation: 7*43=301, Resulting Numbers: [301] 301,35 unequal: No Solution Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 7+43=50, Resulting Numbers: [50] 50,35 unequal: No Solution Moving to Node #0,2,2 Current State: 35:[9, 45], Operations: ['61-9=52', '52-7=45'] Exploring Operation: 9+45=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,35 unequal: No Solution Moving to Node #0,2,0 Current State: 35:[52, 2], Operations: ['61-9=52', '9-7=2'] Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,35 unequal: No Solution Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,35 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 66, 49, 7, 61 ]
35
[ "66-61=5", "49/7=7", "5*7=35" ]
Current State: 35:[66, 49, 7, 61], Operations: [] Exploring Operation: 66-61=5, Resulting Numbers: [49, 7, 5] Generated Node #2: [49, 7, 5] from Operation: 66-61=5 Current State: 35:[49, 7, 5], Operations: ['66-61=5'] Exploring Operation: 49/7=7, Resulting Numbers: [5, 7] Generated Node #3: [5, 7] from Operation: 49/7=7 Current State: 35:[5, 7], Operations: ['66-61=5', '49/7=7'] Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[66, 49, 7, 61], Operations: [] Exploring Operation: 66-61=5, Resulting Numbers: [49, 7, 5] Generated Node #0,0: 35:[49, 7, 5] Operation: 66-61=5 Exploring Operation: 61-49=12, Resulting Numbers: [66, 7, 12] Generated Node #0,1: 35:[66, 7, 12] Operation: 61-49=12 Exploring Operation: 49/7=7, Resulting Numbers: [66, 61, 7] Generated Node #0,2: 35:[66, 61, 7] Operation: 49/7=7 Exploring Operation: 66-49=17, Resulting Numbers: [7, 61, 17] Generated Node #0,3: 35:[7, 61, 17] Operation: 66-49=17 Moving to Node #0,0 Current State: 35:[49, 7, 5], Operations: ['66-61=5'] Exploring Operation: 49-5=44, Resulting Numbers: [7, 44] Generated Node #0,0,0: 35:[7, 44] Operation: 49-5=44 Exploring Operation: 7*5=35, Resulting Numbers: [49, 35] Generated Node #0,0,1: 35:[49, 35] Operation: 7*5=35 Exploring Operation: 49-7=42, Resulting Numbers: [5, 42] Generated Node #0,0,2: 35:[5, 42] Operation: 49-7=42 Exploring Operation: 49/7=7, Resulting Numbers: [5, 7] Generated Node #0,0,3: 35:[5, 7] Operation: 49/7=7 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 35:[5, 7], Operations: ['66-61=5', '49/7=7'] Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[66, 49, 7, 61], Operations: [] Exploring Operation: 66-61=5, Resulting Numbers: [49, 7, 5] Generated Node #0,0: 35:[49, 7, 5] Operation: 66-61=5 Moving to Node #0,0 Current State: 35:[49, 7, 5], Operations: ['66-61=5'] Exploring Operation: 49/7=7, Resulting Numbers: [5, 7] Generated Node #0,0,3: 35:[5, 7] Operation: 49/7=7 Moving to Node #0,0,3 Current State: 35:[5, 7], Operations: ['66-61=5', '49/7=7'] Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic