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
[ 97, 22, 68, 5 ]
53
[ "97-22=75", "75/5=15", "68-15=53" ]
Current State: 53:[97, 22, 68, 5], Operations: [] Exploring Operation: 97-22=75, Resulting Numbers: [68, 5, 75] Generated Node #2: [68, 5, 75] from Operation: 97-22=75 Current State: 53:[68, 5, 75], Operations: ['97-22=75'] Exploring Operation: 75/5=15, Resulting Numbers: [68, 15] Generated Node #3: [68, 15] from Operation: 75/5=15 Current State: 53:[68, 15], Operations: ['97-22=75', '75/5=15'] Exploring Operation: 68-15=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[97, 22, 68, 5], Operations: [] Exploring Operation: 97-22=75, Resulting Numbers: [68, 5, 75] Generated Node #0,0: 53:[68, 5, 75] Operation: 97-22=75 Moving to Node #0,0 Current State: 53:[68, 5, 75], Operations: ['97-22=75'] Exploring Operation: 68-5=63, Resulting Numbers: [75, 63] Generated Node #0,0,0: 53:[75, 63] Operation: 68-5=63 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[75, 63], Operations: ['97-22=75', '68-5=63'] Exploring Operation: 75-63=12, Resulting Numbers: [12] 12,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 97, 38, 10, 95 ]
56
[ "97-95=2", "38-10=28", "2*28=56" ]
Current State: 56:[97, 38, 10, 95], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [38, 10, 2] Generated Node #2: [38, 10, 2] from Operation: 97-95=2 Current State: 56:[38, 10, 2], Operations: ['97-95=2'] Exploring Operation: 38-10=28, Resulting Numbers: [2, 28] Generated Node #3: [2, 28] from Operation: 38-10=28 Current State: 56:[2, 28], Operations: ['97-95=2', '38-10=28'] Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[97, 38, 10, 95], Operations: [] Exploring Operation: 95-38=57, Resulting Numbers: [97, 10, 57] Generated Node #0,0: 56:[97, 10, 57] Operation: 95-38=57 Exploring Operation: 97-95=2, Resulting Numbers: [38, 10, 2] Generated Node #0,1: 56:[38, 10, 2] Operation: 97-95=2 Exploring Operation: 97-38=59, Resulting Numbers: [10, 95, 59] Generated Node #0,2: 56:[10, 95, 59] Operation: 97-38=59 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[38, 10, 2], Operations: ['97-95=2'] Exploring Operation: 38+10=48, Resulting Numbers: [2, 48] Generated Node #0,1,0: 56:[2, 48] Operation: 38+10=48 Exploring Operation: 38-10=28, Resulting Numbers: [2, 28] Generated Node #0,1,1: 56:[2, 28] Operation: 38-10=28 Exploring Operation: 38/2=19, Resulting Numbers: [10, 19] Generated Node #0,1,2: 56:[10, 19] Operation: 38/2=19 Moving to Node #0,1,1 Current State: 56:[2, 28], Operations: ['97-95=2', '38-10=28'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[97, 38, 10, 95], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [38, 10, 2] Generated Node #0,1: 56:[38, 10, 2] Operation: 97-95=2 Moving to Node #0,1 Current State: 56:[38, 10, 2], Operations: ['97-95=2'] Exploring Operation: 38-10=28, Resulting Numbers: [2, 28] Generated Node #0,1,1: 56:[2, 28] Operation: 38-10=28 Moving to Node #0,1,1 Current State: 56:[2, 28], Operations: ['97-95=2', '38-10=28'] Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 15, 39, 21, 20 ]
17
[ "39-15=24", "21+20=41", "41-24=17" ]
Current State: 17:[15, 39, 21, 20], Operations: [] Exploring Operation: 39-15=24, Resulting Numbers: [21, 20, 24] Generated Node #2: [21, 20, 24] from Operation: 39-15=24 Current State: 17:[21, 20, 24], Operations: ['39-15=24'] Exploring Operation: 21+20=41, Resulting Numbers: [24, 41] Generated Node #3: [24, 41] from Operation: 21+20=41 Current State: 17:[24, 41], Operations: ['39-15=24', '21+20=41'] Exploring Operation: 41-24=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[15, 39, 21, 20], Operations: [] Exploring Operation: 21-15=6, Resulting Numbers: [39, 20, 6] Generated Node #0,0: 17:[39, 20, 6] Operation: 21-15=6 Exploring Operation: 39-15=24, Resulting Numbers: [21, 20, 24] Generated Node #0,1: 17:[21, 20, 24] Operation: 39-15=24 Exploring Operation: 39-20=19, Resulting Numbers: [15, 21, 19] Generated Node #0,2: 17:[15, 21, 19] Operation: 39-20=19 Exploring Operation: 20-15=5, Resulting Numbers: [39, 21, 5] Generated Node #0,3: 17:[39, 21, 5] Operation: 20-15=5 Exploring Operation: 39-21=18, Resulting Numbers: [15, 20, 18] Generated Node #0,4: 17:[15, 20, 18] Operation: 39-21=18 Start Sub Search at level 1: Moving to Node #0,4 Current State: 17:[15, 20, 18], Operations: ['39-21=18'] Exploring Operation: 20-15=5, Resulting Numbers: [18, 5] Generated Node #0,4,0: 17:[18, 5] Operation: 20-15=5 Exploring Operation: 15+20=35, Resulting Numbers: [18, 35] Generated Node #0,4,1: 17:[18, 35] Operation: 15+20=35 Exploring Operation: 18-15=3, Resulting Numbers: [20, 3] Generated Node #0,4,2: 17:[20, 3] Operation: 18-15=3 Exploring Operation: 15+18=33, Resulting Numbers: [20, 33] Generated Node #0,4,3: 17:[20, 33] Operation: 15+18=33 Exploring Operation: 20-18=2, Resulting Numbers: [15, 2] Generated Node #0,4,4: 17:[15, 2] Operation: 20-18=2 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 17:[18, 5], Operations: ['39-21=18', '20-15=5'] Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,17 unequal: No Solution Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 17:[20, 3], Operations: ['39-21=18', '18-15=3'] Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,17 unequal: No Solution Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[15, 39, 21, 20], Operations: [] Exploring Operation: 39-21=18, Resulting Numbers: [15, 20, 18] Generated Node #0,4: 17:[15, 20, 18] Operation: 39-21=18 Moving to Node #0,4 Current State: 17:[15, 20, 18], Operations: ['39-21=18'] Exploring Operation: 18-15=3, Resulting Numbers: [20, 3] Generated Node #0,4,2: 17:[20, 3] Operation: 18-15=3 Moving to Node #0,4,2 Current State: 17:[20, 3], Operations: ['39-21=18', '18-15=3'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 11, 23, 1, 83 ]
48
[ "11+23=34", "83-1=82", "82-34=48" ]
Current State: 48:[11, 23, 1, 83], Operations: [] Exploring Operation: 11+23=34, Resulting Numbers: [1, 83, 34] Generated Node #2: [1, 83, 34] from Operation: 11+23=34 Current State: 48:[1, 83, 34], Operations: ['11+23=34'] Exploring Operation: 83-1=82, Resulting Numbers: [34, 82] Generated Node #3: [34, 82] from Operation: 83-1=82 Current State: 48:[34, 82], Operations: ['11+23=34', '83-1=82'] Exploring Operation: 82-34=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[11, 23, 1, 83], Operations: [] Exploring Operation: 83-11=72, Resulting Numbers: [23, 1, 72] Generated Node #0,0: 48:[23, 1, 72] Operation: 83-11=72 Exploring Operation: 83-23=60, Resulting Numbers: [11, 1, 60] Generated Node #0,1: 48:[11, 1, 60] Operation: 83-23=60 Exploring Operation: 23+1=24, Resulting Numbers: [11, 83, 24] Generated Node #0,2: 48:[11, 83, 24] Operation: 23+1=24 Exploring Operation: 23-11=12, Resulting Numbers: [1, 83, 12] Generated Node #0,3: 48:[1, 83, 12] Operation: 23-11=12 Exploring Operation: 11+1=12, Resulting Numbers: [23, 83, 12] Generated Node #0,4: 48:[23, 83, 12] Operation: 11+1=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[11, 1, 60], Operations: ['83-23=60'] Exploring Operation: 11*1=11, Resulting Numbers: [60, 11] Generated Node #0,1,0: 48:[60, 11] Operation: 11*1=11 Exploring Operation: 11/1=11, Resulting Numbers: [60, 11] Generated Node #0,1,1: 48:[60, 11] Operation: 11/1=11 Exploring Operation: 60-11=49, Resulting Numbers: [1, 49] Generated Node #0,1,2: 48:[1, 49] Operation: 60-11=49 Exploring Operation: 11+1=12, Resulting Numbers: [60, 12] Generated Node #0,1,3: 48:[60, 12] Operation: 11+1=12 Exploring Operation: 60-1=59, Resulting Numbers: [11, 59] Generated Node #0,1,4: 48:[11, 59] Operation: 60-1=59 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 48:[1, 49], Operations: ['83-23=60', '60-11=49'] Exploring Operation: 1*49=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 49/1=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[11, 23, 1, 83], Operations: [] Exploring Operation: 83-23=60, Resulting Numbers: [11, 1, 60] Generated Node #0,1: 48:[11, 1, 60] Operation: 83-23=60 Moving to Node #0,1 Current State: 48:[11, 1, 60], Operations: ['83-23=60'] Exploring Operation: 60-11=49, Resulting Numbers: [1, 49] Generated Node #0,1,2: 48:[1, 49] Operation: 60-11=49 Moving to Node #0,1,2 Current State: 48:[1, 49], Operations: ['83-23=60', '60-11=49'] Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 22, 15, 28, 35 ]
49
[ "22-15=7", "35-28=7", "7*7=49" ]
Current State: 49:[22, 15, 28, 35], Operations: [] Exploring Operation: 22-15=7, Resulting Numbers: [28, 35, 7] Generated Node #2: [28, 35, 7] from Operation: 22-15=7 Current State: 49:[28, 35, 7], Operations: ['22-15=7'] Exploring Operation: 35-28=7, Resulting Numbers: [7, 7] Generated Node #3: [7, 7] from Operation: 35-28=7 Current State: 49:[7, 7], Operations: ['22-15=7', '35-28=7'] Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[22, 15, 28, 35], Operations: [] Exploring Operation: 28-22=6, Resulting Numbers: [15, 35, 6] Generated Node #0,0: 49:[15, 35, 6] Operation: 28-22=6 Exploring Operation: 35-28=7, Resulting Numbers: [22, 15, 7] Generated Node #0,1: 49:[22, 15, 7] Operation: 35-28=7 Exploring Operation: 22+28=50, Resulting Numbers: [15, 35, 50] Generated Node #0,2: 49:[15, 35, 50] Operation: 22+28=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[15, 35, 6], Operations: ['28-22=6'] Exploring Operation: 15+35=50, Resulting Numbers: [6, 50] Generated Node #0,0,0: 49:[6, 50] Operation: 15+35=50 Exploring Operation: 15-6=9, Resulting Numbers: [35, 9] Generated Node #0,0,1: 49:[35, 9] Operation: 15-6=9 Exploring Operation: 35-15=20, Resulting Numbers: [6, 20] Generated Node #0,0,2: 49:[6, 20] Operation: 35-15=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[6, 50], Operations: ['28-22=6', '15+35=50'] Exploring Operation: 6+50=56, Resulting Numbers: [56] 56,49 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,49 unequal: No Solution Exploring Operation: 6*50=300, Resulting Numbers: [300] 300,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 49:[6, 20], Operations: ['28-22=6', '35-15=20'] Exploring Operation: 6*20=120, Resulting Numbers: [120] 120,49 unequal: No Solution Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,49 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 49:[35, 9], Operations: ['28-22=6', '15-6=9'] Exploring Operation: 35+9=44, Resulting Numbers: [44] 44,49 unequal: No Solution Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,49 unequal: No Solution Exploring Operation: 35*9=315, Resulting Numbers: [315] 315,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[22, 15, 7], Operations: ['35-28=7'] Exploring Operation: 22+15=37, Resulting Numbers: [7, 37] Generated Node #0,1,0: 49:[7, 37] Operation: 22+15=37 Exploring Operation: 22-15=7, Resulting Numbers: [7, 7] Generated Node #0,1,1: 49:[7, 7] Operation: 22-15=7 Exploring Operation: 22-7=15, Resulting Numbers: [15, 15] Generated Node #0,1,2: 49:[15, 15] Operation: 22-7=15 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[7, 7], Operations: ['35-28=7', '22-15=7'] Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[22, 15, 28, 35], Operations: [] Exploring Operation: 35-28=7, Resulting Numbers: [22, 15, 7] Generated Node #0,1: 49:[22, 15, 7] Operation: 35-28=7 Moving to Node #0,1 Current State: 49:[22, 15, 7], Operations: ['35-28=7'] Exploring Operation: 22-15=7, Resulting Numbers: [7, 7] Generated Node #0,1,1: 49:[7, 7] Operation: 22-15=7 Moving to Node #0,1,1 Current State: 49:[7, 7], Operations: ['35-28=7', '22-15=7'] Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 4, 65, 77, 12 ]
96
[ "4+65=69", "77-69=8", "12*8=96" ]
Current State: 96:[4, 65, 77, 12], Operations: [] Exploring Operation: 4+65=69, Resulting Numbers: [77, 12, 69] Generated Node #2: [77, 12, 69] from Operation: 4+65=69 Current State: 96:[77, 12, 69], Operations: ['4+65=69'] Exploring Operation: 77-69=8, Resulting Numbers: [12, 8] Generated Node #3: [12, 8] from Operation: 77-69=8 Current State: 96:[12, 8], Operations: ['4+65=69', '77-69=8'] Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[4, 65, 77, 12], Operations: [] Exploring Operation: 77+12=89, Resulting Numbers: [4, 65, 89] Generated Node #0,0: 96:[4, 65, 89] Operation: 77+12=89 Exploring Operation: 65-12=53, Resulting Numbers: [4, 77, 53] Generated Node #0,1: 96:[4, 77, 53] Operation: 65-12=53 Exploring Operation: 77-65=12, Resulting Numbers: [4, 12, 12] Generated Node #0,2: 96:[4, 12, 12] Operation: 77-65=12 Moving to Node #0,2 Current State: 96:[4, 12, 12], Operations: ['77-65=12'] Exploring Operation: 4*12=48, Resulting Numbers: [12, 48] Generated Node #0,2,0: 96:[12, 48] Operation: 4*12=48 Exploring Operation: 12-4=8, Resulting Numbers: [12, 8] Generated Node #0,2,1: 96:[12, 8] Operation: 12-4=8 Exploring Operation: 4+12=16, Resulting Numbers: [12, 16] Generated Node #0,2,2: 96:[12, 16] Operation: 4+12=16 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 96:[12, 48], Operations: ['77-65=12', '4*12=48'] Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,96 unequal: No Solution Exploring Operation: 48/12=4, Resulting Numbers: [4] 4,96 unequal: No Solution Exploring Operation: 12+48=60, Resulting Numbers: [60] 60,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 96:[12, 8], Operations: ['77-65=12', '12-4=8'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,96 unequal: No Solution Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[4, 65, 77, 12], Operations: [] Exploring Operation: 77-65=12, Resulting Numbers: [4, 12, 12] Generated Node #0,2: 96:[4, 12, 12] Operation: 77-65=12 Moving to Node #0,2 Current State: 96:[4, 12, 12], Operations: ['77-65=12'] Exploring Operation: 12-4=8, Resulting Numbers: [12, 8] Generated Node #0,2,1: 96:[12, 8] Operation: 12-4=8 Moving to Node #0,2,1 Current State: 96:[12, 8], Operations: ['77-65=12', '12-4=8'] Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 79, 22, 78, 69 ]
46
[ "79+22=101", "78+69=147", "147-101=46" ]
Current State: 46:[79, 22, 78, 69], Operations: [] Exploring Operation: 79+22=101, Resulting Numbers: [78, 69, 101] Generated Node #2: [78, 69, 101] from Operation: 79+22=101 Current State: 46:[78, 69, 101], Operations: ['79+22=101'] Exploring Operation: 78+69=147, Resulting Numbers: [101, 147] Generated Node #3: [101, 147] from Operation: 78+69=147 Current State: 46:[101, 147], Operations: ['79+22=101', '78+69=147'] Exploring Operation: 147-101=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[79, 22, 78, 69], Operations: [] Exploring Operation: 79-69=10, Resulting Numbers: [22, 78, 10] Generated Node #0,0: 46:[22, 78, 10] Operation: 79-69=10 Exploring Operation: 79-22=57, Resulting Numbers: [78, 69, 57] Generated Node #0,1: 46:[78, 69, 57] Operation: 79-22=57 Exploring Operation: 79-78=1, Resulting Numbers: [22, 69, 1] Generated Node #0,2: 46:[22, 69, 1] Operation: 79-78=1 Exploring Operation: 78-69=9, Resulting Numbers: [79, 22, 9] Generated Node #0,3: 46:[79, 22, 9] Operation: 78-69=9 Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[22, 69, 1], Operations: ['79-78=1'] Exploring Operation: 22*1=22, Resulting Numbers: [69, 22] Generated Node #0,2,0: 46:[69, 22] Operation: 22*1=22 Exploring Operation: 69-22=47, Resulting Numbers: [1, 47] Generated Node #0,2,1: 46:[1, 47] Operation: 69-22=47 Exploring Operation: 22+1=23, Resulting Numbers: [69, 23] Generated Node #0,2,2: 46:[69, 23] Operation: 22+1=23 Exploring Operation: 69-1=68, Resulting Numbers: [22, 68] Generated Node #0,2,3: 46:[22, 68] Operation: 69-1=68 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 46:[1, 47], Operations: ['79-78=1', '69-22=47'] Exploring Operation: 1*47=47, Resulting Numbers: [47] 47,46 unequal: No Solution Exploring Operation: 1+47=48, Resulting Numbers: [48] 48,46 unequal: No Solution Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[79, 22, 78, 69], Operations: [] Exploring Operation: 79-78=1, Resulting Numbers: [22, 69, 1] Generated Node #0,2: 46:[22, 69, 1] Operation: 79-78=1 Moving to Node #0,2 Current State: 46:[22, 69, 1], Operations: ['79-78=1'] Exploring Operation: 69-22=47, Resulting Numbers: [1, 47] Generated Node #0,2,1: 46:[1, 47] Operation: 69-22=47 Moving to Node #0,2,1 Current State: 46:[1, 47], Operations: ['79-78=1', '69-22=47'] Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 49, 31, 33, 51 ]
32
[ "51-49=2", "31+33=64", "64/2=32" ]
Current State: 32:[49, 31, 33, 51], Operations: [] Exploring Operation: 51-49=2, Resulting Numbers: [31, 33, 2] Generated Node #2: [31, 33, 2] from Operation: 51-49=2 Current State: 32:[31, 33, 2], Operations: ['51-49=2'] Exploring Operation: 31+33=64, Resulting Numbers: [2, 64] Generated Node #3: [2, 64] from Operation: 31+33=64 Current State: 32:[2, 64], Operations: ['51-49=2', '31+33=64'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[49, 31, 33, 51], Operations: [] Exploring Operation: 51-49=2, Resulting Numbers: [31, 33, 2] Generated Node #0,0: 32:[31, 33, 2] Operation: 51-49=2 Exploring Operation: 49-33=16, Resulting Numbers: [31, 51, 16] Generated Node #0,1: 32:[31, 51, 16] Operation: 49-33=16 Moving to Node #0,0 Current State: 32:[31, 33, 2], Operations: ['51-49=2'] Exploring Operation: 33-31=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 32:[2, 2] Operation: 33-31=2 Exploring Operation: 31+2=33, Resulting Numbers: [33, 33] Generated Node #0,0,1: 32:[33, 33] Operation: 31+2=33 Moving to Node #0,1 Current State: 32:[31, 51, 16], Operations: ['49-33=16'] Exploring Operation: 51-16=35, Resulting Numbers: [31, 35] Generated Node #0,1,0: 32:[31, 35] Operation: 51-16=35 Exploring Operation: 51-31=20, Resulting Numbers: [16, 20] Generated Node #0,1,1: 32:[16, 20] Operation: 51-31=20 Moving to Node #0,0,0 Current State: 32:[2, 2], Operations: ['51-49=2', '33-31=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,32 unequal: No Solution Moving to Node #0,0,1 Current State: 32:[33, 33], Operations: ['51-49=2', '31+2=33'] Exploring Operation: 33-33=0, Resulting Numbers: [0] 0,32 unequal: No Solution Exploring Operation: 33/33=1, Resulting Numbers: [1] 1,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[16, 20], Operations: ['49-33=16', '51-31=20'] Exploring Operation: 16+20=36, Resulting Numbers: [36] 36,32 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[31, 35], Operations: ['49-33=16', '51-16=35'] Exploring Operation: 35-31=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 31+35=66, Resulting Numbers: [66] 66,32 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 55, 30, 27, 16 ]
74
[ "55+30=85", "27-16=11", "85-11=74" ]
Current State: 74:[55, 30, 27, 16], Operations: [] Exploring Operation: 55+30=85, Resulting Numbers: [27, 16, 85] Generated Node #2: [27, 16, 85] from Operation: 55+30=85 Current State: 74:[27, 16, 85], Operations: ['55+30=85'] Exploring Operation: 27-16=11, Resulting Numbers: [85, 11] Generated Node #3: [85, 11] from Operation: 27-16=11 Current State: 74:[85, 11], Operations: ['55+30=85', '27-16=11'] Exploring Operation: 85-11=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[55, 30, 27, 16], Operations: [] Exploring Operation: 55+16=71, Resulting Numbers: [30, 27, 71] Generated Node #0,0: 74:[30, 27, 71] Operation: 55+16=71 Exploring Operation: 55+27=82, Resulting Numbers: [30, 16, 82] Generated Node #0,1: 74:[30, 16, 82] Operation: 55+27=82 Exploring Operation: 55-27=28, Resulting Numbers: [30, 16, 28] Generated Node #0,2: 74:[30, 16, 28] Operation: 55-27=28 Exploring Operation: 55-16=39, Resulting Numbers: [30, 27, 39] Generated Node #0,3: 74:[30, 27, 39] Operation: 55-16=39 Start Sub Search at level 1: Moving to Node #0,3 Current State: 74:[30, 27, 39], Operations: ['55-16=39'] Exploring Operation: 30+39=69, Resulting Numbers: [27, 69] Generated Node #0,3,0: 74:[27, 69] Operation: 30+39=69 Exploring Operation: 39-30=9, Resulting Numbers: [27, 9] Generated Node #0,3,1: 74:[27, 9] Operation: 39-30=9 Exploring Operation: 27+39=66, Resulting Numbers: [30, 66] Generated Node #0,3,2: 74:[30, 66] Operation: 27+39=66 Exploring Operation: 30-27=3, Resulting Numbers: [39, 3] Generated Node #0,3,3: 74:[39, 3] Operation: 30-27=3 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 74:[39, 3], Operations: ['55-16=39', '30-27=3'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,74 unequal: No Solution Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,74 unequal: No Solution Exploring Operation: 39*3=117, Resulting Numbers: [117] 117,74 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,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,3,0 Current State: 74:[27, 69], Operations: ['55-16=39', '30+39=69'] Exploring Operation: 27+69=96, Resulting Numbers: [96] 96,74 unequal: No Solution Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,74 unequal: No Solution Exploring Operation: 27*69=1863, Resulting Numbers: [1863] 1863,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,3,2 Current State: 74:[30, 66], Operations: ['55-16=39', '27+39=66'] Exploring Operation: 30+66=96, Resulting Numbers: [96] 96,74 unequal: No Solution Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,74 unequal: No Solution Exploring Operation: 30*66=1980, Resulting Numbers: [1980] 1980,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,3,1 Current State: 74:[27, 9], Operations: ['55-16=39', '39-30=9'] Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,74 unequal: No Solution Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,74 unequal: No Solution Exploring Operation: 27*9=243, Resulting Numbers: [243] 243,74 unequal: No Solution Exploring Operation: 27+9=36, Resulting Numbers: [36] 36,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,0 Current State: 74:[30, 27, 71], Operations: ['55+16=71'] Exploring Operation: 71-30=41, Resulting Numbers: [27, 41] Generated Node #0,0,0: 74:[27, 41] Operation: 71-30=41 Exploring Operation: 71-27=44, Resulting Numbers: [30, 44] Generated Node #0,0,1: 74:[30, 44] Operation: 71-27=44 Exploring Operation: 30+27=57, Resulting Numbers: [71, 57] Generated Node #0,0,2: 74:[71, 57] Operation: 30+27=57 Exploring Operation: 30-27=3, Resulting Numbers: [71, 3] Generated Node #0,0,3: 74:[71, 3] Operation: 30-27=3 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 74:[71, 3], Operations: ['55+16=71', '30-27=3'] Exploring Operation: 71+3=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[55, 30, 27, 16], Operations: [] Exploring Operation: 55+16=71, Resulting Numbers: [30, 27, 71] Generated Node #0,0: 74:[30, 27, 71] Operation: 55+16=71 Moving to Node #0,0 Current State: 74:[30, 27, 71], Operations: ['55+16=71'] Exploring Operation: 30-27=3, Resulting Numbers: [71, 3] Generated Node #0,0,3: 74:[71, 3] Operation: 30-27=3 Moving to Node #0,0,3 Current State: 74:[71, 3], Operations: ['55+16=71', '30-27=3'] Exploring Operation: 71+3=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 56, 46, 49, 48 ]
11
[ "56-46=10", "49-48=1", "10+1=11" ]
Current State: 11:[56, 46, 49, 48], Operations: [] Exploring Operation: 56-46=10, Resulting Numbers: [49, 48, 10] Generated Node #2: [49, 48, 10] from Operation: 56-46=10 Current State: 11:[49, 48, 10], Operations: ['56-46=10'] Exploring Operation: 49-48=1, Resulting Numbers: [10, 1] Generated Node #3: [10, 1] from Operation: 49-48=1 Current State: 11:[10, 1], Operations: ['56-46=10', '49-48=1'] Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[56, 46, 49, 48], Operations: [] Exploring Operation: 56-49=7, Resulting Numbers: [46, 48, 7] Generated Node #0,0: 11:[46, 48, 7] Operation: 56-49=7 Exploring Operation: 56-46=10, Resulting Numbers: [49, 48, 10] Generated Node #0,1: 11:[49, 48, 10] Operation: 56-46=10 Exploring Operation: 49-46=3, Resulting Numbers: [56, 48, 3] Generated Node #0,2: 11:[56, 48, 3] Operation: 49-46=3 Exploring Operation: 56-48=8, Resulting Numbers: [46, 49, 8] Generated Node #0,3: 11:[46, 49, 8] Operation: 56-48=8 Moving to Node #0,0 Current State: 11:[46, 48, 7], Operations: ['56-49=7'] Exploring Operation: 48-46=2, Resulting Numbers: [7, 2] Generated Node #0,0,0: 11:[7, 2] Operation: 48-46=2 Exploring Operation: 46-7=39, Resulting Numbers: [48, 39] Generated Node #0,0,1: 11:[48, 39] Operation: 46-7=39 Exploring Operation: 46+7=53, Resulting Numbers: [48, 53] Generated Node #0,0,2: 11:[48, 53] Operation: 46+7=53 Exploring Operation: 48-7=41, Resulting Numbers: [46, 41] Generated Node #0,0,3: 11:[46, 41] Operation: 48-7=41 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[7, 2], Operations: ['56-49=7', '48-46=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,11 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[48, 39], Operations: ['56-49=7', '46-7=39'] Exploring Operation: 48+39=87, Resulting Numbers: [87] 87,11 unequal: No Solution Exploring Operation: 48-39=9, Resulting Numbers: [9] 9,11 unequal: No Solution Exploring Operation: 48*39=1872, Resulting Numbers: [1872] 1872,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 11:[46, 41], Operations: ['56-49=7', '48-7=41'] Exploring Operation: 46*41=1886, Resulting Numbers: [1886] 1886,11 unequal: No Solution Exploring Operation: 46+41=87, Resulting Numbers: [87] 87,11 unequal: No Solution Exploring Operation: 46-41=5, Resulting Numbers: [5] 5,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 11:[48, 53], Operations: ['56-49=7', '46+7=53'] Exploring Operation: 53-48=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 48+53=101, Resulting Numbers: [101] 101,11 unequal: No Solution Exploring Operation: 48*53=2544, Resulting Numbers: [2544] 2544,11 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: 11:[46, 49, 8], Operations: ['56-48=8'] Exploring Operation: 49-8=41, Resulting Numbers: [46, 41] Generated Node #0,3,0: 11:[46, 41] Operation: 49-8=41 Exploring Operation: 49-46=3, Resulting Numbers: [8, 3] Generated Node #0,3,1: 11:[8, 3] Operation: 49-46=3 Exploring Operation: 46-8=38, Resulting Numbers: [49, 38] Generated Node #0,3,2: 11:[49, 38] Operation: 46-8=38 Exploring Operation: 46+8=54, Resulting Numbers: [49, 54] Generated Node #0,3,3: 11:[49, 54] Operation: 46+8=54 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 11:[8, 3], Operations: ['56-48=8', '49-46=3'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[56, 46, 49, 48], Operations: [] Exploring Operation: 56-48=8, Resulting Numbers: [46, 49, 8] Generated Node #0,3: 11:[46, 49, 8] Operation: 56-48=8 Moving to Node #0,3 Current State: 11:[46, 49, 8], Operations: ['56-48=8'] Exploring Operation: 49-46=3, Resulting Numbers: [8, 3] Generated Node #0,3,1: 11:[8, 3] Operation: 49-46=3 Moving to Node #0,3,1 Current State: 11:[8, 3], Operations: ['56-48=8', '49-46=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 3, 86, 83, 59 ]
78
[ "83-59=24", "24/3=8", "86-8=78" ]
Current State: 78:[3, 86, 83, 59], Operations: [] Exploring Operation: 83-59=24, Resulting Numbers: [3, 86, 24] Generated Node #2: [3, 86, 24] from Operation: 83-59=24 Current State: 78:[3, 86, 24], Operations: ['83-59=24'] Exploring Operation: 24/3=8, Resulting Numbers: [86, 8] Generated Node #3: [86, 8] from Operation: 24/3=8 Current State: 78:[86, 8], Operations: ['83-59=24', '24/3=8'] Exploring Operation: 86-8=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[3, 86, 83, 59], Operations: [] Exploring Operation: 86-83=3, Resulting Numbers: [3, 59, 3] Generated Node #0,0: 78:[3, 59, 3] Operation: 86-83=3 Exploring Operation: 86-59=27, Resulting Numbers: [3, 83, 27] Generated Node #0,1: 78:[3, 83, 27] Operation: 86-59=27 Exploring Operation: 83-59=24, Resulting Numbers: [3, 86, 24] Generated Node #0,2: 78:[3, 86, 24] Operation: 83-59=24 Exploring Operation: 86-3=83, Resulting Numbers: [83, 59, 83] Generated Node #0,3: 78:[83, 59, 83] Operation: 86-3=83 Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[3, 83, 27], Operations: ['86-59=27'] Exploring Operation: 3*27=81, Resulting Numbers: [83, 81] Generated Node #0,1,0: 78:[83, 81] Operation: 3*27=81 Exploring Operation: 27/3=9, Resulting Numbers: [83, 9] Generated Node #0,1,1: 78:[83, 9] Operation: 27/3=9 Exploring Operation: 27-3=24, Resulting Numbers: [83, 24] Generated Node #0,1,2: 78:[83, 24] Operation: 27-3=24 Exploring Operation: 83-3=80, Resulting Numbers: [27, 80] Generated Node #0,1,3: 78:[27, 80] Operation: 83-3=80 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 78:[27, 80], Operations: ['86-59=27', '83-3=80'] Exploring Operation: 80-27=53, Resulting Numbers: [53] 53,78 unequal: No Solution Exploring Operation: 27*80=2160, Resulting Numbers: [2160] 2160,78 unequal: No Solution Exploring Operation: 27+80=107, Resulting Numbers: [107] 107,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 78:[83, 24], Operations: ['86-59=27', '27-3=24'] Exploring Operation: 83*24=1992, Resulting Numbers: [1992] 1992,78 unequal: No Solution Exploring Operation: 83+24=107, Resulting Numbers: [107] 107,78 unequal: No Solution Exploring Operation: 83-24=59, Resulting Numbers: [59] 59,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 78:[83, 81], Operations: ['86-59=27', '3*27=81'] Exploring Operation: 83*81=6723, Resulting Numbers: [6723] 6723,78 unequal: No Solution Exploring Operation: 83-81=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 83+81=164, Resulting Numbers: [164] 164,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 78:[83, 9], Operations: ['86-59=27', '27/3=9'] Exploring Operation: 83-9=74, Resulting Numbers: [74] 74,78 unequal: No Solution Exploring Operation: 83*9=747, Resulting Numbers: [747] 747,78 unequal: No Solution Exploring Operation: 83+9=92, Resulting Numbers: [92] 92,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 78:[3, 86, 24], Operations: ['83-59=24'] Exploring Operation: 24/3=8, Resulting Numbers: [86, 8] Generated Node #0,2,0: 78:[86, 8] Operation: 24/3=8 Exploring Operation: 86-3=83, Resulting Numbers: [24, 83] Generated Node #0,2,1: 78:[24, 83] Operation: 86-3=83 Exploring Operation: 3+24=27, Resulting Numbers: [86, 27] Generated Node #0,2,2: 78:[86, 27] Operation: 3+24=27 Exploring Operation: 3+86=89, Resulting Numbers: [24, 89] Generated Node #0,2,3: 78:[24, 89] Operation: 3+86=89 Moving to Node #0,2,1 Current State: 78:[24, 83], Operations: ['83-59=24', '86-3=83'] Exploring Operation: 24*83=1992, Resulting Numbers: [1992] 1992,78 unequal: No Solution Exploring Operation: 24+83=107, Resulting Numbers: [107] 107,78 unequal: No Solution Exploring Operation: 83-24=59, Resulting Numbers: [59] 59,78 unequal: No Solution Moving to Node #0,2,2 Current State: 78:[86, 27], Operations: ['83-59=24', '3+24=27'] Exploring Operation: 86+27=113, Resulting Numbers: [113] 113,78 unequal: No Solution Exploring Operation: 86-27=59, Resulting Numbers: [59] 59,78 unequal: No Solution Exploring Operation: 86*27=2322, Resulting Numbers: [2322] 2322,78 unequal: No Solution Moving to Node #0,2,0 Current State: 78:[86, 8], Operations: ['83-59=24', '24/3=8'] Exploring Operation: 86+8=94, Resulting Numbers: [94] 94,78 unequal: No Solution Exploring Operation: 86*8=688, Resulting Numbers: [688] 688,78 unequal: No Solution Exploring Operation: 86-8=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[3, 86, 83, 59], Operations: [] Exploring Operation: 83-59=24, Resulting Numbers: [3, 86, 24] Generated Node #0,2: 78:[3, 86, 24] Operation: 83-59=24 Moving to Node #0,2 Current State: 78:[3, 86, 24], Operations: ['83-59=24'] Exploring Operation: 24/3=8, Resulting Numbers: [86, 8] Generated Node #0,2,0: 78:[86, 8] Operation: 24/3=8 Moving to Node #0,2,0 Current State: 78:[86, 8], Operations: ['83-59=24', '24/3=8'] Exploring Operation: 86-8=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_4
mult_heuristic
[ 24, 76, 87, 15 ]
20
[ "76-24=52", "87-15=72", "72-52=20" ]
Current State: 20:[24, 76, 87, 15], Operations: [] Exploring Operation: 76-24=52, Resulting Numbers: [87, 15, 52] Generated Node #2: [87, 15, 52] from Operation: 76-24=52 Current State: 20:[87, 15, 52], Operations: ['76-24=52'] Exploring Operation: 87-15=72, Resulting Numbers: [52, 72] Generated Node #3: [52, 72] from Operation: 87-15=72 Current State: 20:[52, 72], Operations: ['76-24=52', '87-15=72'] Exploring Operation: 72-52=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[24, 76, 87, 15], Operations: [] Exploring Operation: 76-24=52, Resulting Numbers: [87, 15, 52] Generated Node #0,0: 20:[87, 15, 52] Operation: 76-24=52 Exploring Operation: 87-76=11, Resulting Numbers: [24, 15, 11] Generated Node #0,1: 20:[24, 15, 11] Operation: 87-76=11 Exploring Operation: 76-15=61, Resulting Numbers: [24, 87, 61] Generated Node #0,2: 20:[24, 87, 61] Operation: 76-15=61 Exploring Operation: 87-24=63, Resulting Numbers: [76, 15, 63] Generated Node #0,3: 20:[76, 15, 63] Operation: 87-24=63 Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[24, 15, 11], Operations: ['87-76=11'] Exploring Operation: 24-11=13, Resulting Numbers: [15, 13] Generated Node #0,1,0: 20:[15, 13] Operation: 24-11=13 Exploring Operation: 24-15=9, Resulting Numbers: [11, 9] Generated Node #0,1,1: 20:[11, 9] Operation: 24-15=9 Exploring Operation: 15-11=4, Resulting Numbers: [24, 4] Generated Node #0,1,2: 20:[24, 4] Operation: 15-11=4 Exploring Operation: 15+11=26, Resulting Numbers: [24, 26] Generated Node #0,1,3: 20:[24, 26] Operation: 15+11=26 Moving to Node #0,1,1 Current State: 20:[11, 9], Operations: ['87-76=11', '24-15=9'] Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[24, 76, 87, 15], Operations: [] Exploring Operation: 87-76=11, Resulting Numbers: [24, 15, 11] Generated Node #0,1: 20:[24, 15, 11] Operation: 87-76=11 Moving to Node #0,1 Current State: 20:[24, 15, 11], Operations: ['87-76=11'] Exploring Operation: 24-15=9, Resulting Numbers: [11, 9] Generated Node #0,1,1: 20:[11, 9] Operation: 24-15=9 Moving to Node #0,1,1 Current State: 20:[11, 9], Operations: ['87-76=11', '24-15=9'] Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 84, 61, 87, 43 ]
21
[ "84-61=23", "87-43=44", "44-23=21" ]
Current State: 21:[84, 61, 87, 43], Operations: [] Exploring Operation: 84-61=23, Resulting Numbers: [87, 43, 23] Generated Node #2: [87, 43, 23] from Operation: 84-61=23 Current State: 21:[87, 43, 23], Operations: ['84-61=23'] Exploring Operation: 87-43=44, Resulting Numbers: [23, 44] Generated Node #3: [23, 44] from Operation: 87-43=44 Current State: 21:[23, 44], Operations: ['84-61=23', '87-43=44'] Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[84, 61, 87, 43], Operations: [] Exploring Operation: 84-43=41, Resulting Numbers: [61, 87, 41] Generated Node #0,0: 21:[61, 87, 41] Operation: 84-43=41 Exploring Operation: 87-61=26, Resulting Numbers: [84, 43, 26] Generated Node #0,1: 21:[84, 43, 26] Operation: 87-61=26 Exploring Operation: 84-61=23, Resulting Numbers: [87, 43, 23] Generated Node #0,2: 21:[87, 43, 23] Operation: 84-61=23 Exploring Operation: 87-43=44, Resulting Numbers: [84, 61, 44] Generated Node #0,3: 21:[84, 61, 44] Operation: 87-43=44 Exploring Operation: 87-84=3, Resulting Numbers: [61, 43, 3] Generated Node #0,4: 21:[61, 43, 3] Operation: 87-84=3 Moving to Node #0,4 Current State: 21:[61, 43, 3], Operations: ['87-84=3'] Exploring Operation: 43+3=46, Resulting Numbers: [61, 46] Generated Node #0,4,0: 21:[61, 46] Operation: 43+3=46 Exploring Operation: 61+3=64, Resulting Numbers: [43, 64] Generated Node #0,4,1: 21:[43, 64] Operation: 61+3=64 Exploring Operation: 61-3=58, Resulting Numbers: [43, 58] Generated Node #0,4,2: 21:[43, 58] Operation: 61-3=58 Exploring Operation: 43-3=40, Resulting Numbers: [61, 40] Generated Node #0,4,3: 21:[61, 40] Operation: 43-3=40 Exploring Operation: 61-43=18, Resulting Numbers: [3, 18] Generated Node #0,4,4: 21:[3, 18] Operation: 61-43=18 Moving to Node #0,2 Current State: 21:[87, 43, 23], Operations: ['84-61=23'] Exploring Operation: 87-23=64, Resulting Numbers: [43, 64] Generated Node #0,2,0: 21:[43, 64] Operation: 87-23=64 Exploring Operation: 87+23=110, Resulting Numbers: [43, 110] Generated Node #0,2,1: 21:[43, 110] Operation: 87+23=110 Exploring Operation: 87-43=44, Resulting Numbers: [23, 44] Generated Node #0,2,2: 21:[23, 44] Operation: 87-43=44 Exploring Operation: 43-23=20, Resulting Numbers: [87, 20] Generated Node #0,2,3: 21:[87, 20] Operation: 43-23=20 Exploring Operation: 87+43=130, Resulting Numbers: [23, 130] Generated Node #0,2,4: 21:[23, 130] Operation: 87+43=130 Moving to Node #0,1 Current State: 21:[84, 43, 26], Operations: ['87-61=26'] Exploring Operation: 84-43=41, Resulting Numbers: [26, 41] Generated Node #0,1,0: 21:[26, 41] Operation: 84-43=41 Exploring Operation: 43-26=17, Resulting Numbers: [84, 17] Generated Node #0,1,1: 21:[84, 17] Operation: 43-26=17 Exploring Operation: 84+43=127, Resulting Numbers: [26, 127] Generated Node #0,1,2: 21:[26, 127] Operation: 84+43=127 Exploring Operation: 84+26=110, Resulting Numbers: [43, 110] Generated Node #0,1,3: 21:[43, 110] Operation: 84+26=110 Exploring Operation: 84-26=58, Resulting Numbers: [43, 58] Generated Node #0,1,4: 21:[43, 58] Operation: 84-26=58 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 21:[26, 41], Operations: ['87-61=26', '84-43=41'] Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 26*41=1066, Resulting Numbers: [1066] 1066,21 unequal: No Solution Exploring Operation: 26+41=67, Resulting Numbers: [67] 67,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 21:[43, 58], Operations: ['87-61=26', '84-26=58'] Exploring Operation: 58-43=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 43*58=2494, Resulting Numbers: [2494] 2494,21 unequal: No Solution Exploring Operation: 43+58=101, Resulting Numbers: [101] 101,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 21:[84, 17], Operations: ['87-61=26', '43-26=17'] Exploring Operation: 84*17=1428, Resulting Numbers: [1428] 1428,21 unequal: No Solution Exploring Operation: 84-17=67, Resulting Numbers: [67] 67,21 unequal: No Solution Exploring Operation: 84+17=101, Resulting Numbers: [101] 101,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 21:[26, 127], Operations: ['87-61=26', '84+43=127'] Exploring Operation: 127-26=101, Resulting Numbers: [101] 101,21 unequal: No Solution Exploring Operation: 26*127=3302, Resulting Numbers: [3302] 3302,21 unequal: No Solution Exploring Operation: 26+127=153, Resulting Numbers: [153] 153,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 21:[43, 110], Operations: ['87-61=26', '84+26=110'] Exploring Operation: 110-43=67, Resulting Numbers: [67] 67,21 unequal: No Solution Exploring Operation: 43+110=153, Resulting Numbers: [153] 153,21 unequal: No Solution Exploring Operation: 43*110=4730, Resulting Numbers: [4730] 4730,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 21:[61, 87, 41], Operations: ['84-43=41'] Exploring Operation: 87-61=26, Resulting Numbers: [41, 26] Generated Node #0,0,0: 21:[41, 26] Operation: 87-61=26 Exploring Operation: 61-41=20, Resulting Numbers: [87, 20] Generated Node #0,0,1: 21:[87, 20] Operation: 61-41=20 Exploring Operation: 61+87=148, Resulting Numbers: [41, 148] Generated Node #0,0,2: 21:[41, 148] Operation: 61+87=148 Exploring Operation: 87-41=46, Resulting Numbers: [61, 46] Generated Node #0,0,3: 21:[61, 46] Operation: 87-41=46 Exploring Operation: 61+41=102, Resulting Numbers: [87, 102] Generated Node #0,0,4: 21:[87, 102] Operation: 61+41=102 Moving to Node #0,3 Current State: 21:[84, 61, 44], Operations: ['87-43=44'] Exploring Operation: 61-44=17, Resulting Numbers: [84, 17] Generated Node #0,3,0: 21:[84, 17] Operation: 61-44=17 Exploring Operation: 84-61=23, Resulting Numbers: [44, 23] Generated Node #0,3,1: 21:[44, 23] Operation: 84-61=23 Exploring Operation: 84+61=145, Resulting Numbers: [44, 145] Generated Node #0,3,2: 21:[44, 145] Operation: 84+61=145 Exploring Operation: 84-44=40, Resulting Numbers: [61, 40] Generated Node #0,3,3: 21:[61, 40] Operation: 84-44=40 Exploring Operation: 84+44=128, Resulting Numbers: [61, 128] Generated Node #0,3,4: 21:[61, 128] Operation: 84+44=128 Moving to Node #0,4,4 Current State: 21:[3, 18], Operations: ['87-84=3', '61-43=18'] Exploring Operation: 3*18=54, Resulting Numbers: [54] 54,21 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[84, 61, 87, 43], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [61, 43, 3] Generated Node #0,4: 21:[61, 43, 3] Operation: 87-84=3 Moving to Node #0,4 Current State: 21:[61, 43, 3], Operations: ['87-84=3'] Exploring Operation: 61-43=18, Resulting Numbers: [3, 18] Generated Node #0,4,4: 21:[3, 18] Operation: 61-43=18 Moving to Node #0,4,4 Current State: 21:[3, 18], Operations: ['87-84=3', '61-43=18'] Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
0.954861
hs_5
sum_heuristic
[ 78, 25, 53, 76 ]
77
[ "78-25=53", "53/53=1", "76+1=77" ]
Current State: 77:[78, 25, 53, 76], Operations: [] Exploring Operation: 78-25=53, Resulting Numbers: [53, 76, 53] Generated Node #2: [53, 76, 53] from Operation: 78-25=53 Current State: 77:[53, 76, 53], Operations: ['78-25=53'] Exploring Operation: 53/53=1, Resulting Numbers: [76, 1] Generated Node #3: [76, 1] from Operation: 53/53=1 Current State: 77:[76, 1], Operations: ['78-25=53', '53/53=1'] Exploring Operation: 76+1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[78, 25, 53, 76], Operations: [] Exploring Operation: 25+53=78, Resulting Numbers: [78, 76, 78] Generated Node #0,0: 77:[78, 76, 78] Operation: 25+53=78 Exploring Operation: 53-25=28, Resulting Numbers: [78, 76, 28] Generated Node #0,1: 77:[78, 76, 28] Operation: 53-25=28 Moving to Node #0,0 Current State: 77:[78, 76, 78], Operations: ['25+53=78'] Exploring Operation: 78-76=2, Resulting Numbers: [78, 2] Generated Node #0,0,0: 77:[78, 2] Operation: 78-76=2 Exploring Operation: 78-76=2, Resulting Numbers: [78, 2] Generated Node #0,0,1: 77:[78, 2] Operation: 78-76=2 Moving to Node #0,1 Current State: 77:[78, 76, 28], Operations: ['53-25=28'] Exploring Operation: 78-28=50, Resulting Numbers: [76, 50] Generated Node #0,1,0: 77:[76, 50] Operation: 78-28=50 Exploring Operation: 78-76=2, Resulting Numbers: [28, 2] Generated Node #0,1,1: 77:[28, 2] Operation: 78-76=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[28, 2], Operations: ['53-25=28', '78-76=2'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,77 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[76, 50], Operations: ['53-25=28', '78-28=50'] Exploring Operation: 76-50=26, Resulting Numbers: [26] 26,77 unequal: No Solution Exploring Operation: 76+50=126, Resulting Numbers: [126] 126,77 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: 77:[78, 2], Operations: ['25+53=78', '78-76=2'] Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,77 unequal: No Solution Exploring Operation: 78+2=80, Resulting Numbers: [80] 80,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[78, 2], Operations: ['25+53=78', '78-76=2'] Exploring Operation: 78+2=80, Resulting Numbers: [80] 80,77 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,77 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 83, 89, 68, 56 ]
48
[ "83+89=172", "68+56=124", "172-124=48" ]
Current State: 48:[83, 89, 68, 56], Operations: [] Exploring Operation: 83+89=172, Resulting Numbers: [68, 56, 172] Generated Node #2: [68, 56, 172] from Operation: 83+89=172 Current State: 48:[68, 56, 172], Operations: ['83+89=172'] Exploring Operation: 68+56=124, Resulting Numbers: [172, 124] Generated Node #3: [172, 124] from Operation: 68+56=124 Current State: 48:[172, 124], Operations: ['83+89=172', '68+56=124'] Exploring Operation: 172-124=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[83, 89, 68, 56], Operations: [] Exploring Operation: 89-83=6, Resulting Numbers: [68, 56, 6] Generated Node #0,0: 48:[68, 56, 6] Operation: 89-83=6 Exploring Operation: 83-56=27, Resulting Numbers: [89, 68, 27] Generated Node #0,1: 48:[89, 68, 27] Operation: 83-56=27 Exploring Operation: 89-56=33, Resulting Numbers: [83, 68, 33] Generated Node #0,2: 48:[83, 68, 33] Operation: 89-56=33 Exploring Operation: 83-68=15, Resulting Numbers: [89, 56, 15] Generated Node #0,3: 48:[89, 56, 15] Operation: 83-68=15 Exploring Operation: 89-68=21, Resulting Numbers: [83, 56, 21] Generated Node #0,4: 48:[83, 56, 21] Operation: 89-68=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[68, 56, 6], Operations: ['89-83=6'] Exploring Operation: 68+6=74, Resulting Numbers: [56, 74] Generated Node #0,0,0: 48:[56, 74] Operation: 68+6=74 Exploring Operation: 68-56=12, Resulting Numbers: [6, 12] Generated Node #0,0,1: 48:[6, 12] Operation: 68-56=12 Exploring Operation: 56-6=50, Resulting Numbers: [68, 50] Generated Node #0,0,2: 48:[68, 50] Operation: 56-6=50 Exploring Operation: 56+6=62, Resulting Numbers: [68, 62] Generated Node #0,0,3: 48:[68, 62] Operation: 56+6=62 Exploring Operation: 68-6=62, Resulting Numbers: [56, 62] Generated Node #0,0,4: 48:[56, 62] Operation: 68-6=62 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 48:[6, 12], Operations: ['89-83=6', '68-56=12'] Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 6*12=72, Resulting Numbers: [72] 72,48 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 48:[68, 50], Operations: ['89-83=6', '56-6=50'] Exploring Operation: 68-50=18, Resulting Numbers: [18] 18,48 unequal: No Solution Exploring Operation: 68+50=118, Resulting Numbers: [118] 118,48 unequal: No Solution Exploring Operation: 68*50=3400, Resulting Numbers: [3400] 3400,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 48:[56, 62], Operations: ['89-83=6', '68-6=62'] Exploring Operation: 62-56=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 56+62=118, Resulting Numbers: [118] 118,48 unequal: No Solution Exploring Operation: 56*62=3472, Resulting Numbers: [3472] 3472,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[56, 74], Operations: ['89-83=6', '68+6=74'] Exploring Operation: 74-56=18, Resulting Numbers: [18] 18,48 unequal: No Solution Exploring Operation: 56*74=4144, Resulting Numbers: [4144] 4144,48 unequal: No Solution Exploring Operation: 56+74=130, Resulting Numbers: [130] 130,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 48:[68, 62], Operations: ['89-83=6', '56+6=62'] Exploring Operation: 68+62=130, Resulting Numbers: [130] 130,48 unequal: No Solution Exploring Operation: 68*62=4216, Resulting Numbers: [4216] 4216,48 unequal: No Solution Exploring Operation: 68-62=6, Resulting Numbers: [6] 6,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 48:[83, 56, 21], Operations: ['89-68=21'] Exploring Operation: 56-21=35, Resulting Numbers: [83, 35] Generated Node #0,4,0: 48:[83, 35] Operation: 56-21=35 Exploring Operation: 83-56=27, Resulting Numbers: [21, 27] Generated Node #0,4,1: 48:[21, 27] Operation: 83-56=27 Exploring Operation: 56+21=77, Resulting Numbers: [83, 77] Generated Node #0,4,2: 48:[83, 77] Operation: 56+21=77 Exploring Operation: 83+21=104, Resulting Numbers: [56, 104] Generated Node #0,4,3: 48:[56, 104] Operation: 83+21=104 Exploring Operation: 83-21=62, Resulting Numbers: [56, 62] Generated Node #0,4,4: 48:[56, 62] Operation: 83-21=62 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 48:[21, 27], Operations: ['89-68=21', '83-56=27'] Exploring Operation: 21*27=567, Resulting Numbers: [567] 567,48 unequal: No Solution Exploring Operation: 27-21=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 21+27=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[83, 89, 68, 56], Operations: [] Exploring Operation: 89-68=21, Resulting Numbers: [83, 56, 21] Generated Node #0,4: 48:[83, 56, 21] Operation: 89-68=21 Moving to Node #0,4 Current State: 48:[83, 56, 21], Operations: ['89-68=21'] Exploring Operation: 83-56=27, Resulting Numbers: [21, 27] Generated Node #0,4,1: 48:[21, 27] Operation: 83-56=27 Moving to Node #0,4,1 Current State: 48:[21, 27], Operations: ['89-68=21', '83-56=27'] Exploring Operation: 21+27=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967014
hs_5
mult_heuristic
[ 24, 53, 56, 13 ]
72
[ "53-24=29", "56-13=43", "29+43=72" ]
Current State: 72:[24, 53, 56, 13], Operations: [] Exploring Operation: 53-24=29, Resulting Numbers: [56, 13, 29] Generated Node #2: [56, 13, 29] from Operation: 53-24=29 Current State: 72:[56, 13, 29], Operations: ['53-24=29'] Exploring Operation: 56-13=43, Resulting Numbers: [29, 43] Generated Node #3: [29, 43] from Operation: 56-13=43 Current State: 72:[29, 43], Operations: ['53-24=29', '56-13=43'] Exploring Operation: 29+43=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[24, 53, 56, 13], Operations: [] Exploring Operation: 56-53=3, Resulting Numbers: [24, 13, 3] Generated Node #0,0: 72:[24, 13, 3] Operation: 56-53=3 Exploring Operation: 24+53=77, Resulting Numbers: [56, 13, 77] Generated Node #0,1: 72:[56, 13, 77] Operation: 24+53=77 Exploring Operation: 53-24=29, Resulting Numbers: [56, 13, 29] Generated Node #0,2: 72:[56, 13, 29] Operation: 53-24=29 Exploring Operation: 56+13=69, Resulting Numbers: [24, 53, 69] Generated Node #0,3: 72:[24, 53, 69] Operation: 56+13=69 Exploring Operation: 53-13=40, Resulting Numbers: [24, 56, 40] Generated Node #0,4: 72:[24, 56, 40] Operation: 53-13=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[24, 13, 3], Operations: ['56-53=3'] Exploring Operation: 24-13=11, Resulting Numbers: [3, 11] Generated Node #0,0,0: 72:[3, 11] Operation: 24-13=11 Exploring Operation: 24*3=72, Resulting Numbers: [13, 72] Generated Node #0,0,1: 72:[13, 72] Operation: 24*3=72 Exploring Operation: 24/3=8, Resulting Numbers: [13, 8] Generated Node #0,0,2: 72:[13, 8] Operation: 24/3=8 Exploring Operation: 24+13=37, Resulting Numbers: [3, 37] Generated Node #0,0,3: 72:[3, 37] Operation: 24+13=37 Exploring Operation: 13-3=10, Resulting Numbers: [24, 10] Generated Node #0,0,4: 72:[24, 10] Operation: 13-3=10 Moving to Node #0,0,0 Current State: 72:[3, 11], Operations: ['56-53=3', '24-13=11'] Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,72 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,72 unequal: No Solution Moving to Node #0,0,2 Current State: 72:[13, 8], Operations: ['56-53=3', '24/3=8'] Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,72 unequal: No Solution Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,72 unequal: No Solution Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,72 unequal: No Solution Moving to Node #0,0,4 Current State: 72:[24, 10], Operations: ['56-53=3', '13-3=10'] Exploring Operation: 24*10=240, Resulting Numbers: [240] 240,72 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,72 unequal: No Solution Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[13, 72], Operations: ['56-53=3', '24*3=72'] Exploring Operation: 72-13=59, Resulting Numbers: [59] 59,72 unequal: No Solution Exploring Operation: 13+72=85, Resulting Numbers: [85] 85,72 unequal: No Solution Exploring Operation: 13*72=936, Resulting Numbers: [936] 936,72 unequal: No Solution Moving to Node #0,0,3 Current State: 72:[3, 37], Operations: ['56-53=3', '24+13=37'] Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,72 unequal: No Solution Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,72 unequal: No Solution Exploring Operation: 3*37=111, Resulting Numbers: [111] 111,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 72:[24, 53, 69], Operations: ['56+13=69'] Exploring Operation: 69-53=16, Resulting Numbers: [24, 16] Generated Node #0,3,0: 72:[24, 16] Operation: 69-53=16 Exploring Operation: 69-24=45, Resulting Numbers: [53, 45] Generated Node #0,3,1: 72:[53, 45] Operation: 69-24=45 Exploring Operation: 53-24=29, Resulting Numbers: [69, 29] Generated Node #0,3,2: 72:[69, 29] Operation: 53-24=29 Exploring Operation: 24+53=77, Resulting Numbers: [69, 77] Generated Node #0,3,3: 72:[69, 77] Operation: 24+53=77 Exploring Operation: 24+69=93, Resulting Numbers: [53, 93] Generated Node #0,3,4: 72:[53, 93] Operation: 24+69=93 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 72:[24, 16], Operations: ['56+13=69', '69-53=16'] Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 24*16=384, Resulting Numbers: [384] 384,72 unequal: No Solution Exploring Operation: 24+16=40, Resulting Numbers: [40] 40,72 unequal: No Solution No 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: 72:[69, 29], Operations: ['56+13=69', '53-24=29'] Exploring Operation: 69-29=40, Resulting Numbers: [40] 40,72 unequal: No Solution Exploring Operation: 69*29=2001, Resulting Numbers: [2001] 2001,72 unequal: No Solution Exploring Operation: 69+29=98, Resulting Numbers: [98] 98,72 unequal: No Solution No 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: 72:[69, 77], Operations: ['56+13=69', '24+53=77'] Exploring Operation: 69*77=5313, Resulting Numbers: [5313] 5313,72 unequal: No Solution Exploring Operation: 69+77=146, Resulting Numbers: [146] 146,72 unequal: No Solution Exploring Operation: 77-69=8, Resulting Numbers: [8] 8,72 unequal: No Solution No 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: 72:[53, 45], Operations: ['56+13=69', '69-24=45'] Exploring Operation: 53*45=2385, Resulting Numbers: [2385] 2385,72 unequal: No Solution Exploring Operation: 53-45=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 53+45=98, Resulting Numbers: [98] 98,72 unequal: No Solution No 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: 72:[53, 93], Operations: ['56+13=69', '24+69=93'] Exploring Operation: 53*93=4929, Resulting Numbers: [4929] 4929,72 unequal: No Solution Exploring Operation: 53+93=146, Resulting Numbers: [146] 146,72 unequal: No Solution Exploring Operation: 93-53=40, Resulting Numbers: [40] 40,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 Start Sub Search at level 1: Moving to Node #0,4 Current State: 72:[24, 56, 40], Operations: ['53-13=40'] Exploring Operation: 56-40=16, Resulting Numbers: [24, 16] Generated Node #0,4,0: 72:[24, 16] Operation: 56-40=16 Exploring Operation: 24+56=80, Resulting Numbers: [40, 80] Generated Node #0,4,1: 72:[40, 80] Operation: 24+56=80 Exploring Operation: 56-24=32, Resulting Numbers: [40, 32] Generated Node #0,4,2: 72:[40, 32] Operation: 56-24=32 Exploring Operation: 24+40=64, Resulting Numbers: [56, 64] Generated Node #0,4,3: 72:[56, 64] Operation: 24+40=64 Exploring Operation: 40-24=16, Resulting Numbers: [56, 16] Generated Node #0,4,4: 72:[56, 16] Operation: 40-24=16 Moving to Node #0,4,0 Current State: 72:[24, 16], Operations: ['53-13=40', '56-40=16'] Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 24+16=40, Resulting Numbers: [40] 40,72 unequal: No Solution Exploring Operation: 24*16=384, Resulting Numbers: [384] 384,72 unequal: No Solution Moving to Node #0,4,2 Current State: 72:[40, 32], Operations: ['53-13=40', '56-24=32'] Exploring Operation: 40*32=1280, Resulting Numbers: [1280] 1280,72 unequal: No Solution Exploring Operation: 40+32=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[24, 53, 56, 13], Operations: [] Exploring Operation: 53-13=40, Resulting Numbers: [24, 56, 40] Generated Node #0,4: 72:[24, 56, 40] Operation: 53-13=40 Moving to Node #0,4 Current State: 72:[24, 56, 40], Operations: ['53-13=40'] Exploring Operation: 56-24=32, Resulting Numbers: [40, 32] Generated Node #0,4,2: 72:[40, 32] Operation: 56-24=32 Moving to Node #0,4,2 Current State: 72:[40, 32], Operations: ['53-13=40', '56-24=32'] Exploring Operation: 40+32=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.948785
hs_5
sum_heuristic
[ 26, 8, 19, 16 ]
16
[ "26-8=18", "19-18=1", "16*1=16" ]
Current State: 16:[26, 8, 19, 16], Operations: [] Exploring Operation: 26-8=18, Resulting Numbers: [19, 16, 18] Generated Node #2: [19, 16, 18] from Operation: 26-8=18 Current State: 16:[19, 16, 18], Operations: ['26-8=18'] Exploring Operation: 19-18=1, Resulting Numbers: [16, 1] Generated Node #3: [16, 1] from Operation: 19-18=1 Current State: 16:[16, 1], Operations: ['26-8=18', '19-18=1'] Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[26, 8, 19, 16], Operations: [] Exploring Operation: 26-16=10, Resulting Numbers: [8, 19, 10] Generated Node #0,0: 16:[8, 19, 10] Operation: 26-16=10 Exploring Operation: 26-8=18, Resulting Numbers: [19, 16, 18] Generated Node #0,1: 16:[19, 16, 18] Operation: 26-8=18 Exploring Operation: 19-16=3, Resulting Numbers: [26, 8, 3] Generated Node #0,2: 16:[26, 8, 3] Operation: 19-16=3 Exploring Operation: 26-19=7, Resulting Numbers: [8, 16, 7] Generated Node #0,3: 16:[8, 16, 7] Operation: 26-19=7 Moving to Node #0,3 Current State: 16:[8, 16, 7], Operations: ['26-19=7'] Exploring Operation: 8-7=1, Resulting Numbers: [16, 1] Generated Node #0,3,0: 16:[16, 1] Operation: 8-7=1 Exploring Operation: 8+7=15, Resulting Numbers: [16, 15] Generated Node #0,3,1: 16:[16, 15] Operation: 8+7=15 Exploring Operation: 16/8=2, Resulting Numbers: [7, 2] Generated Node #0,3,2: 16:[7, 2] Operation: 16/8=2 Exploring Operation: 16-8=8, Resulting Numbers: [7, 8] Generated Node #0,3,3: 16:[7, 8] Operation: 16-8=8 Moving to Node #0,1 Current State: 16:[19, 16, 18], Operations: ['26-8=18'] Exploring Operation: 18-16=2, Resulting Numbers: [19, 2] Generated Node #0,1,0: 16:[19, 2] Operation: 18-16=2 Exploring Operation: 19-18=1, Resulting Numbers: [16, 1] Generated Node #0,1,1: 16:[16, 1] Operation: 19-18=1 Exploring Operation: 19+16=35, Resulting Numbers: [18, 35] Generated Node #0,1,2: 16:[18, 35] Operation: 19+16=35 Exploring Operation: 19-16=3, Resulting Numbers: [18, 3] Generated Node #0,1,3: 16:[18, 3] Operation: 19-16=3 Moving to Node #0,0 Current State: 16:[8, 19, 10], Operations: ['26-16=10'] Exploring Operation: 10-8=2, Resulting Numbers: [19, 2] Generated Node #0,0,0: 16:[19, 2] Operation: 10-8=2 Exploring Operation: 8+10=18, Resulting Numbers: [19, 18] Generated Node #0,0,1: 16:[19, 18] Operation: 8+10=18 Exploring Operation: 19-8=11, Resulting Numbers: [10, 11] Generated Node #0,0,2: 16:[10, 11] Operation: 19-8=11 Exploring Operation: 19-10=9, Resulting Numbers: [8, 9] Generated Node #0,0,3: 16:[8, 9] Operation: 19-10=9 Moving to Node #0,2 Current State: 16:[26, 8, 3], Operations: ['19-16=3'] Exploring Operation: 26-8=18, Resulting Numbers: [3, 18] Generated Node #0,2,0: 16:[3, 18] Operation: 26-8=18 Exploring Operation: 26-3=23, Resulting Numbers: [8, 23] Generated Node #0,2,1: 16:[8, 23] Operation: 26-3=23 Exploring Operation: 8-3=5, Resulting Numbers: [26, 5] Generated Node #0,2,2: 16:[26, 5] Operation: 8-3=5 Exploring Operation: 26+3=29, Resulting Numbers: [8, 29] Generated Node #0,2,3: 16:[8, 29] Operation: 26+3=29 Moving to Node #0,3,0 Current State: 16:[16, 1], Operations: ['26-19=7', '8-7=1'] Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[26, 8, 19, 16], Operations: [] Exploring Operation: 26-19=7, Resulting Numbers: [8, 16, 7] Generated Node #0,3: 16:[8, 16, 7] Operation: 26-19=7 Moving to Node #0,3 Current State: 16:[8, 16, 7], Operations: ['26-19=7'] Exploring Operation: 8-7=1, Resulting Numbers: [16, 1] Generated Node #0,3,0: 16:[16, 1] Operation: 8-7=1 Moving to Node #0,3,0 Current State: 16:[16, 1], Operations: ['26-19=7', '8-7=1'] Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
0.978299
hs_4
sum_heuristic
[ 73, 35, 48, 23 ]
83
[ "73+35=108", "48-23=25", "108-25=83" ]
Current State: 83:[73, 35, 48, 23], Operations: [] Exploring Operation: 73+35=108, Resulting Numbers: [48, 23, 108] Generated Node #2: [48, 23, 108] from Operation: 73+35=108 Current State: 83:[48, 23, 108], Operations: ['73+35=108'] Exploring Operation: 48-23=25, Resulting Numbers: [108, 25] Generated Node #3: [108, 25] from Operation: 48-23=25 Current State: 83:[108, 25], Operations: ['73+35=108', '48-23=25'] Exploring Operation: 108-25=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[73, 35, 48, 23], Operations: [] Exploring Operation: 48+23=71, Resulting Numbers: [73, 35, 71] Generated Node #0,0: 83:[73, 35, 71] Operation: 48+23=71 Exploring Operation: 35+48=83, Resulting Numbers: [73, 23, 83] Generated Node #0,1: 83:[73, 23, 83] Operation: 35+48=83 Exploring Operation: 35+23=58, Resulting Numbers: [73, 48, 58] Generated Node #0,2: 83:[73, 48, 58] Operation: 35+23=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[73, 35, 71], Operations: ['48+23=71'] Exploring Operation: 73-35=38, Resulting Numbers: [71, 38] Generated Node #0,0,0: 83:[71, 38] Operation: 73-35=38 Exploring Operation: 73+35=108, Resulting Numbers: [71, 108] Generated Node #0,0,1: 83:[71, 108] Operation: 73+35=108 Exploring Operation: 35+71=106, Resulting Numbers: [73, 106] Generated Node #0,0,2: 83:[73, 106] Operation: 35+71=106 Moving to Node #0,0,2 Current State: 83:[73, 106], Operations: ['48+23=71', '35+71=106'] Exploring Operation: 73+106=179, Resulting Numbers: [179] 179,83 unequal: No Solution Exploring Operation: 73*106=7738, Resulting Numbers: [7738] 7738,83 unequal: No Solution Exploring Operation: 106-73=33, Resulting Numbers: [33] 33,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[71, 108], Operations: ['48+23=71', '73+35=108'] Exploring Operation: 71*108=7668, Resulting Numbers: [7668] 7668,83 unequal: No Solution Exploring Operation: 71+108=179, Resulting Numbers: [179] 179,83 unequal: No Solution Exploring Operation: 108-71=37, Resulting Numbers: [37] 37,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[71, 38], Operations: ['48+23=71', '73-35=38'] Exploring Operation: 71*38=2698, Resulting Numbers: [2698] 2698,83 unequal: No Solution Exploring Operation: 71+38=109, Resulting Numbers: [109] 109,83 unequal: No Solution Exploring Operation: 71-38=33, Resulting Numbers: [33] 33,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[73, 23, 83], Operations: ['35+48=83'] Exploring Operation: 73-23=50, Resulting Numbers: [83, 50] Generated Node #0,1,0: 83:[83, 50] Operation: 73-23=50 Exploring Operation: 73+23=96, Resulting Numbers: [83, 96] Generated Node #0,1,1: 83:[83, 96] Operation: 73+23=96 Exploring Operation: 23+83=106, Resulting Numbers: [73, 106] Generated Node #0,1,2: 83:[73, 106] Operation: 23+83=106 Moving to Node #0,1,1 Current State: 83:[83, 96], Operations: ['35+48=83', '73+23=96'] Exploring Operation: 96-83=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 83*96=7968, Resulting Numbers: [7968] 7968,83 unequal: No Solution Exploring Operation: 83+96=179, Resulting Numbers: [179] 179,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[83, 50], Operations: ['35+48=83', '73-23=50'] Exploring Operation: 83*50=4150, Resulting Numbers: [4150] 4150,83 unequal: No Solution Exploring Operation: 83-50=33, Resulting Numbers: [33] 33,83 unequal: No Solution Exploring Operation: 83+50=133, Resulting Numbers: [133] 133,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[73, 106], Operations: ['35+48=83', '23+83=106'] Exploring Operation: 106-73=33, Resulting Numbers: [33] 33,83 unequal: No Solution Exploring Operation: 73*106=7738, Resulting Numbers: [7738] 7738,83 unequal: No Solution Exploring Operation: 73+106=179, Resulting Numbers: [179] 179,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[73, 48, 58], Operations: ['35+23=58'] Exploring Operation: 48+58=106, Resulting Numbers: [73, 106] Generated Node #0,2,0: 83:[73, 106] Operation: 48+58=106 Exploring Operation: 73-48=25, Resulting Numbers: [58, 25] Generated Node #0,2,1: 83:[58, 25] Operation: 73-48=25 Exploring Operation: 73+48=121, Resulting Numbers: [58, 121] Generated Node #0,2,2: 83:[58, 121] Operation: 73+48=121 Moving to Node #0,2,0 Current State: 83:[73, 106], Operations: ['35+23=58', '48+58=106'] Exploring Operation: 106-73=33, Resulting Numbers: [33] 33,83 unequal: No Solution Exploring Operation: 73*106=7738, Resulting Numbers: [7738] 7738,83 unequal: No Solution Exploring Operation: 73+106=179, Resulting Numbers: [179] 179,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[58, 121], Operations: ['35+23=58', '73+48=121'] Exploring Operation: 121-58=63, Resulting Numbers: [63] 63,83 unequal: No Solution Exploring Operation: 58*121=7018, Resulting Numbers: [7018] 7018,83 unequal: No Solution Exploring Operation: 58+121=179, Resulting Numbers: [179] 179,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[58, 25], Operations: ['35+23=58', '73-48=25'] Exploring Operation: 58*25=1450, Resulting Numbers: [1450] 1450,83 unequal: No Solution Exploring Operation: 58+25=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[73, 35, 48, 23], Operations: [] Exploring Operation: 35+23=58, Resulting Numbers: [73, 48, 58] Generated Node #0,2: 83:[73, 48, 58] Operation: 35+23=58 Moving to Node #0,2 Current State: 83:[73, 48, 58], Operations: ['35+23=58'] Exploring Operation: 73-48=25, Resulting Numbers: [58, 25] Generated Node #0,2,1: 83:[58, 25] Operation: 73-48=25 Moving to Node #0,2,1 Current State: 83:[58, 25], Operations: ['35+23=58', '73-48=25'] Exploring Operation: 58+25=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_3
mult_heuristic
[ 6, 15, 9, 86 ]
76
[ "6*15=90", "90/9=10", "86-10=76" ]
Current State: 76:[6, 15, 9, 86], Operations: [] Exploring Operation: 6*15=90, Resulting Numbers: [9, 86, 90] Generated Node #2: [9, 86, 90] from Operation: 6*15=90 Current State: 76:[9, 86, 90], Operations: ['6*15=90'] Exploring Operation: 90/9=10, Resulting Numbers: [86, 10] Generated Node #3: [86, 10] from Operation: 90/9=10 Current State: 76:[86, 10], Operations: ['6*15=90', '90/9=10'] Exploring Operation: 86-10=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[6, 15, 9, 86], Operations: [] Exploring Operation: 86-15=71, Resulting Numbers: [6, 9, 71] Generated Node #0,0: 76:[6, 9, 71] Operation: 86-15=71 Exploring Operation: 86-6=80, Resulting Numbers: [15, 9, 80] Generated Node #0,1: 76:[15, 9, 80] Operation: 86-6=80 Exploring Operation: 86-9=77, Resulting Numbers: [6, 15, 77] Generated Node #0,2: 76:[6, 15, 77] Operation: 86-9=77 Exploring Operation: 15-9=6, Resulting Numbers: [6, 86, 6] Generated Node #0,3: 76:[6, 86, 6] Operation: 15-9=6 Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[6, 15, 77], Operations: ['86-9=77'] Exploring Operation: 15-6=9, Resulting Numbers: [77, 9] Generated Node #0,2,0: 76:[77, 9] Operation: 15-6=9 Exploring Operation: 6+77=83, Resulting Numbers: [15, 83] Generated Node #0,2,1: 76:[15, 83] Operation: 6+77=83 Exploring Operation: 6+15=21, Resulting Numbers: [77, 21] Generated Node #0,2,2: 76:[77, 21] Operation: 6+15=21 Exploring Operation: 77-6=71, Resulting Numbers: [15, 71] Generated Node #0,2,3: 76:[15, 71] Operation: 77-6=71 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 76:[77, 21], Operations: ['86-9=77', '6+15=21'] Exploring Operation: 77*21=1617, Resulting Numbers: [1617] 1617,76 unequal: No Solution Exploring Operation: 77-21=56, Resulting Numbers: [56] 56,76 unequal: No Solution Exploring Operation: 77+21=98, Resulting Numbers: [98] 98,76 unequal: No Solution No 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: 76:[77, 9], Operations: ['86-9=77', '15-6=9'] Exploring Operation: 77+9=86, Resulting Numbers: [86] 86,76 unequal: No Solution Exploring Operation: 77-9=68, Resulting Numbers: [68] 68,76 unequal: No Solution Exploring Operation: 77*9=693, Resulting Numbers: [693] 693,76 unequal: No Solution No 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: 76:[15, 71], Operations: ['86-9=77', '77-6=71'] Exploring Operation: 15*71=1065, Resulting Numbers: [1065] 1065,76 unequal: No Solution Exploring Operation: 71-15=56, Resulting Numbers: [56] 56,76 unequal: No Solution Exploring Operation: 15+71=86, Resulting Numbers: [86] 86,76 unequal: No Solution No 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: 76:[15, 83], Operations: ['86-9=77', '6+77=83'] Exploring Operation: 15*83=1245, Resulting Numbers: [1245] 1245,76 unequal: No Solution Exploring Operation: 15+83=98, Resulting Numbers: [98] 98,76 unequal: No Solution Exploring Operation: 83-15=68, Resulting Numbers: [68] 68,76 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: 76:[6, 9, 71], Operations: ['86-15=71'] Exploring Operation: 9+71=80, Resulting Numbers: [6, 80] Generated Node #0,0,0: 76:[6, 80] Operation: 9+71=80 Exploring Operation: 9-6=3, Resulting Numbers: [71, 3] Generated Node #0,0,1: 76:[71, 3] Operation: 9-6=3 Exploring Operation: 6+71=77, Resulting Numbers: [9, 77] Generated Node #0,0,2: 76:[9, 77] Operation: 6+71=77 Exploring Operation: 6+9=15, Resulting Numbers: [71, 15] Generated Node #0,0,3: 76:[71, 15] Operation: 6+9=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[6, 80], Operations: ['86-15=71', '9+71=80'] Exploring Operation: 80-6=74, Resulting Numbers: [74] 74,76 unequal: No Solution Exploring Operation: 6*80=480, Resulting Numbers: [480] 480,76 unequal: No Solution Exploring Operation: 6+80=86, Resulting Numbers: [86] 86,76 unequal: No Solution No 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: 76:[71, 3], Operations: ['86-15=71', '9-6=3'] Exploring Operation: 71*3=213, Resulting Numbers: [213] 213,76 unequal: No Solution Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,76 unequal: No Solution Exploring Operation: 71+3=74, Resulting Numbers: [74] 74,76 unequal: No Solution No 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: 76:[9, 77], Operations: ['86-15=71', '6+71=77'] Exploring Operation: 77-9=68, Resulting Numbers: [68] 68,76 unequal: No Solution Exploring Operation: 9*77=693, Resulting Numbers: [693] 693,76 unequal: No Solution Exploring Operation: 9+77=86, Resulting Numbers: [86] 86,76 unequal: No Solution No 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: 76:[71, 15], Operations: ['86-15=71', '6+9=15'] Exploring Operation: 71-15=56, Resulting Numbers: [56] 56,76 unequal: No Solution Exploring Operation: 71*15=1065, Resulting Numbers: [1065] 1065,76 unequal: No Solution Exploring Operation: 71+15=86, Resulting Numbers: [86] 86,76 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: 76:[15, 9, 80], Operations: ['86-6=80'] Exploring Operation: 15-9=6, Resulting Numbers: [80, 6] Generated Node #0,1,0: 76:[80, 6] Operation: 15-9=6 Exploring Operation: 15+9=24, Resulting Numbers: [80, 24] Generated Node #0,1,1: 76:[80, 24] Operation: 15+9=24 Exploring Operation: 80-15=65, Resulting Numbers: [9, 65] Generated Node #0,1,2: 76:[9, 65] Operation: 80-15=65 Exploring Operation: 80-9=71, Resulting Numbers: [15, 71] Generated Node #0,1,3: 76:[15, 71] Operation: 80-9=71 Moving to Node #0,1,0 Current State: 76:[80, 6], Operations: ['86-6=80', '15-9=6'] Exploring Operation: 80-6=74, Resulting Numbers: [74] 74,76 unequal: No Solution Exploring Operation: 80*6=480, Resulting Numbers: [480] 480,76 unequal: No Solution Exploring Operation: 80+6=86, Resulting Numbers: [86] 86,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[15, 71], Operations: ['86-6=80', '80-9=71'] Exploring Operation: 15*71=1065, Resulting Numbers: [1065] 1065,76 unequal: No Solution Exploring Operation: 71-15=56, Resulting Numbers: [56] 56,76 unequal: No Solution Exploring Operation: 15+71=86, Resulting Numbers: [86] 86,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[80, 24], Operations: ['86-6=80', '15+9=24'] Exploring Operation: 80*24=1920, Resulting Numbers: [1920] 1920,76 unequal: No Solution Exploring Operation: 80+24=104, Resulting Numbers: [104] 104,76 unequal: No Solution Exploring Operation: 80-24=56, Resulting Numbers: [56] 56,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[9, 65], Operations: ['86-6=80', '80-15=65'] Exploring Operation: 9+65=74, Resulting Numbers: [74] 74,76 unequal: No Solution Exploring Operation: 9*65=585, Resulting Numbers: [585] 585,76 unequal: No Solution Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 76:[6, 86, 6], Operations: ['15-9=6'] Exploring Operation: 6*6=36, Resulting Numbers: [86, 36] Generated Node #0,3,0: 76:[86, 36] Operation: 6*6=36 Exploring Operation: 6/6=1, Resulting Numbers: [86, 1] Generated Node #0,3,1: 76:[86, 1] Operation: 6/6=1 Exploring Operation: 86-6=80, Resulting Numbers: [6, 80] Generated Node #0,3,2: 76:[6, 80] Operation: 86-6=80 Exploring Operation: 86-6=80, Resulting Numbers: [6, 80] Generated Node #0,3,3: 76:[6, 80] Operation: 86-6=80 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 76:[6, 80], Operations: ['15-9=6', '86-6=80'] Exploring Operation: 6+80=86, Resulting Numbers: [86] 86,76 unequal: No Solution Exploring Operation: 6*80=480, Resulting Numbers: [480] 480,76 unequal: No Solution Exploring Operation: 80-6=74, Resulting Numbers: [74] 74,76 unequal: No Solution No 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: 76:[6, 80], Operations: ['15-9=6', '86-6=80'] Exploring Operation: 80-6=74, Resulting Numbers: [74] 74,76 unequal: No Solution Exploring Operation: 6*80=480, Resulting Numbers: [480] 480,76 unequal: No Solution Exploring Operation: 6+80=86, Resulting Numbers: [86] 86,76 unequal: No Solution No 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: 76:[86, 1], Operations: ['15-9=6', '6/6=1'] Exploring Operation: 86+1=87, Resulting Numbers: [87] 87,76 unequal: No Solution Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,76 unequal: No Solution Exploring Operation: 86/1=86, Resulting Numbers: [86] 86,76 unequal: No Solution Exploring Operation: 86*1=86, Resulting Numbers: [86] 86,76 unequal: No Solution No 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: 76:[86, 36], Operations: ['15-9=6', '6*6=36'] Exploring Operation: 86*36=3096, Resulting Numbers: [3096] 3096,76 unequal: No Solution Exploring Operation: 86+36=122, Resulting Numbers: [122] 122,76 unequal: No Solution Exploring Operation: 86-36=50, Resulting Numbers: [50] 50,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 6, 32, 92, 93 ]
38
[ "6+32=38", "93-92=1", "38*1=38" ]
Current State: 38:[6, 32, 92, 93], Operations: [] Exploring Operation: 6+32=38, Resulting Numbers: [92, 93, 38] Generated Node #2: [92, 93, 38] from Operation: 6+32=38 Current State: 38:[92, 93, 38], Operations: ['6+32=38'] Exploring Operation: 93-92=1, Resulting Numbers: [38, 1] Generated Node #3: [38, 1] from Operation: 93-92=1 Current State: 38:[38, 1], Operations: ['6+32=38', '93-92=1'] Exploring Operation: 38*1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[6, 32, 92, 93], Operations: [] Exploring Operation: 92-6=86, Resulting Numbers: [32, 93, 86] Generated Node #0,0: 38:[32, 93, 86] Operation: 92-6=86 Exploring Operation: 93-32=61, Resulting Numbers: [6, 92, 61] Generated Node #0,1: 38:[6, 92, 61] Operation: 93-32=61 Exploring Operation: 6+32=38, Resulting Numbers: [92, 93, 38] Generated Node #0,2: 38:[92, 93, 38] Operation: 6+32=38 Exploring Operation: 92-32=60, Resulting Numbers: [6, 93, 60] Generated Node #0,3: 38:[6, 93, 60] Operation: 92-32=60 Exploring Operation: 93-92=1, Resulting Numbers: [6, 32, 1] Generated Node #0,4: 38:[6, 32, 1] Operation: 93-92=1 Start Sub Search at level 1: Moving to Node #0,4 Current State: 38:[6, 32, 1], Operations: ['93-92=1'] Exploring Operation: 32-6=26, Resulting Numbers: [1, 26] Generated Node #0,4,0: 38:[1, 26] Operation: 32-6=26 Exploring Operation: 32+1=33, Resulting Numbers: [6, 33] Generated Node #0,4,1: 38:[6, 33] Operation: 32+1=33 Exploring Operation: 6-1=5, Resulting Numbers: [32, 5] Generated Node #0,4,2: 38:[32, 5] Operation: 6-1=5 Exploring Operation: 6*1=6, Resulting Numbers: [32, 6] Generated Node #0,4,3: 38:[32, 6] Operation: 6*1=6 Exploring Operation: 6+32=38, Resulting Numbers: [1, 38] Generated Node #0,4,4: 38:[1, 38] Operation: 6+32=38 Moving to Node #0,4,4 Current State: 38:[1, 38], Operations: ['93-92=1', '6+32=38'] Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[6, 32, 92, 93], Operations: [] Exploring Operation: 93-92=1, Resulting Numbers: [6, 32, 1] Generated Node #0,4: 38:[6, 32, 1] Operation: 93-92=1 Moving to Node #0,4 Current State: 38:[6, 32, 1], Operations: ['93-92=1'] Exploring Operation: 6+32=38, Resulting Numbers: [1, 38] Generated Node #0,4,4: 38:[1, 38] Operation: 6+32=38 Moving to Node #0,4,4 Current State: 38:[1, 38], Operations: ['93-92=1', '6+32=38'] Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 67, 12, 48, 69 ]
58
[ "67+12=79", "69-48=21", "79-21=58" ]
Current State: 58:[67, 12, 48, 69], Operations: [] Exploring Operation: 67+12=79, Resulting Numbers: [48, 69, 79] Generated Node #2: [48, 69, 79] from Operation: 67+12=79 Current State: 58:[48, 69, 79], Operations: ['67+12=79'] Exploring Operation: 69-48=21, Resulting Numbers: [79, 21] Generated Node #3: [79, 21] from Operation: 69-48=21 Current State: 58:[79, 21], Operations: ['67+12=79', '69-48=21'] Exploring Operation: 79-21=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[67, 12, 48, 69], Operations: [] Exploring Operation: 12+48=60, Resulting Numbers: [67, 69, 60] Generated Node #0,0: 58:[67, 69, 60] Operation: 12+48=60 Exploring Operation: 69-12=57, Resulting Numbers: [67, 48, 57] Generated Node #0,1: 58:[67, 48, 57] Operation: 69-12=57 Exploring Operation: 69-67=2, Resulting Numbers: [12, 48, 2] Generated Node #0,2: 58:[12, 48, 2] Operation: 69-67=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[67, 48, 57], Operations: ['69-12=57'] Exploring Operation: 67-57=10, Resulting Numbers: [48, 10] Generated Node #0,1,0: 58:[48, 10] Operation: 67-57=10 Exploring Operation: 57-48=9, Resulting Numbers: [67, 9] Generated Node #0,1,1: 58:[67, 9] Operation: 57-48=9 Exploring Operation: 67-48=19, Resulting Numbers: [57, 19] Generated Node #0,1,2: 58:[57, 19] Operation: 67-48=19 Moving to Node #0,1,2 Current State: 58:[57, 19], Operations: ['69-12=57', '67-48=19'] Exploring Operation: 57+19=76, Resulting Numbers: [76] 76,58 unequal: No Solution Exploring Operation: 57-19=38, Resulting Numbers: [38] 38,58 unequal: No Solution Exploring Operation: 57/19=3, Resulting Numbers: [3] 3,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[67, 9], Operations: ['69-12=57', '57-48=9'] Exploring Operation: 67+9=76, Resulting Numbers: [76] 76,58 unequal: No Solution Exploring Operation: 67*9=603, Resulting Numbers: [603] 603,58 unequal: No Solution Exploring Operation: 67-9=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[67, 12, 48, 69], Operations: [] Exploring Operation: 69-12=57, Resulting Numbers: [67, 48, 57] Generated Node #0,1: 58:[67, 48, 57] Operation: 69-12=57 Moving to Node #0,1 Current State: 58:[67, 48, 57], Operations: ['69-12=57'] Exploring Operation: 57-48=9, Resulting Numbers: [67, 9] Generated Node #0,1,1: 58:[67, 9] Operation: 57-48=9 Moving to Node #0,1,1 Current State: 58:[67, 9], Operations: ['69-12=57', '57-48=9'] Exploring Operation: 67-9=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 2, 94, 28, 56 ]
52
[ "28/2=14", "94-56=38", "14+38=52" ]
Current State: 52:[2, 94, 28, 56], Operations: [] Exploring Operation: 28/2=14, Resulting Numbers: [94, 56, 14] Generated Node #2: [94, 56, 14] from Operation: 28/2=14 Current State: 52:[94, 56, 14], Operations: ['28/2=14'] Exploring Operation: 94-56=38, Resulting Numbers: [14, 38] Generated Node #3: [14, 38] from Operation: 94-56=38 Current State: 52:[14, 38], Operations: ['28/2=14', '94-56=38'] Exploring Operation: 14+38=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[2, 94, 28, 56], Operations: [] Exploring Operation: 94-56=38, Resulting Numbers: [2, 28, 38] Generated Node #0,0: 52:[2, 28, 38] Operation: 94-56=38 Exploring Operation: 94/2=47, Resulting Numbers: [28, 56, 47] Generated Node #0,1: 52:[28, 56, 47] Operation: 94/2=47 Exploring Operation: 56/28=2, Resulting Numbers: [2, 94, 2] Generated Node #0,2: 52:[2, 94, 2] Operation: 56/28=2 Exploring Operation: 94-28=66, Resulting Numbers: [2, 56, 66] Generated Node #0,3: 52:[2, 56, 66] Operation: 94-28=66 Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[28, 56, 47], Operations: ['94/2=47'] Exploring Operation: 56-28=28, Resulting Numbers: [47, 28] Generated Node #0,1,0: 52:[47, 28] Operation: 56-28=28 Exploring Operation: 56-47=9, Resulting Numbers: [28, 9] Generated Node #0,1,1: 52:[28, 9] Operation: 56-47=9 Exploring Operation: 47-28=19, Resulting Numbers: [56, 19] Generated Node #0,1,2: 52:[56, 19] Operation: 47-28=19 Exploring Operation: 56/28=2, Resulting Numbers: [47, 2] Generated Node #0,1,3: 52:[47, 2] Operation: 56/28=2 Moving to Node #0,1,3 Current State: 52:[47, 2], Operations: ['94/2=47', '56/28=2'] Exploring Operation: 47+2=49, Resulting Numbers: [49] 49,52 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,52 unequal: No Solution Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[28, 9], Operations: ['94/2=47', '56-47=9'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,52 unequal: No Solution Exploring Operation: 28*9=252, Resulting Numbers: [252] 252,52 unequal: No Solution Exploring Operation: 28+9=37, Resulting Numbers: [37] 37,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[47, 28], Operations: ['94/2=47', '56-28=28'] Exploring Operation: 47*28=1316, Resulting Numbers: [1316] 1316,52 unequal: No Solution Exploring Operation: 47-28=19, Resulting Numbers: [19] 19,52 unequal: No Solution Exploring Operation: 47+28=75, Resulting Numbers: [75] 75,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[56, 19], Operations: ['94/2=47', '47-28=19'] Exploring Operation: 56*19=1064, Resulting Numbers: [1064] 1064,52 unequal: No Solution Exploring Operation: 56-19=37, Resulting Numbers: [37] 37,52 unequal: No Solution Exploring Operation: 56+19=75, Resulting Numbers: [75] 75,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[2, 28, 38], Operations: ['94-56=38'] Exploring Operation: 38-28=10, Resulting Numbers: [2, 10] Generated Node #0,0,0: 52:[2, 10] Operation: 38-28=10 Exploring Operation: 38-2=36, Resulting Numbers: [28, 36] Generated Node #0,0,1: 52:[28, 36] Operation: 38-2=36 Exploring Operation: 38/2=19, Resulting Numbers: [28, 19] Generated Node #0,0,2: 52:[28, 19] Operation: 38/2=19 Exploring Operation: 28-2=26, Resulting Numbers: [38, 26] Generated Node #0,0,3: 52:[38, 26] Operation: 28-2=26 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[2, 10], Operations: ['94-56=38', '38-28=10'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,52 unequal: No Solution Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,52 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,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,0,2 Current State: 52:[28, 19], Operations: ['94-56=38', '38/2=19'] Exploring Operation: 28+19=47, Resulting Numbers: [47] 47,52 unequal: No Solution Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 28*19=532, Resulting Numbers: [532] 532,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,0,1 Current State: 52:[28, 36], Operations: ['94-56=38', '38-2=36'] Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,52 unequal: No Solution Exploring Operation: 28+36=64, Resulting Numbers: [64] 64,52 unequal: No Solution Exploring Operation: 28*36=1008, Resulting Numbers: [1008] 1008,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,0,3 Current State: 52:[38, 26], Operations: ['94-56=38', '28-2=26'] Exploring Operation: 38-26=12, Resulting Numbers: [12] 12,52 unequal: No Solution Exploring Operation: 38*26=988, Resulting Numbers: [988] 988,52 unequal: No Solution Exploring Operation: 38+26=64, Resulting Numbers: [64] 64,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:[2, 56, 66], Operations: ['94-28=66'] Exploring Operation: 56-2=54, Resulting Numbers: [66, 54] Generated Node #0,3,0: 52:[66, 54] Operation: 56-2=54 Exploring Operation: 66/2=33, Resulting Numbers: [56, 33] Generated Node #0,3,1: 52:[56, 33] Operation: 66/2=33 Exploring Operation: 66-56=10, Resulting Numbers: [2, 10] Generated Node #0,3,2: 52:[2, 10] Operation: 66-56=10 Exploring Operation: 56/2=28, Resulting Numbers: [66, 28] Generated Node #0,3,3: 52:[66, 28] Operation: 56/2=28 Moving to Node #0,3,2 Current State: 52:[2, 10], Operations: ['94-28=66', '66-56=10'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,52 unequal: No Solution Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,52 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,52 unequal: No Solution Moving to Node #0,3,1 Current State: 52:[56, 33], Operations: ['94-28=66', '66/2=33'] Exploring Operation: 56+33=89, Resulting Numbers: [89] 89,52 unequal: No Solution Exploring Operation: 56-33=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 56*33=1848, Resulting Numbers: [1848] 1848,52 unequal: No Solution Moving to Node #0,3,3 Current State: 52:[66, 28], Operations: ['94-28=66', '56/2=28'] Exploring Operation: 66+28=94, Resulting Numbers: [94] 94,52 unequal: No Solution Exploring Operation: 66-28=38, Resulting Numbers: [38] 38,52 unequal: No Solution Exploring Operation: 66*28=1848, Resulting Numbers: [1848] 1848,52 unequal: No Solution Moving to Node #0,3,0 Current State: 52:[66, 54], Operations: ['94-28=66', '56-2=54'] Exploring Operation: 66-54=12, Resulting Numbers: [12] 12,52 unequal: No Solution Exploring Operation: 66*54=3564, Resulting Numbers: [3564] 3564,52 unequal: No Solution Exploring Operation: 66+54=120, Resulting Numbers: [120] 120,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[2, 94, 2], Operations: ['56/28=2'] Exploring Operation: 94/2=47, Resulting Numbers: [2, 47] Generated Node #0,2,0: 52:[2, 47] Operation: 94/2=47 Exploring Operation: 94/2=47, Resulting Numbers: [2, 47] Generated Node #0,2,1: 52:[2, 47] Operation: 94/2=47 Exploring Operation: 94-2=92, Resulting Numbers: [2, 92] Generated Node #0,2,2: 52:[2, 92] Operation: 94-2=92 Exploring Operation: 94-2=92, Resulting Numbers: [2, 92] Generated Node #0,2,3: 52:[2, 92] Operation: 94-2=92 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 52:[2, 47], Operations: ['56/28=2', '94/2=47'] Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,52 unequal: No Solution Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,52 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,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,2,1 Current State: 52:[2, 47], Operations: ['56/28=2', '94/2=47'] Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,52 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,52 unequal: No Solution Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,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,2,2 Current State: 52:[2, 92], Operations: ['56/28=2', '94-2=92'] Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,52 unequal: No Solution Exploring Operation: 2+92=94, Resulting Numbers: [94] 94,52 unequal: No Solution Exploring Operation: 92-2=90, Resulting Numbers: [90] 90,52 unequal: No Solution Exploring Operation: 2*92=184, Resulting Numbers: [184] 184,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,2,3 Current State: 52:[2, 92], Operations: ['56/28=2', '94-2=92'] Exploring Operation: 2*92=184, Resulting Numbers: [184] 184,52 unequal: No Solution Exploring Operation: 2+92=94, Resulting Numbers: [94] 94,52 unequal: No Solution Exploring Operation: 92-2=90, Resulting Numbers: [90] 90,52 unequal: No Solution Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,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 No solution found.
0
hs_4
mult_heuristic
[ 51, 81, 8, 60 ]
80
[ "51+81=132", "60-8=52", "132-52=80" ]
Current State: 80:[51, 81, 8, 60], Operations: [] Exploring Operation: 51+81=132, Resulting Numbers: [8, 60, 132] Generated Node #2: [8, 60, 132] from Operation: 51+81=132 Current State: 80:[8, 60, 132], Operations: ['51+81=132'] Exploring Operation: 60-8=52, Resulting Numbers: [132, 52] Generated Node #3: [132, 52] from Operation: 60-8=52 Current State: 80:[132, 52], Operations: ['51+81=132', '60-8=52'] Exploring Operation: 132-52=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[51, 81, 8, 60], Operations: [] Exploring Operation: 51-8=43, Resulting Numbers: [81, 60, 43] Generated Node #0,0: 80:[81, 60, 43] Operation: 51-8=43 Exploring Operation: 60-51=9, Resulting Numbers: [81, 8, 9] Generated Node #0,1: 80:[81, 8, 9] Operation: 60-51=9 Exploring Operation: 81-60=21, Resulting Numbers: [51, 8, 21] Generated Node #0,2: 80:[51, 8, 21] Operation: 81-60=21 Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[81, 8, 9], Operations: ['60-51=9'] Exploring Operation: 81/9=9, Resulting Numbers: [8, 9] Generated Node #0,1,0: 80:[8, 9] Operation: 81/9=9 Exploring Operation: 8+9=17, Resulting Numbers: [81, 17] Generated Node #0,1,1: 80:[81, 17] Operation: 8+9=17 Exploring Operation: 9-8=1, Resulting Numbers: [81, 1] Generated Node #0,1,2: 80:[81, 1] Operation: 9-8=1 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 80:[8, 9], Operations: ['60-51=9', '81/9=9'] Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,80 unequal: No Solution Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,80 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,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,1 Current State: 80:[81, 17], Operations: ['60-51=9', '8+9=17'] Exploring Operation: 81*17=1377, Resulting Numbers: [1377] 1377,80 unequal: No Solution Exploring Operation: 81-17=64, Resulting Numbers: [64] 64,80 unequal: No Solution Exploring Operation: 81+17=98, Resulting Numbers: [98] 98,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,2 Current State: 80:[81, 1], Operations: ['60-51=9', '9-8=1'] Exploring Operation: 81/1=81, Resulting Numbers: [81] 81,80 unequal: No Solution Exploring Operation: 81*1=81, Resulting Numbers: [81] 81,80 unequal: No Solution Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[51, 81, 8, 60], Operations: [] Exploring Operation: 60-51=9, Resulting Numbers: [81, 8, 9] Generated Node #0,1: 80:[81, 8, 9] Operation: 60-51=9 Moving to Node #0,1 Current State: 80:[81, 8, 9], Operations: ['60-51=9'] Exploring Operation: 9-8=1, Resulting Numbers: [81, 1] Generated Node #0,1,2: 80:[81, 1] Operation: 9-8=1 Moving to Node #0,1,2 Current State: 80:[81, 1], Operations: ['60-51=9', '9-8=1'] Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 48, 20, 63, 40 ]
16
[ "63-20=43", "43-40=3", "48/3=16" ]
Current State: 16:[48, 20, 63, 40], Operations: [] Exploring Operation: 63-20=43, Resulting Numbers: [48, 40, 43] Generated Node #2: [48, 40, 43] from Operation: 63-20=43 Current State: 16:[48, 40, 43], Operations: ['63-20=43'] Exploring Operation: 43-40=3, Resulting Numbers: [48, 3] Generated Node #3: [48, 3] from Operation: 43-40=3 Current State: 16:[48, 3], Operations: ['63-20=43', '43-40=3'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[48, 20, 63, 40], Operations: [] Exploring Operation: 48-40=8, Resulting Numbers: [20, 63, 8] Generated Node #0,0: 16:[20, 63, 8] Operation: 48-40=8 Exploring Operation: 40/20=2, Resulting Numbers: [48, 63, 2] Generated Node #0,1: 16:[48, 63, 2] Operation: 40/20=2 Exploring Operation: 63-48=15, Resulting Numbers: [20, 40, 15] Generated Node #0,2: 16:[20, 40, 15] Operation: 63-48=15 Exploring Operation: 63-40=23, Resulting Numbers: [48, 20, 23] Generated Node #0,3: 16:[48, 20, 23] Operation: 63-40=23 Moving to Node #0,2 Current State: 16:[20, 40, 15], Operations: ['63-48=15'] Exploring Operation: 40-20=20, Resulting Numbers: [15, 20] Generated Node #0,2,0: 16:[15, 20] Operation: 40-20=20 Exploring Operation: 20-15=5, Resulting Numbers: [40, 5] Generated Node #0,2,1: 16:[40, 5] Operation: 20-15=5 Exploring Operation: 40-15=25, Resulting Numbers: [20, 25] Generated Node #0,2,2: 16:[20, 25] Operation: 40-15=25 Exploring Operation: 40/20=2, Resulting Numbers: [15, 2] Generated Node #0,2,3: 16:[15, 2] Operation: 40/20=2 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 16:[15, 2], Operations: ['63-48=15', '40/20=2'] Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,16 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,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,0 Current State: 16:[15, 20], Operations: ['63-48=15', '40-20=20'] Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,16 unequal: No Solution Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,16 unequal: No Solution Exploring Operation: 15*20=300, Resulting Numbers: [300] 300,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,2 Current State: 16:[20, 25], Operations: ['63-48=15', '40-15=25'] Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,16 unequal: No Solution Exploring Operation: 20*25=500, Resulting Numbers: [500] 500,16 unequal: No Solution Exploring Operation: 20+25=45, Resulting Numbers: [45] 45,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,1 Current State: 16:[40, 5], Operations: ['63-48=15', '20-15=5'] Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 40*5=200, Resulting Numbers: [200] 200,16 unequal: No Solution Exploring Operation: 40+5=45, Resulting Numbers: [45] 45,16 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,16 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: 16:[48, 20, 23], Operations: ['63-40=23'] Exploring Operation: 48-20=28, Resulting Numbers: [23, 28] Generated Node #0,3,0: 16:[23, 28] Operation: 48-20=28 Exploring Operation: 48-23=25, Resulting Numbers: [20, 25] Generated Node #0,3,1: 16:[20, 25] Operation: 48-23=25 Exploring Operation: 23-20=3, Resulting Numbers: [48, 3] Generated Node #0,3,2: 16:[48, 3] Operation: 23-20=3 Exploring Operation: 48+20=68, Resulting Numbers: [23, 68] Generated Node #0,3,3: 16:[23, 68] Operation: 48+20=68 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 16:[20, 25], Operations: ['63-40=23', '48-23=25'] Exploring Operation: 20+25=45, Resulting Numbers: [45] 45,16 unequal: No Solution Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,16 unequal: No Solution Exploring Operation: 20*25=500, Resulting Numbers: [500] 500,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,3,0 Current State: 16:[23, 28], Operations: ['63-40=23', '48-20=28'] Exploring Operation: 23+28=51, Resulting Numbers: [51] 51,16 unequal: No Solution Exploring Operation: 23*28=644, Resulting Numbers: [644] 644,16 unequal: No Solution Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,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,3,2 Current State: 16:[48, 3], Operations: ['63-40=23', '23-20=3'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[48, 20, 63, 40], Operations: [] Exploring Operation: 63-40=23, Resulting Numbers: [48, 20, 23] Generated Node #0,3: 16:[48, 20, 23] Operation: 63-40=23 Moving to Node #0,3 Current State: 16:[48, 20, 23], Operations: ['63-40=23'] Exploring Operation: 23-20=3, Resulting Numbers: [48, 3] Generated Node #0,3,2: 16:[48, 3] Operation: 23-20=3 Moving to Node #0,3,2 Current State: 16:[48, 3], Operations: ['63-40=23', '23-20=3'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_4
mult_heuristic
[ 55, 30, 44, 88 ]
27
[ "55-30=25", "88/44=2", "25+2=27" ]
Current State: 27:[55, 30, 44, 88], Operations: [] Exploring Operation: 55-30=25, Resulting Numbers: [44, 88, 25] Generated Node #2: [44, 88, 25] from Operation: 55-30=25 Current State: 27:[44, 88, 25], Operations: ['55-30=25'] Exploring Operation: 88/44=2, Resulting Numbers: [25, 2] Generated Node #3: [25, 2] from Operation: 88/44=2 Current State: 27:[25, 2], Operations: ['55-30=25', '88/44=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[55, 30, 44, 88], Operations: [] Exploring Operation: 55-44=11, Resulting Numbers: [30, 88, 11] Generated Node #0,0: 27:[30, 88, 11] Operation: 55-44=11 Exploring Operation: 88-55=33, Resulting Numbers: [30, 44, 33] Generated Node #0,1: 27:[30, 44, 33] Operation: 88-55=33 Exploring Operation: 88-44=44, Resulting Numbers: [55, 30, 44] Generated Node #0,2: 27:[55, 30, 44] Operation: 88-44=44 Exploring Operation: 88/44=2, Resulting Numbers: [55, 30, 2] Generated Node #0,3: 27:[55, 30, 2] Operation: 88/44=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[30, 44, 33], Operations: ['88-55=33'] Exploring Operation: 44-30=14, Resulting Numbers: [33, 14] Generated Node #0,1,0: 27:[33, 14] Operation: 44-30=14 Exploring Operation: 33-30=3, Resulting Numbers: [44, 3] Generated Node #0,1,1: 27:[44, 3] Operation: 33-30=3 Exploring Operation: 30+44=74, Resulting Numbers: [33, 74] Generated Node #0,1,2: 27:[33, 74] Operation: 30+44=74 Exploring Operation: 44-33=11, Resulting Numbers: [30, 11] Generated Node #0,1,3: 27:[30, 11] Operation: 44-33=11 Moving to Node #0,1,3 Current State: 27:[30, 11], Operations: ['88-55=33', '44-33=11'] Exploring Operation: 30+11=41, Resulting Numbers: [41] 41,27 unequal: No Solution Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 30*11=330, Resulting Numbers: [330] 330,27 unequal: No Solution Moving to Node #0,1,0 Current State: 27:[33, 14], Operations: ['88-55=33', '44-30=14'] Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 33*14=462, Resulting Numbers: [462] 462,27 unequal: No Solution Exploring Operation: 33+14=47, Resulting Numbers: [47] 47,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[44, 3], Operations: ['88-55=33', '33-30=3'] Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,27 unequal: No Solution Exploring Operation: 44*3=132, Resulting Numbers: [132] 132,27 unequal: No Solution Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,27 unequal: No Solution Moving to Node #0,1,2 Current State: 27:[33, 74], Operations: ['88-55=33', '30+44=74'] Exploring Operation: 33+74=107, Resulting Numbers: [107] 107,27 unequal: No Solution Exploring Operation: 33*74=2442, Resulting Numbers: [2442] 2442,27 unequal: No Solution Exploring Operation: 74-33=41, Resulting Numbers: [41] 41,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,3 Current State: 27:[55, 30, 2], Operations: ['88/44=2'] Exploring Operation: 55-2=53, Resulting Numbers: [30, 53] Generated Node #0,3,0: 27:[30, 53] Operation: 55-2=53 Exploring Operation: 55+2=57, Resulting Numbers: [30, 57] Generated Node #0,3,1: 27:[30, 57] Operation: 55+2=57 Exploring Operation: 30-2=28, Resulting Numbers: [55, 28] Generated Node #0,3,2: 27:[55, 28] Operation: 30-2=28 Exploring Operation: 55-30=25, Resulting Numbers: [2, 25] Generated Node #0,3,3: 27:[2, 25] Operation: 55-30=25 Moving to Node #0,3,3 Current State: 27:[2, 25], Operations: ['88/44=2', '55-30=25'] Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[55, 30, 44, 88], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [55, 30, 2] Generated Node #0,3: 27:[55, 30, 2] Operation: 88/44=2 Moving to Node #0,3 Current State: 27:[55, 30, 2], Operations: ['88/44=2'] Exploring Operation: 55-30=25, Resulting Numbers: [2, 25] Generated Node #0,3,3: 27:[2, 25] Operation: 55-30=25 Moving to Node #0,3,3 Current State: 27:[2, 25], Operations: ['88/44=2', '55-30=25'] Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_4
sum_heuristic
[ 59, 72, 99, 59 ]
72
[ "59-59=0", "99*0=0", "72+0=72" ]
Current State: 72:[59, 72, 99, 59], Operations: [] Exploring Operation: 59-59=0, Resulting Numbers: [72, 99, 0] Generated Node #2: [72, 99, 0] from Operation: 59-59=0 Current State: 72:[72, 99, 0], Operations: ['59-59=0'] Exploring Operation: 99*0=0, Resulting Numbers: [72, 0] Generated Node #3: [72, 0] from Operation: 99*0=0 Current State: 72:[72, 0], Operations: ['59-59=0', '99*0=0'] Exploring Operation: 72+0=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[59, 72, 99, 59], Operations: [] Exploring Operation: 99-59=40, Resulting Numbers: [59, 72, 40] Generated Node #0,0: 72:[59, 72, 40] Operation: 99-59=40 Exploring Operation: 59-59=0, Resulting Numbers: [72, 99, 0] Generated Node #0,1: 72:[72, 99, 0] Operation: 59-59=0 Exploring Operation: 99-59=40, Resulting Numbers: [72, 59, 40] Generated Node #0,2: 72:[72, 59, 40] Operation: 99-59=40 Exploring Operation: 99-72=27, Resulting Numbers: [59, 59, 27] Generated Node #0,3: 72:[59, 59, 27] Operation: 99-72=27 Exploring Operation: 59/59=1, Resulting Numbers: [72, 99, 1] Generated Node #0,4: 72:[72, 99, 1] Operation: 59/59=1 Moving to Node #0,0 Current State: 72:[59, 72, 40], Operations: ['99-59=40'] Exploring Operation: 59-40=19, Resulting Numbers: [72, 19] Generated Node #0,0,0: 72:[72, 19] Operation: 59-40=19 Exploring Operation: 72-59=13, Resulting Numbers: [40, 13] Generated Node #0,0,1: 72:[40, 13] Operation: 72-59=13 Exploring Operation: 72+40=112, Resulting Numbers: [59, 112] Generated Node #0,0,2: 72:[59, 112] Operation: 72+40=112 Exploring Operation: 59+40=99, Resulting Numbers: [72, 99] Generated Node #0,0,3: 72:[72, 99] Operation: 59+40=99 Exploring Operation: 72-40=32, Resulting Numbers: [59, 32] Generated Node #0,0,4: 72:[59, 32] Operation: 72-40=32 Moving to Node #0,2 Current State: 72:[72, 59, 40], Operations: ['99-59=40'] Exploring Operation: 59-40=19, Resulting Numbers: [72, 19] Generated Node #0,2,0: 72:[72, 19] Operation: 59-40=19 Exploring Operation: 59+40=99, Resulting Numbers: [72, 99] Generated Node #0,2,1: 72:[72, 99] Operation: 59+40=99 Exploring Operation: 72-40=32, Resulting Numbers: [59, 32] Generated Node #0,2,2: 72:[59, 32] Operation: 72-40=32 Exploring Operation: 72+40=112, Resulting Numbers: [59, 112] Generated Node #0,2,3: 72:[59, 112] Operation: 72+40=112 Exploring Operation: 72-59=13, Resulting Numbers: [40, 13] Generated Node #0,2,4: 72:[40, 13] Operation: 72-59=13 Moving to Node #0,4 Current State: 72:[72, 99, 1], Operations: ['59/59=1'] Exploring Operation: 99-72=27, Resulting Numbers: [1, 27] Generated Node #0,4,0: 72:[1, 27] Operation: 99-72=27 Exploring Operation: 72*1=72, Resulting Numbers: [99, 72] Generated Node #0,4,1: 72:[99, 72] Operation: 72*1=72 Exploring Operation: 99-1=98, Resulting Numbers: [72, 98] Generated Node #0,4,2: 72:[72, 98] Operation: 99-1=98 Exploring Operation: 72/1=72, Resulting Numbers: [99, 72] Generated Node #0,4,3: 72:[99, 72] Operation: 72/1=72 Exploring Operation: 99*1=99, Resulting Numbers: [72, 99] Generated Node #0,4,4: 72:[72, 99] Operation: 99*1=99 Moving to Node #0,1 Current State: 72:[72, 99, 0], Operations: ['59-59=0'] Exploring Operation: 99+0=99, Resulting Numbers: [72, 99] Generated Node #0,1,0: 72:[72, 99] Operation: 99+0=99 Exploring Operation: 99-72=27, Resulting Numbers: [0, 27] Generated Node #0,1,1: 72:[0, 27] Operation: 99-72=27 Exploring Operation: 72+0=72, Resulting Numbers: [99, 72] Generated Node #0,1,2: 72:[99, 72] Operation: 72+0=72 Exploring Operation: 72-0=72, Resulting Numbers: [99, 72] Generated Node #0,1,3: 72:[99, 72] Operation: 72-0=72 Exploring Operation: 99*0=0, Resulting Numbers: [72, 0] Generated Node #0,1,4: 72:[72, 0] Operation: 99*0=0 Moving to Node #0,3 Current State: 72:[59, 59, 27], Operations: ['99-72=27'] Exploring Operation: 59/59=1, Resulting Numbers: [27, 1] Generated Node #0,3,0: 72:[27, 1] Operation: 59/59=1 Exploring Operation: 59-27=32, Resulting Numbers: [59, 32] Generated Node #0,3,1: 72:[59, 32] Operation: 59-27=32 Exploring Operation: 59+27=86, Resulting Numbers: [59, 86] Generated Node #0,3,2: 72:[59, 86] Operation: 59+27=86 Exploring Operation: 59-59=0, Resulting Numbers: [27, 0] Generated Node #0,3,3: 72:[27, 0] Operation: 59-59=0 Exploring Operation: 59-27=32, Resulting Numbers: [59, 32] Generated Node #0,3,4: 72:[59, 32] Operation: 59-27=32 Moving to Node #0,0,0 Current State: 72:[72, 19], Operations: ['99-59=40', '59-40=19'] Exploring Operation: 72+19=91, Resulting Numbers: [91] 91,72 unequal: No Solution Exploring Operation: 72*19=1368, Resulting Numbers: [1368] 1368,72 unequal: No Solution Exploring Operation: 72-19=53, Resulting Numbers: [53] 53,72 unequal: No Solution Moving to Node #0,2,0 Current State: 72:[72, 19], Operations: ['99-59=40', '59-40=19'] Exploring Operation: 72-19=53, Resulting Numbers: [53] 53,72 unequal: No Solution Exploring Operation: 72+19=91, Resulting Numbers: [91] 91,72 unequal: No Solution Exploring Operation: 72*19=1368, Resulting Numbers: [1368] 1368,72 unequal: No Solution Moving to Node #0,1,4 Current State: 72:[72, 0], Operations: ['59-59=0', '99*0=0'] Exploring Operation: 72*0=0, Resulting Numbers: [0] 0,72 unequal: No Solution Exploring Operation: 72-0=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[59, 72, 99, 59], Operations: [] Exploring Operation: 59-59=0, Resulting Numbers: [72, 99, 0] Generated Node #0,1: 72:[72, 99, 0] Operation: 59-59=0 Moving to Node #0,1 Current State: 72:[72, 99, 0], Operations: ['59-59=0'] Exploring Operation: 99*0=0, Resulting Numbers: [72, 0] Generated Node #0,1,4: 72:[72, 0] Operation: 99*0=0 Moving to Node #0,1,4 Current State: 72:[72, 0], Operations: ['59-59=0', '99*0=0'] Exploring Operation: 72-0=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.963542
hs_5
sum_heuristic
[ 85, 72, 42, 51 ]
83
[ "72-51=21", "42/21=2", "85-2=83" ]
Current State: 83:[85, 72, 42, 51], Operations: [] Exploring Operation: 72-51=21, Resulting Numbers: [85, 42, 21] Generated Node #2: [85, 42, 21] from Operation: 72-51=21 Current State: 83:[85, 42, 21], Operations: ['72-51=21'] Exploring Operation: 42/21=2, Resulting Numbers: [85, 2] Generated Node #3: [85, 2] from Operation: 42/21=2 Current State: 83:[85, 2], Operations: ['72-51=21', '42/21=2'] Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[85, 72, 42, 51], Operations: [] Exploring Operation: 72+51=123, Resulting Numbers: [85, 42, 123] Generated Node #0,0: 83:[85, 42, 123] Operation: 72+51=123 Exploring Operation: 72+42=114, Resulting Numbers: [85, 51, 114] Generated Node #0,1: 83:[85, 51, 114] Operation: 72+42=114 Exploring Operation: 85-42=43, Resulting Numbers: [72, 51, 43] Generated Node #0,2: 83:[72, 51, 43] Operation: 85-42=43 Exploring Operation: 42+51=93, Resulting Numbers: [85, 72, 93] Generated Node #0,3: 83:[85, 72, 93] Operation: 42+51=93 Start Sub Search at level 1: Moving to Node #0,3 Current State: 83:[85, 72, 93], Operations: ['42+51=93'] Exploring Operation: 72+93=165, Resulting Numbers: [85, 165] Generated Node #0,3,0: 83:[85, 165] Operation: 72+93=165 Exploring Operation: 93-72=21, Resulting Numbers: [85, 21] Generated Node #0,3,1: 83:[85, 21] Operation: 93-72=21 Exploring Operation: 85+72=157, Resulting Numbers: [93, 157] Generated Node #0,3,2: 83:[93, 157] Operation: 85+72=157 Exploring Operation: 85-72=13, Resulting Numbers: [93, 13] Generated Node #0,3,3: 83:[93, 13] Operation: 85-72=13 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 83:[85, 21], Operations: ['42+51=93', '93-72=21'] Exploring Operation: 85+21=106, Resulting Numbers: [106] 106,83 unequal: No Solution Exploring Operation: 85*21=1785, Resulting Numbers: [1785] 1785,83 unequal: No Solution Exploring Operation: 85-21=64, Resulting Numbers: [64] 64,83 unequal: No Solution No 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: 83:[93, 13], Operations: ['42+51=93', '85-72=13'] Exploring Operation: 93*13=1209, Resulting Numbers: [1209] 1209,83 unequal: No Solution Exploring Operation: 93-13=80, Resulting Numbers: [80] 80,83 unequal: No Solution Exploring Operation: 93+13=106, Resulting Numbers: [106] 106,83 unequal: No Solution No 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: 83:[85, 165], Operations: ['42+51=93', '72+93=165'] Exploring Operation: 165-85=80, Resulting Numbers: [80] 80,83 unequal: No Solution Exploring Operation: 85*165=14025, Resulting Numbers: [14025] 14025,83 unequal: No Solution Exploring Operation: 85+165=250, Resulting Numbers: [250] 250,83 unequal: No Solution No 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: 83:[93, 157], Operations: ['42+51=93', '85+72=157'] Exploring Operation: 93+157=250, Resulting Numbers: [250] 250,83 unequal: No Solution Exploring Operation: 93*157=14601, Resulting Numbers: [14601] 14601,83 unequal: No Solution Exploring Operation: 157-93=64, Resulting Numbers: [64] 64,83 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: 83:[85, 51, 114], Operations: ['72+42=114'] Exploring Operation: 85+51=136, Resulting Numbers: [114, 136] Generated Node #0,1,0: 83:[114, 136] Operation: 85+51=136 Exploring Operation: 51+114=165, Resulting Numbers: [85, 165] Generated Node #0,1,1: 83:[85, 165] Operation: 51+114=165 Exploring Operation: 85-51=34, Resulting Numbers: [114, 34] Generated Node #0,1,2: 83:[114, 34] Operation: 85-51=34 Exploring Operation: 114-51=63, Resulting Numbers: [85, 63] Generated Node #0,1,3: 83:[85, 63] Operation: 114-51=63 Moving to Node #0,1,3 Current State: 83:[85, 63], Operations: ['72+42=114', '114-51=63'] Exploring Operation: 85-63=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 85*63=5355, Resulting Numbers: [5355] 5355,83 unequal: No Solution Exploring Operation: 85+63=148, Resulting Numbers: [148] 148,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[114, 34], Operations: ['72+42=114', '85-51=34'] Exploring Operation: 114-34=80, Resulting Numbers: [80] 80,83 unequal: No Solution Exploring Operation: 114+34=148, Resulting Numbers: [148] 148,83 unequal: No Solution Exploring Operation: 114*34=3876, Resulting Numbers: [3876] 3876,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[85, 165], Operations: ['72+42=114', '51+114=165'] Exploring Operation: 85+165=250, Resulting Numbers: [250] 250,83 unequal: No Solution Exploring Operation: 85*165=14025, Resulting Numbers: [14025] 14025,83 unequal: No Solution Exploring Operation: 165-85=80, Resulting Numbers: [80] 80,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[114, 136], Operations: ['72+42=114', '85+51=136'] Exploring Operation: 136-114=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 114*136=15504, Resulting Numbers: [15504] 15504,83 unequal: No Solution Exploring Operation: 114+136=250, Resulting Numbers: [250] 250,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[85, 42, 123], Operations: ['72+51=123'] Exploring Operation: 85+42=127, Resulting Numbers: [123, 127] Generated Node #0,0,0: 83:[123, 127] Operation: 85+42=127 Exploring Operation: 123-42=81, Resulting Numbers: [85, 81] Generated Node #0,0,1: 83:[85, 81] Operation: 123-42=81 Exploring Operation: 42+123=165, Resulting Numbers: [85, 165] Generated Node #0,0,2: 83:[85, 165] Operation: 42+123=165 Exploring Operation: 85-42=43, Resulting Numbers: [123, 43] Generated Node #0,0,3: 83:[123, 43] Operation: 85-42=43 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[85, 81], Operations: ['72+51=123', '123-42=81'] Exploring Operation: 85-81=4, Resulting Numbers: [4] 4,83 unequal: No Solution Exploring Operation: 85+81=166, Resulting Numbers: [166] 166,83 unequal: No Solution Exploring Operation: 85*81=6885, Resulting Numbers: [6885] 6885,83 unequal: No Solution No 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: 83:[123, 43], Operations: ['72+51=123', '85-42=43'] Exploring Operation: 123+43=166, Resulting Numbers: [166] 166,83 unequal: No Solution Exploring Operation: 123-43=80, Resulting Numbers: [80] 80,83 unequal: No Solution Exploring Operation: 123*43=5289, Resulting Numbers: [5289] 5289,83 unequal: No Solution No 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: 83:[123, 127], Operations: ['72+51=123', '85+42=127'] Exploring Operation: 123*127=15621, Resulting Numbers: [15621] 15621,83 unequal: No Solution Exploring Operation: 127-123=4, Resulting Numbers: [4] 4,83 unequal: No Solution Exploring Operation: 123+127=250, Resulting Numbers: [250] 250,83 unequal: No Solution No 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: 83:[85, 165], Operations: ['72+51=123', '42+123=165'] Exploring Operation: 85+165=250, Resulting Numbers: [250] 250,83 unequal: No Solution Exploring Operation: 85*165=14025, Resulting Numbers: [14025] 14025,83 unequal: No Solution Exploring Operation: 165-85=80, Resulting Numbers: [80] 80,83 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: 83:[72, 51, 43], Operations: ['85-42=43'] Exploring Operation: 72+51=123, Resulting Numbers: [43, 123] Generated Node #0,2,0: 83:[43, 123] Operation: 72+51=123 Exploring Operation: 72+43=115, Resulting Numbers: [51, 115] Generated Node #0,2,1: 83:[51, 115] Operation: 72+43=115 Exploring Operation: 51+43=94, Resulting Numbers: [72, 94] Generated Node #0,2,2: 83:[72, 94] Operation: 51+43=94 Exploring Operation: 72-43=29, Resulting Numbers: [51, 29] Generated Node #0,2,3: 83:[51, 29] Operation: 72-43=29 Moving to Node #0,2,2 Current State: 83:[72, 94], Operations: ['85-42=43', '51+43=94'] Exploring Operation: 94-72=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 72*94=6768, Resulting Numbers: [6768] 6768,83 unequal: No Solution Exploring Operation: 72+94=166, Resulting Numbers: [166] 166,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[51, 115], Operations: ['85-42=43', '72+43=115'] Exploring Operation: 51*115=5865, Resulting Numbers: [5865] 5865,83 unequal: No Solution Exploring Operation: 115-51=64, Resulting Numbers: [64] 64,83 unequal: No Solution Exploring Operation: 51+115=166, Resulting Numbers: [166] 166,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[43, 123], Operations: ['85-42=43', '72+51=123'] Exploring Operation: 43+123=166, Resulting Numbers: [166] 166,83 unequal: No Solution Exploring Operation: 123-43=80, Resulting Numbers: [80] 80,83 unequal: No Solution Exploring Operation: 43*123=5289, Resulting Numbers: [5289] 5289,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[51, 29], Operations: ['85-42=43', '72-43=29'] Exploring Operation: 51-29=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 51+29=80, Resulting Numbers: [80] 80,83 unequal: No Solution Exploring Operation: 51*29=1479, Resulting Numbers: [1479] 1479,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 55, 49, 22, 95 ]
11
[ "22*95=2090", "2090/55=38", "49-38=11" ]
Current State: 11:[55, 49, 22, 95], Operations: [] Exploring Operation: 22*95=2090, Resulting Numbers: [55, 49, 2090] Generated Node #2: [55, 49, 2090] from Operation: 22*95=2090 Current State: 11:[55, 49, 2090], Operations: ['22*95=2090'] Exploring Operation: 2090/55=38, Resulting Numbers: [49, 38] Generated Node #3: [49, 38] from Operation: 2090/55=38 Current State: 11:[49, 38], Operations: ['22*95=2090', '2090/55=38'] Exploring Operation: 49-38=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[55, 49, 22, 95], Operations: [] Exploring Operation: 95-55=40, Resulting Numbers: [49, 22, 40] Generated Node #0,0: 11:[49, 22, 40] Operation: 95-55=40 Exploring Operation: 55-22=33, Resulting Numbers: [49, 95, 33] Generated Node #0,1: 11:[49, 95, 33] Operation: 55-22=33 Exploring Operation: 95-49=46, Resulting Numbers: [55, 22, 46] Generated Node #0,2: 11:[55, 22, 46] Operation: 95-49=46 Exploring Operation: 55-49=6, Resulting Numbers: [22, 95, 6] Generated Node #0,3: 11:[22, 95, 6] Operation: 55-49=6 Moving to Node #0,0 Current State: 11:[49, 22, 40], Operations: ['95-55=40'] Exploring Operation: 40-22=18, Resulting Numbers: [49, 18] Generated Node #0,0,0: 11:[49, 18] Operation: 40-22=18 Exploring Operation: 49-40=9, Resulting Numbers: [22, 9] Generated Node #0,0,1: 11:[22, 9] Operation: 49-40=9 Exploring Operation: 49+22=71, Resulting Numbers: [40, 71] Generated Node #0,0,2: 11:[40, 71] Operation: 49+22=71 Exploring Operation: 49-22=27, Resulting Numbers: [40, 27] Generated Node #0,0,3: 11:[40, 27] Operation: 49-22=27 Moving to Node #0,2 Current State: 11:[55, 22, 46], Operations: ['95-49=46'] Exploring Operation: 46-22=24, Resulting Numbers: [55, 24] Generated Node #0,2,0: 11:[55, 24] Operation: 46-22=24 Exploring Operation: 55-46=9, Resulting Numbers: [22, 9] Generated Node #0,2,1: 11:[22, 9] Operation: 55-46=9 Exploring Operation: 55-22=33, Resulting Numbers: [46, 33] Generated Node #0,2,2: 11:[46, 33] Operation: 55-22=33 Exploring Operation: 55+22=77, Resulting Numbers: [46, 77] Generated Node #0,2,3: 11:[46, 77] Operation: 55+22=77 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 11:[22, 9], Operations: ['95-49=46', '55-46=9'] Exploring Operation: 22*9=198, Resulting Numbers: [198] 198,11 unequal: No Solution Exploring Operation: 22+9=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,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,2,0 Current State: 11:[55, 24], Operations: ['95-49=46', '46-22=24'] Exploring Operation: 55*24=1320, Resulting Numbers: [1320] 1320,11 unequal: No Solution Exploring Operation: 55+24=79, Resulting Numbers: [79] 79,11 unequal: No Solution Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,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,2,2 Current State: 11:[46, 33], Operations: ['95-49=46', '55-22=33'] Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,11 unequal: No Solution Exploring Operation: 46*33=1518, Resulting Numbers: [1518] 1518,11 unequal: No Solution Exploring Operation: 46+33=79, Resulting Numbers: [79] 79,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,2,3 Current State: 11:[46, 77], Operations: ['95-49=46', '55+22=77'] Exploring Operation: 77-46=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 46+77=123, Resulting Numbers: [123] 123,11 unequal: No Solution Exploring Operation: 46*77=3542, Resulting Numbers: [3542] 3542,11 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: 11:[22, 95, 6], Operations: ['55-49=6'] Exploring Operation: 22-6=16, Resulting Numbers: [95, 16] Generated Node #0,3,0: 11:[95, 16] Operation: 22-6=16 Exploring Operation: 95-6=89, Resulting Numbers: [22, 89] Generated Node #0,3,1: 11:[22, 89] Operation: 95-6=89 Exploring Operation: 22+6=28, Resulting Numbers: [95, 28] Generated Node #0,3,2: 11:[95, 28] Operation: 22+6=28 Exploring Operation: 95-22=73, Resulting Numbers: [6, 73] Generated Node #0,3,3: 11:[6, 73] Operation: 95-22=73 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 11:[6, 73], Operations: ['55-49=6', '95-22=73'] Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 6+73=79, Resulting Numbers: [79] 79,11 unequal: No Solution Exploring Operation: 6*73=438, Resulting Numbers: [438] 438,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,0 Current State: 11:[95, 16], Operations: ['55-49=6', '22-6=16'] Exploring Operation: 95-16=79, Resulting Numbers: [79] 79,11 unequal: No Solution Exploring Operation: 95+16=111, Resulting Numbers: [111] 111,11 unequal: No Solution Exploring Operation: 95*16=1520, Resulting Numbers: [1520] 1520,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,1 Current State: 11:[22, 89], Operations: ['55-49=6', '95-6=89'] Exploring Operation: 22*89=1958, Resulting Numbers: [1958] 1958,11 unequal: No Solution Exploring Operation: 89-22=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 22+89=111, Resulting Numbers: [111] 111,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,2 Current State: 11:[95, 28], Operations: ['55-49=6', '22+6=28'] Exploring Operation: 95+28=123, Resulting Numbers: [123] 123,11 unequal: No Solution Exploring Operation: 95-28=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 95*28=2660, Resulting Numbers: [2660] 2660,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 11:[49, 95, 33], Operations: ['55-22=33'] Exploring Operation: 49+95=144, Resulting Numbers: [33, 144] Generated Node #0,1,0: 11:[33, 144] Operation: 49+95=144 Exploring Operation: 95-33=62, Resulting Numbers: [49, 62] Generated Node #0,1,1: 11:[49, 62] Operation: 95-33=62 Exploring Operation: 95-49=46, Resulting Numbers: [33, 46] Generated Node #0,1,2: 11:[33, 46] Operation: 95-49=46 Exploring Operation: 49-33=16, Resulting Numbers: [95, 16] Generated Node #0,1,3: 11:[95, 16] Operation: 49-33=16 Moving to Node #0,0,1 Current State: 11:[22, 9], Operations: ['95-55=40', '49-40=9'] Exploring Operation: 22+9=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,11 unequal: No Solution Exploring Operation: 22*9=198, Resulting Numbers: [198] 198,11 unequal: No Solution Moving to Node #0,0,3 Current State: 11:[40, 27], Operations: ['95-55=40', '49-22=27'] Exploring Operation: 40+27=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 40-27=13, Resulting Numbers: [13] 13,11 unequal: No Solution Exploring Operation: 40*27=1080, Resulting Numbers: [1080] 1080,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[49, 18], Operations: ['95-55=40', '40-22=18'] Exploring Operation: 49*18=882, Resulting Numbers: [882] 882,11 unequal: No Solution Exploring Operation: 49+18=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[33, 46], Operations: ['55-22=33', '95-49=46'] Exploring Operation: 33+46=79, Resulting Numbers: [79] 79,11 unequal: No Solution Exploring Operation: 33*46=1518, Resulting Numbers: [1518] 1518,11 unequal: No Solution Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,11 unequal: No Solution Moving to Node #0,1,3 Current State: 11:[95, 16], Operations: ['55-22=33', '49-33=16'] Exploring Operation: 95+16=111, Resulting Numbers: [111] 111,11 unequal: No Solution Exploring Operation: 95-16=79, Resulting Numbers: [79] 79,11 unequal: No Solution Exploring Operation: 95*16=1520, Resulting Numbers: [1520] 1520,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[40, 71], Operations: ['95-55=40', '49+22=71'] Exploring Operation: 40*71=2840, Resulting Numbers: [2840] 2840,11 unequal: No Solution Exploring Operation: 40+71=111, Resulting Numbers: [111] 111,11 unequal: No Solution Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[49, 62], Operations: ['55-22=33', '95-33=62'] Exploring Operation: 49+62=111, Resulting Numbers: [111] 111,11 unequal: No Solution Exploring Operation: 49*62=3038, Resulting Numbers: [3038] 3038,11 unequal: No Solution Exploring Operation: 62-49=13, Resulting Numbers: [13] 13,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[33, 144], Operations: ['55-22=33', '49+95=144'] Exploring Operation: 144-33=111, Resulting Numbers: [111] 111,11 unequal: No Solution Exploring Operation: 33+144=177, Resulting Numbers: [177] 177,11 unequal: No Solution Exploring Operation: 33*144=4752, Resulting Numbers: [4752] 4752,11 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 14, 79, 30, 68 ]
72
[ "30+68=98", "98/14=7", "79-7=72" ]
Current State: 72:[14, 79, 30, 68], Operations: [] Exploring Operation: 30+68=98, Resulting Numbers: [14, 79, 98] Generated Node #2: [14, 79, 98] from Operation: 30+68=98 Current State: 72:[14, 79, 98], Operations: ['30+68=98'] Exploring Operation: 98/14=7, Resulting Numbers: [79, 7] Generated Node #3: [79, 7] from Operation: 98/14=7 Current State: 72:[79, 7], Operations: ['30+68=98', '98/14=7'] Exploring Operation: 79-7=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[14, 79, 30, 68], Operations: [] Exploring Operation: 79-68=11, Resulting Numbers: [14, 30, 11] Generated Node #0,0: 72:[14, 30, 11] Operation: 79-68=11 Exploring Operation: 68-30=38, Resulting Numbers: [14, 79, 38] Generated Node #0,1: 72:[14, 79, 38] Operation: 68-30=38 Moving to Node #0,0 Current State: 72:[14, 30, 11], Operations: ['79-68=11'] Exploring Operation: 30-14=16, Resulting Numbers: [11, 16] Generated Node #0,0,0: 72:[11, 16] Operation: 30-14=16 Exploring Operation: 30-11=19, Resulting Numbers: [14, 19] Generated Node #0,0,1: 72:[14, 19] Operation: 30-11=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[11, 16], Operations: ['79-68=11', '30-14=16'] Exploring Operation: 11+16=27, Resulting Numbers: [27] 27,72 unequal: No Solution Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,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:[14, 19], Operations: ['79-68=11', '30-11=19'] Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,72 unequal: No Solution Exploring Operation: 14+19=33, Resulting Numbers: [33] 33,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:[14, 79, 38], Operations: ['68-30=38'] Exploring Operation: 79-38=41, Resulting Numbers: [14, 41] Generated Node #0,1,0: 72:[14, 41] Operation: 79-38=41 Exploring Operation: 38-14=24, Resulting Numbers: [79, 24] Generated Node #0,1,1: 72:[79, 24] Operation: 38-14=24 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 72:[14, 41], Operations: ['68-30=38', '79-38=41'] Exploring Operation: 14+41=55, Resulting Numbers: [55] 55,72 unequal: No Solution Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 72:[79, 24], Operations: ['68-30=38', '38-14=24'] Exploring Operation: 79-24=55, Resulting Numbers: [55] 55,72 unequal: No Solution Exploring Operation: 79+24=103, Resulting Numbers: [103] 103,72 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
[ 34, 91, 55, 37 ]
75
[ "91-34=57", "55-37=18", "57+18=75" ]
Current State: 75:[34, 91, 55, 37], Operations: [] Exploring Operation: 91-34=57, Resulting Numbers: [55, 37, 57] Generated Node #2: [55, 37, 57] from Operation: 91-34=57 Current State: 75:[55, 37, 57], Operations: ['91-34=57'] Exploring Operation: 55-37=18, Resulting Numbers: [57, 18] Generated Node #3: [57, 18] from Operation: 55-37=18 Current State: 75:[57, 18], Operations: ['91-34=57', '55-37=18'] Exploring Operation: 57+18=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[34, 91, 55, 37], Operations: [] Exploring Operation: 55-34=21, Resulting Numbers: [91, 37, 21] Generated Node #0,0: 75:[91, 37, 21] Operation: 55-34=21 Exploring Operation: 55-37=18, Resulting Numbers: [34, 91, 18] Generated Node #0,1: 75:[34, 91, 18] Operation: 55-37=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[34, 91, 18], Operations: ['55-37=18'] Exploring Operation: 34-18=16, Resulting Numbers: [91, 16] Generated Node #0,1,0: 75:[91, 16] Operation: 34-18=16 Exploring Operation: 91-18=73, Resulting Numbers: [34, 73] Generated Node #0,1,1: 75:[34, 73] Operation: 91-18=73 Moving to Node #0,1,1 Current State: 75:[34, 73], Operations: ['55-37=18', '91-18=73'] Exploring Operation: 34+73=107, Resulting Numbers: [107] 107,75 unequal: No Solution Exploring Operation: 73-34=39, Resulting Numbers: [39] 39,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[91, 16], Operations: ['55-37=18', '34-18=16'] Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[34, 91, 55, 37], Operations: [] Exploring Operation: 55-37=18, Resulting Numbers: [34, 91, 18] Generated Node #0,1: 75:[34, 91, 18] Operation: 55-37=18 Moving to Node #0,1 Current State: 75:[34, 91, 18], Operations: ['55-37=18'] Exploring Operation: 34-18=16, Resulting Numbers: [91, 16] Generated Node #0,1,0: 75:[91, 16] Operation: 34-18=16 Moving to Node #0,1,0 Current State: 75:[91, 16], Operations: ['55-37=18', '34-18=16'] Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 53, 25, 32, 56 ]
16
[ "53-25=28", "32*28=896", "896/56=16" ]
Current State: 16:[53, 25, 32, 56], Operations: [] Exploring Operation: 53-25=28, Resulting Numbers: [32, 56, 28] Generated Node #2: [32, 56, 28] from Operation: 53-25=28 Current State: 16:[32, 56, 28], Operations: ['53-25=28'] Exploring Operation: 32*28=896, Resulting Numbers: [56, 896] Generated Node #3: [56, 896] from Operation: 32*28=896 Current State: 16:[56, 896], Operations: ['53-25=28', '32*28=896'] Exploring Operation: 896/56=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[53, 25, 32, 56], Operations: [] Exploring Operation: 56-53=3, Resulting Numbers: [25, 32, 3] Generated Node #0,0: 16:[25, 32, 3] Operation: 56-53=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[25, 32, 3], Operations: ['56-53=3'] Exploring Operation: 32-25=7, Resulting Numbers: [3, 7] Generated Node #0,0,0: 16:[3, 7] Operation: 32-25=7 Moving to Node #0,0,0 Current State: 16:[3, 7], Operations: ['56-53=3', '32-25=7'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,16 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
[ 20, 15, 43, 54 ]
29
[ "20*54=1080", "1080/15=72", "72-43=29" ]
Current State: 29:[20, 15, 43, 54], Operations: [] Exploring Operation: 20*54=1080, Resulting Numbers: [15, 43, 1080] Generated Node #2: [15, 43, 1080] from Operation: 20*54=1080 Current State: 29:[15, 43, 1080], Operations: ['20*54=1080'] Exploring Operation: 1080/15=72, Resulting Numbers: [43, 72] Generated Node #3: [43, 72] from Operation: 1080/15=72 Current State: 29:[43, 72], Operations: ['20*54=1080', '1080/15=72'] Exploring Operation: 72-43=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[20, 15, 43, 54], Operations: [] Exploring Operation: 54-15=39, Resulting Numbers: [20, 43, 39] Generated Node #0,0: 29:[20, 43, 39] Operation: 54-15=39 Exploring Operation: 43-15=28, Resulting Numbers: [20, 54, 28] Generated Node #0,1: 29:[20, 54, 28] Operation: 43-15=28 Exploring Operation: 54-20=34, Resulting Numbers: [15, 43, 34] Generated Node #0,2: 29:[15, 43, 34] Operation: 54-20=34 Exploring Operation: 54-43=11, Resulting Numbers: [20, 15, 11] Generated Node #0,3: 29:[20, 15, 11] Operation: 54-43=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[20, 43, 39], Operations: ['54-15=39'] Exploring Operation: 39-20=19, Resulting Numbers: [43, 19] Generated Node #0,0,0: 29:[43, 19] Operation: 39-20=19 Exploring Operation: 20+43=63, Resulting Numbers: [39, 63] Generated Node #0,0,1: 29:[39, 63] Operation: 20+43=63 Exploring Operation: 43-39=4, Resulting Numbers: [20, 4] Generated Node #0,0,2: 29:[20, 4] Operation: 43-39=4 Exploring Operation: 43-20=23, Resulting Numbers: [39, 23] Generated Node #0,0,3: 29:[39, 23] Operation: 43-20=23 Moving to Node #0,0,3 Current State: 29:[39, 23], Operations: ['54-15=39', '43-20=23'] Exploring Operation: 39+23=62, Resulting Numbers: [62] 62,29 unequal: No Solution Exploring Operation: 39*23=897, Resulting Numbers: [897] 897,29 unequal: No Solution Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[43, 19], Operations: ['54-15=39', '39-20=19'] Exploring Operation: 43+19=62, Resulting Numbers: [62] 62,29 unequal: No Solution Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,29 unequal: No Solution Exploring Operation: 43*19=817, Resulting Numbers: [817] 817,29 unequal: No Solution Moving to Node #0,0,2 Current State: 29:[20, 4], Operations: ['54-15=39', '43-39=4'] Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,29 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,29 unequal: No Solution Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,29 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[39, 63], Operations: ['54-15=39', '20+43=63'] Exploring Operation: 39+63=102, Resulting Numbers: [102] 102,29 unequal: No Solution Exploring Operation: 63-39=24, Resulting Numbers: [24] 24,29 unequal: No Solution Exploring Operation: 39*63=2457, Resulting Numbers: [2457] 2457,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 29:[15, 43, 34], Operations: ['54-20=34'] Exploring Operation: 43-15=28, Resulting Numbers: [34, 28] Generated Node #0,2,0: 29:[34, 28] Operation: 43-15=28 Exploring Operation: 15+34=49, Resulting Numbers: [43, 49] Generated Node #0,2,1: 29:[43, 49] Operation: 15+34=49 Exploring Operation: 34-15=19, Resulting Numbers: [43, 19] Generated Node #0,2,2: 29:[43, 19] Operation: 34-15=19 Exploring Operation: 15+43=58, Resulting Numbers: [34, 58] Generated Node #0,2,3: 29:[34, 58] Operation: 15+43=58 Moving to Node #0,2,0 Current State: 29:[34, 28], Operations: ['54-20=34', '43-15=28'] Exploring Operation: 34+28=62, Resulting Numbers: [62] 62,29 unequal: No Solution Exploring Operation: 34*28=952, Resulting Numbers: [952] 952,29 unequal: No Solution Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,29 unequal: No Solution Moving to Node #0,2,2 Current State: 29:[43, 19], Operations: ['54-20=34', '34-15=19'] Exploring Operation: 43+19=62, Resulting Numbers: [62] 62,29 unequal: No Solution Exploring Operation: 43*19=817, Resulting Numbers: [817] 817,29 unequal: No Solution Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,29 unequal: No Solution Moving to Node #0,2,3 Current State: 29:[34, 58], Operations: ['54-20=34', '15+43=58'] Exploring Operation: 34+58=92, Resulting Numbers: [92] 92,29 unequal: No Solution Exploring Operation: 58-34=24, Resulting Numbers: [24] 24,29 unequal: No Solution Exploring Operation: 34*58=1972, Resulting Numbers: [1972] 1972,29 unequal: No Solution Moving to Node #0,2,1 Current State: 29:[43, 49], Operations: ['54-20=34', '15+34=49'] Exploring Operation: 43+49=92, Resulting Numbers: [92] 92,29 unequal: No Solution Exploring Operation: 49-43=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 43*49=2107, Resulting Numbers: [2107] 2107,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[20, 54, 28], Operations: ['43-15=28'] Exploring Operation: 20+54=74, Resulting Numbers: [28, 74] Generated Node #0,1,0: 29:[28, 74] Operation: 20+54=74 Exploring Operation: 20+28=48, Resulting Numbers: [54, 48] Generated Node #0,1,1: 29:[54, 48] Operation: 20+28=48 Exploring Operation: 54-20=34, Resulting Numbers: [28, 34] Generated Node #0,1,2: 29:[28, 34] Operation: 54-20=34 Exploring Operation: 54-28=26, Resulting Numbers: [20, 26] Generated Node #0,1,3: 29:[20, 26] Operation: 54-28=26 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 29:[28, 34], Operations: ['43-15=28', '54-20=34'] Exploring Operation: 28+34=62, Resulting Numbers: [62] 62,29 unequal: No Solution Exploring Operation: 28*34=952, Resulting Numbers: [952] 952,29 unequal: No Solution Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 29:[20, 26], Operations: ['43-15=28', '54-28=26'] Exploring Operation: 20+26=46, Resulting Numbers: [46] 46,29 unequal: No Solution Exploring Operation: 20*26=520, Resulting Numbers: [520] 520,29 unequal: No Solution Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 29:[54, 48], Operations: ['43-15=28', '20+28=48'] Exploring Operation: 54-48=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 54+48=102, Resulting Numbers: [102] 102,29 unequal: No Solution Exploring Operation: 54*48=2592, Resulting Numbers: [2592] 2592,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 29:[28, 74], Operations: ['43-15=28', '20+54=74'] Exploring Operation: 74-28=46, Resulting Numbers: [46] 46,29 unequal: No Solution Exploring Operation: 28+74=102, Resulting Numbers: [102] 102,29 unequal: No Solution Exploring Operation: 28*74=2072, Resulting Numbers: [2072] 2072,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 29:[20, 15, 11], Operations: ['54-43=11'] Exploring Operation: 15+11=26, Resulting Numbers: [20, 26] Generated Node #0,3,0: 29:[20, 26] Operation: 15+11=26 Exploring Operation: 20+11=31, Resulting Numbers: [15, 31] Generated Node #0,3,1: 29:[15, 31] Operation: 20+11=31 Exploring Operation: 20+15=35, Resulting Numbers: [11, 35] Generated Node #0,3,2: 29:[11, 35] Operation: 20+15=35 Exploring Operation: 20-11=9, Resulting Numbers: [15, 9] Generated Node #0,3,3: 29:[15, 9] Operation: 20-11=9 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 29:[20, 26], Operations: ['54-43=11', '15+11=26'] Exploring Operation: 20*26=520, Resulting Numbers: [520] 520,29 unequal: No Solution Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 20+26=46, Resulting Numbers: [46] 46,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 29:[15, 31], Operations: ['54-43=11', '20+11=31'] Exploring Operation: 15+31=46, Resulting Numbers: [46] 46,29 unequal: No Solution Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,29 unequal: No Solution Exploring Operation: 15*31=465, Resulting Numbers: [465] 465,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 29:[11, 35], Operations: ['54-43=11', '20+15=35'] Exploring Operation: 11*35=385, Resulting Numbers: [385] 385,29 unequal: No Solution Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,29 unequal: No Solution Exploring Operation: 11+35=46, Resulting Numbers: [46] 46,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 29:[15, 9], Operations: ['54-43=11', '20-11=9'] Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 15*9=135, Resulting Numbers: [135] 135,29 unequal: No Solution Exploring Operation: 15+9=24, Resulting Numbers: [24] 24,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 46, 66, 89, 53 ]
51
[ "89-66=23", "46/23=2", "53-2=51" ]
Current State: 51:[46, 66, 89, 53], Operations: [] Exploring Operation: 89-66=23, Resulting Numbers: [46, 53, 23] Generated Node #2: [46, 53, 23] from Operation: 89-66=23 Current State: 51:[46, 53, 23], Operations: ['89-66=23'] Exploring Operation: 46/23=2, Resulting Numbers: [53, 2] Generated Node #3: [53, 2] from Operation: 46/23=2 Current State: 51:[53, 2], Operations: ['89-66=23', '46/23=2'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[46, 66, 89, 53], Operations: [] Exploring Operation: 89-66=23, Resulting Numbers: [46, 53, 23] Generated Node #0,0: 51:[46, 53, 23] Operation: 89-66=23 Exploring Operation: 89-46=43, Resulting Numbers: [66, 53, 43] Generated Node #0,1: 51:[66, 53, 43] Operation: 89-46=43 Exploring Operation: 89-53=36, Resulting Numbers: [46, 66, 36] Generated Node #0,2: 51:[46, 66, 36] Operation: 89-53=36 Moving to Node #0,0 Current State: 51:[46, 53, 23], Operations: ['89-66=23'] Exploring Operation: 46/23=2, Resulting Numbers: [53, 2] Generated Node #0,0,0: 51:[53, 2] Operation: 46/23=2 Exploring Operation: 46-23=23, Resulting Numbers: [53, 23] Generated Node #0,0,1: 51:[53, 23] Operation: 46-23=23 Exploring Operation: 53-46=7, Resulting Numbers: [23, 7] Generated Node #0,0,2: 51:[23, 7] Operation: 53-46=7 Moving to Node #0,1 Current State: 51:[66, 53, 43], Operations: ['89-46=43'] Exploring Operation: 53-43=10, Resulting Numbers: [66, 10] Generated Node #0,1,0: 51:[66, 10] Operation: 53-43=10 Exploring Operation: 66-53=13, Resulting Numbers: [43, 13] Generated Node #0,1,1: 51:[43, 13] Operation: 66-53=13 Exploring Operation: 66-43=23, Resulting Numbers: [53, 23] Generated Node #0,1,2: 51:[53, 23] Operation: 66-43=23 Moving to Node #0,2 Current State: 51:[46, 66, 36], Operations: ['89-53=36'] Exploring Operation: 66-36=30, Resulting Numbers: [46, 30] Generated Node #0,2,0: 51:[46, 30] Operation: 66-36=30 Exploring Operation: 46-36=10, Resulting Numbers: [66, 10] Generated Node #0,2,1: 51:[66, 10] Operation: 46-36=10 Exploring Operation: 66-46=20, Resulting Numbers: [36, 20] Generated Node #0,2,2: 51:[36, 20] Operation: 66-46=20 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 51:[46, 30], Operations: ['89-53=36', '66-36=30'] Exploring Operation: 46-30=16, Resulting Numbers: [16] 16,51 unequal: No Solution Exploring Operation: 46*30=1380, Resulting Numbers: [1380] 1380,51 unequal: No Solution Exploring Operation: 46+30=76, Resulting Numbers: [76] 76,51 unequal: No Solution No 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: 51:[36, 20], Operations: ['89-53=36', '66-46=20'] Exploring Operation: 36*20=720, Resulting Numbers: [720] 720,51 unequal: No Solution Exploring Operation: 36+20=56, Resulting Numbers: [56] 56,51 unequal: No Solution Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,51 unequal: No Solution No 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: 51:[66, 10], Operations: ['89-53=36', '46-36=10'] Exploring Operation: 66+10=76, Resulting Numbers: [76] 76,51 unequal: No Solution Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,51 unequal: No Solution Exploring Operation: 66*10=660, Resulting Numbers: [660] 660,51 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: 51:[53, 2], Operations: ['89-66=23', '46/23=2'] Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,51 unequal: No Solution Exploring Operation: 53*2=106, Resulting Numbers: [106] 106,51 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[46, 66, 89, 53], Operations: [] Exploring Operation: 89-66=23, Resulting Numbers: [46, 53, 23] Generated Node #0,0: 51:[46, 53, 23] Operation: 89-66=23 Moving to Node #0,0 Current State: 51:[46, 53, 23], Operations: ['89-66=23'] Exploring Operation: 46/23=2, Resulting Numbers: [53, 2] Generated Node #0,0,0: 51:[53, 2] Operation: 46/23=2 Moving to Node #0,0,0 Current State: 51:[53, 2], Operations: ['89-66=23', '46/23=2'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
0.975694
hs_3
mult_heuristic
[ 46, 22, 55, 49 ]
86
[ "55-49=6", "22*6=132", "132-46=86" ]
Current State: 86:[46, 22, 55, 49], Operations: [] Exploring Operation: 55-49=6, Resulting Numbers: [46, 22, 6] Generated Node #2: [46, 22, 6] from Operation: 55-49=6 Current State: 86:[46, 22, 6], Operations: ['55-49=6'] Exploring Operation: 22*6=132, Resulting Numbers: [46, 132] Generated Node #3: [46, 132] from Operation: 22*6=132 Current State: 86:[46, 132], Operations: ['55-49=6', '22*6=132'] Exploring Operation: 132-46=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[46, 22, 55, 49], Operations: [] Exploring Operation: 22+55=77, Resulting Numbers: [46, 49, 77] Generated Node #0,0: 86:[46, 49, 77] Operation: 22+55=77 Moving to Node #0,0 Current State: 86:[46, 49, 77], Operations: ['22+55=77'] Exploring Operation: 49-46=3, Resulting Numbers: [77, 3] Generated Node #0,0,0: 86:[77, 3] Operation: 49-46=3 Moving to Node #0,0,0 Current State: 86:[77, 3], Operations: ['22+55=77', '49-46=3'] Exploring Operation: 77+3=80, Resulting Numbers: [80] 80,86 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 51, 27, 47, 36 ]
67
[ "51+27=78", "47-36=11", "78-11=67" ]
Current State: 67:[51, 27, 47, 36], Operations: [] Exploring Operation: 51+27=78, Resulting Numbers: [47, 36, 78] Generated Node #2: [47, 36, 78] from Operation: 51+27=78 Current State: 67:[47, 36, 78], Operations: ['51+27=78'] Exploring Operation: 47-36=11, Resulting Numbers: [78, 11] Generated Node #3: [78, 11] from Operation: 47-36=11 Current State: 67:[78, 11], Operations: ['51+27=78', '47-36=11'] Exploring Operation: 78-11=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[51, 27, 47, 36], Operations: [] Exploring Operation: 51+27=78, Resulting Numbers: [47, 36, 78] Generated Node #0,0: 67:[47, 36, 78] Operation: 51+27=78 Exploring Operation: 47+36=83, Resulting Numbers: [51, 27, 83] Generated Node #0,1: 67:[51, 27, 83] Operation: 47+36=83 Exploring Operation: 27+47=74, Resulting Numbers: [51, 36, 74] Generated Node #0,2: 67:[51, 36, 74] Operation: 27+47=74 Exploring Operation: 27+36=63, Resulting Numbers: [51, 47, 63] Generated Node #0,3: 67:[51, 47, 63] Operation: 27+36=63 Moving to Node #0,3 Current State: 67:[51, 47, 63], Operations: ['27+36=63'] Exploring Operation: 51+47=98, Resulting Numbers: [63, 98] Generated Node #0,3,0: 67:[63, 98] Operation: 51+47=98 Exploring Operation: 51+63=114, Resulting Numbers: [47, 114] Generated Node #0,3,1: 67:[47, 114] Operation: 51+63=114 Exploring Operation: 51-47=4, Resulting Numbers: [63, 4] Generated Node #0,3,2: 67:[63, 4] Operation: 51-47=4 Exploring Operation: 47+63=110, Resulting Numbers: [51, 110] Generated Node #0,3,3: 67:[51, 110] Operation: 47+63=110 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 67:[63, 98], Operations: ['27+36=63', '51+47=98'] Exploring Operation: 63*98=6174, Resulting Numbers: [6174] 6174,67 unequal: No Solution Exploring Operation: 63+98=161, Resulting Numbers: [161] 161,67 unequal: No Solution Exploring Operation: 98-63=35, Resulting Numbers: [35] 35,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 67:[51, 110], Operations: ['27+36=63', '47+63=110'] Exploring Operation: 110-51=59, Resulting Numbers: [59] 59,67 unequal: No Solution Exploring Operation: 51*110=5610, Resulting Numbers: [5610] 5610,67 unequal: No Solution Exploring Operation: 51+110=161, Resulting Numbers: [161] 161,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 67:[47, 114], Operations: ['27+36=63', '51+63=114'] Exploring Operation: 114-47=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[51, 27, 47, 36], Operations: [] Exploring Operation: 27+36=63, Resulting Numbers: [51, 47, 63] Generated Node #0,3: 67:[51, 47, 63] Operation: 27+36=63 Moving to Node #0,3 Current State: 67:[51, 47, 63], Operations: ['27+36=63'] Exploring Operation: 51+63=114, Resulting Numbers: [47, 114] Generated Node #0,3,1: 67:[47, 114] Operation: 51+63=114 Moving to Node #0,3,1 Current State: 67:[47, 114], Operations: ['27+36=63', '51+63=114'] Exploring Operation: 114-47=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 24, 6, 69, 24 ]
74
[ "24/24=1", "6+69=75", "75-1=74" ]
Current State: 74:[24, 6, 69, 24], Operations: [] Exploring Operation: 24/24=1, Resulting Numbers: [6, 69, 1] Generated Node #2: [6, 69, 1] from Operation: 24/24=1 Current State: 74:[6, 69, 1], Operations: ['24/24=1'] Exploring Operation: 6+69=75, Resulting Numbers: [1, 75] Generated Node #3: [1, 75] from Operation: 6+69=75 Current State: 74:[1, 75], Operations: ['24/24=1', '6+69=75'] Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[24, 6, 69, 24], Operations: [] Exploring Operation: 24+24=48, Resulting Numbers: [6, 69, 48] Generated Node #0,0: 74:[6, 69, 48] Operation: 24+24=48 Exploring Operation: 24/6=4, Resulting Numbers: [69, 24, 4] Generated Node #0,1: 74:[69, 24, 4] Operation: 24/6=4 Exploring Operation: 24/24=1, Resulting Numbers: [6, 69, 1] Generated Node #0,2: 74:[6, 69, 1] Operation: 24/24=1 Exploring Operation: 24-24=0, Resulting Numbers: [6, 69, 0] Generated Node #0,3: 74:[6, 69, 0] Operation: 24-24=0 Moving to Node #0,2 Current State: 74:[6, 69, 1], Operations: ['24/24=1'] Exploring Operation: 6-1=5, Resulting Numbers: [69, 5] Generated Node #0,2,0: 74:[69, 5] Operation: 6-1=5 Exploring Operation: 6*1=6, Resulting Numbers: [69, 6] Generated Node #0,2,1: 74:[69, 6] Operation: 6*1=6 Exploring Operation: 6+69=75, Resulting Numbers: [1, 75] Generated Node #0,2,2: 74:[1, 75] Operation: 6+69=75 Exploring Operation: 69+1=70, Resulting Numbers: [6, 70] Generated Node #0,2,3: 74:[6, 70] Operation: 69+1=70 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 74:[1, 75], Operations: ['24/24=1', '6+69=75'] Exploring Operation: 75/1=75, Resulting Numbers: [75] 75,74 unequal: No Solution Exploring Operation: 1*75=75, Resulting Numbers: [75] 75,74 unequal: No Solution Exploring Operation: 1+75=76, Resulting Numbers: [76] 76,74 unequal: No Solution Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[24, 6, 69, 24], Operations: [] Exploring Operation: 24/24=1, Resulting Numbers: [6, 69, 1] Generated Node #0,2: 74:[6, 69, 1] Operation: 24/24=1 Moving to Node #0,2 Current State: 74:[6, 69, 1], Operations: ['24/24=1'] Exploring Operation: 6+69=75, Resulting Numbers: [1, 75] Generated Node #0,2,2: 74:[1, 75] Operation: 6+69=75 Moving to Node #0,2,2 Current State: 74:[1, 75], Operations: ['24/24=1', '6+69=75'] Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 20, 9, 84, 3 ]
91
[ "84-20=64", "9*3=27", "64+27=91" ]
Current State: 91:[20, 9, 84, 3], Operations: [] Exploring Operation: 84-20=64, Resulting Numbers: [9, 3, 64] Generated Node #2: [9, 3, 64] from Operation: 84-20=64 Current State: 91:[9, 3, 64], Operations: ['84-20=64'] Exploring Operation: 9*3=27, Resulting Numbers: [64, 27] Generated Node #3: [64, 27] from Operation: 9*3=27 Current State: 91:[64, 27], Operations: ['84-20=64', '9*3=27'] Exploring Operation: 64+27=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[20, 9, 84, 3], Operations: [] Exploring Operation: 9+84=93, Resulting Numbers: [20, 3, 93] Generated Node #0,0: 91:[20, 3, 93] Operation: 9+84=93 Exploring Operation: 84+3=87, Resulting Numbers: [20, 9, 87] Generated Node #0,1: 91:[20, 9, 87] Operation: 84+3=87 Exploring Operation: 20-9=11, Resulting Numbers: [84, 3, 11] Generated Node #0,2: 91:[84, 3, 11] Operation: 20-9=11 Exploring Operation: 20-3=17, Resulting Numbers: [9, 84, 17] Generated Node #0,3: 91:[9, 84, 17] Operation: 20-3=17 Moving to Node #0,0 Current State: 91:[20, 3, 93], Operations: ['9+84=93'] Exploring Operation: 3+93=96, Resulting Numbers: [20, 96] Generated Node #0,0,0: 91:[20, 96] Operation: 3+93=96 Exploring Operation: 93-3=90, Resulting Numbers: [20, 90] Generated Node #0,0,1: 91:[20, 90] Operation: 93-3=90 Exploring Operation: 20+3=23, Resulting Numbers: [93, 23] Generated Node #0,0,2: 91:[93, 23] Operation: 20+3=23 Exploring Operation: 20-3=17, Resulting Numbers: [93, 17] Generated Node #0,0,3: 91:[93, 17] Operation: 20-3=17 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 91:[93, 17], Operations: ['9+84=93', '20-3=17'] Exploring Operation: 93*17=1581, Resulting Numbers: [1581] 1581,91 unequal: No Solution Exploring Operation: 93-17=76, Resulting Numbers: [76] 76,91 unequal: No Solution Exploring Operation: 93+17=110, Resulting Numbers: [110] 110,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 91:[20, 90], Operations: ['9+84=93', '93-3=90'] Exploring Operation: 20*90=1800, Resulting Numbers: [1800] 1800,91 unequal: No Solution Exploring Operation: 90-20=70, Resulting Numbers: [70] 70,91 unequal: No Solution Exploring Operation: 20+90=110, Resulting Numbers: [110] 110,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[20, 96], Operations: ['9+84=93', '3+93=96'] Exploring Operation: 20+96=116, Resulting Numbers: [116] 116,91 unequal: No Solution Exploring Operation: 96-20=76, Resulting Numbers: [76] 76,91 unequal: No Solution Exploring Operation: 20*96=1920, Resulting Numbers: [1920] 1920,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 91:[93, 23], Operations: ['9+84=93', '20+3=23'] Exploring Operation: 93+23=116, Resulting Numbers: [116] 116,91 unequal: No Solution Exploring Operation: 93*23=2139, Resulting Numbers: [2139] 2139,91 unequal: No Solution Exploring Operation: 93-23=70, Resulting Numbers: [70] 70,91 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: 91:[84, 3, 11], Operations: ['20-9=11'] Exploring Operation: 84+3=87, Resulting Numbers: [11, 87] Generated Node #0,2,0: 91:[11, 87] Operation: 84+3=87 Exploring Operation: 3+11=14, Resulting Numbers: [84, 14] Generated Node #0,2,1: 91:[84, 14] Operation: 3+11=14 Exploring Operation: 11-3=8, Resulting Numbers: [84, 8] Generated Node #0,2,2: 91:[84, 8] Operation: 11-3=8 Exploring Operation: 84+11=95, Resulting Numbers: [3, 95] Generated Node #0,2,3: 91:[3, 95] Operation: 84+11=95 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 91:[11, 87], Operations: ['20-9=11', '84+3=87'] Exploring Operation: 87-11=76, Resulting Numbers: [76] 76,91 unequal: No Solution Exploring Operation: 11*87=957, Resulting Numbers: [957] 957,91 unequal: No Solution Exploring Operation: 11+87=98, Resulting Numbers: [98] 98,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 91:[84, 14], Operations: ['20-9=11', '3+11=14'] Exploring Operation: 84-14=70, Resulting Numbers: [70] 70,91 unequal: No Solution Exploring Operation: 84*14=1176, Resulting Numbers: [1176] 1176,91 unequal: No Solution Exploring Operation: 84+14=98, Resulting Numbers: [98] 98,91 unequal: No Solution Exploring Operation: 84/14=6, Resulting Numbers: [6] 6,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 91:[84, 8], Operations: ['20-9=11', '11-3=8'] Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,91 unequal: No Solution Exploring Operation: 84*8=672, Resulting Numbers: [672] 672,91 unequal: No Solution Exploring Operation: 84+8=92, Resulting Numbers: [92] 92,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 91:[3, 95], Operations: ['20-9=11', '84+11=95'] Exploring Operation: 3+95=98, Resulting Numbers: [98] 98,91 unequal: No Solution Exploring Operation: 3*95=285, Resulting Numbers: [285] 285,91 unequal: No Solution Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 91:[20, 9, 87], Operations: ['84+3=87'] Exploring Operation: 20-9=11, Resulting Numbers: [87, 11] Generated Node #0,1,0: 91:[87, 11] Operation: 20-9=11 Exploring Operation: 20+87=107, Resulting Numbers: [9, 107] Generated Node #0,1,1: 91:[9, 107] Operation: 20+87=107 Exploring Operation: 20+9=29, Resulting Numbers: [87, 29] Generated Node #0,1,2: 91:[87, 29] Operation: 20+9=29 Exploring Operation: 9+87=96, Resulting Numbers: [20, 96] Generated Node #0,1,3: 91:[20, 96] Operation: 9+87=96 Moving to Node #0,3 Current State: 91:[9, 84, 17], Operations: ['20-3=17'] Exploring Operation: 84-9=75, Resulting Numbers: [17, 75] Generated Node #0,3,0: 91:[17, 75] Operation: 84-9=75 Exploring Operation: 9+84=93, Resulting Numbers: [17, 93] Generated Node #0,3,1: 91:[17, 93] Operation: 9+84=93 Exploring Operation: 84+17=101, Resulting Numbers: [9, 101] Generated Node #0,3,2: 91:[9, 101] Operation: 84+17=101 Exploring Operation: 17-9=8, Resulting Numbers: [84, 8] Generated Node #0,3,3: 91:[84, 8] Operation: 17-9=8 Moving to Node #0,1,0 Current State: 91:[87, 11], Operations: ['84+3=87', '20-9=11'] Exploring Operation: 87-11=76, Resulting Numbers: [76] 76,91 unequal: No Solution Exploring Operation: 87*11=957, Resulting Numbers: [957] 957,91 unequal: No Solution Exploring Operation: 87+11=98, Resulting Numbers: [98] 98,91 unequal: No Solution Moving to Node #0,3,1 Current State: 91:[17, 93], Operations: ['20-3=17', '9+84=93'] Exploring Operation: 17+93=110, Resulting Numbers: [110] 110,91 unequal: No Solution Exploring Operation: 17*93=1581, Resulting Numbers: [1581] 1581,91 unequal: No Solution Exploring Operation: 93-17=76, Resulting Numbers: [76] 76,91 unequal: No Solution Moving to Node #0,3,3 Current State: 91:[84, 8], Operations: ['20-3=17', '17-9=8'] Exploring Operation: 84*8=672, Resulting Numbers: [672] 672,91 unequal: No Solution Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,91 unequal: No Solution Exploring Operation: 84+8=92, Resulting Numbers: [92] 92,91 unequal: No Solution Moving to Node #0,3,2 Current State: 91:[9, 101], Operations: ['20-3=17', '84+17=101'] Exploring Operation: 101-9=92, Resulting Numbers: [92] 92,91 unequal: No Solution Exploring Operation: 9*101=909, Resulting Numbers: [909] 909,91 unequal: No Solution Exploring Operation: 9+101=110, Resulting Numbers: [110] 110,91 unequal: No Solution Moving to Node #0,1,3 Current State: 91:[20, 96], Operations: ['84+3=87', '9+87=96'] Exploring Operation: 20*96=1920, Resulting Numbers: [1920] 1920,91 unequal: No Solution Exploring Operation: 20+96=116, Resulting Numbers: [116] 116,91 unequal: No Solution Exploring Operation: 96-20=76, Resulting Numbers: [76] 76,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[9, 107], Operations: ['84+3=87', '20+87=107'] Exploring Operation: 107-9=98, Resulting Numbers: [98] 98,91 unequal: No Solution Exploring Operation: 9+107=116, Resulting Numbers: [116] 116,91 unequal: No Solution Exploring Operation: 9*107=963, Resulting Numbers: [963] 963,91 unequal: No Solution Moving to Node #0,1,2 Current State: 91:[87, 29], Operations: ['84+3=87', '20+9=29'] Exploring Operation: 87*29=2523, Resulting Numbers: [2523] 2523,91 unequal: No Solution Exploring Operation: 87/29=3, Resulting Numbers: [3] 3,91 unequal: No Solution Exploring Operation: 87+29=116, Resulting Numbers: [116] 116,91 unequal: No Solution Exploring Operation: 87-29=58, Resulting Numbers: [58] 58,91 unequal: No Solution Moving to Node #0,3,0 Current State: 91:[17, 75], Operations: ['20-3=17', '84-9=75'] Exploring Operation: 75-17=58, Resulting Numbers: [58] 58,91 unequal: No Solution Exploring Operation: 17*75=1275, Resulting Numbers: [1275] 1275,91 unequal: No Solution Exploring Operation: 17+75=92, Resulting Numbers: [92] 92,91 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 80, 10, 99, 40 ]
15
[ "99-80=19", "40/10=4", "19-4=15" ]
Current State: 15:[80, 10, 99, 40], Operations: [] Exploring Operation: 99-80=19, Resulting Numbers: [10, 40, 19] Generated Node #2: [10, 40, 19] from Operation: 99-80=19 Current State: 15:[10, 40, 19], Operations: ['99-80=19'] Exploring Operation: 40/10=4, Resulting Numbers: [19, 4] Generated Node #3: [19, 4] from Operation: 40/10=4 Current State: 15:[19, 4], Operations: ['99-80=19', '40/10=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[80, 10, 99, 40], Operations: [] Exploring Operation: 99-80=19, Resulting Numbers: [10, 40, 19] Generated Node #0,0: 15:[10, 40, 19] Operation: 99-80=19 Exploring Operation: 80/10=8, Resulting Numbers: [99, 40, 8] Generated Node #0,1: 15:[99, 40, 8] Operation: 80/10=8 Exploring Operation: 80/40=2, Resulting Numbers: [10, 99, 2] Generated Node #0,2: 15:[10, 99, 2] Operation: 80/40=2 Exploring Operation: 99-40=59, Resulting Numbers: [80, 10, 59] Generated Node #0,3: 15:[80, 10, 59] Operation: 99-40=59 Exploring Operation: 80-40=40, Resulting Numbers: [10, 99, 40] Generated Node #0,4: 15:[10, 99, 40] Operation: 80-40=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[10, 40, 19], Operations: ['99-80=19'] Exploring Operation: 40/10=4, Resulting Numbers: [19, 4] Generated Node #0,0,0: 15:[19, 4] Operation: 40/10=4 Exploring Operation: 40-10=30, Resulting Numbers: [19, 30] Generated Node #0,0,1: 15:[19, 30] Operation: 40-10=30 Exploring Operation: 40-19=21, Resulting Numbers: [10, 21] Generated Node #0,0,2: 15:[10, 21] Operation: 40-19=21 Exploring Operation: 19-10=9, Resulting Numbers: [40, 9] Generated Node #0,0,3: 15:[40, 9] Operation: 19-10=9 Exploring Operation: 10+40=50, Resulting Numbers: [19, 50] Generated Node #0,0,4: 15:[19, 50] Operation: 10+40=50 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[19, 4], Operations: ['99-80=19', '40/10=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[80, 10, 99, 40], Operations: [] Exploring Operation: 99-80=19, Resulting Numbers: [10, 40, 19] Generated Node #0,0: 15:[10, 40, 19] Operation: 99-80=19 Moving to Node #0,0 Current State: 15:[10, 40, 19], Operations: ['99-80=19'] Exploring Operation: 40/10=4, Resulting Numbers: [19, 4] Generated Node #0,0,0: 15:[19, 4] Operation: 40/10=4 Moving to Node #0,0,0 Current State: 15:[19, 4], Operations: ['99-80=19', '40/10=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 78, 95, 9, 5 ]
40
[ "95-78=17", "17-9=8", "5*8=40" ]
Current State: 40:[78, 95, 9, 5], Operations: [] Exploring Operation: 95-78=17, Resulting Numbers: [9, 5, 17] Generated Node #2: [9, 5, 17] from Operation: 95-78=17 Current State: 40:[9, 5, 17], Operations: ['95-78=17'] Exploring Operation: 17-9=8, Resulting Numbers: [5, 8] Generated Node #3: [5, 8] from Operation: 17-9=8 Current State: 40:[5, 8], Operations: ['95-78=17', '17-9=8'] Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[78, 95, 9, 5], Operations: [] Exploring Operation: 95/5=19, Resulting Numbers: [78, 9, 19] Generated Node #0,0: 40:[78, 9, 19] Operation: 95/5=19 Exploring Operation: 95-78=17, Resulting Numbers: [9, 5, 17] Generated Node #0,1: 40:[9, 5, 17] Operation: 95-78=17 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[9, 5, 17], Operations: ['95-78=17'] Exploring Operation: 17-9=8, Resulting Numbers: [5, 8] Generated Node #0,1,0: 40:[5, 8] Operation: 17-9=8 Exploring Operation: 9-5=4, Resulting Numbers: [17, 4] Generated Node #0,1,1: 40:[17, 4] Operation: 9-5=4 Moving to Node #0,1,0 Current State: 40:[5, 8], Operations: ['95-78=17', '17-9=8'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,40 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[78, 95, 9, 5], Operations: [] Exploring Operation: 95-78=17, Resulting Numbers: [9, 5, 17] Generated Node #0,1: 40:[9, 5, 17] Operation: 95-78=17 Moving to Node #0,1 Current State: 40:[9, 5, 17], Operations: ['95-78=17'] Exploring Operation: 17-9=8, Resulting Numbers: [5, 8] Generated Node #0,1,0: 40:[5, 8] Operation: 17-9=8 Moving to Node #0,1,0 Current State: 40:[5, 8], Operations: ['95-78=17', '17-9=8'] Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 70, 40, 23, 37 ]
31
[ "70+23=93", "40-37=3", "93/3=31" ]
Current State: 31:[70, 40, 23, 37], Operations: [] Exploring Operation: 70+23=93, Resulting Numbers: [40, 37, 93] Generated Node #2: [40, 37, 93] from Operation: 70+23=93 Current State: 31:[40, 37, 93], Operations: ['70+23=93'] Exploring Operation: 40-37=3, Resulting Numbers: [93, 3] Generated Node #3: [93, 3] from Operation: 40-37=3 Current State: 31:[93, 3], Operations: ['70+23=93', '40-37=3'] Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[70, 40, 23, 37], Operations: [] Exploring Operation: 70-37=33, Resulting Numbers: [40, 23, 33] Generated Node #0,0: 31:[40, 23, 33] Operation: 70-37=33 Exploring Operation: 70-40=30, Resulting Numbers: [23, 37, 30] Generated Node #0,1: 31:[23, 37, 30] Operation: 70-40=30 Moving to Node #0,1 Current State: 31:[23, 37, 30], Operations: ['70-40=30'] Exploring Operation: 23+30=53, Resulting Numbers: [37, 53] Generated Node #0,1,0: 31:[37, 53] Operation: 23+30=53 Exploring Operation: 37-23=14, Resulting Numbers: [30, 14] Generated Node #0,1,1: 31:[30, 14] Operation: 37-23=14 Moving to Node #0,0 Current State: 31:[40, 23, 33], Operations: ['70-37=33'] Exploring Operation: 33-23=10, Resulting Numbers: [40, 10] Generated Node #0,0,0: 31:[40, 10] Operation: 33-23=10 Exploring Operation: 40-23=17, Resulting Numbers: [33, 17] Generated Node #0,0,1: 31:[33, 17] Operation: 40-23=17 Moving to Node #0,0,1 Current State: 31:[33, 17], Operations: ['70-37=33', '40-23=17'] Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,31 unequal: No Solution Exploring Operation: 33+17=50, Resulting Numbers: [50] 50,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[30, 14], Operations: ['70-40=30', '37-23=14'] Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,31 unequal: No Solution Exploring Operation: 30+14=44, Resulting Numbers: [44] 44,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[37, 53], Operations: ['70-40=30', '23+30=53'] Exploring Operation: 37+53=90, Resulting Numbers: [90] 90,31 unequal: No Solution Exploring Operation: 53-37=16, Resulting Numbers: [16] 16,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[40, 10], Operations: ['70-37=33', '33-23=10'] Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 40+10=50, Resulting Numbers: [50] 50,31 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 5, 76, 98, 7 ]
75
[ "98-76=22", "22-7=15", "5*15=75" ]
Current State: 75:[5, 76, 98, 7], Operations: [] Exploring Operation: 98-76=22, Resulting Numbers: [5, 7, 22] Generated Node #2: [5, 7, 22] from Operation: 98-76=22 Current State: 75:[5, 7, 22], Operations: ['98-76=22'] Exploring Operation: 22-7=15, Resulting Numbers: [5, 15] Generated Node #3: [5, 15] from Operation: 22-7=15 Current State: 75:[5, 15], Operations: ['98-76=22', '22-7=15'] Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[5, 76, 98, 7], Operations: [] Exploring Operation: 98/7=14, Resulting Numbers: [5, 76, 14] Generated Node #0,0: 75:[5, 76, 14] Operation: 98/7=14 Moving to Node #0,0 Current State: 75:[5, 76, 14], Operations: ['98/7=14'] Exploring Operation: 76-5=71, Resulting Numbers: [14, 71] Generated Node #0,0,0: 75:[14, 71] Operation: 76-5=71 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[14, 71], Operations: ['98/7=14', '76-5=71'] Exploring Operation: 14+71=85, Resulting Numbers: [85] 85,75 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
[ 92, 98, 60, 94 ]
28
[ "98-92=6", "94-60=34", "34-6=28" ]
Current State: 28:[92, 98, 60, 94], Operations: [] Exploring Operation: 98-92=6, Resulting Numbers: [60, 94, 6] Generated Node #2: [60, 94, 6] from Operation: 98-92=6 Current State: 28:[60, 94, 6], Operations: ['98-92=6'] Exploring Operation: 94-60=34, Resulting Numbers: [6, 34] Generated Node #3: [6, 34] from Operation: 94-60=34 Current State: 28:[6, 34], Operations: ['98-92=6', '94-60=34'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[92, 98, 60, 94], Operations: [] Exploring Operation: 94-92=2, Resulting Numbers: [98, 60, 2] Generated Node #0,0: 28:[98, 60, 2] Operation: 94-92=2 Exploring Operation: 98-94=4, Resulting Numbers: [92, 60, 4] Generated Node #0,1: 28:[92, 60, 4] Operation: 98-94=4 Exploring Operation: 92-60=32, Resulting Numbers: [98, 94, 32] Generated Node #0,2: 28:[98, 94, 32] Operation: 92-60=32 Exploring Operation: 98-92=6, Resulting Numbers: [60, 94, 6] Generated Node #0,3: 28:[60, 94, 6] Operation: 98-92=6 Moving to Node #0,1 Current State: 28:[92, 60, 4], Operations: ['98-94=4'] Exploring Operation: 92-4=88, Resulting Numbers: [60, 88] Generated Node #0,1,0: 28:[60, 88] Operation: 92-4=88 Exploring Operation: 92/4=23, Resulting Numbers: [60, 23] Generated Node #0,1,1: 28:[60, 23] Operation: 92/4=23 Exploring Operation: 60/4=15, Resulting Numbers: [92, 15] Generated Node #0,1,2: 28:[92, 15] Operation: 60/4=15 Exploring Operation: 92-60=32, Resulting Numbers: [4, 32] Generated Node #0,1,3: 28:[4, 32] Operation: 92-60=32 Moving to Node #0,3 Current State: 28:[60, 94, 6], Operations: ['98-92=6'] Exploring Operation: 60-6=54, Resulting Numbers: [94, 54] Generated Node #0,3,0: 28:[94, 54] Operation: 60-6=54 Exploring Operation: 94-6=88, Resulting Numbers: [60, 88] Generated Node #0,3,1: 28:[60, 88] Operation: 94-6=88 Exploring Operation: 60/6=10, Resulting Numbers: [94, 10] Generated Node #0,3,2: 28:[94, 10] Operation: 60/6=10 Exploring Operation: 94-60=34, Resulting Numbers: [6, 34] Generated Node #0,3,3: 28:[6, 34] Operation: 94-60=34 Moving to Node #0,0 Current State: 28:[98, 60, 2], Operations: ['94-92=2'] Exploring Operation: 98-60=38, Resulting Numbers: [2, 38] Generated Node #0,0,0: 28:[2, 38] Operation: 98-60=38 Exploring Operation: 98-2=96, Resulting Numbers: [60, 96] Generated Node #0,0,1: 28:[60, 96] Operation: 98-2=96 Exploring Operation: 60/2=30, Resulting Numbers: [98, 30] Generated Node #0,0,2: 28:[98, 30] Operation: 60/2=30 Exploring Operation: 98/2=49, Resulting Numbers: [60, 49] Generated Node #0,0,3: 28:[60, 49] Operation: 98/2=49 Moving to Node #0,2 Current State: 28:[98, 94, 32], Operations: ['92-60=32'] Exploring Operation: 98-94=4, Resulting Numbers: [32, 4] Generated Node #0,2,0: 28:[32, 4] Operation: 98-94=4 Exploring Operation: 98+94=192, Resulting Numbers: [32, 192] Generated Node #0,2,1: 28:[32, 192] Operation: 98+94=192 Exploring Operation: 98-32=66, Resulting Numbers: [94, 66] Generated Node #0,2,2: 28:[94, 66] Operation: 98-32=66 Exploring Operation: 94-32=62, Resulting Numbers: [98, 62] Generated Node #0,2,3: 28:[98, 62] Operation: 94-32=62 Moving to Node #0,1,3 Current State: 28:[4, 32], Operations: ['98-94=4', '92-60=32'] Exploring Operation: 4*32=128, Resulting Numbers: [128] 128,28 unequal: No Solution Exploring Operation: 4+32=36, Resulting Numbers: [36] 36,28 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,28 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[92, 98, 60, 94], Operations: [] Exploring Operation: 98-94=4, Resulting Numbers: [92, 60, 4] Generated Node #0,1: 28:[92, 60, 4] Operation: 98-94=4 Moving to Node #0,1 Current State: 28:[92, 60, 4], Operations: ['98-94=4'] Exploring Operation: 92-60=32, Resulting Numbers: [4, 32] Generated Node #0,1,3: 28:[4, 32] Operation: 92-60=32 Moving to Node #0,1,3 Current State: 28:[4, 32], Operations: ['98-94=4', '92-60=32'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
0.975694
hs_4
sum_heuristic
[ 19, 89, 63, 93 ]
40
[ "89-19=70", "93-63=30", "70-30=40" ]
Current State: 40:[19, 89, 63, 93], Operations: [] Exploring Operation: 89-19=70, Resulting Numbers: [63, 93, 70] Generated Node #2: [63, 93, 70] from Operation: 89-19=70 Current State: 40:[63, 93, 70], Operations: ['89-19=70'] Exploring Operation: 93-63=30, Resulting Numbers: [70, 30] Generated Node #3: [70, 30] from Operation: 93-63=30 Current State: 40:[70, 30], Operations: ['89-19=70', '93-63=30'] Exploring Operation: 70-30=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[19, 89, 63, 93], Operations: [] Exploring Operation: 89-63=26, Resulting Numbers: [19, 93, 26] Generated Node #0,0: 40:[19, 93, 26] Operation: 89-63=26 Exploring Operation: 93-89=4, Resulting Numbers: [19, 63, 4] Generated Node #0,1: 40:[19, 63, 4] Operation: 93-89=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[19, 63, 4], Operations: ['93-89=4'] Exploring Operation: 63-4=59, Resulting Numbers: [19, 59] Generated Node #0,1,0: 40:[19, 59] Operation: 63-4=59 Exploring Operation: 63-19=44, Resulting Numbers: [4, 44] Generated Node #0,1,1: 40:[4, 44] Operation: 63-19=44 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 40:[4, 44], Operations: ['93-89=4', '63-19=44'] Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[19, 89, 63, 93], Operations: [] Exploring Operation: 93-89=4, Resulting Numbers: [19, 63, 4] Generated Node #0,1: 40:[19, 63, 4] Operation: 93-89=4 Moving to Node #0,1 Current State: 40:[19, 63, 4], Operations: ['93-89=4'] Exploring Operation: 63-19=44, Resulting Numbers: [4, 44] Generated Node #0,1,1: 40:[4, 44] Operation: 63-19=44 Moving to Node #0,1,1 Current State: 40:[4, 44], Operations: ['93-89=4', '63-19=44'] Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 51, 82, 74, 4 ]
48
[ "51*4=204", "82+74=156", "204-156=48" ]
Current State: 48:[51, 82, 74, 4], Operations: [] Exploring Operation: 51*4=204, Resulting Numbers: [82, 74, 204] Generated Node #2: [82, 74, 204] from Operation: 51*4=204 Current State: 48:[82, 74, 204], Operations: ['51*4=204'] Exploring Operation: 82+74=156, Resulting Numbers: [204, 156] Generated Node #3: [204, 156] from Operation: 82+74=156 Current State: 48:[204, 156], Operations: ['51*4=204', '82+74=156'] Exploring Operation: 204-156=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[51, 82, 74, 4], Operations: [] Exploring Operation: 74-51=23, Resulting Numbers: [82, 4, 23] Generated Node #0,0: 48:[82, 4, 23] Operation: 74-51=23 Exploring Operation: 82-74=8, Resulting Numbers: [51, 4, 8] Generated Node #0,1: 48:[51, 4, 8] Operation: 82-74=8 Exploring Operation: 82-51=31, Resulting Numbers: [74, 4, 31] Generated Node #0,2: 48:[74, 4, 31] Operation: 82-51=31 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[51, 4, 8], Operations: ['82-74=8'] Exploring Operation: 4+8=12, Resulting Numbers: [51, 12] Generated Node #0,1,0: 48:[51, 12] Operation: 4+8=12 Exploring Operation: 51-4=47, Resulting Numbers: [8, 47] Generated Node #0,1,1: 48:[8, 47] Operation: 51-4=47 Exploring Operation: 8-4=4, Resulting Numbers: [51, 4] Generated Node #0,1,2: 48:[51, 4] Operation: 8-4=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 48:[8, 47], Operations: ['82-74=8', '51-4=47'] Exploring Operation: 8*47=376, Resulting Numbers: [376] 376,48 unequal: No Solution Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,48 unequal: No Solution Exploring Operation: 8+47=55, Resulting Numbers: [55] 55,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 48:[51, 12], Operations: ['82-74=8', '4+8=12'] Exploring Operation: 51+12=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 51*12=612, Resulting Numbers: [612] 612,48 unequal: No Solution Exploring Operation: 51-12=39, Resulting Numbers: [39] 39,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 48:[51, 4], Operations: ['82-74=8', '8-4=4'] Exploring Operation: 51*4=204, Resulting Numbers: [204] 204,48 unequal: No Solution Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[74, 4, 31], Operations: ['82-51=31'] Exploring Operation: 31-4=27, Resulting Numbers: [74, 27] Generated Node #0,2,0: 48:[74, 27] Operation: 31-4=27 Exploring Operation: 74-31=43, Resulting Numbers: [4, 43] Generated Node #0,2,1: 48:[4, 43] Operation: 74-31=43 Exploring Operation: 74-4=70, Resulting Numbers: [31, 70] Generated Node #0,2,2: 48:[31, 70] Operation: 74-4=70 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 48:[4, 43], Operations: ['82-51=31', '74-31=43'] Exploring Operation: 4*43=172, Resulting Numbers: [172] 172,48 unequal: No Solution Exploring Operation: 4+43=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 48:[74, 27], Operations: ['82-51=31', '31-4=27'] Exploring Operation: 74+27=101, Resulting Numbers: [101] 101,48 unequal: No Solution Exploring Operation: 74*27=1998, Resulting Numbers: [1998] 1998,48 unequal: No Solution Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 48:[31, 70], Operations: ['82-51=31', '74-4=70'] Exploring Operation: 31*70=2170, Resulting Numbers: [2170] 2170,48 unequal: No Solution Exploring Operation: 31+70=101, Resulting Numbers: [101] 101,48 unequal: No Solution Exploring Operation: 70-31=39, Resulting Numbers: [39] 39,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[82, 4, 23], Operations: ['74-51=23'] Exploring Operation: 4+23=27, Resulting Numbers: [82, 27] Generated Node #0,0,0: 48:[82, 27] Operation: 4+23=27 Exploring Operation: 82-4=78, Resulting Numbers: [23, 78] Generated Node #0,0,1: 48:[23, 78] Operation: 82-4=78 Exploring Operation: 82-23=59, Resulting Numbers: [4, 59] Generated Node #0,0,2: 48:[4, 59] Operation: 82-23=59 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 48:[4, 59], Operations: ['74-51=23', '82-23=59'] Exploring Operation: 4+59=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 4*59=236, Resulting Numbers: [236] 236,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 48:[23, 78], Operations: ['74-51=23', '82-4=78'] Exploring Operation: 23+78=101, Resulting Numbers: [101] 101,48 unequal: No Solution Exploring Operation: 23*78=1794, Resulting Numbers: [1794] 1794,48 unequal: No Solution Exploring Operation: 78-23=55, Resulting Numbers: [55] 55,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[82, 27], Operations: ['74-51=23', '4+23=27'] Exploring Operation: 82*27=2214, Resulting Numbers: [2214] 2214,48 unequal: No Solution Exploring Operation: 82-27=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 82+27=109, Resulting Numbers: [109] 109,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 5, 64, 6, 32 ]
32
[ "5*6=30", "64/32=2", "30+2=32" ]
Current State: 32:[5, 64, 6, 32], Operations: [] Exploring Operation: 5*6=30, Resulting Numbers: [64, 32, 30] Generated Node #2: [64, 32, 30] from Operation: 5*6=30 Current State: 32:[64, 32, 30], Operations: ['5*6=30'] Exploring Operation: 64/32=2, Resulting Numbers: [30, 2] Generated Node #3: [30, 2] from Operation: 64/32=2 Current State: 32:[30, 2], Operations: ['5*6=30', '64/32=2'] Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[5, 64, 6, 32], Operations: [] Exploring Operation: 64-32=32, Resulting Numbers: [5, 6, 32] Generated Node #0,0: 32:[5, 6, 32] Operation: 64-32=32 Moving to Node #0,0 Current State: 32:[5, 6, 32], Operations: ['64-32=32'] Exploring Operation: 6-5=1, Resulting Numbers: [32, 1] Generated Node #0,0,0: 32:[32, 1] Operation: 6-5=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[32, 1], Operations: ['64-32=32', '6-5=1'] Exploring Operation: 32*1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[5, 64, 6, 32], Operations: [] Exploring Operation: 64-32=32, Resulting Numbers: [5, 6, 32] Generated Node #0,0: 32:[5, 6, 32] Operation: 64-32=32 Moving to Node #0,0 Current State: 32:[5, 6, 32], Operations: ['64-32=32'] Exploring Operation: 6-5=1, Resulting Numbers: [32, 1] Generated Node #0,0,0: 32:[32, 1] Operation: 6-5=1 Moving to Node #0,0,0 Current State: 32:[32, 1], Operations: ['64-32=32', '6-5=1'] Exploring Operation: 32*1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 27, 90, 40, 42 ]
46
[ "42-27=15", "90/15=6", "40+6=46" ]
Current State: 46:[27, 90, 40, 42], Operations: [] Exploring Operation: 42-27=15, Resulting Numbers: [90, 40, 15] Generated Node #2: [90, 40, 15] from Operation: 42-27=15 Current State: 46:[90, 40, 15], Operations: ['42-27=15'] Exploring Operation: 90/15=6, Resulting Numbers: [40, 6] Generated Node #3: [40, 6] from Operation: 90/15=6 Current State: 46:[40, 6], Operations: ['42-27=15', '90/15=6'] Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[27, 90, 40, 42], Operations: [] Exploring Operation: 90-40=50, Resulting Numbers: [27, 42, 50] Generated Node #0,0: 46:[27, 42, 50] Operation: 90-40=50 Exploring Operation: 90-42=48, Resulting Numbers: [27, 40, 48] Generated Node #0,1: 46:[27, 40, 48] Operation: 90-42=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[27, 42, 50], Operations: ['90-40=50'] Exploring Operation: 50-42=8, Resulting Numbers: [27, 8] Generated Node #0,0,0: 46:[27, 8] Operation: 50-42=8 Exploring Operation: 50-27=23, Resulting Numbers: [42, 23] Generated Node #0,0,1: 46:[42, 23] Operation: 50-27=23 Moving to Node #0,0,1 Current State: 46:[42, 23], Operations: ['90-40=50', '50-27=23'] Exploring Operation: 42+23=65, Resulting Numbers: [65] 65,46 unequal: No Solution Exploring Operation: 42-23=19, Resulting Numbers: [19] 19,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[27, 8], Operations: ['90-40=50', '50-42=8'] Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,46 unequal: No Solution Exploring Operation: 27+8=35, Resulting Numbers: [35] 35,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[27, 40, 48], Operations: ['90-42=48'] Exploring Operation: 48-40=8, Resulting Numbers: [27, 8] Generated Node #0,1,0: 46:[27, 8] Operation: 48-40=8 Exploring Operation: 48-27=21, Resulting Numbers: [40, 21] Generated Node #0,1,1: 46:[40, 21] Operation: 48-27=21 Moving to Node #0,1,1 Current State: 46:[40, 21], Operations: ['90-42=48', '48-27=21'] Exploring Operation: 40+21=61, Resulting Numbers: [61] 61,46 unequal: No Solution Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[27, 8], Operations: ['90-42=48', '48-40=8'] Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,46 unequal: No Solution Exploring Operation: 27+8=35, Resulting Numbers: [35] 35,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 28, 74, 98, 49 ]
18
[ "28*98=2744", "2744/49=56", "74-56=18" ]
Current State: 18:[28, 74, 98, 49], Operations: [] Exploring Operation: 28*98=2744, Resulting Numbers: [74, 49, 2744] Generated Node #2: [74, 49, 2744] from Operation: 28*98=2744 Current State: 18:[74, 49, 2744], Operations: ['28*98=2744'] Exploring Operation: 2744/49=56, Resulting Numbers: [74, 56] Generated Node #3: [74, 56] from Operation: 2744/49=56 Current State: 18:[74, 56], Operations: ['28*98=2744', '2744/49=56'] Exploring Operation: 74-56=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[28, 74, 98, 49], Operations: [] Exploring Operation: 98-74=24, Resulting Numbers: [28, 49, 24] Generated Node #0,0: 18:[28, 49, 24] Operation: 98-74=24 Exploring Operation: 98-49=49, Resulting Numbers: [28, 74, 49] Generated Node #0,1: 18:[28, 74, 49] Operation: 98-49=49 Exploring Operation: 98/49=2, Resulting Numbers: [28, 74, 2] Generated Node #0,2: 18:[28, 74, 2] Operation: 98/49=2 Exploring Operation: 74-49=25, Resulting Numbers: [28, 98, 25] Generated Node #0,3: 18:[28, 98, 25] Operation: 74-49=25 Moving to Node #0,0 Current State: 18:[28, 49, 24], Operations: ['98-74=24'] Exploring Operation: 49-28=21, Resulting Numbers: [24, 21] Generated Node #0,0,0: 18:[24, 21] Operation: 49-28=21 Exploring Operation: 28+49=77, Resulting Numbers: [24, 77] Generated Node #0,0,1: 18:[24, 77] Operation: 28+49=77 Exploring Operation: 28-24=4, Resulting Numbers: [49, 4] Generated Node #0,0,2: 18:[49, 4] Operation: 28-24=4 Exploring Operation: 49-24=25, Resulting Numbers: [28, 25] Generated Node #0,0,3: 18:[28, 25] Operation: 49-24=25 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[24, 21], Operations: ['98-74=24', '49-28=21'] Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 24*21=504, Resulting Numbers: [504] 504,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,0,3 Current State: 18:[28, 25], Operations: ['98-74=24', '49-24=25'] Exploring Operation: 28+25=53, Resulting Numbers: [53] 53,18 unequal: No Solution Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 28*25=700, Resulting Numbers: [700] 700,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,0,2 Current State: 18:[49, 4], Operations: ['98-74=24', '28-24=4'] Exploring Operation: 49+4=53, Resulting Numbers: [53] 53,18 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 49*4=196, Resulting Numbers: [196] 196,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,0,1 Current State: 18:[24, 77], Operations: ['98-74=24', '28+49=77'] Exploring Operation: 24*77=1848, Resulting Numbers: [1848] 1848,18 unequal: No Solution Exploring Operation: 24+77=101, Resulting Numbers: [101] 101,18 unequal: No Solution Exploring Operation: 77-24=53, Resulting Numbers: [53] 53,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 18:[28, 74, 2], Operations: ['98/49=2'] Exploring Operation: 28/2=14, Resulting Numbers: [74, 14] Generated Node #0,2,0: 18:[74, 14] Operation: 28/2=14 Exploring Operation: 74-28=46, Resulting Numbers: [2, 46] Generated Node #0,2,1: 18:[2, 46] Operation: 74-28=46 Exploring Operation: 74/2=37, Resulting Numbers: [28, 37] Generated Node #0,2,2: 18:[28, 37] Operation: 74/2=37 Exploring Operation: 28-2=26, Resulting Numbers: [74, 26] Generated Node #0,2,3: 18:[74, 26] Operation: 28-2=26 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 18:[2, 46], Operations: ['98/49=2', '74-28=46'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,18 unequal: No Solution Exploring Operation: 2+46=48, Resulting Numbers: [48] 48,18 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,18 unequal: No Solution Exploring Operation: 2*46=92, Resulting Numbers: [92] 92,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 18:[28, 37], Operations: ['98/49=2', '74/2=37'] Exploring Operation: 28+37=65, Resulting Numbers: [65] 65,18 unequal: No Solution Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 28*37=1036, Resulting Numbers: [1036] 1036,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 18:[74, 14], Operations: ['98/49=2', '28/2=14'] Exploring Operation: 74*14=1036, Resulting Numbers: [1036] 1036,18 unequal: No Solution Exploring Operation: 74-14=60, Resulting Numbers: [60] 60,18 unequal: No Solution Exploring Operation: 74+14=88, Resulting Numbers: [88] 88,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 18:[74, 26], Operations: ['98/49=2', '28-2=26'] Exploring Operation: 74+26=100, Resulting Numbers: [100] 100,18 unequal: No Solution Exploring Operation: 74*26=1924, Resulting Numbers: [1924] 1924,18 unequal: No Solution Exploring Operation: 74-26=48, Resulting Numbers: [48] 48,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 18:[28, 98, 25], Operations: ['74-49=25'] Exploring Operation: 28+98=126, Resulting Numbers: [25, 126] Generated Node #0,3,0: 18:[25, 126] Operation: 28+98=126 Exploring Operation: 98-28=70, Resulting Numbers: [25, 70] Generated Node #0,3,1: 18:[25, 70] Operation: 98-28=70 Exploring Operation: 28-25=3, Resulting Numbers: [98, 3] Generated Node #0,3,2: 18:[98, 3] Operation: 28-25=3 Exploring Operation: 98-25=73, Resulting Numbers: [28, 73] Generated Node #0,3,3: 18:[28, 73] Operation: 98-25=73 Moving to Node #0,1 Current State: 18:[28, 74, 49], Operations: ['98-49=49'] Exploring Operation: 28+74=102, Resulting Numbers: [49, 102] Generated Node #0,1,0: 18:[49, 102] Operation: 28+74=102 Exploring Operation: 49-28=21, Resulting Numbers: [74, 21] Generated Node #0,1,1: 18:[74, 21] Operation: 49-28=21 Exploring Operation: 74-28=46, Resulting Numbers: [49, 46] Generated Node #0,1,2: 18:[49, 46] Operation: 74-28=46 Exploring Operation: 74-49=25, Resulting Numbers: [28, 25] Generated Node #0,1,3: 18:[28, 25] Operation: 74-49=25 Moving to Node #0,1,3 Current State: 18:[28, 25], Operations: ['98-49=49', '74-49=25'] Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 28+25=53, Resulting Numbers: [53] 53,18 unequal: No Solution Exploring Operation: 28*25=700, Resulting Numbers: [700] 700,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[74, 21], Operations: ['98-49=49', '49-28=21'] Exploring Operation: 74+21=95, Resulting Numbers: [95] 95,18 unequal: No Solution Exploring Operation: 74-21=53, Resulting Numbers: [53] 53,18 unequal: No Solution Exploring Operation: 74*21=1554, Resulting Numbers: [1554] 1554,18 unequal: No Solution Moving to Node #0,1,2 Current State: 18:[49, 46], Operations: ['98-49=49', '74-28=46'] Exploring Operation: 49+46=95, Resulting Numbers: [95] 95,18 unequal: No Solution Exploring Operation: 49*46=2254, Resulting Numbers: [2254] 2254,18 unequal: No Solution Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,18 unequal: No Solution Moving to Node #0,3,1 Current State: 18:[25, 70], Operations: ['74-49=25', '98-28=70'] Exploring Operation: 25*70=1750, Resulting Numbers: [1750] 1750,18 unequal: No Solution Exploring Operation: 25+70=95, Resulting Numbers: [95] 95,18 unequal: No Solution Exploring Operation: 70-25=45, Resulting Numbers: [45] 45,18 unequal: No Solution Moving to Node #0,3,3 Current State: 18:[28, 73], Operations: ['74-49=25', '98-25=73'] Exploring Operation: 28*73=2044, Resulting Numbers: [2044] 2044,18 unequal: No Solution Exploring Operation: 28+73=101, Resulting Numbers: [101] 101,18 unequal: No Solution Exploring Operation: 73-28=45, Resulting Numbers: [45] 45,18 unequal: No Solution Moving to Node #0,3,2 Current State: 18:[98, 3], Operations: ['74-49=25', '28-25=3'] Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,18 unequal: No Solution Exploring Operation: 98*3=294, Resulting Numbers: [294] 294,18 unequal: No Solution Exploring Operation: 98+3=101, Resulting Numbers: [101] 101,18 unequal: No Solution Moving to Node #0,3,0 Current State: 18:[25, 126], Operations: ['74-49=25', '28+98=126'] Exploring Operation: 25+126=151, Resulting Numbers: [151] 151,18 unequal: No Solution Exploring Operation: 25*126=3150, Resulting Numbers: [3150] 3150,18 unequal: No Solution Exploring Operation: 126-25=101, Resulting Numbers: [101] 101,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[49, 102], Operations: ['98-49=49', '28+74=102'] Exploring Operation: 102-49=53, Resulting Numbers: [53] 53,18 unequal: No Solution Exploring Operation: 49*102=4998, Resulting Numbers: [4998] 4998,18 unequal: No Solution Exploring Operation: 49+102=151, Resulting Numbers: [151] 151,18 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 40, 30, 31, 74 ]
34
[ "74-40=34", "31-30=1", "34*1=34" ]
Current State: 34:[40, 30, 31, 74], Operations: [] Exploring Operation: 74-40=34, Resulting Numbers: [30, 31, 34] Generated Node #2: [30, 31, 34] from Operation: 74-40=34 Current State: 34:[30, 31, 34], Operations: ['74-40=34'] Exploring Operation: 31-30=1, Resulting Numbers: [34, 1] Generated Node #3: [34, 1] from Operation: 31-30=1 Current State: 34:[34, 1], Operations: ['74-40=34', '31-30=1'] Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[40, 30, 31, 74], Operations: [] Exploring Operation: 74-31=43, Resulting Numbers: [40, 30, 43] Generated Node #0,0: 34:[40, 30, 43] Operation: 74-31=43 Exploring Operation: 74-40=34, Resulting Numbers: [30, 31, 34] Generated Node #0,1: 34:[30, 31, 34] Operation: 74-40=34 Exploring Operation: 74-30=44, Resulting Numbers: [40, 31, 44] Generated Node #0,2: 34:[40, 31, 44] Operation: 74-30=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[30, 31, 34], Operations: ['74-40=34'] Exploring Operation: 34-31=3, Resulting Numbers: [30, 3] Generated Node #0,1,0: 34:[30, 3] Operation: 34-31=3 Exploring Operation: 34-30=4, Resulting Numbers: [31, 4] Generated Node #0,1,1: 34:[31, 4] Operation: 34-30=4 Exploring Operation: 31-30=1, Resulting Numbers: [34, 1] Generated Node #0,1,2: 34:[34, 1] Operation: 31-30=1 Moving to Node #0,1,2 Current State: 34:[34, 1], Operations: ['74-40=34', '31-30=1'] Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[40, 30, 31, 74], Operations: [] Exploring Operation: 74-40=34, Resulting Numbers: [30, 31, 34] Generated Node #0,1: 34:[30, 31, 34] Operation: 74-40=34 Moving to Node #0,1 Current State: 34:[30, 31, 34], Operations: ['74-40=34'] Exploring Operation: 31-30=1, Resulting Numbers: [34, 1] Generated Node #0,1,2: 34:[34, 1] Operation: 31-30=1 Moving to Node #0,1,2 Current State: 34:[34, 1], Operations: ['74-40=34', '31-30=1'] Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 12, 42, 45, 39 ]
60
[ "12+42=54", "45-39=6", "54+6=60" ]
Current State: 60:[12, 42, 45, 39], Operations: [] Exploring Operation: 12+42=54, Resulting Numbers: [45, 39, 54] Generated Node #2: [45, 39, 54] from Operation: 12+42=54 Current State: 60:[45, 39, 54], Operations: ['12+42=54'] Exploring Operation: 45-39=6, Resulting Numbers: [54, 6] Generated Node #3: [54, 6] from Operation: 45-39=6 Current State: 60:[54, 6], Operations: ['12+42=54', '45-39=6'] Exploring Operation: 54+6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[12, 42, 45, 39], Operations: [] Exploring Operation: 45-39=6, Resulting Numbers: [12, 42, 6] Generated Node #0,0: 60:[12, 42, 6] Operation: 45-39=6 Exploring Operation: 45-42=3, Resulting Numbers: [12, 39, 3] Generated Node #0,1: 60:[12, 39, 3] Operation: 45-42=3 Exploring Operation: 42-12=30, Resulting Numbers: [45, 39, 30] Generated Node #0,2: 60:[45, 39, 30] Operation: 42-12=30 Exploring Operation: 42-39=3, Resulting Numbers: [12, 45, 3] Generated Node #0,3: 60:[12, 45, 3] Operation: 42-39=3 Moving to Node #0,1 Current State: 60:[12, 39, 3], Operations: ['45-42=3'] Exploring Operation: 39-12=27, Resulting Numbers: [3, 27] Generated Node #0,1,0: 60:[3, 27] Operation: 39-12=27 Exploring Operation: 39-3=36, Resulting Numbers: [12, 36] Generated Node #0,1,1: 60:[12, 36] Operation: 39-3=36 Exploring Operation: 39/3=13, Resulting Numbers: [12, 13] Generated Node #0,1,2: 60:[12, 13] Operation: 39/3=13 Exploring Operation: 12+39=51, Resulting Numbers: [3, 51] Generated Node #0,1,3: 60:[3, 51] Operation: 12+39=51 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 60:[12, 13], Operations: ['45-42=3', '39/3=13'] Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,60 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 12*13=156, Resulting Numbers: [156] 156,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 60:[3, 27], Operations: ['45-42=3', '39-12=27'] Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,60 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,60 unequal: No Solution Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,60 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 60:[12, 36], Operations: ['45-42=3', '39-3=36'] Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,60 unequal: No Solution Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,60 unequal: No Solution Exploring Operation: 12*36=432, Resulting Numbers: [432] 432,60 unequal: No Solution Exploring Operation: 12+36=48, Resulting Numbers: [48] 48,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 60:[3, 51], Operations: ['45-42=3', '12+39=51'] Exploring Operation: 3*51=153, Resulting Numbers: [153] 153,60 unequal: No Solution Exploring Operation: 3+51=54, Resulting Numbers: [54] 54,60 unequal: No Solution Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,60 unequal: No Solution Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 60:[12, 42, 6], Operations: ['45-39=6'] Exploring Operation: 12+42=54, Resulting Numbers: [6, 54] Generated Node #0,0,0: 60:[6, 54] Operation: 12+42=54 Exploring Operation: 42-12=30, Resulting Numbers: [6, 30] Generated Node #0,0,1: 60:[6, 30] Operation: 42-12=30 Exploring Operation: 42-6=36, Resulting Numbers: [12, 36] Generated Node #0,0,2: 60:[12, 36] Operation: 42-6=36 Exploring Operation: 42/6=7, Resulting Numbers: [12, 7] Generated Node #0,0,3: 60:[12, 7] Operation: 42/6=7 Moving to Node #0,3 Current State: 60:[12, 45, 3], Operations: ['42-39=3'] Exploring Operation: 45-12=33, Resulting Numbers: [3, 33] Generated Node #0,3,0: 60:[3, 33] Operation: 45-12=33 Exploring Operation: 45/3=15, Resulting Numbers: [12, 15] Generated Node #0,3,1: 60:[12, 15] Operation: 45/3=15 Exploring Operation: 45+3=48, Resulting Numbers: [12, 48] Generated Node #0,3,2: 60:[12, 48] Operation: 45+3=48 Exploring Operation: 12+45=57, Resulting Numbers: [3, 57] Generated Node #0,3,3: 60:[3, 57] Operation: 12+45=57 Moving to Node #0,2 Current State: 60:[45, 39, 30], Operations: ['42-12=30'] Exploring Operation: 45+39=84, Resulting Numbers: [30, 84] Generated Node #0,2,0: 60:[30, 84] Operation: 45+39=84 Exploring Operation: 45-30=15, Resulting Numbers: [39, 15] Generated Node #0,2,1: 60:[39, 15] Operation: 45-30=15 Exploring Operation: 45-39=6, Resulting Numbers: [30, 6] Generated Node #0,2,2: 60:[30, 6] Operation: 45-39=6 Exploring Operation: 39-30=9, Resulting Numbers: [45, 9] Generated Node #0,2,3: 60:[45, 9] Operation: 39-30=9 Moving to Node #0,0,1 Current State: 60:[6, 30], Operations: ['45-39=6', '42-12=30'] Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,60 unequal: No Solution Exploring Operation: 6*30=180, Resulting Numbers: [180] 180,60 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,60 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,60 unequal: No Solution Moving to Node #0,3,1 Current State: 60:[12, 15], Operations: ['42-39=3', '45/3=15'] Exploring Operation: 12*15=180, Resulting Numbers: [180] 180,60 unequal: No Solution Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,60 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,60 unequal: No Solution Moving to Node #0,2,2 Current State: 60:[30, 6], Operations: ['42-12=30', '45-39=6'] Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,60 unequal: No Solution Exploring Operation: 30+6=36, Resulting Numbers: [36] 36,60 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,60 unequal: No Solution Exploring Operation: 30*6=180, Resulting Numbers: [180] 180,60 unequal: No Solution Moving to Node #0,0,3 Current State: 60:[12, 7], Operations: ['45-39=6', '42/6=7'] Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,60 unequal: No Solution Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,60 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,60 unequal: No Solution Moving to Node #0,3,0 Current State: 60:[3, 33], Operations: ['42-39=3', '45-12=33'] Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,60 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,60 unequal: No Solution Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,60 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,60 unequal: No Solution Moving to Node #0,3,3 Current State: 60:[3, 57], Operations: ['42-39=3', '12+45=57'] Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,60 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,60 unequal: No Solution Exploring Operation: 3*57=171, Resulting Numbers: [171] 171,60 unequal: No Solution Exploring Operation: 3+57=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[12, 42, 45, 39], Operations: [] Exploring Operation: 42-39=3, Resulting Numbers: [12, 45, 3] Generated Node #0,3: 60:[12, 45, 3] Operation: 42-39=3 Moving to Node #0,3 Current State: 60:[12, 45, 3], Operations: ['42-39=3'] Exploring Operation: 12+45=57, Resulting Numbers: [3, 57] Generated Node #0,3,3: 60:[3, 57] Operation: 12+45=57 Moving to Node #0,3,3 Current State: 60:[3, 57], Operations: ['42-39=3', '12+45=57'] Exploring Operation: 3+57=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
0.947049
hs_4
mult_heuristic
[ 99, 72, 10, 56 ]
67
[ "99*56=5544", "5544/72=77", "77-10=67" ]
Current State: 67:[99, 72, 10, 56], Operations: [] Exploring Operation: 99*56=5544, Resulting Numbers: [72, 10, 5544] Generated Node #2: [72, 10, 5544] from Operation: 99*56=5544 Current State: 67:[72, 10, 5544], Operations: ['99*56=5544'] Exploring Operation: 5544/72=77, Resulting Numbers: [10, 77] Generated Node #3: [10, 77] from Operation: 5544/72=77 Current State: 67:[10, 77], Operations: ['99*56=5544', '5544/72=77'] Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[99, 72, 10, 56], Operations: [] Exploring Operation: 72-10=62, Resulting Numbers: [99, 56, 62] Generated Node #0,0: 67:[99, 56, 62] Operation: 72-10=62 Exploring Operation: 99+10=109, Resulting Numbers: [72, 56, 109] Generated Node #0,1: 67:[72, 56, 109] Operation: 99+10=109 Exploring Operation: 10+56=66, Resulting Numbers: [99, 72, 66] Generated Node #0,2: 67:[99, 72, 66] Operation: 10+56=66 Exploring Operation: 99-10=89, Resulting Numbers: [72, 56, 89] Generated Node #0,3: 67:[72, 56, 89] Operation: 99-10=89 Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[99, 72, 66], Operations: ['10+56=66'] Exploring Operation: 99-66=33, Resulting Numbers: [72, 33] Generated Node #0,2,0: 67:[72, 33] Operation: 99-66=33 Exploring Operation: 99-72=27, Resulting Numbers: [66, 27] Generated Node #0,2,1: 67:[66, 27] Operation: 99-72=27 Exploring Operation: 72-66=6, Resulting Numbers: [99, 6] Generated Node #0,2,2: 67:[99, 6] Operation: 72-66=6 Exploring Operation: 99+66=165, Resulting Numbers: [72, 165] Generated Node #0,2,3: 67:[72, 165] Operation: 99+66=165 Moving to Node #0,2,0 Current State: 67:[72, 33], Operations: ['10+56=66', '99-66=33'] Exploring Operation: 72+33=105, Resulting Numbers: [105] 105,67 unequal: No Solution Exploring Operation: 72-33=39, Resulting Numbers: [39] 39,67 unequal: No Solution Exploring Operation: 72*33=2376, Resulting Numbers: [2376] 2376,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[66, 27], Operations: ['10+56=66', '99-72=27'] Exploring Operation: 66-27=39, Resulting Numbers: [39] 39,67 unequal: No Solution Exploring Operation: 66*27=1782, Resulting Numbers: [1782] 1782,67 unequal: No Solution Exploring Operation: 66+27=93, Resulting Numbers: [93] 93,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[99, 6], Operations: ['10+56=66', '72-66=6'] Exploring Operation: 99-6=93, Resulting Numbers: [93] 93,67 unequal: No Solution Exploring Operation: 99+6=105, Resulting Numbers: [105] 105,67 unequal: No Solution Exploring Operation: 99*6=594, Resulting Numbers: [594] 594,67 unequal: No Solution Moving to Node #0,2,3 Current State: 67:[72, 165], Operations: ['10+56=66', '99+66=165'] Exploring Operation: 165-72=93, Resulting Numbers: [93] 93,67 unequal: No Solution Exploring Operation: 72*165=11880, Resulting Numbers: [11880] 11880,67 unequal: No Solution Exploring Operation: 72+165=237, Resulting Numbers: [237] 237,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 67:[72, 56, 89], Operations: ['99-10=89'] Exploring Operation: 72+56=128, Resulting Numbers: [89, 128] Generated Node #0,3,0: 67:[89, 128] Operation: 72+56=128 Exploring Operation: 89-56=33, Resulting Numbers: [72, 33] Generated Node #0,3,1: 67:[72, 33] Operation: 89-56=33 Exploring Operation: 72-56=16, Resulting Numbers: [89, 16] Generated Node #0,3,2: 67:[89, 16] Operation: 72-56=16 Exploring Operation: 89-72=17, Resulting Numbers: [56, 17] Generated Node #0,3,3: 67:[56, 17] Operation: 89-72=17 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 67:[72, 33], Operations: ['99-10=89', '89-56=33'] Exploring Operation: 72+33=105, Resulting Numbers: [105] 105,67 unequal: No Solution Exploring Operation: 72-33=39, Resulting Numbers: [39] 39,67 unequal: No Solution Exploring Operation: 72*33=2376, Resulting Numbers: [2376] 2376,67 unequal: No Solution No 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: 67:[56, 17], Operations: ['99-10=89', '89-72=17'] Exploring Operation: 56+17=73, Resulting Numbers: [73] 73,67 unequal: No Solution Exploring Operation: 56*17=952, Resulting Numbers: [952] 952,67 unequal: No Solution Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,67 unequal: No Solution No 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: 67:[89, 16], Operations: ['99-10=89', '72-56=16'] Exploring Operation: 89*16=1424, Resulting Numbers: [1424] 1424,67 unequal: No Solution Exploring Operation: 89+16=105, Resulting Numbers: [105] 105,67 unequal: No Solution Exploring Operation: 89-16=73, Resulting Numbers: [73] 73,67 unequal: No Solution No 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: 67:[89, 128], Operations: ['99-10=89', '72+56=128'] Exploring Operation: 89*128=11392, Resulting Numbers: [11392] 11392,67 unequal: No Solution Exploring Operation: 128-89=39, Resulting Numbers: [39] 39,67 unequal: No Solution Exploring Operation: 89+128=217, Resulting Numbers: [217] 217,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[99, 56, 62], Operations: ['72-10=62'] Exploring Operation: 99+56=155, Resulting Numbers: [62, 155] Generated Node #0,0,0: 67:[62, 155] Operation: 99+56=155 Exploring Operation: 56+62=118, Resulting Numbers: [99, 118] Generated Node #0,0,1: 67:[99, 118] Operation: 56+62=118 Exploring Operation: 99-56=43, Resulting Numbers: [62, 43] Generated Node #0,0,2: 67:[62, 43] Operation: 99-56=43 Exploring Operation: 99-62=37, Resulting Numbers: [56, 37] Generated Node #0,0,3: 67:[56, 37] Operation: 99-62=37 Moving to Node #0,0,2 Current State: 67:[62, 43], Operations: ['72-10=62', '99-56=43'] Exploring Operation: 62+43=105, Resulting Numbers: [105] 105,67 unequal: No Solution Exploring Operation: 62-43=19, Resulting Numbers: [19] 19,67 unequal: No Solution Exploring Operation: 62*43=2666, Resulting Numbers: [2666] 2666,67 unequal: No Solution Moving to Node #0,0,3 Current State: 67:[56, 37], Operations: ['72-10=62', '99-62=37'] Exploring Operation: 56-37=19, Resulting Numbers: [19] 19,67 unequal: No Solution Exploring Operation: 56+37=93, Resulting Numbers: [93] 93,67 unequal: No Solution Exploring Operation: 56*37=2072, Resulting Numbers: [2072] 2072,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[99, 118], Operations: ['72-10=62', '56+62=118'] Exploring Operation: 118-99=19, Resulting Numbers: [19] 19,67 unequal: No Solution Exploring Operation: 99+118=217, Resulting Numbers: [217] 217,67 unequal: No Solution Exploring Operation: 99*118=11682, Resulting Numbers: [11682] 11682,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[62, 155], Operations: ['72-10=62', '99+56=155'] Exploring Operation: 155-62=93, Resulting Numbers: [93] 93,67 unequal: No Solution Exploring Operation: 62+155=217, Resulting Numbers: [217] 217,67 unequal: No Solution Exploring Operation: 62*155=9610, Resulting Numbers: [9610] 9610,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 Current State: 67:[72, 56, 109], Operations: ['99+10=109'] Exploring Operation: 72-56=16, Resulting Numbers: [109, 16] Generated Node #0,1,0: 67:[109, 16] Operation: 72-56=16 Exploring Operation: 72+56=128, Resulting Numbers: [109, 128] Generated Node #0,1,1: 67:[109, 128] Operation: 72+56=128 Exploring Operation: 109-72=37, Resulting Numbers: [56, 37] Generated Node #0,1,2: 67:[56, 37] Operation: 109-72=37 Exploring Operation: 109-56=53, Resulting Numbers: [72, 53] Generated Node #0,1,3: 67:[72, 53] Operation: 109-56=53 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 67:[72, 53], Operations: ['99+10=109', '109-56=53'] Exploring Operation: 72*53=3816, Resulting Numbers: [3816] 3816,67 unequal: No Solution Exploring Operation: 72-53=19, Resulting Numbers: [19] 19,67 unequal: No Solution Exploring Operation: 72+53=125, Resulting Numbers: [125] 125,67 unequal: No Solution No 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: 67:[56, 37], Operations: ['99+10=109', '109-72=37'] Exploring Operation: 56-37=19, Resulting Numbers: [19] 19,67 unequal: No Solution Exploring Operation: 56+37=93, Resulting Numbers: [93] 93,67 unequal: No Solution Exploring Operation: 56*37=2072, Resulting Numbers: [2072] 2072,67 unequal: No Solution No 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: 67:[109, 16], Operations: ['99+10=109', '72-56=16'] Exploring Operation: 109*16=1744, Resulting Numbers: [1744] 1744,67 unequal: No Solution Exploring Operation: 109-16=93, Resulting Numbers: [93] 93,67 unequal: No Solution Exploring Operation: 109+16=125, Resulting Numbers: [125] 125,67 unequal: No Solution No 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: 67:[109, 128], Operations: ['99+10=109', '72+56=128'] Exploring Operation: 109+128=237, Resulting Numbers: [237] 237,67 unequal: No Solution Exploring Operation: 128-109=19, Resulting Numbers: [19] 19,67 unequal: No Solution Exploring Operation: 109*128=13952, Resulting Numbers: [13952] 13952,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 8, 33, 25, 75 ]
19
[ "33*25=825", "825/75=11", "8+11=19" ]
Current State: 19:[8, 33, 25, 75], Operations: [] Exploring Operation: 33*25=825, Resulting Numbers: [8, 75, 825] Generated Node #2: [8, 75, 825] from Operation: 33*25=825 Current State: 19:[8, 75, 825], Operations: ['33*25=825'] Exploring Operation: 825/75=11, Resulting Numbers: [8, 11] Generated Node #3: [8, 11] from Operation: 825/75=11 Current State: 19:[8, 11], Operations: ['33*25=825', '825/75=11'] Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[8, 33, 25, 75], Operations: [] Exploring Operation: 75-25=50, Resulting Numbers: [8, 33, 50] Generated Node #0,0: 19:[8, 33, 50] Operation: 75-25=50 Exploring Operation: 75-8=67, Resulting Numbers: [33, 25, 67] Generated Node #0,1: 19:[33, 25, 67] Operation: 75-8=67 Exploring Operation: 75-33=42, Resulting Numbers: [8, 25, 42] Generated Node #0,2: 19:[8, 25, 42] Operation: 75-33=42 Exploring Operation: 75/25=3, Resulting Numbers: [8, 33, 3] Generated Node #0,3: 19:[8, 33, 3] Operation: 75/25=3 Exploring Operation: 33-8=25, Resulting Numbers: [25, 75, 25] Generated Node #0,4: 19:[25, 75, 25] Operation: 33-8=25 Moving to Node #0,2 Current State: 19:[8, 25, 42], Operations: ['75-33=42'] Exploring Operation: 8+42=50, Resulting Numbers: [25, 50] Generated Node #0,2,0: 19:[25, 50] Operation: 8+42=50 Exploring Operation: 8+25=33, Resulting Numbers: [42, 33] Generated Node #0,2,1: 19:[42, 33] Operation: 8+25=33 Exploring Operation: 42-8=34, Resulting Numbers: [25, 34] Generated Node #0,2,2: 19:[25, 34] Operation: 42-8=34 Exploring Operation: 42-25=17, Resulting Numbers: [8, 17] Generated Node #0,2,3: 19:[8, 17] Operation: 42-25=17 Exploring Operation: 25-8=17, Resulting Numbers: [42, 17] Generated Node #0,2,4: 19:[42, 17] Operation: 25-8=17 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 19:[8, 17], Operations: ['75-33=42', '42-25=17'] Exploring Operation: 8*17=136, Resulting Numbers: [136] 136,19 unequal: No Solution Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,19 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 19:[25, 34], Operations: ['75-33=42', '42-8=34'] Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,19 unequal: No Solution Exploring Operation: 25+34=59, Resulting Numbers: [59] 59,19 unequal: No Solution Exploring Operation: 25*34=850, Resulting Numbers: [850] 850,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,4 Current State: 19:[42, 17], Operations: ['75-33=42', '25-8=17'] Exploring Operation: 42*17=714, Resulting Numbers: [714] 714,19 unequal: No Solution Exploring Operation: 42+17=59, Resulting Numbers: [59] 59,19 unequal: No Solution Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 19:[25, 50], Operations: ['75-33=42', '8+42=50'] Exploring Operation: 25*50=1250, Resulting Numbers: [1250] 1250,19 unequal: No Solution Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,19 unequal: No Solution Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,19 unequal: No Solution Exploring Operation: 25+50=75, Resulting Numbers: [75] 75,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 19:[42, 33], Operations: ['75-33=42', '8+25=33'] Exploring Operation: 42*33=1386, Resulting Numbers: [1386] 1386,19 unequal: No Solution Exploring Operation: 42+33=75, Resulting Numbers: [75] 75,19 unequal: No Solution Exploring Operation: 42-33=9, Resulting Numbers: [9] 9,19 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: 19:[8, 33, 3], Operations: ['75/25=3'] Exploring Operation: 33-8=25, Resulting Numbers: [3, 25] Generated Node #0,3,0: 19:[3, 25] Operation: 33-8=25 Exploring Operation: 33/3=11, Resulting Numbers: [8, 11] Generated Node #0,3,1: 19:[8, 11] Operation: 33/3=11 Exploring Operation: 8+3=11, Resulting Numbers: [33, 11] Generated Node #0,3,2: 19:[33, 11] Operation: 8+3=11 Exploring Operation: 33-3=30, Resulting Numbers: [8, 30] Generated Node #0,3,3: 19:[8, 30] Operation: 33-3=30 Exploring Operation: 8*3=24, Resulting Numbers: [33, 24] Generated Node #0,3,4: 19:[33, 24] Operation: 8*3=24 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 19:[8, 11], Operations: ['75/25=3', '33/3=11'] Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,19 unequal: No Solution Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,19 unequal: No Solution Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[8, 33, 25, 75], Operations: [] Exploring Operation: 75/25=3, Resulting Numbers: [8, 33, 3] Generated Node #0,3: 19:[8, 33, 3] Operation: 75/25=3 Moving to Node #0,3 Current State: 19:[8, 33, 3], Operations: ['75/25=3'] Exploring Operation: 33/3=11, Resulting Numbers: [8, 11] Generated Node #0,3,1: 19:[8, 11] Operation: 33/3=11 Moving to Node #0,3,1 Current State: 19:[8, 11], Operations: ['75/25=3', '33/3=11'] Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_5
mult_heuristic
[ 68, 17, 92, 96 ]
89
[ "68+17=85", "96-92=4", "85+4=89" ]
Current State: 89:[68, 17, 92, 96], Operations: [] Exploring Operation: 68+17=85, Resulting Numbers: [92, 96, 85] Generated Node #2: [92, 96, 85] from Operation: 68+17=85 Current State: 89:[92, 96, 85], Operations: ['68+17=85'] Exploring Operation: 96-92=4, Resulting Numbers: [85, 4] Generated Node #3: [85, 4] from Operation: 96-92=4 Current State: 89:[85, 4], Operations: ['68+17=85', '96-92=4'] Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[68, 17, 92, 96], Operations: [] Exploring Operation: 68+17=85, Resulting Numbers: [92, 96, 85] Generated Node #0,0: 89:[92, 96, 85] Operation: 68+17=85 Exploring Operation: 96-17=79, Resulting Numbers: [68, 92, 79] Generated Node #0,1: 89:[68, 92, 79] Operation: 96-17=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[92, 96, 85], Operations: ['68+17=85'] Exploring Operation: 96-92=4, Resulting Numbers: [85, 4] Generated Node #0,0,0: 89:[85, 4] Operation: 96-92=4 Exploring Operation: 96-85=11, Resulting Numbers: [92, 11] Generated Node #0,0,1: 89:[92, 11] Operation: 96-85=11 Moving to Node #0,0,1 Current State: 89:[92, 11], Operations: ['68+17=85', '96-85=11'] Exploring Operation: 92-11=81, Resulting Numbers: [81] 81,89 unequal: No Solution Exploring Operation: 92+11=103, Resulting Numbers: [103] 103,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[85, 4], Operations: ['68+17=85', '96-92=4'] Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[68, 17, 92, 96], Operations: [] Exploring Operation: 68+17=85, Resulting Numbers: [92, 96, 85] Generated Node #0,0: 89:[92, 96, 85] Operation: 68+17=85 Moving to Node #0,0 Current State: 89:[92, 96, 85], Operations: ['68+17=85'] Exploring Operation: 96-92=4, Resulting Numbers: [85, 4] Generated Node #0,0,0: 89:[85, 4] Operation: 96-92=4 Moving to Node #0,0,0 Current State: 89:[85, 4], Operations: ['68+17=85', '96-92=4'] Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 25, 81, 16, 68 ]
59
[ "25-16=9", "81/9=9", "68-9=59" ]
Current State: 59:[25, 81, 16, 68], Operations: [] Exploring Operation: 25-16=9, Resulting Numbers: [81, 68, 9] Generated Node #2: [81, 68, 9] from Operation: 25-16=9 Current State: 59:[81, 68, 9], Operations: ['25-16=9'] Exploring Operation: 81/9=9, Resulting Numbers: [68, 9] Generated Node #3: [68, 9] from Operation: 81/9=9 Current State: 59:[68, 9], Operations: ['25-16=9', '81/9=9'] Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[25, 81, 16, 68], Operations: [] Exploring Operation: 81-16=65, Resulting Numbers: [25, 68, 65] Generated Node #0,0: 59:[25, 68, 65] Operation: 81-16=65 Exploring Operation: 25+16=41, Resulting Numbers: [81, 68, 41] Generated Node #0,1: 59:[81, 68, 41] Operation: 25+16=41 Exploring Operation: 81-25=56, Resulting Numbers: [16, 68, 56] Generated Node #0,2: 59:[16, 68, 56] Operation: 81-25=56 Moving to Node #0,0 Current State: 59:[25, 68, 65], Operations: ['81-16=65'] Exploring Operation: 65-25=40, Resulting Numbers: [68, 40] Generated Node #0,0,0: 59:[68, 40] Operation: 65-25=40 Exploring Operation: 68-25=43, Resulting Numbers: [65, 43] Generated Node #0,0,1: 59:[65, 43] Operation: 68-25=43 Exploring Operation: 25+68=93, Resulting Numbers: [65, 93] Generated Node #0,0,2: 59:[65, 93] Operation: 25+68=93 Moving to Node #0,1 Current State: 59:[81, 68, 41], Operations: ['25+16=41'] Exploring Operation: 81-41=40, Resulting Numbers: [68, 40] Generated Node #0,1,0: 59:[68, 40] Operation: 81-41=40 Exploring Operation: 81-68=13, Resulting Numbers: [41, 13] Generated Node #0,1,1: 59:[41, 13] Operation: 81-68=13 Exploring Operation: 68-41=27, Resulting Numbers: [81, 27] Generated Node #0,1,2: 59:[81, 27] Operation: 68-41=27 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[68, 40], Operations: ['25+16=41', '81-41=40'] Exploring Operation: 68*40=2720, Resulting Numbers: [2720] 2720,59 unequal: No Solution Exploring Operation: 68-40=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 68+40=108, Resulting Numbers: [108] 108,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[81, 27], Operations: ['25+16=41', '68-41=27'] Exploring Operation: 81-27=54, Resulting Numbers: [54] 54,59 unequal: No Solution Exploring Operation: 81/27=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 81+27=108, Resulting Numbers: [108] 108,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[41, 13], Operations: ['25+16=41', '81-68=13'] Exploring Operation: 41*13=533, Resulting Numbers: [533] 533,59 unequal: No Solution Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,59 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: 59:[16, 68, 56], Operations: ['81-25=56'] Exploring Operation: 16+56=72, Resulting Numbers: [68, 72] Generated Node #0,2,0: 59:[68, 72] Operation: 16+56=72 Exploring Operation: 68-16=52, Resulting Numbers: [56, 52] Generated Node #0,2,1: 59:[56, 52] Operation: 68-16=52 Exploring Operation: 16+68=84, Resulting Numbers: [56, 84] Generated Node #0,2,2: 59:[56, 84] Operation: 16+68=84 Moving to Node #0,2,1 Current State: 59:[56, 52], Operations: ['81-25=56', '68-16=52'] Exploring Operation: 56*52=2912, Resulting Numbers: [2912] 2912,59 unequal: No Solution Exploring Operation: 56+52=108, Resulting Numbers: [108] 108,59 unequal: No Solution Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[65, 43], Operations: ['81-16=65', '68-25=43'] Exploring Operation: 65*43=2795, Resulting Numbers: [2795] 2795,59 unequal: No Solution Exploring Operation: 65+43=108, Resulting Numbers: [108] 108,59 unequal: No Solution Exploring Operation: 65-43=22, Resulting Numbers: [22] 22,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[68, 72], Operations: ['81-25=56', '16+56=72'] Exploring Operation: 68*72=4896, Resulting Numbers: [4896] 4896,59 unequal: No Solution Exploring Operation: 68+72=140, Resulting Numbers: [140] 140,59 unequal: No Solution Exploring Operation: 72-68=4, Resulting Numbers: [4] 4,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[56, 84], Operations: ['81-25=56', '16+68=84'] Exploring Operation: 56+84=140, Resulting Numbers: [140] 140,59 unequal: No Solution Exploring Operation: 84-56=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 56*84=4704, Resulting Numbers: [4704] 4704,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[68, 40], Operations: ['81-16=65', '65-25=40'] Exploring Operation: 68*40=2720, Resulting Numbers: [2720] 2720,59 unequal: No Solution Exploring Operation: 68+40=108, Resulting Numbers: [108] 108,59 unequal: No Solution Exploring Operation: 68-40=28, Resulting Numbers: [28] 28,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[65, 93], Operations: ['81-16=65', '25+68=93'] Exploring Operation: 65+93=158, Resulting Numbers: [158] 158,59 unequal: No Solution Exploring Operation: 65*93=6045, Resulting Numbers: [6045] 6045,59 unequal: No Solution Exploring Operation: 93-65=28, Resulting Numbers: [28] 28,59 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 58, 35, 4, 99 ]
98
[ "58*4=232", "35+99=134", "232-134=98" ]
Current State: 98:[58, 35, 4, 99], Operations: [] Exploring Operation: 58*4=232, Resulting Numbers: [35, 99, 232] Generated Node #2: [35, 99, 232] from Operation: 58*4=232 Current State: 98:[35, 99, 232], Operations: ['58*4=232'] Exploring Operation: 35+99=134, Resulting Numbers: [232, 134] Generated Node #3: [232, 134] from Operation: 35+99=134 Current State: 98:[232, 134], Operations: ['58*4=232', '35+99=134'] Exploring Operation: 232-134=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[58, 35, 4, 99], Operations: [] Exploring Operation: 58-35=23, Resulting Numbers: [4, 99, 23] Generated Node #0,0: 98:[4, 99, 23] Operation: 58-35=23 Exploring Operation: 58+35=93, Resulting Numbers: [4, 99, 93] Generated Node #0,1: 98:[4, 99, 93] Operation: 58+35=93 Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[4, 99, 93], Operations: ['58+35=93'] Exploring Operation: 4+93=97, Resulting Numbers: [99, 97] Generated Node #0,1,0: 98:[99, 97] Operation: 4+93=97 Exploring Operation: 99-93=6, Resulting Numbers: [4, 6] Generated Node #0,1,1: 98:[4, 6] Operation: 99-93=6 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 98:[99, 97], Operations: ['58+35=93', '4+93=97'] Exploring Operation: 99+97=196, Resulting Numbers: [196] 196,98 unequal: No Solution Exploring Operation: 99-97=2, Resulting Numbers: [2] 2,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:[4, 6], Operations: ['58+35=93', '99-93=6'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,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,0 Current State: 98:[4, 99, 23], Operations: ['58-35=23'] Exploring Operation: 23-4=19, Resulting Numbers: [99, 19] Generated Node #0,0,0: 98:[99, 19] Operation: 23-4=19 Exploring Operation: 4*23=92, Resulting Numbers: [99, 92] Generated Node #0,0,1: 98:[99, 92] Operation: 4*23=92 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 98:[99, 19], Operations: ['58-35=23', '23-4=19'] Exploring Operation: 99+19=118, Resulting Numbers: [118] 118,98 unequal: No Solution Exploring Operation: 99-19=80, Resulting Numbers: [80] 80,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:[99, 92], Operations: ['58-35=23', '4*23=92'] Exploring Operation: 99+92=191, Resulting Numbers: [191] 191,98 unequal: No Solution Exploring Operation: 99-92=7, Resulting Numbers: [7] 7,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 48, 8, 7, 96 ]
63
[ "48-8=40", "7+96=103", "103-40=63" ]
Current State: 63:[48, 8, 7, 96], Operations: [] Exploring Operation: 48-8=40, Resulting Numbers: [7, 96, 40] Generated Node #2: [7, 96, 40] from Operation: 48-8=40 Current State: 63:[7, 96, 40], Operations: ['48-8=40'] Exploring Operation: 7+96=103, Resulting Numbers: [40, 103] Generated Node #3: [40, 103] from Operation: 7+96=103 Current State: 63:[40, 103], Operations: ['48-8=40', '7+96=103'] Exploring Operation: 103-40=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[48, 8, 7, 96], Operations: [] Exploring Operation: 96-48=48, Resulting Numbers: [8, 7, 48] Generated Node #0,0: 63:[8, 7, 48] Operation: 96-48=48 Exploring Operation: 96/8=12, Resulting Numbers: [48, 7, 12] Generated Node #0,1: 63:[48, 7, 12] Operation: 96/8=12 Exploring Operation: 48/8=6, Resulting Numbers: [7, 96, 6] Generated Node #0,2: 63:[7, 96, 6] Operation: 48/8=6 Exploring Operation: 48+8=56, Resulting Numbers: [7, 96, 56] Generated Node #0,3: 63:[7, 96, 56] Operation: 48+8=56 Exploring Operation: 96/48=2, Resulting Numbers: [8, 7, 2] Generated Node #0,4: 63:[8, 7, 2] Operation: 96/48=2 Moving to Node #0,4 Current State: 63:[8, 7, 2], Operations: ['96/48=2'] Exploring Operation: 8/2=4, Resulting Numbers: [7, 4] Generated Node #0,4,0: 63:[7, 4] Operation: 8/2=4 Exploring Operation: 7+2=9, Resulting Numbers: [8, 9] Generated Node #0,4,1: 63:[8, 9] Operation: 7+2=9 Exploring Operation: 8-7=1, Resulting Numbers: [2, 1] Generated Node #0,4,2: 63:[2, 1] Operation: 8-7=1 Exploring Operation: 8+2=10, Resulting Numbers: [7, 10] Generated Node #0,4,3: 63:[7, 10] Operation: 8+2=10 Exploring Operation: 8-2=6, Resulting Numbers: [7, 6] Generated Node #0,4,4: 63:[7, 6] Operation: 8-2=6 Moving to Node #0,0 Current State: 63:[8, 7, 48], Operations: ['96-48=48'] Exploring Operation: 8+48=56, Resulting Numbers: [7, 56] Generated Node #0,0,0: 63:[7, 56] Operation: 8+48=56 Exploring Operation: 48-8=40, Resulting Numbers: [7, 40] Generated Node #0,0,1: 63:[7, 40] Operation: 48-8=40 Exploring Operation: 48/8=6, Resulting Numbers: [7, 6] Generated Node #0,0,2: 63:[7, 6] Operation: 48/8=6 Exploring Operation: 7+48=55, Resulting Numbers: [8, 55] Generated Node #0,0,3: 63:[8, 55] Operation: 7+48=55 Exploring Operation: 8-7=1, Resulting Numbers: [48, 1] Generated Node #0,0,4: 63:[48, 1] Operation: 8-7=1 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 63:[7, 6], Operations: ['96-48=48', '48/8=6'] Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,63 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[7, 56], Operations: ['96-48=48', '8+48=56'] Exploring Operation: 7*56=392, Resulting Numbers: [392] 392,63 unequal: No Solution Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,63 unequal: No Solution Exploring Operation: 7+56=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[48, 8, 7, 96], Operations: [] Exploring Operation: 96-48=48, Resulting Numbers: [8, 7, 48] Generated Node #0,0: 63:[8, 7, 48] Operation: 96-48=48 Moving to Node #0,0 Current State: 63:[8, 7, 48], Operations: ['96-48=48'] Exploring Operation: 8+48=56, Resulting Numbers: [7, 56] Generated Node #0,0,0: 63:[7, 56] Operation: 8+48=56 Moving to Node #0,0,0 Current State: 63:[7, 56], Operations: ['96-48=48', '8+48=56'] Exploring Operation: 7+56=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
sum_heuristic
[ 7, 83, 90, 30 ]
87
[ "7+83=90", "90/30=3", "90-3=87" ]
Current State: 87:[7, 83, 90, 30], Operations: [] Exploring Operation: 7+83=90, Resulting Numbers: [90, 30, 90] Generated Node #2: [90, 30, 90] from Operation: 7+83=90 Current State: 87:[90, 30, 90], Operations: ['7+83=90'] Exploring Operation: 90/30=3, Resulting Numbers: [3] 3,87 equal: Goal Reached Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[7, 83, 90, 30], Operations: [] Exploring Operation: 90-7=83, Resulting Numbers: [83, 30, 83] Generated Node #0,0: 87:[83, 30, 83] Operation: 90-7=83 Exploring Operation: 90/30=3, Resulting Numbers: [7, 83, 3] Generated Node #0,1: 87:[7, 83, 3] Operation: 90/30=3 Exploring Operation: 7+83=90, Resulting Numbers: [90, 30, 90] Generated Node #0,2: 87:[90, 30, 90] Operation: 7+83=90 Exploring Operation: 90-83=7, Resulting Numbers: [7, 30, 7] Generated Node #0,3: 87:[7, 30, 7] Operation: 90-83=7 Moving to Node #0,2 Current State: 87:[90, 30, 90], Operations: ['7+83=90'] Exploring Operation: 90-90=0, Resulting Numbers: [30, 0] Generated Node #0,2,0: 87:[30, 0] Operation: 90-90=0 Exploring Operation: 90/30=3, Resulting Numbers: [90, 3] Generated Node #0,2,1: 87:[90, 3] Operation: 90/30=3 Exploring Operation: 90/30=3, Resulting Numbers: [90, 3] Generated Node #0,2,2: 87:[90, 3] Operation: 90/30=3 Exploring Operation: 90/90=1, Resulting Numbers: [30, 1] Generated Node #0,2,3: 87:[30, 1] Operation: 90/90=1 Moving to Node #0,1 Current State: 87:[7, 83, 3], Operations: ['90/30=3'] Exploring Operation: 7+83=90, Resulting Numbers: [3, 90] Generated Node #0,1,0: 87:[3, 90] Operation: 7+83=90 Exploring Operation: 83-7=76, Resulting Numbers: [3, 76] Generated Node #0,1,1: 87:[3, 76] Operation: 83-7=76 Exploring Operation: 83+3=86, Resulting Numbers: [7, 86] Generated Node #0,1,2: 87:[7, 86] Operation: 83+3=86 Exploring Operation: 7-3=4, Resulting Numbers: [83, 4] Generated Node #0,1,3: 87:[83, 4] Operation: 7-3=4 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[3, 90], Operations: ['90/30=3', '7+83=90'] Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[7, 83, 90, 30], Operations: [] Exploring Operation: 90/30=3, Resulting Numbers: [7, 83, 3] Generated Node #0,1: 87:[7, 83, 3] Operation: 90/30=3 Moving to Node #0,1 Current State: 87:[7, 83, 3], Operations: ['90/30=3'] Exploring Operation: 7+83=90, Resulting Numbers: [3, 90] Generated Node #0,1,0: 87:[3, 90] Operation: 7+83=90 Moving to Node #0,1,0 Current State: 87:[3, 90], Operations: ['90/30=3', '7+83=90'] Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 58, 55, 57, 47 ]
22
[ "58-47=11", "57-55=2", "11*2=22" ]
Current State: 22:[58, 55, 57, 47], Operations: [] Exploring Operation: 58-47=11, Resulting Numbers: [55, 57, 11] Generated Node #2: [55, 57, 11] from Operation: 58-47=11 Current State: 22:[55, 57, 11], Operations: ['58-47=11'] Exploring Operation: 57-55=2, Resulting Numbers: [11, 2] Generated Node #3: [11, 2] from Operation: 57-55=2 Current State: 22:[11, 2], Operations: ['58-47=11', '57-55=2'] Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[58, 55, 57, 47], Operations: [] Exploring Operation: 58-55=3, Resulting Numbers: [57, 47, 3] Generated Node #0,0: 22:[57, 47, 3] Operation: 58-55=3 Exploring Operation: 58-57=1, Resulting Numbers: [55, 47, 1] Generated Node #0,1: 22:[55, 47, 1] Operation: 58-57=1 Moving to Node #0,1 Current State: 22:[55, 47, 1], Operations: ['58-57=1'] Exploring Operation: 55-47=8, Resulting Numbers: [1, 8] Generated Node #0,1,0: 22:[1, 8] Operation: 55-47=8 Exploring Operation: 55-1=54, Resulting Numbers: [47, 54] Generated Node #0,1,1: 22:[47, 54] Operation: 55-1=54 Moving to Node #0,0 Current State: 22:[57, 47, 3], Operations: ['58-55=3'] Exploring Operation: 57/3=19, Resulting Numbers: [47, 19] Generated Node #0,0,0: 22:[47, 19] Operation: 57/3=19 Exploring Operation: 57-47=10, Resulting Numbers: [3, 10] Generated Node #0,0,1: 22:[3, 10] Operation: 57-47=10 Moving to Node #0,0,1 Current State: 22:[3, 10], Operations: ['58-55=3', '57-47=10'] Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,22 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,22 unequal: No Solution Moving to Node #0,1,0 Current State: 22:[1, 8], Operations: ['58-57=1', '55-47=8'] Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,22 unequal: No Solution Exploring Operation: 1+8=9, Resulting Numbers: [9] 9,22 unequal: No Solution Moving to Node #0,0,0 Current State: 22:[47, 19], Operations: ['58-55=3', '57/3=19'] Exploring Operation: 47+19=66, Resulting Numbers: [66] 66,22 unequal: No Solution Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,22 unequal: No Solution Moving to Node #0,1,1 Current State: 22:[47, 54], Operations: ['58-57=1', '55-1=54'] Exploring Operation: 54-47=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 47+54=101, Resulting Numbers: [101] 101,22 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 95, 10, 9, 39 ]
92
[ "39-9=30", "30/10=3", "95-3=92" ]
Current State: 92:[95, 10, 9, 39], Operations: [] Exploring Operation: 39-9=30, Resulting Numbers: [95, 10, 30] Generated Node #2: [95, 10, 30] from Operation: 39-9=30 Current State: 92:[95, 10, 30], Operations: ['39-9=30'] Exploring Operation: 30/10=3, Resulting Numbers: [95, 3] Generated Node #3: [95, 3] from Operation: 30/10=3 Current State: 92:[95, 3], Operations: ['39-9=30', '30/10=3'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[95, 10, 9, 39], Operations: [] Exploring Operation: 10-9=1, Resulting Numbers: [95, 39, 1] Generated Node #0,0: 92:[95, 39, 1] Operation: 10-9=1 Moving to Node #0,0 Current State: 92:[95, 39, 1], Operations: ['10-9=1'] Exploring Operation: 95-1=94, Resulting Numbers: [39, 94] Generated Node #0,0,0: 92:[39, 94] Operation: 95-1=94 Moving to Node #0,0,0 Current State: 92:[39, 94], Operations: ['10-9=1', '95-1=94'] Exploring Operation: 94-39=55, Resulting Numbers: [55] 55,92 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 53, 80, 40, 17 ]
89
[ "53*80=4240", "4240/40=106", "106-17=89" ]
Current State: 89:[53, 80, 40, 17], Operations: [] Exploring Operation: 53*80=4240, Resulting Numbers: [40, 17, 4240] Generated Node #2: [40, 17, 4240] from Operation: 53*80=4240 Current State: 89:[40, 17, 4240], Operations: ['53*80=4240'] Exploring Operation: 4240/40=106, Resulting Numbers: [17, 106] Generated Node #3: [17, 106] from Operation: 4240/40=106 Current State: 89:[17, 106], Operations: ['53*80=4240', '4240/40=106'] Exploring Operation: 106-17=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[53, 80, 40, 17], Operations: [] Exploring Operation: 53+17=70, Resulting Numbers: [80, 40, 70] Generated Node #0,0: 89:[80, 40, 70] Operation: 53+17=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[80, 40, 70], Operations: ['53+17=70'] Exploring Operation: 40+70=110, Resulting Numbers: [80, 110] Generated Node #0,0,0: 89:[80, 110] Operation: 40+70=110 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[80, 110], Operations: ['53+17=70', '40+70=110'] Exploring Operation: 110-80=30, Resulting Numbers: [30] 30,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_1
sum_heuristic
[ 87, 35, 3, 49 ]
98
[ "87-35=52", "49-3=46", "52+46=98" ]
Current State: 98:[87, 35, 3, 49], Operations: [] Exploring Operation: 87-35=52, Resulting Numbers: [3, 49, 52] Generated Node #2: [3, 49, 52] from Operation: 87-35=52 Current State: 98:[3, 49, 52], Operations: ['87-35=52'] Exploring Operation: 49-3=46, Resulting Numbers: [52, 46] Generated Node #3: [52, 46] from Operation: 49-3=46 Current State: 98:[52, 46], Operations: ['87-35=52', '49-3=46'] Exploring Operation: 52+46=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[87, 35, 3, 49], Operations: [] Exploring Operation: 87-35=52, Resulting Numbers: [3, 49, 52] Generated Node #0,0: 98:[3, 49, 52] Operation: 87-35=52 Moving to Node #0,0 Current State: 98:[3, 49, 52], Operations: ['87-35=52'] Exploring Operation: 52-3=49, Resulting Numbers: [49, 49] Generated Node #0,0,0: 98:[49, 49] Operation: 52-3=49 Moving to Node #0,0,0 Current State: 98:[49, 49], Operations: ['87-35=52', '52-3=49'] Exploring Operation: 49+49=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[87, 35, 3, 49], Operations: [] Exploring Operation: 87-35=52, Resulting Numbers: [3, 49, 52] Generated Node #0,0: 98:[3, 49, 52] Operation: 87-35=52 Moving to Node #0,0 Current State: 98:[3, 49, 52], Operations: ['87-35=52'] Exploring Operation: 52-3=49, Resulting Numbers: [49, 49] Generated Node #0,0,0: 98:[49, 49] Operation: 52-3=49 Moving to Node #0,0,0 Current State: 98:[49, 49], Operations: ['87-35=52', '52-3=49'] Exploring Operation: 49+49=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 16, 19, 38, 47 ]
65
[ "16+47=63", "38/19=2", "63+2=65" ]
Current State: 65:[16, 19, 38, 47], Operations: [] Exploring Operation: 16+47=63, Resulting Numbers: [19, 38, 63] Generated Node #2: [19, 38, 63] from Operation: 16+47=63 Current State: 65:[19, 38, 63], Operations: ['16+47=63'] Exploring Operation: 38/19=2, Resulting Numbers: [63, 2] Generated Node #3: [63, 2] from Operation: 38/19=2 Current State: 65:[63, 2], Operations: ['16+47=63', '38/19=2'] Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[16, 19, 38, 47], Operations: [] Exploring Operation: 47-38=9, Resulting Numbers: [16, 19, 9] Generated Node #0,0: 65:[16, 19, 9] Operation: 47-38=9 Exploring Operation: 19+38=57, Resulting Numbers: [16, 47, 57] Generated Node #0,1: 65:[16, 47, 57] Operation: 19+38=57 Exploring Operation: 38/19=2, Resulting Numbers: [16, 47, 2] Generated Node #0,2: 65:[16, 47, 2] Operation: 38/19=2 Exploring Operation: 38-19=19, Resulting Numbers: [16, 47, 19] Generated Node #0,3: 65:[16, 47, 19] Operation: 38-19=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[16, 19, 9], Operations: ['47-38=9'] Exploring Operation: 19-9=10, Resulting Numbers: [16, 10] Generated Node #0,0,0: 65:[16, 10] Operation: 19-9=10 Exploring Operation: 16+9=25, Resulting Numbers: [19, 25] Generated Node #0,0,1: 65:[19, 25] Operation: 16+9=25 Exploring Operation: 19-16=3, Resulting Numbers: [9, 3] Generated Node #0,0,2: 65:[9, 3] Operation: 19-16=3 Exploring Operation: 16-9=7, Resulting Numbers: [19, 7] Generated Node #0,0,3: 65:[19, 7] Operation: 16-9=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 65:[16, 10], Operations: ['47-38=9', '19-9=10'] Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,65 unequal: No Solution Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,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:[9, 3], Operations: ['47-38=9', '19-16=3'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,65 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,65 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,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,3 Current State: 65:[19, 7], Operations: ['47-38=9', '16-9=7'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,65 unequal: No Solution Exploring Operation: 19*7=133, Resulting Numbers: [133] 133,65 unequal: No Solution Exploring Operation: 19+7=26, Resulting Numbers: [26] 26,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:[19, 25], Operations: ['47-38=9', '16+9=25'] Exploring Operation: 25-19=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 19*25=475, Resulting Numbers: [475] 475,65 unequal: No Solution Exploring Operation: 19+25=44, Resulting Numbers: [44] 44,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,2 Current State: 65:[16, 47, 2], Operations: ['38/19=2'] Exploring Operation: 16+47=63, Resulting Numbers: [2, 63] Generated Node #0,2,0: 65:[2, 63] Operation: 16+47=63 Exploring Operation: 47-16=31, Resulting Numbers: [2, 31] Generated Node #0,2,1: 65:[2, 31] Operation: 47-16=31 Exploring Operation: 47+2=49, Resulting Numbers: [16, 49] Generated Node #0,2,2: 65:[16, 49] Operation: 47+2=49 Exploring Operation: 16-2=14, Resulting Numbers: [47, 14] Generated Node #0,2,3: 65:[47, 14] Operation: 16-2=14 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 65:[2, 63], Operations: ['38/19=2', '16+47=63'] Exploring Operation: 2+63=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[16, 19, 38, 47], Operations: [] Exploring Operation: 38/19=2, Resulting Numbers: [16, 47, 2] Generated Node #0,2: 65:[16, 47, 2] Operation: 38/19=2 Moving to Node #0,2 Current State: 65:[16, 47, 2], Operations: ['38/19=2'] Exploring Operation: 16+47=63, Resulting Numbers: [2, 63] Generated Node #0,2,0: 65:[2, 63] Operation: 16+47=63 Moving to Node #0,2,0 Current State: 65:[2, 63], Operations: ['38/19=2', '16+47=63'] Exploring Operation: 2+63=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
mult_heuristic
[ 1, 76, 77, 29 ]
28
[ "1+76=77", "77/77=1", "29-1=28" ]
Current State: 28:[1, 76, 77, 29], Operations: [] Exploring Operation: 1+76=77, Resulting Numbers: [77, 29, 77] Generated Node #2: [77, 29, 77] from Operation: 1+76=77 Current State: 28:[77, 29, 77], Operations: ['1+76=77'] Exploring Operation: 77/77=1, Resulting Numbers: [29, 1] Generated Node #3: [29, 1] from Operation: 77/77=1 Current State: 28:[29, 1], Operations: ['1+76=77', '77/77=1'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[1, 76, 77, 29], Operations: [] Exploring Operation: 76-29=47, Resulting Numbers: [1, 77, 47] Generated Node #0,0: 28:[1, 77, 47] Operation: 76-29=47 Exploring Operation: 76-1=75, Resulting Numbers: [77, 29, 75] Generated Node #0,1: 28:[77, 29, 75] Operation: 76-1=75 Exploring Operation: 77-76=1, Resulting Numbers: [1, 29, 1] Generated Node #0,2: 28:[1, 29, 1] Operation: 77-76=1 Exploring Operation: 77-29=48, Resulting Numbers: [1, 76, 48] Generated Node #0,3: 28:[1, 76, 48] Operation: 77-29=48 Moving to Node #0,2 Current State: 28:[1, 29, 1], Operations: ['77-76=1'] Exploring Operation: 29-1=28, Resulting Numbers: [1, 28] Generated Node #0,2,0: 28:[1, 28] Operation: 29-1=28 Exploring Operation: 29-1=28, Resulting Numbers: [1, 28] Generated Node #0,2,1: 28:[1, 28] Operation: 29-1=28 Exploring Operation: 1*29=29, Resulting Numbers: [1, 29] Generated Node #0,2,2: 28:[1, 29] Operation: 1*29=29 Exploring Operation: 1+1=2, Resulting Numbers: [29, 2] Generated Node #0,2,3: 28:[29, 2] Operation: 1+1=2 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 28:[1, 28], Operations: ['77-76=1', '29-1=28'] Exploring Operation: 1+28=29, Resulting Numbers: [29] 29,28 unequal: No Solution Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,28 unequal: No Solution Exploring Operation: 1*28=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[1, 76, 77, 29], Operations: [] Exploring Operation: 77-76=1, Resulting Numbers: [1, 29, 1] Generated Node #0,2: 28:[1, 29, 1] Operation: 77-76=1 Moving to Node #0,2 Current State: 28:[1, 29, 1], Operations: ['77-76=1'] Exploring Operation: 29-1=28, Resulting Numbers: [1, 28] Generated Node #0,2,0: 28:[1, 28] Operation: 29-1=28 Moving to Node #0,2,0 Current State: 28:[1, 28], Operations: ['77-76=1', '29-1=28'] Exploring Operation: 1*28=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 69, 37, 94, 31 ]
31
[ "69-37=32", "94-31=63", "63-32=31" ]
Current State: 31:[69, 37, 94, 31], Operations: [] Exploring Operation: 69-37=32, Resulting Numbers: [94, 31, 32] Generated Node #2: [94, 31, 32] from Operation: 69-37=32 Current State: 31:[94, 31, 32], Operations: ['69-37=32'] Exploring Operation: 94-31=63, Resulting Numbers: [32, 63] Generated Node #3: [32, 63] from Operation: 94-31=63 Current State: 31:[32, 63], Operations: ['69-37=32', '94-31=63'] Exploring Operation: 63-32=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[69, 37, 94, 31], Operations: [] Exploring Operation: 69-37=32, Resulting Numbers: [94, 31, 32] Generated Node #0,0: 31:[94, 31, 32] Operation: 69-37=32 Exploring Operation: 94-69=25, Resulting Numbers: [37, 31, 25] Generated Node #0,1: 31:[37, 31, 25] Operation: 94-69=25 Exploring Operation: 94-37=57, Resulting Numbers: [69, 31, 57] Generated Node #0,2: 31:[69, 31, 57] Operation: 94-37=57 Moving to Node #0,1 Current State: 31:[37, 31, 25], Operations: ['94-69=25'] Exploring Operation: 37-31=6, Resulting Numbers: [25, 6] Generated Node #0,1,0: 31:[25, 6] Operation: 37-31=6 Exploring Operation: 37+25=62, Resulting Numbers: [31, 62] Generated Node #0,1,1: 31:[31, 62] Operation: 37+25=62 Exploring Operation: 37-25=12, Resulting Numbers: [31, 12] Generated Node #0,1,2: 31:[31, 12] Operation: 37-25=12 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 31:[31, 12], Operations: ['94-69=25', '37-25=12'] Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,31 unequal: No Solution Exploring Operation: 31+12=43, Resulting Numbers: [43] 43,31 unequal: No Solution Exploring Operation: 31*12=372, Resulting Numbers: [372] 372,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 31:[25, 6], Operations: ['94-69=25', '37-31=6'] Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,31 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[69, 37, 94, 31], Operations: [] Exploring Operation: 94-69=25, Resulting Numbers: [37, 31, 25] Generated Node #0,1: 31:[37, 31, 25] Operation: 94-69=25 Moving to Node #0,1 Current State: 31:[37, 31, 25], Operations: ['94-69=25'] Exploring Operation: 37-31=6, Resulting Numbers: [25, 6] Generated Node #0,1,0: 31:[25, 6] Operation: 37-31=6 Moving to Node #0,1,0 Current State: 31:[25, 6], Operations: ['94-69=25', '37-31=6'] Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 12, 56, 64, 48 ]
48
[ "64-56=8", "12*8=96", "96-48=48" ]
Current State: 48:[12, 56, 64, 48], Operations: [] Exploring Operation: 64-56=8, Resulting Numbers: [12, 48, 8] Generated Node #2: [12, 48, 8] from Operation: 64-56=8 Current State: 48:[12, 48, 8], Operations: ['64-56=8'] Exploring Operation: 12*8=96, Resulting Numbers: [48, 96] Generated Node #3: [48, 96] from Operation: 12*8=96 Current State: 48:[48, 96], Operations: ['64-56=8', '12*8=96'] Exploring Operation: 96-48=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[12, 56, 64, 48], Operations: [] Exploring Operation: 64-56=8, Resulting Numbers: [12, 48, 8] Generated Node #0,0: 48:[12, 48, 8] Operation: 64-56=8 Exploring Operation: 64-12=52, Resulting Numbers: [56, 48, 52] Generated Node #0,1: 48:[56, 48, 52] Operation: 64-12=52 Exploring Operation: 56-12=44, Resulting Numbers: [64, 48, 44] Generated Node #0,2: 48:[64, 48, 44] Operation: 56-12=44 Exploring Operation: 64-48=16, Resulting Numbers: [12, 56, 16] Generated Node #0,3: 48:[12, 56, 16] Operation: 64-48=16 Exploring Operation: 56-48=8, Resulting Numbers: [12, 64, 8] Generated Node #0,4: 48:[12, 64, 8] Operation: 56-48=8 Moving to Node #0,0 Current State: 48:[12, 48, 8], Operations: ['64-56=8'] Exploring Operation: 12+8=20, Resulting Numbers: [48, 20] Generated Node #0,0,0: 48:[48, 20] Operation: 12+8=20 Exploring Operation: 12-8=4, Resulting Numbers: [48, 4] Generated Node #0,0,1: 48:[48, 4] Operation: 12-8=4 Exploring Operation: 48+8=56, Resulting Numbers: [12, 56] Generated Node #0,0,2: 48:[12, 56] Operation: 48+8=56 Exploring Operation: 48/8=6, Resulting Numbers: [12, 6] Generated Node #0,0,3: 48:[12, 6] Operation: 48/8=6 Exploring Operation: 48/12=4, Resulting Numbers: [8, 4] Generated Node #0,0,4: 48:[8, 4] Operation: 48/12=4 Moving to Node #0,3 Current State: 48:[12, 56, 16], Operations: ['64-48=16'] Exploring Operation: 16-12=4, Resulting Numbers: [56, 4] Generated Node #0,3,0: 48:[56, 4] Operation: 16-12=4 Exploring Operation: 56-12=44, Resulting Numbers: [16, 44] Generated Node #0,3,1: 48:[16, 44] Operation: 56-12=44 Exploring Operation: 56-16=40, Resulting Numbers: [12, 40] Generated Node #0,3,2: 48:[12, 40] Operation: 56-16=40 Exploring Operation: 12+56=68, Resulting Numbers: [16, 68] Generated Node #0,3,3: 48:[16, 68] Operation: 12+56=68 Exploring Operation: 12+16=28, Resulting Numbers: [56, 28] Generated Node #0,3,4: 48:[56, 28] Operation: 12+16=28 Moving to Node #0,1 Current State: 48:[56, 48, 52], Operations: ['64-12=52'] Exploring Operation: 56+48=104, Resulting Numbers: [52, 104] Generated Node #0,1,0: 48:[52, 104] Operation: 56+48=104 Exploring Operation: 52-48=4, Resulting Numbers: [56, 4] Generated Node #0,1,1: 48:[56, 4] Operation: 52-48=4 Exploring Operation: 56-48=8, Resulting Numbers: [52, 8] Generated Node #0,1,2: 48:[52, 8] Operation: 56-48=8 Exploring Operation: 56-52=4, Resulting Numbers: [48, 4] Generated Node #0,1,3: 48:[48, 4] Operation: 56-52=4 Exploring Operation: 56+52=108, Resulting Numbers: [48, 108] Generated Node #0,1,4: 48:[48, 108] Operation: 56+52=108 Moving to Node #0,4 Current State: 48:[12, 64, 8], Operations: ['56-48=8'] Exploring Operation: 64-8=56, Resulting Numbers: [12, 56] Generated Node #0,4,0: 48:[12, 56] Operation: 64-8=56 Exploring Operation: 12+8=20, Resulting Numbers: [64, 20] Generated Node #0,4,1: 48:[64, 20] Operation: 12+8=20 Exploring Operation: 64/8=8, Resulting Numbers: [12, 8] Generated Node #0,4,2: 48:[12, 8] Operation: 64/8=8 Exploring Operation: 12-8=4, Resulting Numbers: [64, 4] Generated Node #0,4,3: 48:[64, 4] Operation: 12-8=4 Exploring Operation: 64-12=52, Resulting Numbers: [8, 52] Generated Node #0,4,4: 48:[8, 52] Operation: 64-12=52 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 48:[12, 8], Operations: ['56-48=8', '64/8=8'] Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,48 unequal: No Solution Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,48 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,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:[8, 52], Operations: ['56-48=8', '64-12=52'] Exploring Operation: 52-8=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 8*52=416, Resulting Numbers: [416] 416,48 unequal: No Solution Exploring Operation: 8+52=60, Resulting Numbers: [60] 60,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:[12, 56], Operations: ['56-48=8', '64-8=56'] Exploring Operation: 12+56=68, Resulting Numbers: [68] 68,48 unequal: No Solution Exploring Operation: 56-12=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 12*56=672, Resulting Numbers: [672] 672,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,3 Current State: 48:[64, 4], Operations: ['56-48=8', '12-8=4'] Exploring Operation: 64*4=256, Resulting Numbers: [256] 256,48 unequal: No Solution Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,48 unequal: No Solution Exploring Operation: 64+4=68, Resulting Numbers: [68] 68,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:[64, 20], Operations: ['56-48=8', '12+8=20'] Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 64*20=1280, Resulting Numbers: [1280] 1280,48 unequal: No Solution Exploring Operation: 64+20=84, Resulting Numbers: [84] 84,48 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: 48:[64, 48, 44], Operations: ['56-12=44'] Exploring Operation: 64-44=20, Resulting Numbers: [48, 20] Generated Node #0,2,0: 48:[48, 20] Operation: 64-44=20 Exploring Operation: 48+44=92, Resulting Numbers: [64, 92] Generated Node #0,2,1: 48:[64, 92] Operation: 48+44=92 Exploring Operation: 64+44=108, Resulting Numbers: [48, 108] Generated Node #0,2,2: 48:[48, 108] Operation: 64+44=108 Exploring Operation: 48-44=4, Resulting Numbers: [64, 4] Generated Node #0,2,3: 48:[64, 4] Operation: 48-44=4 Exploring Operation: 64-48=16, Resulting Numbers: [44, 16] Generated Node #0,2,4: 48:[44, 16] Operation: 64-48=16 Moving to Node #0,0,1 Current State: 48:[48, 4], Operations: ['64-56=8', '12-8=4'] Exploring Operation: 48*4=192, Resulting Numbers: [192] 192,48 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,48 unequal: No Solution Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,48 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,48 unequal: No Solution Moving to Node #0,0,4 Current State: 48:[8, 4], Operations: ['64-56=8', '48/12=4'] Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,48 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,48 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,48 unequal: No Solution Moving to Node #0,0,3 Current State: 48:[12, 6], Operations: ['64-56=8', '48/8=6'] Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 12+6=18, Resulting Numbers: [18] 18,48 unequal: No Solution Exploring Operation: 12*6=72, Resulting Numbers: [72] 72,48 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,48 unequal: No Solution Moving to Node #0,1,3 Current State: 48:[48, 4], Operations: ['64-12=52', '56-52=4'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 48*4=192, Resulting Numbers: [192] 192,48 unequal: No Solution Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,48 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,48 unequal: No Solution Moving to Node #0,3,1 Current State: 48:[16, 44], Operations: ['64-48=16', '56-12=44'] Exploring Operation: 16+44=60, Resulting Numbers: [60] 60,48 unequal: No Solution Exploring Operation: 16*44=704, Resulting Numbers: [704] 704,48 unequal: No Solution Exploring Operation: 44-16=28, Resulting Numbers: [28] 28,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[52, 8], Operations: ['64-12=52', '56-48=8'] Exploring Operation: 52*8=416, Resulting Numbers: [416] 416,48 unequal: No Solution Exploring Operation: 52+8=60, Resulting Numbers: [60] 60,48 unequal: No Solution Exploring Operation: 52-8=44, Resulting Numbers: [44] 44,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[48, 20], Operations: ['64-56=8', '12+8=20'] Exploring Operation: 48+20=68, Resulting Numbers: [68] 68,48 unequal: No Solution Exploring Operation: 48*20=960, Resulting Numbers: [960] 960,48 unequal: No Solution Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,48 unequal: No Solution Moving to Node #0,2,0 Current State: 48:[48, 20], Operations: ['56-12=44', '64-44=20'] Exploring Operation: 48+20=68, Resulting Numbers: [68] 68,48 unequal: No Solution Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,48 unequal: No Solution Exploring Operation: 48*20=960, Resulting Numbers: [960] 960,48 unequal: No Solution Moving to Node #0,2,4 Current State: 48:[44, 16], Operations: ['56-12=44', '64-48=16'] Exploring Operation: 44-16=28, Resulting Numbers: [28] 28,48 unequal: No Solution Exploring Operation: 44*16=704, Resulting Numbers: [704] 704,48 unequal: No Solution Exploring Operation: 44+16=60, Resulting Numbers: [60] 60,48 unequal: No Solution Moving to Node #0,3,0 Current State: 48:[56, 4], Operations: ['64-48=16', '16-12=4'] Exploring Operation: 56*4=224, Resulting Numbers: [224] 224,48 unequal: No Solution Exploring Operation: 56+4=60, Resulting Numbers: [60] 60,48 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,48 unequal: No Solution Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,48 unequal: No Solution Moving to Node #0,3,2 Current State: 48:[12, 40], Operations: ['64-48=16', '56-16=40'] Exploring Operation: 12+40=52, Resulting Numbers: [52] 52,48 unequal: No Solution Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,48 unequal: No Solution Exploring Operation: 12*40=480, Resulting Numbers: [480] 480,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[56, 4], Operations: ['64-12=52', '52-48=4'] Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,48 unequal: No Solution Exploring Operation: 56+4=60, Resulting Numbers: [60] 60,48 unequal: No Solution Exploring Operation: 56*4=224, Resulting Numbers: [224] 224,48 unequal: No Solution Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[12, 56], Operations: ['64-56=8', '48+8=56'] Exploring Operation: 12*56=672, Resulting Numbers: [672] 672,48 unequal: No Solution Exploring Operation: 12+56=68, Resulting Numbers: [68] 68,48 unequal: No Solution Exploring Operation: 56-12=44, Resulting Numbers: [44] 44,48 unequal: No Solution Moving to Node #0,3,4 Current State: 48:[56, 28], Operations: ['64-48=16', '12+16=28'] Exploring Operation: 56+28=84, Resulting Numbers: [84] 84,48 unequal: No Solution Exploring Operation: 56*28=1568, Resulting Numbers: [1568] 1568,48 unequal: No Solution Exploring Operation: 56/28=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 56-28=28, Resulting Numbers: [28] 28,48 unequal: No Solution Moving to Node #0,2,3 Current State: 48:[64, 4], Operations: ['56-12=44', '48-44=4'] Exploring Operation: 64+4=68, Resulting Numbers: [68] 68,48 unequal: No Solution Exploring Operation: 64*4=256, Resulting Numbers: [256] 256,48 unequal: No Solution Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,48 unequal: No Solution Moving to Node #0,3,3 Current State: 48:[16, 68], Operations: ['64-48=16', '12+56=68'] Exploring Operation: 16*68=1088, Resulting Numbers: [1088] 1088,48 unequal: No Solution Exploring Operation: 68-16=52, Resulting Numbers: [52] 52,48 unequal: No Solution Exploring Operation: 16+68=84, Resulting Numbers: [84] 84,48 unequal: No Solution Moving to Node #0,2,1 Current State: 48:[64, 92], Operations: ['56-12=44', '48+44=92'] Exploring Operation: 92-64=28, Resulting Numbers: [28] 28,48 unequal: No Solution Exploring Operation: 64*92=5888, Resulting Numbers: [5888] 5888,48 unequal: No Solution Exploring Operation: 64+92=156, Resulting Numbers: [156] 156,48 unequal: No Solution Moving to Node #0,2,2 Current State: 48:[48, 108], Operations: ['56-12=44', '64+44=108'] Exploring Operation: 108-48=60, Resulting Numbers: [60] 60,48 unequal: No Solution Exploring Operation: 48*108=5184, Resulting Numbers: [5184] 5184,48 unequal: No Solution Exploring Operation: 48+108=156, Resulting Numbers: [156] 156,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[52, 104], Operations: ['64-12=52', '56+48=104'] Exploring Operation: 52*104=5408, Resulting Numbers: [5408] 5408,48 unequal: No Solution Exploring Operation: 52+104=156, Resulting Numbers: [156] 156,48 unequal: No Solution Exploring Operation: 104/52=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 104-52=52, Resulting Numbers: [52] 52,48 unequal: No Solution Moving to Node #0,1,4 Current State: 48:[48, 108], Operations: ['64-12=52', '56+52=108'] Exploring Operation: 108-48=60, Resulting Numbers: [60] 60,48 unequal: No Solution Exploring Operation: 48*108=5184, Resulting Numbers: [5184] 5184,48 unequal: No Solution Exploring Operation: 48+108=156, Resulting Numbers: [156] 156,48 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 22, 75, 34, 19 ]
59
[ "22-19=3", "75/3=25", "34+25=59" ]
Current State: 59:[22, 75, 34, 19], Operations: [] Exploring Operation: 22-19=3, Resulting Numbers: [75, 34, 3] Generated Node #2: [75, 34, 3] from Operation: 22-19=3 Current State: 59:[75, 34, 3], Operations: ['22-19=3'] Exploring Operation: 75/3=25, Resulting Numbers: [34, 25] Generated Node #3: [34, 25] from Operation: 75/3=25 Current State: 59:[34, 25], Operations: ['22-19=3', '75/3=25'] Exploring Operation: 34+25=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[22, 75, 34, 19], Operations: [] Exploring Operation: 22+34=56, Resulting Numbers: [75, 19, 56] Generated Node #0,0: 59:[75, 19, 56] Operation: 22+34=56 Exploring Operation: 75-19=56, Resulting Numbers: [22, 34, 56] Generated Node #0,1: 59:[22, 34, 56] Operation: 75-19=56 Exploring Operation: 75-22=53, Resulting Numbers: [34, 19, 53] Generated Node #0,2: 59:[34, 19, 53] Operation: 75-22=53 Exploring Operation: 22+19=41, Resulting Numbers: [75, 34, 41] Generated Node #0,3: 59:[75, 34, 41] Operation: 22+19=41 Exploring Operation: 34+19=53, Resulting Numbers: [22, 75, 53] Generated Node #0,4: 59:[22, 75, 53] Operation: 34+19=53 Moving to Node #0,0 Current State: 59:[75, 19, 56], Operations: ['22+34=56'] Exploring Operation: 56-19=37, Resulting Numbers: [75, 37] Generated Node #0,0,0: 59:[75, 37] Operation: 56-19=37 Exploring Operation: 19+56=75, Resulting Numbers: [75, 75] Generated Node #0,0,1: 59:[75, 75] Operation: 19+56=75 Exploring Operation: 75-56=19, Resulting Numbers: [19, 19] Generated Node #0,0,2: 59:[19, 19] Operation: 75-56=19 Exploring Operation: 75-19=56, Resulting Numbers: [56, 56] Generated Node #0,0,3: 59:[56, 56] Operation: 75-19=56 Exploring Operation: 75+19=94, Resulting Numbers: [56, 94] Generated Node #0,0,4: 59:[56, 94] Operation: 75+19=94 Moving to Node #0,4 Current State: 59:[22, 75, 53], Operations: ['34+19=53'] Exploring Operation: 75-22=53, Resulting Numbers: [53, 53] Generated Node #0,4,0: 59:[53, 53] Operation: 75-22=53 Exploring Operation: 53-22=31, Resulting Numbers: [75, 31] Generated Node #0,4,1: 59:[75, 31] Operation: 53-22=31 Exploring Operation: 75-53=22, Resulting Numbers: [22, 22] Generated Node #0,4,2: 59:[22, 22] Operation: 75-53=22 Exploring Operation: 22+75=97, Resulting Numbers: [53, 97] Generated Node #0,4,3: 59:[53, 97] Operation: 22+75=97 Exploring Operation: 22+53=75, Resulting Numbers: [75, 75] Generated Node #0,4,4: 59:[75, 75] Operation: 22+53=75 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 59:[53, 53], Operations: ['34+19=53', '75-22=53'] Exploring Operation: 53/53=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 53-53=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 53+53=106, Resulting Numbers: [106] 106,59 unequal: No Solution Exploring Operation: 53*53=2809, Resulting Numbers: [2809] 2809,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,4,4 Current State: 59:[75, 75], Operations: ['34+19=53', '22+53=75'] Exploring Operation: 75-75=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 75/75=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 75+75=150, Resulting Numbers: [150] 150,59 unequal: No Solution Exploring Operation: 75*75=5625, Resulting Numbers: [5625] 5625,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,4,1 Current State: 59:[75, 31], Operations: ['34+19=53', '53-22=31'] Exploring Operation: 75-31=44, Resulting Numbers: [44] 44,59 unequal: No Solution Exploring Operation: 75+31=106, Resulting Numbers: [106] 106,59 unequal: No Solution Exploring Operation: 75*31=2325, Resulting Numbers: [2325] 2325,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,4,3 Current State: 59:[53, 97], Operations: ['34+19=53', '22+75=97'] Exploring Operation: 97-53=44, Resulting Numbers: [44] 44,59 unequal: No Solution Exploring Operation: 53*97=5141, Resulting Numbers: [5141] 5141,59 unequal: No Solution Exploring Operation: 53+97=150, Resulting Numbers: [150] 150,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,4,2 Current State: 59:[22, 22], Operations: ['34+19=53', '75-53=22'] Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,59 unequal: No Solution Exploring Operation: 22*22=484, Resulting Numbers: [484] 484,59 unequal: No Solution Exploring Operation: 22-22=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,59 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: 59:[75, 34, 41], Operations: ['22+19=41'] Exploring Operation: 75-41=34, Resulting Numbers: [34, 34] Generated Node #0,3,0: 59:[34, 34] Operation: 75-41=34 Exploring Operation: 75-34=41, Resulting Numbers: [41, 41] Generated Node #0,3,1: 59:[41, 41] Operation: 75-34=41 Exploring Operation: 75+34=109, Resulting Numbers: [41, 109] Generated Node #0,3,2: 59:[41, 109] Operation: 75+34=109 Exploring Operation: 41-34=7, Resulting Numbers: [75, 7] Generated Node #0,3,3: 59:[75, 7] Operation: 41-34=7 Exploring Operation: 34+41=75, Resulting Numbers: [75, 75] Generated Node #0,3,4: 59:[75, 75] Operation: 34+41=75 Moving to Node #0,1 Current State: 59:[22, 34, 56], Operations: ['75-19=56'] Exploring Operation: 34+56=90, Resulting Numbers: [22, 90] Generated Node #0,1,0: 59:[22, 90] Operation: 34+56=90 Exploring Operation: 56-22=34, Resulting Numbers: [34, 34] Generated Node #0,1,1: 59:[34, 34] Operation: 56-22=34 Exploring Operation: 22+34=56, Resulting Numbers: [56, 56] Generated Node #0,1,2: 59:[56, 56] Operation: 22+34=56 Exploring Operation: 34-22=12, Resulting Numbers: [56, 12] Generated Node #0,1,3: 59:[56, 12] Operation: 34-22=12 Exploring Operation: 22+56=78, Resulting Numbers: [34, 78] Generated Node #0,1,4: 59:[34, 78] Operation: 22+56=78 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[56, 56], Operations: ['75-19=56', '22+34=56'] Exploring Operation: 56*56=3136, Resulting Numbers: [3136] 3136,59 unequal: No Solution Exploring Operation: 56+56=112, Resulting Numbers: [112] 112,59 unequal: No Solution Exploring Operation: 56/56=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 56-56=0, Resulting Numbers: [0] 0,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 59:[34, 78], Operations: ['75-19=56', '22+56=78'] Exploring Operation: 34*78=2652, Resulting Numbers: [2652] 2652,59 unequal: No Solution Exploring Operation: 78-34=44, Resulting Numbers: [44] 44,59 unequal: No Solution Exploring Operation: 34+78=112, Resulting Numbers: [112] 112,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[34, 34], Operations: ['75-19=56', '56-22=34'] Exploring Operation: 34/34=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 34*34=1156, Resulting Numbers: [1156] 1156,59 unequal: No Solution Exploring Operation: 34-34=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 34+34=68, Resulting Numbers: [68] 68,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 59:[56, 12], Operations: ['75-19=56', '34-22=12'] Exploring Operation: 56+12=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 56-12=44, Resulting Numbers: [44] 44,59 unequal: No Solution Exploring Operation: 56*12=672, Resulting Numbers: [672] 672,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[22, 90], Operations: ['75-19=56', '34+56=90'] Exploring Operation: 22*90=1980, Resulting Numbers: [1980] 1980,59 unequal: No Solution Exploring Operation: 22+90=112, Resulting Numbers: [112] 112,59 unequal: No Solution Exploring Operation: 90-22=68, Resulting Numbers: [68] 68,59 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: 59:[34, 19, 53], Operations: ['75-22=53'] Exploring Operation: 34+53=87, Resulting Numbers: [19, 87] Generated Node #0,2,0: 59:[19, 87] Operation: 34+53=87 Exploring Operation: 34+19=53, Resulting Numbers: [53, 53] Generated Node #0,2,1: 59:[53, 53] Operation: 34+19=53 Exploring Operation: 34-19=15, Resulting Numbers: [53, 15] Generated Node #0,2,2: 59:[53, 15] Operation: 34-19=15 Exploring Operation: 19+53=72, Resulting Numbers: [34, 72] Generated Node #0,2,3: 59:[34, 72] Operation: 19+53=72 Exploring Operation: 53-19=34, Resulting Numbers: [34, 34] Generated Node #0,2,4: 59:[34, 34] Operation: 53-19=34 Moving to Node #0,0,3 Current State: 59:[56, 56], Operations: ['22+34=56', '75-19=56'] Exploring Operation: 56+56=112, Resulting Numbers: [112] 112,59 unequal: No Solution Exploring Operation: 56*56=3136, Resulting Numbers: [3136] 3136,59 unequal: No Solution Exploring Operation: 56/56=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 56-56=0, Resulting Numbers: [0] 0,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[53, 53], Operations: ['75-22=53', '34+19=53'] Exploring Operation: 53/53=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 53*53=2809, Resulting Numbers: [2809] 2809,59 unequal: No Solution Exploring Operation: 53+53=106, Resulting Numbers: [106] 106,59 unequal: No Solution Exploring Operation: 53-53=0, Resulting Numbers: [0] 0,59 unequal: No Solution Moving to Node #0,3,4 Current State: 59:[75, 75], Operations: ['22+19=41', '34+41=75'] Exploring Operation: 75-75=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 75/75=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 75+75=150, Resulting Numbers: [150] 150,59 unequal: No Solution Exploring Operation: 75*75=5625, Resulting Numbers: [5625] 5625,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[75, 75], Operations: ['22+34=56', '19+56=75'] Exploring Operation: 75-75=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 75*75=5625, Resulting Numbers: [5625] 5625,59 unequal: No Solution Exploring Operation: 75/75=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 75+75=150, Resulting Numbers: [150] 150,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[41, 41], Operations: ['22+19=41', '75-34=41'] Exploring Operation: 41+41=82, Resulting Numbers: [82] 82,59 unequal: No Solution Exploring Operation: 41*41=1681, Resulting Numbers: [1681] 1681,59 unequal: No Solution Exploring Operation: 41/41=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 41-41=0, Resulting Numbers: [0] 0,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[75, 37], Operations: ['22+34=56', '56-19=37'] Exploring Operation: 75-37=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 75*37=2775, Resulting Numbers: [2775] 2775,59 unequal: No Solution Exploring Operation: 75+37=112, Resulting Numbers: [112] 112,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[34, 72], Operations: ['75-22=53', '19+53=72'] Exploring Operation: 34*72=2448, Resulting Numbers: [2448] 2448,59 unequal: No Solution Exploring Operation: 34+72=106, Resulting Numbers: [106] 106,59 unequal: No Solution Exploring Operation: 72-34=38, Resulting Numbers: [38] 38,59 unequal: No Solution Moving to Node #0,0,4 Current State: 59:[56, 94], Operations: ['22+34=56', '75+19=94'] Exploring Operation: 56*94=5264, Resulting Numbers: [5264] 5264,59 unequal: No Solution Exploring Operation: 56+94=150, Resulting Numbers: [150] 150,59 unequal: No Solution Exploring Operation: 94-56=38, Resulting Numbers: [38] 38,59 unequal: No Solution Moving to Node #0,2,4 Current State: 59:[34, 34], Operations: ['75-22=53', '53-19=34'] Exploring Operation: 34-34=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 34*34=1156, Resulting Numbers: [1156] 1156,59 unequal: No Solution Exploring Operation: 34/34=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 34+34=68, Resulting Numbers: [68] 68,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[34, 34], Operations: ['22+19=41', '75-41=34'] Exploring Operation: 34+34=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 34-34=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 34*34=1156, Resulting Numbers: [1156] 1156,59 unequal: No Solution Exploring Operation: 34/34=1, Resulting Numbers: [1] 1,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[53, 15], Operations: ['75-22=53', '34-19=15'] Exploring Operation: 53-15=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 53*15=795, Resulting Numbers: [795] 795,59 unequal: No Solution Exploring Operation: 53+15=68, Resulting Numbers: [68] 68,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[19, 87], Operations: ['75-22=53', '34+53=87'] Exploring Operation: 87-19=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 19+87=106, Resulting Numbers: [106] 106,59 unequal: No Solution Exploring Operation: 19*87=1653, Resulting Numbers: [1653] 1653,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[41, 109], Operations: ['22+19=41', '75+34=109'] Exploring Operation: 109-41=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 41*109=4469, Resulting Numbers: [4469] 4469,59 unequal: No Solution Exploring Operation: 41+109=150, Resulting Numbers: [150] 150,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[75, 7], Operations: ['22+19=41', '41-34=7'] Exploring Operation: 75*7=525, Resulting Numbers: [525] 525,59 unequal: No Solution Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 75+7=82, Resulting Numbers: [82] 82,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[19, 19], Operations: ['22+34=56', '75-56=19'] Exploring Operation: 19*19=361, Resulting Numbers: [361] 361,59 unequal: No Solution Exploring Operation: 19-19=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 19/19=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 19+19=38, Resulting Numbers: [38] 38,59 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 67, 30, 17, 2 ]
71
[ "67-30=37", "17*2=34", "37+34=71" ]
Current State: 71:[67, 30, 17, 2], Operations: [] Exploring Operation: 67-30=37, Resulting Numbers: [17, 2, 37] Generated Node #2: [17, 2, 37] from Operation: 67-30=37 Current State: 71:[17, 2, 37], Operations: ['67-30=37'] Exploring Operation: 17*2=34, Resulting Numbers: [37, 34] Generated Node #3: [37, 34] from Operation: 17*2=34 Current State: 71:[37, 34], Operations: ['67-30=37', '17*2=34'] Exploring Operation: 37+34=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[67, 30, 17, 2], Operations: [] Exploring Operation: 30*2=60, Resulting Numbers: [67, 17, 60] Generated Node #0,0: 71:[67, 17, 60] Operation: 30*2=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[67, 17, 60], Operations: ['30*2=60'] Exploring Operation: 17+60=77, Resulting Numbers: [67, 77] Generated Node #0,0,0: 71:[67, 77] Operation: 17+60=77 Moving to Node #0,0,0 Current State: 71:[67, 77], Operations: ['30*2=60', '17+60=77'] Exploring Operation: 77-67=10, Resulting Numbers: [10] 10,71 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
[ 6, 83, 30, 12 ]
100
[ "30/6=5", "83+12=95", "5+95=100" ]
Current State: 100:[6, 83, 30, 12], Operations: [] Exploring Operation: 30/6=5, Resulting Numbers: [83, 12, 5] Generated Node #2: [83, 12, 5] from Operation: 30/6=5 Current State: 100:[83, 12, 5], Operations: ['30/6=5'] Exploring Operation: 83+12=95, Resulting Numbers: [5, 95] Generated Node #3: [5, 95] from Operation: 83+12=95 Current State: 100:[5, 95], Operations: ['30/6=5', '83+12=95'] Exploring Operation: 5+95=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[6, 83, 30, 12], Operations: [] Exploring Operation: 83+12=95, Resulting Numbers: [6, 30, 95] Generated Node #0,0: 100:[6, 30, 95] Operation: 83+12=95 Exploring Operation: 83+30=113, Resulting Numbers: [6, 12, 113] Generated Node #0,1: 100:[6, 12, 113] Operation: 83+30=113 Exploring Operation: 83-30=53, Resulting Numbers: [6, 12, 53] Generated Node #0,2: 100:[6, 12, 53] Operation: 83-30=53 Moving to Node #0,2 Current State: 100:[6, 12, 53], Operations: ['83-30=53'] Exploring Operation: 12-6=6, Resulting Numbers: [53, 6] Generated Node #0,2,0: 100:[53, 6] Operation: 12-6=6 Exploring Operation: 6+12=18, Resulting Numbers: [53, 18] Generated Node #0,2,1: 100:[53, 18] Operation: 6+12=18 Exploring Operation: 12/6=2, Resulting Numbers: [53, 2] Generated Node #0,2,2: 100:[53, 2] Operation: 12/6=2 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 100:[53, 2], Operations: ['83-30=53', '12/6=2'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,100 unequal: No Solution Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,100 unequal: No Solution Exploring Operation: 53*2=106, Resulting Numbers: [106] 106,100 unequal: No Solution No 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: 100:[53, 6], Operations: ['83-30=53', '12-6=6'] Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,100 unequal: No Solution Exploring Operation: 53+6=59, Resulting Numbers: [59] 59,100 unequal: No Solution Exploring Operation: 53*6=318, Resulting Numbers: [318] 318,100 unequal: No Solution No 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: 100:[53, 18], Operations: ['83-30=53', '6+12=18'] Exploring Operation: 53+18=71, Resulting Numbers: [71] 71,100 unequal: No Solution Exploring Operation: 53-18=35, Resulting Numbers: [35] 35,100 unequal: No Solution Exploring Operation: 53*18=954, Resulting Numbers: [954] 954,100 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: 100:[6, 30, 95], Operations: ['83+12=95'] Exploring Operation: 30-6=24, Resulting Numbers: [95, 24] Generated Node #0,0,0: 100:[95, 24] Operation: 30-6=24 Exploring Operation: 6+95=101, Resulting Numbers: [30, 101] Generated Node #0,0,1: 100:[30, 101] Operation: 6+95=101 Exploring Operation: 30/6=5, Resulting Numbers: [95, 5] Generated Node #0,0,2: 100:[95, 5] Operation: 30/6=5 Moving to Node #0,1 Current State: 100:[6, 12, 113], Operations: ['83+30=113'] Exploring Operation: 12/6=2, Resulting Numbers: [113, 2] Generated Node #0,1,0: 100:[113, 2] Operation: 12/6=2 Exploring Operation: 113-6=107, Resulting Numbers: [12, 107] Generated Node #0,1,1: 100:[12, 107] Operation: 113-6=107 Exploring Operation: 113-12=101, Resulting Numbers: [6, 101] Generated Node #0,1,2: 100:[6, 101] Operation: 113-12=101 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 100:[6, 101], Operations: ['83+30=113', '113-12=101'] Exploring Operation: 101-6=95, Resulting Numbers: [95] 95,100 unequal: No Solution Exploring Operation: 6+101=107, Resulting Numbers: [107] 107,100 unequal: No Solution Exploring Operation: 6*101=606, Resulting Numbers: [606] 606,100 unequal: No Solution No 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: 100:[12, 107], Operations: ['83+30=113', '113-6=107'] Exploring Operation: 107-12=95, Resulting Numbers: [95] 95,100 unequal: No Solution Exploring Operation: 12+107=119, Resulting Numbers: [119] 119,100 unequal: No Solution Exploring Operation: 12*107=1284, Resulting Numbers: [1284] 1284,100 unequal: No Solution No 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: 100:[113, 2], Operations: ['83+30=113', '12/6=2'] Exploring Operation: 113*2=226, Resulting Numbers: [226] 226,100 unequal: No Solution Exploring Operation: 113-2=111, Resulting Numbers: [111] 111,100 unequal: No Solution Exploring Operation: 113+2=115, Resulting Numbers: [115] 115,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 100:[95, 5], Operations: ['83+12=95', '30/6=5'] Exploring Operation: 95/5=19, Resulting Numbers: [19] 19,100 unequal: No Solution Exploring Operation: 95-5=90, Resulting Numbers: [90] 90,100 unequal: No Solution Exploring Operation: 95+5=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[6, 83, 30, 12], Operations: [] Exploring Operation: 83+12=95, Resulting Numbers: [6, 30, 95] Generated Node #0,0: 100:[6, 30, 95] Operation: 83+12=95 Moving to Node #0,0 Current State: 100:[6, 30, 95], Operations: ['83+12=95'] Exploring Operation: 30/6=5, Resulting Numbers: [95, 5] Generated Node #0,0,2: 100:[95, 5] Operation: 30/6=5 Moving to Node #0,0,2 Current State: 100:[95, 5], Operations: ['83+12=95', '30/6=5'] Exploring Operation: 95+5=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
0.967882
hs_3
sum_heuristic
[ 70, 48, 87, 67 ]
71
[ "70-67=3", "48/3=16", "87-16=71" ]
Current State: 71:[70, 48, 87, 67], Operations: [] Exploring Operation: 70-67=3, Resulting Numbers: [48, 87, 3] Generated Node #2: [48, 87, 3] from Operation: 70-67=3 Current State: 71:[48, 87, 3], Operations: ['70-67=3'] Exploring Operation: 48/3=16, Resulting Numbers: [87, 16] Generated Node #3: [87, 16] from Operation: 48/3=16 Current State: 71:[87, 16], Operations: ['70-67=3', '48/3=16'] Exploring Operation: 87-16=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[70, 48, 87, 67], Operations: [] Exploring Operation: 87-48=39, Resulting Numbers: [70, 67, 39] Generated Node #0,0: 71:[70, 67, 39] Operation: 87-48=39 Moving to Node #0,0 Current State: 71:[70, 67, 39], Operations: ['87-48=39'] Exploring Operation: 67+39=106, Resulting Numbers: [70, 106] Generated Node #0,0,0: 71:[70, 106] Operation: 67+39=106 Moving to Node #0,0,0 Current State: 71:[70, 106], Operations: ['87-48=39', '67+39=106'] Exploring Operation: 106-70=36, Resulting Numbers: [36] 36,71 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 47, 7, 6, 26 ]
31
[ "47+26=73", "7*6=42", "73-42=31" ]
Current State: 31:[47, 7, 6, 26], Operations: [] Exploring Operation: 47+26=73, Resulting Numbers: [7, 6, 73] Generated Node #2: [7, 6, 73] from Operation: 47+26=73 Current State: 31:[7, 6, 73], Operations: ['47+26=73'] Exploring Operation: 7*6=42, Resulting Numbers: [73, 42] Generated Node #3: [73, 42] from Operation: 7*6=42 Current State: 31:[73, 42], Operations: ['47+26=73', '7*6=42'] Exploring Operation: 73-42=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[47, 7, 6, 26], Operations: [] Exploring Operation: 7*6=42, Resulting Numbers: [47, 26, 42] Generated Node #0,0: 31:[47, 26, 42] Operation: 7*6=42 Exploring Operation: 6+26=32, Resulting Numbers: [47, 7, 32] Generated Node #0,1: 31:[47, 7, 32] Operation: 6+26=32 Exploring Operation: 47-7=40, Resulting Numbers: [6, 26, 40] Generated Node #0,2: 31:[6, 26, 40] Operation: 47-7=40 Exploring Operation: 47-6=41, Resulting Numbers: [7, 26, 41] Generated Node #0,3: 31:[7, 26, 41] Operation: 47-6=41 Exploring Operation: 7+6=13, Resulting Numbers: [47, 26, 13] Generated Node #0,4: 31:[47, 26, 13] Operation: 7+6=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[47, 26, 42], Operations: ['7*6=42'] Exploring Operation: 47-42=5, Resulting Numbers: [26, 5] Generated Node #0,0,0: 31:[26, 5] Operation: 47-42=5 Exploring Operation: 26+42=68, Resulting Numbers: [47, 68] Generated Node #0,0,1: 31:[47, 68] Operation: 26+42=68 Exploring Operation: 47+26=73, Resulting Numbers: [42, 73] Generated Node #0,0,2: 31:[42, 73] Operation: 47+26=73 Exploring Operation: 47-26=21, Resulting Numbers: [42, 21] Generated Node #0,0,3: 31:[42, 21] Operation: 47-26=21 Exploring Operation: 42-26=16, Resulting Numbers: [47, 16] Generated Node #0,0,4: 31:[47, 16] Operation: 42-26=16 Moving to Node #0,0,3 Current State: 31:[42, 21], Operations: ['7*6=42', '47-26=21'] Exploring Operation: 42+21=63, Resulting Numbers: [63] 63,31 unequal: No Solution Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,31 unequal: No Solution Exploring Operation: 42*21=882, Resulting Numbers: [882] 882,31 unequal: No Solution Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,31 unequal: No Solution Moving to Node #0,0,4 Current State: 31:[47, 16], Operations: ['7*6=42', '42-26=16'] Exploring Operation: 47+16=63, Resulting Numbers: [63] 63,31 unequal: No Solution Exploring Operation: 47*16=752, Resulting Numbers: [752] 752,31 unequal: No Solution Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[47, 7, 6, 26], Operations: [] Exploring Operation: 7*6=42, Resulting Numbers: [47, 26, 42] Generated Node #0,0: 31:[47, 26, 42] Operation: 7*6=42 Moving to Node #0,0 Current State: 31:[47, 26, 42], Operations: ['7*6=42'] Exploring Operation: 42-26=16, Resulting Numbers: [47, 16] Generated Node #0,0,4: 31:[47, 16] Operation: 42-26=16 Moving to Node #0,0,4 Current State: 31:[47, 16], Operations: ['7*6=42', '42-26=16'] Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 30, 41, 73, 36 ]
77
[ "41-36=5", "30*5=150", "150-73=77" ]
Current State: 77:[30, 41, 73, 36], Operations: [] Exploring Operation: 41-36=5, Resulting Numbers: [30, 73, 5] Generated Node #2: [30, 73, 5] from Operation: 41-36=5 Current State: 77:[30, 73, 5], Operations: ['41-36=5'] Exploring Operation: 30*5=150, Resulting Numbers: [73, 150] Generated Node #3: [73, 150] from Operation: 30*5=150 Current State: 77:[73, 150], Operations: ['41-36=5', '30*5=150'] Exploring Operation: 150-73=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[30, 41, 73, 36], Operations: [] Exploring Operation: 41-36=5, Resulting Numbers: [30, 73, 5] Generated Node #0,0: 77:[30, 73, 5] Operation: 41-36=5 Exploring Operation: 36-30=6, Resulting Numbers: [41, 73, 6] Generated Node #0,1: 77:[41, 73, 6] Operation: 36-30=6 Exploring Operation: 41+36=77, Resulting Numbers: [30, 73, 77] Generated Node #0,2: 77:[30, 73, 77] Operation: 41+36=77 Exploring Operation: 41-30=11, Resulting Numbers: [73, 36, 11] Generated Node #0,3: 77:[73, 36, 11] Operation: 41-30=11 Exploring Operation: 30+41=71, Resulting Numbers: [73, 36, 71] Generated Node #0,4: 77:[73, 36, 71] Operation: 30+41=71 Moving to Node #0,2 Current State: 77:[30, 73, 77], Operations: ['41+36=77'] Exploring Operation: 30+73=103, Resulting Numbers: [77, 103] Generated Node #0,2,0: 77:[77, 103] Operation: 30+73=103 Exploring Operation: 77-30=47, Resulting Numbers: [73, 47] Generated Node #0,2,1: 77:[73, 47] Operation: 77-30=47 Exploring Operation: 30+77=107, Resulting Numbers: [73, 107] Generated Node #0,2,2: 77:[73, 107] Operation: 30+77=107 Exploring Operation: 73-30=43, Resulting Numbers: [77, 43] Generated Node #0,2,3: 77:[77, 43] Operation: 73-30=43 Exploring Operation: 77-73=4, Resulting Numbers: [30, 4] Generated Node #0,2,4: 77:[30, 4] Operation: 77-73=4 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 77:[30, 4], Operations: ['41+36=77', '77-73=4'] Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,77 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,77 unequal: No Solution Exploring Operation: 30*4=120, Resulting Numbers: [120] 120,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 77:[77, 103], Operations: ['41+36=77', '30+73=103'] Exploring Operation: 103-77=26, Resulting Numbers: [26] 26,77 unequal: No Solution Exploring Operation: 77*103=7931, Resulting Numbers: [7931] 7931,77 unequal: No Solution Exploring Operation: 77+103=180, Resulting Numbers: [180] 180,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 77:[77, 43], Operations: ['41+36=77', '73-30=43'] Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,77 unequal: No Solution Exploring Operation: 77+43=120, Resulting Numbers: [120] 120,77 unequal: No Solution Exploring Operation: 77*43=3311, Resulting Numbers: [3311] 3311,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 77:[73, 47], Operations: ['41+36=77', '77-30=47'] Exploring Operation: 73+47=120, Resulting Numbers: [120] 120,77 unequal: No Solution Exploring Operation: 73*47=3431, Resulting Numbers: [3431] 3431,77 unequal: No Solution Exploring Operation: 73-47=26, Resulting Numbers: [26] 26,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 77:[73, 107], Operations: ['41+36=77', '30+77=107'] Exploring Operation: 107-73=34, Resulting Numbers: [34] 34,77 unequal: No Solution Exploring Operation: 73+107=180, Resulting Numbers: [180] 180,77 unequal: No Solution Exploring Operation: 73*107=7811, Resulting Numbers: [7811] 7811,77 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: 77:[30, 73, 5], Operations: ['41-36=5'] Exploring Operation: 30+5=35, Resulting Numbers: [73, 35] Generated Node #0,0,0: 77:[73, 35] Operation: 30+5=35 Exploring Operation: 30/5=6, Resulting Numbers: [73, 6] Generated Node #0,0,1: 77:[73, 6] Operation: 30/5=6 Exploring Operation: 73+5=78, Resulting Numbers: [30, 78] Generated Node #0,0,2: 77:[30, 78] Operation: 73+5=78 Exploring Operation: 30-5=25, Resulting Numbers: [73, 25] Generated Node #0,0,3: 77:[73, 25] Operation: 30-5=25 Exploring Operation: 30+73=103, Resulting Numbers: [5, 103] Generated Node #0,0,4: 77:[5, 103] Operation: 30+73=103 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[73, 6], Operations: ['41-36=5', '30/5=6'] Exploring Operation: 73*6=438, Resulting Numbers: [438] 438,77 unequal: No Solution Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,77 unequal: No Solution Exploring Operation: 73+6=79, Resulting Numbers: [79] 79,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 77:[73, 25], Operations: ['41-36=5', '30-5=25'] Exploring Operation: 73+25=98, Resulting Numbers: [98] 98,77 unequal: No Solution Exploring Operation: 73*25=1825, Resulting Numbers: [1825] 1825,77 unequal: No Solution Exploring Operation: 73-25=48, Resulting Numbers: [48] 48,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 77:[30, 78], Operations: ['41-36=5', '73+5=78'] Exploring Operation: 78-30=48, Resulting Numbers: [48] 48,77 unequal: No Solution Exploring Operation: 30+78=108, Resulting Numbers: [108] 108,77 unequal: No Solution Exploring Operation: 30*78=2340, Resulting Numbers: [2340] 2340,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[73, 35], Operations: ['41-36=5', '30+5=35'] Exploring Operation: 73*35=2555, Resulting Numbers: [2555] 2555,77 unequal: No Solution Exploring Operation: 73-35=38, Resulting Numbers: [38] 38,77 unequal: No Solution Exploring Operation: 73+35=108, Resulting Numbers: [108] 108,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 77:[5, 103], Operations: ['41-36=5', '30+73=103'] Exploring Operation: 103-5=98, Resulting Numbers: [98] 98,77 unequal: No Solution Exploring Operation: 5*103=515, Resulting Numbers: [515] 515,77 unequal: No Solution Exploring Operation: 5+103=108, Resulting Numbers: [108] 108,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 77:[73, 36, 11], Operations: ['41-30=11'] Exploring Operation: 73-36=37, Resulting Numbers: [11, 37] Generated Node #0,3,0: 77:[11, 37] Operation: 73-36=37 Exploring Operation: 36+11=47, Resulting Numbers: [73, 47] Generated Node #0,3,1: 77:[73, 47] Operation: 36+11=47 Exploring Operation: 73+36=109, Resulting Numbers: [11, 109] Generated Node #0,3,2: 77:[11, 109] Operation: 73+36=109 Exploring Operation: 36-11=25, Resulting Numbers: [73, 25] Generated Node #0,3,3: 77:[73, 25] Operation: 36-11=25 Exploring Operation: 73+11=84, Resulting Numbers: [36, 84] Generated Node #0,3,4: 77:[36, 84] Operation: 73+11=84 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 77:[73, 25], Operations: ['41-30=11', '36-11=25'] Exploring Operation: 73-25=48, Resulting Numbers: [48] 48,77 unequal: No Solution Exploring Operation: 73+25=98, Resulting Numbers: [98] 98,77 unequal: No Solution Exploring Operation: 73*25=1825, Resulting Numbers: [1825] 1825,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 77:[11, 37], Operations: ['41-30=11', '73-36=37'] Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,77 unequal: No Solution Exploring Operation: 11+37=48, Resulting Numbers: [48] 48,77 unequal: No Solution Exploring Operation: 11*37=407, Resulting Numbers: [407] 407,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 77:[11, 109], Operations: ['41-30=11', '73+36=109'] Exploring Operation: 109-11=98, Resulting Numbers: [98] 98,77 unequal: No Solution Exploring Operation: 11+109=120, Resulting Numbers: [120] 120,77 unequal: No Solution Exploring Operation: 11*109=1199, Resulting Numbers: [1199] 1199,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 77:[36, 84], Operations: ['41-30=11', '73+11=84'] Exploring Operation: 36+84=120, Resulting Numbers: [120] 120,77 unequal: No Solution Exploring Operation: 36*84=3024, Resulting Numbers: [3024] 3024,77 unequal: No Solution Exploring Operation: 84-36=48, Resulting Numbers: [48] 48,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 77:[73, 47], Operations: ['41-30=11', '36+11=47'] Exploring Operation: 73-47=26, Resulting Numbers: [26] 26,77 unequal: No Solution Exploring Operation: 73+47=120, Resulting Numbers: [120] 120,77 unequal: No Solution Exploring Operation: 73*47=3431, Resulting Numbers: [3431] 3431,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 77:[41, 73, 6], Operations: ['36-30=6'] Exploring Operation: 73-41=32, Resulting Numbers: [6, 32] Generated Node #0,1,0: 77:[6, 32] Operation: 73-41=32 Exploring Operation: 41+73=114, Resulting Numbers: [6, 114] Generated Node #0,1,1: 77:[6, 114] Operation: 41+73=114 Exploring Operation: 41-6=35, Resulting Numbers: [73, 35] Generated Node #0,1,2: 77:[73, 35] Operation: 41-6=35 Exploring Operation: 73+6=79, Resulting Numbers: [41, 79] Generated Node #0,1,3: 77:[41, 79] Operation: 73+6=79 Exploring Operation: 41+6=47, Resulting Numbers: [73, 47] Generated Node #0,1,4: 77:[73, 47] Operation: 41+6=47 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[6, 32], Operations: ['36-30=6', '73-41=32'] Exploring Operation: 6+32=38, Resulting Numbers: [38] 38,77 unequal: No Solution Exploring Operation: 6*32=192, Resulting Numbers: [192] 192,77 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 77:[73, 35], Operations: ['36-30=6', '41-6=35'] Exploring Operation: 73+35=108, Resulting Numbers: [108] 108,77 unequal: No Solution Exploring Operation: 73-35=38, Resulting Numbers: [38] 38,77 unequal: No Solution Exploring Operation: 73*35=2555, Resulting Numbers: [2555] 2555,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 77:[41, 79], Operations: ['36-30=6', '73+6=79'] Exploring Operation: 41+79=120, Resulting Numbers: [120] 120,77 unequal: No Solution Exploring Operation: 79-41=38, Resulting Numbers: [38] 38,77 unequal: No Solution Exploring Operation: 41*79=3239, Resulting Numbers: [3239] 3239,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 77:[73, 47], Operations: ['36-30=6', '41+6=47'] Exploring Operation: 73*47=3431, Resulting Numbers: [3431] 3431,77 unequal: No Solution Exploring Operation: 73-47=26, Resulting Numbers: [26] 26,77 unequal: No Solution Exploring Operation: 73+47=120, Resulting Numbers: [120] 120,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[6, 114], Operations: ['36-30=6', '41+73=114'] Exploring Operation: 114-6=108, Resulting Numbers: [108] 108,77 unequal: No Solution Exploring Operation: 6*114=684, Resulting Numbers: [684] 684,77 unequal: No Solution Exploring Operation: 6+114=120, Resulting Numbers: [120] 120,77 unequal: No Solution Exploring Operation: 114/6=19, Resulting Numbers: [19] 19,77 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: 77:[73, 36, 71], Operations: ['30+41=71'] Exploring Operation: 71-36=35, Resulting Numbers: [73, 35] Generated Node #0,4,0: 77:[73, 35] Operation: 71-36=35 Exploring Operation: 73+36=109, Resulting Numbers: [71, 109] Generated Node #0,4,1: 77:[71, 109] Operation: 73+36=109 Exploring Operation: 73-71=2, Resulting Numbers: [36, 2] Generated Node #0,4,2: 77:[36, 2] Operation: 73-71=2 Exploring Operation: 36+71=107, Resulting Numbers: [73, 107] Generated Node #0,4,3: 77:[73, 107] Operation: 36+71=107 Exploring Operation: 73-36=37, Resulting Numbers: [71, 37] Generated Node #0,4,4: 77:[71, 37] Operation: 73-36=37 Moving to Node #0,4,0 Current State: 77:[73, 35], Operations: ['30+41=71', '71-36=35'] Exploring Operation: 73-35=38, Resulting Numbers: [38] 38,77 unequal: No Solution Exploring Operation: 73+35=108, Resulting Numbers: [108] 108,77 unequal: No Solution Exploring Operation: 73*35=2555, Resulting Numbers: [2555] 2555,77 unequal: No Solution Moving to Node #0,4,2 Current State: 77:[36, 2], Operations: ['30+41=71', '73-71=2'] Exploring Operation: 36*2=72, Resulting Numbers: [72] 72,77 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,77 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,77 unequal: No Solution Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,77 unequal: No Solution Moving to Node #0,4,4 Current State: 77:[71, 37], Operations: ['30+41=71', '73-36=37'] Exploring Operation: 71+37=108, Resulting Numbers: [108] 108,77 unequal: No Solution Exploring Operation: 71*37=2627, Resulting Numbers: [2627] 2627,77 unequal: No Solution Exploring Operation: 71-37=34, Resulting Numbers: [34] 34,77 unequal: No Solution Moving to Node #0,4,3 Current State: 77:[73, 107], Operations: ['30+41=71', '36+71=107'] Exploring Operation: 73+107=180, Resulting Numbers: [180] 180,77 unequal: No Solution Exploring Operation: 73*107=7811, Resulting Numbers: [7811] 7811,77 unequal: No Solution Exploring Operation: 107-73=34, Resulting Numbers: [34] 34,77 unequal: No Solution Moving to Node #0,4,1 Current State: 77:[71, 109], Operations: ['30+41=71', '73+36=109'] Exploring Operation: 109-71=38, Resulting Numbers: [38] 38,77 unequal: No Solution Exploring Operation: 71+109=180, Resulting Numbers: [180] 180,77 unequal: No Solution Exploring Operation: 71*109=7739, Resulting Numbers: [7739] 7739,77 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 2, 68, 42, 7 ]
96
[ "42/2=21", "68+7=75", "21+75=96" ]
Current State: 96:[2, 68, 42, 7], Operations: [] Exploring Operation: 42/2=21, Resulting Numbers: [68, 7, 21] Generated Node #2: [68, 7, 21] from Operation: 42/2=21 Current State: 96:[68, 7, 21], Operations: ['42/2=21'] Exploring Operation: 68+7=75, Resulting Numbers: [21, 75] Generated Node #3: [21, 75] from Operation: 68+7=75 Current State: 96:[21, 75], Operations: ['42/2=21', '68+7=75'] Exploring Operation: 21+75=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[2, 68, 42, 7], Operations: [] Exploring Operation: 68-42=26, Resulting Numbers: [2, 7, 26] Generated Node #0,0: 96:[2, 7, 26] Operation: 68-42=26 Exploring Operation: 68+42=110, Resulting Numbers: [2, 7, 110] Generated Node #0,1: 96:[2, 7, 110] Operation: 68+42=110 Exploring Operation: 68/2=34, Resulting Numbers: [42, 7, 34] Generated Node #0,2: 96:[42, 7, 34] Operation: 68/2=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[2, 7, 26], Operations: ['68-42=26'] Exploring Operation: 7+26=33, Resulting Numbers: [2, 33] Generated Node #0,0,0: 96:[2, 33] Operation: 7+26=33 Exploring Operation: 26-2=24, Resulting Numbers: [7, 24] Generated Node #0,0,1: 96:[7, 24] Operation: 26-2=24 Exploring Operation: 26/2=13, Resulting Numbers: [7, 13] Generated Node #0,0,2: 96:[7, 13] Operation: 26/2=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[2, 33], Operations: ['68-42=26', '7+26=33'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,96 unequal: No Solution Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,96 unequal: No Solution Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,96 unequal: No Solution No 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: 96:[7, 24], Operations: ['68-42=26', '26-2=24'] Exploring Operation: 7*24=168, Resulting Numbers: [168] 168,96 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,96 unequal: No Solution Exploring Operation: 7+24=31, Resulting Numbers: [31] 31,96 unequal: No Solution No 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: 96:[7, 13], Operations: ['68-42=26', '26/2=13'] Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,96 unequal: No Solution Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,96 unequal: No Solution Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,96 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: 96:[42, 7, 34], Operations: ['68/2=34'] Exploring Operation: 42-34=8, Resulting Numbers: [7, 8] Generated Node #0,2,0: 96:[7, 8] Operation: 42-34=8 Exploring Operation: 42/7=6, Resulting Numbers: [34, 6] Generated Node #0,2,1: 96:[34, 6] Operation: 42/7=6 Exploring Operation: 42+7=49, Resulting Numbers: [34, 49] Generated Node #0,2,2: 96:[34, 49] Operation: 42+7=49 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 96:[7, 8], Operations: ['68/2=34', '42-34=8'] Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,96 unequal: No Solution Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,96 unequal: No Solution No 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: 96:[34, 6], Operations: ['68/2=34', '42/7=6'] Exploring Operation: 34+6=40, Resulting Numbers: [40] 40,96 unequal: No Solution Exploring Operation: 34*6=204, Resulting Numbers: [204] 204,96 unequal: No Solution Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,96 unequal: No Solution No 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: 96:[34, 49], Operations: ['68/2=34', '42+7=49'] Exploring Operation: 34*49=1666, Resulting Numbers: [1666] 1666,96 unequal: No Solution Exploring Operation: 34+49=83, Resulting Numbers: [83] 83,96 unequal: No Solution Exploring Operation: 49-34=15, Resulting Numbers: [15] 15,96 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: 96:[2, 7, 110], Operations: ['68+42=110'] Exploring Operation: 110-7=103, Resulting Numbers: [2, 103] Generated Node #0,1,0: 96:[2, 103] Operation: 110-7=103 Exploring Operation: 110-2=108, Resulting Numbers: [7, 108] Generated Node #0,1,1: 96:[7, 108] Operation: 110-2=108 Exploring Operation: 110/2=55, Resulting Numbers: [7, 55] Generated Node #0,1,2: 96:[7, 55] Operation: 110/2=55 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 96:[2, 103], Operations: ['68+42=110', '110-7=103'] Exploring Operation: 103-2=101, Resulting Numbers: [101] 101,96 unequal: No Solution Exploring Operation: 2*103=206, Resulting Numbers: [206] 206,96 unequal: No Solution Exploring Operation: 2+103=105, Resulting Numbers: [105] 105,96 unequal: No Solution No 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: 96:[7, 55], Operations: ['68+42=110', '110/2=55'] Exploring Operation: 7*55=385, Resulting Numbers: [385] 385,96 unequal: No Solution Exploring Operation: 7+55=62, Resulting Numbers: [62] 62,96 unequal: No Solution Exploring Operation: 55-7=48, Resulting Numbers: [48] 48,96 unequal: No Solution No 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: 96:[7, 108], Operations: ['68+42=110', '110-2=108'] Exploring Operation: 108-7=101, Resulting Numbers: [101] 101,96 unequal: No Solution Exploring Operation: 7+108=115, Resulting Numbers: [115] 115,96 unequal: No Solution Exploring Operation: 7*108=756, Resulting Numbers: [756] 756,96 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
[ 64, 78, 69, 5 ]
88
[ "78-64=14", "69+5=74", "14+74=88" ]
Current State: 88:[64, 78, 69, 5], Operations: [] Exploring Operation: 78-64=14, Resulting Numbers: [69, 5, 14] Generated Node #2: [69, 5, 14] from Operation: 78-64=14 Current State: 88:[69, 5, 14], Operations: ['78-64=14'] Exploring Operation: 69+5=74, Resulting Numbers: [14, 74] Generated Node #3: [14, 74] from Operation: 69+5=74 Current State: 88:[14, 74], Operations: ['78-64=14', '69+5=74'] Exploring Operation: 14+74=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[64, 78, 69, 5], Operations: [] Exploring Operation: 69-64=5, Resulting Numbers: [78, 5, 5] Generated Node #0,0: 88:[78, 5, 5] Operation: 69-64=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[78, 5, 5], Operations: ['69-64=5'] Exploring Operation: 78+5=83, Resulting Numbers: [5, 83] Generated Node #0,0,0: 88:[5, 83] Operation: 78+5=83 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[5, 83], Operations: ['69-64=5', '78+5=83'] Exploring Operation: 5+83=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[64, 78, 69, 5], Operations: [] Exploring Operation: 69-64=5, Resulting Numbers: [78, 5, 5] Generated Node #0,0: 88:[78, 5, 5] Operation: 69-64=5 Moving to Node #0,0 Current State: 88:[78, 5, 5], Operations: ['69-64=5'] Exploring Operation: 78+5=83, Resulting Numbers: [5, 83] Generated Node #0,0,0: 88:[5, 83] Operation: 78+5=83 Moving to Node #0,0,0 Current State: 88:[5, 83], Operations: ['69-64=5', '78+5=83'] Exploring Operation: 5+83=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 36, 82, 28, 61 ]
85
[ "36+82=118", "61-28=33", "118-33=85" ]
Current State: 85:[36, 82, 28, 61], Operations: [] Exploring Operation: 36+82=118, Resulting Numbers: [28, 61, 118] Generated Node #2: [28, 61, 118] from Operation: 36+82=118 Current State: 85:[28, 61, 118], Operations: ['36+82=118'] Exploring Operation: 61-28=33, Resulting Numbers: [118, 33] Generated Node #3: [118, 33] from Operation: 61-28=33 Current State: 85:[118, 33], Operations: ['36+82=118', '61-28=33'] Exploring Operation: 118-33=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[36, 82, 28, 61], Operations: [] Exploring Operation: 61-36=25, Resulting Numbers: [82, 28, 25] Generated Node #0,0: 85:[82, 28, 25] Operation: 61-36=25 Exploring Operation: 36+61=97, Resulting Numbers: [82, 28, 97] Generated Node #0,1: 85:[82, 28, 97] Operation: 36+61=97 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[82, 28, 25], Operations: ['61-36=25'] Exploring Operation: 28-25=3, Resulting Numbers: [82, 3] Generated Node #0,0,0: 85:[82, 3] Operation: 28-25=3 Exploring Operation: 82+28=110, Resulting Numbers: [25, 110] Generated Node #0,0,1: 85:[25, 110] Operation: 82+28=110 Moving to Node #0,0,0 Current State: 85:[82, 3], Operations: ['61-36=25', '28-25=3'] Exploring Operation: 82-3=79, Resulting Numbers: [79] 79,85 unequal: No Solution Exploring Operation: 82+3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[36, 82, 28, 61], Operations: [] Exploring Operation: 61-36=25, Resulting Numbers: [82, 28, 25] Generated Node #0,0: 85:[82, 28, 25] Operation: 61-36=25 Moving to Node #0,0 Current State: 85:[82, 28, 25], Operations: ['61-36=25'] Exploring Operation: 28-25=3, Resulting Numbers: [82, 3] Generated Node #0,0,0: 85:[82, 3] Operation: 28-25=3 Moving to Node #0,0,0 Current State: 85:[82, 3], Operations: ['61-36=25', '28-25=3'] Exploring Operation: 82+3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 60, 36, 80, 45 ]
61
[ "60+36=96", "80-45=35", "96-35=61" ]
Current State: 61:[60, 36, 80, 45], Operations: [] Exploring Operation: 60+36=96, Resulting Numbers: [80, 45, 96] Generated Node #2: [80, 45, 96] from Operation: 60+36=96 Current State: 61:[80, 45, 96], Operations: ['60+36=96'] Exploring Operation: 80-45=35, Resulting Numbers: [96, 35] Generated Node #3: [96, 35] from Operation: 80-45=35 Current State: 61:[96, 35], Operations: ['60+36=96', '80-45=35'] Exploring Operation: 96-35=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[60, 36, 80, 45], Operations: [] Exploring Operation: 80-36=44, Resulting Numbers: [60, 45, 44] Generated Node #0,0: 61:[60, 45, 44] Operation: 80-36=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[60, 45, 44], Operations: ['80-36=44'] Exploring Operation: 45+44=89, Resulting Numbers: [60, 89] Generated Node #0,0,0: 61:[60, 89] Operation: 45+44=89 Moving to Node #0,0,0 Current State: 61:[60, 89], Operations: ['80-36=44', '45+44=89'] Exploring Operation: 89-60=29, Resulting Numbers: [29] 29,61 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, 99, 1, 1 ]
23
[ "99-53=46", "1+1=2", "46/2=23" ]
Current State: 23:[53, 99, 1, 1], Operations: [] Exploring Operation: 99-53=46, Resulting Numbers: [1, 1, 46] Generated Node #2: [1, 1, 46] from Operation: 99-53=46 Current State: 23:[1, 1, 46], Operations: ['99-53=46'] Exploring Operation: 1+1=2, Resulting Numbers: [46, 2] Generated Node #3: [46, 2] from Operation: 1+1=2 Current State: 23:[46, 2], Operations: ['99-53=46', '1+1=2'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[53, 99, 1, 1], Operations: [] Exploring Operation: 99-53=46, Resulting Numbers: [1, 1, 46] Generated Node #0,0: 23:[1, 1, 46] Operation: 99-53=46 Exploring Operation: 53-1=52, Resulting Numbers: [99, 1, 52] Generated Node #0,1: 23:[99, 1, 52] Operation: 53-1=52 Exploring Operation: 53-1=52, Resulting Numbers: [99, 1, 52] Generated Node #0,2: 23:[99, 1, 52] Operation: 53-1=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[1, 1, 46], Operations: ['99-53=46'] Exploring Operation: 1+1=2, Resulting Numbers: [46, 2] Generated Node #0,0,0: 23:[46, 2] Operation: 1+1=2 Exploring Operation: 46-1=45, Resulting Numbers: [1, 45] Generated Node #0,0,1: 23:[1, 45] Operation: 46-1=45 Exploring Operation: 46-1=45, Resulting Numbers: [1, 45] Generated Node #0,0,2: 23:[1, 45] Operation: 46-1=45 Moving to Node #0,0,0 Current State: 23:[46, 2], Operations: ['99-53=46', '1+1=2'] Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[53, 99, 1, 1], Operations: [] Exploring Operation: 99-53=46, Resulting Numbers: [1, 1, 46] Generated Node #0,0: 23:[1, 1, 46] Operation: 99-53=46 Moving to Node #0,0 Current State: 23:[1, 1, 46], Operations: ['99-53=46'] Exploring Operation: 1+1=2, Resulting Numbers: [46, 2] Generated Node #0,0,0: 23:[46, 2] Operation: 1+1=2 Moving to Node #0,0,0 Current State: 23:[46, 2], Operations: ['99-53=46', '1+1=2'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 83, 49, 84, 75 ]
43
[ "83-49=34", "84-75=9", "34+9=43" ]
Current State: 43:[83, 49, 84, 75], Operations: [] Exploring Operation: 83-49=34, Resulting Numbers: [84, 75, 34] Generated Node #2: [84, 75, 34] from Operation: 83-49=34 Current State: 43:[84, 75, 34], Operations: ['83-49=34'] Exploring Operation: 84-75=9, Resulting Numbers: [34, 9] Generated Node #3: [34, 9] from Operation: 84-75=9 Current State: 43:[34, 9], Operations: ['83-49=34', '84-75=9'] Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[83, 49, 84, 75], Operations: [] Exploring Operation: 83-49=34, Resulting Numbers: [84, 75, 34] Generated Node #0,0: 43:[84, 75, 34] Operation: 83-49=34 Exploring Operation: 84-75=9, Resulting Numbers: [83, 49, 9] Generated Node #0,1: 43:[83, 49, 9] Operation: 84-75=9 Exploring Operation: 84-83=1, Resulting Numbers: [49, 75, 1] Generated Node #0,2: 43:[49, 75, 1] Operation: 84-83=1 Exploring Operation: 84-49=35, Resulting Numbers: [83, 75, 35] Generated Node #0,3: 43:[83, 75, 35] Operation: 84-49=35 Exploring Operation: 83-75=8, Resulting Numbers: [49, 84, 8] Generated Node #0,4: 43:[49, 84, 8] Operation: 83-75=8 Moving to Node #0,1 Current State: 43:[83, 49, 9], Operations: ['84-75=9'] Exploring Operation: 49-9=40, Resulting Numbers: [83, 40] Generated Node #0,1,0: 43:[83, 40] Operation: 49-9=40 Exploring Operation: 83+9=92, Resulting Numbers: [49, 92] Generated Node #0,1,1: 43:[49, 92] Operation: 83+9=92 Exploring Operation: 49+9=58, Resulting Numbers: [83, 58] Generated Node #0,1,2: 43:[83, 58] Operation: 49+9=58 Exploring Operation: 83-9=74, Resulting Numbers: [49, 74] Generated Node #0,1,3: 43:[49, 74] Operation: 83-9=74 Exploring Operation: 83-49=34, Resulting Numbers: [9, 34] Generated Node #0,1,4: 43:[9, 34] Operation: 83-49=34 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 43:[49, 74], Operations: ['84-75=9', '83-9=74'] Exploring Operation: 74-49=25, Resulting Numbers: [25] 25,43 unequal: No Solution Exploring Operation: 49*74=3626, Resulting Numbers: [3626] 3626,43 unequal: No Solution Exploring Operation: 49+74=123, Resulting Numbers: [123] 123,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 43:[83, 40], Operations: ['84-75=9', '49-9=40'] Exploring Operation: 83*40=3320, Resulting Numbers: [3320] 3320,43 unequal: No Solution Exploring Operation: 83+40=123, Resulting Numbers: [123] 123,43 unequal: No Solution Exploring Operation: 83-40=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[83, 49, 84, 75], Operations: [] Exploring Operation: 84-75=9, Resulting Numbers: [83, 49, 9] Generated Node #0,1: 43:[83, 49, 9] Operation: 84-75=9 Moving to Node #0,1 Current State: 43:[83, 49, 9], Operations: ['84-75=9'] Exploring Operation: 49-9=40, Resulting Numbers: [83, 40] Generated Node #0,1,0: 43:[83, 40] Operation: 49-9=40 Moving to Node #0,1,0 Current State: 43:[83, 40], Operations: ['84-75=9', '49-9=40'] Exploring Operation: 83-40=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 56, 70, 30, 20 ]
76
[ "56+70=126", "30+20=50", "126-50=76" ]
Current State: 76:[56, 70, 30, 20], Operations: [] Exploring Operation: 56+70=126, Resulting Numbers: [30, 20, 126] Generated Node #2: [30, 20, 126] from Operation: 56+70=126 Current State: 76:[30, 20, 126], Operations: ['56+70=126'] Exploring Operation: 30+20=50, Resulting Numbers: [126, 50] Generated Node #3: [126, 50] from Operation: 30+20=50 Current State: 76:[126, 50], Operations: ['56+70=126', '30+20=50'] Exploring Operation: 126-50=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[56, 70, 30, 20], Operations: [] Exploring Operation: 70-56=14, Resulting Numbers: [30, 20, 14] Generated Node #0,0: 76:[30, 20, 14] Operation: 70-56=14 Exploring Operation: 56-30=26, Resulting Numbers: [70, 20, 26] Generated Node #0,1: 76:[70, 20, 26] Operation: 56-30=26 Exploring Operation: 56+20=76, Resulting Numbers: [70, 30, 76] Generated Node #0,2: 76:[70, 30, 76] Operation: 56+20=76 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[30, 20, 14], Operations: ['70-56=14'] Exploring Operation: 30-14=16, Resulting Numbers: [20, 16] Generated Node #0,0,0: 76:[20, 16] Operation: 30-14=16 Exploring Operation: 20-14=6, Resulting Numbers: [30, 6] Generated Node #0,0,1: 76:[30, 6] Operation: 20-14=6 Exploring Operation: 30+14=44, Resulting Numbers: [20, 44] Generated Node #0,0,2: 76:[20, 44] Operation: 30+14=44 Moving to Node #0,0,0 Current State: 76:[20, 16], Operations: ['70-56=14', '30-14=16'] Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 20+16=36, Resulting Numbers: [36] 36,76 unequal: No Solution Exploring Operation: 20*16=320, Resulting Numbers: [320] 320,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[20, 44], Operations: ['70-56=14', '30+14=44'] Exploring Operation: 20+44=64, Resulting Numbers: [64] 64,76 unequal: No Solution Exploring Operation: 20*44=880, Resulting Numbers: [880] 880,76 unequal: No Solution Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[30, 6], Operations: ['70-56=14', '20-14=6'] Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 30+6=36, Resulting Numbers: [36] 36,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[70, 20, 26], Operations: ['56-30=26'] Exploring Operation: 26-20=6, Resulting Numbers: [70, 6] Generated Node #0,1,0: 76:[70, 6] Operation: 26-20=6 Exploring Operation: 70-26=44, Resulting Numbers: [20, 44] Generated Node #0,1,1: 76:[20, 44] Operation: 70-26=44 Exploring Operation: 20+26=46, Resulting Numbers: [70, 46] Generated Node #0,1,2: 76:[70, 46] Operation: 20+26=46 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 76:[20, 44], Operations: ['56-30=26', '70-26=44'] Exploring Operation: 20+44=64, Resulting Numbers: [64] 64,76 unequal: No Solution Exploring Operation: 20*44=880, Resulting Numbers: [880] 880,76 unequal: No Solution Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,76 unequal: No Solution No 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: 76:[70, 6], Operations: ['56-30=26', '26-20=6'] Exploring Operation: 70+6=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[56, 70, 30, 20], Operations: [] Exploring Operation: 56-30=26, Resulting Numbers: [70, 20, 26] Generated Node #0,1: 76:[70, 20, 26] Operation: 56-30=26 Moving to Node #0,1 Current State: 76:[70, 20, 26], Operations: ['56-30=26'] Exploring Operation: 26-20=6, Resulting Numbers: [70, 6] Generated Node #0,1,0: 76:[70, 6] Operation: 26-20=6 Moving to Node #0,1,0 Current State: 76:[70, 6], Operations: ['56-30=26', '26-20=6'] Exploring Operation: 70+6=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.977431
hs_3
sum_heuristic
[ 82, 91, 6, 74 ]
93
[ "82+91=173", "6+74=80", "173-80=93" ]
Current State: 93:[82, 91, 6, 74], Operations: [] Exploring Operation: 82+91=173, Resulting Numbers: [6, 74, 173] Generated Node #2: [6, 74, 173] from Operation: 82+91=173 Current State: 93:[6, 74, 173], Operations: ['82+91=173'] Exploring Operation: 6+74=80, Resulting Numbers: [173, 80] Generated Node #3: [173, 80] from Operation: 6+74=80 Current State: 93:[173, 80], Operations: ['82+91=173', '6+74=80'] Exploring Operation: 173-80=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[82, 91, 6, 74], Operations: [] Exploring Operation: 82+6=88, Resulting Numbers: [91, 74, 88] Generated Node #0,0: 93:[91, 74, 88] Operation: 82+6=88 Exploring Operation: 82-74=8, Resulting Numbers: [91, 6, 8] Generated Node #0,1: 93:[91, 6, 8] Operation: 82-74=8 Exploring Operation: 6+74=80, Resulting Numbers: [82, 91, 80] Generated Node #0,2: 93:[82, 91, 80] Operation: 6+74=80 Moving to Node #0,1 Current State: 93:[91, 6, 8], Operations: ['82-74=8'] Exploring Operation: 8-6=2, Resulting Numbers: [91, 2] Generated Node #0,1,0: 93:[91, 2] Operation: 8-6=2 Exploring Operation: 91+8=99, Resulting Numbers: [6, 99] Generated Node #0,1,1: 93:[6, 99] Operation: 91+8=99 Exploring Operation: 91+6=97, Resulting Numbers: [8, 97] Generated Node #0,1,2: 93:[8, 97] Operation: 91+6=97 Moving to Node #0,0 Current State: 93:[91, 74, 88], Operations: ['82+6=88'] Exploring Operation: 88-74=14, Resulting Numbers: [91, 14] Generated Node #0,0,0: 93:[91, 14] Operation: 88-74=14 Exploring Operation: 91-74=17, Resulting Numbers: [88, 17] Generated Node #0,0,1: 93:[88, 17] Operation: 91-74=17 Exploring Operation: 91-88=3, Resulting Numbers: [74, 3] Generated Node #0,0,2: 93:[74, 3] Operation: 91-88=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[91, 14], Operations: ['82+6=88', '88-74=14'] Exploring Operation: 91*14=1274, Resulting Numbers: [1274] 1274,93 unequal: No Solution Exploring Operation: 91-14=77, Resulting Numbers: [77] 77,93 unequal: No Solution Exploring Operation: 91+14=105, Resulting Numbers: [105] 105,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 93:[88, 17], Operations: ['82+6=88', '91-74=17'] Exploring Operation: 88*17=1496, Resulting Numbers: [1496] 1496,93 unequal: No Solution Exploring Operation: 88-17=71, Resulting Numbers: [71] 71,93 unequal: No Solution Exploring Operation: 88+17=105, Resulting Numbers: [105] 105,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 93:[74, 3], Operations: ['82+6=88', '91-88=3'] Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,93 unequal: No Solution Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,93 unequal: No Solution Exploring Operation: 74*3=222, Resulting Numbers: [222] 222,93 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: 93:[82, 91, 80], Operations: ['6+74=80'] Exploring Operation: 82-80=2, Resulting Numbers: [91, 2] Generated Node #0,2,0: 93:[91, 2] Operation: 82-80=2 Exploring Operation: 91-80=11, Resulting Numbers: [82, 11] Generated Node #0,2,1: 93:[82, 11] Operation: 91-80=11 Exploring Operation: 91-82=9, Resulting Numbers: [80, 9] Generated Node #0,2,2: 93:[80, 9] Operation: 91-82=9 Moving to Node #0,1,0 Current State: 93:[91, 2], Operations: ['82-74=8', '8-6=2'] Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[82, 91, 6, 74], Operations: [] Exploring Operation: 82-74=8, Resulting Numbers: [91, 6, 8] Generated Node #0,1: 93:[91, 6, 8] Operation: 82-74=8 Moving to Node #0,1 Current State: 93:[91, 6, 8], Operations: ['82-74=8'] Exploring Operation: 8-6=2, Resulting Numbers: [91, 2] Generated Node #0,1,0: 93:[91, 2] Operation: 8-6=2 Moving to Node #0,1,0 Current State: 93:[91, 2], Operations: ['82-74=8', '8-6=2'] Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.977431
hs_3
sum_heuristic
[ 54, 56, 40, 51 ]
31
[ "56-54=2", "40/2=20", "51-20=31" ]
Current State: 31:[54, 56, 40, 51], Operations: [] Exploring Operation: 56-54=2, Resulting Numbers: [40, 51, 2] Generated Node #2: [40, 51, 2] from Operation: 56-54=2 Current State: 31:[40, 51, 2], Operations: ['56-54=2'] Exploring Operation: 40/2=20, Resulting Numbers: [51, 20] Generated Node #3: [51, 20] from Operation: 40/2=20 Current State: 31:[51, 20], Operations: ['56-54=2', '40/2=20'] Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[54, 56, 40, 51], Operations: [] Exploring Operation: 54-51=3, Resulting Numbers: [56, 40, 3] Generated Node #0,0: 31:[56, 40, 3] Operation: 54-51=3 Exploring Operation: 54-40=14, Resulting Numbers: [56, 51, 14] Generated Node #0,1: 31:[56, 51, 14] Operation: 54-40=14 Exploring Operation: 56-54=2, Resulting Numbers: [40, 51, 2] Generated Node #0,2: 31:[40, 51, 2] Operation: 56-54=2 Exploring Operation: 56-51=5, Resulting Numbers: [54, 40, 5] Generated Node #0,3: 31:[54, 40, 5] Operation: 56-51=5 Exploring Operation: 56-40=16, Resulting Numbers: [54, 51, 16] Generated Node #0,4: 31:[54, 51, 16] Operation: 56-40=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[40, 51, 2], Operations: ['56-54=2'] Exploring Operation: 51-2=49, Resulting Numbers: [40, 49] Generated Node #0,2,0: 31:[40, 49] Operation: 51-2=49 Exploring Operation: 40-2=38, Resulting Numbers: [51, 38] Generated Node #0,2,1: 31:[51, 38] Operation: 40-2=38 Exploring Operation: 40/2=20, Resulting Numbers: [51, 20] Generated Node #0,2,2: 31:[51, 20] Operation: 40/2=20 Exploring Operation: 40+2=42, Resulting Numbers: [51, 42] Generated Node #0,2,3: 31:[51, 42] Operation: 40+2=42 Exploring Operation: 51+2=53, Resulting Numbers: [40, 53] Generated Node #0,2,4: 31:[40, 53] Operation: 51+2=53 Moving to Node #0,2,0 Current State: 31:[40, 49], Operations: ['56-54=2', '51-2=49'] Exploring Operation: 49-40=9, Resulting Numbers: [9] 9,31 unequal: No Solution Exploring Operation: 40*49=1960, Resulting Numbers: [1960] 1960,31 unequal: No Solution Exploring Operation: 40+49=89, Resulting Numbers: [89] 89,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[51, 38], Operations: ['56-54=2', '40-2=38'] Exploring Operation: 51+38=89, Resulting Numbers: [89] 89,31 unequal: No Solution Exploring Operation: 51*38=1938, Resulting Numbers: [1938] 1938,31 unequal: No Solution Exploring Operation: 51-38=13, Resulting Numbers: [13] 13,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[51, 20], Operations: ['56-54=2', '40/2=20'] Exploring Operation: 51*20=1020, Resulting Numbers: [1020] 1020,31 unequal: No Solution Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[54, 56, 40, 51], Operations: [] Exploring Operation: 56-54=2, Resulting Numbers: [40, 51, 2] Generated Node #0,2: 31:[40, 51, 2] Operation: 56-54=2 Moving to Node #0,2 Current State: 31:[40, 51, 2], Operations: ['56-54=2'] Exploring Operation: 40/2=20, Resulting Numbers: [51, 20] Generated Node #0,2,2: 31:[51, 20] Operation: 40/2=20 Moving to Node #0,2,2 Current State: 31:[51, 20], Operations: ['56-54=2', '40/2=20'] Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 92, 98, 84, 77 ]
29
[ "92+98=190", "84+77=161", "190-161=29" ]
Current State: 29:[92, 98, 84, 77], Operations: [] Exploring Operation: 92+98=190, Resulting Numbers: [84, 77, 190] Generated Node #2: [84, 77, 190] from Operation: 92+98=190 Current State: 29:[84, 77, 190], Operations: ['92+98=190'] Exploring Operation: 84+77=161, Resulting Numbers: [190, 161] Generated Node #3: [190, 161] from Operation: 84+77=161 Current State: 29:[190, 161], Operations: ['92+98=190', '84+77=161'] Exploring Operation: 190-161=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[92, 98, 84, 77], Operations: [] Exploring Operation: 98-84=14, Resulting Numbers: [92, 77, 14] Generated Node #0,0: 29:[92, 77, 14] Operation: 98-84=14 Exploring Operation: 98-92=6, Resulting Numbers: [84, 77, 6] Generated Node #0,1: 29:[84, 77, 6] Operation: 98-92=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[92, 77, 14], Operations: ['98-84=14'] Exploring Operation: 92-77=15, Resulting Numbers: [14, 15] Generated Node #0,0,0: 29:[14, 15] Operation: 92-77=15 Exploring Operation: 92-14=78, Resulting Numbers: [77, 78] Generated Node #0,0,1: 29:[77, 78] Operation: 92-14=78 Moving to Node #0,0,0 Current State: 29:[14, 15], Operations: ['98-84=14', '92-77=15'] Exploring Operation: 14+15=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[92, 98, 84, 77], Operations: [] Exploring Operation: 98-84=14, Resulting Numbers: [92, 77, 14] Generated Node #0,0: 29:[92, 77, 14] Operation: 98-84=14 Moving to Node #0,0 Current State: 29:[92, 77, 14], Operations: ['98-84=14'] Exploring Operation: 92-77=15, Resulting Numbers: [14, 15] Generated Node #0,0,0: 29:[14, 15] Operation: 92-77=15 Moving to Node #0,0,0 Current State: 29:[14, 15], Operations: ['98-84=14', '92-77=15'] Exploring Operation: 14+15=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 34, 25, 22, 6 ]
87
[ "34+25=59", "22+6=28", "59+28=87" ]
Current State: 87:[34, 25, 22, 6], Operations: [] Exploring Operation: 34+25=59, Resulting Numbers: [22, 6, 59] Generated Node #2: [22, 6, 59] from Operation: 34+25=59 Current State: 87:[22, 6, 59], Operations: ['34+25=59'] Exploring Operation: 22+6=28, Resulting Numbers: [59, 28] Generated Node #3: [59, 28] from Operation: 22+6=28 Current State: 87:[59, 28], Operations: ['34+25=59', '22+6=28'] Exploring Operation: 59+28=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[34, 25, 22, 6], Operations: [] Exploring Operation: 25-22=3, Resulting Numbers: [34, 6, 3] Generated Node #0,0: 87:[34, 6, 3] Operation: 25-22=3 Exploring Operation: 22+6=28, Resulting Numbers: [34, 25, 28] Generated Node #0,1: 87:[34, 25, 28] Operation: 22+6=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[34, 6, 3], Operations: ['25-22=3'] Exploring Operation: 34-6=28, Resulting Numbers: [3, 28] Generated Node #0,0,0: 87:[3, 28] Operation: 34-6=28 Exploring Operation: 34-3=31, Resulting Numbers: [6, 31] Generated Node #0,0,1: 87:[6, 31] Operation: 34-3=31 Moving to Node #0,0,0 Current State: 87:[3, 28], Operations: ['25-22=3', '34-6=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,87 unequal: No Solution Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[6, 31], Operations: ['25-22=3', '34-3=31'] Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,87 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,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:[34, 25, 28], Operations: ['22+6=28'] Exploring Operation: 28-25=3, Resulting Numbers: [34, 3] Generated Node #0,1,0: 87:[34, 3] Operation: 28-25=3 Exploring Operation: 34-25=9, Resulting Numbers: [28, 9] Generated Node #0,1,1: 87:[28, 9] Operation: 34-25=9 Moving to Node #0,1,0 Current State: 87:[34, 3], Operations: ['22+6=28', '28-25=3'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,87 unequal: No Solution Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[28, 9], Operations: ['22+6=28', '34-25=9'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,87 unequal: No Solution Exploring Operation: 28+9=37, Resulting Numbers: [37] 37,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
mult_heuristic
[ 77, 4, 16, 20 ]
48
[ "4*20=80", "80-77=3", "16*3=48" ]
Current State: 48:[77, 4, 16, 20], Operations: [] Exploring Operation: 4*20=80, Resulting Numbers: [77, 16, 80] Generated Node #2: [77, 16, 80] from Operation: 4*20=80 Current State: 48:[77, 16, 80], Operations: ['4*20=80'] Exploring Operation: 80-77=3, Resulting Numbers: [16, 3] Generated Node #3: [16, 3] from Operation: 80-77=3 Current State: 48:[16, 3], Operations: ['4*20=80', '80-77=3'] Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[77, 4, 16, 20], Operations: [] Exploring Operation: 77-4=73, Resulting Numbers: [16, 20, 73] Generated Node #0,0: 48:[16, 20, 73] Operation: 77-4=73 Exploring Operation: 77-20=57, Resulting Numbers: [4, 16, 57] Generated Node #0,1: 48:[4, 16, 57] Operation: 77-20=57 Exploring Operation: 77-16=61, Resulting Numbers: [4, 20, 61] Generated Node #0,2: 48:[4, 20, 61] Operation: 77-16=61 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[4, 16, 57], Operations: ['77-20=57'] Exploring Operation: 57-16=41, Resulting Numbers: [4, 41] Generated Node #0,1,0: 48:[4, 41] Operation: 57-16=41 Exploring Operation: 16-4=12, Resulting Numbers: [57, 12] Generated Node #0,1,1: 48:[57, 12] Operation: 16-4=12 Exploring Operation: 57-4=53, Resulting Numbers: [16, 53] Generated Node #0,1,2: 48:[16, 53] Operation: 57-4=53 Moving to Node #0,1,2 Current State: 48:[16, 53], Operations: ['77-20=57', '57-4=53'] Exploring Operation: 16*53=848, Resulting Numbers: [848] 848,48 unequal: No Solution Exploring Operation: 16+53=69, Resulting Numbers: [69] 69,48 unequal: No Solution Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[4, 41], Operations: ['77-20=57', '57-16=41'] Exploring Operation: 4*41=164, Resulting Numbers: [164] 164,48 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,48 unequal: No Solution Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[57, 12], Operations: ['77-20=57', '16-4=12'] Exploring Operation: 57*12=684, Resulting Numbers: [684] 684,48 unequal: No Solution Exploring Operation: 57-12=45, Resulting Numbers: [45] 45,48 unequal: No Solution Exploring Operation: 57+12=69, Resulting Numbers: [69] 69,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:[4, 20, 61], Operations: ['77-16=61'] Exploring Operation: 61-20=41, Resulting Numbers: [4, 41] Generated Node #0,2,0: 48:[4, 41] Operation: 61-20=41 Exploring Operation: 20-4=16, Resulting Numbers: [61, 16] Generated Node #0,2,1: 48:[61, 16] Operation: 20-4=16 Exploring Operation: 4+20=24, Resulting Numbers: [61, 24] Generated Node #0,2,2: 48:[61, 24] Operation: 4+20=24 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 48:[4, 41], Operations: ['77-16=61', '61-20=41'] Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,48 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,48 unequal: No Solution Exploring Operation: 4*41=164, Resulting Numbers: [164] 164,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 48:[61, 16], Operations: ['77-16=61', '20-4=16'] Exploring Operation: 61*16=976, Resulting Numbers: [976] 976,48 unequal: No Solution Exploring Operation: 61-16=45, Resulting Numbers: [45] 45,48 unequal: No Solution Exploring Operation: 61+16=77, Resulting Numbers: [77] 77,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 48:[61, 24], Operations: ['77-16=61', '4+20=24'] Exploring Operation: 61-24=37, Resulting Numbers: [37] 37,48 unequal: No Solution Exploring Operation: 61+24=85, Resulting Numbers: [85] 85,48 unequal: No Solution Exploring Operation: 61*24=1464, Resulting Numbers: [1464] 1464,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[16, 20, 73], Operations: ['77-4=73'] Exploring Operation: 73-20=53, Resulting Numbers: [16, 53] Generated Node #0,0,0: 48:[16, 53] Operation: 73-20=53 Exploring Operation: 73-16=57, Resulting Numbers: [20, 57] Generated Node #0,0,1: 48:[20, 57] Operation: 73-16=57 Exploring Operation: 20-16=4, Resulting Numbers: [73, 4] Generated Node #0,0,2: 48:[73, 4] Operation: 20-16=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[16, 53], Operations: ['77-4=73', '73-20=53'] Exploring Operation: 16+53=69, Resulting Numbers: [69] 69,48 unequal: No Solution Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,48 unequal: No Solution Exploring Operation: 16*53=848, Resulting Numbers: [848] 848,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 48:[20, 57], Operations: ['77-4=73', '73-16=57'] Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,48 unequal: No Solution Exploring Operation: 20*57=1140, Resulting Numbers: [1140] 1140,48 unequal: No Solution Exploring Operation: 20+57=77, Resulting Numbers: [77] 77,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 48:[73, 4], Operations: ['77-4=73', '20-16=4'] Exploring Operation: 73+4=77, Resulting Numbers: [77] 77,48 unequal: No Solution Exploring Operation: 73*4=292, Resulting Numbers: [292] 292,48 unequal: No Solution Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 20, 21, 96, 13 ]
11
[ "21+96=117", "117/13=9", "20-9=11" ]
Current State: 11:[20, 21, 96, 13], Operations: [] Exploring Operation: 21+96=117, Resulting Numbers: [20, 13, 117] Generated Node #2: [20, 13, 117] from Operation: 21+96=117 Current State: 11:[20, 13, 117], Operations: ['21+96=117'] Exploring Operation: 117/13=9, Resulting Numbers: [20, 9] Generated Node #3: [20, 9] from Operation: 117/13=9 Current State: 11:[20, 9], Operations: ['21+96=117', '117/13=9'] Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[20, 21, 96, 13], Operations: [] Exploring Operation: 96-21=75, Resulting Numbers: [20, 13, 75] Generated Node #0,0: 11:[20, 13, 75] Operation: 96-21=75 Exploring Operation: 96-13=83, Resulting Numbers: [20, 21, 83] Generated Node #0,1: 11:[20, 21, 83] Operation: 96-13=83 Exploring Operation: 96-20=76, Resulting Numbers: [21, 13, 76] Generated Node #0,2: 11:[21, 13, 76] Operation: 96-20=76 Moving to Node #0,0 Current State: 11:[20, 13, 75], Operations: ['96-21=75'] Exploring Operation: 20-13=7, Resulting Numbers: [75, 7] Generated Node #0,0,0: 11:[75, 7] Operation: 20-13=7 Exploring Operation: 75-13=62, Resulting Numbers: [20, 62] Generated Node #0,0,1: 11:[20, 62] Operation: 75-13=62 Exploring Operation: 75-20=55, Resulting Numbers: [13, 55] Generated Node #0,0,2: 11:[13, 55] Operation: 75-20=55 Moving to Node #0,2 Current State: 11:[21, 13, 76], Operations: ['96-20=76'] Exploring Operation: 76-13=63, Resulting Numbers: [21, 63] Generated Node #0,2,0: 11:[21, 63] Operation: 76-13=63 Exploring Operation: 21-13=8, Resulting Numbers: [76, 8] Generated Node #0,2,1: 11:[76, 8] Operation: 21-13=8 Exploring Operation: 76-21=55, Resulting Numbers: [13, 55] Generated Node #0,2,2: 11:[13, 55] Operation: 76-21=55 Moving to Node #0,1 Current State: 11:[20, 21, 83], Operations: ['96-13=83'] Exploring Operation: 21-20=1, Resulting Numbers: [83, 1] Generated Node #0,1,0: 11:[83, 1] Operation: 21-20=1 Exploring Operation: 83-20=63, Resulting Numbers: [21, 63] Generated Node #0,1,1: 11:[21, 63] Operation: 83-20=63 Exploring Operation: 83-21=62, Resulting Numbers: [20, 62] Generated Node #0,1,2: 11:[20, 62] Operation: 83-21=62 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 11:[20, 62], Operations: ['96-13=83', '83-21=62'] Exploring Operation: 62-20=42, Resulting Numbers: [42] 42,11 unequal: No Solution Exploring Operation: 20+62=82, Resulting Numbers: [82] 82,11 unequal: No Solution Exploring Operation: 20*62=1240, Resulting Numbers: [1240] 1240,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 11:[21, 63], Operations: ['96-13=83', '83-20=63'] Exploring Operation: 63/21=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 21+63=84, Resulting Numbers: [84] 84,11 unequal: No Solution Exploring Operation: 63-21=42, Resulting Numbers: [42] 42,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[83, 1], Operations: ['96-13=83', '21-20=1'] Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,11 unequal: No Solution Exploring Operation: 83*1=83, Resulting Numbers: [83] 83,11 unequal: No Solution Exploring Operation: 83/1=83, Resulting Numbers: [83] 83,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 11:[13, 55], Operations: ['96-21=75', '75-20=55'] Exploring Operation: 55-13=42, Resulting Numbers: [42] 42,11 unequal: No Solution Exploring Operation: 13+55=68, Resulting Numbers: [68] 68,11 unequal: No Solution Exploring Operation: 13*55=715, Resulting Numbers: [715] 715,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[13, 55], Operations: ['96-20=76', '76-21=55'] Exploring Operation: 13*55=715, Resulting Numbers: [715] 715,11 unequal: No Solution Exploring Operation: 55-13=42, Resulting Numbers: [42] 42,11 unequal: No Solution Exploring Operation: 13+55=68, Resulting Numbers: [68] 68,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[20, 62], Operations: ['96-21=75', '75-13=62'] Exploring Operation: 20+62=82, Resulting Numbers: [82] 82,11 unequal: No Solution Exploring Operation: 20*62=1240, Resulting Numbers: [1240] 1240,11 unequal: No Solution Exploring Operation: 62-20=42, Resulting Numbers: [42] 42,11 unequal: No Solution Moving to Node #0,2,0 Current State: 11:[21, 63], Operations: ['96-20=76', '76-13=63'] Exploring Operation: 63/21=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 21+63=84, Resulting Numbers: [84] 84,11 unequal: No Solution Exploring Operation: 63-21=42, Resulting Numbers: [42] 42,11 unequal: No Solution Moving to Node #0,2,1 Current State: 11:[76, 8], Operations: ['96-20=76', '21-13=8'] Exploring Operation: 76-8=68, Resulting Numbers: [68] 68,11 unequal: No Solution Exploring Operation: 76*8=608, Resulting Numbers: [608] 608,11 unequal: No Solution Exploring Operation: 76+8=84, Resulting Numbers: [84] 84,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[75, 7], Operations: ['96-21=75', '20-13=7'] Exploring Operation: 75+7=82, Resulting Numbers: [82] 82,11 unequal: No Solution Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,11 unequal: No Solution Exploring Operation: 75*7=525, Resulting Numbers: [525] 525,11 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 44, 51, 18, 84 ]
88
[ "18+84=102", "44*102=4488", "4488/51=88" ]
Current State: 88:[44, 51, 18, 84], Operations: [] Exploring Operation: 18+84=102, Resulting Numbers: [44, 51, 102] Generated Node #2: [44, 51, 102] from Operation: 18+84=102 Current State: 88:[44, 51, 102], Operations: ['18+84=102'] Exploring Operation: 44*102=4488, Resulting Numbers: [51, 4488] Generated Node #3: [51, 4488] from Operation: 44*102=4488 Current State: 88:[51, 4488], Operations: ['18+84=102', '44*102=4488'] Exploring Operation: 4488/51=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[44, 51, 18, 84], Operations: [] Exploring Operation: 51-44=7, Resulting Numbers: [18, 84, 7] Generated Node #0,0: 88:[18, 84, 7] Operation: 51-44=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[18, 84, 7], Operations: ['51-44=7'] Exploring Operation: 18-7=11, Resulting Numbers: [84, 11] Generated Node #0,0,0: 88:[84, 11] Operation: 18-7=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[84, 11], Operations: ['51-44=7', '18-7=11'] Exploring Operation: 84+11=95, Resulting Numbers: [95] 95,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 65, 19, 25, 6 ]
34
[ "65+25=90", "90/6=15", "19+15=34" ]
Current State: 34:[65, 19, 25, 6], Operations: [] Exploring Operation: 65+25=90, Resulting Numbers: [19, 6, 90] Generated Node #2: [19, 6, 90] from Operation: 65+25=90 Current State: 34:[19, 6, 90], Operations: ['65+25=90'] Exploring Operation: 90/6=15, Resulting Numbers: [19, 15] Generated Node #3: [19, 15] from Operation: 90/6=15 Current State: 34:[19, 15], Operations: ['65+25=90', '90/6=15'] Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[65, 19, 25, 6], Operations: [] Exploring Operation: 65-25=40, Resulting Numbers: [19, 6, 40] Generated Node #0,0: 34:[19, 6, 40] Operation: 65-25=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[19, 6, 40], Operations: ['65-25=40'] Exploring Operation: 40-6=34, Resulting Numbers: [19, 34] Generated Node #0,0,0: 34:[19, 34] Operation: 40-6=34 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 34:[19, 34], Operations: ['65-25=40', '40-6=34'] Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 50, 51, 2, 27 ]
38
[ "51-27=24", "24/2=12", "50-12=38" ]
Current State: 38:[50, 51, 2, 27], Operations: [] Exploring Operation: 51-27=24, Resulting Numbers: [50, 2, 24] Generated Node #2: [50, 2, 24] from Operation: 51-27=24 Current State: 38:[50, 2, 24], Operations: ['51-27=24'] Exploring Operation: 24/2=12, Resulting Numbers: [50, 12] Generated Node #3: [50, 12] from Operation: 24/2=12 Current State: 38:[50, 12], Operations: ['51-27=24', '24/2=12'] Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[50, 51, 2, 27], Operations: [] Exploring Operation: 51-50=1, Resulting Numbers: [2, 27, 1] Generated Node #0,0: 38:[2, 27, 1] Operation: 51-50=1 Exploring Operation: 50-27=23, Resulting Numbers: [51, 2, 23] Generated Node #0,1: 38:[51, 2, 23] Operation: 50-27=23 Exploring Operation: 51-27=24, Resulting Numbers: [50, 2, 24] Generated Node #0,2: 38:[50, 2, 24] Operation: 51-27=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[2, 27, 1], Operations: ['51-50=1'] Exploring Operation: 2*1=2, Resulting Numbers: [27, 2] Generated Node #0,0,0: 38:[27, 2] Operation: 2*1=2 Exploring Operation: 27-1=26, Resulting Numbers: [2, 26] Generated Node #0,0,1: 38:[2, 26] Operation: 27-1=26 Exploring Operation: 27-2=25, Resulting Numbers: [1, 25] Generated Node #0,0,2: 38:[1, 25] Operation: 27-2=25 Moving to Node #0,0,1 Current State: 38:[2, 26], Operations: ['51-50=1', '27-1=26'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,38 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,38 unequal: No Solution Moving to Node #0,0,2 Current State: 38:[1, 25], Operations: ['51-50=1', '27-2=25'] Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,38 unequal: No Solution Exploring Operation: 1*25=25, Resulting Numbers: [25] 25,38 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,38 unequal: No Solution Moving to Node #0,0,0 Current State: 38:[27, 2], Operations: ['51-50=1', '2*1=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,38 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,38 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,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:[51, 2, 23], Operations: ['50-27=23'] Exploring Operation: 51-23=28, Resulting Numbers: [2, 28] Generated Node #0,1,0: 38:[2, 28] Operation: 51-23=28 Exploring Operation: 51-2=49, Resulting Numbers: [23, 49] Generated Node #0,1,1: 38:[23, 49] Operation: 51-2=49 Exploring Operation: 23-2=21, Resulting Numbers: [51, 21] Generated Node #0,1,2: 38:[51, 21] Operation: 23-2=21 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 38:[2, 28], Operations: ['50-27=23', '51-23=28'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,38 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,38 unequal: No Solution Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,38 unequal: No Solution No 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: 38:[23, 49], Operations: ['50-27=23', '51-2=49'] Exploring Operation: 23*49=1127, Resulting Numbers: [1127] 1127,38 unequal: No Solution Exploring Operation: 49-23=26, Resulting Numbers: [26] 26,38 unequal: No Solution Exploring Operation: 23+49=72, Resulting Numbers: [72] 72,38 unequal: No Solution No 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: 38:[51, 21], Operations: ['50-27=23', '23-2=21'] Exploring Operation: 51+21=72, Resulting Numbers: [72] 72,38 unequal: No Solution Exploring Operation: 51*21=1071, Resulting Numbers: [1071] 1071,38 unequal: No Solution Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,38 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: 38:[50, 2, 24], Operations: ['51-27=24'] Exploring Operation: 50-24=26, Resulting Numbers: [2, 26] Generated Node #0,2,0: 38:[2, 26] Operation: 50-24=26 Exploring Operation: 50/2=25, Resulting Numbers: [24, 25] Generated Node #0,2,1: 38:[24, 25] Operation: 50/2=25 Exploring Operation: 50-2=48, Resulting Numbers: [24, 48] Generated Node #0,2,2: 38:[24, 48] Operation: 50-2=48 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 38:[2, 26], Operations: ['51-27=24', '50-24=26'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,38 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,38 unequal: No Solution No 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: 38:[24, 25], Operations: ['51-27=24', '50/2=25'] Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 24*25=600, Resulting Numbers: [600] 600,38 unequal: No Solution Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,38 unequal: No Solution No 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: 38:[24, 48], Operations: ['51-27=24', '50-2=48'] Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,38 unequal: No Solution Exploring Operation: 24+48=72, Resulting Numbers: [72] 72,38 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
[ 52, 53, 84, 22 ]
82
[ "52*84=4368", "4368-22=4346", "4346/53=82" ]
Current State: 82:[52, 53, 84, 22], Operations: [] Exploring Operation: 52*84=4368, Resulting Numbers: [53, 22, 4368] Generated Node #2: [53, 22, 4368] from Operation: 52*84=4368 Current State: 82:[53, 22, 4368], Operations: ['52*84=4368'] Exploring Operation: 4368-22=4346, Resulting Numbers: [53, 4346] Generated Node #3: [53, 4346] from Operation: 4368-22=4346 Current State: 82:[53, 4346], Operations: ['52*84=4368', '4368-22=4346'] Exploring Operation: 4346/53=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[52, 53, 84, 22], Operations: [] Exploring Operation: 53-52=1, Resulting Numbers: [84, 22, 1] Generated Node #0,0: 82:[84, 22, 1] Operation: 53-52=1 Exploring Operation: 52+22=74, Resulting Numbers: [53, 84, 74] Generated Node #0,1: 82:[53, 84, 74] Operation: 52+22=74 Exploring Operation: 53-22=31, Resulting Numbers: [52, 84, 31] Generated Node #0,2: 82:[52, 84, 31] Operation: 53-22=31 Exploring Operation: 52-22=30, Resulting Numbers: [53, 84, 30] Generated Node #0,3: 82:[53, 84, 30] Operation: 52-22=30 Exploring Operation: 53+22=75, Resulting Numbers: [52, 84, 75] Generated Node #0,4: 82:[52, 84, 75] Operation: 53+22=75 Start Sub Search at level 1: Moving to Node #0,4 Current State: 82:[52, 84, 75], Operations: ['53+22=75'] Exploring Operation: 84-75=9, Resulting Numbers: [52, 9] Generated Node #0,4,0: 82:[52, 9] Operation: 84-75=9 Exploring Operation: 52+84=136, Resulting Numbers: [75, 136] Generated Node #0,4,1: 82:[75, 136] Operation: 52+84=136 Exploring Operation: 84-52=32, Resulting Numbers: [75, 32] Generated Node #0,4,2: 82:[75, 32] Operation: 84-52=32 Exploring Operation: 52+75=127, Resulting Numbers: [84, 127] Generated Node #0,4,3: 82:[84, 127] Operation: 52+75=127 Exploring Operation: 75-52=23, Resulting Numbers: [84, 23] Generated Node #0,4,4: 82:[84, 23] Operation: 75-52=23 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 82:[75, 32], Operations: ['53+22=75', '84-52=32'] Exploring Operation: 75-32=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 75*32=2400, Resulting Numbers: [2400] 2400,82 unequal: No Solution Exploring Operation: 75+32=107, Resulting Numbers: [107] 107,82 unequal: No Solution No 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: 82:[52, 9], Operations: ['53+22=75', '84-75=9'] Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 52+9=61, Resulting Numbers: [61] 61,82 unequal: No Solution Exploring Operation: 52*9=468, Resulting Numbers: [468] 468,82 unequal: No Solution No 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: 82:[84, 23], Operations: ['53+22=75', '75-52=23'] Exploring Operation: 84+23=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 84*23=1932, Resulting Numbers: [1932] 1932,82 unequal: No Solution Exploring Operation: 84-23=61, Resulting Numbers: [61] 61,82 unequal: No Solution No 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: 82:[84, 127], Operations: ['53+22=75', '52+75=127'] Exploring Operation: 127-84=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 84*127=10668, Resulting Numbers: [10668] 10668,82 unequal: No Solution Exploring Operation: 84+127=211, Resulting Numbers: [211] 211,82 unequal: No Solution No 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: 82:[75, 136], Operations: ['53+22=75', '52+84=136'] Exploring Operation: 75*136=10200, Resulting Numbers: [10200] 10200,82 unequal: No Solution Exploring Operation: 136-75=61, Resulting Numbers: [61] 61,82 unequal: No Solution Exploring Operation: 75+136=211, Resulting Numbers: [211] 211,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[84, 22, 1], Operations: ['53-52=1'] Exploring Operation: 84/1=84, Resulting Numbers: [22, 84] Generated Node #0,0,0: 82:[22, 84] Operation: 84/1=84 Exploring Operation: 84-1=83, Resulting Numbers: [22, 83] Generated Node #0,0,1: 82:[22, 83] Operation: 84-1=83 Exploring Operation: 22+1=23, Resulting Numbers: [84, 23] Generated Node #0,0,2: 82:[84, 23] Operation: 22+1=23 Exploring Operation: 84*1=84, Resulting Numbers: [22, 84] Generated Node #0,0,3: 82:[22, 84] Operation: 84*1=84 Exploring Operation: 84-22=62, Resulting Numbers: [1, 62] Generated Node #0,0,4: 82:[1, 62] Operation: 84-22=62 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 82:[22, 83], Operations: ['53-52=1', '84-1=83'] Exploring Operation: 83-22=61, Resulting Numbers: [61] 61,82 unequal: No Solution Exploring Operation: 22*83=1826, Resulting Numbers: [1826] 1826,82 unequal: No Solution Exploring Operation: 22+83=105, Resulting Numbers: [105] 105,82 unequal: No Solution No 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: 82:[84, 23], Operations: ['53-52=1', '22+1=23'] Exploring Operation: 84*23=1932, Resulting Numbers: [1932] 1932,82 unequal: No Solution Exploring Operation: 84+23=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 84-23=61, Resulting Numbers: [61] 61,82 unequal: No Solution No 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: 82:[22, 84], Operations: ['53-52=1', '84/1=84'] Exploring Operation: 22*84=1848, Resulting Numbers: [1848] 1848,82 unequal: No Solution Exploring Operation: 22+84=106, Resulting Numbers: [106] 106,82 unequal: No Solution Exploring Operation: 84-22=62, Resulting Numbers: [62] 62,82 unequal: No Solution No 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: 82:[22, 84], Operations: ['53-52=1', '84*1=84'] Exploring Operation: 22+84=106, Resulting Numbers: [106] 106,82 unequal: No Solution Exploring Operation: 84-22=62, Resulting Numbers: [62] 62,82 unequal: No Solution Exploring Operation: 22*84=1848, Resulting Numbers: [1848] 1848,82 unequal: No Solution No 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: 82:[1, 62], Operations: ['53-52=1', '84-22=62'] Exploring Operation: 62/1=62, Resulting Numbers: [62] 62,82 unequal: No Solution Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,82 unequal: No Solution Exploring Operation: 1*62=62, Resulting Numbers: [62] 62,82 unequal: No Solution Exploring Operation: 1+62=63, Resulting Numbers: [63] 63,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[53, 84, 74], Operations: ['52+22=74'] Exploring Operation: 53+84=137, Resulting Numbers: [74, 137] Generated Node #0,1,0: 82:[74, 137] Operation: 53+84=137 Exploring Operation: 74-53=21, Resulting Numbers: [84, 21] Generated Node #0,1,1: 82:[84, 21] Operation: 74-53=21 Exploring Operation: 84-53=31, Resulting Numbers: [74, 31] Generated Node #0,1,2: 82:[74, 31] Operation: 84-53=31 Exploring Operation: 84-74=10, Resulting Numbers: [53, 10] Generated Node #0,1,3: 82:[53, 10] Operation: 84-74=10 Exploring Operation: 53+74=127, Resulting Numbers: [84, 127] Generated Node #0,1,4: 82:[84, 127] Operation: 53+74=127 Moving to Node #0,1,2 Current State: 82:[74, 31], Operations: ['52+22=74', '84-53=31'] Exploring Operation: 74*31=2294, Resulting Numbers: [2294] 2294,82 unequal: No Solution Exploring Operation: 74-31=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 74+31=105, Resulting Numbers: [105] 105,82 unequal: No Solution Moving to Node #0,1,3 Current State: 82:[53, 10], Operations: ['52+22=74', '84-74=10'] Exploring Operation: 53*10=530, Resulting Numbers: [530] 530,82 unequal: No Solution Exploring Operation: 53+10=63, Resulting Numbers: [63] 63,82 unequal: No Solution Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[84, 21], Operations: ['52+22=74', '74-53=21'] Exploring Operation: 84/21=4, Resulting Numbers: [4] 4,82 unequal: No Solution Exploring Operation: 84*21=1764, Resulting Numbers: [1764] 1764,82 unequal: No Solution Exploring Operation: 84+21=105, Resulting Numbers: [105] 105,82 unequal: No Solution Exploring Operation: 84-21=63, Resulting Numbers: [63] 63,82 unequal: No Solution Moving to Node #0,1,4 Current State: 82:[84, 127], Operations: ['52+22=74', '53+74=127'] Exploring Operation: 84+127=211, Resulting Numbers: [211] 211,82 unequal: No Solution Exploring Operation: 84*127=10668, Resulting Numbers: [10668] 10668,82 unequal: No Solution Exploring Operation: 127-84=43, Resulting Numbers: [43] 43,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[74, 137], Operations: ['52+22=74', '53+84=137'] Exploring Operation: 137-74=63, Resulting Numbers: [63] 63,82 unequal: No Solution Exploring Operation: 74*137=10138, Resulting Numbers: [10138] 10138,82 unequal: No Solution Exploring Operation: 74+137=211, Resulting Numbers: [211] 211,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[52, 84, 31], Operations: ['53-22=31'] Exploring Operation: 52-31=21, Resulting Numbers: [84, 21] Generated Node #0,2,0: 82:[84, 21] Operation: 52-31=21 Exploring Operation: 84+31=115, Resulting Numbers: [52, 115] Generated Node #0,2,1: 82:[52, 115] Operation: 84+31=115 Exploring Operation: 84-31=53, Resulting Numbers: [52, 53] Generated Node #0,2,2: 82:[52, 53] Operation: 84-31=53 Exploring Operation: 52+31=83, Resulting Numbers: [84, 83] Generated Node #0,2,3: 82:[84, 83] Operation: 52+31=83 Exploring Operation: 84-52=32, Resulting Numbers: [31, 32] Generated Node #0,2,4: 82:[31, 32] Operation: 84-52=32 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 82:[84, 83], Operations: ['53-22=31', '52+31=83'] Exploring Operation: 84-83=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 84*83=6972, Resulting Numbers: [6972] 6972,82 unequal: No Solution Exploring Operation: 84+83=167, Resulting Numbers: [167] 167,82 unequal: No Solution No 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: 82:[31, 32], Operations: ['53-22=31', '84-52=32'] Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 31*32=992, Resulting Numbers: [992] 992,82 unequal: No Solution Exploring Operation: 31+32=63, Resulting Numbers: [63] 63,82 unequal: No Solution No 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: 82:[84, 21], Operations: ['53-22=31', '52-31=21'] Exploring Operation: 84+21=105, Resulting Numbers: [105] 105,82 unequal: No Solution Exploring Operation: 84*21=1764, Resulting Numbers: [1764] 1764,82 unequal: No Solution Exploring Operation: 84-21=63, Resulting Numbers: [63] 63,82 unequal: No Solution Exploring Operation: 84/21=4, Resulting Numbers: [4] 4,82 unequal: No Solution No 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: 82:[52, 53], Operations: ['53-22=31', '84-31=53'] Exploring Operation: 53-52=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 52*53=2756, Resulting Numbers: [2756] 2756,82 unequal: No Solution Exploring Operation: 52+53=105, Resulting Numbers: [105] 105,82 unequal: No Solution No 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: 82:[52, 115], Operations: ['53-22=31', '84+31=115'] Exploring Operation: 52+115=167, Resulting Numbers: [167] 167,82 unequal: No Solution Exploring Operation: 115-52=63, Resulting Numbers: [63] 63,82 unequal: No Solution Exploring Operation: 52*115=5980, Resulting Numbers: [5980] 5980,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[53, 84, 30], Operations: ['52-22=30'] Exploring Operation: 84+30=114, Resulting Numbers: [53, 114] Generated Node #0,3,0: 82:[53, 114] Operation: 84+30=114 Exploring Operation: 53+30=83, Resulting Numbers: [84, 83] Generated Node #0,3,1: 82:[84, 83] Operation: 53+30=83 Exploring Operation: 84-30=54, Resulting Numbers: [53, 54] Generated Node #0,3,2: 82:[53, 54] Operation: 84-30=54 Exploring Operation: 53-30=23, Resulting Numbers: [84, 23] Generated Node #0,3,3: 82:[84, 23] Operation: 53-30=23 Exploring Operation: 84-53=31, Resulting Numbers: [30, 31] Generated Node #0,3,4: 82:[30, 31] Operation: 84-53=31 Moving to Node #0,3,1 Current State: 82:[84, 83], Operations: ['52-22=30', '53+30=83'] Exploring Operation: 84-83=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 84*83=6972, Resulting Numbers: [6972] 6972,82 unequal: No Solution Exploring Operation: 84+83=167, Resulting Numbers: [167] 167,82 unequal: No Solution Moving to Node #0,3,3 Current State: 82:[84, 23], Operations: ['52-22=30', '53-30=23'] Exploring Operation: 84-23=61, Resulting Numbers: [61] 61,82 unequal: No Solution Exploring Operation: 84*23=1932, Resulting Numbers: [1932] 1932,82 unequal: No Solution Exploring Operation: 84+23=107, Resulting Numbers: [107] 107,82 unequal: No Solution Moving to Node #0,3,4 Current State: 82:[30, 31], Operations: ['52-22=30', '84-53=31'] Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 30*31=930, Resulting Numbers: [930] 930,82 unequal: No Solution Exploring Operation: 30+31=61, Resulting Numbers: [61] 61,82 unequal: No Solution Moving to Node #0,3,2 Current State: 82:[53, 54], Operations: ['52-22=30', '84-30=54'] Exploring Operation: 53+54=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 54-53=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 53*54=2862, Resulting Numbers: [2862] 2862,82 unequal: No Solution Moving to Node #0,3,0 Current State: 82:[53, 114], Operations: ['52-22=30', '84+30=114'] Exploring Operation: 53*114=6042, Resulting Numbers: [6042] 6042,82 unequal: No Solution Exploring Operation: 114-53=61, Resulting Numbers: [61] 61,82 unequal: No Solution Exploring Operation: 53+114=167, Resulting Numbers: [167] 167,82 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
[ 51, 97, 54, 62 ]
70
[ "97-51=46", "54+62=116", "116-46=70" ]
Current State: 70:[51, 97, 54, 62], Operations: [] Exploring Operation: 97-51=46, Resulting Numbers: [54, 62, 46] Generated Node #2: [54, 62, 46] from Operation: 97-51=46 Current State: 70:[54, 62, 46], Operations: ['97-51=46'] Exploring Operation: 54+62=116, Resulting Numbers: [46, 116] Generated Node #3: [46, 116] from Operation: 54+62=116 Current State: 70:[46, 116], Operations: ['97-51=46', '54+62=116'] Exploring Operation: 116-46=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[51, 97, 54, 62], Operations: [] Exploring Operation: 97-51=46, Resulting Numbers: [54, 62, 46] Generated Node #0,0: 70:[54, 62, 46] Operation: 97-51=46 Exploring Operation: 54-51=3, Resulting Numbers: [97, 62, 3] Generated Node #0,1: 70:[97, 62, 3] Operation: 54-51=3 Exploring Operation: 97-54=43, Resulting Numbers: [51, 62, 43] Generated Node #0,2: 70:[51, 62, 43] Operation: 97-54=43 Exploring Operation: 97-62=35, Resulting Numbers: [51, 54, 35] Generated Node #0,3: 70:[51, 54, 35] Operation: 97-62=35 Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[51, 62, 43], Operations: ['97-54=43'] Exploring Operation: 62-51=11, Resulting Numbers: [43, 11] Generated Node #0,2,0: 70:[43, 11] Operation: 62-51=11 Exploring Operation: 51-43=8, Resulting Numbers: [62, 8] Generated Node #0,2,1: 70:[62, 8] Operation: 51-43=8 Exploring Operation: 62-43=19, Resulting Numbers: [51, 19] Generated Node #0,2,2: 70:[51, 19] Operation: 62-43=19 Exploring Operation: 51+43=94, Resulting Numbers: [62, 94] Generated Node #0,2,3: 70:[62, 94] Operation: 51+43=94 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 70:[43, 11], Operations: ['97-54=43', '62-51=11'] Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,70 unequal: No Solution Exploring Operation: 43*11=473, Resulting Numbers: [473] 473,70 unequal: No Solution Exploring Operation: 43+11=54, Resulting Numbers: [54] 54,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 70:[62, 8], Operations: ['97-54=43', '51-43=8'] Exploring Operation: 62+8=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[51, 97, 54, 62], Operations: [] Exploring Operation: 97-54=43, Resulting Numbers: [51, 62, 43] Generated Node #0,2: 70:[51, 62, 43] Operation: 97-54=43 Moving to Node #0,2 Current State: 70:[51, 62, 43], Operations: ['97-54=43'] Exploring Operation: 51-43=8, Resulting Numbers: [62, 8] Generated Node #0,2,1: 70:[62, 8] Operation: 51-43=8 Moving to Node #0,2,1 Current State: 70:[62, 8], Operations: ['97-54=43', '51-43=8'] Exploring Operation: 62+8=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 42, 30, 43, 28 ]
64
[ "30-28=2", "42/2=21", "43+21=64" ]
Current State: 64:[42, 30, 43, 28], Operations: [] Exploring Operation: 30-28=2, Resulting Numbers: [42, 43, 2] Generated Node #2: [42, 43, 2] from Operation: 30-28=2 Current State: 64:[42, 43, 2], Operations: ['30-28=2'] Exploring Operation: 42/2=21, Resulting Numbers: [43, 21] Generated Node #3: [43, 21] from Operation: 42/2=21 Current State: 64:[43, 21], Operations: ['30-28=2', '42/2=21'] Exploring Operation: 43+21=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[42, 30, 43, 28], Operations: [] Exploring Operation: 43-42=1, Resulting Numbers: [30, 28, 1] Generated Node #0,0: 64:[30, 28, 1] Operation: 43-42=1 Exploring Operation: 42-28=14, Resulting Numbers: [30, 43, 14] Generated Node #0,1: 64:[30, 43, 14] Operation: 42-28=14 Exploring Operation: 43-28=15, Resulting Numbers: [42, 30, 15] Generated Node #0,2: 64:[42, 30, 15] Operation: 43-28=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[30, 28, 1], Operations: ['43-42=1'] Exploring Operation: 30+1=31, Resulting Numbers: [28, 31] Generated Node #0,0,0: 64:[28, 31] Operation: 30+1=31 Exploring Operation: 28+1=29, Resulting Numbers: [30, 29] Generated Node #0,0,1: 64:[30, 29] Operation: 28+1=29 Exploring Operation: 30-28=2, Resulting Numbers: [1, 2] Generated Node #0,0,2: 64:[1, 2] Operation: 30-28=2 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 64:[1, 2], Operations: ['43-42=1', '30-28=2'] Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 64:[28, 31], Operations: ['43-42=1', '30+1=31'] Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 28*31=868, Resulting Numbers: [868] 868,64 unequal: No Solution Exploring Operation: 28+31=59, Resulting Numbers: [59] 59,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 64:[30, 29], Operations: ['43-42=1', '28+1=29'] Exploring Operation: 30+29=59, Resulting Numbers: [59] 59,64 unequal: No Solution Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 30*29=870, Resulting Numbers: [870] 870,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[42, 30, 15], Operations: ['43-28=15'] Exploring Operation: 42-30=12, Resulting Numbers: [15, 12] Generated Node #0,2,0: 64:[15, 12] Operation: 42-30=12 Exploring Operation: 42+30=72, Resulting Numbers: [15, 72] Generated Node #0,2,1: 64:[15, 72] Operation: 42+30=72 Exploring Operation: 42-15=27, Resulting Numbers: [30, 27] Generated Node #0,2,2: 64:[30, 27] Operation: 42-15=27 Moving to Node #0,2,0 Current State: 64:[15, 12], Operations: ['43-28=15', '42-30=12'] Exploring Operation: 15+12=27, Resulting Numbers: [27] 27,64 unequal: No Solution Exploring Operation: 15*12=180, Resulting Numbers: [180] 180,64 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[30, 27], Operations: ['43-28=15', '42-15=27'] Exploring Operation: 30*27=810, Resulting Numbers: [810] 810,64 unequal: No Solution Exploring Operation: 30-27=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 30+27=57, Resulting Numbers: [57] 57,64 unequal: No Solution Moving to Node #0,2,1 Current State: 64:[15, 72], Operations: ['43-28=15', '42+30=72'] Exploring Operation: 15*72=1080, Resulting Numbers: [1080] 1080,64 unequal: No Solution Exploring Operation: 72-15=57, Resulting Numbers: [57] 57,64 unequal: No Solution Exploring Operation: 15+72=87, Resulting Numbers: [87] 87,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[30, 43, 14], Operations: ['42-28=14'] Exploring Operation: 43-30=13, Resulting Numbers: [14, 13] Generated Node #0,1,0: 64:[14, 13] Operation: 43-30=13 Exploring Operation: 43-14=29, Resulting Numbers: [30, 29] Generated Node #0,1,1: 64:[30, 29] Operation: 43-14=29 Exploring Operation: 43+14=57, Resulting Numbers: [30, 57] Generated Node #0,1,2: 64:[30, 57] Operation: 43+14=57 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 64:[14, 13], Operations: ['42-28=14', '43-30=13'] Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 14+13=27, Resulting Numbers: [27] 27,64 unequal: No Solution Exploring Operation: 14*13=182, Resulting Numbers: [182] 182,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 64:[30, 29], Operations: ['42-28=14', '43-14=29'] Exploring Operation: 30*29=870, Resulting Numbers: [870] 870,64 unequal: No Solution Exploring Operation: 30+29=59, Resulting Numbers: [59] 59,64 unequal: No Solution Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 64:[30, 57], Operations: ['42-28=14', '43+14=57'] Exploring Operation: 57-30=27, Resulting Numbers: [27] 27,64 unequal: No Solution Exploring Operation: 30+57=87, Resulting Numbers: [87] 87,64 unequal: No Solution Exploring Operation: 30*57=1710, Resulting Numbers: [1710] 1710,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 72, 65, 89, 58 ]
11
[ "72-58=14", "65+89=154", "154/14=11" ]
Current State: 11:[72, 65, 89, 58], Operations: [] Exploring Operation: 72-58=14, Resulting Numbers: [65, 89, 14] Generated Node #2: [65, 89, 14] from Operation: 72-58=14 Current State: 11:[65, 89, 14], Operations: ['72-58=14'] Exploring Operation: 65+89=154, Resulting Numbers: [14, 154] Generated Node #3: [14, 154] from Operation: 65+89=154 Current State: 11:[14, 154], Operations: ['72-58=14', '65+89=154'] Exploring Operation: 154/14=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[72, 65, 89, 58], Operations: [] Exploring Operation: 89-65=24, Resulting Numbers: [72, 58, 24] Generated Node #0,0: 11:[72, 58, 24] Operation: 89-65=24 Exploring Operation: 72-58=14, Resulting Numbers: [65, 89, 14] Generated Node #0,1: 11:[65, 89, 14] Operation: 72-58=14 Exploring Operation: 72-65=7, Resulting Numbers: [89, 58, 7] Generated Node #0,2: 11:[89, 58, 7] Operation: 72-65=7 Exploring Operation: 89-72=17, Resulting Numbers: [65, 58, 17] Generated Node #0,3: 11:[65, 58, 17] Operation: 89-72=17 Moving to Node #0,3 Current State: 11:[65, 58, 17], Operations: ['89-72=17'] Exploring Operation: 65+58=123, Resulting Numbers: [17, 123] Generated Node #0,3,0: 11:[17, 123] Operation: 65+58=123 Exploring Operation: 65-58=7, Resulting Numbers: [17, 7] Generated Node #0,3,1: 11:[17, 7] Operation: 65-58=7 Exploring Operation: 65-17=48, Resulting Numbers: [58, 48] Generated Node #0,3,2: 11:[58, 48] Operation: 65-17=48 Exploring Operation: 58-17=41, Resulting Numbers: [65, 41] Generated Node #0,3,3: 11:[65, 41] Operation: 58-17=41 Moving to Node #0,0 Current State: 11:[72, 58, 24], Operations: ['89-65=24'] Exploring Operation: 72-24=48, Resulting Numbers: [58, 48] Generated Node #0,0,0: 11:[58, 48] Operation: 72-24=48 Exploring Operation: 72/24=3, Resulting Numbers: [58, 3] Generated Node #0,0,1: 11:[58, 3] Operation: 72/24=3 Exploring Operation: 72-58=14, Resulting Numbers: [24, 14] Generated Node #0,0,2: 11:[24, 14] Operation: 72-58=14 Exploring Operation: 58-24=34, Resulting Numbers: [72, 34] Generated Node #0,0,3: 11:[72, 34] Operation: 58-24=34 Moving to Node #0,2 Current State: 11:[89, 58, 7], Operations: ['72-65=7'] Exploring Operation: 89+7=96, Resulting Numbers: [58, 96] Generated Node #0,2,0: 11:[58, 96] Operation: 89+7=96 Exploring Operation: 89-58=31, Resulting Numbers: [7, 31] Generated Node #0,2,1: 11:[7, 31] Operation: 89-58=31 Exploring Operation: 89-7=82, Resulting Numbers: [58, 82] Generated Node #0,2,2: 11:[58, 82] Operation: 89-7=82 Exploring Operation: 58-7=51, Resulting Numbers: [89, 51] Generated Node #0,2,3: 11:[89, 51] Operation: 58-7=51 Moving to Node #0,1 Current State: 11:[65, 89, 14], Operations: ['72-58=14'] Exploring Operation: 65-14=51, Resulting Numbers: [89, 51] Generated Node #0,1,0: 11:[89, 51] Operation: 65-14=51 Exploring Operation: 89-14=75, Resulting Numbers: [65, 75] Generated Node #0,1,1: 11:[65, 75] Operation: 89-14=75 Exploring Operation: 65+89=154, Resulting Numbers: [14, 154] Generated Node #0,1,2: 11:[14, 154] Operation: 65+89=154 Exploring Operation: 89-65=24, Resulting Numbers: [14, 24] Generated Node #0,1,3: 11:[14, 24] Operation: 89-65=24 Moving to Node #0,3,1 Current State: 11:[17, 7], Operations: ['89-72=17', '65-58=7'] Exploring Operation: 17*7=119, Resulting Numbers: [119] 119,11 unequal: No Solution Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,11 unequal: No Solution Moving to Node #0,1,3 Current State: 11:[14, 24], Operations: ['72-58=14', '89-65=24'] Exploring Operation: 14*24=336, Resulting Numbers: [336] 336,11 unequal: No Solution Exploring Operation: 14+24=38, Resulting Numbers: [38] 38,11 unequal: No Solution Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[24, 14], Operations: ['89-65=24', '72-58=14'] Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 24+14=38, Resulting Numbers: [38] 38,11 unequal: No Solution Exploring Operation: 24*14=336, Resulting Numbers: [336] 336,11 unequal: No Solution Moving to Node #0,2,1 Current State: 11:[7, 31], Operations: ['72-65=7', '89-58=31'] Exploring Operation: 7*31=217, Resulting Numbers: [217] 217,11 unequal: No Solution Exploring Operation: 7+31=38, Resulting Numbers: [38] 38,11 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[58, 3], Operations: ['89-65=24', '72/24=3'] Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,11 unequal: No Solution Exploring Operation: 58+3=61, Resulting Numbers: [61] 61,11 unequal: No Solution Exploring Operation: 58*3=174, Resulting Numbers: [174] 174,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[58, 48], Operations: ['89-65=24', '72-24=48'] Exploring Operation: 58*48=2784, Resulting Numbers: [2784] 2784,11 unequal: No Solution Exploring Operation: 58-48=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 58+48=106, Resulting Numbers: [106] 106,11 unequal: No Solution Moving to Node #0,3,3 Current State: 11:[65, 41], Operations: ['89-72=17', '58-17=41'] Exploring Operation: 65*41=2665, Resulting Numbers: [2665] 2665,11 unequal: No Solution Exploring Operation: 65-41=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 65+41=106, Resulting Numbers: [106] 106,11 unequal: No Solution Moving to Node #0,3,2 Current State: 11:[58, 48], Operations: ['89-72=17', '65-17=48'] Exploring Operation: 58*48=2784, Resulting Numbers: [2784] 2784,11 unequal: No Solution Exploring Operation: 58-48=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 58+48=106, Resulting Numbers: [106] 106,11 unequal: No Solution Moving to Node #0,0,3 Current State: 11:[72, 34], Operations: ['89-65=24', '58-24=34'] Exploring Operation: 72*34=2448, Resulting Numbers: [2448] 2448,11 unequal: No Solution Exploring Operation: 72+34=106, Resulting Numbers: [106] 106,11 unequal: No Solution Exploring Operation: 72-34=38, Resulting Numbers: [38] 38,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[89, 51], Operations: ['72-58=14', '65-14=51'] Exploring Operation: 89*51=4539, Resulting Numbers: [4539] 4539,11 unequal: No Solution Exploring Operation: 89-51=38, Resulting Numbers: [38] 38,11 unequal: No Solution Exploring Operation: 89+51=140, Resulting Numbers: [140] 140,11 unequal: No Solution Moving to Node #0,3,0 Current State: 11:[17, 123], Operations: ['89-72=17', '65+58=123'] Exploring Operation: 17*123=2091, Resulting Numbers: [2091] 2091,11 unequal: No Solution Exploring Operation: 123-17=106, Resulting Numbers: [106] 106,11 unequal: No Solution Exploring Operation: 17+123=140, Resulting Numbers: [140] 140,11 unequal: No Solution Moving to Node #0,2,3 Current State: 11:[89, 51], Operations: ['72-65=7', '58-7=51'] Exploring Operation: 89-51=38, Resulting Numbers: [38] 38,11 unequal: No Solution Exploring Operation: 89*51=4539, Resulting Numbers: [4539] 4539,11 unequal: No Solution Exploring Operation: 89+51=140, Resulting Numbers: [140] 140,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[58, 82], Operations: ['72-65=7', '89-7=82'] Exploring Operation: 58*82=4756, Resulting Numbers: [4756] 4756,11 unequal: No Solution Exploring Operation: 82-58=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 58+82=140, Resulting Numbers: [140] 140,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[65, 75], Operations: ['72-58=14', '89-14=75'] Exploring Operation: 65+75=140, Resulting Numbers: [140] 140,11 unequal: No Solution Exploring Operation: 75-65=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 65*75=4875, Resulting Numbers: [4875] 4875,11 unequal: No Solution Moving to Node #0,2,0 Current State: 11:[58, 96], Operations: ['72-65=7', '89+7=96'] Exploring Operation: 58*96=5568, Resulting Numbers: [5568] 5568,11 unequal: No Solution Exploring Operation: 96-58=38, Resulting Numbers: [38] 38,11 unequal: No Solution Exploring Operation: 58+96=154, Resulting Numbers: [154] 154,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[14, 154], Operations: ['72-58=14', '65+89=154'] Exploring Operation: 14*154=2156, Resulting Numbers: [2156] 2156,11 unequal: No Solution Exploring Operation: 14+154=168, Resulting Numbers: [168] 168,11 unequal: No Solution Exploring Operation: 154/14=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[72, 65, 89, 58], Operations: [] Exploring Operation: 72-58=14, Resulting Numbers: [65, 89, 14] Generated Node #0,1: 11:[65, 89, 14] Operation: 72-58=14 Moving to Node #0,1 Current State: 11:[65, 89, 14], Operations: ['72-58=14'] Exploring Operation: 65+89=154, Resulting Numbers: [14, 154] Generated Node #0,1,2: 11:[14, 154] Operation: 65+89=154 Moving to Node #0,1,2 Current State: 11:[14, 154], Operations: ['72-58=14', '65+89=154'] Exploring Operation: 154/14=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
0.9375
hs_4
mult_heuristic
[ 3, 44, 51, 27 ]
46
[ "3+51=54", "54/27=2", "44+2=46" ]
Current State: 46:[3, 44, 51, 27], Operations: [] Exploring Operation: 3+51=54, Resulting Numbers: [44, 27, 54] Generated Node #2: [44, 27, 54] from Operation: 3+51=54 Current State: 46:[44, 27, 54], Operations: ['3+51=54'] Exploring Operation: 54/27=2, Resulting Numbers: [44, 2] Generated Node #3: [44, 2] from Operation: 54/27=2 Current State: 46:[44, 2], Operations: ['3+51=54', '54/27=2'] Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[3, 44, 51, 27], Operations: [] Exploring Operation: 51-27=24, Resulting Numbers: [3, 44, 24] Generated Node #0,0: 46:[3, 44, 24] Operation: 51-27=24 Exploring Operation: 51-3=48, Resulting Numbers: [44, 27, 48] Generated Node #0,1: 46:[44, 27, 48] Operation: 51-3=48 Exploring Operation: 3+44=47, Resulting Numbers: [51, 27, 47] Generated Node #0,2: 46:[51, 27, 47] Operation: 3+44=47 Exploring Operation: 27-3=24, Resulting Numbers: [44, 51, 24] Generated Node #0,3: 46:[44, 51, 24] Operation: 27-3=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[3, 44, 24], Operations: ['51-27=24'] Exploring Operation: 24-3=21, Resulting Numbers: [44, 21] Generated Node #0,0,0: 46:[44, 21] Operation: 24-3=21 Exploring Operation: 44-3=41, Resulting Numbers: [24, 41] Generated Node #0,0,1: 46:[24, 41] Operation: 44-3=41 Exploring Operation: 44-24=20, Resulting Numbers: [3, 20] Generated Node #0,0,2: 46:[3, 20] Operation: 44-24=20 Exploring Operation: 3+44=47, Resulting Numbers: [24, 47] Generated Node #0,0,3: 46:[24, 47] Operation: 3+44=47 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 46:[24, 47], Operations: ['51-27=24', '3+44=47'] Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 24*47=1128, Resulting Numbers: [1128] 1128,46 unequal: No Solution Exploring Operation: 24+47=71, Resulting Numbers: [71] 71,46 unequal: No Solution No 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: 46:[44, 21], Operations: ['51-27=24', '24-3=21'] Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 44+21=65, Resulting Numbers: [65] 65,46 unequal: No Solution Exploring Operation: 44*21=924, Resulting Numbers: [924] 924,46 unequal: No Solution No 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: 46:[3, 20], Operations: ['51-27=24', '44-24=20'] Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,46 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,46 unequal: No Solution Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,46 unequal: No Solution No 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: 46:[24, 41], Operations: ['51-27=24', '44-3=41'] Exploring Operation: 24*41=984, Resulting Numbers: [984] 984,46 unequal: No Solution Exploring Operation: 41-24=17, Resulting Numbers: [17] 17,46 unequal: No Solution Exploring Operation: 24+41=65, Resulting Numbers: [65] 65,46 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: 46:[44, 27, 48], Operations: ['51-3=48'] Exploring Operation: 48-27=21, Resulting Numbers: [44, 21] Generated Node #0,1,0: 46:[44, 21] Operation: 48-27=21 Exploring Operation: 44+27=71, Resulting Numbers: [48, 71] Generated Node #0,1,1: 46:[48, 71] Operation: 44+27=71 Exploring Operation: 44-27=17, Resulting Numbers: [48, 17] Generated Node #0,1,2: 46:[48, 17] Operation: 44-27=17 Exploring Operation: 48-44=4, Resulting Numbers: [27, 4] Generated Node #0,1,3: 46:[27, 4] Operation: 48-44=4 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 46:[44, 21], Operations: ['51-3=48', '48-27=21'] Exploring Operation: 44+21=65, Resulting Numbers: [65] 65,46 unequal: No Solution Exploring Operation: 44*21=924, Resulting Numbers: [924] 924,46 unequal: No Solution Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,46 unequal: No Solution No 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: 46:[27, 4], Operations: ['51-3=48', '48-44=4'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 27*4=108, Resulting Numbers: [108] 108,46 unequal: No Solution No 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: 46:[48, 17], Operations: ['51-3=48', '44-27=17'] Exploring Operation: 48+17=65, Resulting Numbers: [65] 65,46 unequal: No Solution Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 48*17=816, Resulting Numbers: [816] 816,46 unequal: No Solution No 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: 46:[48, 71], Operations: ['51-3=48', '44+27=71'] Exploring Operation: 48+71=119, Resulting Numbers: [119] 119,46 unequal: No Solution Exploring Operation: 71-48=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 48*71=3408, Resulting Numbers: [3408] 3408,46 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: 46:[44, 51, 24], Operations: ['27-3=24'] Exploring Operation: 44+24=68, Resulting Numbers: [51, 68] Generated Node #0,3,0: 46:[51, 68] Operation: 44+24=68 Exploring Operation: 44-24=20, Resulting Numbers: [51, 20] Generated Node #0,3,1: 46:[51, 20] Operation: 44-24=20 Exploring Operation: 51-44=7, Resulting Numbers: [24, 7] Generated Node #0,3,2: 46:[24, 7] Operation: 51-44=7 Exploring Operation: 51-24=27, Resulting Numbers: [44, 27] Generated Node #0,3,3: 46:[44, 27] Operation: 51-24=27 Moving to Node #0,3,2 Current State: 46:[24, 7], Operations: ['27-3=24', '51-44=7'] Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,46 unequal: No Solution Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 24*7=168, Resulting Numbers: [168] 168,46 unequal: No Solution Moving to Node #0,3,3 Current State: 46:[44, 27], Operations: ['27-3=24', '51-24=27'] Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,46 unequal: No Solution Exploring Operation: 44*27=1188, Resulting Numbers: [1188] 1188,46 unequal: No Solution Exploring Operation: 44+27=71, Resulting Numbers: [71] 71,46 unequal: No Solution Moving to Node #0,3,1 Current State: 46:[51, 20], Operations: ['27-3=24', '44-24=20'] Exploring Operation: 51+20=71, Resulting Numbers: [71] 71,46 unequal: No Solution Exploring Operation: 51*20=1020, Resulting Numbers: [1020] 1020,46 unequal: No Solution Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,46 unequal: No Solution Moving to Node #0,3,0 Current State: 46:[51, 68], Operations: ['27-3=24', '44+24=68'] Exploring Operation: 68-51=17, Resulting Numbers: [17] 17,46 unequal: No Solution Exploring Operation: 51*68=3468, Resulting Numbers: [3468] 3468,46 unequal: No Solution Exploring Operation: 51+68=119, Resulting Numbers: [119] 119,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[51, 27, 47], Operations: ['3+44=47'] Exploring Operation: 47-27=20, Resulting Numbers: [51, 20] Generated Node #0,2,0: 46:[51, 20] Operation: 47-27=20 Exploring Operation: 51-47=4, Resulting Numbers: [27, 4] Generated Node #0,2,1: 46:[27, 4] Operation: 51-47=4 Exploring Operation: 51-27=24, Resulting Numbers: [47, 24] Generated Node #0,2,2: 46:[47, 24] Operation: 51-27=24 Exploring Operation: 51+27=78, Resulting Numbers: [47, 78] Generated Node #0,2,3: 46:[47, 78] Operation: 51+27=78 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 46:[47, 24], Operations: ['3+44=47', '51-27=24'] Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 47+24=71, Resulting Numbers: [71] 71,46 unequal: No Solution Exploring Operation: 47*24=1128, Resulting Numbers: [1128] 1128,46 unequal: No Solution No 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: 46:[27, 4], Operations: ['3+44=47', '51-47=4'] Exploring Operation: 27*4=108, Resulting Numbers: [108] 108,46 unequal: No Solution Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,46 unequal: No Solution No 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: 46:[51, 20], Operations: ['3+44=47', '47-27=20'] Exploring Operation: 51*20=1020, Resulting Numbers: [1020] 1020,46 unequal: No Solution Exploring Operation: 51+20=71, Resulting Numbers: [71] 71,46 unequal: No Solution Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,46 unequal: No Solution No 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: 46:[47, 78], Operations: ['3+44=47', '51+27=78'] Exploring Operation: 47*78=3666, Resulting Numbers: [3666] 3666,46 unequal: No Solution Exploring Operation: 78-47=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 47+78=125, Resulting Numbers: [125] 125,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 32, 20, 1, 61 ]
49
[ "32-20=12", "1*61=61", "61-12=49" ]
Current State: 49:[32, 20, 1, 61], Operations: [] Exploring Operation: 32-20=12, Resulting Numbers: [1, 61, 12] Generated Node #2: [1, 61, 12] from Operation: 32-20=12 Current State: 49:[1, 61, 12], Operations: ['32-20=12'] Exploring Operation: 1*61=61, Resulting Numbers: [12, 61] Generated Node #3: [12, 61] from Operation: 1*61=61 Current State: 49:[12, 61], Operations: ['32-20=12', '1*61=61'] Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[32, 20, 1, 61], Operations: [] Exploring Operation: 32+20=52, Resulting Numbers: [1, 61, 52] Generated Node #0,0: 49:[1, 61, 52] Operation: 32+20=52 Exploring Operation: 32-20=12, Resulting Numbers: [1, 61, 12] Generated Node #0,1: 49:[1, 61, 12] Operation: 32-20=12 Moving to Node #0,0 Current State: 49:[1, 61, 52], Operations: ['32+20=52'] Exploring Operation: 61-1=60, Resulting Numbers: [52, 60] Generated Node #0,0,0: 49:[52, 60] Operation: 61-1=60 Exploring Operation: 61-52=9, Resulting Numbers: [1, 9] Generated Node #0,0,1: 49:[1, 9] Operation: 61-52=9 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 49:[1, 9], Operations: ['32+20=52', '61-52=9'] Exploring Operation: 1*9=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[52, 60], Operations: ['32+20=52', '61-1=60'] Exploring Operation: 52+60=112, Resulting Numbers: [112] 112,49 unequal: No Solution Exploring Operation: 60-52=8, Resulting Numbers: [8] 8,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 49:[1, 61, 12], Operations: ['32-20=12'] Exploring Operation: 61-1=60, Resulting Numbers: [12, 60] Generated Node #0,1,0: 49:[12, 60] Operation: 61-1=60 Exploring Operation: 61-12=49, Resulting Numbers: [1, 49] Generated Node #0,1,1: 49:[1, 49] Operation: 61-12=49 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 49:[1, 49], Operations: ['32-20=12', '61-12=49'] Exploring Operation: 49/1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[32, 20, 1, 61], Operations: [] Exploring Operation: 32-20=12, Resulting Numbers: [1, 61, 12] Generated Node #0,1: 49:[1, 61, 12] Operation: 32-20=12 Moving to Node #0,1 Current State: 49:[1, 61, 12], Operations: ['32-20=12'] Exploring Operation: 61-12=49, Resulting Numbers: [1, 49] Generated Node #0,1,1: 49:[1, 49] Operation: 61-12=49 Moving to Node #0,1,1 Current State: 49:[1, 49], Operations: ['32-20=12', '61-12=49'] Exploring Operation: 49/1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 68, 2, 62, 59 ]
15
[ "68*2=136", "62+59=121", "136-121=15" ]
Current State: 15:[68, 2, 62, 59], Operations: [] Exploring Operation: 68*2=136, Resulting Numbers: [62, 59, 136] Generated Node #2: [62, 59, 136] from Operation: 68*2=136 Current State: 15:[62, 59, 136], Operations: ['68*2=136'] Exploring Operation: 62+59=121, Resulting Numbers: [136, 121] Generated Node #3: [136, 121] from Operation: 62+59=121 Current State: 15:[136, 121], Operations: ['68*2=136', '62+59=121'] Exploring Operation: 136-121=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[68, 2, 62, 59], Operations: [] Exploring Operation: 68-62=6, Resulting Numbers: [2, 59, 6] Generated Node #0,0: 15:[2, 59, 6] Operation: 68-62=6 Exploring Operation: 62-59=3, Resulting Numbers: [68, 2, 3] Generated Node #0,1: 15:[68, 2, 3] Operation: 62-59=3 Exploring Operation: 68-59=9, Resulting Numbers: [2, 62, 9] Generated Node #0,2: 15:[2, 62, 9] Operation: 68-59=9 Moving to Node #0,0 Current State: 15:[2, 59, 6], Operations: ['68-62=6'] Exploring Operation: 6/2=3, Resulting Numbers: [59, 3] Generated Node #0,0,0: 15:[59, 3] Operation: 6/2=3 Exploring Operation: 59-2=57, Resulting Numbers: [6, 57] Generated Node #0,0,1: 15:[6, 57] Operation: 59-2=57 Exploring Operation: 59-6=53, Resulting Numbers: [2, 53] Generated Node #0,0,2: 15:[2, 53] Operation: 59-6=53 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 15:[2, 53], Operations: ['68-62=6', '59-6=53'] Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,15 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 2*53=106, Resulting Numbers: [106] 106,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 15:[6, 57], Operations: ['68-62=6', '59-2=57'] Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 6*57=342, Resulting Numbers: [342] 342,15 unequal: No Solution Exploring Operation: 6+57=63, Resulting Numbers: [63] 63,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[59, 3], Operations: ['68-62=6', '6/2=3'] Exploring Operation: 59+3=62, Resulting Numbers: [62] 62,15 unequal: No Solution Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,15 unequal: No Solution Exploring Operation: 59*3=177, Resulting Numbers: [177] 177,15 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: 15:[2, 62, 9], Operations: ['68-59=9'] Exploring Operation: 62-2=60, Resulting Numbers: [9, 60] Generated Node #0,2,0: 15:[9, 60] Operation: 62-2=60 Exploring Operation: 62-9=53, Resulting Numbers: [2, 53] Generated Node #0,2,1: 15:[2, 53] Operation: 62-9=53 Exploring Operation: 62/2=31, Resulting Numbers: [9, 31] Generated Node #0,2,2: 15:[9, 31] Operation: 62/2=31 Moving to Node #0,1 Current State: 15:[68, 2, 3], Operations: ['62-59=3'] Exploring Operation: 68-2=66, Resulting Numbers: [3, 66] Generated Node #0,1,0: 15:[3, 66] Operation: 68-2=66 Exploring Operation: 68-3=65, Resulting Numbers: [2, 65] Generated Node #0,1,1: 15:[2, 65] Operation: 68-3=65 Exploring Operation: 68/2=34, Resulting Numbers: [3, 34] Generated Node #0,1,2: 15:[3, 34] Operation: 68/2=34 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 15:[3, 34], Operations: ['62-59=3', '68/2=34'] Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,15 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,15 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[3, 66], Operations: ['62-59=3', '68-2=66'] Exploring Operation: 3+66=69, Resulting Numbers: [69] 69,15 unequal: No Solution Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,15 unequal: No Solution Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 15:[2, 65], Operations: ['62-59=3', '68-3=65'] Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,15 unequal: No Solution Exploring Operation: 2*65=130, Resulting Numbers: [130] 130,15 unequal: No Solution Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 15:[9, 31], Operations: ['68-59=9', '62/2=31'] Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,15 unequal: No Solution Exploring Operation: 9*31=279, Resulting Numbers: [279] 279,15 unequal: No Solution Exploring Operation: 9+31=40, Resulting Numbers: [40] 40,15 unequal: No Solution Moving to Node #0,2,1 Current State: 15:[2, 53], Operations: ['68-59=9', '62-9=53'] Exploring Operation: 2*53=106, Resulting Numbers: [106] 106,15 unequal: No Solution Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,15 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,15 unequal: No Solution Moving to Node #0,2,0 Current State: 15:[9, 60], Operations: ['68-59=9', '62-2=60'] Exploring Operation: 60-9=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 9+60=69, Resulting Numbers: [69] 69,15 unequal: No Solution Exploring Operation: 9*60=540, Resulting Numbers: [540] 540,15 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 85, 1, 74, 92 ]
67
[ "85*1=85", "92-74=18", "85-18=67" ]
Current State: 67:[85, 1, 74, 92], Operations: [] Exploring Operation: 85*1=85, Resulting Numbers: [74, 92, 85] Generated Node #2: [74, 92, 85] from Operation: 85*1=85 Current State: 67:[74, 92, 85], Operations: ['85*1=85'] Exploring Operation: 92-74=18, Resulting Numbers: [85, 18] Generated Node #3: [85, 18] from Operation: 92-74=18 Current State: 67:[85, 18], Operations: ['85*1=85', '92-74=18'] Exploring Operation: 85-18=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[85, 1, 74, 92], Operations: [] Exploring Operation: 85-1=84, Resulting Numbers: [74, 92, 84] Generated Node #0,0: 67:[74, 92, 84] Operation: 85-1=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[74, 92, 84], Operations: ['85-1=84'] Exploring Operation: 92-74=18, Resulting Numbers: [84, 18] Generated Node #0,0,0: 67:[84, 18] Operation: 92-74=18 Moving to Node #0,0,0 Current State: 67:[84, 18], Operations: ['85-1=84', '92-74=18'] Exploring Operation: 84-18=66, Resulting Numbers: [66] 66,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 27, 27, 20, 83 ]
49
[ "27+27=54", "20+83=103", "103-54=49" ]
Current State: 49:[27, 27, 20, 83], Operations: [] Exploring Operation: 27+27=54, Resulting Numbers: [20, 83, 54] Generated Node #2: [20, 83, 54] from Operation: 27+27=54 Current State: 49:[20, 83, 54], Operations: ['27+27=54'] Exploring Operation: 20+83=103, Resulting Numbers: [54, 103] Generated Node #3: [54, 103] from Operation: 20+83=103 Current State: 49:[54, 103], Operations: ['27+27=54', '20+83=103'] Exploring Operation: 103-54=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[27, 27, 20, 83], Operations: [] Exploring Operation: 27+27=54, Resulting Numbers: [20, 83, 54] Generated Node #0,0: 49:[20, 83, 54] Operation: 27+27=54 Exploring Operation: 83-27=56, Resulting Numbers: [27, 20, 56] Generated Node #0,1: 49:[27, 20, 56] Operation: 83-27=56 Exploring Operation: 27/27=1, Resulting Numbers: [20, 83, 1] Generated Node #0,2: 49:[20, 83, 1] Operation: 27/27=1 Exploring Operation: 83-27=56, Resulting Numbers: [27, 20, 56] Generated Node #0,3: 49:[27, 20, 56] Operation: 83-27=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[27, 20, 56], Operations: ['83-27=56'] Exploring Operation: 56-20=36, Resulting Numbers: [27, 36] Generated Node #0,1,0: 49:[27, 36] Operation: 56-20=36 Exploring Operation: 27-20=7, Resulting Numbers: [56, 7] Generated Node #0,1,1: 49:[56, 7] Operation: 27-20=7 Exploring Operation: 27+20=47, Resulting Numbers: [56, 47] Generated Node #0,1,2: 49:[56, 47] Operation: 27+20=47 Exploring Operation: 56-27=29, Resulting Numbers: [20, 29] Generated Node #0,1,3: 49:[20, 29] Operation: 56-27=29 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[56, 7], Operations: ['83-27=56', '27-20=7'] Exploring Operation: 56*7=392, Resulting Numbers: [392] 392,49 unequal: No Solution Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[27, 27, 20, 83], Operations: [] Exploring Operation: 83-27=56, Resulting Numbers: [27, 20, 56] Generated Node #0,1: 49:[27, 20, 56] Operation: 83-27=56 Moving to Node #0,1 Current State: 49:[27, 20, 56], Operations: ['83-27=56'] Exploring Operation: 27-20=7, Resulting Numbers: [56, 7] Generated Node #0,1,1: 49:[56, 7] Operation: 27-20=7 Moving to Node #0,1,1 Current State: 49:[56, 7], Operations: ['83-27=56', '27-20=7'] Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 47, 3, 91, 70 ]
62
[ "91-47=44", "3*44=132", "132-70=62" ]
Current State: 62:[47, 3, 91, 70], Operations: [] Exploring Operation: 91-47=44, Resulting Numbers: [3, 70, 44] Generated Node #2: [3, 70, 44] from Operation: 91-47=44 Current State: 62:[3, 70, 44], Operations: ['91-47=44'] Exploring Operation: 3*44=132, Resulting Numbers: [70, 132] Generated Node #3: [70, 132] from Operation: 3*44=132 Current State: 62:[70, 132], Operations: ['91-47=44', '3*44=132'] Exploring Operation: 132-70=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[47, 3, 91, 70], Operations: [] Exploring Operation: 91-47=44, Resulting Numbers: [3, 70, 44] Generated Node #0,0: 62:[3, 70, 44] Operation: 91-47=44 Moving to Node #0,0 Current State: 62:[3, 70, 44], Operations: ['91-47=44'] Exploring Operation: 70-44=26, Resulting Numbers: [3, 26] Generated Node #0,0,0: 62:[3, 26] Operation: 70-44=26 Moving to Node #0,0,0 Current State: 62:[3, 26], Operations: ['91-47=44', '70-44=26'] Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,62 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 32, 94, 24, 67 ]
83
[ "32+94=126", "67-24=43", "126-43=83" ]
Current State: 83:[32, 94, 24, 67], Operations: [] Exploring Operation: 32+94=126, Resulting Numbers: [24, 67, 126] Generated Node #2: [24, 67, 126] from Operation: 32+94=126 Current State: 83:[24, 67, 126], Operations: ['32+94=126'] Exploring Operation: 67-24=43, Resulting Numbers: [126, 43] Generated Node #3: [126, 43] from Operation: 67-24=43 Current State: 83:[126, 43], Operations: ['32+94=126', '67-24=43'] Exploring Operation: 126-43=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[32, 94, 24, 67], Operations: [] Exploring Operation: 24+67=91, Resulting Numbers: [32, 94, 91] Generated Node #0,0: 83:[32, 94, 91] Operation: 24+67=91 Exploring Operation: 32+24=56, Resulting Numbers: [94, 67, 56] Generated Node #0,1: 83:[94, 67, 56] Operation: 32+24=56 Exploring Operation: 94-24=70, Resulting Numbers: [32, 67, 70] Generated Node #0,2: 83:[32, 67, 70] Operation: 94-24=70 Moving to Node #0,1 Current State: 83:[94, 67, 56], Operations: ['32+24=56'] Exploring Operation: 67+56=123, Resulting Numbers: [94, 123] Generated Node #0,1,0: 83:[94, 123] Operation: 67+56=123 Exploring Operation: 94-67=27, Resulting Numbers: [56, 27] Generated Node #0,1,1: 83:[56, 27] Operation: 94-67=27 Exploring Operation: 94-56=38, Resulting Numbers: [67, 38] Generated Node #0,1,2: 83:[67, 38] Operation: 94-56=38 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[94, 123], Operations: ['32+24=56', '67+56=123'] Exploring Operation: 94*123=11562, Resulting Numbers: [11562] 11562,83 unequal: No Solution Exploring Operation: 94+123=217, Resulting Numbers: [217] 217,83 unequal: No Solution Exploring Operation: 123-94=29, Resulting Numbers: [29] 29,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[67, 38], Operations: ['32+24=56', '94-56=38'] Exploring Operation: 67+38=105, Resulting Numbers: [105] 105,83 unequal: No Solution Exploring Operation: 67*38=2546, Resulting Numbers: [2546] 2546,83 unequal: No Solution Exploring Operation: 67-38=29, Resulting Numbers: [29] 29,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[56, 27], Operations: ['32+24=56', '94-67=27'] Exploring Operation: 56-27=29, Resulting Numbers: [29] 29,83 unequal: No Solution Exploring Operation: 56*27=1512, Resulting Numbers: [1512] 1512,83 unequal: No Solution Exploring Operation: 56+27=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[32, 94, 24, 67], Operations: [] Exploring Operation: 32+24=56, Resulting Numbers: [94, 67, 56] Generated Node #0,1: 83:[94, 67, 56] Operation: 32+24=56 Moving to Node #0,1 Current State: 83:[94, 67, 56], Operations: ['32+24=56'] Exploring Operation: 94-67=27, Resulting Numbers: [56, 27] Generated Node #0,1,1: 83:[56, 27] Operation: 94-67=27 Moving to Node #0,1,1 Current State: 83:[56, 27], Operations: ['32+24=56', '94-67=27'] Exploring Operation: 56+27=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 5, 18, 92, 54 ]
25
[ "18-5=13", "92-54=38", "38-13=25" ]
Current State: 25:[5, 18, 92, 54], Operations: [] Exploring Operation: 18-5=13, Resulting Numbers: [92, 54, 13] Generated Node #2: [92, 54, 13] from Operation: 18-5=13 Current State: 25:[92, 54, 13], Operations: ['18-5=13'] Exploring Operation: 92-54=38, Resulting Numbers: [13, 38] Generated Node #3: [13, 38] from Operation: 92-54=38 Current State: 25:[13, 38], Operations: ['18-5=13', '92-54=38'] Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[5, 18, 92, 54], Operations: [] Exploring Operation: 92-54=38, Resulting Numbers: [5, 18, 38] Generated Node #0,0: 25:[5, 18, 38] Operation: 92-54=38 Moving to Node #0,0 Current State: 25:[5, 18, 38], Operations: ['92-54=38'] Exploring Operation: 38-18=20, Resulting Numbers: [5, 20] Generated Node #0,0,0: 25:[5, 20] Operation: 38-18=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[5, 20], Operations: ['92-54=38', '38-18=20'] Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[5, 18, 92, 54], Operations: [] Exploring Operation: 92-54=38, Resulting Numbers: [5, 18, 38] Generated Node #0,0: 25:[5, 18, 38] Operation: 92-54=38 Moving to Node #0,0 Current State: 25:[5, 18, 38], Operations: ['92-54=38'] Exploring Operation: 38-18=20, Resulting Numbers: [5, 20] Generated Node #0,0,0: 25:[5, 20] Operation: 38-18=20 Moving to Node #0,0,0 Current State: 25:[5, 20], Operations: ['92-54=38', '38-18=20'] Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 54, 76, 53, 15 ]
90
[ "76-54=22", "53+15=68", "22+68=90" ]
Current State: 90:[54, 76, 53, 15], Operations: [] Exploring Operation: 76-54=22, Resulting Numbers: [53, 15, 22] Generated Node #2: [53, 15, 22] from Operation: 76-54=22 Current State: 90:[53, 15, 22], Operations: ['76-54=22'] Exploring Operation: 53+15=68, Resulting Numbers: [22, 68] Generated Node #3: [22, 68] from Operation: 53+15=68 Current State: 90:[22, 68], Operations: ['76-54=22', '53+15=68'] Exploring Operation: 22+68=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[54, 76, 53, 15], Operations: [] Exploring Operation: 76-54=22, Resulting Numbers: [53, 15, 22] Generated Node #0,0: 90:[53, 15, 22] Operation: 76-54=22 Moving to Node #0,0 Current State: 90:[53, 15, 22], Operations: ['76-54=22'] Exploring Operation: 53-22=31, Resulting Numbers: [15, 31] Generated Node #0,0,0: 90:[15, 31] Operation: 53-22=31 Moving to Node #0,0,0 Current State: 90:[15, 31], Operations: ['76-54=22', '53-22=31'] Exploring Operation: 15+31=46, Resulting Numbers: [46] 46,90 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 85, 14, 25, 8 ]
66
[ "85+14=99", "25+8=33", "99-33=66" ]
Current State: 66:[85, 14, 25, 8], Operations: [] Exploring Operation: 85+14=99, Resulting Numbers: [25, 8, 99] Generated Node #2: [25, 8, 99] from Operation: 85+14=99 Current State: 66:[25, 8, 99], Operations: ['85+14=99'] Exploring Operation: 25+8=33, Resulting Numbers: [99, 33] Generated Node #3: [99, 33] from Operation: 25+8=33 Current State: 66:[99, 33], Operations: ['85+14=99', '25+8=33'] Exploring Operation: 99-33=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[85, 14, 25, 8], Operations: [] Exploring Operation: 85-14=71, Resulting Numbers: [25, 8, 71] Generated Node #0,0: 66:[25, 8, 71] Operation: 85-14=71 Exploring Operation: 85-8=77, Resulting Numbers: [14, 25, 77] Generated Node #0,1: 66:[14, 25, 77] Operation: 85-8=77 Exploring Operation: 25-14=11, Resulting Numbers: [85, 8, 11] Generated Node #0,2: 66:[85, 8, 11] Operation: 25-14=11 Exploring Operation: 85-25=60, Resulting Numbers: [14, 8, 60] Generated Node #0,3: 66:[14, 8, 60] Operation: 85-25=60 Exploring Operation: 14+8=22, Resulting Numbers: [85, 25, 22] Generated Node #0,4: 66:[85, 25, 22] Operation: 14+8=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[25, 8, 71], Operations: ['85-14=71'] Exploring Operation: 25+8=33, Resulting Numbers: [71, 33] Generated Node #0,0,0: 66:[71, 33] Operation: 25+8=33 Exploring Operation: 71-25=46, Resulting Numbers: [8, 46] Generated Node #0,0,1: 66:[8, 46] Operation: 71-25=46 Exploring Operation: 71-8=63, Resulting Numbers: [25, 63] Generated Node #0,0,2: 66:[25, 63] Operation: 71-8=63 Exploring Operation: 8+71=79, Resulting Numbers: [25, 79] Generated Node #0,0,3: 66:[25, 79] Operation: 8+71=79 Exploring Operation: 25-8=17, Resulting Numbers: [71, 17] Generated Node #0,0,4: 66:[71, 17] Operation: 25-8=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 66:[71, 33], Operations: ['85-14=71', '25+8=33'] Exploring Operation: 71*33=2343, Resulting Numbers: [2343] 2343,66 unequal: No Solution Exploring Operation: 71-33=38, Resulting Numbers: [38] 38,66 unequal: No Solution Exploring Operation: 71+33=104, Resulting Numbers: [104] 104,66 unequal: No Solution No 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: 66:[25, 63], Operations: ['85-14=71', '71-8=63'] Exploring Operation: 25+63=88, Resulting Numbers: [88] 88,66 unequal: No Solution Exploring Operation: 25*63=1575, Resulting Numbers: [1575] 1575,66 unequal: No Solution Exploring Operation: 63-25=38, Resulting Numbers: [38] 38,66 unequal: No Solution No 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: 66:[71, 17], Operations: ['85-14=71', '25-8=17'] Exploring Operation: 71-17=54, Resulting Numbers: [54] 54,66 unequal: No Solution Exploring Operation: 71+17=88, Resulting Numbers: [88] 88,66 unequal: No Solution Exploring Operation: 71*17=1207, Resulting Numbers: [1207] 1207,66 unequal: No Solution No 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: 66:[8, 46], Operations: ['85-14=71', '71-25=46'] Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,66 unequal: No Solution Exploring Operation: 8+46=54, Resulting Numbers: [54] 54,66 unequal: No Solution Exploring Operation: 8*46=368, Resulting Numbers: [368] 368,66 unequal: No Solution No 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: 66:[25, 79], Operations: ['85-14=71', '8+71=79'] Exploring Operation: 79-25=54, Resulting Numbers: [54] 54,66 unequal: No Solution Exploring Operation: 25+79=104, Resulting Numbers: [104] 104,66 unequal: No Solution Exploring Operation: 25*79=1975, Resulting Numbers: [1975] 1975,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 Start Sub Search at level 1: Moving to Node #0,3 Current State: 66:[14, 8, 60], Operations: ['85-25=60'] Exploring Operation: 14+60=74, Resulting Numbers: [8, 74] Generated Node #0,3,0: 66:[8, 74] Operation: 14+60=74 Exploring Operation: 14+8=22, Resulting Numbers: [60, 22] Generated Node #0,3,1: 66:[60, 22] Operation: 14+8=22 Exploring Operation: 14-8=6, Resulting Numbers: [60, 6] Generated Node #0,3,2: 66:[60, 6] Operation: 14-8=6 Exploring Operation: 60-14=46, Resulting Numbers: [8, 46] Generated Node #0,3,3: 66:[8, 46] Operation: 60-14=46 Exploring Operation: 8+60=68, Resulting Numbers: [14, 68] Generated Node #0,3,4: 66:[14, 68] Operation: 8+60=68 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 66:[14, 68], Operations: ['85-25=60', '8+60=68'] Exploring Operation: 14*68=952, Resulting Numbers: [952] 952,66 unequal: No Solution Exploring Operation: 14+68=82, Resulting Numbers: [82] 82,66 unequal: No Solution Exploring Operation: 68-14=54, Resulting Numbers: [54] 54,66 unequal: No Solution No 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: 66:[60, 22], Operations: ['85-25=60', '14+8=22'] Exploring Operation: 60+22=82, Resulting Numbers: [82] 82,66 unequal: No Solution Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,66 unequal: No Solution Exploring Operation: 60*22=1320, Resulting Numbers: [1320] 1320,66 unequal: No Solution No 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: 66:[60, 6], Operations: ['85-25=60', '14-8=6'] Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,66 unequal: No Solution Exploring Operation: 60*6=360, Resulting Numbers: [360] 360,66 unequal: No Solution Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,66 unequal: No Solution Exploring Operation: 60+6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[85, 14, 25, 8], Operations: [] Exploring Operation: 85-25=60, Resulting Numbers: [14, 8, 60] Generated Node #0,3: 66:[14, 8, 60] Operation: 85-25=60 Moving to Node #0,3 Current State: 66:[14, 8, 60], Operations: ['85-25=60'] Exploring Operation: 14-8=6, Resulting Numbers: [60, 6] Generated Node #0,3,2: 66:[60, 6] Operation: 14-8=6 Moving to Node #0,3,2 Current State: 66:[60, 6], Operations: ['85-25=60', '14-8=6'] Exploring Operation: 60+6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.961806
hs_5
mult_heuristic