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
[ 12, 30, 26, 23 ]
67
[ "30-12=18", "26+23=49", "18+49=67" ]
Current State: 67:[12, 30, 26, 23], Operations: [] Exploring Operation: 30-12=18, Resulting Numbers: [26, 23, 18] Generated Node #2: [26, 23, 18] from Operation: 30-12=18 Current State: 67:[26, 23, 18], Operations: ['30-12=18'] Exploring Operation: 26+23=49, Resulting Numbers: [18, 49] Generated Node #3: [18, 49] from Operation: 26+23=49 Current State: 67:[18, 49], Operations: ['30-12=18', '26+23=49'] Exploring Operation: 18+49=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[12, 30, 26, 23], Operations: [] Exploring Operation: 12+30=42, Resulting Numbers: [26, 23, 42] Generated Node #0,0: 67:[26, 23, 42] Operation: 12+30=42 Moving to Node #0,0 Current State: 67:[26, 23, 42], Operations: ['12+30=42'] Exploring Operation: 26+23=49, Resulting Numbers: [42, 49] Generated Node #0,0,0: 67:[42, 49] Operation: 26+23=49 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[42, 49], Operations: ['12+30=42', '26+23=49'] Exploring Operation: 42+49=91, Resulting Numbers: [91] 91,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
[ 2, 52, 25, 25 ]
77
[ "2*25=50", "52-25=27", "50+27=77" ]
Current State: 77:[2, 52, 25, 25], Operations: [] Exploring Operation: 2*25=50, Resulting Numbers: [52, 50] Generated Node #2: [52, 50] from Operation: 2*25=50 Current State: 77:[52, 50], Operations: ['2*25=50'] Exploring Operation: 52-25=27, Resulting Numbers: [50, 27] Generated Node #3: [50, 27] from Operation: 52-25=27 Current State: 77:[50, 27], Operations: ['2*25=50', '52-25=27'] Exploring Operation: 50+27=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[2, 52, 25, 25], Operations: [] Exploring Operation: 52+25=77, Resulting Numbers: [2, 25, 77] Generated Node #0,0: 77:[2, 25, 77] Operation: 52+25=77 Exploring Operation: 52+25=77, Resulting Numbers: [2, 25, 77] Generated Node #0,1: 77:[2, 25, 77] Operation: 52+25=77 Exploring Operation: 52-25=27, Resulting Numbers: [2, 25, 27] Generated Node #0,2: 77:[2, 25, 27] Operation: 52-25=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[2, 25, 77], Operations: ['52+25=77'] Exploring Operation: 2+25=27, Resulting Numbers: [77, 27] Generated Node #0,0,0: 77:[77, 27] Operation: 2+25=27 Exploring Operation: 25-2=23, Resulting Numbers: [77, 23] Generated Node #0,0,1: 77:[77, 23] Operation: 25-2=23 Exploring Operation: 2+77=79, Resulting Numbers: [25, 79] Generated Node #0,0,2: 77:[25, 79] Operation: 2+77=79 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 77:[77, 23], Operations: ['52+25=77', '25-2=23'] Exploring Operation: 77-23=54, Resulting Numbers: [54] 54,77 unequal: No Solution Exploring Operation: 77*23=1771, Resulting Numbers: [1771] 1771,77 unequal: No Solution Exploring Operation: 77+23=100, Resulting Numbers: [100] 100,77 unequal: No Solution No 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: 77:[77, 27], Operations: ['52+25=77', '2+25=27'] Exploring Operation: 77-27=50, Resulting Numbers: [50] 50,77 unequal: No Solution Exploring Operation: 77+27=104, Resulting Numbers: [104] 104,77 unequal: No Solution Exploring Operation: 77*27=2079, Resulting Numbers: [2079] 2079,77 unequal: No Solution No 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: 77:[25, 79], Operations: ['52+25=77', '2+77=79'] Exploring Operation: 79-25=54, Resulting Numbers: [54] 54,77 unequal: No Solution Exploring Operation: 25*79=1975, Resulting Numbers: [1975] 1975,77 unequal: No Solution Exploring Operation: 25+79=104, Resulting Numbers: [104] 104,77 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: 77:[2, 25, 77], Operations: ['52+25=77'] Exploring Operation: 2+25=27, Resulting Numbers: [77, 27] Generated Node #0,1,0: 77:[77, 27] Operation: 2+25=27 Exploring Operation: 25-2=23, Resulting Numbers: [77, 23] Generated Node #0,1,1: 77:[77, 23] Operation: 25-2=23 Exploring Operation: 2+77=79, Resulting Numbers: [25, 79] Generated Node #0,1,2: 77:[25, 79] Operation: 2+77=79 Moving to Node #0,1,1 Current State: 77:[77, 23], Operations: ['52+25=77', '25-2=23'] Exploring Operation: 77+23=100, Resulting Numbers: [100] 100,77 unequal: No Solution Exploring Operation: 77*23=1771, Resulting Numbers: [1771] 1771,77 unequal: No Solution Exploring Operation: 77-23=54, Resulting Numbers: [54] 54,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[77, 27], Operations: ['52+25=77', '2+25=27'] Exploring Operation: 77+27=104, Resulting Numbers: [104] 104,77 unequal: No Solution Exploring Operation: 77*27=2079, Resulting Numbers: [2079] 2079,77 unequal: No Solution Exploring Operation: 77-27=50, Resulting Numbers: [50] 50,77 unequal: No Solution Moving to Node #0,1,2 Current State: 77:[25, 79], Operations: ['52+25=77', '2+77=79'] Exploring Operation: 79-25=54, Resulting Numbers: [54] 54,77 unequal: No Solution Exploring Operation: 25*79=1975, Resulting Numbers: [1975] 1975,77 unequal: No Solution Exploring Operation: 25+79=104, Resulting Numbers: [104] 104,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 Current State: 77:[2, 25, 27], Operations: ['52-25=27'] Exploring Operation: 25-2=23, Resulting Numbers: [27, 23] Generated Node #0,2,0: 77:[27, 23] Operation: 25-2=23 Exploring Operation: 27-2=25, Resulting Numbers: [25, 25] Generated Node #0,2,1: 77:[25, 25] Operation: 27-2=25 Exploring Operation: 27-25=2, Resulting Numbers: [2, 2] Generated Node #0,2,2: 77:[2, 2] Operation: 27-25=2 Moving to Node #0,2,2 Current State: 77:[2, 2], Operations: ['52-25=27', '27-25=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,77 unequal: No Solution Moving to Node #0,2,0 Current State: 77:[27, 23], Operations: ['52-25=27', '25-2=23'] Exploring Operation: 27+23=50, Resulting Numbers: [50] 50,77 unequal: No Solution Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 27*23=621, Resulting Numbers: [621] 621,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[25, 25], Operations: ['52-25=27', '27-2=25'] Exploring Operation: 25-25=0, Resulting Numbers: [0] 0,77 unequal: No Solution Exploring Operation: 25+25=50, Resulting Numbers: [50] 50,77 unequal: No Solution Exploring Operation: 25/25=1, Resulting Numbers: [1] 1,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 44, 9, 24, 54 ]
25
[ "44+9=53", "24+54=78", "78-53=25" ]
Current State: 25:[44, 9, 24, 54], Operations: [] Exploring Operation: 44+9=53, Resulting Numbers: [24, 54, 53] Generated Node #2: [24, 54, 53] from Operation: 44+9=53 Current State: 25:[24, 54, 53], Operations: ['44+9=53'] Exploring Operation: 24+54=78, Resulting Numbers: [53, 78] Generated Node #3: [53, 78] from Operation: 24+54=78 Current State: 25:[53, 78], Operations: ['44+9=53', '24+54=78'] Exploring Operation: 78-53=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[44, 9, 24, 54], Operations: [] Exploring Operation: 54-24=30, Resulting Numbers: [44, 9, 30] Generated Node #0,0: 25:[44, 9, 30] Operation: 54-24=30 Exploring Operation: 54-44=10, Resulting Numbers: [9, 24, 10] Generated Node #0,1: 25:[9, 24, 10] Operation: 54-44=10 Exploring Operation: 54/9=6, Resulting Numbers: [44, 24, 6] Generated Node #0,2: 25:[44, 24, 6] Operation: 54/9=6 Moving to Node #0,1 Current State: 25:[9, 24, 10], Operations: ['54-44=10'] Exploring Operation: 10-9=1, Resulting Numbers: [24, 1] Generated Node #0,1,0: 25:[24, 1] Operation: 10-9=1 Exploring Operation: 9+24=33, Resulting Numbers: [10, 33] Generated Node #0,1,1: 25:[10, 33] Operation: 9+24=33 Exploring Operation: 9+10=19, Resulting Numbers: [24, 19] Generated Node #0,1,2: 25:[24, 19] Operation: 9+10=19 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[24, 1], Operations: ['54-44=10', '10-9=1'] Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[44, 9, 24, 54], Operations: [] Exploring Operation: 54-44=10, Resulting Numbers: [9, 24, 10] Generated Node #0,1: 25:[9, 24, 10] Operation: 54-44=10 Moving to Node #0,1 Current State: 25:[9, 24, 10], Operations: ['54-44=10'] Exploring Operation: 10-9=1, Resulting Numbers: [24, 1] Generated Node #0,1,0: 25:[24, 1] Operation: 10-9=1 Moving to Node #0,1,0 Current State: 25:[24, 1], Operations: ['54-44=10', '10-9=1'] Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 27, 10, 26, 74 ]
65
[ "27-10=17", "74-26=48", "17+48=65" ]
Current State: 65:[27, 10, 26, 74], Operations: [] Exploring Operation: 27-10=17, Resulting Numbers: [26, 74, 17] Generated Node #2: [26, 74, 17] from Operation: 27-10=17 Current State: 65:[26, 74, 17], Operations: ['27-10=17'] Exploring Operation: 74-26=48, Resulting Numbers: [17, 48] Generated Node #3: [17, 48] from Operation: 74-26=48 Current State: 65:[17, 48], Operations: ['27-10=17', '74-26=48'] Exploring Operation: 17+48=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[27, 10, 26, 74], Operations: [] Exploring Operation: 27+26=53, Resulting Numbers: [10, 74, 53] Generated Node #0,0: 65:[10, 74, 53] Operation: 27+26=53 Exploring Operation: 27-26=1, Resulting Numbers: [10, 74, 1] Generated Node #0,1: 65:[10, 74, 1] Operation: 27-26=1 Moving to Node #0,1 Current State: 65:[10, 74, 1], Operations: ['27-26=1'] Exploring Operation: 10+1=11, Resulting Numbers: [74, 11] Generated Node #0,1,0: 65:[74, 11] Operation: 10+1=11 Exploring Operation: 74-10=64, Resulting Numbers: [1, 64] Generated Node #0,1,1: 65:[1, 64] Operation: 74-10=64 Moving to Node #0,0 Current State: 65:[10, 74, 53], Operations: ['27+26=53'] Exploring Operation: 10+53=63, Resulting Numbers: [74, 63] Generated Node #0,0,0: 65:[74, 63] Operation: 10+53=63 Exploring Operation: 74-53=21, Resulting Numbers: [10, 21] Generated Node #0,0,1: 65:[10, 21] Operation: 74-53=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[74, 63], Operations: ['27+26=53', '10+53=63'] Exploring Operation: 74-63=11, Resulting Numbers: [11] 11,65 unequal: No Solution Exploring Operation: 74+63=137, Resulting Numbers: [137] 137,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 65:[10, 21], Operations: ['27+26=53', '74-53=21'] Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,65 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 65:[1, 64], Operations: ['27-26=1', '74-10=64'] Exploring Operation: 1+64=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[27, 10, 26, 74], Operations: [] Exploring Operation: 27-26=1, Resulting Numbers: [10, 74, 1] Generated Node #0,1: 65:[10, 74, 1] Operation: 27-26=1 Moving to Node #0,1 Current State: 65:[10, 74, 1], Operations: ['27-26=1'] Exploring Operation: 74-10=64, Resulting Numbers: [1, 64] Generated Node #0,1,1: 65:[1, 64] Operation: 74-10=64 Moving to Node #0,1,1 Current State: 65:[1, 64], Operations: ['27-26=1', '74-10=64'] Exploring Operation: 1+64=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 3, 52, 72, 1 ]
77
[ "72/3=24", "52+1=53", "24+53=77" ]
Current State: 77:[3, 52, 72, 1], Operations: [] Exploring Operation: 72/3=24, Resulting Numbers: [52, 1, 24] Generated Node #2: [52, 1, 24] from Operation: 72/3=24 Current State: 77:[52, 1, 24], Operations: ['72/3=24'] Exploring Operation: 52+1=53, Resulting Numbers: [24, 53] Generated Node #3: [24, 53] from Operation: 52+1=53 Current State: 77:[24, 53], Operations: ['72/3=24', '52+1=53'] Exploring Operation: 24+53=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[3, 52, 72, 1], Operations: [] Exploring Operation: 3+52=55, Resulting Numbers: [72, 1, 55] Generated Node #0,0: 77:[72, 1, 55] Operation: 3+52=55 Exploring Operation: 3+72=75, Resulting Numbers: [52, 1, 75] Generated Node #0,1: 77:[52, 1, 75] Operation: 3+72=75 Exploring Operation: 72-52=20, Resulting Numbers: [3, 1, 20] Generated Node #0,2: 77:[3, 1, 20] Operation: 72-52=20 Moving to Node #0,2 Current State: 77:[3, 1, 20], Operations: ['72-52=20'] Exploring Operation: 3+1=4, Resulting Numbers: [20, 4] Generated Node #0,2,0: 77:[20, 4] Operation: 3+1=4 Exploring Operation: 20-3=17, Resulting Numbers: [1, 17] Generated Node #0,2,1: 77:[1, 17] Operation: 20-3=17 Exploring Operation: 20-1=19, Resulting Numbers: [3, 19] Generated Node #0,2,2: 77:[3, 19] Operation: 20-1=19 Moving to Node #0,0 Current State: 77:[72, 1, 55], Operations: ['3+52=55'] Exploring Operation: 72-55=17, Resulting Numbers: [1, 17] Generated Node #0,0,0: 77:[1, 17] Operation: 72-55=17 Exploring Operation: 1+55=56, Resulting Numbers: [72, 56] Generated Node #0,0,1: 77:[72, 56] Operation: 1+55=56 Exploring Operation: 72+1=73, Resulting Numbers: [55, 73] Generated Node #0,0,2: 77:[55, 73] Operation: 72+1=73 Moving to Node #0,1 Current State: 77:[52, 1, 75], Operations: ['3+72=75'] Exploring Operation: 1+75=76, Resulting Numbers: [52, 76] Generated Node #0,1,0: 77:[52, 76] Operation: 1+75=76 Exploring Operation: 52+1=53, Resulting Numbers: [75, 53] Generated Node #0,1,1: 77:[75, 53] Operation: 52+1=53 Exploring Operation: 75-52=23, Resulting Numbers: [1, 23] Generated Node #0,1,2: 77:[1, 23] Operation: 75-52=23 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 77:[1, 23], Operations: ['3+72=75', '75-52=23'] Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 1*23=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,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:[52, 76], Operations: ['3+72=75', '1+75=76'] Exploring Operation: 52*76=3952, Resulting Numbers: [3952] 3952,77 unequal: No Solution Exploring Operation: 52+76=128, Resulting Numbers: [128] 128,77 unequal: No Solution Exploring Operation: 76-52=24, Resulting Numbers: [24] 24,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:[75, 53], Operations: ['3+72=75', '52+1=53'] Exploring Operation: 75-53=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 75+53=128, Resulting Numbers: [128] 128,77 unequal: No Solution Exploring Operation: 75*53=3975, Resulting Numbers: [3975] 3975,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 77:[20, 4], Operations: ['72-52=20', '3+1=4'] Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,77 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,77 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,77 unequal: No Solution Moving to Node #0,2,2 Current State: 77:[3, 19], Operations: ['72-52=20', '20-1=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,77 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,77 unequal: No Solution Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[1, 17], Operations: ['72-52=20', '20-3=17'] Exploring Operation: 1*17=17, Resulting Numbers: [17] 17,77 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,77 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[1, 17], Operations: ['3+52=55', '72-55=17'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,77 unequal: No Solution Exploring Operation: 1*17=17, Resulting Numbers: [17] 17,77 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[72, 56], Operations: ['3+52=55', '1+55=56'] Exploring Operation: 72-56=16, Resulting Numbers: [16] 16,77 unequal: No Solution Exploring Operation: 72+56=128, Resulting Numbers: [128] 128,77 unequal: No Solution Exploring Operation: 72*56=4032, Resulting Numbers: [4032] 4032,77 unequal: No Solution Moving to Node #0,0,2 Current State: 77:[55, 73], Operations: ['3+52=55', '72+1=73'] Exploring Operation: 73-55=18, Resulting Numbers: [18] 18,77 unequal: No Solution Exploring Operation: 55*73=4015, Resulting Numbers: [4015] 4015,77 unequal: No Solution Exploring Operation: 55+73=128, Resulting Numbers: [128] 128,77 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 94, 10, 81, 66 ]
97
[ "94+66=160", "160/10=16", "81+16=97" ]
Current State: 97:[94, 10, 81, 66], Operations: [] Exploring Operation: 94+66=160, Resulting Numbers: [10, 81, 160] Generated Node #2: [10, 81, 160] from Operation: 94+66=160 Current State: 97:[10, 81, 160], Operations: ['94+66=160'] Exploring Operation: 160/10=16, Resulting Numbers: [81, 16] Generated Node #3: [81, 16] from Operation: 160/10=16 Current State: 97:[81, 16], Operations: ['94+66=160', '160/10=16'] Exploring Operation: 81+16=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[94, 10, 81, 66], Operations: [] Exploring Operation: 10+81=91, Resulting Numbers: [94, 66, 91] Generated Node #0,0: 97:[94, 66, 91] Operation: 10+81=91 Exploring Operation: 94+10=104, Resulting Numbers: [81, 66, 104] Generated Node #0,1: 97:[81, 66, 104] Operation: 94+10=104 Exploring Operation: 10+66=76, Resulting Numbers: [94, 81, 76] Generated Node #0,2: 97:[94, 81, 76] Operation: 10+66=76 Moving to Node #0,0 Current State: 97:[94, 66, 91], Operations: ['10+81=91'] Exploring Operation: 94+66=160, Resulting Numbers: [91, 160] Generated Node #0,0,0: 97:[91, 160] Operation: 94+66=160 Exploring Operation: 94-66=28, Resulting Numbers: [91, 28] Generated Node #0,0,1: 97:[91, 28] Operation: 94-66=28 Exploring Operation: 66+91=157, Resulting Numbers: [94, 157] Generated Node #0,0,2: 97:[94, 157] Operation: 66+91=157 Moving to Node #0,2 Current State: 97:[94, 81, 76], Operations: ['10+66=76'] Exploring Operation: 94+76=170, Resulting Numbers: [81, 170] Generated Node #0,2,0: 97:[81, 170] Operation: 94+76=170 Exploring Operation: 94-76=18, Resulting Numbers: [81, 18] Generated Node #0,2,1: 97:[81, 18] Operation: 94-76=18 Exploring Operation: 81+76=157, Resulting Numbers: [94, 157] Generated Node #0,2,2: 97:[94, 157] Operation: 81+76=157 Moving to Node #0,1 Current State: 97:[81, 66, 104], Operations: ['94+10=104'] Exploring Operation: 81-66=15, Resulting Numbers: [104, 15] Generated Node #0,1,0: 97:[104, 15] Operation: 81-66=15 Exploring Operation: 81+66=147, Resulting Numbers: [104, 147] Generated Node #0,1,1: 97:[104, 147] Operation: 81+66=147 Exploring Operation: 104-66=38, Resulting Numbers: [81, 38] Generated Node #0,1,2: 97:[81, 38] Operation: 104-66=38 Moving to Node #0,1,1 Current State: 97:[104, 147], Operations: ['94+10=104', '81+66=147'] Exploring Operation: 104+147=251, Resulting Numbers: [251] 251,97 unequal: No Solution Exploring Operation: 147-104=43, Resulting Numbers: [43] 43,97 unequal: No Solution Exploring Operation: 104*147=15288, Resulting Numbers: [15288] 15288,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[94, 157], Operations: ['10+81=91', '66+91=157'] Exploring Operation: 157-94=63, Resulting Numbers: [63] 63,97 unequal: No Solution Exploring Operation: 94+157=251, Resulting Numbers: [251] 251,97 unequal: No Solution Exploring Operation: 94*157=14758, Resulting Numbers: [14758] 14758,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[94, 157], Operations: ['10+66=76', '81+76=157'] Exploring Operation: 94*157=14758, Resulting Numbers: [14758] 14758,97 unequal: No Solution Exploring Operation: 157-94=63, Resulting Numbers: [63] 63,97 unequal: No Solution Exploring Operation: 94+157=251, Resulting Numbers: [251] 251,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[91, 160], Operations: ['10+81=91', '94+66=160'] Exploring Operation: 91+160=251, Resulting Numbers: [251] 251,97 unequal: No Solution Exploring Operation: 91*160=14560, Resulting Numbers: [14560] 14560,97 unequal: No Solution Exploring Operation: 160-91=69, Resulting Numbers: [69] 69,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[91, 28], Operations: ['10+81=91', '94-66=28'] Exploring Operation: 91*28=2548, Resulting Numbers: [2548] 2548,97 unequal: No Solution Exploring Operation: 91-28=63, Resulting Numbers: [63] 63,97 unequal: No Solution Exploring Operation: 91+28=119, Resulting Numbers: [119] 119,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[81, 38], Operations: ['94+10=104', '104-66=38'] Exploring Operation: 81+38=119, Resulting Numbers: [119] 119,97 unequal: No Solution Exploring Operation: 81-38=43, Resulting Numbers: [43] 43,97 unequal: No Solution Exploring Operation: 81*38=3078, Resulting Numbers: [3078] 3078,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[104, 15], Operations: ['94+10=104', '81-66=15'] Exploring Operation: 104*15=1560, Resulting Numbers: [1560] 1560,97 unequal: No Solution Exploring Operation: 104+15=119, Resulting Numbers: [119] 119,97 unequal: No Solution Exploring Operation: 104-15=89, Resulting Numbers: [89] 89,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[81, 170], Operations: ['10+66=76', '94+76=170'] Exploring Operation: 81*170=13770, Resulting Numbers: [13770] 13770,97 unequal: No Solution Exploring Operation: 170-81=89, Resulting Numbers: [89] 89,97 unequal: No Solution Exploring Operation: 81+170=251, Resulting Numbers: [251] 251,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[81, 18], Operations: ['10+66=76', '94-76=18'] Exploring Operation: 81+18=99, Resulting Numbers: [99] 99,97 unequal: No Solution Exploring Operation: 81*18=1458, Resulting Numbers: [1458] 1458,97 unequal: No Solution Exploring Operation: 81-18=63, Resulting Numbers: [63] 63,97 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 81, 76, 46, 93 ]
18
[ "81+76=157", "46+93=139", "157-139=18" ]
Current State: 18:[81, 76, 46, 93], Operations: [] Exploring Operation: 81+76=157, Resulting Numbers: [46, 93, 157] Generated Node #2: [46, 93, 157] from Operation: 81+76=157 Current State: 18:[46, 93, 157], Operations: ['81+76=157'] Exploring Operation: 46+93=139, Resulting Numbers: [157, 139] Generated Node #3: [157, 139] from Operation: 46+93=139 Current State: 18:[157, 139], Operations: ['81+76=157', '46+93=139'] Exploring Operation: 157-139=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[81, 76, 46, 93], Operations: [] Exploring Operation: 81-76=5, Resulting Numbers: [46, 93, 5] Generated Node #0,0: 18:[46, 93, 5] Operation: 81-76=5 Exploring Operation: 93-76=17, Resulting Numbers: [81, 46, 17] Generated Node #0,1: 18:[81, 46, 17] Operation: 93-76=17 Exploring Operation: 93-81=12, Resulting Numbers: [76, 46, 12] Generated Node #0,2: 18:[76, 46, 12] Operation: 93-81=12 Moving to Node #0,2 Current State: 18:[76, 46, 12], Operations: ['93-81=12'] Exploring Operation: 46-12=34, Resulting Numbers: [76, 34] Generated Node #0,2,0: 18:[76, 34] Operation: 46-12=34 Exploring Operation: 76-12=64, Resulting Numbers: [46, 64] Generated Node #0,2,1: 18:[46, 64] Operation: 76-12=64 Exploring Operation: 76-46=30, Resulting Numbers: [12, 30] Generated Node #0,2,2: 18:[12, 30] Operation: 76-46=30 Moving to Node #0,1 Current State: 18:[81, 46, 17], Operations: ['93-76=17'] Exploring Operation: 46-17=29, Resulting Numbers: [81, 29] Generated Node #0,1,0: 18:[81, 29] Operation: 46-17=29 Exploring Operation: 81-46=35, Resulting Numbers: [17, 35] Generated Node #0,1,1: 18:[17, 35] Operation: 81-46=35 Exploring Operation: 81-17=64, Resulting Numbers: [46, 64] Generated Node #0,1,2: 18:[46, 64] Operation: 81-17=64 Moving to Node #0,0 Current State: 18:[46, 93, 5], Operations: ['81-76=5'] Exploring Operation: 46-5=41, Resulting Numbers: [93, 41] Generated Node #0,0,0: 18:[93, 41] Operation: 46-5=41 Exploring Operation: 93-5=88, Resulting Numbers: [46, 88] Generated Node #0,0,1: 18:[46, 88] Operation: 93-5=88 Exploring Operation: 93-46=47, Resulting Numbers: [5, 47] Generated Node #0,0,2: 18:[5, 47] Operation: 93-46=47 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 18:[5, 47], Operations: ['81-76=5', '93-46=47'] Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,18 unequal: No Solution Exploring Operation: 5+47=52, Resulting Numbers: [52] 52,18 unequal: No Solution Exploring Operation: 5*47=235, Resulting Numbers: [235] 235,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,0 Current State: 18:[93, 41], Operations: ['81-76=5', '46-5=41'] Exploring Operation: 93+41=134, Resulting Numbers: [134] 134,18 unequal: No Solution Exploring Operation: 93*41=3813, Resulting Numbers: [3813] 3813,18 unequal: No Solution Exploring Operation: 93-41=52, Resulting Numbers: [52] 52,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 18:[46, 88], Operations: ['81-76=5', '93-5=88'] Exploring Operation: 88-46=42, Resulting Numbers: [42] 42,18 unequal: No Solution Exploring Operation: 46+88=134, Resulting Numbers: [134] 134,18 unequal: No Solution Exploring Operation: 46*88=4048, Resulting Numbers: [4048] 4048,18 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: 18:[12, 30], Operations: ['93-81=12', '76-46=30'] Exploring Operation: 12*30=360, Resulting Numbers: [360] 360,18 unequal: No Solution Exploring Operation: 12+30=42, Resulting Numbers: [42] 42,18 unequal: No Solution Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[81, 76, 46, 93], Operations: [] Exploring Operation: 93-81=12, Resulting Numbers: [76, 46, 12] Generated Node #0,2: 18:[76, 46, 12] Operation: 93-81=12 Moving to Node #0,2 Current State: 18:[76, 46, 12], Operations: ['93-81=12'] Exploring Operation: 76-46=30, Resulting Numbers: [12, 30] Generated Node #0,2,2: 18:[12, 30] Operation: 76-46=30 Moving to Node #0,2,2 Current State: 18:[12, 30], Operations: ['93-81=12', '76-46=30'] Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
0.975694
hs_3
sum_heuristic
[ 28, 96, 3, 29 ]
37
[ "28+96=124", "3*29=87", "124-87=37" ]
Current State: 37:[28, 96, 3, 29], Operations: [] Exploring Operation: 28+96=124, Resulting Numbers: [3, 29, 124] Generated Node #2: [3, 29, 124] from Operation: 28+96=124 Current State: 37:[3, 29, 124], Operations: ['28+96=124'] Exploring Operation: 3*29=87, Resulting Numbers: [124, 87] Generated Node #3: [124, 87] from Operation: 3*29=87 Current State: 37:[124, 87], Operations: ['28+96=124', '3*29=87'] Exploring Operation: 124-87=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[28, 96, 3, 29], Operations: [] Exploring Operation: 96/3=32, Resulting Numbers: [28, 29, 32] Generated Node #0,0: 37:[28, 29, 32] Operation: 96/3=32 Exploring Operation: 96-28=68, Resulting Numbers: [3, 29, 68] Generated Node #0,1: 37:[3, 29, 68] Operation: 96-28=68 Moving to Node #0,0 Current State: 37:[28, 29, 32], Operations: ['96/3=32'] Exploring Operation: 28+32=60, Resulting Numbers: [29, 60] Generated Node #0,0,0: 37:[29, 60] Operation: 28+32=60 Exploring Operation: 28+29=57, Resulting Numbers: [32, 57] Generated Node #0,0,1: 37:[32, 57] Operation: 28+29=57 Moving to Node #0,1 Current State: 37:[3, 29, 68], Operations: ['96-28=68'] Exploring Operation: 3+29=32, Resulting Numbers: [68, 32] Generated Node #0,1,0: 37:[68, 32] Operation: 3+29=32 Exploring Operation: 68-3=65, Resulting Numbers: [29, 65] Generated Node #0,1,1: 37:[29, 65] Operation: 68-3=65 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 37:[68, 32], Operations: ['96-28=68', '3+29=32'] Exploring Operation: 68+32=100, Resulting Numbers: [100] 100,37 unequal: No Solution Exploring Operation: 68-32=36, Resulting Numbers: [36] 36,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[29, 65], Operations: ['96-28=68', '68-3=65'] Exploring Operation: 29+65=94, Resulting Numbers: [94] 94,37 unequal: No Solution Exploring Operation: 65-29=36, Resulting Numbers: [36] 36,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 37:[32, 57], Operations: ['96/3=32', '28+29=57'] Exploring Operation: 32+57=89, Resulting Numbers: [89] 89,37 unequal: No Solution Exploring Operation: 57-32=25, Resulting Numbers: [25] 25,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[29, 60], Operations: ['96/3=32', '28+32=60'] Exploring Operation: 29+60=89, Resulting Numbers: [89] 89,37 unequal: No Solution Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,37 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 2, 32, 97, 99 ]
68
[ "2+32=34", "99-97=2", "34*2=68" ]
Current State: 68:[2, 32, 97, 99], Operations: [] Exploring Operation: 2+32=34, Resulting Numbers: [97, 99, 34] Generated Node #2: [97, 99, 34] from Operation: 2+32=34 Current State: 68:[97, 99, 34], Operations: ['2+32=34'] Exploring Operation: 99-97=2, Resulting Numbers: [34, 2] Generated Node #3: [34, 2] from Operation: 99-97=2 Current State: 68:[34, 2], Operations: ['2+32=34', '99-97=2'] Exploring Operation: 34*2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[2, 32, 97, 99], Operations: [] Exploring Operation: 2+32=34, Resulting Numbers: [97, 99, 34] Generated Node #0,0: 68:[97, 99, 34] Operation: 2+32=34 Exploring Operation: 99-32=67, Resulting Numbers: [2, 97, 67] Generated Node #0,1: 68:[2, 97, 67] Operation: 99-32=67 Exploring Operation: 97-32=65, Resulting Numbers: [2, 99, 65] Generated Node #0,2: 68:[2, 99, 65] Operation: 97-32=65 Exploring Operation: 99-97=2, Resulting Numbers: [2, 32, 2] Generated Node #0,3: 68:[2, 32, 2] Operation: 99-97=2 Exploring Operation: 97-2=95, Resulting Numbers: [32, 99, 95] Generated Node #0,4: 68:[32, 99, 95] Operation: 97-2=95 Moving to Node #0,3 Current State: 68:[2, 32, 2], Operations: ['99-97=2'] Exploring Operation: 32/2=16, Resulting Numbers: [2, 16] Generated Node #0,3,0: 68:[2, 16] Operation: 32/2=16 Exploring Operation: 32+2=34, Resulting Numbers: [2, 34] Generated Node #0,3,1: 68:[2, 34] Operation: 32+2=34 Exploring Operation: 32/2=16, Resulting Numbers: [2, 16] Generated Node #0,3,2: 68:[2, 16] Operation: 32/2=16 Exploring Operation: 2+32=34, Resulting Numbers: [2, 34] Generated Node #0,3,3: 68:[2, 34] Operation: 2+32=34 Exploring Operation: 2+2=4, Resulting Numbers: [32, 4] Generated Node #0,3,4: 68:[32, 4] Operation: 2+2=4 Moving to Node #0,1 Current State: 68:[2, 97, 67], Operations: ['99-32=67'] Exploring Operation: 2+97=99, Resulting Numbers: [67, 99] Generated Node #0,1,0: 68:[67, 99] Operation: 2+97=99 Exploring Operation: 97-67=30, Resulting Numbers: [2, 30] Generated Node #0,1,1: 68:[2, 30] Operation: 97-67=30 Exploring Operation: 97-2=95, Resulting Numbers: [67, 95] Generated Node #0,1,2: 68:[67, 95] Operation: 97-2=95 Exploring Operation: 2+67=69, Resulting Numbers: [97, 69] Generated Node #0,1,3: 68:[97, 69] Operation: 2+67=69 Exploring Operation: 67-2=65, Resulting Numbers: [97, 65] Generated Node #0,1,4: 68:[97, 65] Operation: 67-2=65 Moving to Node #0,2 Current State: 68:[2, 99, 65], Operations: ['97-32=65'] Exploring Operation: 65-2=63, Resulting Numbers: [99, 63] Generated Node #0,2,0: 68:[99, 63] Operation: 65-2=63 Exploring Operation: 2+99=101, Resulting Numbers: [65, 101] Generated Node #0,2,1: 68:[65, 101] Operation: 2+99=101 Exploring Operation: 99-65=34, Resulting Numbers: [2, 34] Generated Node #0,2,2: 68:[2, 34] Operation: 99-65=34 Exploring Operation: 2+65=67, Resulting Numbers: [99, 67] Generated Node #0,2,3: 68:[99, 67] Operation: 2+65=67 Exploring Operation: 99-2=97, Resulting Numbers: [65, 97] Generated Node #0,2,4: 68:[65, 97] Operation: 99-2=97 Moving to Node #0,0 Current State: 68:[97, 99, 34], Operations: ['2+32=34'] Exploring Operation: 99-97=2, Resulting Numbers: [34, 2] Generated Node #0,0,0: 68:[34, 2] Operation: 99-97=2 Exploring Operation: 99-34=65, Resulting Numbers: [97, 65] Generated Node #0,0,1: 68:[97, 65] Operation: 99-34=65 Exploring Operation: 97+34=131, Resulting Numbers: [99, 131] Generated Node #0,0,2: 68:[99, 131] Operation: 97+34=131 Exploring Operation: 99+34=133, Resulting Numbers: [97, 133] Generated Node #0,0,3: 68:[97, 133] Operation: 99+34=133 Exploring Operation: 97-34=63, Resulting Numbers: [99, 63] Generated Node #0,0,4: 68:[99, 63] Operation: 97-34=63 Moving to Node #0,4 Current State: 68:[32, 99, 95], Operations: ['97-2=95'] Exploring Operation: 32+99=131, Resulting Numbers: [95, 131] Generated Node #0,4,0: 68:[95, 131] Operation: 32+99=131 Exploring Operation: 99-95=4, Resulting Numbers: [32, 4] Generated Node #0,4,1: 68:[32, 4] Operation: 99-95=4 Exploring Operation: 99-32=67, Resulting Numbers: [95, 67] Generated Node #0,4,2: 68:[95, 67] Operation: 99-32=67 Exploring Operation: 32+95=127, Resulting Numbers: [99, 127] Generated Node #0,4,3: 68:[99, 127] Operation: 32+95=127 Exploring Operation: 95-32=63, Resulting Numbers: [99, 63] Generated Node #0,4,4: 68:[99, 63] Operation: 95-32=63 Moving to Node #0,3,1 Current State: 68:[2, 34], Operations: ['99-97=2', '32+2=34'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,68 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[2, 32, 97, 99], Operations: [] Exploring Operation: 99-97=2, Resulting Numbers: [2, 32, 2] Generated Node #0,3: 68:[2, 32, 2] Operation: 99-97=2 Moving to Node #0,3 Current State: 68:[2, 32, 2], Operations: ['99-97=2'] Exploring Operation: 32+2=34, Resulting Numbers: [2, 34] Generated Node #0,3,1: 68:[2, 34] Operation: 32+2=34 Moving to Node #0,3,1 Current State: 68:[2, 34], Operations: ['99-97=2', '32+2=34'] Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
0.967882
hs_5
sum_heuristic
[ 64, 12, 33, 9 ]
100
[ "64+12=76", "33-9=24", "76+24=100" ]
Current State: 100:[64, 12, 33, 9], Operations: [] Exploring Operation: 64+12=76, Resulting Numbers: [33, 9, 76] Generated Node #2: [33, 9, 76] from Operation: 64+12=76 Current State: 100:[33, 9, 76], Operations: ['64+12=76'] Exploring Operation: 33-9=24, Resulting Numbers: [76, 24] Generated Node #3: [76, 24] from Operation: 33-9=24 Current State: 100:[76, 24], Operations: ['64+12=76', '33-9=24'] Exploring Operation: 76+24=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[64, 12, 33, 9], Operations: [] Exploring Operation: 64-33=31, Resulting Numbers: [12, 9, 31] Generated Node #0,0: 100:[12, 9, 31] Operation: 64-33=31 Exploring Operation: 64-12=52, Resulting Numbers: [33, 9, 52] Generated Node #0,1: 100:[33, 9, 52] Operation: 64-12=52 Exploring Operation: 64-9=55, Resulting Numbers: [12, 33, 55] Generated Node #0,2: 100:[12, 33, 55] Operation: 64-9=55 Exploring Operation: 64+33=97, Resulting Numbers: [12, 9, 97] Generated Node #0,3: 100:[12, 9, 97] Operation: 64+33=97 Exploring Operation: 33-12=21, Resulting Numbers: [64, 9, 21] Generated Node #0,4: 100:[64, 9, 21] Operation: 33-12=21 Start Sub Search at level 1: Moving to Node #0,3 Current State: 100:[12, 9, 97], Operations: ['64+33=97'] Exploring Operation: 9+97=106, Resulting Numbers: [12, 106] Generated Node #0,3,0: 100:[12, 106] Operation: 9+97=106 Exploring Operation: 12-9=3, Resulting Numbers: [97, 3] Generated Node #0,3,1: 100:[97, 3] Operation: 12-9=3 Exploring Operation: 12+9=21, Resulting Numbers: [97, 21] Generated Node #0,3,2: 100:[97, 21] Operation: 12+9=21 Exploring Operation: 12*9=108, Resulting Numbers: [97, 108] Generated Node #0,3,3: 100:[97, 108] Operation: 12*9=108 Exploring Operation: 12+97=109, Resulting Numbers: [9, 109] Generated Node #0,3,4: 100:[9, 109] Operation: 12+97=109 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 100:[97, 3], Operations: ['64+33=97', '12-9=3'] Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,100 unequal: No Solution Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[64, 12, 33, 9], Operations: [] Exploring Operation: 64+33=97, Resulting Numbers: [12, 9, 97] Generated Node #0,3: 100:[12, 9, 97] Operation: 64+33=97 Moving to Node #0,3 Current State: 100:[12, 9, 97], Operations: ['64+33=97'] Exploring Operation: 12-9=3, Resulting Numbers: [97, 3] Generated Node #0,3,1: 100:[97, 3] Operation: 12-9=3 Moving to Node #0,3,1 Current State: 100:[97, 3], Operations: ['64+33=97', '12-9=3'] Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 58, 62, 56, 87 ]
27
[ "62-58=4", "87-56=31", "31-4=27" ]
Current State: 27:[58, 62, 56, 87], Operations: [] Exploring Operation: 62-58=4, Resulting Numbers: [56, 87, 4] Generated Node #2: [56, 87, 4] from Operation: 62-58=4 Current State: 27:[56, 87, 4], Operations: ['62-58=4'] Exploring Operation: 87-56=31, Resulting Numbers: [4, 31] Generated Node #3: [4, 31] from Operation: 87-56=31 Current State: 27:[4, 31], Operations: ['62-58=4', '87-56=31'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[58, 62, 56, 87], Operations: [] Exploring Operation: 87-58=29, Resulting Numbers: [62, 56, 29] Generated Node #0,0: 27:[62, 56, 29] Operation: 87-58=29 Exploring Operation: 62-56=6, Resulting Numbers: [58, 87, 6] Generated Node #0,1: 27:[58, 87, 6] Operation: 62-56=6 Exploring Operation: 87-62=25, Resulting Numbers: [58, 56, 25] Generated Node #0,2: 27:[58, 56, 25] Operation: 87-62=25 Exploring Operation: 62-58=4, Resulting Numbers: [56, 87, 4] Generated Node #0,3: 27:[56, 87, 4] Operation: 62-58=4 Exploring Operation: 87-56=31, Resulting Numbers: [58, 62, 31] Generated Node #0,4: 27:[58, 62, 31] Operation: 87-56=31 Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[58, 56, 25], Operations: ['87-62=25'] Exploring Operation: 58-25=33, Resulting Numbers: [56, 33] Generated Node #0,2,0: 27:[56, 33] Operation: 58-25=33 Exploring Operation: 58+25=83, Resulting Numbers: [56, 83] Generated Node #0,2,1: 27:[56, 83] Operation: 58+25=83 Exploring Operation: 58-56=2, Resulting Numbers: [25, 2] Generated Node #0,2,2: 27:[25, 2] Operation: 58-56=2 Exploring Operation: 56-25=31, Resulting Numbers: [58, 31] Generated Node #0,2,3: 27:[58, 31] Operation: 56-25=31 Exploring Operation: 56+25=81, Resulting Numbers: [58, 81] Generated Node #0,2,4: 27:[58, 81] Operation: 56+25=81 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 27:[25, 2], Operations: ['87-62=25', '58-56=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,27 unequal: No Solution Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[58, 62, 56, 87], Operations: [] Exploring Operation: 87-62=25, Resulting Numbers: [58, 56, 25] Generated Node #0,2: 27:[58, 56, 25] Operation: 87-62=25 Moving to Node #0,2 Current State: 27:[58, 56, 25], Operations: ['87-62=25'] Exploring Operation: 58-56=2, Resulting Numbers: [25, 2] Generated Node #0,2,2: 27:[25, 2] Operation: 58-56=2 Moving to Node #0,2,2 Current State: 27:[25, 2], Operations: ['87-62=25', '58-56=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 90, 45, 65, 70 ]
99
[ "70-65=5", "45/5=9", "90+9=99" ]
Current State: 99:[90, 45, 65, 70], Operations: [] Exploring Operation: 70-65=5, Resulting Numbers: [90, 45, 5] Generated Node #2: [90, 45, 5] from Operation: 70-65=5 Current State: 99:[90, 45, 5], Operations: ['70-65=5'] Exploring Operation: 45/5=9, Resulting Numbers: [90, 9] Generated Node #3: [90, 9] from Operation: 45/5=9 Current State: 99:[90, 9], Operations: ['70-65=5', '45/5=9'] Exploring Operation: 90+9=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[90, 45, 65, 70], Operations: [] Exploring Operation: 70-65=5, Resulting Numbers: [90, 45, 5] Generated Node #0,0: 99:[90, 45, 5] Operation: 70-65=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[90, 45, 5], Operations: ['70-65=5'] Exploring Operation: 90/45=2, Resulting Numbers: [5, 2] Generated Node #0,0,0: 99:[5, 2] Operation: 90/45=2 Moving to Node #0,0,0 Current State: 99:[5, 2], Operations: ['70-65=5', '90/45=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 78, 18, 6, 35 ]
27
[ "18/6=3", "35*3=105", "105-78=27" ]
Current State: 27:[78, 18, 6, 35], Operations: [] Exploring Operation: 18/6=3, Resulting Numbers: [78, 35, 3] Generated Node #2: [78, 35, 3] from Operation: 18/6=3 Current State: 27:[78, 35, 3], Operations: ['18/6=3'] Exploring Operation: 35*3=105, Resulting Numbers: [78, 105] Generated Node #3: [78, 105] from Operation: 35*3=105 Current State: 27:[78, 105], Operations: ['18/6=3', '35*3=105'] Exploring Operation: 105-78=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[78, 18, 6, 35], Operations: [] Exploring Operation: 78-35=43, Resulting Numbers: [18, 6, 43] Generated Node #0,0: 27:[18, 6, 43] Operation: 78-35=43 Exploring Operation: 78-18=60, Resulting Numbers: [6, 35, 60] Generated Node #0,1: 27:[6, 35, 60] Operation: 78-18=60 Exploring Operation: 78/6=13, Resulting Numbers: [18, 35, 13] Generated Node #0,2: 27:[18, 35, 13] Operation: 78/6=13 Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[18, 35, 13], Operations: ['78/6=13'] Exploring Operation: 35-18=17, Resulting Numbers: [13, 17] Generated Node #0,2,0: 27:[13, 17] Operation: 35-18=17 Exploring Operation: 18+13=31, Resulting Numbers: [35, 31] Generated Node #0,2,1: 27:[35, 31] Operation: 18+13=31 Exploring Operation: 18-13=5, Resulting Numbers: [35, 5] Generated Node #0,2,2: 27:[35, 5] Operation: 18-13=5 Moving to Node #0,2,2 Current State: 27:[35, 5], Operations: ['78/6=13', '18-13=5'] Exploring Operation: 35+5=40, Resulting Numbers: [40] 40,27 unequal: No Solution Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,27 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,27 unequal: No Solution Moving to Node #0,2,0 Current State: 27:[13, 17], Operations: ['78/6=13', '35-18=17'] Exploring Operation: 13+17=30, Resulting Numbers: [30] 30,27 unequal: No Solution Exploring Operation: 13*17=221, Resulting Numbers: [221] 221,27 unequal: No Solution Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,27 unequal: No Solution Moving to Node #0,2,1 Current State: 27:[35, 31], Operations: ['78/6=13', '18+13=31'] Exploring Operation: 35*31=1085, Resulting Numbers: [1085] 1085,27 unequal: No Solution Exploring Operation: 35+31=66, Resulting Numbers: [66] 66,27 unequal: No Solution Exploring Operation: 35-31=4, Resulting Numbers: [4] 4,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[18, 6, 43], Operations: ['78-35=43'] Exploring Operation: 18+6=24, Resulting Numbers: [43, 24] Generated Node #0,0,0: 27:[43, 24] Operation: 18+6=24 Exploring Operation: 43-18=25, Resulting Numbers: [6, 25] Generated Node #0,0,1: 27:[6, 25] Operation: 43-18=25 Exploring Operation: 18/6=3, Resulting Numbers: [43, 3] Generated Node #0,0,2: 27:[43, 3] Operation: 18/6=3 Moving to Node #0,0,1 Current State: 27:[6, 25], Operations: ['78-35=43', '43-18=25'] Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,27 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,27 unequal: No Solution Moving to Node #0,0,2 Current State: 27:[43, 3], Operations: ['78-35=43', '18/6=3'] Exploring Operation: 43*3=129, Resulting Numbers: [129] 129,27 unequal: No Solution Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,27 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[43, 24], Operations: ['78-35=43', '18+6=24'] Exploring Operation: 43*24=1032, Resulting Numbers: [1032] 1032,27 unequal: No Solution Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 43+24=67, Resulting Numbers: [67] 67,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[6, 35, 60], Operations: ['78-18=60'] Exploring Operation: 60/6=10, Resulting Numbers: [35, 10] Generated Node #0,1,0: 27:[35, 10] Operation: 60/6=10 Exploring Operation: 60-35=25, Resulting Numbers: [6, 25] Generated Node #0,1,1: 27:[6, 25] Operation: 60-35=25 Exploring Operation: 35-6=29, Resulting Numbers: [60, 29] Generated Node #0,1,2: 27:[60, 29] Operation: 35-6=29 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 27:[6, 25], Operations: ['78-18=60', '60-35=25'] Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,27 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 27:[35, 10], Operations: ['78-18=60', '60/6=10'] Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,27 unequal: No Solution Exploring Operation: 35*10=350, Resulting Numbers: [350] 350,27 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 27:[60, 29], Operations: ['78-18=60', '35-6=29'] Exploring Operation: 60*29=1740, Resulting Numbers: [1740] 1740,27 unequal: No Solution Exploring Operation: 60+29=89, Resulting Numbers: [89] 89,27 unequal: No Solution Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 76, 31, 74, 99 ]
37
[ "76-74=2", "31*2=62", "99-62=37" ]
Current State: 37:[76, 31, 74, 99], Operations: [] Exploring Operation: 76-74=2, Resulting Numbers: [31, 99, 2] Generated Node #2: [31, 99, 2] from Operation: 76-74=2 Current State: 37:[31, 99, 2], Operations: ['76-74=2'] Exploring Operation: 31*2=62, Resulting Numbers: [99, 62] Generated Node #3: [99, 62] from Operation: 31*2=62 Current State: 37:[99, 62], Operations: ['76-74=2', '31*2=62'] Exploring Operation: 99-62=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[76, 31, 74, 99], Operations: [] Exploring Operation: 76-31=45, Resulting Numbers: [74, 99, 45] Generated Node #0,0: 37:[74, 99, 45] Operation: 76-31=45 Exploring Operation: 76-74=2, Resulting Numbers: [31, 99, 2] Generated Node #0,1: 37:[31, 99, 2] Operation: 76-74=2 Exploring Operation: 99-74=25, Resulting Numbers: [76, 31, 25] Generated Node #0,2: 37:[76, 31, 25] Operation: 99-74=25 Exploring Operation: 99-76=23, Resulting Numbers: [31, 74, 23] Generated Node #0,3: 37:[31, 74, 23] Operation: 99-76=23 Moving to Node #0,2 Current State: 37:[76, 31, 25], Operations: ['99-74=25'] Exploring Operation: 31+25=56, Resulting Numbers: [76, 56] Generated Node #0,2,0: 37:[76, 56] Operation: 31+25=56 Exploring Operation: 76-31=45, Resulting Numbers: [25, 45] Generated Node #0,2,1: 37:[25, 45] Operation: 76-31=45 Exploring Operation: 76+25=101, Resulting Numbers: [31, 101] Generated Node #0,2,2: 37:[31, 101] Operation: 76+25=101 Exploring Operation: 76-25=51, Resulting Numbers: [31, 51] Generated Node #0,2,3: 37:[31, 51] Operation: 76-25=51 Moving to Node #0,3 Current State: 37:[31, 74, 23], Operations: ['99-76=23'] Exploring Operation: 74-31=43, Resulting Numbers: [23, 43] Generated Node #0,3,0: 37:[23, 43] Operation: 74-31=43 Exploring Operation: 31-23=8, Resulting Numbers: [74, 8] Generated Node #0,3,1: 37:[74, 8] Operation: 31-23=8 Exploring Operation: 31+23=54, Resulting Numbers: [74, 54] Generated Node #0,3,2: 37:[74, 54] Operation: 31+23=54 Exploring Operation: 74-23=51, Resulting Numbers: [31, 51] Generated Node #0,3,3: 37:[31, 51] Operation: 74-23=51 Moving to Node #0,1 Current State: 37:[31, 99, 2], Operations: ['76-74=2'] Exploring Operation: 99-31=68, Resulting Numbers: [2, 68] Generated Node #0,1,0: 37:[2, 68] Operation: 99-31=68 Exploring Operation: 99-2=97, Resulting Numbers: [31, 97] Generated Node #0,1,1: 37:[31, 97] Operation: 99-2=97 Exploring Operation: 31+2=33, Resulting Numbers: [99, 33] Generated Node #0,1,2: 37:[99, 33] Operation: 31+2=33 Exploring Operation: 31-2=29, Resulting Numbers: [99, 29] Generated Node #0,1,3: 37:[99, 29] Operation: 31-2=29 Moving to Node #0,0 Current State: 37:[74, 99, 45], Operations: ['76-31=45'] Exploring Operation: 74-45=29, Resulting Numbers: [99, 29] Generated Node #0,0,0: 37:[99, 29] Operation: 74-45=29 Exploring Operation: 99-45=54, Resulting Numbers: [74, 54] Generated Node #0,0,1: 37:[74, 54] Operation: 99-45=54 Exploring Operation: 99-74=25, Resulting Numbers: [45, 25] Generated Node #0,0,2: 37:[45, 25] Operation: 99-74=25 Exploring Operation: 74+99=173, Resulting Numbers: [45, 173] Generated Node #0,0,3: 37:[45, 173] Operation: 74+99=173 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 37:[45, 25], Operations: ['76-31=45', '99-74=25'] Exploring Operation: 45*25=1125, Resulting Numbers: [1125] 1125,37 unequal: No Solution Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,37 unequal: No Solution Exploring Operation: 45+25=70, Resulting Numbers: [70] 70,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[74, 54], Operations: ['76-31=45', '99-45=54'] Exploring Operation: 74+54=128, Resulting Numbers: [128] 128,37 unequal: No Solution Exploring Operation: 74-54=20, Resulting Numbers: [20] 20,37 unequal: No Solution Exploring Operation: 74*54=3996, Resulting Numbers: [3996] 3996,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[99, 29], Operations: ['76-31=45', '74-45=29'] Exploring Operation: 99+29=128, Resulting Numbers: [128] 128,37 unequal: No Solution Exploring Operation: 99-29=70, Resulting Numbers: [70] 70,37 unequal: No Solution Exploring Operation: 99*29=2871, Resulting Numbers: [2871] 2871,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 37:[45, 173], Operations: ['76-31=45', '74+99=173'] Exploring Operation: 173-45=128, Resulting Numbers: [128] 128,37 unequal: No Solution Exploring Operation: 45+173=218, Resulting Numbers: [218] 218,37 unequal: No Solution Exploring Operation: 45*173=7785, Resulting Numbers: [7785] 7785,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 37:[25, 45], Operations: ['99-74=25', '76-31=45'] Exploring Operation: 25*45=1125, Resulting Numbers: [1125] 1125,37 unequal: No Solution Exploring Operation: 25+45=70, Resulting Numbers: [70] 70,37 unequal: No Solution Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,37 unequal: No Solution Moving to Node #0,3,3 Current State: 37:[31, 51], Operations: ['99-76=23', '74-23=51'] Exploring Operation: 51-31=20, Resulting Numbers: [20] 20,37 unequal: No Solution Exploring Operation: 31*51=1581, Resulting Numbers: [1581] 1581,37 unequal: No Solution Exploring Operation: 31+51=82, Resulting Numbers: [82] 82,37 unequal: No Solution Moving to Node #0,2,3 Current State: 37:[31, 51], Operations: ['99-74=25', '76-25=51'] Exploring Operation: 51-31=20, Resulting Numbers: [20] 20,37 unequal: No Solution Exploring Operation: 31+51=82, Resulting Numbers: [82] 82,37 unequal: No Solution Exploring Operation: 31*51=1581, Resulting Numbers: [1581] 1581,37 unequal: No Solution Moving to Node #0,3,0 Current State: 37:[23, 43], Operations: ['99-76=23', '74-31=43'] Exploring Operation: 23*43=989, Resulting Numbers: [989] 989,37 unequal: No Solution Exploring Operation: 23+43=66, Resulting Numbers: [66] 66,37 unequal: No Solution Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,37 unequal: No Solution Moving to Node #0,3,2 Current State: 37:[74, 54], Operations: ['99-76=23', '31+23=54'] Exploring Operation: 74+54=128, Resulting Numbers: [128] 128,37 unequal: No Solution Exploring Operation: 74*54=3996, Resulting Numbers: [3996] 3996,37 unequal: No Solution Exploring Operation: 74-54=20, Resulting Numbers: [20] 20,37 unequal: No Solution Moving to Node #0,2,0 Current State: 37:[76, 56], Operations: ['99-74=25', '31+25=56'] Exploring Operation: 76+56=132, Resulting Numbers: [132] 132,37 unequal: No Solution Exploring Operation: 76*56=4256, Resulting Numbers: [4256] 4256,37 unequal: No Solution Exploring Operation: 76-56=20, Resulting Numbers: [20] 20,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[2, 68], Operations: ['76-74=2', '99-31=68'] Exploring Operation: 2*68=136, Resulting Numbers: [136] 136,37 unequal: No Solution Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,37 unequal: No Solution Exploring Operation: 2+68=70, Resulting Numbers: [70] 70,37 unequal: No Solution Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[31, 97], Operations: ['76-74=2', '99-2=97'] Exploring Operation: 97-31=66, Resulting Numbers: [66] 66,37 unequal: No Solution Exploring Operation: 31+97=128, Resulting Numbers: [128] 128,37 unequal: No Solution Exploring Operation: 31*97=3007, Resulting Numbers: [3007] 3007,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[99, 33], Operations: ['76-74=2', '31+2=33'] Exploring Operation: 99+33=132, Resulting Numbers: [132] 132,37 unequal: No Solution Exploring Operation: 99/33=3, Resulting Numbers: [3] 3,37 unequal: No Solution Exploring Operation: 99-33=66, Resulting Numbers: [66] 66,37 unequal: No Solution Exploring Operation: 99*33=3267, Resulting Numbers: [3267] 3267,37 unequal: No Solution Moving to Node #0,3,1 Current State: 37:[74, 8], Operations: ['99-76=23', '31-23=8'] Exploring Operation: 74*8=592, Resulting Numbers: [592] 592,37 unequal: No Solution Exploring Operation: 74+8=82, Resulting Numbers: [82] 82,37 unequal: No Solution Exploring Operation: 74-8=66, Resulting Numbers: [66] 66,37 unequal: No Solution Moving to Node #0,1,3 Current State: 37:[99, 29], Operations: ['76-74=2', '31-2=29'] Exploring Operation: 99-29=70, Resulting Numbers: [70] 70,37 unequal: No Solution Exploring Operation: 99*29=2871, Resulting Numbers: [2871] 2871,37 unequal: No Solution Exploring Operation: 99+29=128, Resulting Numbers: [128] 128,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[31, 101], Operations: ['99-74=25', '76+25=101'] Exploring Operation: 31+101=132, Resulting Numbers: [132] 132,37 unequal: No Solution Exploring Operation: 31*101=3131, Resulting Numbers: [3131] 3131,37 unequal: No Solution Exploring Operation: 101-31=70, Resulting Numbers: [70] 70,37 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 26, 45, 41, 32 ]
82
[ "26*41=1066", "45-32=13", "1066/13=82" ]
Current State: 82:[26, 45, 41, 32], Operations: [] Exploring Operation: 26*41=1066, Resulting Numbers: [45, 32, 1066] Generated Node #2: [45, 32, 1066] from Operation: 26*41=1066 Current State: 82:[45, 32, 1066], Operations: ['26*41=1066'] Exploring Operation: 45-32=13, Resulting Numbers: [1066, 13] Generated Node #3: [1066, 13] from Operation: 45-32=13 Current State: 82:[1066, 13], Operations: ['26*41=1066', '45-32=13'] Exploring Operation: 1066/13=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[26, 45, 41, 32], Operations: [] Exploring Operation: 45-26=19, Resulting Numbers: [41, 32, 19] Generated Node #0,0: 82:[41, 32, 19] Operation: 45-26=19 Exploring Operation: 32-26=6, Resulting Numbers: [45, 41, 6] Generated Node #0,1: 82:[45, 41, 6] Operation: 32-26=6 Exploring Operation: 26+32=58, Resulting Numbers: [45, 41, 58] Generated Node #0,2: 82:[45, 41, 58] Operation: 26+32=58 Exploring Operation: 26+45=71, Resulting Numbers: [41, 32, 71] Generated Node #0,3: 82:[41, 32, 71] Operation: 26+45=71 Exploring Operation: 45+32=77, Resulting Numbers: [26, 41, 77] Generated Node #0,4: 82:[26, 41, 77] Operation: 45+32=77 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[45, 41, 6], Operations: ['32-26=6'] Exploring Operation: 45-41=4, Resulting Numbers: [6, 4] Generated Node #0,1,0: 82:[6, 4] Operation: 45-41=4 Exploring Operation: 41+6=47, Resulting Numbers: [45, 47] Generated Node #0,1,1: 82:[45, 47] Operation: 41+6=47 Exploring Operation: 45+6=51, Resulting Numbers: [41, 51] Generated Node #0,1,2: 82:[41, 51] Operation: 45+6=51 Exploring Operation: 45+41=86, Resulting Numbers: [6, 86] Generated Node #0,1,3: 82:[6, 86] Operation: 45+41=86 Exploring Operation: 45-6=39, Resulting Numbers: [41, 39] Generated Node #0,1,4: 82:[41, 39] Operation: 45-6=39 Moving to Node #0,1,4 Current State: 82:[41, 39], Operations: ['32-26=6', '45-6=39'] Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,82 unequal: No Solution Exploring Operation: 41*39=1599, Resulting Numbers: [1599] 1599,82 unequal: No Solution Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[6, 4], Operations: ['32-26=6', '45-41=4'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,82 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,82 unequal: No Solution Moving to Node #0,1,3 Current State: 82:[6, 86], Operations: ['32-26=6', '45+41=86'] Exploring Operation: 6+86=92, Resulting Numbers: [92] 92,82 unequal: No Solution Exploring Operation: 86-6=80, Resulting Numbers: [80] 80,82 unequal: No Solution Exploring Operation: 6*86=516, Resulting Numbers: [516] 516,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[45, 47], Operations: ['32-26=6', '41+6=47'] Exploring Operation: 45*47=2115, Resulting Numbers: [2115] 2115,82 unequal: No Solution Exploring Operation: 45+47=92, Resulting Numbers: [92] 92,82 unequal: No Solution Exploring Operation: 47-45=2, Resulting Numbers: [2] 2,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[41, 51], Operations: ['32-26=6', '45+6=51'] Exploring Operation: 51-41=10, Resulting Numbers: [10] 10,82 unequal: No Solution Exploring Operation: 41*51=2091, Resulting Numbers: [2091] 2091,82 unequal: No Solution Exploring Operation: 41+51=92, Resulting Numbers: [92] 92,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,3 Current State: 82:[41, 32, 71], Operations: ['26+45=71'] Exploring Operation: 71-32=39, Resulting Numbers: [41, 39] Generated Node #0,3,0: 82:[41, 39] Operation: 71-32=39 Exploring Operation: 71-41=30, Resulting Numbers: [32, 30] Generated Node #0,3,1: 82:[32, 30] Operation: 71-41=30 Exploring Operation: 32+71=103, Resulting Numbers: [41, 103] Generated Node #0,3,2: 82:[41, 103] Operation: 32+71=103 Exploring Operation: 41+32=73, Resulting Numbers: [71, 73] Generated Node #0,3,3: 82:[71, 73] Operation: 41+32=73 Exploring Operation: 41-32=9, Resulting Numbers: [71, 9] Generated Node #0,3,4: 82:[71, 9] Operation: 41-32=9 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 82:[41, 39], Operations: ['26+45=71', '71-32=39'] Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,82 unequal: No Solution Exploring Operation: 41*39=1599, Resulting Numbers: [1599] 1599,82 unequal: No Solution Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,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,3,4 Current State: 82:[71, 9], Operations: ['26+45=71', '41-32=9'] Exploring Operation: 71*9=639, Resulting Numbers: [639] 639,82 unequal: No Solution Exploring Operation: 71-9=62, Resulting Numbers: [62] 62,82 unequal: No Solution Exploring Operation: 71+9=80, Resulting Numbers: [80] 80,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,3,1 Current State: 82:[32, 30], Operations: ['26+45=71', '71-41=30'] Exploring Operation: 32+30=62, Resulting Numbers: [62] 62,82 unequal: No Solution Exploring Operation: 32*30=960, Resulting Numbers: [960] 960,82 unequal: No Solution Exploring Operation: 32-30=2, Resulting Numbers: [2] 2,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,3,3 Current State: 82:[71, 73], Operations: ['26+45=71', '41+32=73'] Exploring Operation: 71*73=5183, Resulting Numbers: [5183] 5183,82 unequal: No Solution Exploring Operation: 71+73=144, Resulting Numbers: [144] 144,82 unequal: No Solution Exploring Operation: 73-71=2, Resulting Numbers: [2] 2,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,3,2 Current State: 82:[41, 103], Operations: ['26+45=71', '32+71=103'] Exploring Operation: 41+103=144, Resulting Numbers: [144] 144,82 unequal: No Solution Exploring Operation: 41*103=4223, Resulting Numbers: [4223] 4223,82 unequal: No Solution Exploring Operation: 103-41=62, Resulting Numbers: [62] 62,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,4 Current State: 82:[26, 41, 77], Operations: ['45+32=77'] Exploring Operation: 77-26=51, Resulting Numbers: [41, 51] Generated Node #0,4,0: 82:[41, 51] Operation: 77-26=51 Exploring Operation: 41-26=15, Resulting Numbers: [77, 15] Generated Node #0,4,1: 82:[77, 15] Operation: 41-26=15 Exploring Operation: 26+41=67, Resulting Numbers: [77, 67] Generated Node #0,4,2: 82:[77, 67] Operation: 26+41=67 Exploring Operation: 26+77=103, Resulting Numbers: [41, 103] Generated Node #0,4,3: 82:[41, 103] Operation: 26+77=103 Exploring Operation: 77-41=36, Resulting Numbers: [26, 36] Generated Node #0,4,4: 82:[26, 36] Operation: 77-41=36 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 82:[41, 51], Operations: ['45+32=77', '77-26=51'] Exploring Operation: 51-41=10, Resulting Numbers: [10] 10,82 unequal: No Solution Exploring Operation: 41+51=92, Resulting Numbers: [92] 92,82 unequal: No Solution Exploring Operation: 41*51=2091, Resulting Numbers: [2091] 2091,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:[77, 15], Operations: ['45+32=77', '41-26=15'] Exploring Operation: 77*15=1155, Resulting Numbers: [1155] 1155,82 unequal: No Solution Exploring Operation: 77-15=62, Resulting Numbers: [62] 62,82 unequal: No Solution Exploring Operation: 77+15=92, Resulting Numbers: [92] 92,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,2 Current State: 82:[77, 67], Operations: ['45+32=77', '26+41=67'] Exploring Operation: 77+67=144, Resulting Numbers: [144] 144,82 unequal: No Solution Exploring Operation: 77*67=5159, Resulting Numbers: [5159] 5159,82 unequal: No Solution Exploring Operation: 77-67=10, Resulting Numbers: [10] 10,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:[26, 36], Operations: ['45+32=77', '77-41=36'] Exploring Operation: 26+36=62, Resulting Numbers: [62] 62,82 unequal: No Solution Exploring Operation: 26*36=936, Resulting Numbers: [936] 936,82 unequal: No Solution Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,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:[41, 103], Operations: ['45+32=77', '26+77=103'] Exploring Operation: 41*103=4223, Resulting Numbers: [4223] 4223,82 unequal: No Solution Exploring Operation: 41+103=144, Resulting Numbers: [144] 144,82 unequal: No Solution Exploring Operation: 103-41=62, Resulting Numbers: [62] 62,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,2 Current State: 82:[45, 41, 58], Operations: ['26+32=58'] Exploring Operation: 58-41=17, Resulting Numbers: [45, 17] Generated Node #0,2,0: 82:[45, 17] Operation: 58-41=17 Exploring Operation: 45+58=103, Resulting Numbers: [41, 103] Generated Node #0,2,1: 82:[41, 103] Operation: 45+58=103 Exploring Operation: 58-45=13, Resulting Numbers: [41, 13] Generated Node #0,2,2: 82:[41, 13] Operation: 58-45=13 Exploring Operation: 45-41=4, Resulting Numbers: [58, 4] Generated Node #0,2,3: 82:[58, 4] Operation: 45-41=4 Exploring Operation: 45+41=86, Resulting Numbers: [58, 86] Generated Node #0,2,4: 82:[58, 86] Operation: 45+41=86 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 82:[41, 13], Operations: ['26+32=58', '58-45=13'] Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,82 unequal: No Solution Exploring Operation: 41*13=533, Resulting Numbers: [533] 533,82 unequal: No Solution Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,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:[45, 17], Operations: ['26+32=58', '58-41=17'] Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,82 unequal: No Solution Exploring Operation: 45+17=62, Resulting Numbers: [62] 62,82 unequal: No Solution Exploring Operation: 45*17=765, Resulting Numbers: [765] 765,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,3 Current State: 82:[58, 4], Operations: ['26+32=58', '45-41=4'] Exploring Operation: 58+4=62, Resulting Numbers: [62] 62,82 unequal: No Solution Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,82 unequal: No Solution Exploring Operation: 58*4=232, Resulting Numbers: [232] 232,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:[41, 103], Operations: ['26+32=58', '45+58=103'] Exploring Operation: 41*103=4223, Resulting Numbers: [4223] 4223,82 unequal: No Solution Exploring Operation: 41+103=144, Resulting Numbers: [144] 144,82 unequal: No Solution Exploring Operation: 103-41=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,2,4 Current State: 82:[58, 86], Operations: ['26+32=58', '45+41=86'] Exploring Operation: 58*86=4988, Resulting Numbers: [4988] 4988,82 unequal: No Solution Exploring Operation: 86-58=28, Resulting Numbers: [28] 28,82 unequal: No Solution Exploring Operation: 58+86=144, Resulting Numbers: [144] 144,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:[41, 32, 19], Operations: ['45-26=19'] Exploring Operation: 41-32=9, Resulting Numbers: [19, 9] Generated Node #0,0,0: 82:[19, 9] Operation: 41-32=9 Exploring Operation: 32+19=51, Resulting Numbers: [41, 51] Generated Node #0,0,1: 82:[41, 51] Operation: 32+19=51 Exploring Operation: 41+32=73, Resulting Numbers: [19, 73] Generated Node #0,0,2: 82:[19, 73] Operation: 41+32=73 Exploring Operation: 41+19=60, Resulting Numbers: [32, 60] Generated Node #0,0,3: 82:[32, 60] Operation: 41+19=60 Exploring Operation: 32-19=13, Resulting Numbers: [41, 13] Generated Node #0,0,4: 82:[41, 13] Operation: 32-19=13 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 82:[41, 51], Operations: ['45-26=19', '32+19=51'] Exploring Operation: 41+51=92, Resulting Numbers: [92] 92,82 unequal: No Solution Exploring Operation: 41*51=2091, Resulting Numbers: [2091] 2091,82 unequal: No Solution Exploring Operation: 51-41=10, Resulting Numbers: [10] 10,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:[41, 13], Operations: ['45-26=19', '32-19=13'] Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,82 unequal: No Solution Exploring Operation: 41*13=533, Resulting Numbers: [533] 533,82 unequal: No Solution Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,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:[19, 9], Operations: ['45-26=19', '41-32=9'] Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,82 unequal: No Solution Exploring Operation: 19*9=171, Resulting Numbers: [171] 171,82 unequal: No Solution Exploring Operation: 19+9=28, Resulting Numbers: [28] 28,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:[19, 73], Operations: ['45-26=19', '41+32=73'] Exploring Operation: 19+73=92, Resulting Numbers: [92] 92,82 unequal: No Solution Exploring Operation: 73-19=54, Resulting Numbers: [54] 54,82 unequal: No Solution Exploring Operation: 19*73=1387, Resulting Numbers: [1387] 1387,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:[32, 60], Operations: ['45-26=19', '41+19=60'] Exploring Operation: 32*60=1920, Resulting Numbers: [1920] 1920,82 unequal: No Solution Exploring Operation: 60-32=28, Resulting Numbers: [28] 28,82 unequal: No Solution Exploring Operation: 32+60=92, Resulting Numbers: [92] 92,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 46, 2, 82, 67 ]
77
[ "46*2=92", "82-67=15", "92-15=77" ]
Current State: 77:[46, 2, 82, 67], Operations: [] Exploring Operation: 46*2=92, Resulting Numbers: [82, 67, 92] Generated Node #2: [82, 67, 92] from Operation: 46*2=92 Current State: 77:[82, 67, 92], Operations: ['46*2=92'] Exploring Operation: 82-67=15, Resulting Numbers: [92, 15] Generated Node #3: [92, 15] from Operation: 82-67=15 Current State: 77:[92, 15], Operations: ['46*2=92', '82-67=15'] Exploring Operation: 92-15=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[46, 2, 82, 67], Operations: [] Exploring Operation: 67-46=21, Resulting Numbers: [2, 82, 21] Generated Node #0,0: 77:[2, 82, 21] Operation: 67-46=21 Exploring Operation: 46*2=92, Resulting Numbers: [82, 67, 92] Generated Node #0,1: 77:[82, 67, 92] Operation: 46*2=92 Exploring Operation: 46/2=23, Resulting Numbers: [82, 67, 23] Generated Node #0,2: 77:[82, 67, 23] Operation: 46/2=23 Exploring Operation: 82-46=36, Resulting Numbers: [2, 67, 36] Generated Node #0,3: 77:[2, 67, 36] Operation: 82-46=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[2, 82, 21], Operations: ['67-46=21'] Exploring Operation: 2+21=23, Resulting Numbers: [82, 23] Generated Node #0,0,0: 77:[82, 23] Operation: 2+21=23 Exploring Operation: 82-2=80, Resulting Numbers: [21, 80] Generated Node #0,0,1: 77:[21, 80] Operation: 82-2=80 Exploring Operation: 2+82=84, Resulting Numbers: [21, 84] Generated Node #0,0,2: 77:[21, 84] Operation: 2+82=84 Exploring Operation: 21-2=19, Resulting Numbers: [82, 19] Generated Node #0,0,3: 77:[82, 19] Operation: 21-2=19 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 77:[21, 80], Operations: ['67-46=21', '82-2=80'] Exploring Operation: 21*80=1680, Resulting Numbers: [1680] 1680,77 unequal: No Solution Exploring Operation: 21+80=101, Resulting Numbers: [101] 101,77 unequal: No Solution Exploring Operation: 80-21=59, Resulting Numbers: [59] 59,77 unequal: No Solution No 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: 77:[82, 19], Operations: ['67-46=21', '21-2=19'] Exploring Operation: 82+19=101, Resulting Numbers: [101] 101,77 unequal: No Solution Exploring Operation: 82-19=63, Resulting Numbers: [63] 63,77 unequal: No Solution Exploring Operation: 82*19=1558, Resulting Numbers: [1558] 1558,77 unequal: No Solution No 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: 77:[82, 23], Operations: ['67-46=21', '2+21=23'] Exploring Operation: 82*23=1886, Resulting Numbers: [1886] 1886,77 unequal: No Solution Exploring Operation: 82-23=59, Resulting Numbers: [59] 59,77 unequal: No Solution Exploring Operation: 82+23=105, Resulting Numbers: [105] 105,77 unequal: No Solution No 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: 77:[21, 84], Operations: ['67-46=21', '2+82=84'] Exploring Operation: 21*84=1764, Resulting Numbers: [1764] 1764,77 unequal: No Solution Exploring Operation: 21+84=105, Resulting Numbers: [105] 105,77 unequal: No Solution Exploring Operation: 84-21=63, Resulting Numbers: [63] 63,77 unequal: No Solution Exploring Operation: 84/21=4, Resulting Numbers: [4] 4,77 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: 77:[82, 67, 23], Operations: ['46/2=23'] Exploring Operation: 67+23=90, Resulting Numbers: [82, 90] Generated Node #0,2,0: 77:[82, 90] Operation: 67+23=90 Exploring Operation: 82-23=59, Resulting Numbers: [67, 59] Generated Node #0,2,1: 77:[67, 59] Operation: 82-23=59 Exploring Operation: 82-67=15, Resulting Numbers: [23, 15] Generated Node #0,2,2: 77:[23, 15] Operation: 82-67=15 Exploring Operation: 82+23=105, Resulting Numbers: [67, 105] Generated Node #0,2,3: 77:[67, 105] Operation: 82+23=105 Moving to Node #0,2,2 Current State: 77:[23, 15], Operations: ['46/2=23', '82-67=15'] Exploring Operation: 23*15=345, Resulting Numbers: [345] 345,77 unequal: No Solution Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 23+15=38, Resulting Numbers: [38] 38,77 unequal: No Solution Moving to Node #0,2,0 Current State: 77:[82, 90], Operations: ['46/2=23', '67+23=90'] Exploring Operation: 90-82=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 82*90=7380, Resulting Numbers: [7380] 7380,77 unequal: No Solution Exploring Operation: 82+90=172, Resulting Numbers: [172] 172,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[67, 59], Operations: ['46/2=23', '82-23=59'] Exploring Operation: 67+59=126, Resulting Numbers: [126] 126,77 unequal: No Solution Exploring Operation: 67-59=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 67*59=3953, Resulting Numbers: [3953] 3953,77 unequal: No Solution Moving to Node #0,2,3 Current State: 77:[67, 105], Operations: ['46/2=23', '82+23=105'] Exploring Operation: 105-67=38, Resulting Numbers: [38] 38,77 unequal: No Solution Exploring Operation: 67+105=172, Resulting Numbers: [172] 172,77 unequal: No Solution Exploring Operation: 67*105=7035, Resulting Numbers: [7035] 7035,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 Current State: 77:[82, 67, 92], Operations: ['46*2=92'] Exploring Operation: 92-67=25, Resulting Numbers: [82, 25] Generated Node #0,1,0: 77:[82, 25] Operation: 92-67=25 Exploring Operation: 82+67=149, Resulting Numbers: [92, 149] Generated Node #0,1,1: 77:[92, 149] Operation: 82+67=149 Exploring Operation: 82-67=15, Resulting Numbers: [92, 15] Generated Node #0,1,2: 77:[92, 15] Operation: 82-67=15 Exploring Operation: 92-82=10, Resulting Numbers: [67, 10] Generated Node #0,1,3: 77:[67, 10] Operation: 92-82=10 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 77:[67, 10], Operations: ['46*2=92', '92-82=10'] Exploring Operation: 67*10=670, Resulting Numbers: [670] 670,77 unequal: No Solution Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,77 unequal: No Solution Exploring Operation: 67+10=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[46, 2, 82, 67], Operations: [] Exploring Operation: 46*2=92, Resulting Numbers: [82, 67, 92] Generated Node #0,1: 77:[82, 67, 92] Operation: 46*2=92 Moving to Node #0,1 Current State: 77:[82, 67, 92], Operations: ['46*2=92'] Exploring Operation: 92-82=10, Resulting Numbers: [67, 10] Generated Node #0,1,3: 77:[67, 10] Operation: 92-82=10 Moving to Node #0,1,3 Current State: 77:[67, 10], Operations: ['46*2=92', '92-82=10'] Exploring Operation: 67+10=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.958333
hs_4
mult_heuristic
[ 25, 8, 26, 93 ]
34
[ "25+8=33", "93-26=67", "67-33=34" ]
Current State: 34:[25, 8, 26, 93], Operations: [] Exploring Operation: 25+8=33, Resulting Numbers: [26, 93, 33] Generated Node #2: [26, 93, 33] from Operation: 25+8=33 Current State: 34:[26, 93, 33], Operations: ['25+8=33'] Exploring Operation: 93-26=67, Resulting Numbers: [33, 67] Generated Node #3: [33, 67] from Operation: 93-26=67 Current State: 34:[33, 67], Operations: ['25+8=33', '93-26=67'] Exploring Operation: 67-33=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[25, 8, 26, 93], Operations: [] Exploring Operation: 93-26=67, Resulting Numbers: [25, 8, 67] Generated Node #0,0: 34:[25, 8, 67] Operation: 93-26=67 Moving to Node #0,0 Current State: 34:[25, 8, 67], Operations: ['93-26=67'] Exploring Operation: 67-25=42, Resulting Numbers: [8, 42] Generated Node #0,0,0: 34:[8, 42] Operation: 67-25=42 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[8, 42], Operations: ['93-26=67', '67-25=42'] Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[25, 8, 26, 93], Operations: [] Exploring Operation: 93-26=67, Resulting Numbers: [25, 8, 67] Generated Node #0,0: 34:[25, 8, 67] Operation: 93-26=67 Moving to Node #0,0 Current State: 34:[25, 8, 67], Operations: ['93-26=67'] Exploring Operation: 67-25=42, Resulting Numbers: [8, 42] Generated Node #0,0,0: 34:[8, 42] Operation: 67-25=42 Moving to Node #0,0,0 Current State: 34:[8, 42], Operations: ['93-26=67', '67-25=42'] Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 15, 82, 94, 13 ]
35
[ "15-13=2", "94/2=47", "82-47=35" ]
Current State: 35:[15, 82, 94, 13], Operations: [] Exploring Operation: 15-13=2, Resulting Numbers: [82, 94, 2] Generated Node #2: [82, 94, 2] from Operation: 15-13=2 Current State: 35:[82, 94, 2], Operations: ['15-13=2'] Exploring Operation: 94/2=47, Resulting Numbers: [82, 47] Generated Node #3: [82, 47] from Operation: 94/2=47 Current State: 35:[82, 47], Operations: ['15-13=2', '94/2=47'] Exploring Operation: 82-47=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[15, 82, 94, 13], Operations: [] Exploring Operation: 94-82=12, Resulting Numbers: [15, 13, 12] Generated Node #0,0: 35:[15, 13, 12] Operation: 94-82=12 Moving to Node #0,0 Current State: 35:[15, 13, 12], Operations: ['94-82=12'] Exploring Operation: 15-13=2, Resulting Numbers: [12, 2] Generated Node #0,0,0: 35:[12, 2] Operation: 15-13=2 Moving to Node #0,0,0 Current State: 35:[12, 2], Operations: ['94-82=12', '15-13=2'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,35 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 72, 86, 80, 98 ]
23
[ "80-72=8", "86+98=184", "184/8=23" ]
Current State: 23:[72, 86, 80, 98], Operations: [] Exploring Operation: 80-72=8, Resulting Numbers: [86, 98, 8] Generated Node #2: [86, 98, 8] from Operation: 80-72=8 Current State: 23:[86, 98, 8], Operations: ['80-72=8'] Exploring Operation: 86+98=184, Resulting Numbers: [8, 184] Generated Node #3: [8, 184] from Operation: 86+98=184 Current State: 23:[8, 184], Operations: ['80-72=8', '86+98=184'] Exploring Operation: 184/8=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[72, 86, 80, 98], Operations: [] Exploring Operation: 98-80=18, Resulting Numbers: [72, 86, 18] Generated Node #0,0: 23:[72, 86, 18] Operation: 98-80=18 Exploring Operation: 86-72=14, Resulting Numbers: [80, 98, 14] Generated Node #0,1: 23:[80, 98, 14] Operation: 86-72=14 Exploring Operation: 98-86=12, Resulting Numbers: [72, 80, 12] Generated Node #0,2: 23:[72, 80, 12] Operation: 98-86=12 Exploring Operation: 98-72=26, Resulting Numbers: [86, 80, 26] Generated Node #0,3: 23:[86, 80, 26] Operation: 98-72=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[72, 86, 18], Operations: ['98-80=18'] Exploring Operation: 72-18=54, Resulting Numbers: [86, 54] Generated Node #0,0,0: 23:[86, 54] Operation: 72-18=54 Exploring Operation: 86-18=68, Resulting Numbers: [72, 68] Generated Node #0,0,1: 23:[72, 68] Operation: 86-18=68 Exploring Operation: 72/18=4, Resulting Numbers: [86, 4] Generated Node #0,0,2: 23:[86, 4] Operation: 72/18=4 Exploring Operation: 86-72=14, Resulting Numbers: [18, 14] Generated Node #0,0,3: 23:[18, 14] Operation: 86-72=14 Moving to Node #0,0,3 Current State: 23:[18, 14], Operations: ['98-80=18', '86-72=14'] Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 18+14=32, Resulting Numbers: [32] 32,23 unequal: No Solution Exploring Operation: 18*14=252, Resulting Numbers: [252] 252,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[86, 4], Operations: ['98-80=18', '72/18=4'] Exploring Operation: 86*4=344, Resulting Numbers: [344] 344,23 unequal: No Solution Exploring Operation: 86+4=90, Resulting Numbers: [90] 90,23 unequal: No Solution Exploring Operation: 86-4=82, Resulting Numbers: [82] 82,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[72, 68], Operations: ['98-80=18', '86-18=68'] Exploring Operation: 72+68=140, Resulting Numbers: [140] 140,23 unequal: No Solution Exploring Operation: 72-68=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 72*68=4896, Resulting Numbers: [4896] 4896,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[86, 54], Operations: ['98-80=18', '72-18=54'] Exploring Operation: 86*54=4644, Resulting Numbers: [4644] 4644,23 unequal: No Solution Exploring Operation: 86-54=32, Resulting Numbers: [32] 32,23 unequal: No Solution Exploring Operation: 86+54=140, Resulting Numbers: [140] 140,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[72, 80, 12], Operations: ['98-86=12'] Exploring Operation: 72-12=60, Resulting Numbers: [80, 60] Generated Node #0,2,0: 23:[80, 60] Operation: 72-12=60 Exploring Operation: 72/12=6, Resulting Numbers: [80, 6] Generated Node #0,2,1: 23:[80, 6] Operation: 72/12=6 Exploring Operation: 80-72=8, Resulting Numbers: [12, 8] Generated Node #0,2,2: 23:[12, 8] Operation: 80-72=8 Exploring Operation: 80-12=68, Resulting Numbers: [72, 68] Generated Node #0,2,3: 23:[72, 68] Operation: 80-12=68 Moving to Node #0,2,2 Current State: 23:[12, 8], Operations: ['98-86=12', '80-72=8'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[80, 6], Operations: ['98-86=12', '72/12=6'] Exploring Operation: 80*6=480, Resulting Numbers: [480] 480,23 unequal: No Solution Exploring Operation: 80-6=74, Resulting Numbers: [74] 74,23 unequal: No Solution Exploring Operation: 80+6=86, Resulting Numbers: [86] 86,23 unequal: No Solution Moving to Node #0,2,3 Current State: 23:[72, 68], Operations: ['98-86=12', '80-12=68'] Exploring Operation: 72+68=140, Resulting Numbers: [140] 140,23 unequal: No Solution Exploring Operation: 72*68=4896, Resulting Numbers: [4896] 4896,23 unequal: No Solution Exploring Operation: 72-68=4, Resulting Numbers: [4] 4,23 unequal: No Solution Moving to Node #0,2,0 Current State: 23:[80, 60], Operations: ['98-86=12', '72-12=60'] Exploring Operation: 80-60=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 80+60=140, Resulting Numbers: [140] 140,23 unequal: No Solution Exploring Operation: 80*60=4800, Resulting Numbers: [4800] 4800,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 23:[86, 80, 26], Operations: ['98-72=26'] Exploring Operation: 86-26=60, Resulting Numbers: [80, 60] Generated Node #0,3,0: 23:[80, 60] Operation: 86-26=60 Exploring Operation: 80-26=54, Resulting Numbers: [86, 54] Generated Node #0,3,1: 23:[86, 54] Operation: 80-26=54 Exploring Operation: 86-80=6, Resulting Numbers: [26, 6] Generated Node #0,3,2: 23:[26, 6] Operation: 86-80=6 Exploring Operation: 86+80=166, Resulting Numbers: [26, 166] Generated Node #0,3,3: 23:[26, 166] Operation: 86+80=166 Moving to Node #0,3,2 Current State: 23:[26, 6], Operations: ['98-72=26', '86-80=6'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,23 unequal: No Solution Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,23 unequal: No Solution Moving to Node #0,3,1 Current State: 23:[86, 54], Operations: ['98-72=26', '80-26=54'] Exploring Operation: 86*54=4644, Resulting Numbers: [4644] 4644,23 unequal: No Solution Exploring Operation: 86+54=140, Resulting Numbers: [140] 140,23 unequal: No Solution Exploring Operation: 86-54=32, Resulting Numbers: [32] 32,23 unequal: No Solution Moving to Node #0,3,0 Current State: 23:[80, 60], Operations: ['98-72=26', '86-26=60'] Exploring Operation: 80-60=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 80*60=4800, Resulting Numbers: [4800] 4800,23 unequal: No Solution Exploring Operation: 80+60=140, Resulting Numbers: [140] 140,23 unequal: No Solution Moving to Node #0,3,3 Current State: 23:[26, 166], Operations: ['98-72=26', '86+80=166'] Exploring Operation: 26*166=4316, Resulting Numbers: [4316] 4316,23 unequal: No Solution Exploring Operation: 166-26=140, Resulting Numbers: [140] 140,23 unequal: No Solution Exploring Operation: 26+166=192, Resulting Numbers: [192] 192,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[80, 98, 14], Operations: ['86-72=14'] Exploring Operation: 98-80=18, Resulting Numbers: [14, 18] Generated Node #0,1,0: 23:[14, 18] Operation: 98-80=18 Exploring Operation: 98/14=7, Resulting Numbers: [80, 7] Generated Node #0,1,1: 23:[80, 7] Operation: 98/14=7 Exploring Operation: 98-14=84, Resulting Numbers: [80, 84] Generated Node #0,1,2: 23:[80, 84] Operation: 98-14=84 Exploring Operation: 80-14=66, Resulting Numbers: [98, 66] Generated Node #0,1,3: 23:[98, 66] Operation: 80-14=66 Moving to Node #0,1,0 Current State: 23:[14, 18], Operations: ['86-72=14', '98-80=18'] Exploring Operation: 14+18=32, Resulting Numbers: [32] 32,23 unequal: No Solution Exploring Operation: 14*18=252, Resulting Numbers: [252] 252,23 unequal: No Solution Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[80, 7], Operations: ['86-72=14', '98/14=7'] Exploring Operation: 80+7=87, Resulting Numbers: [87] 87,23 unequal: No Solution Exploring Operation: 80-7=73, Resulting Numbers: [73] 73,23 unequal: No Solution Exploring Operation: 80*7=560, Resulting Numbers: [560] 560,23 unequal: No Solution Moving to Node #0,1,3 Current State: 23:[98, 66], Operations: ['86-72=14', '80-14=66'] Exploring Operation: 98-66=32, Resulting Numbers: [32] 32,23 unequal: No Solution Exploring Operation: 98*66=6468, Resulting Numbers: [6468] 6468,23 unequal: No Solution Exploring Operation: 98+66=164, Resulting Numbers: [164] 164,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[80, 84], Operations: ['86-72=14', '98-14=84'] Exploring Operation: 80+84=164, Resulting Numbers: [164] 164,23 unequal: No Solution Exploring Operation: 80*84=6720, Resulting Numbers: [6720] 6720,23 unequal: No Solution Exploring Operation: 84-80=4, Resulting Numbers: [4] 4,23 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
[ 79, 3, 34, 75 ]
52
[ "79+75=154", "3*34=102", "154-102=52" ]
Current State: 52:[79, 3, 34, 75], Operations: [] Exploring Operation: 79+75=154, Resulting Numbers: [3, 34, 154] Generated Node #2: [3, 34, 154] from Operation: 79+75=154 Current State: 52:[3, 34, 154], Operations: ['79+75=154'] Exploring Operation: 3*34=102, Resulting Numbers: [154, 102] Generated Node #3: [154, 102] from Operation: 3*34=102 Current State: 52:[154, 102], Operations: ['79+75=154', '3*34=102'] Exploring Operation: 154-102=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[79, 3, 34, 75], Operations: [] Exploring Operation: 79-34=45, Resulting Numbers: [3, 75, 45] Generated Node #0,0: 52:[3, 75, 45] Operation: 79-34=45 Exploring Operation: 79-75=4, Resulting Numbers: [3, 34, 4] Generated Node #0,1: 52:[3, 34, 4] Operation: 79-75=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[3, 34, 4], Operations: ['79-75=4'] Exploring Operation: 34-4=30, Resulting Numbers: [3, 30] Generated Node #0,1,0: 52:[3, 30] Operation: 34-4=30 Exploring Operation: 34-3=31, Resulting Numbers: [4, 31] Generated Node #0,1,1: 52:[4, 31] Operation: 34-3=31 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 52:[3, 30], Operations: ['79-75=4', '34-4=30'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,52 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 52:[4, 31], Operations: ['79-75=4', '34-3=31'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,52 unequal: No Solution Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,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,0 Current State: 52:[3, 75, 45], Operations: ['79-34=45'] Exploring Operation: 75-45=30, Resulting Numbers: [3, 30] Generated Node #0,0,0: 52:[3, 30] Operation: 75-45=30 Exploring Operation: 75/3=25, Resulting Numbers: [45, 25] Generated Node #0,0,1: 52:[45, 25] Operation: 75/3=25 Moving to Node #0,0,0 Current State: 52:[3, 30], Operations: ['79-34=45', '75-45=30'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,52 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[45, 25], Operations: ['79-34=45', '75/3=25'] Exploring Operation: 45+25=70, Resulting Numbers: [70] 70,52 unequal: No Solution Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,52 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
[ 92, 12, 6, 60 ]
70
[ "92-12=80", "60/6=10", "80-10=70" ]
Current State: 70:[92, 12, 6, 60], Operations: [] Exploring Operation: 92-12=80, Resulting Numbers: [6, 60, 80] Generated Node #2: [6, 60, 80] from Operation: 92-12=80 Current State: 70:[6, 60, 80], Operations: ['92-12=80'] Exploring Operation: 60/6=10, Resulting Numbers: [80, 10] Generated Node #3: [80, 10] from Operation: 60/6=10 Current State: 70:[80, 10], Operations: ['92-12=80', '60/6=10'] Exploring Operation: 80-10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[92, 12, 6, 60], Operations: [] Exploring Operation: 92-60=32, Resulting Numbers: [12, 6, 32] Generated Node #0,0: 70:[12, 6, 32] Operation: 92-60=32 Exploring Operation: 92-12=80, Resulting Numbers: [6, 60, 80] Generated Node #0,1: 70:[6, 60, 80] Operation: 92-12=80 Moving to Node #0,0 Current State: 70:[12, 6, 32], Operations: ['92-60=32'] Exploring Operation: 12/6=2, Resulting Numbers: [32, 2] Generated Node #0,0,0: 70:[32, 2] Operation: 12/6=2 Exploring Operation: 12-6=6, Resulting Numbers: [32, 6] Generated Node #0,0,1: 70:[32, 6] Operation: 12-6=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[32, 2], Operations: ['92-60=32', '12/6=2'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[32, 6], Operations: ['92-60=32', '12-6=6'] Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,70 unequal: No Solution Exploring Operation: 32+6=38, Resulting Numbers: [38] 38,70 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: 70:[6, 60, 80], Operations: ['92-12=80'] Exploring Operation: 60/6=10, Resulting Numbers: [80, 10] Generated Node #0,1,0: 70:[80, 10] Operation: 60/6=10 Exploring Operation: 80-60=20, Resulting Numbers: [6, 20] Generated Node #0,1,1: 70:[6, 20] Operation: 80-60=20 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 70:[6, 20], Operations: ['92-12=80', '80-60=20'] Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,70 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 70:[80, 10], Operations: ['92-12=80', '60/6=10'] Exploring Operation: 80-10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[92, 12, 6, 60], Operations: [] Exploring Operation: 92-12=80, Resulting Numbers: [6, 60, 80] Generated Node #0,1: 70:[6, 60, 80] Operation: 92-12=80 Moving to Node #0,1 Current State: 70:[6, 60, 80], Operations: ['92-12=80'] Exploring Operation: 60/6=10, Resulting Numbers: [80, 10] Generated Node #0,1,0: 70:[80, 10] Operation: 60/6=10 Moving to Node #0,1,0 Current State: 70:[80, 10], Operations: ['92-12=80', '60/6=10'] Exploring Operation: 80-10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_2
sum_heuristic
[ 68, 34, 15, 15 ]
28
[ "68/34=2", "15+15=30", "30-2=28" ]
Current State: 28:[68, 34, 15, 15], Operations: [] Exploring Operation: 68/34=2, Resulting Numbers: [15, 15, 2] Generated Node #2: [15, 15, 2] from Operation: 68/34=2 Current State: 28:[15, 15, 2], Operations: ['68/34=2'] Exploring Operation: 15+15=30, Resulting Numbers: [2, 30] Generated Node #3: [2, 30] from Operation: 15+15=30 Current State: 28:[2, 30], Operations: ['68/34=2', '15+15=30'] Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[68, 34, 15, 15], Operations: [] Exploring Operation: 68/34=2, Resulting Numbers: [15, 15, 2] Generated Node #0,0: 28:[15, 15, 2] Operation: 68/34=2 Moving to Node #0,0 Current State: 28:[15, 15, 2], Operations: ['68/34=2'] Exploring Operation: 15/15=1, Resulting Numbers: [2, 1] Generated Node #0,0,0: 28:[2, 1] Operation: 15/15=1 Moving to Node #0,0,0 Current State: 28:[2, 1], Operations: ['68/34=2', '15/15=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,28 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 77, 55, 81, 44 ]
63
[ "77*81=6237", "55+44=99", "6237/99=63" ]
Current State: 63:[77, 55, 81, 44], Operations: [] Exploring Operation: 77*81=6237, Resulting Numbers: [55, 44, 6237] Generated Node #2: [55, 44, 6237] from Operation: 77*81=6237 Current State: 63:[55, 44, 6237], Operations: ['77*81=6237'] Exploring Operation: 55+44=99, Resulting Numbers: [6237, 99] Generated Node #3: [6237, 99] from Operation: 55+44=99 Current State: 63:[6237, 99], Operations: ['77*81=6237', '55+44=99'] Exploring Operation: 6237/99=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[77, 55, 81, 44], Operations: [] Exploring Operation: 81-77=4, Resulting Numbers: [55, 44, 4] Generated Node #0,0: 63:[55, 44, 4] Operation: 81-77=4 Exploring Operation: 77-55=22, Resulting Numbers: [81, 44, 22] Generated Node #0,1: 63:[81, 44, 22] Operation: 77-55=22 Exploring Operation: 55-44=11, Resulting Numbers: [77, 81, 11] Generated Node #0,2: 63:[77, 81, 11] Operation: 55-44=11 Moving to Node #0,0 Current State: 63:[55, 44, 4], Operations: ['81-77=4'] Exploring Operation: 44/4=11, Resulting Numbers: [55, 11] Generated Node #0,0,0: 63:[55, 11] Operation: 44/4=11 Exploring Operation: 55+4=59, Resulting Numbers: [44, 59] Generated Node #0,0,1: 63:[44, 59] Operation: 55+4=59 Exploring Operation: 55-44=11, Resulting Numbers: [4, 11] Generated Node #0,0,2: 63:[4, 11] Operation: 55-44=11 Moving to Node #0,2 Current State: 63:[77, 81, 11], Operations: ['55-44=11'] Exploring Operation: 81-77=4, Resulting Numbers: [11, 4] Generated Node #0,2,0: 63:[11, 4] Operation: 81-77=4 Exploring Operation: 77-11=66, Resulting Numbers: [81, 66] Generated Node #0,2,1: 63:[81, 66] Operation: 77-11=66 Exploring Operation: 77/11=7, Resulting Numbers: [81, 7] Generated Node #0,2,2: 63:[81, 7] Operation: 77/11=7 Moving to Node #0,1 Current State: 63:[81, 44, 22], Operations: ['77-55=22'] Exploring Operation: 81-44=37, Resulting Numbers: [22, 37] Generated Node #0,1,0: 63:[22, 37] Operation: 81-44=37 Exploring Operation: 44-22=22, Resulting Numbers: [81, 22] Generated Node #0,1,1: 63:[81, 22] Operation: 44-22=22 Exploring Operation: 44/22=2, Resulting Numbers: [81, 2] Generated Node #0,1,2: 63:[81, 2] Operation: 44/22=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 63:[22, 37], Operations: ['77-55=22', '81-44=37'] Exploring Operation: 22+37=59, Resulting Numbers: [59] 59,63 unequal: No Solution Exploring Operation: 37-22=15, Resulting Numbers: [15] 15,63 unequal: No Solution Exploring Operation: 22*37=814, Resulting Numbers: [814] 814,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,1,1 Current State: 63:[81, 22], Operations: ['77-55=22', '44-22=22'] Exploring Operation: 81-22=59, Resulting Numbers: [59] 59,63 unequal: No Solution Exploring Operation: 81+22=103, Resulting Numbers: [103] 103,63 unequal: No Solution Exploring Operation: 81*22=1782, Resulting Numbers: [1782] 1782,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,1,2 Current State: 63:[81, 2], Operations: ['77-55=22', '44/22=2'] Exploring Operation: 81*2=162, Resulting Numbers: [162] 162,63 unequal: No Solution Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,63 unequal: No Solution Exploring Operation: 81+2=83, Resulting Numbers: [83] 83,63 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: 63:[4, 11], Operations: ['81-77=4', '55-44=11'] Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,63 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,63 unequal: No Solution Moving to Node #0,2,0 Current State: 63:[11, 4], Operations: ['55-44=11', '81-77=4'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,63 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[55, 11], Operations: ['81-77=4', '44/4=11'] Exploring Operation: 55+11=66, Resulting Numbers: [66] 66,63 unequal: No Solution Exploring Operation: 55/11=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,63 unequal: No Solution Moving to Node #0,2,2 Current State: 63:[81, 7], Operations: ['55-44=11', '77/11=7'] Exploring Operation: 81+7=88, Resulting Numbers: [88] 88,63 unequal: No Solution Exploring Operation: 81*7=567, Resulting Numbers: [567] 567,63 unequal: No Solution Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,63 unequal: No Solution Moving to Node #0,2,1 Current State: 63:[81, 66], Operations: ['55-44=11', '77-11=66'] Exploring Operation: 81+66=147, Resulting Numbers: [147] 147,63 unequal: No Solution Exploring Operation: 81-66=15, Resulting Numbers: [15] 15,63 unequal: No Solution Exploring Operation: 81*66=5346, Resulting Numbers: [5346] 5346,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[44, 59], Operations: ['81-77=4', '55+4=59'] Exploring Operation: 59-44=15, Resulting Numbers: [15] 15,63 unequal: No Solution Exploring Operation: 44+59=103, Resulting Numbers: [103] 103,63 unequal: No Solution Exploring Operation: 44*59=2596, Resulting Numbers: [2596] 2596,63 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 62, 6, 8, 51 ]
58
[ "62-6=56", "56/8=7", "51+7=58" ]
Current State: 58:[62, 6, 8, 51], Operations: [] Exploring Operation: 62-6=56, Resulting Numbers: [8, 51, 56] Generated Node #2: [8, 51, 56] from Operation: 62-6=56 Current State: 58:[8, 51, 56], Operations: ['62-6=56'] Exploring Operation: 56/8=7, Resulting Numbers: [51, 7] Generated Node #3: [51, 7] from Operation: 56/8=7 Current State: 58:[51, 7], Operations: ['62-6=56', '56/8=7'] Exploring Operation: 51+7=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[62, 6, 8, 51], Operations: [] Exploring Operation: 8-6=2, Resulting Numbers: [62, 51, 2] Generated Node #0,0: 58:[62, 51, 2] Operation: 8-6=2 Exploring Operation: 8+51=59, Resulting Numbers: [62, 6, 59] Generated Node #0,1: 58:[62, 6, 59] Operation: 8+51=59 Moving to Node #0,1 Current State: 58:[62, 6, 59], Operations: ['8+51=59'] Exploring Operation: 62-59=3, Resulting Numbers: [6, 3] Generated Node #0,1,0: 58:[6, 3] Operation: 62-59=3 Exploring Operation: 62-6=56, Resulting Numbers: [59, 56] Generated Node #0,1,1: 58:[59, 56] Operation: 62-6=56 Moving to Node #0,0 Current State: 58:[62, 51, 2], Operations: ['8-6=2'] Exploring Operation: 62-2=60, Resulting Numbers: [51, 60] Generated Node #0,0,0: 58:[51, 60] Operation: 62-2=60 Exploring Operation: 62-51=11, Resulting Numbers: [2, 11] Generated Node #0,0,1: 58:[2, 11] Operation: 62-51=11 Moving to Node #0,1,1 Current State: 58:[59, 56], Operations: ['8+51=59', '62-6=56'] Exploring Operation: 59+56=115, Resulting Numbers: [115] 115,58 unequal: No Solution Exploring Operation: 59-56=3, Resulting Numbers: [3] 3,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[6, 3], Operations: ['8+51=59', '62-59=3'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,58 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,58 unequal: No Solution Moving to Node #0,0,1 Current State: 58:[2, 11], Operations: ['8-6=2', '62-51=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,58 unequal: No Solution Moving to Node #0,0,0 Current State: 58:[51, 60], Operations: ['8-6=2', '62-2=60'] Exploring Operation: 60-51=9, Resulting Numbers: [9] 9,58 unequal: No Solution Exploring Operation: 51+60=111, Resulting Numbers: [111] 111,58 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 92, 11, 45, 16 ]
42
[ "92+11=103", "45+16=61", "103-61=42" ]
Current State: 42:[92, 11, 45, 16], Operations: [] Exploring Operation: 92+11=103, Resulting Numbers: [45, 16, 103] Generated Node #2: [45, 16, 103] from Operation: 92+11=103 Current State: 42:[45, 16, 103], Operations: ['92+11=103'] Exploring Operation: 45+16=61, Resulting Numbers: [103, 61] Generated Node #3: [103, 61] from Operation: 45+16=61 Current State: 42:[103, 61], Operations: ['92+11=103', '45+16=61'] Exploring Operation: 103-61=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[92, 11, 45, 16], Operations: [] Exploring Operation: 92-45=47, Resulting Numbers: [11, 16, 47] Generated Node #0,0: 42:[11, 16, 47] Operation: 92-45=47 Exploring Operation: 92-16=76, Resulting Numbers: [11, 45, 76] Generated Node #0,1: 42:[11, 45, 76] Operation: 92-16=76 Exploring Operation: 92-11=81, Resulting Numbers: [45, 16, 81] Generated Node #0,2: 42:[45, 16, 81] Operation: 92-11=81 Exploring Operation: 11+16=27, Resulting Numbers: [92, 45, 27] Generated Node #0,3: 42:[92, 45, 27] Operation: 11+16=27 Exploring Operation: 16-11=5, Resulting Numbers: [92, 45, 5] Generated Node #0,4: 42:[92, 45, 5] Operation: 16-11=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[11, 16, 47], Operations: ['92-45=47'] Exploring Operation: 11+16=27, Resulting Numbers: [47, 27] Generated Node #0,0,0: 42:[47, 27] Operation: 11+16=27 Exploring Operation: 47-11=36, Resulting Numbers: [16, 36] Generated Node #0,0,1: 42:[16, 36] Operation: 47-11=36 Exploring Operation: 16-11=5, Resulting Numbers: [47, 5] Generated Node #0,0,2: 42:[47, 5] Operation: 16-11=5 Exploring Operation: 47-16=31, Resulting Numbers: [11, 31] Generated Node #0,0,3: 42:[11, 31] Operation: 47-16=31 Exploring Operation: 11+47=58, Resulting Numbers: [16, 58] Generated Node #0,0,4: 42:[16, 58] Operation: 11+47=58 Moving to Node #0,0,2 Current State: 42:[47, 5], Operations: ['92-45=47', '16-11=5'] Exploring Operation: 47*5=235, Resulting Numbers: [235] 235,42 unequal: No Solution Exploring Operation: 47+5=52, Resulting Numbers: [52] 52,42 unequal: No Solution Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[92, 11, 45, 16], Operations: [] Exploring Operation: 92-45=47, Resulting Numbers: [11, 16, 47] Generated Node #0,0: 42:[11, 16, 47] Operation: 92-45=47 Moving to Node #0,0 Current State: 42:[11, 16, 47], Operations: ['92-45=47'] Exploring Operation: 16-11=5, Resulting Numbers: [47, 5] Generated Node #0,0,2: 42:[47, 5] Operation: 16-11=5 Moving to Node #0,0,2 Current State: 42:[47, 5], Operations: ['92-45=47', '16-11=5'] Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 21, 9, 6, 70 ]
65
[ "21+9=30", "30/6=5", "70-5=65" ]
Current State: 65:[21, 9, 6, 70], Operations: [] Exploring Operation: 21+9=30, Resulting Numbers: [6, 70, 30] Generated Node #2: [6, 70, 30] from Operation: 21+9=30 Current State: 65:[6, 70, 30], Operations: ['21+9=30'] Exploring Operation: 30/6=5, Resulting Numbers: [70, 5] Generated Node #3: [70, 5] from Operation: 30/6=5 Current State: 65:[70, 5], Operations: ['21+9=30', '30/6=5'] Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[21, 9, 6, 70], Operations: [] Exploring Operation: 21-6=15, Resulting Numbers: [9, 70, 15] Generated Node #0,0: 65:[9, 70, 15] Operation: 21-6=15 Exploring Operation: 21-9=12, Resulting Numbers: [6, 70, 12] Generated Node #0,1: 65:[6, 70, 12] Operation: 21-9=12 Moving to Node #0,1 Current State: 65:[6, 70, 12], Operations: ['21-9=12'] Exploring Operation: 70-6=64, Resulting Numbers: [12, 64] Generated Node #0,1,0: 65:[12, 64] Operation: 70-6=64 Exploring Operation: 12-6=6, Resulting Numbers: [70, 6] Generated Node #0,1,1: 65:[70, 6] Operation: 12-6=6 Moving to Node #0,0 Current State: 65:[9, 70, 15], Operations: ['21-6=15'] Exploring Operation: 70-9=61, Resulting Numbers: [15, 61] Generated Node #0,0,0: 65:[15, 61] Operation: 70-9=61 Exploring Operation: 15-9=6, Resulting Numbers: [70, 6] Generated Node #0,0,1: 65:[70, 6] Operation: 15-9=6 Moving to Node #0,1,0 Current State: 65:[12, 64], Operations: ['21-9=12', '70-6=64'] Exploring Operation: 12+64=76, Resulting Numbers: [76] 76,65 unequal: No Solution Exploring Operation: 64-12=52, Resulting Numbers: [52] 52,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[15, 61], Operations: ['21-6=15', '70-9=61'] Exploring Operation: 15+61=76, Resulting Numbers: [76] 76,65 unequal: No Solution Exploring Operation: 61-15=46, Resulting Numbers: [46] 46,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[70, 6], Operations: ['21-9=12', '12-6=6'] Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,65 unequal: No Solution Exploring Operation: 70+6=76, Resulting Numbers: [76] 76,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[70, 6], Operations: ['21-6=15', '15-9=6'] Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,65 unequal: No Solution Exploring Operation: 70+6=76, Resulting Numbers: [76] 76,65 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 93, 53, 28, 2 ]
59
[ "93+53=146", "146-28=118", "118/2=59" ]
Current State: 59:[93, 53, 28, 2], Operations: [] Exploring Operation: 93+53=146, Resulting Numbers: [28, 2, 146] Generated Node #2: [28, 2, 146] from Operation: 93+53=146 Current State: 59:[28, 2, 146], Operations: ['93+53=146'] Exploring Operation: 146-28=118, Resulting Numbers: [2, 118] Generated Node #3: [2, 118] from Operation: 146-28=118 Current State: 59:[2, 118], Operations: ['93+53=146', '146-28=118'] Exploring Operation: 118/2=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[93, 53, 28, 2], Operations: [] Exploring Operation: 93-28=65, Resulting Numbers: [53, 2, 65] Generated Node #0,0: 59:[53, 2, 65] Operation: 93-28=65 Exploring Operation: 28*2=56, Resulting Numbers: [93, 53, 56] Generated Node #0,1: 59:[93, 53, 56] Operation: 28*2=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[93, 53, 56], Operations: ['28*2=56'] Exploring Operation: 93-56=37, Resulting Numbers: [53, 37] Generated Node #0,1,0: 59:[53, 37] Operation: 93-56=37 Exploring Operation: 93-53=40, Resulting Numbers: [56, 40] Generated Node #0,1,1: 59:[56, 40] Operation: 93-53=40 Moving to Node #0,1,1 Current State: 59:[56, 40], Operations: ['28*2=56', '93-53=40'] Exploring Operation: 56+40=96, Resulting Numbers: [96] 96,59 unequal: No Solution Exploring Operation: 56-40=16, Resulting Numbers: [16] 16,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[53, 37], Operations: ['28*2=56', '93-56=37'] Exploring Operation: 53-37=16, Resulting Numbers: [16] 16,59 unequal: No Solution Exploring Operation: 53+37=90, Resulting Numbers: [90] 90,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[53, 2, 65], Operations: ['93-28=65'] Exploring Operation: 65-2=63, Resulting Numbers: [53, 63] Generated Node #0,0,0: 59:[53, 63] Operation: 65-2=63 Exploring Operation: 53+2=55, Resulting Numbers: [65, 55] Generated Node #0,0,1: 59:[65, 55] Operation: 53+2=55 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[53, 63], Operations: ['93-28=65', '65-2=63'] Exploring Operation: 53+63=116, Resulting Numbers: [116] 116,59 unequal: No Solution Exploring Operation: 63-53=10, Resulting Numbers: [10] 10,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[65, 55], Operations: ['93-28=65', '53+2=55'] Exploring Operation: 65-55=10, Resulting Numbers: [10] 10,59 unequal: No Solution Exploring Operation: 65+55=120, Resulting Numbers: [120] 120,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 43, 6, 51, 9 ]
39
[ "51-43=8", "6*8=48", "48-9=39" ]
Current State: 39:[43, 6, 51, 9], Operations: [] Exploring Operation: 51-43=8, Resulting Numbers: [6, 9, 8] Generated Node #2: [6, 9, 8] from Operation: 51-43=8 Current State: 39:[6, 9, 8], Operations: ['51-43=8'] Exploring Operation: 6*8=48, Resulting Numbers: [9, 48] Generated Node #3: [9, 48] from Operation: 6*8=48 Current State: 39:[9, 48], Operations: ['51-43=8', '6*8=48'] Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[43, 6, 51, 9], Operations: [] Exploring Operation: 51-43=8, Resulting Numbers: [6, 9, 8] Generated Node #0,0: 39:[6, 9, 8] Operation: 51-43=8 Exploring Operation: 51-6=45, Resulting Numbers: [43, 9, 45] Generated Node #0,1: 39:[43, 9, 45] Operation: 51-6=45 Exploring Operation: 51-9=42, Resulting Numbers: [43, 6, 42] Generated Node #0,2: 39:[43, 6, 42] Operation: 51-9=42 Moving to Node #0,2 Current State: 39:[43, 6, 42], Operations: ['51-9=42'] Exploring Operation: 42-6=36, Resulting Numbers: [43, 36] Generated Node #0,2,0: 39:[43, 36] Operation: 42-6=36 Exploring Operation: 43-6=37, Resulting Numbers: [42, 37] Generated Node #0,2,1: 39:[42, 37] Operation: 43-6=37 Exploring Operation: 43-42=1, Resulting Numbers: [6, 1] Generated Node #0,2,2: 39:[6, 1] Operation: 43-42=1 Moving to Node #0,0 Current State: 39:[6, 9, 8], Operations: ['51-43=8'] Exploring Operation: 8-6=2, Resulting Numbers: [9, 2] Generated Node #0,0,0: 39:[9, 2] Operation: 8-6=2 Exploring Operation: 9-6=3, Resulting Numbers: [8, 3] Generated Node #0,0,1: 39:[8, 3] Operation: 9-6=3 Exploring Operation: 6+8=14, Resulting Numbers: [9, 14] Generated Node #0,0,2: 39:[9, 14] Operation: 6+8=14 Moving to Node #0,1 Current State: 39:[43, 9, 45], Operations: ['51-6=45'] Exploring Operation: 45-43=2, Resulting Numbers: [9, 2] Generated Node #0,1,0: 39:[9, 2] Operation: 45-43=2 Exploring Operation: 45/9=5, Resulting Numbers: [43, 5] Generated Node #0,1,1: 39:[43, 5] Operation: 45/9=5 Exploring Operation: 45-9=36, Resulting Numbers: [43, 36] Generated Node #0,1,2: 39:[43, 36] Operation: 45-9=36 Moving to Node #0,2,1 Current State: 39:[42, 37], Operations: ['51-9=42', '43-6=37'] Exploring Operation: 42+37=79, Resulting Numbers: [79] 79,39 unequal: No Solution Exploring Operation: 42-37=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 42*37=1554, Resulting Numbers: [1554] 1554,39 unequal: No Solution Moving to Node #0,0,2 Current State: 39:[9, 14], Operations: ['51-43=8', '6+8=14'] Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 9*14=126, Resulting Numbers: [126] 126,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[9, 2], Operations: ['51-6=45', '45-43=2'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,39 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,39 unequal: No Solution Moving to Node #0,2,2 Current State: 39:[6, 1], Operations: ['51-9=42', '43-42=1'] Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,39 unequal: No Solution Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,39 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[8, 3], Operations: ['51-43=8', '9-6=3'] Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,39 unequal: No Solution Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,39 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,39 unequal: No Solution Moving to Node #0,0,0 Current State: 39:[9, 2], Operations: ['51-43=8', '8-6=2'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,39 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[43, 5], Operations: ['51-6=45', '45/9=5'] Exploring Operation: 43*5=215, Resulting Numbers: [215] 215,39 unequal: No Solution Exploring Operation: 43+5=48, Resulting Numbers: [48] 48,39 unequal: No Solution Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,39 unequal: No Solution Moving to Node #0,2,0 Current State: 39:[43, 36], Operations: ['51-9=42', '42-6=36'] Exploring Operation: 43-36=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 43*36=1548, Resulting Numbers: [1548] 1548,39 unequal: No Solution Exploring Operation: 43+36=79, Resulting Numbers: [79] 79,39 unequal: No Solution Moving to Node #0,1,2 Current State: 39:[43, 36], Operations: ['51-6=45', '45-9=36'] Exploring Operation: 43*36=1548, Resulting Numbers: [1548] 1548,39 unequal: No Solution Exploring Operation: 43+36=79, Resulting Numbers: [79] 79,39 unequal: No Solution Exploring Operation: 43-36=7, Resulting Numbers: [7] 7,39 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 12, 8, 74, 53 ]
31
[ "12*8=96", "74+53=127", "127-96=31" ]
Current State: 31:[12, 8, 74, 53], Operations: [] Exploring Operation: 12*8=96, Resulting Numbers: [74, 53, 96] Generated Node #2: [74, 53, 96] from Operation: 12*8=96 Current State: 31:[74, 53, 96], Operations: ['12*8=96'] Exploring Operation: 74+53=127, Resulting Numbers: [96, 127] Generated Node #3: [96, 127] from Operation: 74+53=127 Current State: 31:[96, 127], Operations: ['12*8=96', '74+53=127'] Exploring Operation: 127-96=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[12, 8, 74, 53], Operations: [] Exploring Operation: 53-12=41, Resulting Numbers: [8, 74, 41] Generated Node #0,0: 31:[8, 74, 41] Operation: 53-12=41 Exploring Operation: 74-12=62, Resulting Numbers: [8, 53, 62] Generated Node #0,1: 31:[8, 53, 62] Operation: 74-12=62 Exploring Operation: 74-53=21, Resulting Numbers: [12, 8, 21] Generated Node #0,2: 31:[12, 8, 21] Operation: 74-53=21 Exploring Operation: 12+8=20, Resulting Numbers: [74, 53, 20] Generated Node #0,3: 31:[74, 53, 20] Operation: 12+8=20 Exploring Operation: 74-8=66, Resulting Numbers: [12, 53, 66] Generated Node #0,4: 31:[12, 53, 66] Operation: 74-8=66 Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[12, 8, 21], Operations: ['74-53=21'] Exploring Operation: 8+21=29, Resulting Numbers: [12, 29] Generated Node #0,2,0: 31:[12, 29] Operation: 8+21=29 Exploring Operation: 12+8=20, Resulting Numbers: [21, 20] Generated Node #0,2,1: 31:[21, 20] Operation: 12+8=20 Exploring Operation: 12-8=4, Resulting Numbers: [21, 4] Generated Node #0,2,2: 31:[21, 4] Operation: 12-8=4 Exploring Operation: 21-8=13, Resulting Numbers: [12, 13] Generated Node #0,2,3: 31:[12, 13] Operation: 21-8=13 Exploring Operation: 12+21=33, Resulting Numbers: [8, 33] Generated Node #0,2,4: 31:[8, 33] Operation: 12+21=33 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 31:[12, 29], Operations: ['74-53=21', '8+21=29'] Exploring Operation: 12*29=348, Resulting Numbers: [348] 348,31 unequal: No Solution Exploring Operation: 12+29=41, Resulting Numbers: [41] 41,31 unequal: No Solution Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,31 unequal: No Solution No 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: 31:[21, 20], Operations: ['74-53=21', '12+8=20'] Exploring Operation: 21+20=41, Resulting Numbers: [41] 41,31 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 21*20=420, Resulting Numbers: [420] 420,31 unequal: No Solution No 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: 31:[8, 33], Operations: ['74-53=21', '12+21=33'] Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,31 unequal: No Solution Exploring Operation: 8+33=41, Resulting Numbers: [41] 41,31 unequal: No Solution Exploring Operation: 8*33=264, Resulting Numbers: [264] 264,31 unequal: No Solution No 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: 31:[21, 4], Operations: ['74-53=21', '12-8=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,31 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,31 unequal: No Solution Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,31 unequal: No Solution No 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: 31:[12, 13], Operations: ['74-53=21', '21-8=13'] Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 12*13=156, Resulting Numbers: [156] 156,31 unequal: No Solution Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,31 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: 31:[8, 74, 41], Operations: ['53-12=41'] Exploring Operation: 8+74=82, Resulting Numbers: [41, 82] Generated Node #0,0,0: 31:[41, 82] Operation: 8+74=82 Exploring Operation: 74-41=33, Resulting Numbers: [8, 33] Generated Node #0,0,1: 31:[8, 33] Operation: 74-41=33 Exploring Operation: 8+41=49, Resulting Numbers: [74, 49] Generated Node #0,0,2: 31:[74, 49] Operation: 8+41=49 Exploring Operation: 41-8=33, Resulting Numbers: [74, 33] Generated Node #0,0,3: 31:[74, 33] Operation: 41-8=33 Exploring Operation: 74-8=66, Resulting Numbers: [41, 66] Generated Node #0,0,4: 31:[41, 66] Operation: 74-8=66 Moving to Node #0,0,1 Current State: 31:[8, 33], Operations: ['53-12=41', '74-41=33'] Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,31 unequal: No Solution Exploring Operation: 8*33=264, Resulting Numbers: [264] 264,31 unequal: No Solution Exploring Operation: 8+33=41, Resulting Numbers: [41] 41,31 unequal: No Solution Moving to Node #0,0,4 Current State: 31:[41, 66], Operations: ['53-12=41', '74-8=66'] Exploring Operation: 66-41=25, Resulting Numbers: [25] 25,31 unequal: No Solution Exploring Operation: 41+66=107, Resulting Numbers: [107] 107,31 unequal: No Solution Exploring Operation: 41*66=2706, Resulting Numbers: [2706] 2706,31 unequal: No Solution Moving to Node #0,0,3 Current State: 31:[74, 33], Operations: ['53-12=41', '41-8=33'] Exploring Operation: 74+33=107, Resulting Numbers: [107] 107,31 unequal: No Solution Exploring Operation: 74-33=41, Resulting Numbers: [41] 41,31 unequal: No Solution Exploring Operation: 74*33=2442, Resulting Numbers: [2442] 2442,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[41, 82], Operations: ['53-12=41', '8+74=82'] Exploring Operation: 82-41=41, Resulting Numbers: [41] 41,31 unequal: No Solution Exploring Operation: 82/41=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 41+82=123, Resulting Numbers: [123] 123,31 unequal: No Solution Exploring Operation: 41*82=3362, Resulting Numbers: [3362] 3362,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[74, 49], Operations: ['53-12=41', '8+41=49'] Exploring Operation: 74+49=123, Resulting Numbers: [123] 123,31 unequal: No Solution Exploring Operation: 74-49=25, Resulting Numbers: [25] 25,31 unequal: No Solution Exploring Operation: 74*49=3626, Resulting Numbers: [3626] 3626,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 Current State: 31:[8, 53, 62], Operations: ['74-12=62'] Exploring Operation: 8+62=70, Resulting Numbers: [53, 70] Generated Node #0,1,0: 31:[53, 70] Operation: 8+62=70 Exploring Operation: 53-8=45, Resulting Numbers: [62, 45] Generated Node #0,1,1: 31:[62, 45] Operation: 53-8=45 Exploring Operation: 8+53=61, Resulting Numbers: [62, 61] Generated Node #0,1,2: 31:[62, 61] Operation: 8+53=61 Exploring Operation: 62-53=9, Resulting Numbers: [8, 9] Generated Node #0,1,3: 31:[8, 9] Operation: 62-53=9 Exploring Operation: 62-8=54, Resulting Numbers: [53, 54] Generated Node #0,1,4: 31:[53, 54] Operation: 62-8=54 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[62, 45], Operations: ['74-12=62', '53-8=45'] Exploring Operation: 62-45=17, Resulting Numbers: [17] 17,31 unequal: No Solution Exploring Operation: 62+45=107, Resulting Numbers: [107] 107,31 unequal: No Solution Exploring Operation: 62*45=2790, Resulting Numbers: [2790] 2790,31 unequal: No Solution No 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: 31:[8, 9], Operations: ['74-12=62', '62-53=9'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,31 unequal: No Solution Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,31 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 31:[53, 54], Operations: ['74-12=62', '62-8=54'] Exploring Operation: 53*54=2862, Resulting Numbers: [2862] 2862,31 unequal: No Solution Exploring Operation: 54-53=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 53+54=107, Resulting Numbers: [107] 107,31 unequal: No Solution No 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: 31:[53, 70], Operations: ['74-12=62', '8+62=70'] Exploring Operation: 70-53=17, Resulting Numbers: [17] 17,31 unequal: No Solution Exploring Operation: 53*70=3710, Resulting Numbers: [3710] 3710,31 unequal: No Solution Exploring Operation: 53+70=123, Resulting Numbers: [123] 123,31 unequal: No Solution No 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: 31:[62, 61], Operations: ['74-12=62', '8+53=61'] Exploring Operation: 62*61=3782, Resulting Numbers: [3782] 3782,31 unequal: No Solution Exploring Operation: 62+61=123, Resulting Numbers: [123] 123,31 unequal: No Solution Exploring Operation: 62-61=1, Resulting Numbers: [1] 1,31 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: 31:[74, 53, 20], Operations: ['12+8=20'] Exploring Operation: 74-53=21, Resulting Numbers: [20, 21] Generated Node #0,3,0: 31:[20, 21] Operation: 74-53=21 Exploring Operation: 53+20=73, Resulting Numbers: [74, 73] Generated Node #0,3,1: 31:[74, 73] Operation: 53+20=73 Exploring Operation: 53-20=33, Resulting Numbers: [74, 33] Generated Node #0,3,2: 31:[74, 33] Operation: 53-20=33 Exploring Operation: 74-20=54, Resulting Numbers: [53, 54] Generated Node #0,3,3: 31:[53, 54] Operation: 74-20=54 Exploring Operation: 74+20=94, Resulting Numbers: [53, 94] Generated Node #0,3,4: 31:[53, 94] Operation: 74+20=94 Moving to Node #0,3,0 Current State: 31:[20, 21], Operations: ['12+8=20', '74-53=21'] Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,31 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,31 unequal: No Solution Moving to Node #0,3,3 Current State: 31:[53, 54], Operations: ['12+8=20', '74-20=54'] Exploring Operation: 54-53=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 53+54=107, Resulting Numbers: [107] 107,31 unequal: No Solution Exploring Operation: 53*54=2862, Resulting Numbers: [2862] 2862,31 unequal: No Solution Moving to Node #0,3,2 Current State: 31:[74, 33], Operations: ['12+8=20', '53-20=33'] Exploring Operation: 74+33=107, Resulting Numbers: [107] 107,31 unequal: No Solution Exploring Operation: 74-33=41, Resulting Numbers: [41] 41,31 unequal: No Solution Exploring Operation: 74*33=2442, Resulting Numbers: [2442] 2442,31 unequal: No Solution Moving to Node #0,3,1 Current State: 31:[74, 73], Operations: ['12+8=20', '53+20=73'] Exploring Operation: 74-73=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 74*73=5402, Resulting Numbers: [5402] 5402,31 unequal: No Solution Exploring Operation: 74+73=147, Resulting Numbers: [147] 147,31 unequal: No Solution Moving to Node #0,3,4 Current State: 31:[53, 94], Operations: ['12+8=20', '74+20=94'] Exploring Operation: 94-53=41, Resulting Numbers: [41] 41,31 unequal: No Solution Exploring Operation: 53+94=147, Resulting Numbers: [147] 147,31 unequal: No Solution Exploring Operation: 53*94=4982, Resulting Numbers: [4982] 4982,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,4 Current State: 31:[12, 53, 66], Operations: ['74-8=66'] Exploring Operation: 53-12=41, Resulting Numbers: [66, 41] Generated Node #0,4,0: 31:[66, 41] Operation: 53-12=41 Exploring Operation: 66-53=13, Resulting Numbers: [12, 13] Generated Node #0,4,1: 31:[12, 13] Operation: 66-53=13 Exploring Operation: 12+66=78, Resulting Numbers: [53, 78] Generated Node #0,4,2: 31:[53, 78] Operation: 12+66=78 Exploring Operation: 66-12=54, Resulting Numbers: [53, 54] Generated Node #0,4,3: 31:[53, 54] Operation: 66-12=54 Exploring Operation: 12+53=65, Resulting Numbers: [66, 65] Generated Node #0,4,4: 31:[66, 65] Operation: 12+53=65 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 31:[12, 13], Operations: ['74-8=66', '66-53=13'] Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,31 unequal: No Solution Exploring Operation: 12*13=156, Resulting Numbers: [156] 156,31 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,31 unequal: No Solution No 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: 31:[66, 41], Operations: ['74-8=66', '53-12=41'] Exploring Operation: 66+41=107, Resulting Numbers: [107] 107,31 unequal: No Solution Exploring Operation: 66*41=2706, Resulting Numbers: [2706] 2706,31 unequal: No Solution Exploring Operation: 66-41=25, Resulting Numbers: [25] 25,31 unequal: No Solution No 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: 31:[53, 54], Operations: ['74-8=66', '66-12=54'] Exploring Operation: 53*54=2862, Resulting Numbers: [2862] 2862,31 unequal: No Solution Exploring Operation: 54-53=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 53+54=107, Resulting Numbers: [107] 107,31 unequal: No Solution No 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: 31:[53, 78], Operations: ['74-8=66', '12+66=78'] Exploring Operation: 53*78=4134, Resulting Numbers: [4134] 4134,31 unequal: No Solution Exploring Operation: 53+78=131, Resulting Numbers: [131] 131,31 unequal: No Solution Exploring Operation: 78-53=25, Resulting Numbers: [25] 25,31 unequal: No Solution No 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: 31:[66, 65], Operations: ['74-8=66', '12+53=65'] Exploring Operation: 66*65=4290, Resulting Numbers: [4290] 4290,31 unequal: No Solution Exploring Operation: 66+65=131, Resulting Numbers: [131] 131,31 unequal: No Solution Exploring Operation: 66-65=1, Resulting Numbers: [1] 1,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 48, 9, 50, 50 ]
68
[ "50-48=2", "9*2=18", "50+18=68" ]
Current State: 68:[48, 9, 50, 50], Operations: [] Exploring Operation: 50-48=2, Resulting Numbers: [9, 2] Generated Node #2: [9, 2] from Operation: 50-48=2 Current State: 68:[9, 2], Operations: ['50-48=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,68 equal: Goal Reached Exploring Operation: 50+18=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[48, 9, 50, 50], Operations: [] Exploring Operation: 50/50=1, Resulting Numbers: [48, 9, 1] Generated Node #0,0: 68:[48, 9, 1] Operation: 50/50=1 Moving to Node #0,0 Current State: 68:[48, 9, 1], Operations: ['50/50=1'] Exploring Operation: 48-9=39, Resulting Numbers: [1, 39] Generated Node #0,0,0: 68:[1, 39] Operation: 48-9=39 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[1, 39], Operations: ['50/50=1', '48-9=39'] Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,68 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
[ 8, 8, 63, 96 ]
95
[ "8*8=64", "63+96=159", "159-64=95" ]
Current State: 95:[8, 8, 63, 96], Operations: [] Exploring Operation: 8*8=64, Resulting Numbers: [63, 96, 64] Generated Node #2: [63, 96, 64] from Operation: 8*8=64 Current State: 95:[63, 96, 64], Operations: ['8*8=64'] Exploring Operation: 63+96=159, Resulting Numbers: [64, 159] Generated Node #3: [64, 159] from Operation: 63+96=159 Current State: 95:[64, 159], Operations: ['8*8=64', '63+96=159'] Exploring Operation: 159-64=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[8, 8, 63, 96], Operations: [] Exploring Operation: 8+8=16, Resulting Numbers: [63, 96, 16] Generated Node #0,0: 95:[63, 96, 16] Operation: 8+8=16 Exploring Operation: 8+63=71, Resulting Numbers: [8, 96, 71] Generated Node #0,1: 95:[8, 96, 71] Operation: 8+63=71 Exploring Operation: 96-63=33, Resulting Numbers: [8, 8, 33] Generated Node #0,2: 95:[8, 8, 33] Operation: 96-63=33 Exploring Operation: 8+63=71, Resulting Numbers: [8, 96, 71] Generated Node #0,3: 95:[8, 96, 71] Operation: 8+63=71 Start Sub Search at level 1: Moving to Node #0,2 Current State: 95:[8, 8, 33], Operations: ['96-63=33'] Exploring Operation: 33-8=25, Resulting Numbers: [8, 25] Generated Node #0,2,0: 95:[8, 25] Operation: 33-8=25 Exploring Operation: 8/8=1, Resulting Numbers: [33, 1] Generated Node #0,2,1: 95:[33, 1] Operation: 8/8=1 Exploring Operation: 8+8=16, Resulting Numbers: [33, 16] Generated Node #0,2,2: 95:[33, 16] Operation: 8+8=16 Exploring Operation: 33-8=25, Resulting Numbers: [8, 25] Generated Node #0,2,3: 95:[8, 25] Operation: 33-8=25 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 95:[8, 25], Operations: ['96-63=33', '33-8=25'] Exploring Operation: 8+25=33, Resulting Numbers: [33] 33,95 unequal: No Solution Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 8*25=200, Resulting Numbers: [200] 200,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 95:[8, 25], Operations: ['96-63=33', '33-8=25'] Exploring Operation: 8+25=33, Resulting Numbers: [33] 33,95 unequal: No Solution Exploring Operation: 8*25=200, Resulting Numbers: [200] 200,95 unequal: No Solution Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 95:[33, 16], Operations: ['96-63=33', '8+8=16'] Exploring Operation: 33*16=528, Resulting Numbers: [528] 528,95 unequal: No Solution Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 33+16=49, Resulting Numbers: [49] 49,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 95:[33, 1], Operations: ['96-63=33', '8/8=1'] Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,95 unequal: No Solution Exploring Operation: 33/1=33, Resulting Numbers: [33] 33,95 unequal: No Solution Exploring Operation: 33*1=33, Resulting Numbers: [33] 33,95 unequal: No Solution Exploring Operation: 33+1=34, Resulting Numbers: [34] 34,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[8, 96, 71], Operations: ['8+63=71'] Exploring Operation: 96-71=25, Resulting Numbers: [8, 25] Generated Node #0,1,0: 95:[8, 25] Operation: 96-71=25 Exploring Operation: 96/8=12, Resulting Numbers: [71, 12] Generated Node #0,1,1: 95:[71, 12] Operation: 96/8=12 Exploring Operation: 8+71=79, Resulting Numbers: [96, 79] Generated Node #0,1,2: 95:[96, 79] Operation: 8+71=79 Exploring Operation: 96-8=88, Resulting Numbers: [71, 88] Generated Node #0,1,3: 95:[71, 88] Operation: 96-8=88 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 95:[8, 25], Operations: ['8+63=71', '96-71=25'] Exploring Operation: 8+25=33, Resulting Numbers: [33] 33,95 unequal: No Solution Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 8*25=200, Resulting Numbers: [200] 200,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 95:[96, 79], Operations: ['8+63=71', '8+71=79'] Exploring Operation: 96*79=7584, Resulting Numbers: [7584] 7584,95 unequal: No Solution Exploring Operation: 96+79=175, Resulting Numbers: [175] 175,95 unequal: No Solution Exploring Operation: 96-79=17, Resulting Numbers: [17] 17,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 95:[71, 12], Operations: ['8+63=71', '96/8=12'] Exploring Operation: 71+12=83, Resulting Numbers: [83] 83,95 unequal: No Solution Exploring Operation: 71*12=852, Resulting Numbers: [852] 852,95 unequal: No Solution Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 95:[71, 88], Operations: ['8+63=71', '96-8=88'] Exploring Operation: 88-71=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 71+88=159, Resulting Numbers: [159] 159,95 unequal: No Solution Exploring Operation: 71*88=6248, Resulting Numbers: [6248] 6248,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 95:[8, 96, 71], Operations: ['8+63=71'] Exploring Operation: 96-71=25, Resulting Numbers: [8, 25] Generated Node #0,3,0: 95:[8, 25] Operation: 96-71=25 Exploring Operation: 96/8=12, Resulting Numbers: [71, 12] Generated Node #0,3,1: 95:[71, 12] Operation: 96/8=12 Exploring Operation: 8+71=79, Resulting Numbers: [96, 79] Generated Node #0,3,2: 95:[96, 79] Operation: 8+71=79 Exploring Operation: 96-8=88, Resulting Numbers: [71, 88] Generated Node #0,3,3: 95:[71, 88] Operation: 96-8=88 Moving to Node #0,3,0 Current State: 95:[8, 25], Operations: ['8+63=71', '96-71=25'] Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 8*25=200, Resulting Numbers: [200] 200,95 unequal: No Solution Exploring Operation: 8+25=33, Resulting Numbers: [33] 33,95 unequal: No Solution Moving to Node #0,3,2 Current State: 95:[96, 79], Operations: ['8+63=71', '8+71=79'] Exploring Operation: 96-79=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 96+79=175, Resulting Numbers: [175] 175,95 unequal: No Solution Exploring Operation: 96*79=7584, Resulting Numbers: [7584] 7584,95 unequal: No Solution Moving to Node #0,3,3 Current State: 95:[71, 88], Operations: ['8+63=71', '96-8=88'] Exploring Operation: 71*88=6248, Resulting Numbers: [6248] 6248,95 unequal: No Solution Exploring Operation: 71+88=159, Resulting Numbers: [159] 159,95 unequal: No Solution Exploring Operation: 88-71=17, Resulting Numbers: [17] 17,95 unequal: No Solution Moving to Node #0,3,1 Current State: 95:[71, 12], Operations: ['8+63=71', '96/8=12'] Exploring Operation: 71*12=852, Resulting Numbers: [852] 852,95 unequal: No Solution Exploring Operation: 71+12=83, Resulting Numbers: [83] 83,95 unequal: No Solution Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[63, 96, 16], Operations: ['8+8=16'] Exploring Operation: 63+16=79, Resulting Numbers: [96, 79] Generated Node #0,0,0: 95:[96, 79] Operation: 63+16=79 Exploring Operation: 96/16=6, Resulting Numbers: [63, 6] Generated Node #0,0,1: 95:[63, 6] Operation: 96/16=6 Exploring Operation: 63-16=47, Resulting Numbers: [96, 47] Generated Node #0,0,2: 95:[96, 47] Operation: 63-16=47 Exploring Operation: 96-63=33, Resulting Numbers: [16, 33] Generated Node #0,0,3: 95:[16, 33] Operation: 96-63=33 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 95:[96, 79], Operations: ['8+8=16', '63+16=79'] Exploring Operation: 96*79=7584, Resulting Numbers: [7584] 7584,95 unequal: No Solution Exploring Operation: 96-79=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 96+79=175, Resulting Numbers: [175] 175,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 95:[16, 33], Operations: ['8+8=16', '96-63=33'] Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 16*33=528, Resulting Numbers: [528] 528,95 unequal: No Solution Exploring Operation: 16+33=49, Resulting Numbers: [49] 49,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 95:[96, 47], Operations: ['8+8=16', '63-16=47'] Exploring Operation: 96+47=143, Resulting Numbers: [143] 143,95 unequal: No Solution Exploring Operation: 96-47=49, Resulting Numbers: [49] 49,95 unequal: No Solution Exploring Operation: 96*47=4512, Resulting Numbers: [4512] 4512,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 95:[63, 6], Operations: ['8+8=16', '96/16=6'] Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,95 unequal: No Solution Exploring Operation: 63+6=69, Resulting Numbers: [69] 69,95 unequal: No Solution Exploring Operation: 63*6=378, Resulting Numbers: [378] 378,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 57, 20, 5, 71 ]
56
[ "71-57=14", "20/5=4", "14*4=56" ]
Current State: 56:[57, 20, 5, 71], Operations: [] Exploring Operation: 71-57=14, Resulting Numbers: [20, 5, 14] Generated Node #2: [20, 5, 14] from Operation: 71-57=14 Current State: 56:[20, 5, 14], Operations: ['71-57=14'] Exploring Operation: 20/5=4, Resulting Numbers: [14, 4] Generated Node #3: [14, 4] from Operation: 20/5=4 Current State: 56:[14, 4], Operations: ['71-57=14', '20/5=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[57, 20, 5, 71], Operations: [] Exploring Operation: 71-20=51, Resulting Numbers: [57, 5, 51] Generated Node #0,0: 56:[57, 5, 51] Operation: 71-20=51 Exploring Operation: 71-57=14, Resulting Numbers: [20, 5, 14] Generated Node #0,1: 56:[20, 5, 14] Operation: 71-57=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[57, 5, 51], Operations: ['71-20=51'] Exploring Operation: 5+51=56, Resulting Numbers: [57, 56] Generated Node #0,0,0: 56:[57, 56] Operation: 5+51=56 Exploring Operation: 57-51=6, Resulting Numbers: [5, 6] Generated Node #0,0,1: 56:[5, 6] Operation: 57-51=6 Moving to Node #0,0,0 Current State: 56:[57, 56], Operations: ['71-20=51', '5+51=56'] Exploring Operation: 57+56=113, Resulting Numbers: [113] 113,56 unequal: No Solution Exploring Operation: 57-56=1, Resulting Numbers: [1] 1,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[5, 6], Operations: ['71-20=51', '57-51=6'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[20, 5, 14], Operations: ['71-57=14'] Exploring Operation: 20-5=15, Resulting Numbers: [14, 15] Generated Node #0,1,0: 56:[14, 15] Operation: 20-5=15 Exploring Operation: 20/5=4, Resulting Numbers: [14, 4] Generated Node #0,1,1: 56:[14, 4] Operation: 20/5=4 Moving to Node #0,1,1 Current State: 56:[14, 4], Operations: ['71-57=14', '20/5=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[57, 20, 5, 71], Operations: [] Exploring Operation: 71-57=14, Resulting Numbers: [20, 5, 14] Generated Node #0,1: 56:[20, 5, 14] Operation: 71-57=14 Moving to Node #0,1 Current State: 56:[20, 5, 14], Operations: ['71-57=14'] Exploring Operation: 20/5=4, Resulting Numbers: [14, 4] Generated Node #0,1,1: 56:[14, 4] Operation: 20/5=4 Moving to Node #0,1,1 Current State: 56:[14, 4], Operations: ['71-57=14', '20/5=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 14, 30, 65, 5 ]
99
[ "65-14=51", "30*5=150", "150-51=99" ]
Current State: 99:[14, 30, 65, 5], Operations: [] Exploring Operation: 65-14=51, Resulting Numbers: [30, 5, 51] Generated Node #2: [30, 5, 51] from Operation: 65-14=51 Current State: 99:[30, 5, 51], Operations: ['65-14=51'] Exploring Operation: 30*5=150, Resulting Numbers: [51, 150] Generated Node #3: [51, 150] from Operation: 30*5=150 Current State: 99:[51, 150], Operations: ['65-14=51', '30*5=150'] Exploring Operation: 150-51=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[14, 30, 65, 5], Operations: [] Exploring Operation: 65/5=13, Resulting Numbers: [14, 30, 13] Generated Node #0,0: 99:[14, 30, 13] Operation: 65/5=13 Exploring Operation: 65-30=35, Resulting Numbers: [14, 5, 35] Generated Node #0,1: 99:[14, 5, 35] Operation: 65-30=35 Moving to Node #0,1 Current State: 99:[14, 5, 35], Operations: ['65-30=35'] Exploring Operation: 14-5=9, Resulting Numbers: [35, 9] Generated Node #0,1,0: 99:[35, 9] Operation: 14-5=9 Exploring Operation: 35/5=7, Resulting Numbers: [14, 7] Generated Node #0,1,1: 99:[14, 7] Operation: 35/5=7 Moving to Node #0,0 Current State: 99:[14, 30, 13], Operations: ['65/5=13'] Exploring Operation: 14-13=1, Resulting Numbers: [30, 1] Generated Node #0,0,0: 99:[30, 1] Operation: 14-13=1 Exploring Operation: 30-14=16, Resulting Numbers: [13, 16] Generated Node #0,0,1: 99:[13, 16] Operation: 30-14=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[30, 1], Operations: ['65/5=13', '14-13=1'] Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,99 unequal: No Solution Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,99 unequal: No Solution No 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: 99:[13, 16], Operations: ['65/5=13', '30-14=16'] Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,99 unequal: No Solution Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 99:[35, 9], Operations: ['65-30=35', '14-5=9'] Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,99 unequal: No Solution Exploring Operation: 35+9=44, Resulting Numbers: [44] 44,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[14, 7], Operations: ['65-30=35', '35/5=7'] Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 14*7=98, Resulting Numbers: [98] 98,99 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 23, 32, 12, 37 ]
36
[ "32+37=69", "69/23=3", "12*3=36" ]
Current State: 36:[23, 32, 12, 37], Operations: [] Exploring Operation: 32+37=69, Resulting Numbers: [23, 12, 69] Generated Node #2: [23, 12, 69] from Operation: 32+37=69 Current State: 36:[23, 12, 69], Operations: ['32+37=69'] Exploring Operation: 69/23=3, Resulting Numbers: [12, 3] Generated Node #3: [12, 3] from Operation: 69/23=3 Current State: 36:[12, 3], Operations: ['32+37=69', '69/23=3'] Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[23, 32, 12, 37], Operations: [] Exploring Operation: 23+12=35, Resulting Numbers: [32, 37, 35] Generated Node #0,0: 36:[32, 37, 35] Operation: 23+12=35 Exploring Operation: 23-12=11, Resulting Numbers: [32, 37, 11] Generated Node #0,1: 36:[32, 37, 11] Operation: 23-12=11 Exploring Operation: 32-23=9, Resulting Numbers: [12, 37, 9] Generated Node #0,2: 36:[12, 37, 9] Operation: 32-23=9 Exploring Operation: 37-32=5, Resulting Numbers: [23, 12, 5] Generated Node #0,3: 36:[23, 12, 5] Operation: 37-32=5 Exploring Operation: 37-23=14, Resulting Numbers: [32, 12, 14] Generated Node #0,4: 36:[32, 12, 14] Operation: 37-23=14 Moving to Node #0,2 Current State: 36:[12, 37, 9], Operations: ['32-23=9'] Exploring Operation: 37-12=25, Resulting Numbers: [9, 25] Generated Node #0,2,0: 36:[9, 25] Operation: 37-12=25 Exploring Operation: 12+9=21, Resulting Numbers: [37, 21] Generated Node #0,2,1: 36:[37, 21] Operation: 12+9=21 Exploring Operation: 37-9=28, Resulting Numbers: [12, 28] Generated Node #0,2,2: 36:[12, 28] Operation: 37-9=28 Exploring Operation: 37+9=46, Resulting Numbers: [12, 46] Generated Node #0,2,3: 36:[12, 46] Operation: 37+9=46 Exploring Operation: 12-9=3, Resulting Numbers: [37, 3] Generated Node #0,2,4: 36:[37, 3] Operation: 12-9=3 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 36:[37, 3], Operations: ['32-23=9', '12-9=3'] Exploring Operation: 37*3=111, Resulting Numbers: [111] 111,36 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,36 unequal: No Solution Exploring Operation: 37+3=40, Resulting Numbers: [40] 40,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 36:[37, 21], Operations: ['32-23=9', '12+9=21'] Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 37*21=777, Resulting Numbers: [777] 777,36 unequal: No Solution Exploring Operation: 37+21=58, Resulting Numbers: [58] 58,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 36:[9, 25], Operations: ['32-23=9', '37-12=25'] Exploring Operation: 9*25=225, Resulting Numbers: [225] 225,36 unequal: No Solution Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 36:[12, 28], Operations: ['32-23=9', '37-9=28'] Exploring Operation: 12+28=40, Resulting Numbers: [40] 40,36 unequal: No Solution Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 12*28=336, Resulting Numbers: [336] 336,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 36:[12, 46], Operations: ['32-23=9', '37+9=46'] Exploring Operation: 12+46=58, Resulting Numbers: [58] 58,36 unequal: No Solution Exploring Operation: 12*46=552, Resulting Numbers: [552] 552,36 unequal: No Solution Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,36 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: 36:[32, 37, 11], Operations: ['23-12=11'] Exploring Operation: 37-32=5, Resulting Numbers: [11, 5] Generated Node #0,1,0: 36:[11, 5] Operation: 37-32=5 Exploring Operation: 37-11=26, Resulting Numbers: [32, 26] Generated Node #0,1,1: 36:[32, 26] Operation: 37-11=26 Exploring Operation: 32+11=43, Resulting Numbers: [37, 43] Generated Node #0,1,2: 36:[37, 43] Operation: 32+11=43 Exploring Operation: 32-11=21, Resulting Numbers: [37, 21] Generated Node #0,1,3: 36:[37, 21] Operation: 32-11=21 Exploring Operation: 37+11=48, Resulting Numbers: [32, 48] Generated Node #0,1,4: 36:[32, 48] Operation: 37+11=48 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 36:[11, 5], Operations: ['23-12=11', '37-32=5'] Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,36 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 36:[37, 21], Operations: ['23-12=11', '32-11=21'] Exploring Operation: 37+21=58, Resulting Numbers: [58] 58,36 unequal: No Solution Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 37*21=777, Resulting Numbers: [777] 777,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 36:[37, 43], Operations: ['23-12=11', '32+11=43'] Exploring Operation: 37+43=80, Resulting Numbers: [80] 80,36 unequal: No Solution Exploring Operation: 43-37=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 37*43=1591, Resulting Numbers: [1591] 1591,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 36:[32, 26], Operations: ['23-12=11', '37-11=26'] Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,36 unequal: No Solution Exploring Operation: 32*26=832, Resulting Numbers: [832] 832,36 unequal: No Solution Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 36:[32, 48], Operations: ['23-12=11', '37+11=48'] Exploring Operation: 32*48=1536, Resulting Numbers: [1536] 1536,36 unequal: No Solution Exploring Operation: 32+48=80, Resulting Numbers: [80] 80,36 unequal: No Solution Exploring Operation: 48-32=16, Resulting Numbers: [16] 16,36 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: 36:[32, 12, 14], Operations: ['37-23=14'] Exploring Operation: 32-14=18, Resulting Numbers: [12, 18] Generated Node #0,4,0: 36:[12, 18] Operation: 32-14=18 Exploring Operation: 32+12=44, Resulting Numbers: [14, 44] Generated Node #0,4,1: 36:[14, 44] Operation: 32+12=44 Exploring Operation: 14-12=2, Resulting Numbers: [32, 2] Generated Node #0,4,2: 36:[32, 2] Operation: 14-12=2 Exploring Operation: 32+14=46, Resulting Numbers: [12, 46] Generated Node #0,4,3: 36:[12, 46] Operation: 32+14=46 Exploring Operation: 32-12=20, Resulting Numbers: [14, 20] Generated Node #0,4,4: 36:[14, 20] Operation: 32-12=20 Moving to Node #0,0 Current State: 36:[32, 37, 35], Operations: ['23+12=35'] Exploring Operation: 35-32=3, Resulting Numbers: [37, 3] Generated Node #0,0,0: 36:[37, 3] Operation: 35-32=3 Exploring Operation: 37-35=2, Resulting Numbers: [32, 2] Generated Node #0,0,1: 36:[32, 2] Operation: 37-35=2 Exploring Operation: 32+37=69, Resulting Numbers: [35, 69] Generated Node #0,0,2: 36:[35, 69] Operation: 32+37=69 Exploring Operation: 32+35=67, Resulting Numbers: [37, 67] Generated Node #0,0,3: 36:[37, 67] Operation: 32+35=67 Exploring Operation: 37-32=5, Resulting Numbers: [35, 5] Generated Node #0,0,4: 36:[35, 5] Operation: 37-32=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[37, 3], Operations: ['23+12=35', '35-32=3'] Exploring Operation: 37+3=40, Resulting Numbers: [40] 40,36 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,36 unequal: No Solution Exploring Operation: 37*3=111, Resulting Numbers: [111] 111,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 36:[35, 5], Operations: ['23+12=35', '37-32=5'] Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,36 unequal: No Solution Exploring Operation: 35+5=40, Resulting Numbers: [40] 40,36 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 35*5=175, Resulting Numbers: [175] 175,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 36:[32, 2], Operations: ['23+12=35', '37-35=2'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,36 unequal: No Solution Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,36 unequal: No Solution Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,36 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 36:[37, 67], Operations: ['23+12=35', '32+35=67'] Exploring Operation: 37+67=104, Resulting Numbers: [104] 104,36 unequal: No Solution Exploring Operation: 67-37=30, Resulting Numbers: [30] 30,36 unequal: No Solution Exploring Operation: 37*67=2479, Resulting Numbers: [2479] 2479,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 36:[35, 69], Operations: ['23+12=35', '32+37=69'] Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,36 unequal: No Solution Exploring Operation: 35*69=2415, Resulting Numbers: [2415] 2415,36 unequal: No Solution Exploring Operation: 35+69=104, Resulting Numbers: [104] 104,36 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: 36:[23, 12, 5], Operations: ['37-32=5'] Exploring Operation: 12-5=7, Resulting Numbers: [23, 7] Generated Node #0,3,0: 36:[23, 7] Operation: 12-5=7 Exploring Operation: 23-5=18, Resulting Numbers: [12, 18] Generated Node #0,3,1: 36:[12, 18] Operation: 23-5=18 Exploring Operation: 23+12=35, Resulting Numbers: [5, 35] Generated Node #0,3,2: 36:[5, 35] Operation: 23+12=35 Exploring Operation: 12+5=17, Resulting Numbers: [23, 17] Generated Node #0,3,3: 36:[23, 17] Operation: 12+5=17 Exploring Operation: 23-12=11, Resulting Numbers: [5, 11] Generated Node #0,3,4: 36:[5, 11] Operation: 23-12=11 Moving to Node #0,4,0 Current State: 36:[12, 18], Operations: ['37-23=14', '32-14=18'] Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 12*18=216, Resulting Numbers: [216] 216,36 unequal: No Solution Exploring Operation: 12+18=30, Resulting Numbers: [30] 30,36 unequal: No Solution Moving to Node #0,3,1 Current State: 36:[12, 18], Operations: ['37-32=5', '23-5=18'] Exploring Operation: 12+18=30, Resulting Numbers: [30] 30,36 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 12*18=216, Resulting Numbers: [216] 216,36 unequal: No Solution Moving to Node #0,3,2 Current State: 36:[5, 35], Operations: ['37-32=5', '23+12=35'] Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 5+35=40, Resulting Numbers: [40] 40,36 unequal: No Solution Exploring Operation: 5*35=175, Resulting Numbers: [175] 175,36 unequal: No Solution Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,36 unequal: No Solution Moving to Node #0,3,4 Current State: 36:[5, 11], Operations: ['37-32=5', '23-12=11'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,36 unequal: No Solution Moving to Node #0,4,4 Current State: 36:[14, 20], Operations: ['37-23=14', '32-12=20'] Exploring Operation: 14+20=34, Resulting Numbers: [34] 34,36 unequal: No Solution Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 14*20=280, Resulting Numbers: [280] 280,36 unequal: No Solution Moving to Node #0,4,2 Current State: 36:[32, 2], Operations: ['37-23=14', '14-12=2'] Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,36 unequal: No Solution Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,36 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,36 unequal: No Solution Moving to Node #0,3,0 Current State: 36:[23, 7], Operations: ['37-32=5', '12-5=7'] Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 23+7=30, Resulting Numbers: [30] 30,36 unequal: No Solution Exploring Operation: 23*7=161, Resulting Numbers: [161] 161,36 unequal: No Solution Moving to Node #0,3,3 Current State: 36:[23, 17], Operations: ['37-32=5', '12+5=17'] Exploring Operation: 23+17=40, Resulting Numbers: [40] 40,36 unequal: No Solution Exploring Operation: 23-17=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 23*17=391, Resulting Numbers: [391] 391,36 unequal: No Solution Moving to Node #0,4,1 Current State: 36:[14, 44], Operations: ['37-23=14', '32+12=44'] Exploring Operation: 14+44=58, Resulting Numbers: [58] 58,36 unequal: No Solution Exploring Operation: 14*44=616, Resulting Numbers: [616] 616,36 unequal: No Solution Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,36 unequal: No Solution Moving to Node #0,4,3 Current State: 36:[12, 46], Operations: ['37-23=14', '32+14=46'] Exploring Operation: 12*46=552, Resulting Numbers: [552] 552,36 unequal: No Solution Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,36 unequal: No Solution Exploring Operation: 12+46=58, Resulting Numbers: [58] 58,36 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 46, 2, 65, 20 ]
64
[ "46+20=66", "2*65=130", "130-66=64" ]
Current State: 64:[46, 2, 65, 20], Operations: [] Exploring Operation: 46+20=66, Resulting Numbers: [2, 65, 66] Generated Node #2: [2, 65, 66] from Operation: 46+20=66 Current State: 64:[2, 65, 66], Operations: ['46+20=66'] Exploring Operation: 2*65=130, Resulting Numbers: [66, 130] Generated Node #3: [66, 130] from Operation: 2*65=130 Current State: 64:[66, 130], Operations: ['46+20=66', '2*65=130'] Exploring Operation: 130-66=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[46, 2, 65, 20], Operations: [] Exploring Operation: 46+20=66, Resulting Numbers: [2, 65, 66] Generated Node #0,0: 64:[2, 65, 66] Operation: 46+20=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[2, 65, 66], Operations: ['46+20=66'] Exploring Operation: 66-2=64, Resulting Numbers: [65, 64] Generated Node #0,0,0: 64:[65, 64] Operation: 66-2=64 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 64:[65, 64], Operations: ['46+20=66', '66-2=64'] Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,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_1
mult_heuristic
[ 47, 85, 86, 49 ]
87
[ "49-47=2", "86*2=172", "172-85=87" ]
Current State: 87:[47, 85, 86, 49], Operations: [] Exploring Operation: 49-47=2, Resulting Numbers: [85, 86, 2] Generated Node #2: [85, 86, 2] from Operation: 49-47=2 Current State: 87:[85, 86, 2], Operations: ['49-47=2'] Exploring Operation: 86*2=172, Resulting Numbers: [85, 172] Generated Node #3: [85, 172] from Operation: 86*2=172 Current State: 87:[85, 172], Operations: ['49-47=2', '86*2=172'] Exploring Operation: 172-85=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[47, 85, 86, 49], Operations: [] Exploring Operation: 49-47=2, Resulting Numbers: [85, 86, 2] Generated Node #0,0: 87:[85, 86, 2] Operation: 49-47=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[85, 86, 2], Operations: ['49-47=2'] Exploring Operation: 85+2=87, Resulting Numbers: [86, 87] Generated Node #0,0,0: 87:[86, 87] Operation: 85+2=87 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[86, 87], Operations: ['49-47=2', '85+2=87'] Exploring Operation: 87-86=1, Resulting Numbers: [1] 1,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 14, 5, 56, 70 ]
46
[ "70/14=5", "56-5=51", "51-5=46" ]
Current State: 46:[14, 5, 56, 70], Operations: [] Exploring Operation: 70/14=5, Resulting Numbers: [5, 56, 5] Generated Node #2: [5, 56, 5] from Operation: 70/14=5 Current State: 46:[5, 56, 5], Operations: ['70/14=5'] Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,46 equal: Goal Reached Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[14, 5, 56, 70], Operations: [] Exploring Operation: 70-56=14, Resulting Numbers: [14, 5, 14] Generated Node #0,0: 46:[14, 5, 14] Operation: 70-56=14 Exploring Operation: 70/14=5, Resulting Numbers: [5, 56, 5] Generated Node #0,1: 46:[5, 56, 5] Operation: 70/14=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[5, 56, 5], Operations: ['70/14=5'] Exploring Operation: 56-5=51, Resulting Numbers: [5, 51] Generated Node #0,1,0: 46:[5, 51] Operation: 56-5=51 Exploring Operation: 56-5=51, Resulting Numbers: [5, 51] Generated Node #0,1,1: 46:[5, 51] Operation: 56-5=51 Moving to Node #0,1,0 Current State: 46:[5, 51], Operations: ['70/14=5', '56-5=51'] Exploring Operation: 5+51=56, Resulting Numbers: [56] 56,46 unequal: No Solution Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[14, 5, 56, 70], Operations: [] Exploring Operation: 70/14=5, Resulting Numbers: [5, 56, 5] Generated Node #0,1: 46:[5, 56, 5] Operation: 70/14=5 Moving to Node #0,1 Current State: 46:[5, 56, 5], Operations: ['70/14=5'] Exploring Operation: 56-5=51, Resulting Numbers: [5, 51] Generated Node #0,1,0: 46:[5, 51] Operation: 56-5=51 Moving to Node #0,1,0 Current State: 46:[5, 51], Operations: ['70/14=5', '56-5=51'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 92, 74, 87, 6 ]
21
[ "92-74=18", "6*18=108", "108-87=21" ]
Current State: 21:[92, 74, 87, 6], Operations: [] Exploring Operation: 92-74=18, Resulting Numbers: [87, 6, 18] Generated Node #2: [87, 6, 18] from Operation: 92-74=18 Current State: 21:[87, 6, 18], Operations: ['92-74=18'] Exploring Operation: 6*18=108, Resulting Numbers: [87, 108] Generated Node #3: [87, 108] from Operation: 6*18=108 Current State: 21:[87, 108], Operations: ['92-74=18', '6*18=108'] Exploring Operation: 108-87=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[92, 74, 87, 6], Operations: [] Exploring Operation: 87-74=13, Resulting Numbers: [92, 6, 13] Generated Node #0,0: 21:[92, 6, 13] Operation: 87-74=13 Exploring Operation: 74-6=68, Resulting Numbers: [92, 87, 68] Generated Node #0,1: 21:[92, 87, 68] Operation: 74-6=68 Exploring Operation: 92-74=18, Resulting Numbers: [87, 6, 18] Generated Node #0,2: 21:[87, 6, 18] Operation: 92-74=18 Exploring Operation: 92-6=86, Resulting Numbers: [74, 87, 86] Generated Node #0,3: 21:[74, 87, 86] Operation: 92-6=86 Exploring Operation: 92-87=5, Resulting Numbers: [74, 6, 5] Generated Node #0,4: 21:[74, 6, 5] Operation: 92-87=5 Start Sub Search at level 1: Moving to Node #0,4 Current State: 21:[74, 6, 5], Operations: ['92-87=5'] Exploring Operation: 74-6=68, Resulting Numbers: [5, 68] Generated Node #0,4,0: 21:[5, 68] Operation: 74-6=68 Exploring Operation: 6-5=1, Resulting Numbers: [74, 1] Generated Node #0,4,1: 21:[74, 1] Operation: 6-5=1 Exploring Operation: 74-5=69, Resulting Numbers: [6, 69] Generated Node #0,4,2: 21:[6, 69] Operation: 74-5=69 Exploring Operation: 74+5=79, Resulting Numbers: [6, 79] Generated Node #0,4,3: 21:[6, 79] Operation: 74+5=79 Exploring Operation: 6+5=11, Resulting Numbers: [74, 11] Generated Node #0,4,4: 21:[74, 11] Operation: 6+5=11 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 21:[5, 68], Operations: ['92-87=5', '74-6=68'] Exploring Operation: 5+68=73, Resulting Numbers: [73] 73,21 unequal: No Solution Exploring Operation: 5*68=340, Resulting Numbers: [340] 340,21 unequal: No Solution Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,21 unequal: No Solution No 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: 21:[6, 69], Operations: ['92-87=5', '74-5=69'] Exploring Operation: 6+69=75, Resulting Numbers: [75] 75,21 unequal: No Solution Exploring Operation: 6*69=414, Resulting Numbers: [414] 414,21 unequal: No Solution Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,21 unequal: No Solution No 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: 21:[74, 1], Operations: ['92-87=5', '6-5=1'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,21 unequal: No Solution Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,21 unequal: No Solution Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,21 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,21 unequal: No Solution No 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: 21:[74, 11], Operations: ['92-87=5', '6+5=11'] Exploring Operation: 74+11=85, Resulting Numbers: [85] 85,21 unequal: No Solution Exploring Operation: 74-11=63, Resulting Numbers: [63] 63,21 unequal: No Solution Exploring Operation: 74*11=814, Resulting Numbers: [814] 814,21 unequal: No Solution No 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: 21:[6, 79], Operations: ['92-87=5', '74+5=79'] Exploring Operation: 79-6=73, Resulting Numbers: [73] 73,21 unequal: No Solution Exploring Operation: 6+79=85, Resulting Numbers: [85] 85,21 unequal: No Solution Exploring Operation: 6*79=474, Resulting Numbers: [474] 474,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 21:[87, 6, 18], Operations: ['92-74=18'] Exploring Operation: 18-6=12, Resulting Numbers: [87, 12] Generated Node #0,2,0: 21:[87, 12] Operation: 18-6=12 Exploring Operation: 87-6=81, Resulting Numbers: [18, 81] Generated Node #0,2,1: 21:[18, 81] Operation: 87-6=81 Exploring Operation: 87-18=69, Resulting Numbers: [6, 69] Generated Node #0,2,2: 21:[6, 69] Operation: 87-18=69 Exploring Operation: 6+18=24, Resulting Numbers: [87, 24] Generated Node #0,2,3: 21:[87, 24] Operation: 6+18=24 Exploring Operation: 18/6=3, Resulting Numbers: [87, 3] Generated Node #0,2,4: 21:[87, 3] Operation: 18/6=3 Moving to Node #0,2,2 Current State: 21:[6, 69], Operations: ['92-74=18', '87-18=69'] Exploring Operation: 6*69=414, Resulting Numbers: [414] 414,21 unequal: No Solution Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,21 unequal: No Solution Exploring Operation: 6+69=75, Resulting Numbers: [75] 75,21 unequal: No Solution Moving to Node #0,2,1 Current State: 21:[18, 81], Operations: ['92-74=18', '87-6=81'] Exploring Operation: 18*81=1458, Resulting Numbers: [1458] 1458,21 unequal: No Solution Exploring Operation: 18+81=99, Resulting Numbers: [99] 99,21 unequal: No Solution Exploring Operation: 81-18=63, Resulting Numbers: [63] 63,21 unequal: No Solution Moving to Node #0,2,4 Current State: 21:[87, 3], Operations: ['92-74=18', '18/6=3'] Exploring Operation: 87+3=90, Resulting Numbers: [90] 90,21 unequal: No Solution Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,21 unequal: No Solution Exploring Operation: 87*3=261, Resulting Numbers: [261] 261,21 unequal: No Solution Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,21 unequal: No Solution Moving to Node #0,2,3 Current State: 21:[87, 24], Operations: ['92-74=18', '6+18=24'] Exploring Operation: 87*24=2088, Resulting Numbers: [2088] 2088,21 unequal: No Solution Exploring Operation: 87-24=63, Resulting Numbers: [63] 63,21 unequal: No Solution Exploring Operation: 87+24=111, Resulting Numbers: [111] 111,21 unequal: No Solution Moving to Node #0,2,0 Current State: 21:[87, 12], Operations: ['92-74=18', '18-6=12'] Exploring Operation: 87+12=99, Resulting Numbers: [99] 99,21 unequal: No Solution Exploring Operation: 87*12=1044, Resulting Numbers: [1044] 1044,21 unequal: No Solution Exploring Operation: 87-12=75, Resulting Numbers: [75] 75,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[92, 6, 13], Operations: ['87-74=13'] Exploring Operation: 6+13=19, Resulting Numbers: [92, 19] Generated Node #0,0,0: 21:[92, 19] Operation: 6+13=19 Exploring Operation: 13-6=7, Resulting Numbers: [92, 7] Generated Node #0,0,1: 21:[92, 7] Operation: 13-6=7 Exploring Operation: 92-6=86, Resulting Numbers: [13, 86] Generated Node #0,0,2: 21:[13, 86] Operation: 92-6=86 Exploring Operation: 92+6=98, Resulting Numbers: [13, 98] Generated Node #0,0,3: 21:[13, 98] Operation: 92+6=98 Exploring Operation: 92-13=79, Resulting Numbers: [6, 79] Generated Node #0,0,4: 21:[6, 79] Operation: 92-13=79 Moving to Node #0,0,4 Current State: 21:[6, 79], Operations: ['87-74=13', '92-13=79'] Exploring Operation: 79-6=73, Resulting Numbers: [73] 73,21 unequal: No Solution Exploring Operation: 6*79=474, Resulting Numbers: [474] 474,21 unequal: No Solution Exploring Operation: 6+79=85, Resulting Numbers: [85] 85,21 unequal: No Solution Moving to Node #0,0,2 Current State: 21:[13, 86], Operations: ['87-74=13', '92-6=86'] Exploring Operation: 13*86=1118, Resulting Numbers: [1118] 1118,21 unequal: No Solution Exploring Operation: 86-13=73, Resulting Numbers: [73] 73,21 unequal: No Solution Exploring Operation: 13+86=99, Resulting Numbers: [99] 99,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[92, 7], Operations: ['87-74=13', '13-6=7'] Exploring Operation: 92+7=99, Resulting Numbers: [99] 99,21 unequal: No Solution Exploring Operation: 92-7=85, Resulting Numbers: [85] 85,21 unequal: No Solution Exploring Operation: 92*7=644, Resulting Numbers: [644] 644,21 unequal: No Solution Moving to Node #0,0,0 Current State: 21:[92, 19], Operations: ['87-74=13', '6+13=19'] Exploring Operation: 92-19=73, Resulting Numbers: [73] 73,21 unequal: No Solution Exploring Operation: 92+19=111, Resulting Numbers: [111] 111,21 unequal: No Solution Exploring Operation: 92*19=1748, Resulting Numbers: [1748] 1748,21 unequal: No Solution Moving to Node #0,0,3 Current State: 21:[13, 98], Operations: ['87-74=13', '92+6=98'] Exploring Operation: 13*98=1274, Resulting Numbers: [1274] 1274,21 unequal: No Solution Exploring Operation: 13+98=111, Resulting Numbers: [111] 111,21 unequal: No Solution Exploring Operation: 98-13=85, Resulting Numbers: [85] 85,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 Current State: 21:[92, 87, 68], Operations: ['74-6=68'] Exploring Operation: 92-68=24, Resulting Numbers: [87, 24] Generated Node #0,1,0: 21:[87, 24] Operation: 92-68=24 Exploring Operation: 92+68=160, Resulting Numbers: [87, 160] Generated Node #0,1,1: 21:[87, 160] Operation: 92+68=160 Exploring Operation: 92-87=5, Resulting Numbers: [68, 5] Generated Node #0,1,2: 21:[68, 5] Operation: 92-87=5 Exploring Operation: 92+87=179, Resulting Numbers: [68, 179] Generated Node #0,1,3: 21:[68, 179] Operation: 92+87=179 Exploring Operation: 87-68=19, Resulting Numbers: [92, 19] Generated Node #0,1,4: 21:[92, 19] Operation: 87-68=19 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 21:[68, 5], Operations: ['74-6=68', '92-87=5'] Exploring Operation: 68+5=73, Resulting Numbers: [73] 73,21 unequal: No Solution Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,21 unequal: No Solution Exploring Operation: 68*5=340, Resulting Numbers: [340] 340,21 unequal: No Solution No 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: 21:[87, 24], Operations: ['74-6=68', '92-68=24'] Exploring Operation: 87-24=63, Resulting Numbers: [63] 63,21 unequal: No Solution Exploring Operation: 87*24=2088, Resulting Numbers: [2088] 2088,21 unequal: No Solution Exploring Operation: 87+24=111, Resulting Numbers: [111] 111,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 21:[92, 19], Operations: ['74-6=68', '87-68=19'] Exploring Operation: 92+19=111, Resulting Numbers: [111] 111,21 unequal: No Solution Exploring Operation: 92*19=1748, Resulting Numbers: [1748] 1748,21 unequal: No Solution Exploring Operation: 92-19=73, Resulting Numbers: [73] 73,21 unequal: No Solution No 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: 21:[87, 160], Operations: ['74-6=68', '92+68=160'] Exploring Operation: 160-87=73, Resulting Numbers: [73] 73,21 unequal: No Solution Exploring Operation: 87+160=247, Resulting Numbers: [247] 247,21 unequal: No Solution Exploring Operation: 87*160=13920, Resulting Numbers: [13920] 13920,21 unequal: No Solution No 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: 21:[68, 179], Operations: ['74-6=68', '92+87=179'] Exploring Operation: 179-68=111, Resulting Numbers: [111] 111,21 unequal: No Solution Exploring Operation: 68+179=247, Resulting Numbers: [247] 247,21 unequal: No Solution Exploring Operation: 68*179=12172, Resulting Numbers: [12172] 12172,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 21:[74, 87, 86], Operations: ['92-6=86'] Exploring Operation: 87-74=13, Resulting Numbers: [86, 13] Generated Node #0,3,0: 21:[86, 13] Operation: 87-74=13 Exploring Operation: 87-86=1, Resulting Numbers: [74, 1] Generated Node #0,3,1: 21:[74, 1] Operation: 87-86=1 Exploring Operation: 74+86=160, Resulting Numbers: [87, 160] Generated Node #0,3,2: 21:[87, 160] Operation: 74+86=160 Exploring Operation: 74+87=161, Resulting Numbers: [86, 161] Generated Node #0,3,3: 21:[86, 161] Operation: 74+87=161 Exploring Operation: 86-74=12, Resulting Numbers: [87, 12] Generated Node #0,3,4: 21:[87, 12] Operation: 86-74=12 Moving to Node #0,3,1 Current State: 21:[74, 1], Operations: ['92-6=86', '87-86=1'] Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,21 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,21 unequal: No Solution Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,21 unequal: No Solution Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,21 unequal: No Solution Moving to Node #0,3,4 Current State: 21:[87, 12], Operations: ['92-6=86', '86-74=12'] Exploring Operation: 87-12=75, Resulting Numbers: [75] 75,21 unequal: No Solution Exploring Operation: 87+12=99, Resulting Numbers: [99] 99,21 unequal: No Solution Exploring Operation: 87*12=1044, Resulting Numbers: [1044] 1044,21 unequal: No Solution Moving to Node #0,3,0 Current State: 21:[86, 13], Operations: ['92-6=86', '87-74=13'] Exploring Operation: 86*13=1118, Resulting Numbers: [1118] 1118,21 unequal: No Solution Exploring Operation: 86+13=99, Resulting Numbers: [99] 99,21 unequal: No Solution Exploring Operation: 86-13=73, Resulting Numbers: [73] 73,21 unequal: No Solution Moving to Node #0,3,2 Current State: 21:[87, 160], Operations: ['92-6=86', '74+86=160'] Exploring Operation: 87*160=13920, Resulting Numbers: [13920] 13920,21 unequal: No Solution Exploring Operation: 160-87=73, Resulting Numbers: [73] 73,21 unequal: No Solution Exploring Operation: 87+160=247, Resulting Numbers: [247] 247,21 unequal: No Solution Moving to Node #0,3,3 Current State: 21:[86, 161], Operations: ['92-6=86', '74+87=161'] Exploring Operation: 161-86=75, Resulting Numbers: [75] 75,21 unequal: No Solution Exploring Operation: 86+161=247, Resulting Numbers: [247] 247,21 unequal: No Solution Exploring Operation: 86*161=13846, Resulting Numbers: [13846] 13846,21 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
[ 32, 31, 53, 97 ]
44
[ "32-31=1", "97-53=44", "1*44=44" ]
Current State: 44:[32, 31, 53, 97], Operations: [] Exploring Operation: 32-31=1, Resulting Numbers: [53, 97, 1] Generated Node #2: [53, 97, 1] from Operation: 32-31=1 Current State: 44:[53, 97, 1], Operations: ['32-31=1'] Exploring Operation: 97-53=44, Resulting Numbers: [1, 44] Generated Node #3: [1, 44] from Operation: 97-53=44 Current State: 44:[1, 44], Operations: ['32-31=1', '97-53=44'] Exploring Operation: 1*44=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[32, 31, 53, 97], Operations: [] Exploring Operation: 97-53=44, Resulting Numbers: [32, 31, 44] Generated Node #0,0: 44:[32, 31, 44] Operation: 97-53=44 Exploring Operation: 97-32=65, Resulting Numbers: [31, 53, 65] Generated Node #0,1: 44:[31, 53, 65] Operation: 97-32=65 Moving to Node #0,0 Current State: 44:[32, 31, 44], Operations: ['97-53=44'] Exploring Operation: 44-32=12, Resulting Numbers: [31, 12] Generated Node #0,0,0: 44:[31, 12] Operation: 44-32=12 Exploring Operation: 32-31=1, Resulting Numbers: [44, 1] Generated Node #0,0,1: 44:[44, 1] Operation: 32-31=1 Moving to Node #0,1 Current State: 44:[31, 53, 65], Operations: ['97-32=65'] Exploring Operation: 65-53=12, Resulting Numbers: [31, 12] Generated Node #0,1,0: 44:[31, 12] Operation: 65-53=12 Exploring Operation: 65-31=34, Resulting Numbers: [53, 34] Generated Node #0,1,1: 44:[53, 34] Operation: 65-31=34 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 44:[31, 12], Operations: ['97-32=65', '65-53=12'] Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 31+12=43, Resulting Numbers: [43] 43,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 44:[53, 34], Operations: ['97-32=65', '65-31=34'] Exploring Operation: 53-34=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 53+34=87, Resulting Numbers: [87] 87,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 44:[44, 1], Operations: ['97-53=44', '32-31=1'] Exploring Operation: 44/1=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[32, 31, 53, 97], Operations: [] Exploring Operation: 97-53=44, Resulting Numbers: [32, 31, 44] Generated Node #0,0: 44:[32, 31, 44] Operation: 97-53=44 Moving to Node #0,0 Current State: 44:[32, 31, 44], Operations: ['97-53=44'] Exploring Operation: 32-31=1, Resulting Numbers: [44, 1] Generated Node #0,0,1: 44:[44, 1] Operation: 32-31=1 Moving to Node #0,0,1 Current State: 44:[44, 1], Operations: ['97-53=44', '32-31=1'] Exploring Operation: 44/1=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 30, 76, 26, 46 ]
27
[ "76-30=46", "46/46=1", "26+1=27" ]
Current State: 27:[30, 76, 26, 46], Operations: [] Exploring Operation: 76-30=46, Resulting Numbers: [26, 46, 46] Generated Node #2: [26, 46, 46] from Operation: 76-30=46 Current State: 27:[26, 46, 46], Operations: ['76-30=46'] Exploring Operation: 46/46=1, Resulting Numbers: [26, 1] Generated Node #3: [26, 1] from Operation: 46/46=1 Current State: 27:[26, 1], Operations: ['76-30=46', '46/46=1'] Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[30, 76, 26, 46], Operations: [] Exploring Operation: 76-26=50, Resulting Numbers: [30, 46, 50] Generated Node #0,0: 27:[30, 46, 50] Operation: 76-26=50 Exploring Operation: 46-30=16, Resulting Numbers: [76, 26, 16] Generated Node #0,1: 27:[76, 26, 16] Operation: 46-30=16 Exploring Operation: 76-46=30, Resulting Numbers: [30, 26, 30] Generated Node #0,2: 27:[30, 26, 30] Operation: 76-46=30 Exploring Operation: 76-30=46, Resulting Numbers: [26, 46, 46] Generated Node #0,3: 27:[26, 46, 46] Operation: 76-30=46 Moving to Node #0,2 Current State: 27:[30, 26, 30], Operations: ['76-46=30'] Exploring Operation: 30-26=4, Resulting Numbers: [30, 4] Generated Node #0,2,0: 27:[30, 4] Operation: 30-26=4 Exploring Operation: 30-30=0, Resulting Numbers: [26, 0] Generated Node #0,2,1: 27:[26, 0] Operation: 30-30=0 Exploring Operation: 30/30=1, Resulting Numbers: [26, 1] Generated Node #0,2,2: 27:[26, 1] Operation: 30/30=1 Exploring Operation: 30-26=4, Resulting Numbers: [30, 4] Generated Node #0,2,3: 27:[30, 4] Operation: 30-26=4 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 27:[26, 1], Operations: ['76-46=30', '30/30=1'] Exploring Operation: 26*1=26, Resulting Numbers: [26] 26,27 unequal: No Solution Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[30, 76, 26, 46], Operations: [] Exploring Operation: 76-46=30, Resulting Numbers: [30, 26, 30] Generated Node #0,2: 27:[30, 26, 30] Operation: 76-46=30 Moving to Node #0,2 Current State: 27:[30, 26, 30], Operations: ['76-46=30'] Exploring Operation: 30/30=1, Resulting Numbers: [26, 1] Generated Node #0,2,2: 27:[26, 1] Operation: 30/30=1 Moving to Node #0,2,2 Current State: 27:[26, 1], Operations: ['76-46=30', '30/30=1'] Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 96, 35, 26, 19 ]
68
[ "96-35=61", "26-19=7", "61+7=68" ]
Current State: 68:[96, 35, 26, 19], Operations: [] Exploring Operation: 96-35=61, Resulting Numbers: [26, 19, 61] Generated Node #2: [26, 19, 61] from Operation: 96-35=61 Current State: 68:[26, 19, 61], Operations: ['96-35=61'] Exploring Operation: 26-19=7, Resulting Numbers: [61, 7] Generated Node #3: [61, 7] from Operation: 26-19=7 Current State: 68:[61, 7], Operations: ['96-35=61', '26-19=7'] Exploring Operation: 61+7=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[96, 35, 26, 19], Operations: [] Exploring Operation: 96-19=77, Resulting Numbers: [35, 26, 77] Generated Node #0,0: 68:[35, 26, 77] Operation: 96-19=77 Exploring Operation: 35-26=9, Resulting Numbers: [96, 19, 9] Generated Node #0,1: 68:[96, 19, 9] Operation: 35-26=9 Exploring Operation: 96-35=61, Resulting Numbers: [26, 19, 61] Generated Node #0,2: 68:[26, 19, 61] Operation: 96-35=61 Exploring Operation: 96-26=70, Resulting Numbers: [35, 19, 70] Generated Node #0,3: 68:[35, 19, 70] Operation: 96-26=70 Exploring Operation: 26-19=7, Resulting Numbers: [96, 35, 7] Generated Node #0,4: 68:[96, 35, 7] Operation: 26-19=7 Moving to Node #0,3 Current State: 68:[35, 19, 70], Operations: ['96-26=70'] Exploring Operation: 70-35=35, Resulting Numbers: [19, 35] Generated Node #0,3,0: 68:[19, 35] Operation: 70-35=35 Exploring Operation: 35-19=16, Resulting Numbers: [70, 16] Generated Node #0,3,1: 68:[70, 16] Operation: 35-19=16 Exploring Operation: 70-19=51, Resulting Numbers: [35, 51] Generated Node #0,3,2: 68:[35, 51] Operation: 70-19=51 Exploring Operation: 70/35=2, Resulting Numbers: [19, 2] Generated Node #0,3,3: 68:[19, 2] Operation: 70/35=2 Exploring Operation: 35+19=54, Resulting Numbers: [70, 54] Generated Node #0,3,4: 68:[70, 54] Operation: 35+19=54 Moving to Node #0,2 Current State: 68:[26, 19, 61], Operations: ['96-35=61'] Exploring Operation: 19+61=80, Resulting Numbers: [26, 80] Generated Node #0,2,0: 68:[26, 80] Operation: 19+61=80 Exploring Operation: 26+19=45, Resulting Numbers: [61, 45] Generated Node #0,2,1: 68:[61, 45] Operation: 26+19=45 Exploring Operation: 61-26=35, Resulting Numbers: [19, 35] Generated Node #0,2,2: 68:[19, 35] Operation: 61-26=35 Exploring Operation: 61-19=42, Resulting Numbers: [26, 42] Generated Node #0,2,3: 68:[26, 42] Operation: 61-19=42 Exploring Operation: 26-19=7, Resulting Numbers: [61, 7] Generated Node #0,2,4: 68:[61, 7] Operation: 26-19=7 Moving to Node #0,0 Current State: 68:[35, 26, 77], Operations: ['96-19=77'] Exploring Operation: 35+26=61, Resulting Numbers: [77, 61] Generated Node #0,0,0: 68:[77, 61] Operation: 35+26=61 Exploring Operation: 35-26=9, Resulting Numbers: [77, 9] Generated Node #0,0,1: 68:[77, 9] Operation: 35-26=9 Exploring Operation: 77-35=42, Resulting Numbers: [26, 42] Generated Node #0,0,2: 68:[26, 42] Operation: 77-35=42 Exploring Operation: 77-26=51, Resulting Numbers: [35, 51] Generated Node #0,0,3: 68:[35, 51] Operation: 77-26=51 Exploring Operation: 26+77=103, Resulting Numbers: [35, 103] Generated Node #0,0,4: 68:[35, 103] Operation: 26+77=103 Moving to Node #0,4 Current State: 68:[96, 35, 7], Operations: ['26-19=7'] Exploring Operation: 96-7=89, Resulting Numbers: [35, 89] Generated Node #0,4,0: 68:[35, 89] Operation: 96-7=89 Exploring Operation: 96+7=103, Resulting Numbers: [35, 103] Generated Node #0,4,1: 68:[35, 103] Operation: 96+7=103 Exploring Operation: 96-35=61, Resulting Numbers: [7, 61] Generated Node #0,4,2: 68:[7, 61] Operation: 96-35=61 Exploring Operation: 35-7=28, Resulting Numbers: [96, 28] Generated Node #0,4,3: 68:[96, 28] Operation: 35-7=28 Exploring Operation: 35/7=5, Resulting Numbers: [96, 5] Generated Node #0,4,4: 68:[96, 5] Operation: 35/7=5 Moving to Node #0,1 Current State: 68:[96, 19, 9], Operations: ['35-26=9'] Exploring Operation: 19-9=10, Resulting Numbers: [96, 10] Generated Node #0,1,0: 68:[96, 10] Operation: 19-9=10 Exploring Operation: 19+9=28, Resulting Numbers: [96, 28] Generated Node #0,1,1: 68:[96, 28] Operation: 19+9=28 Exploring Operation: 96-9=87, Resulting Numbers: [19, 87] Generated Node #0,1,2: 68:[19, 87] Operation: 96-9=87 Exploring Operation: 96+9=105, Resulting Numbers: [19, 105] Generated Node #0,1,3: 68:[19, 105] Operation: 96+9=105 Exploring Operation: 96-19=77, Resulting Numbers: [9, 77] Generated Node #0,1,4: 68:[9, 77] Operation: 96-19=77 Moving to Node #0,3,3 Current State: 68:[19, 2], Operations: ['96-26=70', '70/35=2'] Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,68 unequal: No Solution Moving to Node #0,3,1 Current State: 68:[70, 16], Operations: ['96-26=70', '35-19=16'] Exploring Operation: 70+16=86, Resulting Numbers: [86] 86,68 unequal: No Solution Exploring Operation: 70*16=1120, Resulting Numbers: [1120] 1120,68 unequal: No Solution Exploring Operation: 70-16=54, Resulting Numbers: [54] 54,68 unequal: No Solution Moving to Node #0,2,2 Current State: 68:[19, 35], Operations: ['96-35=61', '61-26=35'] Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,68 unequal: No Solution Exploring Operation: 19*35=665, Resulting Numbers: [665] 665,68 unequal: No Solution Exploring Operation: 19+35=54, Resulting Numbers: [54] 54,68 unequal: No Solution Moving to Node #0,3,0 Current State: 68:[19, 35], Operations: ['96-26=70', '70-35=35'] Exploring Operation: 19+35=54, Resulting Numbers: [54] 54,68 unequal: No Solution Exploring Operation: 19*35=665, Resulting Numbers: [665] 665,68 unequal: No Solution Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,68 unequal: No Solution Moving to Node #0,2,4 Current State: 68:[61, 7], Operations: ['96-35=61', '26-19=7'] Exploring Operation: 61+7=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[96, 35, 26, 19], Operations: [] Exploring Operation: 96-35=61, Resulting Numbers: [26, 19, 61] Generated Node #0,2: 68:[26, 19, 61] Operation: 96-35=61 Moving to Node #0,2 Current State: 68:[26, 19, 61], Operations: ['96-35=61'] Exploring Operation: 26-19=7, Resulting Numbers: [61, 7] Generated Node #0,2,4: 68:[61, 7] Operation: 26-19=7 Moving to Node #0,2,4 Current State: 68:[61, 7], Operations: ['96-35=61', '26-19=7'] Exploring Operation: 61+7=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
0.959201
hs_5
sum_heuristic
[ 15, 60, 78, 70 ]
37
[ "60-15=45", "78-70=8", "45-8=37" ]
Current State: 37:[15, 60, 78, 70], Operations: [] Exploring Operation: 60-15=45, Resulting Numbers: [78, 70, 45] Generated Node #2: [78, 70, 45] from Operation: 60-15=45 Current State: 37:[78, 70, 45], Operations: ['60-15=45'] Exploring Operation: 78-70=8, Resulting Numbers: [45, 8] Generated Node #3: [45, 8] from Operation: 78-70=8 Current State: 37:[45, 8], Operations: ['60-15=45', '78-70=8'] Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[15, 60, 78, 70], Operations: [] Exploring Operation: 78-60=18, Resulting Numbers: [15, 70, 18] Generated Node #0,0: 37:[15, 70, 18] Operation: 78-60=18 Exploring Operation: 60-15=45, Resulting Numbers: [78, 70, 45] Generated Node #0,1: 37:[78, 70, 45] Operation: 60-15=45 Exploring Operation: 78-70=8, Resulting Numbers: [15, 60, 8] Generated Node #0,2: 37:[15, 60, 8] Operation: 78-70=8 Exploring Operation: 78-15=63, Resulting Numbers: [60, 70, 63] Generated Node #0,3: 37:[60, 70, 63] Operation: 78-15=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[15, 70, 18], Operations: ['78-60=18'] Exploring Operation: 70-18=52, Resulting Numbers: [15, 52] Generated Node #0,0,0: 37:[15, 52] Operation: 70-18=52 Exploring Operation: 15+70=85, Resulting Numbers: [18, 85] Generated Node #0,0,1: 37:[18, 85] Operation: 15+70=85 Exploring Operation: 70-15=55, Resulting Numbers: [18, 55] Generated Node #0,0,2: 37:[18, 55] Operation: 70-15=55 Exploring Operation: 15+18=33, Resulting Numbers: [70, 33] Generated Node #0,0,3: 37:[70, 33] Operation: 15+18=33 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[15, 52], Operations: ['78-60=18', '70-18=52'] Exploring Operation: 15+52=67, Resulting Numbers: [67] 67,37 unequal: No Solution Exploring Operation: 52-15=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[15, 60, 78, 70], Operations: [] Exploring Operation: 78-60=18, Resulting Numbers: [15, 70, 18] Generated Node #0,0: 37:[15, 70, 18] Operation: 78-60=18 Moving to Node #0,0 Current State: 37:[15, 70, 18], Operations: ['78-60=18'] Exploring Operation: 70-18=52, Resulting Numbers: [15, 52] Generated Node #0,0,0: 37:[15, 52] Operation: 70-18=52 Moving to Node #0,0,0 Current State: 37:[15, 52], Operations: ['78-60=18', '70-18=52'] Exploring Operation: 52-15=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 45, 23, 26, 62 ]
51
[ "62-45=17", "26-23=3", "17*3=51" ]
Current State: 51:[45, 23, 26, 62], Operations: [] Exploring Operation: 62-45=17, Resulting Numbers: [23, 26, 17] Generated Node #2: [23, 26, 17] from Operation: 62-45=17 Current State: 51:[23, 26, 17], Operations: ['62-45=17'] Exploring Operation: 26-23=3, Resulting Numbers: [17, 3] Generated Node #3: [17, 3] from Operation: 26-23=3 Current State: 51:[17, 3], Operations: ['62-45=17', '26-23=3'] Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[45, 23, 26, 62], Operations: [] Exploring Operation: 45-26=19, Resulting Numbers: [23, 62, 19] Generated Node #0,0: 51:[23, 62, 19] Operation: 45-26=19 Exploring Operation: 26-23=3, Resulting Numbers: [45, 62, 3] Generated Node #0,1: 51:[45, 62, 3] Operation: 26-23=3 Exploring Operation: 62-45=17, Resulting Numbers: [23, 26, 17] Generated Node #0,2: 51:[23, 26, 17] Operation: 62-45=17 Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[23, 26, 17], Operations: ['62-45=17'] Exploring Operation: 23+26=49, Resulting Numbers: [17, 49] Generated Node #0,2,0: 51:[17, 49] Operation: 23+26=49 Exploring Operation: 26-23=3, Resulting Numbers: [17, 3] Generated Node #0,2,1: 51:[17, 3] Operation: 26-23=3 Exploring Operation: 23-17=6, Resulting Numbers: [26, 6] Generated Node #0,2,2: 51:[26, 6] Operation: 23-17=6 Moving to Node #0,2,1 Current State: 51:[17, 3], Operations: ['62-45=17', '26-23=3'] Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[45, 23, 26, 62], Operations: [] Exploring Operation: 62-45=17, Resulting Numbers: [23, 26, 17] Generated Node #0,2: 51:[23, 26, 17] Operation: 62-45=17 Moving to Node #0,2 Current State: 51:[23, 26, 17], Operations: ['62-45=17'] Exploring Operation: 26-23=3, Resulting Numbers: [17, 3] Generated Node #0,2,1: 51:[17, 3] Operation: 26-23=3 Moving to Node #0,2,1 Current State: 51:[17, 3], Operations: ['62-45=17', '26-23=3'] Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 37, 23, 24, 21 ]
57
[ "37+23=60", "24-21=3", "60-3=57" ]
Current State: 57:[37, 23, 24, 21], Operations: [] Exploring Operation: 37+23=60, Resulting Numbers: [24, 21, 60] Generated Node #2: [24, 21, 60] from Operation: 37+23=60 Current State: 57:[24, 21, 60], Operations: ['37+23=60'] Exploring Operation: 24-21=3, Resulting Numbers: [60, 3] Generated Node #3: [60, 3] from Operation: 24-21=3 Current State: 57:[60, 3], Operations: ['37+23=60', '24-21=3'] Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[37, 23, 24, 21], Operations: [] Exploring Operation: 37+23=60, Resulting Numbers: [24, 21, 60] Generated Node #0,0: 57:[24, 21, 60] Operation: 37+23=60 Moving to Node #0,0 Current State: 57:[24, 21, 60], Operations: ['37+23=60'] Exploring Operation: 24-21=3, Resulting Numbers: [60, 3] Generated Node #0,0,0: 57:[60, 3] Operation: 24-21=3 Moving to Node #0,0,0 Current State: 57:[60, 3], Operations: ['37+23=60', '24-21=3'] Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[37, 23, 24, 21], Operations: [] Exploring Operation: 37+23=60, Resulting Numbers: [24, 21, 60] Generated Node #0,0: 57:[24, 21, 60] Operation: 37+23=60 Moving to Node #0,0 Current State: 57:[24, 21, 60], Operations: ['37+23=60'] Exploring Operation: 24-21=3, Resulting Numbers: [60, 3] Generated Node #0,0,0: 57:[60, 3] Operation: 24-21=3 Moving to Node #0,0,0 Current State: 57:[60, 3], Operations: ['37+23=60', '24-21=3'] Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 88, 24, 94, 98 ]
68
[ "88-24=64", "98-94=4", "64+4=68" ]
Current State: 68:[88, 24, 94, 98], Operations: [] Exploring Operation: 88-24=64, Resulting Numbers: [94, 98, 64] Generated Node #2: [94, 98, 64] from Operation: 88-24=64 Current State: 68:[94, 98, 64], Operations: ['88-24=64'] Exploring Operation: 98-94=4, Resulting Numbers: [64, 4] Generated Node #3: [64, 4] from Operation: 98-94=4 Current State: 68:[64, 4], Operations: ['88-24=64', '98-94=4'] Exploring Operation: 64+4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[88, 24, 94, 98], Operations: [] Exploring Operation: 94-88=6, Resulting Numbers: [24, 98, 6] Generated Node #0,0: 68:[24, 98, 6] Operation: 94-88=6 Exploring Operation: 94-24=70, Resulting Numbers: [88, 98, 70] Generated Node #0,1: 68:[88, 98, 70] Operation: 94-24=70 Exploring Operation: 98-88=10, Resulting Numbers: [24, 94, 10] Generated Node #0,2: 68:[24, 94, 10] Operation: 98-88=10 Exploring Operation: 98-94=4, Resulting Numbers: [88, 24, 4] Generated Node #0,3: 68:[88, 24, 4] Operation: 98-94=4 Moving to Node #0,3 Current State: 68:[88, 24, 4], Operations: ['98-94=4'] Exploring Operation: 88-24=64, Resulting Numbers: [4, 64] Generated Node #0,3,0: 68:[4, 64] Operation: 88-24=64 Exploring Operation: 24/4=6, Resulting Numbers: [88, 6] Generated Node #0,3,1: 68:[88, 6] Operation: 24/4=6 Exploring Operation: 88-4=84, Resulting Numbers: [24, 84] Generated Node #0,3,2: 68:[24, 84] Operation: 88-4=84 Exploring Operation: 88/4=22, Resulting Numbers: [24, 22] Generated Node #0,3,3: 68:[24, 22] Operation: 88/4=22 Moving to Node #0,2 Current State: 68:[24, 94, 10], Operations: ['98-88=10'] Exploring Operation: 94-10=84, Resulting Numbers: [24, 84] Generated Node #0,2,0: 68:[24, 84] Operation: 94-10=84 Exploring Operation: 24+10=34, Resulting Numbers: [94, 34] Generated Node #0,2,1: 68:[94, 34] Operation: 24+10=34 Exploring Operation: 94-24=70, Resulting Numbers: [10, 70] Generated Node #0,2,2: 68:[10, 70] Operation: 94-24=70 Exploring Operation: 24-10=14, Resulting Numbers: [94, 14] Generated Node #0,2,3: 68:[94, 14] Operation: 24-10=14 Moving to Node #0,0 Current State: 68:[24, 98, 6], Operations: ['94-88=6'] Exploring Operation: 98-24=74, Resulting Numbers: [6, 74] Generated Node #0,0,0: 68:[6, 74] Operation: 98-24=74 Exploring Operation: 24/6=4, Resulting Numbers: [98, 4] Generated Node #0,0,1: 68:[98, 4] Operation: 24/6=4 Exploring Operation: 24-6=18, Resulting Numbers: [98, 18] Generated Node #0,0,2: 68:[98, 18] Operation: 24-6=18 Exploring Operation: 98-6=92, Resulting Numbers: [24, 92] Generated Node #0,0,3: 68:[24, 92] Operation: 98-6=92 Moving to Node #0,1 Current State: 68:[88, 98, 70], Operations: ['94-24=70'] Exploring Operation: 88+98=186, Resulting Numbers: [70, 186] Generated Node #0,1,0: 68:[70, 186] Operation: 88+98=186 Exploring Operation: 98-88=10, Resulting Numbers: [70, 10] Generated Node #0,1,1: 68:[70, 10] Operation: 98-88=10 Exploring Operation: 98-70=28, Resulting Numbers: [88, 28] Generated Node #0,1,2: 68:[88, 28] Operation: 98-70=28 Exploring Operation: 88-70=18, Resulting Numbers: [98, 18] Generated Node #0,1,3: 68:[98, 18] Operation: 88-70=18 Moving to Node #0,3,0 Current State: 68:[4, 64], Operations: ['98-94=4', '88-24=64'] Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,68 unequal: No Solution Exploring Operation: 4+64=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[88, 24, 94, 98], Operations: [] Exploring Operation: 98-94=4, Resulting Numbers: [88, 24, 4] Generated Node #0,3: 68:[88, 24, 4] Operation: 98-94=4 Moving to Node #0,3 Current State: 68:[88, 24, 4], Operations: ['98-94=4'] Exploring Operation: 88-24=64, Resulting Numbers: [4, 64] Generated Node #0,3,0: 68:[4, 64] Operation: 88-24=64 Moving to Node #0,3,0 Current State: 68:[4, 64], Operations: ['98-94=4', '88-24=64'] Exploring Operation: 4+64=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
0.977431
hs_4
sum_heuristic
[ 74, 72, 17, 88 ]
75
[ "74+72=146", "88-17=71", "146-71=75" ]
Current State: 75:[74, 72, 17, 88], Operations: [] Exploring Operation: 74+72=146, Resulting Numbers: [17, 88, 146] Generated Node #2: [17, 88, 146] from Operation: 74+72=146 Current State: 75:[17, 88, 146], Operations: ['74+72=146'] Exploring Operation: 88-17=71, Resulting Numbers: [146, 71] Generated Node #3: [146, 71] from Operation: 88-17=71 Current State: 75:[146, 71], Operations: ['74+72=146', '88-17=71'] Exploring Operation: 146-71=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[74, 72, 17, 88], Operations: [] Exploring Operation: 74-72=2, Resulting Numbers: [17, 88, 2] Generated Node #0,0: 75:[17, 88, 2] Operation: 74-72=2 Exploring Operation: 88-74=14, Resulting Numbers: [72, 17, 14] Generated Node #0,1: 75:[72, 17, 14] Operation: 88-74=14 Exploring Operation: 88-72=16, Resulting Numbers: [74, 17, 16] Generated Node #0,2: 75:[74, 17, 16] Operation: 88-72=16 Exploring Operation: 88-17=71, Resulting Numbers: [74, 72, 71] Generated Node #0,3: 75:[74, 72, 71] Operation: 88-17=71 Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[74, 17, 16], Operations: ['88-72=16'] Exploring Operation: 74+17=91, Resulting Numbers: [16, 91] Generated Node #0,2,0: 75:[16, 91] Operation: 74+17=91 Exploring Operation: 74+16=90, Resulting Numbers: [17, 90] Generated Node #0,2,1: 75:[17, 90] Operation: 74+16=90 Exploring Operation: 17+16=33, Resulting Numbers: [74, 33] Generated Node #0,2,2: 75:[74, 33] Operation: 17+16=33 Exploring Operation: 17-16=1, Resulting Numbers: [74, 1] Generated Node #0,2,3: 75:[74, 1] Operation: 17-16=1 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 75:[74, 1], Operations: ['88-72=16', '17-16=1'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,75 unequal: No Solution Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[74, 72, 17, 88], Operations: [] Exploring Operation: 88-72=16, Resulting Numbers: [74, 17, 16] Generated Node #0,2: 75:[74, 17, 16] Operation: 88-72=16 Moving to Node #0,2 Current State: 75:[74, 17, 16], Operations: ['88-72=16'] Exploring Operation: 17-16=1, Resulting Numbers: [74, 1] Generated Node #0,2,3: 75:[74, 1] Operation: 17-16=1 Moving to Node #0,2,3 Current State: 75:[74, 1], Operations: ['88-72=16', '17-16=1'] Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 54, 1, 17, 76 ]
73
[ "1+17=18", "54/18=3", "76-3=73" ]
Current State: 73:[54, 1, 17, 76], Operations: [] Exploring Operation: 1+17=18, Resulting Numbers: [54, 76, 18] Generated Node #2: [54, 76, 18] from Operation: 1+17=18 Current State: 73:[54, 76, 18], Operations: ['1+17=18'] Exploring Operation: 54/18=3, Resulting Numbers: [76, 3] Generated Node #3: [76, 3] from Operation: 54/18=3 Current State: 73:[76, 3], Operations: ['1+17=18', '54/18=3'] Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[54, 1, 17, 76], Operations: [] Exploring Operation: 54+1=55, Resulting Numbers: [17, 76, 55] Generated Node #0,0: 73:[17, 76, 55] Operation: 54+1=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[17, 76, 55], Operations: ['54+1=55'] Exploring Operation: 17+55=72, Resulting Numbers: [76, 72] Generated Node #0,0,0: 73:[76, 72] Operation: 17+55=72 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[76, 72], Operations: ['54+1=55', '17+55=72'] Exploring Operation: 76-72=4, Resulting Numbers: [4] 4,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 96, 94, 63, 76 ]
26
[ "96-94=2", "76-63=13", "2*13=26" ]
Current State: 26:[96, 94, 63, 76], Operations: [] Exploring Operation: 96-94=2, Resulting Numbers: [63, 76, 2] Generated Node #2: [63, 76, 2] from Operation: 96-94=2 Current State: 26:[63, 76, 2], Operations: ['96-94=2'] Exploring Operation: 76-63=13, Resulting Numbers: [2, 13] Generated Node #3: [2, 13] from Operation: 76-63=13 Current State: 26:[2, 13], Operations: ['96-94=2', '76-63=13'] Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[96, 94, 63, 76], Operations: [] Exploring Operation: 96-94=2, Resulting Numbers: [63, 76, 2] Generated Node #0,0: 26:[63, 76, 2] Operation: 96-94=2 Moving to Node #0,0 Current State: 26:[63, 76, 2], Operations: ['96-94=2'] Exploring Operation: 76-63=13, Resulting Numbers: [2, 13] Generated Node #0,0,0: 26:[2, 13] Operation: 76-63=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[2, 13], Operations: ['96-94=2', '76-63=13'] Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[96, 94, 63, 76], Operations: [] Exploring Operation: 96-94=2, Resulting Numbers: [63, 76, 2] Generated Node #0,0: 26:[63, 76, 2] Operation: 96-94=2 Moving to Node #0,0 Current State: 26:[63, 76, 2], Operations: ['96-94=2'] Exploring Operation: 76-63=13, Resulting Numbers: [2, 13] Generated Node #0,0,0: 26:[2, 13] Operation: 76-63=13 Moving to Node #0,0,0 Current State: 26:[2, 13], Operations: ['96-94=2', '76-63=13'] Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 68, 3, 74, 76 ]
68
[ "3+74=77", "77-76=1", "68*1=68" ]
Current State: 68:[68, 3, 74, 76], Operations: [] Exploring Operation: 3+74=77, Resulting Numbers: [68, 76, 77] Generated Node #2: [68, 76, 77] from Operation: 3+74=77 Current State: 68:[68, 76, 77], Operations: ['3+74=77'] Exploring Operation: 77-76=1, Resulting Numbers: [68, 1] Generated Node #3: [68, 1] from Operation: 77-76=1 Current State: 68:[68, 1], Operations: ['3+74=77', '77-76=1'] Exploring Operation: 68*1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[68, 3, 74, 76], Operations: [] Exploring Operation: 76-74=2, Resulting Numbers: [68, 3, 2] Generated Node #0,0: 68:[68, 3, 2] Operation: 76-74=2 Exploring Operation: 74-68=6, Resulting Numbers: [3, 76, 6] Generated Node #0,1: 68:[3, 76, 6] Operation: 74-68=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[68, 3, 2], Operations: ['76-74=2'] Exploring Operation: 68/2=34, Resulting Numbers: [3, 34] Generated Node #0,0,0: 68:[3, 34] Operation: 68/2=34 Exploring Operation: 3+2=5, Resulting Numbers: [68, 5] Generated Node #0,0,1: 68:[68, 5] Operation: 3+2=5 Moving to Node #0,0,0 Current State: 68:[3, 34], Operations: ['76-74=2', '68/2=34'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,68 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[68, 5], Operations: ['76-74=2', '3+2=5'] Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,68 unequal: No Solution Exploring Operation: 68+5=73, Resulting Numbers: [73] 73,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[3, 76, 6], Operations: ['74-68=6'] Exploring Operation: 76-6=70, Resulting Numbers: [3, 70] Generated Node #0,1,0: 68:[3, 70] Operation: 76-6=70 Exploring Operation: 76-3=73, Resulting Numbers: [6, 73] Generated Node #0,1,1: 68:[6, 73] Operation: 76-3=73 Moving to Node #0,1,0 Current State: 68:[3, 70], Operations: ['74-68=6', '76-6=70'] Exploring Operation: 3+70=73, Resulting Numbers: [73] 73,68 unequal: No Solution Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[6, 73], Operations: ['74-68=6', '76-3=73'] Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,68 unequal: No Solution Exploring Operation: 6+73=79, Resulting Numbers: [79] 79,68 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
[ 55, 50, 2, 67 ]
89
[ "67-50=17", "2*17=34", "55+34=89" ]
Current State: 89:[55, 50, 2, 67], Operations: [] Exploring Operation: 67-50=17, Resulting Numbers: [55, 2, 17] Generated Node #2: [55, 2, 17] from Operation: 67-50=17 Current State: 89:[55, 2, 17], Operations: ['67-50=17'] Exploring Operation: 2*17=34, Resulting Numbers: [55, 34] Generated Node #3: [55, 34] from Operation: 2*17=34 Current State: 89:[55, 34], Operations: ['67-50=17', '2*17=34'] Exploring Operation: 55+34=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[55, 50, 2, 67], Operations: [] Exploring Operation: 55*2=110, Resulting Numbers: [50, 67, 110] Generated Node #0,0: 89:[50, 67, 110] Operation: 55*2=110 Exploring Operation: 50*2=100, Resulting Numbers: [55, 67, 100] Generated Node #0,1: 89:[55, 67, 100] Operation: 50*2=100 Exploring Operation: 50+2=52, Resulting Numbers: [55, 67, 52] Generated Node #0,2: 89:[55, 67, 52] Operation: 50+2=52 Exploring Operation: 55+2=57, Resulting Numbers: [50, 67, 57] Generated Node #0,3: 89:[50, 67, 57] Operation: 55+2=57 Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[55, 67, 100], Operations: ['50*2=100'] Exploring Operation: 67-55=12, Resulting Numbers: [100, 12] Generated Node #0,1,0: 89:[100, 12] Operation: 67-55=12 Exploring Operation: 55+67=122, Resulting Numbers: [100, 122] Generated Node #0,1,1: 89:[100, 122] Operation: 55+67=122 Exploring Operation: 55+100=155, Resulting Numbers: [67, 155] Generated Node #0,1,2: 89:[67, 155] Operation: 55+100=155 Exploring Operation: 100-55=45, Resulting Numbers: [67, 45] Generated Node #0,1,3: 89:[67, 45] Operation: 100-55=45 Moving to Node #0,1,1 Current State: 89:[100, 122], Operations: ['50*2=100', '55+67=122'] Exploring Operation: 100+122=222, Resulting Numbers: [222] 222,89 unequal: No Solution Exploring Operation: 100*122=12200, Resulting Numbers: [12200] 12200,89 unequal: No Solution Exploring Operation: 122-100=22, Resulting Numbers: [22] 22,89 unequal: No Solution Moving to Node #0,1,3 Current State: 89:[67, 45], Operations: ['50*2=100', '100-55=45'] Exploring Operation: 67+45=112, Resulting Numbers: [112] 112,89 unequal: No Solution Exploring Operation: 67-45=22, Resulting Numbers: [22] 22,89 unequal: No Solution Exploring Operation: 67*45=3015, Resulting Numbers: [3015] 3015,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[67, 155], Operations: ['50*2=100', '55+100=155'] Exploring Operation: 67*155=10385, Resulting Numbers: [10385] 10385,89 unequal: No Solution Exploring Operation: 155-67=88, Resulting Numbers: [88] 88,89 unequal: No Solution Exploring Operation: 67+155=222, Resulting Numbers: [222] 222,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[100, 12], Operations: ['50*2=100', '67-55=12'] Exploring Operation: 100+12=112, Resulting Numbers: [112] 112,89 unequal: No Solution Exploring Operation: 100-12=88, Resulting Numbers: [88] 88,89 unequal: No Solution Exploring Operation: 100*12=1200, Resulting Numbers: [1200] 1200,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[50, 67, 110], Operations: ['55*2=110'] Exploring Operation: 50+67=117, Resulting Numbers: [110, 117] Generated Node #0,0,0: 89:[110, 117] Operation: 50+67=117 Exploring Operation: 110-50=60, Resulting Numbers: [67, 60] Generated Node #0,0,1: 89:[67, 60] Operation: 110-50=60 Exploring Operation: 67-50=17, Resulting Numbers: [110, 17] Generated Node #0,0,2: 89:[110, 17] Operation: 67-50=17 Exploring Operation: 110-67=43, Resulting Numbers: [50, 43] Generated Node #0,0,3: 89:[50, 43] Operation: 110-67=43 Moving to Node #0,0,0 Current State: 89:[110, 117], Operations: ['55*2=110', '50+67=117'] Exploring Operation: 110*117=12870, Resulting Numbers: [12870] 12870,89 unequal: No Solution Exploring Operation: 117-110=7, Resulting Numbers: [7] 7,89 unequal: No Solution Exploring Operation: 110+117=227, Resulting Numbers: [227] 227,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[67, 60], Operations: ['55*2=110', '110-50=60'] Exploring Operation: 67-60=7, Resulting Numbers: [7] 7,89 unequal: No Solution Exploring Operation: 67*60=4020, Resulting Numbers: [4020] 4020,89 unequal: No Solution Exploring Operation: 67+60=127, Resulting Numbers: [127] 127,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[50, 43], Operations: ['55*2=110', '110-67=43'] Exploring Operation: 50+43=93, Resulting Numbers: [93] 93,89 unequal: No Solution Exploring Operation: 50-43=7, Resulting Numbers: [7] 7,89 unequal: No Solution Exploring Operation: 50*43=2150, Resulting Numbers: [2150] 2150,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[110, 17], Operations: ['55*2=110', '67-50=17'] Exploring Operation: 110-17=93, Resulting Numbers: [93] 93,89 unequal: No Solution Exploring Operation: 110*17=1870, Resulting Numbers: [1870] 1870,89 unequal: No Solution Exploring Operation: 110+17=127, Resulting Numbers: [127] 127,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[55, 67, 52], Operations: ['50+2=52'] Exploring Operation: 55+52=107, Resulting Numbers: [67, 107] Generated Node #0,2,0: 89:[67, 107] Operation: 55+52=107 Exploring Operation: 67+52=119, Resulting Numbers: [55, 119] Generated Node #0,2,1: 89:[55, 119] Operation: 67+52=119 Exploring Operation: 55-52=3, Resulting Numbers: [67, 3] Generated Node #0,2,2: 89:[67, 3] Operation: 55-52=3 Exploring Operation: 55+67=122, Resulting Numbers: [52, 122] Generated Node #0,2,3: 89:[52, 122] Operation: 55+67=122 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 89:[67, 107], Operations: ['50+2=52', '55+52=107'] Exploring Operation: 107-67=40, Resulting Numbers: [40] 40,89 unequal: No Solution Exploring Operation: 67+107=174, Resulting Numbers: [174] 174,89 unequal: No Solution Exploring Operation: 67*107=7169, Resulting Numbers: [7169] 7169,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 89:[55, 119], Operations: ['50+2=52', '67+52=119'] Exploring Operation: 55*119=6545, Resulting Numbers: [6545] 6545,89 unequal: No Solution Exploring Operation: 55+119=174, Resulting Numbers: [174] 174,89 unequal: No Solution Exploring Operation: 119-55=64, Resulting Numbers: [64] 64,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 89:[52, 122], Operations: ['50+2=52', '55+67=122'] Exploring Operation: 52+122=174, Resulting Numbers: [174] 174,89 unequal: No Solution Exploring Operation: 52*122=6344, Resulting Numbers: [6344] 6344,89 unequal: No Solution Exploring Operation: 122-52=70, Resulting Numbers: [70] 70,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 89:[67, 3], Operations: ['50+2=52', '55-52=3'] Exploring Operation: 67+3=70, Resulting Numbers: [70] 70,89 unequal: No Solution Exploring Operation: 67*3=201, Resulting Numbers: [201] 201,89 unequal: No Solution Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 89:[50, 67, 57], Operations: ['55+2=57'] Exploring Operation: 50+57=107, Resulting Numbers: [67, 107] Generated Node #0,3,0: 89:[67, 107] Operation: 50+57=107 Exploring Operation: 67+57=124, Resulting Numbers: [50, 124] Generated Node #0,3,1: 89:[50, 124] Operation: 67+57=124 Exploring Operation: 67-50=17, Resulting Numbers: [57, 17] Generated Node #0,3,2: 89:[57, 17] Operation: 67-50=17 Exploring Operation: 50+67=117, Resulting Numbers: [57, 117] Generated Node #0,3,3: 89:[57, 117] Operation: 50+67=117 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 89:[67, 107], Operations: ['55+2=57', '50+57=107'] Exploring Operation: 67+107=174, Resulting Numbers: [174] 174,89 unequal: No Solution Exploring Operation: 107-67=40, Resulting Numbers: [40] 40,89 unequal: No Solution Exploring Operation: 67*107=7169, Resulting Numbers: [7169] 7169,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 89:[57, 117], Operations: ['55+2=57', '50+67=117'] Exploring Operation: 57*117=6669, Resulting Numbers: [6669] 6669,89 unequal: No Solution Exploring Operation: 57+117=174, Resulting Numbers: [174] 174,89 unequal: No Solution Exploring Operation: 117-57=60, Resulting Numbers: [60] 60,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 89:[50, 124], Operations: ['55+2=57', '67+57=124'] Exploring Operation: 50*124=6200, Resulting Numbers: [6200] 6200,89 unequal: No Solution Exploring Operation: 124-50=74, Resulting Numbers: [74] 74,89 unequal: No Solution Exploring Operation: 50+124=174, Resulting Numbers: [174] 174,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 89:[57, 17], Operations: ['55+2=57', '67-50=17'] Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,89 unequal: No Solution Exploring Operation: 57*17=969, Resulting Numbers: [969] 969,89 unequal: No Solution Exploring Operation: 57+17=74, Resulting Numbers: [74] 74,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 82, 8, 18, 51 ]
43
[ "82-18=64", "64/8=8", "51-8=43" ]
Current State: 43:[82, 8, 18, 51], Operations: [] Exploring Operation: 82-18=64, Resulting Numbers: [8, 51, 64] Generated Node #2: [8, 51, 64] from Operation: 82-18=64 Current State: 43:[8, 51, 64], Operations: ['82-18=64'] Exploring Operation: 64/8=8, Resulting Numbers: [51, 8] Generated Node #3: [51, 8] from Operation: 64/8=8 Current State: 43:[51, 8], Operations: ['82-18=64', '64/8=8'] Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[82, 8, 18, 51], Operations: [] Exploring Operation: 8+18=26, Resulting Numbers: [82, 51, 26] Generated Node #0,0: 43:[82, 51, 26] Operation: 8+18=26 Exploring Operation: 82-18=64, Resulting Numbers: [8, 51, 64] Generated Node #0,1: 43:[8, 51, 64] Operation: 82-18=64 Exploring Operation: 82-8=74, Resulting Numbers: [18, 51, 74] Generated Node #0,2: 43:[18, 51, 74] Operation: 82-8=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[82, 51, 26], Operations: ['8+18=26'] Exploring Operation: 82-51=31, Resulting Numbers: [26, 31] Generated Node #0,0,0: 43:[26, 31] Operation: 82-51=31 Exploring Operation: 82-26=56, Resulting Numbers: [51, 56] Generated Node #0,0,1: 43:[51, 56] Operation: 82-26=56 Exploring Operation: 51-26=25, Resulting Numbers: [82, 25] Generated Node #0,0,2: 43:[82, 25] Operation: 51-26=25 Moving to Node #0,0,1 Current State: 43:[51, 56], Operations: ['8+18=26', '82-26=56'] Exploring Operation: 56-51=5, Resulting Numbers: [5] 5,43 unequal: No Solution Exploring Operation: 51*56=2856, Resulting Numbers: [2856] 2856,43 unequal: No Solution Exploring Operation: 51+56=107, Resulting Numbers: [107] 107,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[26, 31], Operations: ['8+18=26', '82-51=31'] Exploring Operation: 26+31=57, Resulting Numbers: [57] 57,43 unequal: No Solution Exploring Operation: 26*31=806, Resulting Numbers: [806] 806,43 unequal: No Solution Exploring Operation: 31-26=5, Resulting Numbers: [5] 5,43 unequal: No Solution Moving to Node #0,0,2 Current State: 43:[82, 25], Operations: ['8+18=26', '51-26=25'] Exploring Operation: 82-25=57, Resulting Numbers: [57] 57,43 unequal: No Solution Exploring Operation: 82+25=107, Resulting Numbers: [107] 107,43 unequal: No Solution Exploring Operation: 82*25=2050, Resulting Numbers: [2050] 2050,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[8, 51, 64], Operations: ['82-18=64'] Exploring Operation: 64-8=56, Resulting Numbers: [51, 56] Generated Node #0,1,0: 43:[51, 56] Operation: 64-8=56 Exploring Operation: 51-8=43, Resulting Numbers: [64, 43] Generated Node #0,1,1: 43:[64, 43] Operation: 51-8=43 Exploring Operation: 8+51=59, Resulting Numbers: [64, 59] Generated Node #0,1,2: 43:[64, 59] Operation: 8+51=59 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 43:[51, 56], Operations: ['82-18=64', '64-8=56'] Exploring Operation: 51+56=107, Resulting Numbers: [107] 107,43 unequal: No Solution Exploring Operation: 56-51=5, Resulting Numbers: [5] 5,43 unequal: No Solution Exploring Operation: 51*56=2856, Resulting Numbers: [2856] 2856,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 43:[64, 43], Operations: ['82-18=64', '51-8=43'] Exploring Operation: 64-43=21, Resulting Numbers: [21] 21,43 unequal: No Solution Exploring Operation: 64*43=2752, Resulting Numbers: [2752] 2752,43 unequal: No Solution Exploring Operation: 64+43=107, Resulting Numbers: [107] 107,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 43:[64, 59], Operations: ['82-18=64', '8+51=59'] Exploring Operation: 64+59=123, Resulting Numbers: [123] 123,43 unequal: No Solution Exploring Operation: 64-59=5, Resulting Numbers: [5] 5,43 unequal: No Solution Exploring Operation: 64*59=3776, Resulting Numbers: [3776] 3776,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 43:[18, 51, 74], Operations: ['82-8=74'] Exploring Operation: 51-18=33, Resulting Numbers: [74, 33] Generated Node #0,2,0: 43:[74, 33] Operation: 51-18=33 Exploring Operation: 74-18=56, Resulting Numbers: [51, 56] Generated Node #0,2,1: 43:[51, 56] Operation: 74-18=56 Exploring Operation: 74-51=23, Resulting Numbers: [18, 23] Generated Node #0,2,2: 43:[18, 23] Operation: 74-51=23 Moving to Node #0,2,1 Current State: 43:[51, 56], Operations: ['82-8=74', '74-18=56'] Exploring Operation: 51+56=107, Resulting Numbers: [107] 107,43 unequal: No Solution Exploring Operation: 56-51=5, Resulting Numbers: [5] 5,43 unequal: No Solution Exploring Operation: 51*56=2856, Resulting Numbers: [2856] 2856,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[74, 33], Operations: ['82-8=74', '51-18=33'] Exploring Operation: 74*33=2442, Resulting Numbers: [2442] 2442,43 unequal: No Solution Exploring Operation: 74-33=41, Resulting Numbers: [41] 41,43 unequal: No Solution Exploring Operation: 74+33=107, Resulting Numbers: [107] 107,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[18, 23], Operations: ['82-8=74', '74-51=23'] Exploring Operation: 18*23=414, Resulting Numbers: [414] 414,43 unequal: No Solution Exploring Operation: 18+23=41, Resulting Numbers: [41] 41,43 unequal: No Solution Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 16, 49, 2, 17 ]
47
[ "17-16=1", "49-2=47", "1*47=47" ]
Current State: 47:[16, 49, 2, 17], Operations: [] Exploring Operation: 17-16=1, Resulting Numbers: [49, 2, 1] Generated Node #2: [49, 2, 1] from Operation: 17-16=1 Current State: 47:[49, 2, 1], Operations: ['17-16=1'] Exploring Operation: 49-2=47, Resulting Numbers: [1, 47] Generated Node #3: [1, 47] from Operation: 49-2=47 Current State: 47:[1, 47], Operations: ['17-16=1', '49-2=47'] Exploring Operation: 1*47=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[16, 49, 2, 17], Operations: [] Exploring Operation: 16*2=32, Resulting Numbers: [49, 17, 32] Generated Node #0,0: 47:[49, 17, 32] Operation: 16*2=32 Exploring Operation: 2*17=34, Resulting Numbers: [16, 49, 34] Generated Node #0,1: 47:[16, 49, 34] Operation: 2*17=34 Exploring Operation: 16+2=18, Resulting Numbers: [49, 17, 18] Generated Node #0,2: 47:[49, 17, 18] Operation: 16+2=18 Moving to Node #0,1 Current State: 47:[16, 49, 34], Operations: ['2*17=34'] Exploring Operation: 49-16=33, Resulting Numbers: [34, 33] Generated Node #0,1,0: 47:[34, 33] Operation: 49-16=33 Exploring Operation: 16+34=50, Resulting Numbers: [49, 50] Generated Node #0,1,1: 47:[49, 50] Operation: 16+34=50 Exploring Operation: 16+49=65, Resulting Numbers: [34, 65] Generated Node #0,1,2: 47:[34, 65] Operation: 16+49=65 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 47:[49, 50], Operations: ['2*17=34', '16+34=50'] Exploring Operation: 50-49=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 49+50=99, Resulting Numbers: [99] 99,47 unequal: No Solution Exploring Operation: 49*50=2450, Resulting Numbers: [2450] 2450,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[34, 33], Operations: ['2*17=34', '49-16=33'] Exploring Operation: 34+33=67, Resulting Numbers: [67] 67,47 unequal: No Solution Exploring Operation: 34-33=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 34*33=1122, Resulting Numbers: [1122] 1122,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 47:[34, 65], Operations: ['2*17=34', '16+49=65'] Exploring Operation: 34+65=99, Resulting Numbers: [99] 99,47 unequal: No Solution Exploring Operation: 34*65=2210, Resulting Numbers: [2210] 2210,47 unequal: No Solution Exploring Operation: 65-34=31, Resulting Numbers: [31] 31,47 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: 47:[49, 17, 32], Operations: ['16*2=32'] Exploring Operation: 49+17=66, Resulting Numbers: [32, 66] Generated Node #0,0,0: 47:[32, 66] Operation: 49+17=66 Exploring Operation: 17+32=49, Resulting Numbers: [49, 49] Generated Node #0,0,1: 47:[49, 49] Operation: 17+32=49 Exploring Operation: 49-17=32, Resulting Numbers: [32, 32] Generated Node #0,0,2: 47:[32, 32] Operation: 49-17=32 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[49, 49], Operations: ['16*2=32', '17+32=49'] Exploring Operation: 49+49=98, Resulting Numbers: [98] 98,47 unequal: No Solution Exploring Operation: 49/49=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 49-49=0, Resulting Numbers: [0] 0,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 47:[32, 32], Operations: ['16*2=32', '49-17=32'] Exploring Operation: 32/32=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 32+32=64, Resulting Numbers: [64] 64,47 unequal: No Solution Exploring Operation: 32-32=0, Resulting Numbers: [0] 0,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[32, 66], Operations: ['16*2=32', '49+17=66'] Exploring Operation: 32*66=2112, Resulting Numbers: [2112] 2112,47 unequal: No Solution Exploring Operation: 66-32=34, Resulting Numbers: [34] 34,47 unequal: No Solution Exploring Operation: 32+66=98, Resulting Numbers: [98] 98,47 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: 47:[49, 17, 18], Operations: ['16+2=18'] Exploring Operation: 49-17=32, Resulting Numbers: [18, 32] Generated Node #0,2,0: 47:[18, 32] Operation: 49-17=32 Exploring Operation: 17+18=35, Resulting Numbers: [49, 35] Generated Node #0,2,1: 47:[49, 35] Operation: 17+18=35 Exploring Operation: 49-18=31, Resulting Numbers: [17, 31] Generated Node #0,2,2: 47:[17, 31] Operation: 49-18=31 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 47:[49, 35], Operations: ['16+2=18', '17+18=35'] Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,47 unequal: No Solution Exploring Operation: 49*35=1715, Resulting Numbers: [1715] 1715,47 unequal: No Solution Exploring Operation: 49+35=84, Resulting Numbers: [84] 84,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 47:[18, 32], Operations: ['16+2=18', '49-17=32'] Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,47 unequal: No Solution Exploring Operation: 18*32=576, Resulting Numbers: [576] 576,47 unequal: No Solution Exploring Operation: 18+32=50, Resulting Numbers: [50] 50,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 47:[17, 31], Operations: ['16+2=18', '49-18=31'] Exploring Operation: 17+31=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 17*31=527, Resulting Numbers: [527] 527,47 unequal: No Solution Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 43, 24, 58, 96 ]
11
[ "58-43=15", "96/24=4", "15-4=11" ]
Current State: 11:[43, 24, 58, 96], Operations: [] Exploring Operation: 58-43=15, Resulting Numbers: [24, 96, 15] Generated Node #2: [24, 96, 15] from Operation: 58-43=15 Current State: 11:[24, 96, 15], Operations: ['58-43=15'] Exploring Operation: 96/24=4, Resulting Numbers: [15, 4] Generated Node #3: [15, 4] from Operation: 96/24=4 Current State: 11:[15, 4], Operations: ['58-43=15', '96/24=4'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[43, 24, 58, 96], Operations: [] Exploring Operation: 58-43=15, Resulting Numbers: [24, 96, 15] Generated Node #0,0: 11:[24, 96, 15] Operation: 58-43=15 Exploring Operation: 96-58=38, Resulting Numbers: [43, 24, 38] Generated Node #0,1: 11:[43, 24, 38] Operation: 96-58=38 Exploring Operation: 96/24=4, Resulting Numbers: [43, 58, 4] Generated Node #0,2: 11:[43, 58, 4] Operation: 96/24=4 Moving to Node #0,1 Current State: 11:[43, 24, 38], Operations: ['96-58=38'] Exploring Operation: 38-24=14, Resulting Numbers: [43, 14] Generated Node #0,1,0: 11:[43, 14] Operation: 38-24=14 Exploring Operation: 43-38=5, Resulting Numbers: [24, 5] Generated Node #0,1,1: 11:[24, 5] Operation: 43-38=5 Exploring Operation: 43-24=19, Resulting Numbers: [38, 19] Generated Node #0,1,2: 11:[38, 19] Operation: 43-24=19 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 11:[24, 5], Operations: ['96-58=38', '43-38=5'] Exploring Operation: 24*5=120, Resulting Numbers: [120] 120,11 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,11 unequal: No Solution Exploring Operation: 24+5=29, Resulting Numbers: [29] 29,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:[43, 14], Operations: ['96-58=38', '38-24=14'] Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,11 unequal: No Solution Exploring Operation: 43+14=57, Resulting Numbers: [57] 57,11 unequal: No Solution Exploring Operation: 43*14=602, Resulting Numbers: [602] 602,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,2 Current State: 11:[38, 19], Operations: ['96-58=38', '43-24=19'] Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,11 unequal: No Solution Exploring Operation: 38+19=57, Resulting Numbers: [57] 57,11 unequal: No Solution Exploring Operation: 38/19=2, Resulting Numbers: [2] 2,11 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: 11:[43, 58, 4], Operations: ['96/24=4'] Exploring Operation: 43-4=39, Resulting Numbers: [58, 39] Generated Node #0,2,0: 11:[58, 39] Operation: 43-4=39 Exploring Operation: 58-43=15, Resulting Numbers: [4, 15] Generated Node #0,2,1: 11:[4, 15] Operation: 58-43=15 Exploring Operation: 58-4=54, Resulting Numbers: [43, 54] Generated Node #0,2,2: 11:[43, 54] Operation: 58-4=54 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 11:[4, 15], Operations: ['96/24=4', '58-43=15'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[43, 24, 58, 96], Operations: [] Exploring Operation: 96/24=4, Resulting Numbers: [43, 58, 4] Generated Node #0,2: 11:[43, 58, 4] Operation: 96/24=4 Moving to Node #0,2 Current State: 11:[43, 58, 4], Operations: ['96/24=4'] Exploring Operation: 58-43=15, Resulting Numbers: [4, 15] Generated Node #0,2,1: 11:[4, 15] Operation: 58-43=15 Moving to Node #0,2,1 Current State: 11:[4, 15], Operations: ['96/24=4', '58-43=15'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 48, 68, 2, 72 ]
51
[ "48*2=96", "68*72=4896", "4896/96=51" ]
Current State: 51:[48, 68, 2, 72], Operations: [] Exploring Operation: 48*2=96, Resulting Numbers: [68, 72, 96] Generated Node #2: [68, 72, 96] from Operation: 48*2=96 Current State: 51:[68, 72, 96], Operations: ['48*2=96'] Exploring Operation: 68*72=4896, Resulting Numbers: [96, 4896] Generated Node #3: [96, 4896] from Operation: 68*72=4896 Current State: 51:[96, 4896], Operations: ['48*2=96', '68*72=4896'] Exploring Operation: 4896/96=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[48, 68, 2, 72], Operations: [] Exploring Operation: 72-68=4, Resulting Numbers: [48, 2, 4] Generated Node #0,0: 51:[48, 2, 4] Operation: 72-68=4 Exploring Operation: 72-48=24, Resulting Numbers: [68, 2, 24] Generated Node #0,1: 51:[68, 2, 24] Operation: 72-48=24 Exploring Operation: 68-48=20, Resulting Numbers: [2, 72, 20] Generated Node #0,2: 51:[2, 72, 20] Operation: 68-48=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[48, 2, 4], Operations: ['72-68=4'] Exploring Operation: 48+4=52, Resulting Numbers: [2, 52] Generated Node #0,0,0: 51:[2, 52] Operation: 48+4=52 Exploring Operation: 48+2=50, Resulting Numbers: [4, 50] Generated Node #0,0,1: 51:[4, 50] Operation: 48+2=50 Exploring Operation: 4-2=2, Resulting Numbers: [48, 2] Generated Node #0,0,2: 51:[48, 2] Operation: 4-2=2 Moving to Node #0,0,0 Current State: 51:[2, 52], Operations: ['72-68=4', '48+4=52'] Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,51 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[4, 50], Operations: ['72-68=4', '48+2=50'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,51 unequal: No Solution Exploring Operation: 4*50=200, Resulting Numbers: [200] 200,51 unequal: No Solution Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,51 unequal: No Solution Moving to Node #0,0,2 Current State: 51:[48, 2], Operations: ['72-68=4', '4-2=2'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,51 unequal: No Solution Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,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,1 Current State: 51:[68, 2, 24], Operations: ['72-48=24'] Exploring Operation: 68-24=44, Resulting Numbers: [2, 44] Generated Node #0,1,0: 51:[2, 44] Operation: 68-24=44 Exploring Operation: 2*24=48, Resulting Numbers: [68, 48] Generated Node #0,1,1: 51:[68, 48] Operation: 2*24=48 Exploring Operation: 68-2=66, Resulting Numbers: [24, 66] Generated Node #0,1,2: 51:[24, 66] Operation: 68-2=66 Moving to Node #0,1,0 Current State: 51:[2, 44], Operations: ['72-48=24', '68-24=44'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,51 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,51 unequal: No Solution Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[68, 48], Operations: ['72-48=24', '2*24=48'] Exploring Operation: 68+48=116, Resulting Numbers: [116] 116,51 unequal: No Solution Exploring Operation: 68*48=3264, Resulting Numbers: [3264] 3264,51 unequal: No Solution Exploring Operation: 68-48=20, Resulting Numbers: [20] 20,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[24, 66], Operations: ['72-48=24', '68-2=66'] Exploring Operation: 24+66=90, Resulting Numbers: [90] 90,51 unequal: No Solution Exploring Operation: 24*66=1584, Resulting Numbers: [1584] 1584,51 unequal: No Solution Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,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 Current State: 51:[2, 72, 20], Operations: ['68-48=20'] Exploring Operation: 72-20=52, Resulting Numbers: [2, 52] Generated Node #0,2,0: 51:[2, 52] Operation: 72-20=52 Exploring Operation: 72-2=70, Resulting Numbers: [20, 70] Generated Node #0,2,1: 51:[20, 70] Operation: 72-2=70 Exploring Operation: 72/2=36, Resulting Numbers: [20, 36] Generated Node #0,2,2: 51:[20, 36] Operation: 72/2=36 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 51:[2, 52], Operations: ['68-48=20', '72-20=52'] Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,51 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,51 unequal: No Solution No 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: 51:[20, 36], Operations: ['68-48=20', '72/2=36'] Exploring Operation: 20*36=720, Resulting Numbers: [720] 720,51 unequal: No Solution Exploring Operation: 20+36=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 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 51:[20, 70], Operations: ['68-48=20', '72-2=70'] Exploring Operation: 20*70=1400, Resulting Numbers: [1400] 1400,51 unequal: No Solution Exploring Operation: 20+70=90, Resulting Numbers: [90] 90,51 unequal: No Solution Exploring Operation: 70-20=50, Resulting Numbers: [50] 50,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 65, 42, 6, 28 ]
73
[ "65+42=107", "6+28=34", "107-34=73" ]
Current State: 73:[65, 42, 6, 28], Operations: [] Exploring Operation: 65+42=107, Resulting Numbers: [6, 28, 107] Generated Node #2: [6, 28, 107] from Operation: 65+42=107 Current State: 73:[6, 28, 107], Operations: ['65+42=107'] Exploring Operation: 6+28=34, Resulting Numbers: [107, 34] Generated Node #3: [107, 34] from Operation: 6+28=34 Current State: 73:[107, 34], Operations: ['65+42=107', '6+28=34'] Exploring Operation: 107-34=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[65, 42, 6, 28], Operations: [] Exploring Operation: 65+6=71, Resulting Numbers: [42, 28, 71] Generated Node #0,0: 73:[42, 28, 71] Operation: 65+6=71 Moving to Node #0,0 Current State: 73:[42, 28, 71], Operations: ['65+6=71'] Exploring Operation: 42+28=70, Resulting Numbers: [71, 70] Generated Node #0,0,0: 73:[71, 70] Operation: 42+28=70 Moving to Node #0,0,0 Current State: 73:[71, 70], Operations: ['65+6=71', '42+28=70'] Exploring Operation: 71+70=141, Resulting Numbers: [141] 141,73 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 33, 72, 31, 10 ]
92
[ "33-31=2", "10*2=20", "72+20=92" ]
Current State: 92:[33, 72, 31, 10], Operations: [] Exploring Operation: 33-31=2, Resulting Numbers: [72, 10, 2] Generated Node #2: [72, 10, 2] from Operation: 33-31=2 Current State: 92:[72, 10, 2], Operations: ['33-31=2'] Exploring Operation: 10*2=20, Resulting Numbers: [72, 20] Generated Node #3: [72, 20] from Operation: 10*2=20 Current State: 92:[72, 20], Operations: ['33-31=2', '10*2=20'] Exploring Operation: 72+20=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[33, 72, 31, 10], Operations: [] Exploring Operation: 72-33=39, Resulting Numbers: [31, 10, 39] Generated Node #0,0: 92:[31, 10, 39] Operation: 72-33=39 Exploring Operation: 33-31=2, Resulting Numbers: [72, 10, 2] Generated Node #0,1: 92:[72, 10, 2] Operation: 33-31=2 Exploring Operation: 72-31=41, Resulting Numbers: [33, 10, 41] Generated Node #0,2: 92:[33, 10, 41] Operation: 72-31=41 Exploring Operation: 33+72=105, Resulting Numbers: [31, 10, 105] Generated Node #0,3: 92:[31, 10, 105] Operation: 33+72=105 Moving to Node #0,0 Current State: 92:[31, 10, 39], Operations: ['72-33=39'] Exploring Operation: 10+39=49, Resulting Numbers: [31, 49] Generated Node #0,0,0: 92:[31, 49] Operation: 10+39=49 Exploring Operation: 31+10=41, Resulting Numbers: [39, 41] Generated Node #0,0,1: 92:[39, 41] Operation: 31+10=41 Exploring Operation: 39-31=8, Resulting Numbers: [10, 8] Generated Node #0,0,2: 92:[10, 8] Operation: 39-31=8 Exploring Operation: 31-10=21, Resulting Numbers: [39, 21] Generated Node #0,0,3: 92:[39, 21] Operation: 31-10=21 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 92:[39, 21], Operations: ['72-33=39', '31-10=21'] Exploring Operation: 39*21=819, Resulting Numbers: [819] 819,92 unequal: No Solution Exploring Operation: 39+21=60, Resulting Numbers: [60] 60,92 unequal: No Solution Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,92 unequal: No Solution No 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: 92:[10, 8], Operations: ['72-33=39', '39-31=8'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,92 unequal: No Solution Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,92 unequal: No Solution No 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: 92:[31, 49], Operations: ['72-33=39', '10+39=49'] Exploring Operation: 31*49=1519, Resulting Numbers: [1519] 1519,92 unequal: No Solution Exploring Operation: 31+49=80, Resulting Numbers: [80] 80,92 unequal: No Solution Exploring Operation: 49-31=18, Resulting Numbers: [18] 18,92 unequal: No Solution No 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: 92:[39, 41], Operations: ['72-33=39', '31+10=41'] Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 39*41=1599, Resulting Numbers: [1599] 1599,92 unequal: No Solution Exploring Operation: 39+41=80, Resulting Numbers: [80] 80,92 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: 92:[33, 10, 41], Operations: ['72-31=41'] Exploring Operation: 33-10=23, Resulting Numbers: [41, 23] Generated Node #0,2,0: 92:[41, 23] Operation: 33-10=23 Exploring Operation: 33+10=43, Resulting Numbers: [41, 43] Generated Node #0,2,1: 92:[41, 43] Operation: 33+10=43 Exploring Operation: 41-33=8, Resulting Numbers: [10, 8] Generated Node #0,2,2: 92:[10, 8] Operation: 41-33=8 Exploring Operation: 10+41=51, Resulting Numbers: [33, 51] Generated Node #0,2,3: 92:[33, 51] Operation: 10+41=51 Moving to Node #0,1 Current State: 92:[72, 10, 2], Operations: ['33-31=2'] Exploring Operation: 10/2=5, Resulting Numbers: [72, 5] Generated Node #0,1,0: 92:[72, 5] Operation: 10/2=5 Exploring Operation: 72-10=62, Resulting Numbers: [2, 62] Generated Node #0,1,1: 92:[2, 62] Operation: 72-10=62 Exploring Operation: 72+10=82, Resulting Numbers: [2, 82] Generated Node #0,1,2: 92:[2, 82] Operation: 72+10=82 Exploring Operation: 72/2=36, Resulting Numbers: [10, 36] Generated Node #0,1,3: 92:[10, 36] Operation: 72/2=36 Moving to Node #0,3 Current State: 92:[31, 10, 105], Operations: ['33+72=105'] Exploring Operation: 105-31=74, Resulting Numbers: [10, 74] Generated Node #0,3,0: 92:[10, 74] Operation: 105-31=74 Exploring Operation: 31+10=41, Resulting Numbers: [105, 41] Generated Node #0,3,1: 92:[105, 41] Operation: 31+10=41 Exploring Operation: 31-10=21, Resulting Numbers: [105, 21] Generated Node #0,3,2: 92:[105, 21] Operation: 31-10=21 Exploring Operation: 105-10=95, Resulting Numbers: [31, 95] Generated Node #0,3,3: 92:[31, 95] Operation: 105-10=95 Moving to Node #0,2,0 Current State: 92:[41, 23], Operations: ['72-31=41', '33-10=23'] Exploring Operation: 41+23=64, Resulting Numbers: [64] 64,92 unequal: No Solution Exploring Operation: 41*23=943, Resulting Numbers: [943] 943,92 unequal: No Solution Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,92 unequal: No Solution Moving to Node #0,2,1 Current State: 92:[41, 43], Operations: ['72-31=41', '33+10=43'] Exploring Operation: 43-41=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 41*43=1763, Resulting Numbers: [1763] 1763,92 unequal: No Solution Exploring Operation: 41+43=84, Resulting Numbers: [84] 84,92 unequal: No Solution Moving to Node #0,2,2 Current State: 92:[10, 8], Operations: ['72-31=41', '41-33=8'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,92 unequal: No Solution Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[2, 82], Operations: ['33-31=2', '72+10=82'] Exploring Operation: 2+82=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,92 unequal: No Solution Exploring Operation: 2*82=164, Resulting Numbers: [164] 164,92 unequal: No Solution Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,92 unequal: No Solution Moving to Node #0,3,3 Current State: 92:[31, 95], Operations: ['33+72=105', '105-10=95'] Exploring Operation: 31*95=2945, Resulting Numbers: [2945] 2945,92 unequal: No Solution Exploring Operation: 31+95=126, Resulting Numbers: [126] 126,92 unequal: No Solution Exploring Operation: 95-31=64, Resulting Numbers: [64] 64,92 unequal: No Solution Moving to Node #0,3,2 Current State: 92:[105, 21], Operations: ['33+72=105', '31-10=21'] Exploring Operation: 105-21=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 105*21=2205, Resulting Numbers: [2205] 2205,92 unequal: No Solution Exploring Operation: 105+21=126, Resulting Numbers: [126] 126,92 unequal: No Solution Exploring Operation: 105/21=5, Resulting Numbers: [5] 5,92 unequal: No Solution Moving to Node #0,2,3 Current State: 92:[33, 51], Operations: ['72-31=41', '10+41=51'] Exploring Operation: 33*51=1683, Resulting Numbers: [1683] 1683,92 unequal: No Solution Exploring Operation: 51-33=18, Resulting Numbers: [18] 18,92 unequal: No Solution Exploring Operation: 33+51=84, Resulting Numbers: [84] 84,92 unequal: No Solution Moving to Node #0,1,3 Current State: 92:[10, 36], Operations: ['33-31=2', '72/2=36'] Exploring Operation: 10*36=360, Resulting Numbers: [360] 360,92 unequal: No Solution Exploring Operation: 10+36=46, Resulting Numbers: [46] 46,92 unequal: No Solution Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[2, 62], Operations: ['33-31=2', '72-10=62'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,92 unequal: No Solution Exploring Operation: 2*62=124, Resulting Numbers: [124] 124,92 unequal: No Solution Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,92 unequal: No Solution Exploring Operation: 2+62=64, Resulting Numbers: [64] 64,92 unequal: No Solution Moving to Node #0,3,1 Current State: 92:[105, 41], Operations: ['33+72=105', '31+10=41'] Exploring Operation: 105-41=64, Resulting Numbers: [64] 64,92 unequal: No Solution Exploring Operation: 105+41=146, Resulting Numbers: [146] 146,92 unequal: No Solution Exploring Operation: 105*41=4305, Resulting Numbers: [4305] 4305,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[72, 5], Operations: ['33-31=2', '10/2=5'] Exploring Operation: 72-5=67, Resulting Numbers: [67] 67,92 unequal: No Solution Exploring Operation: 72+5=77, Resulting Numbers: [77] 77,92 unequal: No Solution Exploring Operation: 72*5=360, Resulting Numbers: [360] 360,92 unequal: No Solution Moving to Node #0,3,0 Current State: 92:[10, 74], Operations: ['33+72=105', '105-31=74'] Exploring Operation: 10+74=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 10*74=740, Resulting Numbers: [740] 740,92 unequal: No Solution Exploring Operation: 74-10=64, Resulting Numbers: [64] 64,92 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 9, 73, 6, 53 ]
39
[ "9*53=477", "73*6=438", "477-438=39" ]
Current State: 39:[9, 73, 6, 53], Operations: [] Exploring Operation: 9*53=477, Resulting Numbers: [73, 6, 477] Generated Node #2: [73, 6, 477] from Operation: 9*53=477 Current State: 39:[73, 6, 477], Operations: ['9*53=477'] Exploring Operation: 73*6=438, Resulting Numbers: [477, 438] Generated Node #3: [477, 438] from Operation: 73*6=438 Current State: 39:[477, 438], Operations: ['9*53=477', '73*6=438'] Exploring Operation: 477-438=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[9, 73, 6, 53], Operations: [] Exploring Operation: 53-9=44, Resulting Numbers: [73, 6, 44] Generated Node #0,0: 39:[73, 6, 44] Operation: 53-9=44 Exploring Operation: 73-9=64, Resulting Numbers: [6, 53, 64] Generated Node #0,1: 39:[6, 53, 64] Operation: 73-9=64 Exploring Operation: 73-53=20, Resulting Numbers: [9, 6, 20] Generated Node #0,2: 39:[9, 6, 20] Operation: 73-53=20 Moving to Node #0,2 Current State: 39:[9, 6, 20], Operations: ['73-53=20'] Exploring Operation: 20-9=11, Resulting Numbers: [6, 11] Generated Node #0,2,0: 39:[6, 11] Operation: 20-9=11 Exploring Operation: 20-6=14, Resulting Numbers: [9, 14] Generated Node #0,2,1: 39:[9, 14] Operation: 20-6=14 Exploring Operation: 9-6=3, Resulting Numbers: [20, 3] Generated Node #0,2,2: 39:[20, 3] Operation: 9-6=3 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 39:[6, 11], Operations: ['73-53=20', '20-9=11'] Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,39 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 39:[9, 14], Operations: ['73-53=20', '20-6=14'] Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 9*14=126, Resulting Numbers: [126] 126,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 39:[20, 3], Operations: ['73-53=20', '9-6=3'] Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,39 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,39 unequal: No Solution Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 39:[73, 6, 44], Operations: ['53-9=44'] Exploring Operation: 44-6=38, Resulting Numbers: [73, 38] Generated Node #0,0,0: 39:[73, 38] Operation: 44-6=38 Exploring Operation: 73-44=29, Resulting Numbers: [6, 29] Generated Node #0,0,1: 39:[6, 29] Operation: 73-44=29 Exploring Operation: 73-6=67, Resulting Numbers: [44, 67] Generated Node #0,0,2: 39:[44, 67] Operation: 73-6=67 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 39:[6, 29], Operations: ['53-9=44', '73-44=29'] Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,39 unequal: No Solution Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,39 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 39:[44, 67], Operations: ['53-9=44', '73-6=67'] Exploring Operation: 44*67=2948, Resulting Numbers: [2948] 2948,39 unequal: No Solution Exploring Operation: 67-44=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 44+67=111, Resulting Numbers: [111] 111,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[73, 38], Operations: ['53-9=44', '44-6=38'] Exploring Operation: 73*38=2774, Resulting Numbers: [2774] 2774,39 unequal: No Solution Exploring Operation: 73-38=35, Resulting Numbers: [35] 35,39 unequal: No Solution Exploring Operation: 73+38=111, Resulting Numbers: [111] 111,39 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: 39:[6, 53, 64], Operations: ['73-9=64'] Exploring Operation: 53-6=47, Resulting Numbers: [64, 47] Generated Node #0,1,0: 39:[64, 47] Operation: 53-6=47 Exploring Operation: 64-6=58, Resulting Numbers: [53, 58] Generated Node #0,1,1: 39:[53, 58] Operation: 64-6=58 Exploring Operation: 64-53=11, Resulting Numbers: [6, 11] Generated Node #0,1,2: 39:[6, 11] Operation: 64-53=11 Moving to Node #0,1,2 Current State: 39:[6, 11], Operations: ['73-9=64', '64-53=11'] Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,39 unequal: No Solution Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,39 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[64, 47], Operations: ['73-9=64', '53-6=47'] Exploring Operation: 64+47=111, Resulting Numbers: [111] 111,39 unequal: No Solution Exploring Operation: 64*47=3008, Resulting Numbers: [3008] 3008,39 unequal: No Solution Exploring Operation: 64-47=17, Resulting Numbers: [17] 17,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[53, 58], Operations: ['73-9=64', '64-6=58'] Exploring Operation: 58-53=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 53*58=3074, Resulting Numbers: [3074] 3074,39 unequal: No Solution Exploring Operation: 53+58=111, Resulting Numbers: [111] 111,39 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 93, 38, 58, 37 ]
19
[ "93-58=35", "37-35=2", "38/2=19" ]
Current State: 19:[93, 38, 58, 37], Operations: [] Exploring Operation: 93-58=35, Resulting Numbers: [38, 37, 35] Generated Node #2: [38, 37, 35] from Operation: 93-58=35 Current State: 19:[38, 37, 35], Operations: ['93-58=35'] Exploring Operation: 37-35=2, Resulting Numbers: [38, 2] Generated Node #3: [38, 2] from Operation: 37-35=2 Current State: 19:[38, 2], Operations: ['93-58=35', '37-35=2'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[93, 38, 58, 37], Operations: [] Exploring Operation: 93-37=56, Resulting Numbers: [38, 58, 56] Generated Node #0,0: 19:[38, 58, 56] Operation: 93-37=56 Exploring Operation: 58-38=20, Resulting Numbers: [93, 37, 20] Generated Node #0,1: 19:[93, 37, 20] Operation: 58-38=20 Exploring Operation: 58-37=21, Resulting Numbers: [93, 38, 21] Generated Node #0,2: 19:[93, 38, 21] Operation: 58-37=21 Exploring Operation: 93-58=35, Resulting Numbers: [38, 37, 35] Generated Node #0,3: 19:[38, 37, 35] Operation: 93-58=35 Exploring Operation: 93-38=55, Resulting Numbers: [58, 37, 55] Generated Node #0,4: 19:[58, 37, 55] Operation: 93-38=55 Start Sub Search at level 1: Moving to Node #0,3 Current State: 19:[38, 37, 35], Operations: ['93-58=35'] Exploring Operation: 38-35=3, Resulting Numbers: [37, 3] Generated Node #0,3,0: 19:[37, 3] Operation: 38-35=3 Exploring Operation: 38+37=75, Resulting Numbers: [35, 75] Generated Node #0,3,1: 19:[35, 75] Operation: 38+37=75 Exploring Operation: 37-35=2, Resulting Numbers: [38, 2] Generated Node #0,3,2: 19:[38, 2] Operation: 37-35=2 Exploring Operation: 38-37=1, Resulting Numbers: [35, 1] Generated Node #0,3,3: 19:[35, 1] Operation: 38-37=1 Exploring Operation: 38+35=73, Resulting Numbers: [37, 73] Generated Node #0,3,4: 19:[37, 73] Operation: 38+35=73 Moving to Node #0,3,0 Current State: 19:[37, 3], Operations: ['93-58=35', '38-35=3'] Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,19 unequal: No Solution Exploring Operation: 37+3=40, Resulting Numbers: [40] 40,19 unequal: No Solution Exploring Operation: 37*3=111, Resulting Numbers: [111] 111,19 unequal: No Solution Moving to Node #0,3,3 Current State: 19:[35, 1], Operations: ['93-58=35', '38-37=1'] Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,19 unequal: No Solution Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,19 unequal: No Solution Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,19 unequal: No Solution Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,19 unequal: No Solution Moving to Node #0,3,2 Current State: 19:[38, 2], Operations: ['93-58=35', '37-35=2'] Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,19 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[93, 38, 58, 37], Operations: [] Exploring Operation: 93-58=35, Resulting Numbers: [38, 37, 35] Generated Node #0,3: 19:[38, 37, 35] Operation: 93-58=35 Moving to Node #0,3 Current State: 19:[38, 37, 35], Operations: ['93-58=35'] Exploring Operation: 37-35=2, Resulting Numbers: [38, 2] Generated Node #0,3,2: 19:[38, 2] Operation: 37-35=2 Moving to Node #0,3,2 Current State: 19:[38, 2], Operations: ['93-58=35', '37-35=2'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 44, 37, 15, 86 ]
19
[ "44-37=7", "15*7=105", "105-86=19" ]
Current State: 19:[44, 37, 15, 86], Operations: [] Exploring Operation: 44-37=7, Resulting Numbers: [15, 86, 7] Generated Node #2: [15, 86, 7] from Operation: 44-37=7 Current State: 19:[15, 86, 7], Operations: ['44-37=7'] Exploring Operation: 15*7=105, Resulting Numbers: [86, 105] Generated Node #3: [86, 105] from Operation: 15*7=105 Current State: 19:[86, 105], Operations: ['44-37=7', '15*7=105'] Exploring Operation: 105-86=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[44, 37, 15, 86], Operations: [] Exploring Operation: 86-44=42, Resulting Numbers: [37, 15, 42] Generated Node #0,0: 19:[37, 15, 42] Operation: 86-44=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[37, 15, 42], Operations: ['86-44=42'] Exploring Operation: 42-37=5, Resulting Numbers: [15, 5] Generated Node #0,0,0: 19:[15, 5] Operation: 42-37=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[15, 5], Operations: ['86-44=42', '42-37=5'] Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 86, 23, 16, 3 ]
76
[ "86-23=63", "16-3=13", "63+13=76" ]
Current State: 76:[86, 23, 16, 3], Operations: [] Exploring Operation: 86-23=63, Resulting Numbers: [16, 3, 63] Generated Node #2: [16, 3, 63] from Operation: 86-23=63 Current State: 76:[16, 3, 63], Operations: ['86-23=63'] Exploring Operation: 16-3=13, Resulting Numbers: [63, 13] Generated Node #3: [63, 13] from Operation: 16-3=13 Current State: 76:[63, 13], Operations: ['86-23=63', '16-3=13'] Exploring Operation: 63+13=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[86, 23, 16, 3], Operations: [] Exploring Operation: 86-16=70, Resulting Numbers: [23, 3, 70] Generated Node #0,0: 76:[23, 3, 70] Operation: 86-16=70 Exploring Operation: 23+16=39, Resulting Numbers: [86, 3, 39] Generated Node #0,1: 76:[86, 3, 39] Operation: 23+16=39 Exploring Operation: 86-3=83, Resulting Numbers: [23, 16, 83] Generated Node #0,2: 76:[23, 16, 83] Operation: 86-3=83 Exploring Operation: 23-16=7, Resulting Numbers: [86, 3, 7] Generated Node #0,3: 76:[86, 3, 7] Operation: 23-16=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[23, 3, 70], Operations: ['86-16=70'] Exploring Operation: 23-3=20, Resulting Numbers: [70, 20] Generated Node #0,0,0: 76:[70, 20] Operation: 23-3=20 Exploring Operation: 70-23=47, Resulting Numbers: [3, 47] Generated Node #0,0,1: 76:[3, 47] Operation: 70-23=47 Exploring Operation: 23+3=26, Resulting Numbers: [70, 26] Generated Node #0,0,2: 76:[70, 26] Operation: 23+3=26 Exploring Operation: 3+70=73, Resulting Numbers: [23, 73] Generated Node #0,0,3: 76:[23, 73] Operation: 3+70=73 Moving to Node #0,0,0 Current State: 76:[70, 20], Operations: ['86-16=70', '23-3=20'] Exploring Operation: 70-20=50, Resulting Numbers: [50] 50,76 unequal: No Solution Exploring Operation: 70+20=90, Resulting Numbers: [90] 90,76 unequal: No Solution Exploring Operation: 70*20=1400, Resulting Numbers: [1400] 1400,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[23, 73], Operations: ['86-16=70', '3+70=73'] Exploring Operation: 73-23=50, Resulting Numbers: [50] 50,76 unequal: No Solution Exploring Operation: 23+73=96, Resulting Numbers: [96] 96,76 unequal: No Solution Exploring Operation: 23*73=1679, Resulting Numbers: [1679] 1679,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[3, 47], Operations: ['86-16=70', '70-23=47'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,76 unequal: No Solution Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,76 unequal: No Solution Exploring Operation: 3*47=141, Resulting Numbers: [141] 141,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[70, 26], Operations: ['86-16=70', '23+3=26'] Exploring Operation: 70*26=1820, Resulting Numbers: [1820] 1820,76 unequal: No Solution Exploring Operation: 70-26=44, Resulting Numbers: [44] 44,76 unequal: No Solution Exploring Operation: 70+26=96, Resulting Numbers: [96] 96,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:[86, 3, 39], Operations: ['23+16=39'] Exploring Operation: 39-3=36, Resulting Numbers: [86, 36] Generated Node #0,1,0: 76:[86, 36] Operation: 39-3=36 Exploring Operation: 86-3=83, Resulting Numbers: [39, 83] Generated Node #0,1,1: 76:[39, 83] Operation: 86-3=83 Exploring Operation: 86+3=89, Resulting Numbers: [39, 89] Generated Node #0,1,2: 76:[39, 89] Operation: 86+3=89 Exploring Operation: 86-39=47, Resulting Numbers: [3, 47] Generated Node #0,1,3: 76:[3, 47] Operation: 86-39=47 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 76:[39, 83], Operations: ['23+16=39', '86-3=83'] Exploring Operation: 83-39=44, Resulting Numbers: [44] 44,76 unequal: No Solution Exploring Operation: 39+83=122, Resulting Numbers: [122] 122,76 unequal: No Solution Exploring Operation: 39*83=3237, Resulting Numbers: [3237] 3237,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,3 Current State: 76:[3, 47], Operations: ['23+16=39', '86-39=47'] Exploring Operation: 3*47=141, Resulting Numbers: [141] 141,76 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,76 unequal: No Solution Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,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:[86, 36], Operations: ['23+16=39', '39-3=36'] Exploring Operation: 86*36=3096, Resulting Numbers: [3096] 3096,76 unequal: No Solution Exploring Operation: 86-36=50, Resulting Numbers: [50] 50,76 unequal: No Solution Exploring Operation: 86+36=122, Resulting Numbers: [122] 122,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,2 Current State: 76:[39, 89], Operations: ['23+16=39', '86+3=89'] Exploring Operation: 89-39=50, Resulting Numbers: [50] 50,76 unequal: No Solution Exploring Operation: 39+89=128, Resulting Numbers: [128] 128,76 unequal: No Solution Exploring Operation: 39*89=3471, Resulting Numbers: [3471] 3471,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,2 Current State: 76:[23, 16, 83], Operations: ['86-3=83'] Exploring Operation: 83-16=67, Resulting Numbers: [23, 67] Generated Node #0,2,0: 76:[23, 67] Operation: 83-16=67 Exploring Operation: 23-16=7, Resulting Numbers: [83, 7] Generated Node #0,2,1: 76:[83, 7] Operation: 23-16=7 Exploring Operation: 83-23=60, Resulting Numbers: [16, 60] Generated Node #0,2,2: 76:[16, 60] Operation: 83-23=60 Exploring Operation: 23+16=39, Resulting Numbers: [83, 39] Generated Node #0,2,3: 76:[83, 39] Operation: 23+16=39 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 76:[83, 39], Operations: ['86-3=83', '23+16=39'] Exploring Operation: 83*39=3237, Resulting Numbers: [3237] 3237,76 unequal: No Solution Exploring Operation: 83+39=122, Resulting Numbers: [122] 122,76 unequal: No Solution Exploring Operation: 83-39=44, Resulting Numbers: [44] 44,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:[83, 7], Operations: ['86-3=83', '23-16=7'] Exploring Operation: 83*7=581, Resulting Numbers: [581] 581,76 unequal: No Solution Exploring Operation: 83+7=90, Resulting Numbers: [90] 90,76 unequal: No Solution Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[86, 23, 16, 3], Operations: [] Exploring Operation: 86-3=83, Resulting Numbers: [23, 16, 83] Generated Node #0,2: 76:[23, 16, 83] Operation: 86-3=83 Moving to Node #0,2 Current State: 76:[23, 16, 83], Operations: ['86-3=83'] Exploring Operation: 23-16=7, Resulting Numbers: [83, 7] Generated Node #0,2,1: 76:[83, 7] Operation: 23-16=7 Moving to Node #0,2,1 Current State: 76:[83, 7], Operations: ['86-3=83', '23-16=7'] Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.956597
hs_4
sum_heuristic
[ 2, 27, 62, 95 ]
87
[ "2*27=54", "95-62=33", "54+33=87" ]
Current State: 87:[2, 27, 62, 95], Operations: [] Exploring Operation: 2*27=54, Resulting Numbers: [62, 95, 54] Generated Node #2: [62, 95, 54] from Operation: 2*27=54 Current State: 87:[62, 95, 54], Operations: ['2*27=54'] Exploring Operation: 95-62=33, Resulting Numbers: [54, 33] Generated Node #3: [54, 33] from Operation: 95-62=33 Current State: 87:[54, 33], Operations: ['2*27=54', '95-62=33'] Exploring Operation: 54+33=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[2, 27, 62, 95], Operations: [] Exploring Operation: 2+27=29, Resulting Numbers: [62, 95, 29] Generated Node #0,0: 87:[62, 95, 29] Operation: 2+27=29 Exploring Operation: 62-27=35, Resulting Numbers: [2, 95, 35] Generated Node #0,1: 87:[2, 95, 35] Operation: 62-27=35 Exploring Operation: 95-62=33, Resulting Numbers: [2, 27, 33] Generated Node #0,2: 87:[2, 27, 33] Operation: 95-62=33 Exploring Operation: 62/2=31, Resulting Numbers: [27, 95, 31] Generated Node #0,3: 87:[27, 95, 31] Operation: 62/2=31 Exploring Operation: 27+62=89, Resulting Numbers: [2, 95, 89] Generated Node #0,4: 87:[2, 95, 89] Operation: 27+62=89 Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[2, 27, 33], Operations: ['95-62=33'] Exploring Operation: 33-2=31, Resulting Numbers: [27, 31] Generated Node #0,2,0: 87:[27, 31] Operation: 33-2=31 Exploring Operation: 2+27=29, Resulting Numbers: [33, 29] Generated Node #0,2,1: 87:[33, 29] Operation: 2+27=29 Exploring Operation: 27-2=25, Resulting Numbers: [33, 25] Generated Node #0,2,2: 87:[33, 25] Operation: 27-2=25 Exploring Operation: 2+33=35, Resulting Numbers: [27, 35] Generated Node #0,2,3: 87:[27, 35] Operation: 2+33=35 Exploring Operation: 33-27=6, Resulting Numbers: [2, 6] Generated Node #0,2,4: 87:[2, 6] Operation: 33-27=6 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 87:[27, 31], Operations: ['95-62=33', '33-2=31'] Exploring Operation: 27+31=58, Resulting Numbers: [58] 58,87 unequal: No Solution Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 27*31=837, Resulting Numbers: [837] 837,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 87:[33, 29], Operations: ['95-62=33', '2+27=29'] Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 33+29=62, Resulting Numbers: [62] 62,87 unequal: No Solution Exploring Operation: 33*29=957, Resulting Numbers: [957] 957,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 87:[2, 6], Operations: ['95-62=33', '33-27=6'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,87 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 87:[33, 25], Operations: ['95-62=33', '27-2=25'] Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 33*25=825, Resulting Numbers: [825] 825,87 unequal: No Solution Exploring Operation: 33+25=58, Resulting Numbers: [58] 58,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 87:[27, 35], Operations: ['95-62=33', '2+33=35'] Exploring Operation: 27+35=62, Resulting Numbers: [62] 62,87 unequal: No Solution Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 27*35=945, Resulting Numbers: [945] 945,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 87:[2, 95, 89], Operations: ['27+62=89'] Exploring Operation: 95-2=93, Resulting Numbers: [89, 93] Generated Node #0,4,0: 87:[89, 93] Operation: 95-2=93 Exploring Operation: 2+89=91, Resulting Numbers: [95, 91] Generated Node #0,4,1: 87:[95, 91] Operation: 2+89=91 Exploring Operation: 89-2=87, Resulting Numbers: [95, 87] Generated Node #0,4,2: 87:[95, 87] Operation: 89-2=87 Exploring Operation: 2+95=97, Resulting Numbers: [89, 97] Generated Node #0,4,3: 87:[89, 97] Operation: 2+95=97 Exploring Operation: 95-89=6, Resulting Numbers: [2, 6] Generated Node #0,4,4: 87:[2, 6] Operation: 95-89=6 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 87:[2, 6], Operations: ['27+62=89', '95-89=6'] Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 87:[89, 93], Operations: ['27+62=89', '95-2=93'] Exploring Operation: 93-89=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 89*93=8277, Resulting Numbers: [8277] 8277,87 unequal: No Solution Exploring Operation: 89+93=182, Resulting Numbers: [182] 182,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 87:[95, 87], Operations: ['27+62=89', '89-2=87'] Exploring Operation: 95-87=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 95*87=8265, Resulting Numbers: [8265] 8265,87 unequal: No Solution Exploring Operation: 95+87=182, Resulting Numbers: [182] 182,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 87:[95, 91], Operations: ['27+62=89', '2+89=91'] Exploring Operation: 95+91=186, Resulting Numbers: [186] 186,87 unequal: No Solution Exploring Operation: 95-91=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 95*91=8645, Resulting Numbers: [8645] 8645,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 87:[89, 97], Operations: ['27+62=89', '2+95=97'] Exploring Operation: 89*97=8633, Resulting Numbers: [8633] 8633,87 unequal: No Solution Exploring Operation: 89+97=186, Resulting Numbers: [186] 186,87 unequal: No Solution Exploring Operation: 97-89=8, Resulting Numbers: [8] 8,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 87:[27, 95, 31], Operations: ['62/2=31'] Exploring Operation: 31-27=4, Resulting Numbers: [95, 4] Generated Node #0,3,0: 87:[95, 4] Operation: 31-27=4 Exploring Operation: 95-31=64, Resulting Numbers: [27, 64] Generated Node #0,3,1: 87:[27, 64] Operation: 95-31=64 Exploring Operation: 27+95=122, Resulting Numbers: [31, 122] Generated Node #0,3,2: 87:[31, 122] Operation: 27+95=122 Exploring Operation: 27+31=58, Resulting Numbers: [95, 58] Generated Node #0,3,3: 87:[95, 58] Operation: 27+31=58 Exploring Operation: 95-27=68, Resulting Numbers: [31, 68] Generated Node #0,3,4: 87:[31, 68] Operation: 95-27=68 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 87:[95, 4], Operations: ['62/2=31', '31-27=4'] Exploring Operation: 95*4=380, Resulting Numbers: [380] 380,87 unequal: No Solution Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,87 unequal: No Solution Exploring Operation: 95+4=99, Resulting Numbers: [99] 99,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 87:[31, 68], Operations: ['62/2=31', '95-27=68'] Exploring Operation: 31*68=2108, Resulting Numbers: [2108] 2108,87 unequal: No Solution Exploring Operation: 31+68=99, Resulting Numbers: [99] 99,87 unequal: No Solution Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 87:[27, 64], Operations: ['62/2=31', '95-31=64'] Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,87 unequal: No Solution Exploring Operation: 27+64=91, Resulting Numbers: [91] 91,87 unequal: No Solution Exploring Operation: 27*64=1728, Resulting Numbers: [1728] 1728,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 87:[31, 122], Operations: ['62/2=31', '27+95=122'] Exploring Operation: 122-31=91, Resulting Numbers: [91] 91,87 unequal: No Solution Exploring Operation: 31+122=153, Resulting Numbers: [153] 153,87 unequal: No Solution Exploring Operation: 31*122=3782, Resulting Numbers: [3782] 3782,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 87:[95, 58], Operations: ['62/2=31', '27+31=58'] Exploring Operation: 95+58=153, Resulting Numbers: [153] 153,87 unequal: No Solution Exploring Operation: 95-58=37, Resulting Numbers: [37] 37,87 unequal: No Solution Exploring Operation: 95*58=5510, Resulting Numbers: [5510] 5510,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[2, 95, 35], Operations: ['62-27=35'] Exploring Operation: 95-2=93, Resulting Numbers: [35, 93] Generated Node #0,1,0: 87:[35, 93] Operation: 95-2=93 Exploring Operation: 2+95=97, Resulting Numbers: [35, 97] Generated Node #0,1,1: 87:[35, 97] Operation: 2+95=97 Exploring Operation: 2*35=70, Resulting Numbers: [95, 70] Generated Node #0,1,2: 87:[95, 70] Operation: 2*35=70 Exploring Operation: 35-2=33, Resulting Numbers: [95, 33] Generated Node #0,1,3: 87:[95, 33] Operation: 35-2=33 Exploring Operation: 2+35=37, Resulting Numbers: [95, 37] Generated Node #0,1,4: 87:[95, 37] Operation: 2+35=37 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 87:[35, 93], Operations: ['62-27=35', '95-2=93'] Exploring Operation: 35*93=3255, Resulting Numbers: [3255] 3255,87 unequal: No Solution Exploring Operation: 93-35=58, Resulting Numbers: [58] 58,87 unequal: No Solution Exploring Operation: 35+93=128, Resulting Numbers: [128] 128,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 87:[95, 33], Operations: ['62-27=35', '35-2=33'] Exploring Operation: 95+33=128, Resulting Numbers: [128] 128,87 unequal: No Solution Exploring Operation: 95*33=3135, Resulting Numbers: [3135] 3135,87 unequal: No Solution Exploring Operation: 95-33=62, Resulting Numbers: [62] 62,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 87:[35, 97], Operations: ['62-27=35', '2+95=97'] Exploring Operation: 35*97=3395, Resulting Numbers: [3395] 3395,87 unequal: No Solution Exploring Operation: 97-35=62, Resulting Numbers: [62] 62,87 unequal: No Solution Exploring Operation: 35+97=132, Resulting Numbers: [132] 132,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 87:[95, 37], Operations: ['62-27=35', '2+35=37'] Exploring Operation: 95*37=3515, Resulting Numbers: [3515] 3515,87 unequal: No Solution Exploring Operation: 95+37=132, Resulting Numbers: [132] 132,87 unequal: No Solution Exploring Operation: 95-37=58, Resulting Numbers: [58] 58,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 87:[95, 70], Operations: ['62-27=35', '2*35=70'] Exploring Operation: 95*70=6650, Resulting Numbers: [6650] 6650,87 unequal: No Solution Exploring Operation: 95-70=25, Resulting Numbers: [25] 25,87 unequal: No Solution Exploring Operation: 95+70=165, Resulting Numbers: [165] 165,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[62, 95, 29], Operations: ['2+27=29'] Exploring Operation: 95+29=124, Resulting Numbers: [62, 124] Generated Node #0,0,0: 87:[62, 124] Operation: 95+29=124 Exploring Operation: 62+29=91, Resulting Numbers: [95, 91] Generated Node #0,0,1: 87:[95, 91] Operation: 62+29=91 Exploring Operation: 62-29=33, Resulting Numbers: [95, 33] Generated Node #0,0,2: 87:[95, 33] Operation: 62-29=33 Exploring Operation: 95-62=33, Resulting Numbers: [29, 33] Generated Node #0,0,3: 87:[29, 33] Operation: 95-62=33 Exploring Operation: 95-29=66, Resulting Numbers: [62, 66] Generated Node #0,0,4: 87:[62, 66] Operation: 95-29=66 Moving to Node #0,0,3 Current State: 87:[29, 33], Operations: ['2+27=29', '95-62=33'] Exploring Operation: 29+33=62, Resulting Numbers: [62] 62,87 unequal: No Solution Exploring Operation: 29*33=957, Resulting Numbers: [957] 957,87 unequal: No Solution Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,87 unequal: No Solution Moving to Node #0,0,2 Current State: 87:[95, 33], Operations: ['2+27=29', '62-29=33'] Exploring Operation: 95-33=62, Resulting Numbers: [62] 62,87 unequal: No Solution Exploring Operation: 95*33=3135, Resulting Numbers: [3135] 3135,87 unequal: No Solution Exploring Operation: 95+33=128, Resulting Numbers: [128] 128,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[95, 91], Operations: ['2+27=29', '62+29=91'] Exploring Operation: 95*91=8645, Resulting Numbers: [8645] 8645,87 unequal: No Solution Exploring Operation: 95+91=186, Resulting Numbers: [186] 186,87 unequal: No Solution Exploring Operation: 95-91=4, Resulting Numbers: [4] 4,87 unequal: No Solution Moving to Node #0,0,4 Current State: 87:[62, 66], Operations: ['2+27=29', '95-29=66'] Exploring Operation: 62+66=128, Resulting Numbers: [128] 128,87 unequal: No Solution Exploring Operation: 62*66=4092, Resulting Numbers: [4092] 4092,87 unequal: No Solution Exploring Operation: 66-62=4, Resulting Numbers: [4] 4,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[62, 124], Operations: ['2+27=29', '95+29=124'] Exploring Operation: 124/62=2, Resulting Numbers: [2] 2,87 unequal: No Solution Exploring Operation: 124-62=62, Resulting Numbers: [62] 62,87 unequal: No Solution Exploring Operation: 62+124=186, Resulting Numbers: [186] 186,87 unequal: No Solution Exploring Operation: 62*124=7688, Resulting Numbers: [7688] 7688,87 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
[ 67, 4, 36, 77 ]
97
[ "77-36=41", "4*41=164", "164-67=97" ]
Current State: 97:[67, 4, 36, 77], Operations: [] Exploring Operation: 77-36=41, Resulting Numbers: [67, 4, 41] Generated Node #2: [67, 4, 41] from Operation: 77-36=41 Current State: 97:[67, 4, 41], Operations: ['77-36=41'] Exploring Operation: 4*41=164, Resulting Numbers: [67, 164] Generated Node #3: [67, 164] from Operation: 4*41=164 Current State: 97:[67, 164], Operations: ['77-36=41', '4*41=164'] Exploring Operation: 164-67=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[67, 4, 36, 77], Operations: [] Exploring Operation: 4*36=144, Resulting Numbers: [67, 77, 144] Generated Node #0,0: 97:[67, 77, 144] Operation: 4*36=144 Moving to Node #0,0 Current State: 97:[67, 77, 144], Operations: ['4*36=144'] Exploring Operation: 144-67=77, Resulting Numbers: [77, 77] Generated Node #0,0,0: 97:[77, 77] Operation: 144-67=77 Moving to Node #0,0,0 Current State: 97:[77, 77], Operations: ['4*36=144', '144-67=77'] Exploring Operation: 77+77=154, Resulting Numbers: [154] 154,97 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 23, 22, 18, 24 ]
39
[ "23+22=45", "24-18=6", "45-6=39" ]
Current State: 39:[23, 22, 18, 24], Operations: [] Exploring Operation: 23+22=45, Resulting Numbers: [18, 24, 45] Generated Node #2: [18, 24, 45] from Operation: 23+22=45 Current State: 39:[18, 24, 45], Operations: ['23+22=45'] Exploring Operation: 24-18=6, Resulting Numbers: [45, 6] Generated Node #3: [45, 6] from Operation: 24-18=6 Current State: 39:[45, 6], Operations: ['23+22=45', '24-18=6'] Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[23, 22, 18, 24], Operations: [] Exploring Operation: 23+18=41, Resulting Numbers: [22, 24, 41] Generated Node #0,0: 39:[22, 24, 41] Operation: 23+18=41 Exploring Operation: 23-22=1, Resulting Numbers: [18, 24, 1] Generated Node #0,1: 39:[18, 24, 1] Operation: 23-22=1 Exploring Operation: 24-22=2, Resulting Numbers: [23, 18, 2] Generated Node #0,2: 39:[23, 18, 2] Operation: 24-22=2 Exploring Operation: 23+22=45, Resulting Numbers: [18, 24, 45] Generated Node #0,3: 39:[18, 24, 45] Operation: 23+22=45 Exploring Operation: 24-23=1, Resulting Numbers: [22, 18, 1] Generated Node #0,4: 39:[22, 18, 1] Operation: 24-23=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 39:[23, 18, 2], Operations: ['24-22=2'] Exploring Operation: 18*2=36, Resulting Numbers: [23, 36] Generated Node #0,2,0: 39:[23, 36] Operation: 18*2=36 Exploring Operation: 23-2=21, Resulting Numbers: [18, 21] Generated Node #0,2,1: 39:[18, 21] Operation: 23-2=21 Exploring Operation: 23*2=46, Resulting Numbers: [18, 46] Generated Node #0,2,2: 39:[18, 46] Operation: 23*2=46 Exploring Operation: 23-18=5, Resulting Numbers: [2, 5] Generated Node #0,2,3: 39:[2, 5] Operation: 23-18=5 Exploring Operation: 23+18=41, Resulting Numbers: [2, 41] Generated Node #0,2,4: 39:[2, 41] Operation: 23+18=41 Moving to Node #0,2,3 Current State: 39:[2, 5], Operations: ['24-22=2', '23-18=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,39 unequal: No Solution Moving to Node #0,2,4 Current State: 39:[2, 41], Operations: ['24-22=2', '23+18=41'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[23, 22, 18, 24], Operations: [] Exploring Operation: 24-22=2, Resulting Numbers: [23, 18, 2] Generated Node #0,2: 39:[23, 18, 2] Operation: 24-22=2 Moving to Node #0,2 Current State: 39:[23, 18, 2], Operations: ['24-22=2'] Exploring Operation: 23+18=41, Resulting Numbers: [2, 41] Generated Node #0,2,4: 39:[2, 41] Operation: 23+18=41 Moving to Node #0,2,4 Current State: 39:[2, 41], Operations: ['24-22=2', '23+18=41'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 6, 74, 33, 37 ]
24
[ "74+33=107", "37+107=144", "144/6=24" ]
Current State: 24:[6, 74, 33, 37], Operations: [] Exploring Operation: 74+33=107, Resulting Numbers: [6, 37, 107] Generated Node #2: [6, 37, 107] from Operation: 74+33=107 Current State: 24:[6, 37, 107], Operations: ['74+33=107'] Exploring Operation: 37+107=144, Resulting Numbers: [6, 144] Generated Node #3: [6, 144] from Operation: 37+107=144 Current State: 24:[6, 144], Operations: ['74+33=107', '37+107=144'] Exploring Operation: 144/6=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[6, 74, 33, 37], Operations: [] Exploring Operation: 74/37=2, Resulting Numbers: [6, 33, 2] Generated Node #0,0: 24:[6, 33, 2] Operation: 74/37=2 Exploring Operation: 74-37=37, Resulting Numbers: [6, 33, 37] Generated Node #0,1: 24:[6, 33, 37] Operation: 74-37=37 Moving to Node #0,0 Current State: 24:[6, 33, 2], Operations: ['74/37=2'] Exploring Operation: 33-2=31, Resulting Numbers: [6, 31] Generated Node #0,0,0: 24:[6, 31] Operation: 33-2=31 Exploring Operation: 33-6=27, Resulting Numbers: [2, 27] Generated Node #0,0,1: 24:[2, 27] Operation: 33-6=27 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 24:[2, 27], Operations: ['74/37=2', '33-6=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[6, 31], Operations: ['74/37=2', '33-2=31'] Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,24 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,24 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: 24:[6, 33, 37], Operations: ['74-37=37'] Exploring Operation: 37-33=4, Resulting Numbers: [6, 4] Generated Node #0,1,0: 24:[6, 4] Operation: 37-33=4 Exploring Operation: 33-6=27, Resulting Numbers: [37, 27] Generated Node #0,1,1: 24:[37, 27] Operation: 33-6=27 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[6, 4], Operations: ['74-37=37', '37-33=4'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[6, 74, 33, 37], Operations: [] Exploring Operation: 74-37=37, Resulting Numbers: [6, 33, 37] Generated Node #0,1: 24:[6, 33, 37] Operation: 74-37=37 Moving to Node #0,1 Current State: 24:[6, 33, 37], Operations: ['74-37=37'] Exploring Operation: 37-33=4, Resulting Numbers: [6, 4] Generated Node #0,1,0: 24:[6, 4] Operation: 37-33=4 Moving to Node #0,1,0 Current State: 24:[6, 4], Operations: ['74-37=37', '37-33=4'] Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 1, 91, 89, 83 ]
82
[ "91-1=90", "89+83=172", "172-90=82" ]
Current State: 82:[1, 91, 89, 83], Operations: [] Exploring Operation: 91-1=90, Resulting Numbers: [89, 83, 90] Generated Node #2: [89, 83, 90] from Operation: 91-1=90 Current State: 82:[89, 83, 90], Operations: ['91-1=90'] Exploring Operation: 89+83=172, Resulting Numbers: [90, 172] Generated Node #3: [90, 172] from Operation: 89+83=172 Current State: 82:[90, 172], Operations: ['91-1=90', '89+83=172'] Exploring Operation: 172-90=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[1, 91, 89, 83], Operations: [] Exploring Operation: 91-89=2, Resulting Numbers: [1, 83, 2] Generated Node #0,0: 82:[1, 83, 2] Operation: 91-89=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[1, 83, 2], Operations: ['91-89=2'] Exploring Operation: 83-1=82, Resulting Numbers: [2, 82] Generated Node #0,0,0: 82:[2, 82] Operation: 83-1=82 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[2, 82], Operations: ['91-89=2', '83-1=82'] Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 67, 70, 69, 20 ]
45
[ "69-67=2", "70+20=90", "90/2=45" ]
Current State: 45:[67, 70, 69, 20], Operations: [] Exploring Operation: 69-67=2, Resulting Numbers: [70, 20, 2] Generated Node #2: [70, 20, 2] from Operation: 69-67=2 Current State: 45:[70, 20, 2], Operations: ['69-67=2'] Exploring Operation: 70+20=90, Resulting Numbers: [2, 90] Generated Node #3: [2, 90] from Operation: 70+20=90 Current State: 45:[2, 90], Operations: ['69-67=2', '70+20=90'] Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[67, 70, 69, 20], Operations: [] Exploring Operation: 70-20=50, Resulting Numbers: [67, 69, 50] Generated Node #0,0: 45:[67, 69, 50] Operation: 70-20=50 Exploring Operation: 70-69=1, Resulting Numbers: [67, 20, 1] Generated Node #0,1: 45:[67, 20, 1] Operation: 70-69=1 Exploring Operation: 70-67=3, Resulting Numbers: [69, 20, 3] Generated Node #0,2: 45:[69, 20, 3] Operation: 70-67=3 Exploring Operation: 69-67=2, Resulting Numbers: [70, 20, 2] Generated Node #0,3: 45:[70, 20, 2] Operation: 69-67=2 Exploring Operation: 67-20=47, Resulting Numbers: [70, 69, 47] Generated Node #0,4: 45:[70, 69, 47] Operation: 67-20=47 Moving to Node #0,1 Current State: 45:[67, 20, 1], Operations: ['70-69=1'] Exploring Operation: 67-20=47, Resulting Numbers: [1, 47] Generated Node #0,1,0: 45:[1, 47] Operation: 67-20=47 Exploring Operation: 67-1=66, Resulting Numbers: [20, 66] Generated Node #0,1,1: 45:[20, 66] Operation: 67-1=66 Exploring Operation: 67/1=67, Resulting Numbers: [20, 67] Generated Node #0,1,2: 45:[20, 67] Operation: 67/1=67 Exploring Operation: 20-1=19, Resulting Numbers: [67, 19] Generated Node #0,1,3: 45:[67, 19] Operation: 20-1=19 Exploring Operation: 67*1=67, Resulting Numbers: [20, 67] Generated Node #0,1,4: 45:[20, 67] Operation: 67*1=67 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[1, 47], Operations: ['70-69=1', '67-20=47'] Exploring Operation: 47/1=47, Resulting Numbers: [47] 47,45 unequal: No Solution Exploring Operation: 1+47=48, Resulting Numbers: [48] 48,45 unequal: No Solution Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 1*47=47, Resulting Numbers: [47] 47,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[20, 66], Operations: ['70-69=1', '67-1=66'] Exploring Operation: 66-20=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 20*66=1320, Resulting Numbers: [1320] 1320,45 unequal: No Solution Exploring Operation: 20+66=86, Resulting Numbers: [86] 86,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 45:[67, 19], Operations: ['70-69=1', '20-1=19'] Exploring Operation: 67+19=86, Resulting Numbers: [86] 86,45 unequal: No Solution Exploring Operation: 67*19=1273, Resulting Numbers: [1273] 1273,45 unequal: No Solution Exploring Operation: 67-19=48, Resulting Numbers: [48] 48,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 45:[20, 67], Operations: ['70-69=1', '67/1=67'] Exploring Operation: 20+67=87, Resulting Numbers: [87] 87,45 unequal: No Solution Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,45 unequal: No Solution Exploring Operation: 20*67=1340, Resulting Numbers: [1340] 1340,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 45:[20, 67], Operations: ['70-69=1', '67*1=67'] Exploring Operation: 20*67=1340, Resulting Numbers: [1340] 1340,45 unequal: No Solution Exploring Operation: 20+67=87, Resulting Numbers: [87] 87,45 unequal: No Solution Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 45:[69, 20, 3], Operations: ['70-67=3'] Exploring Operation: 69-3=66, Resulting Numbers: [20, 66] Generated Node #0,2,0: 45:[20, 66] Operation: 69-3=66 Exploring Operation: 69-20=49, Resulting Numbers: [3, 49] Generated Node #0,2,1: 45:[3, 49] Operation: 69-20=49 Exploring Operation: 69+3=72, Resulting Numbers: [20, 72] Generated Node #0,2,2: 45:[20, 72] Operation: 69+3=72 Exploring Operation: 69/3=23, Resulting Numbers: [20, 23] Generated Node #0,2,3: 45:[20, 23] Operation: 69/3=23 Exploring Operation: 20-3=17, Resulting Numbers: [69, 17] Generated Node #0,2,4: 45:[69, 17] Operation: 20-3=17 Moving to Node #0,3 Current State: 45:[70, 20, 2], Operations: ['69-67=2'] Exploring Operation: 70-2=68, Resulting Numbers: [20, 68] Generated Node #0,3,0: 45:[20, 68] Operation: 70-2=68 Exploring Operation: 70-20=50, Resulting Numbers: [2, 50] Generated Node #0,3,1: 45:[2, 50] Operation: 70-20=50 Exploring Operation: 20-2=18, Resulting Numbers: [70, 18] Generated Node #0,3,2: 45:[70, 18] Operation: 20-2=18 Exploring Operation: 70/2=35, Resulting Numbers: [20, 35] Generated Node #0,3,3: 45:[20, 35] Operation: 70/2=35 Exploring Operation: 20/2=10, Resulting Numbers: [70, 10] Generated Node #0,3,4: 45:[70, 10] Operation: 20/2=10 Moving to Node #0,0 Current State: 45:[67, 69, 50], Operations: ['70-20=50'] Exploring Operation: 67+69=136, Resulting Numbers: [50, 136] Generated Node #0,0,0: 45:[50, 136] Operation: 67+69=136 Exploring Operation: 69-67=2, Resulting Numbers: [50, 2] Generated Node #0,0,1: 45:[50, 2] Operation: 69-67=2 Exploring Operation: 69-50=19, Resulting Numbers: [67, 19] Generated Node #0,0,2: 45:[67, 19] Operation: 69-50=19 Exploring Operation: 67+50=117, Resulting Numbers: [69, 117] Generated Node #0,0,3: 45:[69, 117] Operation: 67+50=117 Exploring Operation: 67-50=17, Resulting Numbers: [69, 17] Generated Node #0,0,4: 45:[69, 17] Operation: 67-50=17 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 45:[50, 2], Operations: ['70-20=50', '69-67=2'] Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,45 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,45 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,45 unequal: No Solution Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 45:[67, 19], Operations: ['70-20=50', '69-50=19'] Exploring Operation: 67*19=1273, Resulting Numbers: [1273] 1273,45 unequal: No Solution Exploring Operation: 67+19=86, Resulting Numbers: [86] 86,45 unequal: No Solution Exploring Operation: 67-19=48, Resulting Numbers: [48] 48,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 45:[69, 17], Operations: ['70-20=50', '67-50=17'] Exploring Operation: 69*17=1173, Resulting Numbers: [1173] 1173,45 unequal: No Solution Exploring Operation: 69+17=86, Resulting Numbers: [86] 86,45 unequal: No Solution Exploring Operation: 69-17=52, Resulting Numbers: [52] 52,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[50, 136], Operations: ['70-20=50', '67+69=136'] Exploring Operation: 50+136=186, Resulting Numbers: [186] 186,45 unequal: No Solution Exploring Operation: 136-50=86, Resulting Numbers: [86] 86,45 unequal: No Solution Exploring Operation: 50*136=6800, Resulting Numbers: [6800] 6800,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 45:[69, 117], Operations: ['70-20=50', '67+50=117'] Exploring Operation: 69*117=8073, Resulting Numbers: [8073] 8073,45 unequal: No Solution Exploring Operation: 117-69=48, Resulting Numbers: [48] 48,45 unequal: No Solution Exploring Operation: 69+117=186, Resulting Numbers: [186] 186,45 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: 45:[70, 69, 47], Operations: ['67-20=47'] Exploring Operation: 70-47=23, Resulting Numbers: [69, 23] Generated Node #0,4,0: 45:[69, 23] Operation: 70-47=23 Exploring Operation: 69-47=22, Resulting Numbers: [70, 22] Generated Node #0,4,1: 45:[70, 22] Operation: 69-47=22 Exploring Operation: 70-69=1, Resulting Numbers: [47, 1] Generated Node #0,4,2: 45:[47, 1] Operation: 70-69=1 Exploring Operation: 70+69=139, Resulting Numbers: [47, 139] Generated Node #0,4,3: 45:[47, 139] Operation: 70+69=139 Exploring Operation: 70+47=117, Resulting Numbers: [69, 117] Generated Node #0,4,4: 45:[69, 117] Operation: 70+47=117 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 45:[47, 1], Operations: ['67-20=47', '70-69=1'] Exploring Operation: 47+1=48, Resulting Numbers: [48] 48,45 unequal: No Solution Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 47*1=47, Resulting Numbers: [47] 47,45 unequal: No Solution Exploring Operation: 47/1=47, Resulting Numbers: [47] 47,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 45:[69, 23], Operations: ['67-20=47', '70-47=23'] Exploring Operation: 69-23=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 69/23=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 69*23=1587, Resulting Numbers: [1587] 1587,45 unequal: No Solution Exploring Operation: 69+23=92, Resulting Numbers: [92] 92,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 45:[70, 22], Operations: ['67-20=47', '69-47=22'] Exploring Operation: 70-22=48, Resulting Numbers: [48] 48,45 unequal: No Solution Exploring Operation: 70*22=1540, Resulting Numbers: [1540] 1540,45 unequal: No Solution Exploring Operation: 70+22=92, Resulting Numbers: [92] 92,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 45:[47, 139], Operations: ['67-20=47', '70+69=139'] Exploring Operation: 47+139=186, Resulting Numbers: [186] 186,45 unequal: No Solution Exploring Operation: 139-47=92, Resulting Numbers: [92] 92,45 unequal: No Solution Exploring Operation: 47*139=6533, Resulting Numbers: [6533] 6533,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 45:[69, 117], Operations: ['67-20=47', '70+47=117'] Exploring Operation: 117-69=48, Resulting Numbers: [48] 48,45 unequal: No Solution Exploring Operation: 69+117=186, Resulting Numbers: [186] 186,45 unequal: No Solution Exploring Operation: 69*117=8073, Resulting Numbers: [8073] 8073,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 45:[3, 49], Operations: ['70-67=3', '69-20=49'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 3*49=147, Resulting Numbers: [147] 147,45 unequal: No Solution Exploring Operation: 3+49=52, Resulting Numbers: [52] 52,45 unequal: No Solution Moving to Node #0,3,1 Current State: 45:[2, 50], Operations: ['69-67=2', '70-20=50'] Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,45 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,45 unequal: No Solution Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,45 unequal: No Solution Exploring Operation: 2*50=100, Resulting Numbers: [100] 100,45 unequal: No Solution Moving to Node #0,2,3 Current State: 45:[20, 23], Operations: ['70-67=3', '69/3=23'] Exploring Operation: 20*23=460, Resulting Numbers: [460] 460,45 unequal: No Solution Exploring Operation: 20+23=43, Resulting Numbers: [43] 43,45 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,45 unequal: No Solution Moving to Node #0,3,3 Current State: 45:[20, 35], Operations: ['69-67=2', '70/2=35'] Exploring Operation: 20*35=700, Resulting Numbers: [700] 700,45 unequal: No Solution Exploring Operation: 20+35=55, Resulting Numbers: [55] 55,45 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,45 unequal: No Solution Moving to Node #0,2,0 Current State: 45:[20, 66], Operations: ['70-67=3', '69-3=66'] Exploring Operation: 20+66=86, Resulting Numbers: [86] 86,45 unequal: No Solution Exploring Operation: 20*66=1320, Resulting Numbers: [1320] 1320,45 unequal: No Solution Exploring Operation: 66-20=46, Resulting Numbers: [46] 46,45 unequal: No Solution Moving to Node #0,2,4 Current State: 45:[69, 17], Operations: ['70-67=3', '20-3=17'] Exploring Operation: 69-17=52, Resulting Numbers: [52] 52,45 unequal: No Solution Exploring Operation: 69+17=86, Resulting Numbers: [86] 86,45 unequal: No Solution Exploring Operation: 69*17=1173, Resulting Numbers: [1173] 1173,45 unequal: No Solution Moving to Node #0,3,4 Current State: 45:[70, 10], Operations: ['69-67=2', '20/2=10'] Exploring Operation: 70+10=80, Resulting Numbers: [80] 80,45 unequal: No Solution Exploring Operation: 70-10=60, Resulting Numbers: [60] 60,45 unequal: No Solution Exploring Operation: 70/10=7, Resulting Numbers: [7] 7,45 unequal: No Solution Exploring Operation: 70*10=700, Resulting Numbers: [700] 700,45 unequal: No Solution Moving to Node #0,3,0 Current State: 45:[20, 68], Operations: ['69-67=2', '70-2=68'] Exploring Operation: 68-20=48, Resulting Numbers: [48] 48,45 unequal: No Solution Exploring Operation: 20+68=88, Resulting Numbers: [88] 88,45 unequal: No Solution Exploring Operation: 20*68=1360, Resulting Numbers: [1360] 1360,45 unequal: No Solution Moving to Node #0,3,2 Current State: 45:[70, 18], Operations: ['69-67=2', '20-2=18'] Exploring Operation: 70*18=1260, Resulting Numbers: [1260] 1260,45 unequal: No Solution Exploring Operation: 70+18=88, Resulting Numbers: [88] 88,45 unequal: No Solution Exploring Operation: 70-18=52, Resulting Numbers: [52] 52,45 unequal: No Solution Moving to Node #0,2,2 Current State: 45:[20, 72], Operations: ['70-67=3', '69+3=72'] Exploring Operation: 20*72=1440, Resulting Numbers: [1440] 1440,45 unequal: No Solution Exploring Operation: 72-20=52, Resulting Numbers: [52] 52,45 unequal: No Solution Exploring Operation: 20+72=92, Resulting Numbers: [92] 92,45 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 85, 2, 47, 27 ]
69
[ "85-27=58", "2*58=116", "116-47=69" ]
Current State: 69:[85, 2, 47, 27], Operations: [] Exploring Operation: 85-27=58, Resulting Numbers: [2, 47, 58] Generated Node #2: [2, 47, 58] from Operation: 85-27=58 Current State: 69:[2, 47, 58], Operations: ['85-27=58'] Exploring Operation: 2*58=116, Resulting Numbers: [47, 116] Generated Node #3: [47, 116] from Operation: 2*58=116 Current State: 69:[47, 116], Operations: ['85-27=58', '2*58=116'] Exploring Operation: 116-47=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[85, 2, 47, 27], Operations: [] Exploring Operation: 85-27=58, Resulting Numbers: [2, 47, 58] Generated Node #0,0: 69:[2, 47, 58] Operation: 85-27=58 Exploring Operation: 47+27=74, Resulting Numbers: [85, 2, 74] Generated Node #0,1: 69:[85, 2, 74] Operation: 47+27=74 Exploring Operation: 85-47=38, Resulting Numbers: [2, 27, 38] Generated Node #0,2: 69:[2, 27, 38] Operation: 85-47=38 Exploring Operation: 47-27=20, Resulting Numbers: [85, 2, 20] Generated Node #0,3: 69:[85, 2, 20] Operation: 47-27=20 Moving to Node #0,2 Current State: 69:[2, 27, 38], Operations: ['85-47=38'] Exploring Operation: 2*38=76, Resulting Numbers: [27, 76] Generated Node #0,2,0: 69:[27, 76] Operation: 2*38=76 Exploring Operation: 38/2=19, Resulting Numbers: [27, 19] Generated Node #0,2,1: 69:[27, 19] Operation: 38/2=19 Exploring Operation: 38-27=11, Resulting Numbers: [2, 11] Generated Node #0,2,2: 69:[2, 11] Operation: 38-27=11 Exploring Operation: 27+38=65, Resulting Numbers: [2, 65] Generated Node #0,2,3: 69:[2, 65] Operation: 27+38=65 Moving to Node #0,3 Current State: 69:[85, 2, 20], Operations: ['47-27=20'] Exploring Operation: 2+20=22, Resulting Numbers: [85, 22] Generated Node #0,3,0: 69:[85, 22] Operation: 2+20=22 Exploring Operation: 85-2=83, Resulting Numbers: [20, 83] Generated Node #0,3,1: 69:[20, 83] Operation: 85-2=83 Exploring Operation: 85+2=87, Resulting Numbers: [20, 87] Generated Node #0,3,2: 69:[20, 87] Operation: 85+2=87 Exploring Operation: 85-20=65, Resulting Numbers: [2, 65] Generated Node #0,3,3: 69:[2, 65] Operation: 85-20=65 Moving to Node #0,1 Current State: 69:[85, 2, 74], Operations: ['47+27=74'] Exploring Operation: 85+2=87, Resulting Numbers: [74, 87] Generated Node #0,1,0: 69:[74, 87] Operation: 85+2=87 Exploring Operation: 74-2=72, Resulting Numbers: [85, 72] Generated Node #0,1,1: 69:[85, 72] Operation: 74-2=72 Exploring Operation: 85-2=83, Resulting Numbers: [74, 83] Generated Node #0,1,2: 69:[74, 83] Operation: 85-2=83 Exploring Operation: 85-74=11, Resulting Numbers: [2, 11] Generated Node #0,1,3: 69:[2, 11] Operation: 85-74=11 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 69:[2, 11], Operations: ['47+27=74', '85-74=11'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 69:[85, 72], Operations: ['47+27=74', '74-2=72'] Exploring Operation: 85+72=157, Resulting Numbers: [157] 157,69 unequal: No Solution Exploring Operation: 85-72=13, Resulting Numbers: [13] 13,69 unequal: No Solution Exploring Operation: 85*72=6120, Resulting Numbers: [6120] 6120,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 69:[74, 83], Operations: ['47+27=74', '85-2=83'] Exploring Operation: 74+83=157, Resulting Numbers: [157] 157,69 unequal: No Solution Exploring Operation: 83-74=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 74*83=6142, Resulting Numbers: [6142] 6142,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 69:[74, 87], Operations: ['47+27=74', '85+2=87'] Exploring Operation: 74+87=161, Resulting Numbers: [161] 161,69 unequal: No Solution Exploring Operation: 74*87=6438, Resulting Numbers: [6438] 6438,69 unequal: No Solution Exploring Operation: 87-74=13, Resulting Numbers: [13] 13,69 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: 69:[2, 47, 58], Operations: ['85-27=58'] Exploring Operation: 2+47=49, Resulting Numbers: [58, 49] Generated Node #0,0,0: 69:[58, 49] Operation: 2+47=49 Exploring Operation: 58/2=29, Resulting Numbers: [47, 29] Generated Node #0,0,1: 69:[47, 29] Operation: 58/2=29 Exploring Operation: 58-47=11, Resulting Numbers: [2, 11] Generated Node #0,0,2: 69:[2, 11] Operation: 58-47=11 Exploring Operation: 2+58=60, Resulting Numbers: [47, 60] Generated Node #0,0,3: 69:[47, 60] Operation: 2+58=60 Moving to Node #0,2,3 Current State: 69:[2, 65], Operations: ['85-47=38', '27+38=65'] Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,69 unequal: No Solution Exploring Operation: 2*65=130, Resulting Numbers: [130] 130,69 unequal: No Solution Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,69 unequal: No Solution Moving to Node #0,3,3 Current State: 69:[2, 65], Operations: ['47-27=20', '85-20=65'] Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,69 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,69 unequal: No Solution Exploring Operation: 2*65=130, Resulting Numbers: [130] 130,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[27, 19], Operations: ['85-47=38', '38/2=19'] Exploring Operation: 27*19=513, Resulting Numbers: [513] 513,69 unequal: No Solution Exploring Operation: 27+19=46, Resulting Numbers: [46] 46,69 unequal: No Solution Exploring Operation: 27-19=8, Resulting Numbers: [8] 8,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[2, 11], Operations: ['85-47=38', '38-27=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,69 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[2, 11], Operations: ['85-27=58', '58-47=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,69 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,69 unequal: No Solution Moving to Node #0,2,0 Current State: 69:[27, 76], Operations: ['85-47=38', '2*38=76'] Exploring Operation: 76-27=49, Resulting Numbers: [49] 49,69 unequal: No Solution Exploring Operation: 27+76=103, Resulting Numbers: [103] 103,69 unequal: No Solution Exploring Operation: 27*76=2052, Resulting Numbers: [2052] 2052,69 unequal: No Solution Moving to Node #0,3,1 Current State: 69:[20, 83], Operations: ['47-27=20', '85-2=83'] Exploring Operation: 20+83=103, Resulting Numbers: [103] 103,69 unequal: No Solution Exploring Operation: 83-20=63, Resulting Numbers: [63] 63,69 unequal: No Solution Exploring Operation: 20*83=1660, Resulting Numbers: [1660] 1660,69 unequal: No Solution Moving to Node #0,3,0 Current State: 69:[85, 22], Operations: ['47-27=20', '2+20=22'] Exploring Operation: 85+22=107, Resulting Numbers: [107] 107,69 unequal: No Solution Exploring Operation: 85-22=63, Resulting Numbers: [63] 63,69 unequal: No Solution Exploring Operation: 85*22=1870, Resulting Numbers: [1870] 1870,69 unequal: No Solution Moving to Node #0,3,2 Current State: 69:[20, 87], Operations: ['47-27=20', '85+2=87'] Exploring Operation: 87-20=67, Resulting Numbers: [67] 67,69 unequal: No Solution Exploring Operation: 20+87=107, Resulting Numbers: [107] 107,69 unequal: No Solution Exploring Operation: 20*87=1740, Resulting Numbers: [1740] 1740,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[47, 29], Operations: ['85-27=58', '58/2=29'] Exploring Operation: 47-29=18, Resulting Numbers: [18] 18,69 unequal: No Solution Exploring Operation: 47+29=76, Resulting Numbers: [76] 76,69 unequal: No Solution Exploring Operation: 47*29=1363, Resulting Numbers: [1363] 1363,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[58, 49], Operations: ['85-27=58', '2+47=49'] Exploring Operation: 58-49=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 58*49=2842, Resulting Numbers: [2842] 2842,69 unequal: No Solution Exploring Operation: 58+49=107, Resulting Numbers: [107] 107,69 unequal: No Solution Moving to Node #0,0,3 Current State: 69:[47, 60], Operations: ['85-27=58', '2+58=60'] Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,69 unequal: No Solution Exploring Operation: 47+60=107, Resulting Numbers: [107] 107,69 unequal: No Solution Exploring Operation: 47*60=2820, Resulting Numbers: [2820] 2820,69 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 91, 15, 76, 39 ]
40
[ "91-15=76", "76/76=1", "39+1=40" ]
Current State: 40:[91, 15, 76, 39], Operations: [] Exploring Operation: 91-15=76, Resulting Numbers: [76, 39, 76] Generated Node #2: [76, 39, 76] from Operation: 91-15=76 Current State: 40:[76, 39, 76], Operations: ['91-15=76'] Exploring Operation: 76/76=1, Resulting Numbers: [39, 1] Generated Node #3: [39, 1] from Operation: 76/76=1 Current State: 40:[39, 1], Operations: ['91-15=76', '76/76=1'] Exploring Operation: 39+1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[91, 15, 76, 39], Operations: [] Exploring Operation: 91-39=52, Resulting Numbers: [15, 76, 52] Generated Node #0,0: 40:[15, 76, 52] Operation: 91-39=52 Exploring Operation: 91-15=76, Resulting Numbers: [76, 39, 76] Generated Node #0,1: 40:[76, 39, 76] Operation: 91-15=76 Exploring Operation: 91-76=15, Resulting Numbers: [15, 39, 15] Generated Node #0,2: 40:[15, 39, 15] Operation: 91-76=15 Exploring Operation: 76-39=37, Resulting Numbers: [91, 15, 37] Generated Node #0,3: 40:[91, 15, 37] Operation: 76-39=37 Moving to Node #0,2 Current State: 40:[15, 39, 15], Operations: ['91-76=15'] Exploring Operation: 39-15=24, Resulting Numbers: [15, 24] Generated Node #0,2,0: 40:[15, 24] Operation: 39-15=24 Exploring Operation: 15-15=0, Resulting Numbers: [39, 0] Generated Node #0,2,1: 40:[39, 0] Operation: 15-15=0 Exploring Operation: 39-15=24, Resulting Numbers: [15, 24] Generated Node #0,2,2: 40:[15, 24] Operation: 39-15=24 Exploring Operation: 15/15=1, Resulting Numbers: [39, 1] Generated Node #0,2,3: 40:[39, 1] Operation: 15/15=1 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 40:[39, 1], Operations: ['91-76=15', '15/15=1'] Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,40 unequal: No Solution Exploring Operation: 39+1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[91, 15, 76, 39], Operations: [] Exploring Operation: 91-76=15, Resulting Numbers: [15, 39, 15] Generated Node #0,2: 40:[15, 39, 15] Operation: 91-76=15 Moving to Node #0,2 Current State: 40:[15, 39, 15], Operations: ['91-76=15'] Exploring Operation: 15/15=1, Resulting Numbers: [39, 1] Generated Node #0,2,3: 40:[39, 1] Operation: 15/15=1 Moving to Node #0,2,3 Current State: 40:[39, 1], Operations: ['91-76=15', '15/15=1'] Exploring Operation: 39+1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 77, 2, 74, 93 ]
88
[ "77+2=79", "74+93=167", "167-79=88" ]
Current State: 88:[77, 2, 74, 93], Operations: [] Exploring Operation: 77+2=79, Resulting Numbers: [74, 93, 79] Generated Node #2: [74, 93, 79] from Operation: 77+2=79 Current State: 88:[74, 93, 79], Operations: ['77+2=79'] Exploring Operation: 74+93=167, Resulting Numbers: [79, 167] Generated Node #3: [79, 167] from Operation: 74+93=167 Current State: 88:[79, 167], Operations: ['77+2=79', '74+93=167'] Exploring Operation: 167-79=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[77, 2, 74, 93], Operations: [] Exploring Operation: 77-74=3, Resulting Numbers: [2, 93, 3] Generated Node #0,0: 88:[2, 93, 3] Operation: 77-74=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[2, 93, 3], Operations: ['77-74=3'] Exploring Operation: 93-3=90, Resulting Numbers: [2, 90] Generated Node #0,0,0: 88:[2, 90] Operation: 93-3=90 Moving to Node #0,0,0 Current State: 88:[2, 90], Operations: ['77-74=3', '93-3=90'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[77, 2, 74, 93], Operations: [] Exploring Operation: 77-74=3, Resulting Numbers: [2, 93, 3] Generated Node #0,0: 88:[2, 93, 3] Operation: 77-74=3 Moving to Node #0,0 Current State: 88:[2, 93, 3], Operations: ['77-74=3'] Exploring Operation: 93-3=90, Resulting Numbers: [2, 90] Generated Node #0,0,0: 88:[2, 90] Operation: 93-3=90 Moving to Node #0,0,0 Current State: 88:[2, 90], Operations: ['77-74=3', '93-3=90'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 70, 26, 53, 57 ]
55
[ "70-57=13", "26/13=2", "53+2=55" ]
Current State: 55:[70, 26, 53, 57], Operations: [] Exploring Operation: 70-57=13, Resulting Numbers: [26, 53, 13] Generated Node #2: [26, 53, 13] from Operation: 70-57=13 Current State: 55:[26, 53, 13], Operations: ['70-57=13'] Exploring Operation: 26/13=2, Resulting Numbers: [53, 2] Generated Node #3: [53, 2] from Operation: 26/13=2 Current State: 55:[53, 2], Operations: ['70-57=13', '26/13=2'] Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[70, 26, 53, 57], Operations: [] Exploring Operation: 70-53=17, Resulting Numbers: [26, 57, 17] Generated Node #0,0: 55:[26, 57, 17] Operation: 70-53=17 Exploring Operation: 57-53=4, Resulting Numbers: [70, 26, 4] Generated Node #0,1: 55:[70, 26, 4] Operation: 57-53=4 Exploring Operation: 70-57=13, Resulting Numbers: [26, 53, 13] Generated Node #0,2: 55:[26, 53, 13] Operation: 70-57=13 Exploring Operation: 70-26=44, Resulting Numbers: [53, 57, 44] Generated Node #0,3: 55:[53, 57, 44] Operation: 70-26=44 Moving to Node #0,3 Current State: 55:[53, 57, 44], Operations: ['70-26=44'] Exploring Operation: 57-44=13, Resulting Numbers: [53, 13] Generated Node #0,3,0: 55:[53, 13] Operation: 57-44=13 Exploring Operation: 57-53=4, Resulting Numbers: [44, 4] Generated Node #0,3,1: 55:[44, 4] Operation: 57-53=4 Exploring Operation: 53-44=9, Resulting Numbers: [57, 9] Generated Node #0,3,2: 55:[57, 9] Operation: 53-44=9 Exploring Operation: 53+44=97, Resulting Numbers: [57, 97] Generated Node #0,3,3: 55:[57, 97] Operation: 53+44=97 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 55:[53, 13], Operations: ['70-26=44', '57-44=13'] Exploring Operation: 53+13=66, Resulting Numbers: [66] 66,55 unequal: No Solution Exploring Operation: 53-13=40, Resulting Numbers: [40] 40,55 unequal: No Solution Exploring Operation: 53*13=689, Resulting Numbers: [689] 689,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 55:[57, 9], Operations: ['70-26=44', '53-44=9'] Exploring Operation: 57-9=48, Resulting Numbers: [48] 48,55 unequal: No Solution Exploring Operation: 57*9=513, Resulting Numbers: [513] 513,55 unequal: No Solution Exploring Operation: 57+9=66, Resulting Numbers: [66] 66,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 55:[44, 4], Operations: ['70-26=44', '57-53=4'] Exploring Operation: 44*4=176, Resulting Numbers: [176] 176,55 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,55 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 44+4=48, Resulting Numbers: [48] 48,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 55:[57, 97], Operations: ['70-26=44', '53+44=97'] Exploring Operation: 97-57=40, Resulting Numbers: [40] 40,55 unequal: No Solution Exploring Operation: 57*97=5529, Resulting Numbers: [5529] 5529,55 unequal: No Solution Exploring Operation: 57+97=154, Resulting Numbers: [154] 154,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 55:[26, 53, 13], Operations: ['70-57=13'] Exploring Operation: 26/13=2, Resulting Numbers: [53, 2] Generated Node #0,2,0: 55:[53, 2] Operation: 26/13=2 Exploring Operation: 26+13=39, Resulting Numbers: [53, 39] Generated Node #0,2,1: 55:[53, 39] Operation: 26+13=39 Exploring Operation: 26-13=13, Resulting Numbers: [53, 13] Generated Node #0,2,2: 55:[53, 13] Operation: 26-13=13 Exploring Operation: 53-26=27, Resulting Numbers: [13, 27] Generated Node #0,2,3: 55:[13, 27] Operation: 53-26=27 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 55:[53, 13], Operations: ['70-57=13', '26-13=13'] Exploring Operation: 53+13=66, Resulting Numbers: [66] 66,55 unequal: No Solution Exploring Operation: 53-13=40, Resulting Numbers: [40] 40,55 unequal: No Solution Exploring Operation: 53*13=689, Resulting Numbers: [689] 689,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 55:[53, 2], Operations: ['70-57=13', '26/13=2'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,55 unequal: No Solution Exploring Operation: 53*2=106, Resulting Numbers: [106] 106,55 unequal: No Solution Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[70, 26, 53, 57], Operations: [] Exploring Operation: 70-57=13, Resulting Numbers: [26, 53, 13] Generated Node #0,2: 55:[26, 53, 13] Operation: 70-57=13 Moving to Node #0,2 Current State: 55:[26, 53, 13], Operations: ['70-57=13'] Exploring Operation: 26/13=2, Resulting Numbers: [53, 2] Generated Node #0,2,0: 55:[53, 2] Operation: 26/13=2 Moving to Node #0,2,0 Current State: 55:[53, 2], Operations: ['70-57=13', '26/13=2'] Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
sum_heuristic
[ 75, 77, 86, 97 ]
54
[ "77-75=2", "86/2=43", "97-43=54" ]
Current State: 54:[75, 77, 86, 97], Operations: [] Exploring Operation: 77-75=2, Resulting Numbers: [86, 97, 2] Generated Node #2: [86, 97, 2] from Operation: 77-75=2 Current State: 54:[86, 97, 2], Operations: ['77-75=2'] Exploring Operation: 86/2=43, Resulting Numbers: [97, 43] Generated Node #3: [97, 43] from Operation: 86/2=43 Current State: 54:[97, 43], Operations: ['77-75=2', '86/2=43'] Exploring Operation: 97-43=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[75, 77, 86, 97], Operations: [] Exploring Operation: 97-77=20, Resulting Numbers: [75, 86, 20] Generated Node #0,0: 54:[75, 86, 20] Operation: 97-77=20 Exploring Operation: 97-86=11, Resulting Numbers: [75, 77, 11] Generated Node #0,1: 54:[75, 77, 11] Operation: 97-86=11 Exploring Operation: 86-75=11, Resulting Numbers: [77, 97, 11] Generated Node #0,2: 54:[77, 97, 11] Operation: 86-75=11 Exploring Operation: 97-75=22, Resulting Numbers: [77, 86, 22] Generated Node #0,3: 54:[77, 86, 22] Operation: 97-75=22 Exploring Operation: 86-77=9, Resulting Numbers: [75, 97, 9] Generated Node #0,4: 54:[75, 97, 9] Operation: 86-77=9 Moving to Node #0,1 Current State: 54:[75, 77, 11], Operations: ['97-86=11'] Exploring Operation: 77-11=66, Resulting Numbers: [75, 66] Generated Node #0,1,0: 54:[75, 66] Operation: 77-11=66 Exploring Operation: 77/11=7, Resulting Numbers: [75, 7] Generated Node #0,1,1: 54:[75, 7] Operation: 77/11=7 Exploring Operation: 77-75=2, Resulting Numbers: [11, 2] Generated Node #0,1,2: 54:[11, 2] Operation: 77-75=2 Exploring Operation: 75-11=64, Resulting Numbers: [77, 64] Generated Node #0,1,3: 54:[77, 64] Operation: 75-11=64 Exploring Operation: 75+11=86, Resulting Numbers: [77, 86] Generated Node #0,1,4: 54:[77, 86] Operation: 75+11=86 Moving to Node #0,0 Current State: 54:[75, 86, 20], Operations: ['97-77=20'] Exploring Operation: 86-20=66, Resulting Numbers: [75, 66] Generated Node #0,0,0: 54:[75, 66] Operation: 86-20=66 Exploring Operation: 75-20=55, Resulting Numbers: [86, 55] Generated Node #0,0,1: 54:[86, 55] Operation: 75-20=55 Exploring Operation: 75+20=95, Resulting Numbers: [86, 95] Generated Node #0,0,2: 54:[86, 95] Operation: 75+20=95 Exploring Operation: 86+20=106, Resulting Numbers: [75, 106] Generated Node #0,0,3: 54:[75, 106] Operation: 86+20=106 Exploring Operation: 86-75=11, Resulting Numbers: [20, 11] Generated Node #0,0,4: 54:[20, 11] Operation: 86-75=11 Moving to Node #0,3 Current State: 54:[77, 86, 22], Operations: ['97-75=22'] Exploring Operation: 86-77=9, Resulting Numbers: [22, 9] Generated Node #0,3,0: 54:[22, 9] Operation: 86-77=9 Exploring Operation: 86-22=64, Resulting Numbers: [77, 64] Generated Node #0,3,1: 54:[77, 64] Operation: 86-22=64 Exploring Operation: 77+22=99, Resulting Numbers: [86, 99] Generated Node #0,3,2: 54:[86, 99] Operation: 77+22=99 Exploring Operation: 77-22=55, Resulting Numbers: [86, 55] Generated Node #0,3,3: 54:[86, 55] Operation: 77-22=55 Exploring Operation: 86+22=108, Resulting Numbers: [77, 108] Generated Node #0,3,4: 54:[77, 108] Operation: 86+22=108 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 54:[22, 9], Operations: ['97-75=22', '86-77=9'] Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,54 unequal: No Solution Exploring Operation: 22*9=198, Resulting Numbers: [198] 198,54 unequal: No Solution Exploring Operation: 22+9=31, Resulting Numbers: [31] 31,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 54:[77, 64], Operations: ['97-75=22', '86-22=64'] Exploring Operation: 77*64=4928, Resulting Numbers: [4928] 4928,54 unequal: No Solution Exploring Operation: 77-64=13, Resulting Numbers: [13] 13,54 unequal: No Solution Exploring Operation: 77+64=141, Resulting Numbers: [141] 141,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 54:[86, 55], Operations: ['97-75=22', '77-22=55'] Exploring Operation: 86-55=31, Resulting Numbers: [31] 31,54 unequal: No Solution Exploring Operation: 86+55=141, Resulting Numbers: [141] 141,54 unequal: No Solution Exploring Operation: 86*55=4730, Resulting Numbers: [4730] 4730,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 54:[86, 99], Operations: ['97-75=22', '77+22=99'] Exploring Operation: 86*99=8514, Resulting Numbers: [8514] 8514,54 unequal: No Solution Exploring Operation: 99-86=13, Resulting Numbers: [13] 13,54 unequal: No Solution Exploring Operation: 86+99=185, Resulting Numbers: [185] 185,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 54:[77, 108], Operations: ['97-75=22', '86+22=108'] Exploring Operation: 77*108=8316, Resulting Numbers: [8316] 8316,54 unequal: No Solution Exploring Operation: 108-77=31, Resulting Numbers: [31] 31,54 unequal: No Solution Exploring Operation: 77+108=185, Resulting Numbers: [185] 185,54 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: 54:[75, 97, 9], Operations: ['86-77=9'] Exploring Operation: 75-9=66, Resulting Numbers: [97, 66] Generated Node #0,4,0: 54:[97, 66] Operation: 75-9=66 Exploring Operation: 97-75=22, Resulting Numbers: [9, 22] Generated Node #0,4,1: 54:[9, 22] Operation: 97-75=22 Exploring Operation: 97-9=88, Resulting Numbers: [75, 88] Generated Node #0,4,2: 54:[75, 88] Operation: 97-9=88 Exploring Operation: 75+9=84, Resulting Numbers: [97, 84] Generated Node #0,4,3: 54:[97, 84] Operation: 75+9=84 Exploring Operation: 97+9=106, Resulting Numbers: [75, 106] Generated Node #0,4,4: 54:[75, 106] Operation: 97+9=106 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 54:[9, 22], Operations: ['86-77=9', '97-75=22'] Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,54 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,54 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 54:[97, 66], Operations: ['86-77=9', '75-9=66'] Exploring Operation: 97-66=31, Resulting Numbers: [31] 31,54 unequal: No Solution Exploring Operation: 97*66=6402, Resulting Numbers: [6402] 6402,54 unequal: No Solution Exploring Operation: 97+66=163, Resulting Numbers: [163] 163,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 54:[75, 88], Operations: ['86-77=9', '97-9=88'] Exploring Operation: 75+88=163, Resulting Numbers: [163] 163,54 unequal: No Solution Exploring Operation: 88-75=13, Resulting Numbers: [13] 13,54 unequal: No Solution Exploring Operation: 75*88=6600, Resulting Numbers: [6600] 6600,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 54:[97, 84], Operations: ['86-77=9', '75+9=84'] Exploring Operation: 97*84=8148, Resulting Numbers: [8148] 8148,54 unequal: No Solution Exploring Operation: 97-84=13, Resulting Numbers: [13] 13,54 unequal: No Solution Exploring Operation: 97+84=181, Resulting Numbers: [181] 181,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 54:[75, 106], Operations: ['86-77=9', '97+9=106'] Exploring Operation: 75+106=181, Resulting Numbers: [181] 181,54 unequal: No Solution Exploring Operation: 106-75=31, Resulting Numbers: [31] 31,54 unequal: No Solution Exploring Operation: 75*106=7950, Resulting Numbers: [7950] 7950,54 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: 54:[77, 97, 11], Operations: ['86-75=11'] Exploring Operation: 77/11=7, Resulting Numbers: [97, 7] Generated Node #0,2,0: 54:[97, 7] Operation: 77/11=7 Exploring Operation: 97-77=20, Resulting Numbers: [11, 20] Generated Node #0,2,1: 54:[11, 20] Operation: 97-77=20 Exploring Operation: 77-11=66, Resulting Numbers: [97, 66] Generated Node #0,2,2: 54:[97, 66] Operation: 77-11=66 Exploring Operation: 97-11=86, Resulting Numbers: [77, 86] Generated Node #0,2,3: 54:[77, 86] Operation: 97-11=86 Exploring Operation: 77+11=88, Resulting Numbers: [97, 88] Generated Node #0,2,4: 54:[97, 88] Operation: 77+11=88 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 54:[11, 20], Operations: ['86-75=11', '97-77=20'] Exploring Operation: 11*20=220, Resulting Numbers: [220] 220,54 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,54 unequal: No Solution Exploring Operation: 11+20=31, Resulting Numbers: [31] 31,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 54:[97, 7], Operations: ['86-75=11', '77/11=7'] Exploring Operation: 97-7=90, Resulting Numbers: [90] 90,54 unequal: No Solution Exploring Operation: 97+7=104, Resulting Numbers: [104] 104,54 unequal: No Solution Exploring Operation: 97*7=679, Resulting Numbers: [679] 679,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 54:[97, 66], Operations: ['86-75=11', '77-11=66'] Exploring Operation: 97-66=31, Resulting Numbers: [31] 31,54 unequal: No Solution Exploring Operation: 97+66=163, Resulting Numbers: [163] 163,54 unequal: No Solution Exploring Operation: 97*66=6402, Resulting Numbers: [6402] 6402,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 54:[77, 86], Operations: ['86-75=11', '97-11=86'] Exploring Operation: 77+86=163, Resulting Numbers: [163] 163,54 unequal: No Solution Exploring Operation: 86-77=9, Resulting Numbers: [9] 9,54 unequal: No Solution Exploring Operation: 77*86=6622, Resulting Numbers: [6622] 6622,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 54:[97, 88], Operations: ['86-75=11', '77+11=88'] Exploring Operation: 97*88=8536, Resulting Numbers: [8536] 8536,54 unequal: No Solution Exploring Operation: 97+88=185, Resulting Numbers: [185] 185,54 unequal: No Solution Exploring Operation: 97-88=9, Resulting Numbers: [9] 9,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 54:[11, 2], Operations: ['97-86=11', '77-75=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,54 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,54 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,54 unequal: No Solution Moving to Node #0,0,4 Current State: 54:[20, 11], Operations: ['97-77=20', '86-75=11'] Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,54 unequal: No Solution Exploring Operation: 20*11=220, Resulting Numbers: [220] 220,54 unequal: No Solution Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[75, 7], Operations: ['97-86=11', '77/11=7'] Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,54 unequal: No Solution Exploring Operation: 75*7=525, Resulting Numbers: [525] 525,54 unequal: No Solution Exploring Operation: 75+7=82, Resulting Numbers: [82] 82,54 unequal: No Solution Moving to Node #0,0,0 Current State: 54:[75, 66], Operations: ['97-77=20', '86-20=66'] Exploring Operation: 75*66=4950, Resulting Numbers: [4950] 4950,54 unequal: No Solution Exploring Operation: 75+66=141, Resulting Numbers: [141] 141,54 unequal: No Solution Exploring Operation: 75-66=9, Resulting Numbers: [9] 9,54 unequal: No Solution Moving to Node #0,1,0 Current State: 54:[75, 66], Operations: ['97-86=11', '77-11=66'] Exploring Operation: 75-66=9, Resulting Numbers: [9] 9,54 unequal: No Solution Exploring Operation: 75+66=141, Resulting Numbers: [141] 141,54 unequal: No Solution Exploring Operation: 75*66=4950, Resulting Numbers: [4950] 4950,54 unequal: No Solution Moving to Node #0,1,3 Current State: 54:[77, 64], Operations: ['97-86=11', '75-11=64'] Exploring Operation: 77+64=141, Resulting Numbers: [141] 141,54 unequal: No Solution Exploring Operation: 77*64=4928, Resulting Numbers: [4928] 4928,54 unequal: No Solution Exploring Operation: 77-64=13, Resulting Numbers: [13] 13,54 unequal: No Solution Moving to Node #0,0,1 Current State: 54:[86, 55], Operations: ['97-77=20', '75-20=55'] Exploring Operation: 86-55=31, Resulting Numbers: [31] 31,54 unequal: No Solution Exploring Operation: 86*55=4730, Resulting Numbers: [4730] 4730,54 unequal: No Solution Exploring Operation: 86+55=141, Resulting Numbers: [141] 141,54 unequal: No Solution Moving to Node #0,1,4 Current State: 54:[77, 86], Operations: ['97-86=11', '75+11=86'] Exploring Operation: 86-77=9, Resulting Numbers: [9] 9,54 unequal: No Solution Exploring Operation: 77+86=163, Resulting Numbers: [163] 163,54 unequal: No Solution Exploring Operation: 77*86=6622, Resulting Numbers: [6622] 6622,54 unequal: No Solution Moving to Node #0,0,3 Current State: 54:[75, 106], Operations: ['97-77=20', '86+20=106'] Exploring Operation: 75*106=7950, Resulting Numbers: [7950] 7950,54 unequal: No Solution Exploring Operation: 106-75=31, Resulting Numbers: [31] 31,54 unequal: No Solution Exploring Operation: 75+106=181, Resulting Numbers: [181] 181,54 unequal: No Solution Moving to Node #0,0,2 Current State: 54:[86, 95], Operations: ['97-77=20', '75+20=95'] Exploring Operation: 86*95=8170, Resulting Numbers: [8170] 8170,54 unequal: No Solution Exploring Operation: 86+95=181, Resulting Numbers: [181] 181,54 unequal: No Solution Exploring Operation: 95-86=9, Resulting Numbers: [9] 9,54 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 83, 78, 58, 37 ]
90
[ "83-78=5", "58+37=95", "95-5=90" ]
Current State: 90:[83, 78, 58, 37], Operations: [] Exploring Operation: 83-78=5, Resulting Numbers: [58, 37, 5] Generated Node #2: [58, 37, 5] from Operation: 83-78=5 Current State: 90:[58, 37, 5], Operations: ['83-78=5'] Exploring Operation: 58+37=95, Resulting Numbers: [5, 95] Generated Node #3: [5, 95] from Operation: 58+37=95 Current State: 90:[5, 95], Operations: ['83-78=5', '58+37=95'] Exploring Operation: 95-5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[83, 78, 58, 37], Operations: [] Exploring Operation: 78-58=20, Resulting Numbers: [83, 37, 20] Generated Node #0,0: 90:[83, 37, 20] Operation: 78-58=20 Moving to Node #0,0 Current State: 90:[83, 37, 20], Operations: ['78-58=20'] Exploring Operation: 83-37=46, Resulting Numbers: [20, 46] Generated Node #0,0,0: 90:[20, 46] Operation: 83-37=46 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[20, 46], Operations: ['78-58=20', '83-37=46'] Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,90 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
[ 15, 4, 3, 68 ]
46
[ "15+4=19", "68-3=65", "65-19=46" ]
Current State: 46:[15, 4, 3, 68], Operations: [] Exploring Operation: 15+4=19, Resulting Numbers: [3, 68, 19] Generated Node #2: [3, 68, 19] from Operation: 15+4=19 Current State: 46:[3, 68, 19], Operations: ['15+4=19'] Exploring Operation: 68-3=65, Resulting Numbers: [19, 65] Generated Node #3: [19, 65] from Operation: 68-3=65 Current State: 46:[19, 65], Operations: ['15+4=19', '68-3=65'] Exploring Operation: 65-19=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[15, 4, 3, 68], Operations: [] Exploring Operation: 68-15=53, Resulting Numbers: [4, 3, 53] Generated Node #0,0: 46:[4, 3, 53] Operation: 68-15=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[4, 3, 53], Operations: ['68-15=53'] Exploring Operation: 53-4=49, Resulting Numbers: [3, 49] Generated Node #0,0,0: 46:[3, 49] Operation: 53-4=49 Moving to Node #0,0,0 Current State: 46:[3, 49], Operations: ['68-15=53', '53-4=49'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[15, 4, 3, 68], Operations: [] Exploring Operation: 68-15=53, Resulting Numbers: [4, 3, 53] Generated Node #0,0: 46:[4, 3, 53] Operation: 68-15=53 Moving to Node #0,0 Current State: 46:[4, 3, 53], Operations: ['68-15=53'] Exploring Operation: 53-4=49, Resulting Numbers: [3, 49] Generated Node #0,0,0: 46:[3, 49] Operation: 53-4=49 Moving to Node #0,0,0 Current State: 46:[3, 49], Operations: ['68-15=53', '53-4=49'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 20, 10, 44, 54 ]
100
[ "20-10=10", "54-44=10", "10*10=100" ]
Current State: 100:[20, 10, 44, 54], Operations: [] Exploring Operation: 20-10=10, Resulting Numbers: [44, 54, 10] Generated Node #2: [44, 54, 10] from Operation: 20-10=10 Current State: 100:[44, 54, 10], Operations: ['20-10=10'] Exploring Operation: 54-44=10, Resulting Numbers: [10, 10] Generated Node #3: [10, 10] from Operation: 54-44=10 Current State: 100:[10, 10], Operations: ['20-10=10', '54-44=10'] Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[20, 10, 44, 54], Operations: [] Exploring Operation: 44-20=24, Resulting Numbers: [10, 54, 24] Generated Node #0,0: 100:[10, 54, 24] Operation: 44-20=24 Exploring Operation: 44+54=98, Resulting Numbers: [20, 10, 98] Generated Node #0,1: 100:[20, 10, 98] Operation: 44+54=98 Exploring Operation: 54-44=10, Resulting Numbers: [20, 10, 10] Generated Node #0,2: 100:[20, 10, 10] Operation: 54-44=10 Exploring Operation: 20-10=10, Resulting Numbers: [44, 54, 10] Generated Node #0,3: 100:[44, 54, 10] Operation: 20-10=10 Exploring Operation: 10+44=54, Resulting Numbers: [20, 54, 54] Generated Node #0,4: 100:[20, 54, 54] Operation: 10+44=54 Moving to Node #0,2 Current State: 100:[20, 10, 10], Operations: ['54-44=10'] Exploring Operation: 10+10=20, Resulting Numbers: [20, 20] Generated Node #0,2,0: 100:[20, 20] Operation: 10+10=20 Exploring Operation: 20-10=10, Resulting Numbers: [10, 10] Generated Node #0,2,1: 100:[10, 10] Operation: 20-10=10 Exploring Operation: 20/10=2, Resulting Numbers: [10, 2] Generated Node #0,2,2: 100:[10, 2] Operation: 20/10=2 Exploring Operation: 20/10=2, Resulting Numbers: [10, 2] Generated Node #0,2,3: 100:[10, 2] Operation: 20/10=2 Exploring Operation: 20-10=10, Resulting Numbers: [10, 10] Generated Node #0,2,4: 100:[10, 10] Operation: 20-10=10 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 100:[20, 20], Operations: ['54-44=10', '10+10=20'] Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,100 unequal: No Solution Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,100 unequal: No Solution Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,100 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,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:[10, 10], Operations: ['54-44=10', '20-10=10'] Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,100 unequal: No Solution Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[20, 10, 44, 54], Operations: [] Exploring Operation: 54-44=10, Resulting Numbers: [20, 10, 10] Generated Node #0,2: 100:[20, 10, 10] Operation: 54-44=10 Moving to Node #0,2 Current State: 100:[20, 10, 10], Operations: ['54-44=10'] Exploring Operation: 20-10=10, Resulting Numbers: [10, 10] Generated Node #0,2,1: 100:[10, 10] Operation: 20-10=10 Moving to Node #0,2,1 Current State: 100:[10, 10], Operations: ['54-44=10', '20-10=10'] Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 90, 40, 3, 54 ]
16
[ "90/3=30", "54-40=14", "30-14=16" ]
Current State: 16:[90, 40, 3, 54], Operations: [] Exploring Operation: 90/3=30, Resulting Numbers: [40, 54, 30] Generated Node #2: [40, 54, 30] from Operation: 90/3=30 Current State: 16:[40, 54, 30], Operations: ['90/3=30'] Exploring Operation: 54-40=14, Resulting Numbers: [30, 14] Generated Node #3: [30, 14] from Operation: 54-40=14 Current State: 16:[30, 14], Operations: ['90/3=30', '54-40=14'] Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[90, 40, 3, 54], Operations: [] Exploring Operation: 90-40=50, Resulting Numbers: [3, 54, 50] Generated Node #0,0: 16:[3, 54, 50] Operation: 90-40=50 Exploring Operation: 90/3=30, Resulting Numbers: [40, 54, 30] Generated Node #0,1: 16:[40, 54, 30] Operation: 90/3=30 Exploring Operation: 90-54=36, Resulting Numbers: [40, 3, 36] Generated Node #0,2: 16:[40, 3, 36] Operation: 90-54=36 Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[40, 3, 36], Operations: ['90-54=36'] Exploring Operation: 40-3=37, Resulting Numbers: [36, 37] Generated Node #0,2,0: 16:[36, 37] Operation: 40-3=37 Exploring Operation: 40-36=4, Resulting Numbers: [3, 4] Generated Node #0,2,1: 16:[3, 4] Operation: 40-36=4 Exploring Operation: 36/3=12, Resulting Numbers: [40, 12] Generated Node #0,2,2: 16:[40, 12] Operation: 36/3=12 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 16:[3, 4], Operations: ['90-54=36', '40-36=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,16 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 16:[40, 12], Operations: ['90-54=36', '36/3=12'] Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 40+12=52, Resulting Numbers: [52] 52,16 unequal: No Solution Exploring Operation: 40*12=480, Resulting Numbers: [480] 480,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 16:[36, 37], Operations: ['90-54=36', '40-3=37'] Exploring Operation: 36*37=1332, Resulting Numbers: [1332] 1332,16 unequal: No Solution Exploring Operation: 36+37=73, Resulting Numbers: [73] 73,16 unequal: No Solution Exploring Operation: 37-36=1, Resulting Numbers: [1] 1,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[3, 54, 50], Operations: ['90-40=50'] Exploring Operation: 54-50=4, Resulting Numbers: [3, 4] Generated Node #0,0,0: 16:[3, 4] Operation: 54-50=4 Exploring Operation: 54/3=18, Resulting Numbers: [50, 18] Generated Node #0,0,1: 16:[50, 18] Operation: 54/3=18 Exploring Operation: 54-3=51, Resulting Numbers: [50, 51] Generated Node #0,0,2: 16:[50, 51] Operation: 54-3=51 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[3, 4], Operations: ['90-40=50', '54-50=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,16 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 16:[50, 18], Operations: ['90-40=50', '54/3=18'] Exploring Operation: 50+18=68, Resulting Numbers: [68] 68,16 unequal: No Solution Exploring Operation: 50*18=900, Resulting Numbers: [900] 900,16 unequal: No Solution Exploring Operation: 50-18=32, Resulting Numbers: [32] 32,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 16:[50, 51], Operations: ['90-40=50', '54-3=51'] Exploring Operation: 51-50=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 50*51=2550, Resulting Numbers: [2550] 2550,16 unequal: No Solution Exploring Operation: 50+51=101, Resulting Numbers: [101] 101,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[40, 54, 30], Operations: ['90/3=30'] Exploring Operation: 54-40=14, Resulting Numbers: [30, 14] Generated Node #0,1,0: 16:[30, 14] Operation: 54-40=14 Exploring Operation: 54-30=24, Resulting Numbers: [40, 24] Generated Node #0,1,1: 16:[40, 24] Operation: 54-30=24 Exploring Operation: 40-30=10, Resulting Numbers: [54, 10] Generated Node #0,1,2: 16:[54, 10] Operation: 40-30=10 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 16:[30, 14], Operations: ['90/3=30', '54-40=14'] Exploring Operation: 30*14=420, Resulting Numbers: [420] 420,16 unequal: No Solution Exploring Operation: 30+14=44, Resulting Numbers: [44] 44,16 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[90, 40, 3, 54], Operations: [] Exploring Operation: 90/3=30, Resulting Numbers: [40, 54, 30] Generated Node #0,1: 16:[40, 54, 30] Operation: 90/3=30 Moving to Node #0,1 Current State: 16:[40, 54, 30], Operations: ['90/3=30'] Exploring Operation: 54-40=14, Resulting Numbers: [30, 14] Generated Node #0,1,0: 16:[30, 14] Operation: 54-40=14 Moving to Node #0,1,0 Current State: 16:[30, 14], Operations: ['90/3=30', '54-40=14'] Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_3
sum_heuristic
[ 66, 21, 15, 65 ]
76
[ "21-15=6", "66/6=11", "65+11=76" ]
Current State: 76:[66, 21, 15, 65], Operations: [] Exploring Operation: 21-15=6, Resulting Numbers: [66, 65, 6] Generated Node #2: [66, 65, 6] from Operation: 21-15=6 Current State: 76:[66, 65, 6], Operations: ['21-15=6'] Exploring Operation: 66/6=11, Resulting Numbers: [65, 11] Generated Node #3: [65, 11] from Operation: 66/6=11 Current State: 76:[65, 11], Operations: ['21-15=6', '66/6=11'] Exploring Operation: 65+11=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[66, 21, 15, 65], Operations: [] Exploring Operation: 65-21=44, Resulting Numbers: [66, 15, 44] Generated Node #0,0: 76:[66, 15, 44] Operation: 65-21=44 Exploring Operation: 66-21=45, Resulting Numbers: [15, 65, 45] Generated Node #0,1: 76:[15, 65, 45] Operation: 66-21=45 Exploring Operation: 66-65=1, Resulting Numbers: [21, 15, 1] Generated Node #0,2: 76:[21, 15, 1] Operation: 66-65=1 Exploring Operation: 15+65=80, Resulting Numbers: [66, 21, 80] Generated Node #0,3: 76:[66, 21, 80] Operation: 15+65=80 Exploring Operation: 66+15=81, Resulting Numbers: [21, 65, 81] Generated Node #0,4: 76:[21, 65, 81] Operation: 66+15=81 Moving to Node #0,2 Current State: 76:[21, 15, 1], Operations: ['66-65=1'] Exploring Operation: 21*1=21, Resulting Numbers: [15, 21] Generated Node #0,2,0: 76:[15, 21] Operation: 21*1=21 Exploring Operation: 21-15=6, Resulting Numbers: [1, 6] Generated Node #0,2,1: 76:[1, 6] Operation: 21-15=6 Exploring Operation: 15+1=16, Resulting Numbers: [21, 16] Generated Node #0,2,2: 76:[21, 16] Operation: 15+1=16 Exploring Operation: 21+15=36, Resulting Numbers: [1, 36] Generated Node #0,2,3: 76:[1, 36] Operation: 21+15=36 Exploring Operation: 21-1=20, Resulting Numbers: [15, 20] Generated Node #0,2,4: 76:[15, 20] Operation: 21-1=20 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 76:[1, 6], Operations: ['66-65=1', '21-15=6'] Exploring Operation: 1+6=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,76 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 1*6=6, Resulting Numbers: [6] 6,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 76:[1, 36], Operations: ['66-65=1', '21+15=36'] Exploring Operation: 1+36=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 1*36=36, Resulting Numbers: [36] 36,76 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,76 unequal: No Solution Exploring Operation: 36/1=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,2,2 Current State: 76:[21, 16], Operations: ['66-65=1', '15+1=16'] Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 21*16=336, Resulting Numbers: [336] 336,76 unequal: No Solution Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 76:[15, 20], Operations: ['66-65=1', '21-1=20'] Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,76 unequal: No Solution Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 15*20=300, Resulting Numbers: [300] 300,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 76:[15, 21], Operations: ['66-65=1', '21*1=21'] Exploring Operation: 15*21=315, Resulting Numbers: [315] 315,76 unequal: No Solution Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,76 unequal: No Solution Exploring Operation: 15+21=36, Resulting Numbers: [36] 36,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 76:[66, 21, 80], Operations: ['15+65=80'] Exploring Operation: 21+80=101, Resulting Numbers: [66, 101] Generated Node #0,3,0: 76:[66, 101] Operation: 21+80=101 Exploring Operation: 80-66=14, Resulting Numbers: [21, 14] Generated Node #0,3,1: 76:[21, 14] Operation: 80-66=14 Exploring Operation: 66+21=87, Resulting Numbers: [80, 87] Generated Node #0,3,2: 76:[80, 87] Operation: 66+21=87 Exploring Operation: 66-21=45, Resulting Numbers: [80, 45] Generated Node #0,3,3: 76:[80, 45] Operation: 66-21=45 Exploring Operation: 80-21=59, Resulting Numbers: [66, 59] Generated Node #0,3,4: 76:[66, 59] Operation: 80-21=59 Moving to Node #0,4 Current State: 76:[21, 65, 81], Operations: ['66+15=81'] Exploring Operation: 81-21=60, Resulting Numbers: [65, 60] Generated Node #0,4,0: 76:[65, 60] Operation: 81-21=60 Exploring Operation: 81-65=16, Resulting Numbers: [21, 16] Generated Node #0,4,1: 76:[21, 16] Operation: 81-65=16 Exploring Operation: 65-21=44, Resulting Numbers: [81, 44] Generated Node #0,4,2: 76:[81, 44] Operation: 65-21=44 Exploring Operation: 21+81=102, Resulting Numbers: [65, 102] Generated Node #0,4,3: 76:[65, 102] Operation: 21+81=102 Exploring Operation: 21+65=86, Resulting Numbers: [81, 86] Generated Node #0,4,4: 76:[81, 86] Operation: 21+65=86 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 76:[21, 16], Operations: ['66+15=81', '81-65=16'] Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 21*16=336, Resulting Numbers: [336] 336,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 76:[81, 44], Operations: ['66+15=81', '65-21=44'] Exploring Operation: 81-44=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 81+44=125, Resulting Numbers: [125] 125,76 unequal: No Solution Exploring Operation: 81*44=3564, Resulting Numbers: [3564] 3564,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 76:[81, 86], Operations: ['66+15=81', '21+65=86'] Exploring Operation: 81*86=6966, Resulting Numbers: [6966] 6966,76 unequal: No Solution Exploring Operation: 81+86=167, Resulting Numbers: [167] 167,76 unequal: No Solution Exploring Operation: 86-81=5, Resulting Numbers: [5] 5,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 76:[65, 60], Operations: ['66+15=81', '81-21=60'] Exploring Operation: 65+60=125, Resulting Numbers: [125] 125,76 unequal: No Solution Exploring Operation: 65-60=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 65*60=3900, Resulting Numbers: [3900] 3900,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 76:[65, 102], Operations: ['66+15=81', '21+81=102'] Exploring Operation: 65+102=167, Resulting Numbers: [167] 167,76 unequal: No Solution Exploring Operation: 102-65=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 65*102=6630, Resulting Numbers: [6630] 6630,76 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: 76:[66, 15, 44], Operations: ['65-21=44'] Exploring Operation: 66+15=81, Resulting Numbers: [44, 81] Generated Node #0,0,0: 76:[44, 81] Operation: 66+15=81 Exploring Operation: 66-15=51, Resulting Numbers: [44, 51] Generated Node #0,0,1: 76:[44, 51] Operation: 66-15=51 Exploring Operation: 15+44=59, Resulting Numbers: [66, 59] Generated Node #0,0,2: 76:[66, 59] Operation: 15+44=59 Exploring Operation: 44-15=29, Resulting Numbers: [66, 29] Generated Node #0,0,3: 76:[66, 29] Operation: 44-15=29 Exploring Operation: 66-44=22, Resulting Numbers: [15, 22] Generated Node #0,0,4: 76:[15, 22] Operation: 66-44=22 Moving to Node #0,1 Current State: 76:[15, 65, 45], Operations: ['66-21=45'] Exploring Operation: 65-45=20, Resulting Numbers: [15, 20] Generated Node #0,1,0: 76:[15, 20] Operation: 65-45=20 Exploring Operation: 15+65=80, Resulting Numbers: [45, 80] Generated Node #0,1,1: 76:[45, 80] Operation: 15+65=80 Exploring Operation: 45/15=3, Resulting Numbers: [65, 3] Generated Node #0,1,2: 76:[65, 3] Operation: 45/15=3 Exploring Operation: 65-15=50, Resulting Numbers: [45, 50] Generated Node #0,1,3: 76:[45, 50] Operation: 65-15=50 Exploring Operation: 45-15=30, Resulting Numbers: [65, 30] Generated Node #0,1,4: 76:[65, 30] Operation: 45-15=30 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 76:[15, 20], Operations: ['66-21=45', '65-45=20'] Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,76 unequal: No Solution Exploring Operation: 15*20=300, Resulting Numbers: [300] 300,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,1 Current State: 76:[45, 80], Operations: ['66-21=45', '15+65=80'] Exploring Operation: 45+80=125, Resulting Numbers: [125] 125,76 unequal: No Solution Exploring Operation: 80-45=35, Resulting Numbers: [35] 35,76 unequal: No Solution Exploring Operation: 45*80=3600, Resulting Numbers: [3600] 3600,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,2 Current State: 76:[65, 3], Operations: ['66-21=45', '45/15=3'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,76 unequal: No Solution Exploring Operation: 65*3=195, Resulting Numbers: [195] 195,76 unequal: No Solution Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,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,3 Current State: 76:[45, 50], Operations: ['66-21=45', '65-15=50'] Exploring Operation: 45+50=95, Resulting Numbers: [95] 95,76 unequal: No Solution Exploring Operation: 45*50=2250, Resulting Numbers: [2250] 2250,76 unequal: No Solution Exploring Operation: 50-45=5, Resulting Numbers: [5] 5,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,4 Current State: 76:[65, 30], Operations: ['66-21=45', '45-15=30'] Exploring Operation: 65+30=95, Resulting Numbers: [95] 95,76 unequal: No Solution Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,76 unequal: No Solution Exploring Operation: 65*30=1950, Resulting Numbers: [1950] 1950,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 76:[21, 14], Operations: ['15+65=80', '80-66=14'] Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 21+14=35, Resulting Numbers: [35] 35,76 unequal: No Solution Exploring Operation: 21*14=294, Resulting Numbers: [294] 294,76 unequal: No Solution Moving to Node #0,0,4 Current State: 76:[15, 22], Operations: ['65-21=44', '66-44=22'] Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 15*22=330, Resulting Numbers: [330] 330,76 unequal: No Solution Exploring Operation: 15+22=37, Resulting Numbers: [37] 37,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[44, 81], Operations: ['65-21=44', '66+15=81'] Exploring Operation: 44+81=125, Resulting Numbers: [125] 125,76 unequal: No Solution Exploring Operation: 44*81=3564, Resulting Numbers: [3564] 3564,76 unequal: No Solution Exploring Operation: 81-44=37, Resulting Numbers: [37] 37,76 unequal: No Solution Moving to Node #0,3,3 Current State: 76:[80, 45], Operations: ['15+65=80', '66-21=45'] Exploring Operation: 80+45=125, Resulting Numbers: [125] 125,76 unequal: No Solution Exploring Operation: 80-45=35, Resulting Numbers: [35] 35,76 unequal: No Solution Exploring Operation: 80*45=3600, Resulting Numbers: [3600] 3600,76 unequal: No Solution Moving to Node #0,3,2 Current State: 76:[80, 87], Operations: ['15+65=80', '66+21=87'] Exploring Operation: 80+87=167, Resulting Numbers: [167] 167,76 unequal: No Solution Exploring Operation: 87-80=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 80*87=6960, Resulting Numbers: [6960] 6960,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[66, 29], Operations: ['65-21=44', '44-15=29'] Exploring Operation: 66*29=1914, Resulting Numbers: [1914] 1914,76 unequal: No Solution Exploring Operation: 66-29=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 66+29=95, Resulting Numbers: [95] 95,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[44, 51], Operations: ['65-21=44', '66-15=51'] Exploring Operation: 44+51=95, Resulting Numbers: [95] 95,76 unequal: No Solution Exploring Operation: 44*51=2244, Resulting Numbers: [2244] 2244,76 unequal: No Solution Exploring Operation: 51-44=7, Resulting Numbers: [7] 7,76 unequal: No Solution Moving to Node #0,3,4 Current State: 76:[66, 59], Operations: ['15+65=80', '80-21=59'] Exploring Operation: 66+59=125, Resulting Numbers: [125] 125,76 unequal: No Solution Exploring Operation: 66*59=3894, Resulting Numbers: [3894] 3894,76 unequal: No Solution Exploring Operation: 66-59=7, Resulting Numbers: [7] 7,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[66, 59], Operations: ['65-21=44', '15+44=59'] Exploring Operation: 66+59=125, Resulting Numbers: [125] 125,76 unequal: No Solution Exploring Operation: 66*59=3894, Resulting Numbers: [3894] 3894,76 unequal: No Solution Exploring Operation: 66-59=7, Resulting Numbers: [7] 7,76 unequal: No Solution Moving to Node #0,3,0 Current State: 76:[66, 101], Operations: ['15+65=80', '21+80=101'] Exploring Operation: 66*101=6666, Resulting Numbers: [6666] 6666,76 unequal: No Solution Exploring Operation: 101-66=35, Resulting Numbers: [35] 35,76 unequal: No Solution Exploring Operation: 66+101=167, Resulting Numbers: [167] 167,76 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 96, 64, 45, 72 ]
56
[ "64*45=2880", "2880/72=40", "96-40=56" ]
Current State: 56:[96, 64, 45, 72], Operations: [] Exploring Operation: 64*45=2880, Resulting Numbers: [96, 72, 2880] Generated Node #2: [96, 72, 2880] from Operation: 64*45=2880 Current State: 56:[96, 72, 2880], Operations: ['64*45=2880'] Exploring Operation: 2880/72=40, Resulting Numbers: [96, 40] Generated Node #3: [96, 40] from Operation: 2880/72=40 Current State: 56:[96, 40], Operations: ['64*45=2880', '2880/72=40'] Exploring Operation: 96-40=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[96, 64, 45, 72], Operations: [] Exploring Operation: 96-72=24, Resulting Numbers: [64, 45, 24] Generated Node #0,0: 56:[64, 45, 24] Operation: 96-72=24 Exploring Operation: 96-45=51, Resulting Numbers: [64, 72, 51] Generated Node #0,1: 56:[64, 72, 51] Operation: 96-45=51 Exploring Operation: 96-64=32, Resulting Numbers: [45, 72, 32] Generated Node #0,2: 56:[45, 72, 32] Operation: 96-64=32 Moving to Node #0,0 Current State: 56:[64, 45, 24], Operations: ['96-72=24'] Exploring Operation: 45-24=21, Resulting Numbers: [64, 21] Generated Node #0,0,0: 56:[64, 21] Operation: 45-24=21 Exploring Operation: 64-45=19, Resulting Numbers: [24, 19] Generated Node #0,0,1: 56:[24, 19] Operation: 64-45=19 Exploring Operation: 45+24=69, Resulting Numbers: [64, 69] Generated Node #0,0,2: 56:[64, 69] Operation: 45+24=69 Moving to Node #0,1 Current State: 56:[64, 72, 51], Operations: ['96-45=51'] Exploring Operation: 72-51=21, Resulting Numbers: [64, 21] Generated Node #0,1,0: 56:[64, 21] Operation: 72-51=21 Exploring Operation: 72-64=8, Resulting Numbers: [51, 8] Generated Node #0,1,1: 56:[51, 8] Operation: 72-64=8 Exploring Operation: 64-51=13, Resulting Numbers: [72, 13] Generated Node #0,1,2: 56:[72, 13] Operation: 64-51=13 Moving to Node #0,2 Current State: 56:[45, 72, 32], Operations: ['96-64=32'] Exploring Operation: 72-45=27, Resulting Numbers: [32, 27] Generated Node #0,2,0: 56:[32, 27] Operation: 72-45=27 Exploring Operation: 72-32=40, Resulting Numbers: [45, 40] Generated Node #0,2,1: 56:[45, 40] Operation: 72-32=40 Exploring Operation: 45-32=13, Resulting Numbers: [72, 13] Generated Node #0,2,2: 56:[72, 13] Operation: 45-32=13 Moving to Node #0,1,1 Current State: 56:[51, 8], Operations: ['96-45=51', '72-64=8'] Exploring Operation: 51+8=59, Resulting Numbers: [59] 59,56 unequal: No Solution Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,56 unequal: No Solution Exploring Operation: 51*8=408, Resulting Numbers: [408] 408,56 unequal: No Solution Moving to Node #0,2,0 Current State: 56:[32, 27], Operations: ['96-64=32', '72-45=27'] Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 32*27=864, Resulting Numbers: [864] 864,56 unequal: No Solution Exploring Operation: 32+27=59, Resulting Numbers: [59] 59,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[24, 19], Operations: ['96-72=24', '64-45=19'] Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,56 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 24*19=456, Resulting Numbers: [456] 456,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[64, 21], Operations: ['96-45=51', '72-51=21'] Exploring Operation: 64-21=43, Resulting Numbers: [43] 43,56 unequal: No Solution Exploring Operation: 64+21=85, Resulting Numbers: [85] 85,56 unequal: No Solution Exploring Operation: 64*21=1344, Resulting Numbers: [1344] 1344,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[64, 21], Operations: ['96-72=24', '45-24=21'] Exploring Operation: 64-21=43, Resulting Numbers: [43] 43,56 unequal: No Solution Exploring Operation: 64*21=1344, Resulting Numbers: [1344] 1344,56 unequal: No Solution Exploring Operation: 64+21=85, Resulting Numbers: [85] 85,56 unequal: No Solution Moving to Node #0,1,2 Current State: 56:[72, 13], Operations: ['96-45=51', '64-51=13'] Exploring Operation: 72+13=85, Resulting Numbers: [85] 85,56 unequal: No Solution Exploring Operation: 72*13=936, Resulting Numbers: [936] 936,56 unequal: No Solution Exploring Operation: 72-13=59, Resulting Numbers: [59] 59,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[72, 13], Operations: ['96-64=32', '45-32=13'] Exploring Operation: 72-13=59, Resulting Numbers: [59] 59,56 unequal: No Solution Exploring Operation: 72*13=936, Resulting Numbers: [936] 936,56 unequal: No Solution Exploring Operation: 72+13=85, Resulting Numbers: [85] 85,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[64, 69], Operations: ['96-72=24', '45+24=69'] Exploring Operation: 64+69=133, Resulting Numbers: [133] 133,56 unequal: No Solution Exploring Operation: 69-64=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 64*69=4416, Resulting Numbers: [4416] 4416,56 unequal: No Solution Moving to Node #0,2,1 Current State: 56:[45, 40], Operations: ['96-64=32', '72-32=40'] Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 45+40=85, Resulting Numbers: [85] 85,56 unequal: No Solution Exploring Operation: 45*40=1800, Resulting Numbers: [1800] 1800,56 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 50, 40, 26, 64 ]
25
[ "40+26=66", "66-64=2", "50/2=25" ]
Current State: 25:[50, 40, 26, 64], Operations: [] Exploring Operation: 40+26=66, Resulting Numbers: [50, 64, 66] Generated Node #2: [50, 64, 66] from Operation: 40+26=66 Current State: 25:[50, 64, 66], Operations: ['40+26=66'] Exploring Operation: 66-64=2, Resulting Numbers: [50, 2] Generated Node #3: [50, 2] from Operation: 66-64=2 Current State: 25:[50, 2], Operations: ['40+26=66', '66-64=2'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[50, 40, 26, 64], Operations: [] Exploring Operation: 64-40=24, Resulting Numbers: [50, 26, 24] Generated Node #0,0: 25:[50, 26, 24] Operation: 64-40=24 Exploring Operation: 50-40=10, Resulting Numbers: [26, 64, 10] Generated Node #0,1: 25:[26, 64, 10] Operation: 50-40=10 Exploring Operation: 64-26=38, Resulting Numbers: [50, 40, 38] Generated Node #0,2: 25:[50, 40, 38] Operation: 64-26=38 Exploring Operation: 64-50=14, Resulting Numbers: [40, 26, 14] Generated Node #0,3: 25:[40, 26, 14] Operation: 64-50=14 Start Sub Search at level 1: Moving to Node #0,3 Current State: 25:[40, 26, 14], Operations: ['64-50=14'] Exploring Operation: 40+14=54, Resulting Numbers: [26, 54] Generated Node #0,3,0: 25:[26, 54] Operation: 40+14=54 Exploring Operation: 26-14=12, Resulting Numbers: [40, 12] Generated Node #0,3,1: 25:[40, 12] Operation: 26-14=12 Exploring Operation: 40-26=14, Resulting Numbers: [14, 14] Generated Node #0,3,2: 25:[14, 14] Operation: 40-26=14 Exploring Operation: 40-14=26, Resulting Numbers: [26, 26] Generated Node #0,3,3: 25:[26, 26] Operation: 40-14=26 Moving to Node #0,3,3 Current State: 25:[26, 26], Operations: ['64-50=14', '40-14=26'] Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,25 unequal: No Solution Exploring Operation: 26*26=676, Resulting Numbers: [676] 676,25 unequal: No Solution Exploring Operation: 26-26=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 26/26=1, Resulting Numbers: [1] 1,25 unequal: No Solution Moving to Node #0,3,2 Current State: 25:[14, 14], Operations: ['64-50=14', '40-26=14'] Exploring Operation: 14*14=196, Resulting Numbers: [196] 196,25 unequal: No Solution Exploring Operation: 14+14=28, Resulting Numbers: [28] 28,25 unequal: No Solution Exploring Operation: 14-14=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 14/14=1, Resulting Numbers: [1] 1,25 unequal: No Solution Moving to Node #0,3,1 Current State: 25:[40, 12], Operations: ['64-50=14', '26-14=12'] Exploring Operation: 40*12=480, Resulting Numbers: [480] 480,25 unequal: No Solution Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,25 unequal: No Solution Exploring Operation: 40+12=52, Resulting Numbers: [52] 52,25 unequal: No Solution Moving to Node #0,3,0 Current State: 25:[26, 54], Operations: ['64-50=14', '40+14=54'] Exploring Operation: 26+54=80, Resulting Numbers: [80] 80,25 unequal: No Solution Exploring Operation: 26*54=1404, Resulting Numbers: [1404] 1404,25 unequal: No Solution Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[50, 26, 24], Operations: ['64-40=24'] Exploring Operation: 26-24=2, Resulting Numbers: [50, 2] Generated Node #0,0,0: 25:[50, 2] Operation: 26-24=2 Exploring Operation: 50-26=24, Resulting Numbers: [24, 24] Generated Node #0,0,1: 25:[24, 24] Operation: 50-26=24 Exploring Operation: 50+24=74, Resulting Numbers: [26, 74] Generated Node #0,0,2: 25:[26, 74] Operation: 50+24=74 Exploring Operation: 50-24=26, Resulting Numbers: [26, 26] Generated Node #0,0,3: 25:[26, 26] Operation: 50-24=26 Moving to Node #0,0,1 Current State: 25:[24, 24], Operations: ['64-40=24', '50-26=24'] Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,25 unequal: No Solution Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,25 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,25 unequal: No Solution Moving to Node #0,0,3 Current State: 25:[26, 26], Operations: ['64-40=24', '50-24=26'] Exploring Operation: 26*26=676, Resulting Numbers: [676] 676,25 unequal: No Solution Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,25 unequal: No Solution Exploring Operation: 26/26=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 26-26=0, Resulting Numbers: [0] 0,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[50, 2], Operations: ['64-40=24', '26-24=2'] Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,25 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,25 unequal: No Solution Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,25 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[50, 40, 26, 64], Operations: [] Exploring Operation: 64-40=24, Resulting Numbers: [50, 26, 24] Generated Node #0,0: 25:[50, 26, 24] Operation: 64-40=24 Moving to Node #0,0 Current State: 25:[50, 26, 24], Operations: ['64-40=24'] Exploring Operation: 26-24=2, Resulting Numbers: [50, 2] Generated Node #0,0,0: 25:[50, 2] Operation: 26-24=2 Moving to Node #0,0,0 Current State: 25:[50, 2], Operations: ['64-40=24', '26-24=2'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_4
mult_heuristic
[ 91, 96, 9, 70 ]
25
[ "96-91=5", "9*5=45", "70-45=25" ]
Current State: 25:[91, 96, 9, 70], Operations: [] Exploring Operation: 96-91=5, Resulting Numbers: [9, 70, 5] Generated Node #2: [9, 70, 5] from Operation: 96-91=5 Current State: 25:[9, 70, 5], Operations: ['96-91=5'] Exploring Operation: 9*5=45, Resulting Numbers: [70, 45] Generated Node #3: [70, 45] from Operation: 9*5=45 Current State: 25:[70, 45], Operations: ['96-91=5', '9*5=45'] Exploring Operation: 70-45=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[91, 96, 9, 70], Operations: [] Exploring Operation: 96-91=5, Resulting Numbers: [9, 70, 5] Generated Node #0,0: 25:[9, 70, 5] Operation: 96-91=5 Exploring Operation: 96-70=26, Resulting Numbers: [91, 9, 26] Generated Node #0,1: 25:[91, 9, 26] Operation: 96-70=26 Exploring Operation: 91-9=82, Resulting Numbers: [96, 70, 82] Generated Node #0,2: 25:[96, 70, 82] Operation: 91-9=82 Exploring Operation: 91-70=21, Resulting Numbers: [96, 9, 21] Generated Node #0,3: 25:[96, 9, 21] Operation: 91-70=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[9, 70, 5], Operations: ['96-91=5'] Exploring Operation: 70-9=61, Resulting Numbers: [5, 61] Generated Node #0,0,0: 25:[5, 61] Operation: 70-9=61 Exploring Operation: 70-5=65, Resulting Numbers: [9, 65] Generated Node #0,0,1: 25:[9, 65] Operation: 70-5=65 Exploring Operation: 9-5=4, Resulting Numbers: [70, 4] Generated Node #0,0,2: 25:[70, 4] Operation: 9-5=4 Exploring Operation: 70/5=14, Resulting Numbers: [9, 14] Generated Node #0,0,3: 25:[9, 14] Operation: 70/5=14 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 25:[9, 14], Operations: ['96-91=5', '70/5=14'] Exploring Operation: 9*14=126, Resulting Numbers: [126] 126,25 unequal: No Solution Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[5, 61], Operations: ['96-91=5', '70-9=61'] Exploring Operation: 5*61=305, Resulting Numbers: [305] 305,25 unequal: No Solution Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,25 unequal: No Solution Exploring Operation: 5+61=66, Resulting Numbers: [66] 66,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 25:[9, 65], Operations: ['96-91=5', '70-5=65'] Exploring Operation: 9*65=585, Resulting Numbers: [585] 585,25 unequal: No Solution Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,25 unequal: No Solution Exploring Operation: 9+65=74, Resulting Numbers: [74] 74,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 25:[70, 4], Operations: ['96-91=5', '9-5=4'] Exploring Operation: 70+4=74, Resulting Numbers: [74] 74,25 unequal: No Solution Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,25 unequal: No Solution Exploring Operation: 70*4=280, Resulting Numbers: [280] 280,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[91, 9, 26], Operations: ['96-70=26'] Exploring Operation: 91-9=82, Resulting Numbers: [26, 82] Generated Node #0,1,0: 25:[26, 82] Operation: 91-9=82 Exploring Operation: 91-26=65, Resulting Numbers: [9, 65] Generated Node #0,1,1: 25:[9, 65] Operation: 91-26=65 Exploring Operation: 91+9=100, Resulting Numbers: [26, 100] Generated Node #0,1,2: 25:[26, 100] Operation: 91+9=100 Exploring Operation: 26-9=17, Resulting Numbers: [91, 17] Generated Node #0,1,3: 25:[91, 17] Operation: 26-9=17 Moving to Node #0,1,1 Current State: 25:[9, 65], Operations: ['96-70=26', '91-26=65'] Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,25 unequal: No Solution Exploring Operation: 9*65=585, Resulting Numbers: [585] 585,25 unequal: No Solution Exploring Operation: 9+65=74, Resulting Numbers: [74] 74,25 unequal: No Solution Moving to Node #0,1,0 Current State: 25:[26, 82], Operations: ['96-70=26', '91-9=82'] Exploring Operation: 82-26=56, Resulting Numbers: [56] 56,25 unequal: No Solution Exploring Operation: 26*82=2132, Resulting Numbers: [2132] 2132,25 unequal: No Solution Exploring Operation: 26+82=108, Resulting Numbers: [108] 108,25 unequal: No Solution Moving to Node #0,1,3 Current State: 25:[91, 17], Operations: ['96-70=26', '26-9=17'] Exploring Operation: 91-17=74, Resulting Numbers: [74] 74,25 unequal: No Solution Exploring Operation: 91*17=1547, Resulting Numbers: [1547] 1547,25 unequal: No Solution Exploring Operation: 91+17=108, Resulting Numbers: [108] 108,25 unequal: No Solution Moving to Node #0,1,2 Current State: 25:[26, 100], Operations: ['96-70=26', '91+9=100'] Exploring Operation: 26*100=2600, Resulting Numbers: [2600] 2600,25 unequal: No Solution Exploring Operation: 26+100=126, Resulting Numbers: [126] 126,25 unequal: No Solution Exploring Operation: 100-26=74, Resulting Numbers: [74] 74,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 25:[96, 9, 21], Operations: ['91-70=21'] Exploring Operation: 96-21=75, Resulting Numbers: [9, 75] Generated Node #0,3,0: 25:[9, 75] Operation: 96-21=75 Exploring Operation: 9+21=30, Resulting Numbers: [96, 30] Generated Node #0,3,1: 25:[96, 30] Operation: 9+21=30 Exploring Operation: 21-9=12, Resulting Numbers: [96, 12] Generated Node #0,3,2: 25:[96, 12] Operation: 21-9=12 Exploring Operation: 96-9=87, Resulting Numbers: [21, 87] Generated Node #0,3,3: 25:[21, 87] Operation: 96-9=87 Moving to Node #0,3,0 Current State: 25:[9, 75], Operations: ['91-70=21', '96-21=75'] Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,25 unequal: No Solution Exploring Operation: 9*75=675, Resulting Numbers: [675] 675,25 unequal: No Solution Exploring Operation: 9+75=84, Resulting Numbers: [84] 84,25 unequal: No Solution Moving to Node #0,3,3 Current State: 25:[21, 87], Operations: ['91-70=21', '96-9=87'] Exploring Operation: 21*87=1827, Resulting Numbers: [1827] 1827,25 unequal: No Solution Exploring Operation: 87-21=66, Resulting Numbers: [66] 66,25 unequal: No Solution Exploring Operation: 21+87=108, Resulting Numbers: [108] 108,25 unequal: No Solution Moving to Node #0,3,1 Current State: 25:[96, 30], Operations: ['91-70=21', '9+21=30'] Exploring Operation: 96+30=126, Resulting Numbers: [126] 126,25 unequal: No Solution Exploring Operation: 96*30=2880, Resulting Numbers: [2880] 2880,25 unequal: No Solution Exploring Operation: 96-30=66, Resulting Numbers: [66] 66,25 unequal: No Solution Moving to Node #0,3,2 Current State: 25:[96, 12], Operations: ['91-70=21', '21-9=12'] Exploring Operation: 96/12=8, Resulting Numbers: [8] 8,25 unequal: No Solution Exploring Operation: 96*12=1152, Resulting Numbers: [1152] 1152,25 unequal: No Solution Exploring Operation: 96+12=108, Resulting Numbers: [108] 108,25 unequal: No Solution Exploring Operation: 96-12=84, Resulting Numbers: [84] 84,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[96, 70, 82], Operations: ['91-9=82'] Exploring Operation: 96+70=166, Resulting Numbers: [82, 166] Generated Node #0,2,0: 25:[82, 166] Operation: 96+70=166 Exploring Operation: 82-70=12, Resulting Numbers: [96, 12] Generated Node #0,2,1: 25:[96, 12] Operation: 82-70=12 Exploring Operation: 96-70=26, Resulting Numbers: [82, 26] Generated Node #0,2,2: 25:[82, 26] Operation: 96-70=26 Exploring Operation: 96-82=14, Resulting Numbers: [70, 14] Generated Node #0,2,3: 25:[70, 14] Operation: 96-82=14 Moving to Node #0,2,3 Current State: 25:[70, 14], Operations: ['91-9=82', '96-82=14'] Exploring Operation: 70/14=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 70-14=56, Resulting Numbers: [56] 56,25 unequal: No Solution Exploring Operation: 70+14=84, Resulting Numbers: [84] 84,25 unequal: No Solution Exploring Operation: 70*14=980, Resulting Numbers: [980] 980,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[82, 26], Operations: ['91-9=82', '96-70=26'] Exploring Operation: 82-26=56, Resulting Numbers: [56] 56,25 unequal: No Solution Exploring Operation: 82*26=2132, Resulting Numbers: [2132] 2132,25 unequal: No Solution Exploring Operation: 82+26=108, Resulting Numbers: [108] 108,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[96, 12], Operations: ['91-9=82', '82-70=12'] Exploring Operation: 96-12=84, Resulting Numbers: [84] 84,25 unequal: No Solution Exploring Operation: 96*12=1152, Resulting Numbers: [1152] 1152,25 unequal: No Solution Exploring Operation: 96+12=108, Resulting Numbers: [108] 108,25 unequal: No Solution Exploring Operation: 96/12=8, Resulting Numbers: [8] 8,25 unequal: No Solution Moving to Node #0,2,0 Current State: 25:[82, 166], Operations: ['91-9=82', '96+70=166'] Exploring Operation: 82*166=13612, Resulting Numbers: [13612] 13612,25 unequal: No Solution Exploring Operation: 166-82=84, Resulting Numbers: [84] 84,25 unequal: No Solution Exploring Operation: 82+166=248, Resulting Numbers: [248] 248,25 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
[ 20, 56, 30, 50 ]
65
[ "56-30=26", "50*26=1300", "1300/20=65" ]
Current State: 65:[20, 56, 30, 50], Operations: [] Exploring Operation: 56-30=26, Resulting Numbers: [20, 50, 26] Generated Node #2: [20, 50, 26] from Operation: 56-30=26 Current State: 65:[20, 50, 26], Operations: ['56-30=26'] Exploring Operation: 50*26=1300, Resulting Numbers: [20, 1300] Generated Node #3: [20, 1300] from Operation: 50*26=1300 Current State: 65:[20, 1300], Operations: ['56-30=26', '50*26=1300'] Exploring Operation: 1300/20=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[20, 56, 30, 50], Operations: [] Exploring Operation: 30-20=10, Resulting Numbers: [56, 50, 10] Generated Node #0,0: 65:[56, 50, 10] Operation: 30-20=10 Exploring Operation: 50-30=20, Resulting Numbers: [20, 56, 20] Generated Node #0,1: 65:[20, 56, 20] Operation: 50-30=20 Exploring Operation: 56-50=6, Resulting Numbers: [20, 30, 6] Generated Node #0,2: 65:[20, 30, 6] Operation: 56-50=6 Moving to Node #0,1 Current State: 65:[20, 56, 20], Operations: ['50-30=20'] Exploring Operation: 20+56=76, Resulting Numbers: [20, 76] Generated Node #0,1,0: 65:[20, 76] Operation: 20+56=76 Exploring Operation: 20/20=1, Resulting Numbers: [56, 1] Generated Node #0,1,1: 65:[56, 1] Operation: 20/20=1 Exploring Operation: 20-20=0, Resulting Numbers: [56, 0] Generated Node #0,1,2: 65:[56, 0] Operation: 20-20=0 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 65:[56, 1], Operations: ['50-30=20', '20/20=1'] Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,65 unequal: No Solution Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 65:[56, 0], Operations: ['50-30=20', '20-20=0'] Exploring Operation: 56-0=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 56+0=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 56*0=0, Resulting Numbers: [0] 0,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 65:[20, 76], Operations: ['50-30=20', '20+56=76'] Exploring Operation: 76-20=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 20+76=96, Resulting Numbers: [96] 96,65 unequal: No Solution Exploring Operation: 20*76=1520, Resulting Numbers: [1520] 1520,65 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: 65:[20, 30, 6], Operations: ['56-50=6'] Exploring Operation: 30/6=5, Resulting Numbers: [20, 5] Generated Node #0,2,0: 65:[20, 5] Operation: 30/6=5 Exploring Operation: 30-20=10, Resulting Numbers: [6, 10] Generated Node #0,2,1: 65:[6, 10] Operation: 30-20=10 Exploring Operation: 20+30=50, Resulting Numbers: [6, 50] Generated Node #0,2,2: 65:[6, 50] Operation: 20+30=50 Moving to Node #0,0 Current State: 65:[56, 50, 10], Operations: ['30-20=10'] Exploring Operation: 56-50=6, Resulting Numbers: [10, 6] Generated Node #0,0,0: 65:[10, 6] Operation: 56-50=6 Exploring Operation: 50+10=60, Resulting Numbers: [56, 60] Generated Node #0,0,1: 65:[56, 60] Operation: 50+10=60 Exploring Operation: 50/10=5, Resulting Numbers: [56, 5] Generated Node #0,0,2: 65:[56, 5] Operation: 50/10=5 Moving to Node #0,2,1 Current State: 65:[6, 10], Operations: ['56-50=6', '30-20=10'] Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[10, 6], Operations: ['30-20=10', '56-50=6'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,65 unequal: No Solution Moving to Node #0,2,0 Current State: 65:[20, 5], Operations: ['56-50=6', '30/6=5'] Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,65 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[56, 5], Operations: ['30-20=10', '50/10=5'] Exploring Operation: 56+5=61, Resulting Numbers: [61] 61,65 unequal: No Solution Exploring Operation: 56*5=280, Resulting Numbers: [280] 280,65 unequal: No Solution Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[56, 60], Operations: ['30-20=10', '50+10=60'] Exploring Operation: 56*60=3360, Resulting Numbers: [3360] 3360,65 unequal: No Solution Exploring Operation: 56+60=116, Resulting Numbers: [116] 116,65 unequal: No Solution Exploring Operation: 60-56=4, Resulting Numbers: [4] 4,65 unequal: No Solution Moving to Node #0,2,2 Current State: 65:[6, 50], Operations: ['56-50=6', '20+30=50'] Exploring Operation: 6*50=300, Resulting Numbers: [300] 300,65 unequal: No Solution Exploring Operation: 6+50=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,65 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 43, 25, 33, 91 ]
86
[ "91-25=66", "43*66=2838", "2838/33=86" ]
Current State: 86:[43, 25, 33, 91], Operations: [] Exploring Operation: 91-25=66, Resulting Numbers: [43, 33, 66] Generated Node #2: [43, 33, 66] from Operation: 91-25=66 Current State: 86:[43, 33, 66], Operations: ['91-25=66'] Exploring Operation: 43*66=2838, Resulting Numbers: [33, 2838] Generated Node #3: [33, 2838] from Operation: 43*66=2838 Current State: 86:[33, 2838], Operations: ['91-25=66', '43*66=2838'] Exploring Operation: 2838/33=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[43, 25, 33, 91], Operations: [] Exploring Operation: 91-25=66, Resulting Numbers: [43, 33, 66] Generated Node #0,0: 86:[43, 33, 66] Operation: 91-25=66 Exploring Operation: 33-25=8, Resulting Numbers: [43, 91, 8] Generated Node #0,1: 86:[43, 91, 8] Operation: 33-25=8 Exploring Operation: 43-25=18, Resulting Numbers: [33, 91, 18] Generated Node #0,2: 86:[33, 91, 18] Operation: 43-25=18 Exploring Operation: 25+33=58, Resulting Numbers: [43, 91, 58] Generated Node #0,3: 86:[43, 91, 58] Operation: 25+33=58 Exploring Operation: 43-33=10, Resulting Numbers: [25, 91, 10] Generated Node #0,4: 86:[25, 91, 10] Operation: 43-33=10 Moving to Node #0,1 Current State: 86:[43, 91, 8], Operations: ['33-25=8'] Exploring Operation: 91-8=83, Resulting Numbers: [43, 83] Generated Node #0,1,0: 86:[43, 83] Operation: 91-8=83 Exploring Operation: 43+8=51, Resulting Numbers: [91, 51] Generated Node #0,1,1: 86:[91, 51] Operation: 43+8=51 Exploring Operation: 91+8=99, Resulting Numbers: [43, 99] Generated Node #0,1,2: 86:[43, 99] Operation: 91+8=99 Exploring Operation: 91-43=48, Resulting Numbers: [8, 48] Generated Node #0,1,3: 86:[8, 48] Operation: 91-43=48 Exploring Operation: 43-8=35, Resulting Numbers: [91, 35] Generated Node #0,1,4: 86:[91, 35] Operation: 43-8=35 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[43, 83], Operations: ['33-25=8', '91-8=83'] Exploring Operation: 83-43=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 43+83=126, Resulting Numbers: [126] 126,86 unequal: No Solution Exploring Operation: 43*83=3569, Resulting Numbers: [3569] 3569,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 86:[8, 48], Operations: ['33-25=8', '91-43=48'] Exploring Operation: 8*48=384, Resulting Numbers: [384] 384,86 unequal: No Solution Exploring Operation: 8+48=56, Resulting Numbers: [56] 56,86 unequal: No Solution Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[91, 51], Operations: ['33-25=8', '43+8=51'] Exploring Operation: 91*51=4641, Resulting Numbers: [4641] 4641,86 unequal: No Solution Exploring Operation: 91-51=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 91+51=142, Resulting Numbers: [142] 142,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 86:[43, 99], Operations: ['33-25=8', '91+8=99'] Exploring Operation: 99-43=56, Resulting Numbers: [56] 56,86 unequal: No Solution Exploring Operation: 43+99=142, Resulting Numbers: [142] 142,86 unequal: No Solution Exploring Operation: 43*99=4257, Resulting Numbers: [4257] 4257,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 86:[91, 35], Operations: ['33-25=8', '43-8=35'] Exploring Operation: 91*35=3185, Resulting Numbers: [3185] 3185,86 unequal: No Solution Exploring Operation: 91+35=126, Resulting Numbers: [126] 126,86 unequal: No Solution Exploring Operation: 91-35=56, Resulting Numbers: [56] 56,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 86:[43, 91, 58], Operations: ['25+33=58'] Exploring Operation: 91-58=33, Resulting Numbers: [43, 33] Generated Node #0,3,0: 86:[43, 33] Operation: 91-58=33 Exploring Operation: 43+91=134, Resulting Numbers: [58, 134] Generated Node #0,3,1: 86:[58, 134] Operation: 43+91=134 Exploring Operation: 91-43=48, Resulting Numbers: [58, 48] Generated Node #0,3,2: 86:[58, 48] Operation: 91-43=48 Exploring Operation: 43+58=101, Resulting Numbers: [91, 101] Generated Node #0,3,3: 86:[91, 101] Operation: 43+58=101 Exploring Operation: 58-43=15, Resulting Numbers: [91, 15] Generated Node #0,3,4: 86:[91, 15] Operation: 58-43=15 Moving to Node #0,0 Current State: 86:[43, 33, 66], Operations: ['91-25=66'] Exploring Operation: 43+33=76, Resulting Numbers: [66, 76] Generated Node #0,0,0: 86:[66, 76] Operation: 43+33=76 Exploring Operation: 33+66=99, Resulting Numbers: [43, 99] Generated Node #0,0,1: 86:[43, 99] Operation: 33+66=99 Exploring Operation: 43-33=10, Resulting Numbers: [66, 10] Generated Node #0,0,2: 86:[66, 10] Operation: 43-33=10 Exploring Operation: 66/33=2, Resulting Numbers: [43, 2] Generated Node #0,0,3: 86:[43, 2] Operation: 66/33=2 Exploring Operation: 66-33=33, Resulting Numbers: [43, 33] Generated Node #0,0,4: 86:[43, 33] Operation: 66-33=33 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 86:[43, 2], Operations: ['91-25=66', '66/33=2'] Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[43, 25, 33, 91], Operations: [] Exploring Operation: 91-25=66, Resulting Numbers: [43, 33, 66] Generated Node #0,0: 86:[43, 33, 66] Operation: 91-25=66 Moving to Node #0,0 Current State: 86:[43, 33, 66], Operations: ['91-25=66'] Exploring Operation: 66/33=2, Resulting Numbers: [43, 2] Generated Node #0,0,3: 86:[43, 2] Operation: 66/33=2 Moving to Node #0,0,3 Current State: 86:[43, 2], Operations: ['91-25=66', '66/33=2'] Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
sum_heuristic
[ 6, 1, 89, 81 ]
54
[ "1+89=90", "90-81=9", "6*9=54" ]
Current State: 54:[6, 1, 89, 81], Operations: [] Exploring Operation: 1+89=90, Resulting Numbers: [6, 81, 90] Generated Node #2: [6, 81, 90] from Operation: 1+89=90 Current State: 54:[6, 81, 90], Operations: ['1+89=90'] Exploring Operation: 90-81=9, Resulting Numbers: [6, 9] Generated Node #3: [6, 9] from Operation: 90-81=9 Current State: 54:[6, 9], Operations: ['1+89=90', '90-81=9'] Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[6, 1, 89, 81], Operations: [] Exploring Operation: 89-6=83, Resulting Numbers: [1, 81, 83] Generated Node #0,0: 54:[1, 81, 83] Operation: 89-6=83 Exploring Operation: 89-81=8, Resulting Numbers: [6, 1, 8] Generated Node #0,1: 54:[6, 1, 8] Operation: 89-81=8 Moving to Node #0,1 Current State: 54:[6, 1, 8], Operations: ['89-81=8'] Exploring Operation: 6*1=6, Resulting Numbers: [8, 6] Generated Node #0,1,0: 54:[8, 6] Operation: 6*1=6 Exploring Operation: 1+8=9, Resulting Numbers: [6, 9] Generated Node #0,1,1: 54:[6, 9] Operation: 1+8=9 Moving to Node #0,0 Current State: 54:[1, 81, 83], Operations: ['89-6=83'] Exploring Operation: 81-1=80, Resulting Numbers: [83, 80] Generated Node #0,0,0: 54:[83, 80] Operation: 81-1=80 Exploring Operation: 83-81=2, Resulting Numbers: [1, 2] Generated Node #0,0,1: 54:[1, 2] Operation: 83-81=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 54:[1, 2], Operations: ['89-6=83', '83-81=2'] Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[83, 80], Operations: ['89-6=83', '81-1=80'] Exploring Operation: 83+80=163, Resulting Numbers: [163] 163,54 unequal: No Solution Exploring Operation: 83-80=3, Resulting Numbers: [3] 3,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 54:[6, 9], Operations: ['89-81=8', '1+8=9'] Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[6, 1, 89, 81], Operations: [] Exploring Operation: 89-81=8, Resulting Numbers: [6, 1, 8] Generated Node #0,1: 54:[6, 1, 8] Operation: 89-81=8 Moving to Node #0,1 Current State: 54:[6, 1, 8], Operations: ['89-81=8'] Exploring Operation: 1+8=9, Resulting Numbers: [6, 9] Generated Node #0,1,1: 54:[6, 9] Operation: 1+8=9 Moving to Node #0,1,1 Current State: 54:[6, 9], Operations: ['89-81=8', '1+8=9'] Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 84, 26, 3, 25 ]
11
[ "84-26=58", "58-25=33", "33/3=11" ]
Current State: 11:[84, 26, 3, 25], Operations: [] Exploring Operation: 84-26=58, Resulting Numbers: [3, 25, 58] Generated Node #2: [3, 25, 58] from Operation: 84-26=58 Current State: 11:[3, 25, 58], Operations: ['84-26=58'] Exploring Operation: 58-25=33, Resulting Numbers: [3, 33] Generated Node #3: [3, 33] from Operation: 58-25=33 Current State: 11:[3, 33], Operations: ['84-26=58', '58-25=33'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[84, 26, 3, 25], Operations: [] Exploring Operation: 84-25=59, Resulting Numbers: [26, 3, 59] Generated Node #0,0: 11:[26, 3, 59] Operation: 84-25=59 Exploring Operation: 84-26=58, Resulting Numbers: [3, 25, 58] Generated Node #0,1: 11:[3, 25, 58] Operation: 84-26=58 Exploring Operation: 84/3=28, Resulting Numbers: [26, 25, 28] Generated Node #0,2: 11:[26, 25, 28] Operation: 84/3=28 Start Sub Search at level 1: Moving to Node #0,2 Current State: 11:[26, 25, 28], Operations: ['84/3=28'] Exploring Operation: 28-26=2, Resulting Numbers: [25, 2] Generated Node #0,2,0: 11:[25, 2] Operation: 28-26=2 Exploring Operation: 26-25=1, Resulting Numbers: [28, 1] Generated Node #0,2,1: 11:[28, 1] Operation: 26-25=1 Exploring Operation: 28-25=3, Resulting Numbers: [26, 3] Generated Node #0,2,2: 11:[26, 3] Operation: 28-25=3 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 11:[25, 2], Operations: ['84/3=28', '28-26=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,11 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,11 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 11:[26, 3], Operations: ['84/3=28', '28-25=3'] Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,11 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,11 unequal: No Solution Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 11:[28, 1], Operations: ['84/3=28', '26-25=1'] Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,11 unequal: No Solution Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,11 unequal: No Solution Exploring Operation: 28*1=28, Resulting Numbers: [28] 28,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[3, 25, 58], Operations: ['84-26=58'] Exploring Operation: 58-25=33, Resulting Numbers: [3, 33] Generated Node #0,1,0: 11:[3, 33] Operation: 58-25=33 Exploring Operation: 58-3=55, Resulting Numbers: [25, 55] Generated Node #0,1,1: 11:[25, 55] Operation: 58-3=55 Exploring Operation: 25-3=22, Resulting Numbers: [58, 22] Generated Node #0,1,2: 11:[58, 22] Operation: 25-3=22 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 11:[3, 33], Operations: ['84-26=58', '58-25=33'] Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,11 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[84, 26, 3, 25], Operations: [] Exploring Operation: 84-26=58, Resulting Numbers: [3, 25, 58] Generated Node #0,1: 11:[3, 25, 58] Operation: 84-26=58 Moving to Node #0,1 Current State: 11:[3, 25, 58], Operations: ['84-26=58'] Exploring Operation: 58-25=33, Resulting Numbers: [3, 33] Generated Node #0,1,0: 11:[3, 33] Operation: 58-25=33 Moving to Node #0,1,0 Current State: 11:[3, 33], Operations: ['84-26=58', '58-25=33'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_3
mult_heuristic
[ 21, 96, 44, 7 ]
65
[ "44-21=23", "7*23=161", "161-96=65" ]
Current State: 65:[21, 96, 44, 7], Operations: [] Exploring Operation: 44-21=23, Resulting Numbers: [96, 7, 23] Generated Node #2: [96, 7, 23] from Operation: 44-21=23 Current State: 65:[96, 7, 23], Operations: ['44-21=23'] Exploring Operation: 7*23=161, Resulting Numbers: [96, 161] Generated Node #3: [96, 161] from Operation: 7*23=161 Current State: 65:[96, 161], Operations: ['44-21=23', '7*23=161'] Exploring Operation: 161-96=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[21, 96, 44, 7], Operations: [] Exploring Operation: 96-21=75, Resulting Numbers: [44, 7, 75] Generated Node #0,0: 65:[44, 7, 75] Operation: 96-21=75 Exploring Operation: 96-44=52, Resulting Numbers: [21, 7, 52] Generated Node #0,1: 65:[21, 7, 52] Operation: 96-44=52 Moving to Node #0,1 Current State: 65:[21, 7, 52], Operations: ['96-44=52'] Exploring Operation: 21+52=73, Resulting Numbers: [7, 73] Generated Node #0,1,0: 65:[7, 73] Operation: 21+52=73 Exploring Operation: 21-7=14, Resulting Numbers: [52, 14] Generated Node #0,1,1: 65:[52, 14] Operation: 21-7=14 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 65:[7, 73], Operations: ['96-44=52', '21+52=73'] Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,65 unequal: No Solution Exploring Operation: 7+73=80, Resulting Numbers: [80] 80,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 65:[52, 14], Operations: ['96-44=52', '21-7=14'] Exploring Operation: 52+14=66, Resulting Numbers: [66] 66,65 unequal: No Solution Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,65 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: 65:[44, 7, 75], Operations: ['96-21=75'] Exploring Operation: 75-44=31, Resulting Numbers: [7, 31] Generated Node #0,0,0: 65:[7, 31] Operation: 75-44=31 Exploring Operation: 44+7=51, Resulting Numbers: [75, 51] Generated Node #0,0,1: 65:[75, 51] Operation: 44+7=51 Moving to Node #0,0,0 Current State: 65:[7, 31], Operations: ['96-21=75', '75-44=31'] Exploring Operation: 7+31=38, Resulting Numbers: [38] 38,65 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[75, 51], Operations: ['96-21=75', '44+7=51'] Exploring Operation: 75+51=126, Resulting Numbers: [126] 126,65 unequal: No Solution Exploring Operation: 75-51=24, Resulting Numbers: [24] 24,65 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 4, 62, 38, 84 ]
64
[ "62-4=58", "38+84=122", "122-58=64" ]
Current State: 64:[4, 62, 38, 84], Operations: [] Exploring Operation: 62-4=58, Resulting Numbers: [38, 84, 58] Generated Node #2: [38, 84, 58] from Operation: 62-4=58 Current State: 64:[38, 84, 58], Operations: ['62-4=58'] Exploring Operation: 38+84=122, Resulting Numbers: [58, 122] Generated Node #3: [58, 122] from Operation: 38+84=122 Current State: 64:[58, 122], Operations: ['62-4=58', '38+84=122'] Exploring Operation: 122-58=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[4, 62, 38, 84], Operations: [] Exploring Operation: 84-62=22, Resulting Numbers: [4, 38, 22] Generated Node #0,0: 64:[4, 38, 22] Operation: 84-62=22 Exploring Operation: 38-4=34, Resulting Numbers: [62, 84, 34] Generated Node #0,1: 64:[62, 84, 34] Operation: 38-4=34 Exploring Operation: 84-38=46, Resulting Numbers: [4, 62, 46] Generated Node #0,2: 64:[4, 62, 46] Operation: 84-38=46 Exploring Operation: 84/4=21, Resulting Numbers: [62, 38, 21] Generated Node #0,3: 64:[62, 38, 21] Operation: 84/4=21 Moving to Node #0,0 Current State: 64:[4, 38, 22], Operations: ['84-62=22'] Exploring Operation: 38-22=16, Resulting Numbers: [4, 16] Generated Node #0,0,0: 64:[4, 16] Operation: 38-22=16 Exploring Operation: 38-4=34, Resulting Numbers: [22, 34] Generated Node #0,0,1: 64:[22, 34] Operation: 38-4=34 Exploring Operation: 38+22=60, Resulting Numbers: [4, 60] Generated Node #0,0,2: 64:[4, 60] Operation: 38+22=60 Exploring Operation: 22-4=18, Resulting Numbers: [38, 18] Generated Node #0,0,3: 64:[38, 18] Operation: 22-4=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[4, 16], Operations: ['84-62=22', '38-22=16'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,64 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[4, 62, 38, 84], Operations: [] Exploring Operation: 84-62=22, Resulting Numbers: [4, 38, 22] Generated Node #0,0: 64:[4, 38, 22] Operation: 84-62=22 Moving to Node #0,0 Current State: 64:[4, 38, 22], Operations: ['84-62=22'] Exploring Operation: 38-22=16, Resulting Numbers: [4, 16] Generated Node #0,0,0: 64:[4, 16] Operation: 38-22=16 Moving to Node #0,0,0 Current State: 64:[4, 16], Operations: ['84-62=22', '38-22=16'] Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 2, 55, 75, 4 ]
78
[ "75-55=20", "4*20=80", "80-2=78" ]
Current State: 78:[2, 55, 75, 4], Operations: [] Exploring Operation: 75-55=20, Resulting Numbers: [2, 4, 20] Generated Node #2: [2, 4, 20] from Operation: 75-55=20 Current State: 78:[2, 4, 20], Operations: ['75-55=20'] Exploring Operation: 4*20=80, Resulting Numbers: [2, 80] Generated Node #3: [2, 80] from Operation: 4*20=80 Current State: 78:[2, 80], Operations: ['75-55=20', '4*20=80'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[2, 55, 75, 4], Operations: [] Exploring Operation: 55-4=51, Resulting Numbers: [2, 75, 51] Generated Node #0,0: 78:[2, 75, 51] Operation: 55-4=51 Exploring Operation: 75+4=79, Resulting Numbers: [2, 55, 79] Generated Node #0,1: 78:[2, 55, 79] Operation: 75+4=79 Exploring Operation: 75-55=20, Resulting Numbers: [2, 4, 20] Generated Node #0,2: 78:[2, 4, 20] Operation: 75-55=20 Exploring Operation: 55-2=53, Resulting Numbers: [75, 4, 53] Generated Node #0,3: 78:[75, 4, 53] Operation: 55-2=53 Start Sub Search at level 1: Moving to Node #0,2 Current State: 78:[2, 4, 20], Operations: ['75-55=20'] Exploring Operation: 2*20=40, Resulting Numbers: [4, 40] Generated Node #0,2,0: 78:[4, 40] Operation: 2*20=40 Exploring Operation: 20/4=5, Resulting Numbers: [2, 5] Generated Node #0,2,1: 78:[2, 5] Operation: 20/4=5 Exploring Operation: 4+20=24, Resulting Numbers: [2, 24] Generated Node #0,2,2: 78:[2, 24] Operation: 4+20=24 Exploring Operation: 4*20=80, Resulting Numbers: [2, 80] Generated Node #0,2,3: 78:[2, 80] Operation: 4*20=80 Moving to Node #0,2,1 Current State: 78:[2, 5], Operations: ['75-55=20', '20/4=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,78 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,78 unequal: No Solution Moving to Node #0,2,2 Current State: 78:[2, 24], Operations: ['75-55=20', '4+20=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,78 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,78 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,78 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,78 unequal: No Solution Moving to Node #0,2,0 Current State: 78:[4, 40], Operations: ['75-55=20', '2*20=40'] Exploring Operation: 4*40=160, Resulting Numbers: [160] 160,78 unequal: No Solution Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,78 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,78 unequal: No Solution Exploring Operation: 4+40=44, Resulting Numbers: [44] 44,78 unequal: No Solution Moving to Node #0,2,3 Current State: 78:[2, 80], Operations: ['75-55=20', '4*20=80'] Exploring Operation: 2+80=82, Resulting Numbers: [82] 82,78 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,78 unequal: No Solution Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[2, 55, 75, 4], Operations: [] Exploring Operation: 75-55=20, Resulting Numbers: [2, 4, 20] Generated Node #0,2: 78:[2, 4, 20] Operation: 75-55=20 Moving to Node #0,2 Current State: 78:[2, 4, 20], Operations: ['75-55=20'] Exploring Operation: 4*20=80, Resulting Numbers: [2, 80] Generated Node #0,2,3: 78:[2, 80] Operation: 4*20=80 Moving to Node #0,2,3 Current State: 78:[2, 80], Operations: ['75-55=20', '4*20=80'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_4
mult_heuristic
[ 11, 2, 68, 12 ]
89
[ "11-2=9", "68+12=80", "9+80=89" ]
Current State: 89:[11, 2, 68, 12], Operations: [] Exploring Operation: 11-2=9, Resulting Numbers: [68, 12, 9] Generated Node #2: [68, 12, 9] from Operation: 11-2=9 Current State: 89:[68, 12, 9], Operations: ['11-2=9'] Exploring Operation: 68+12=80, Resulting Numbers: [9, 80] Generated Node #3: [9, 80] from Operation: 68+12=80 Current State: 89:[9, 80], Operations: ['11-2=9', '68+12=80'] Exploring Operation: 9+80=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[11, 2, 68, 12], Operations: [] Exploring Operation: 11*2=22, Resulting Numbers: [68, 12, 22] Generated Node #0,0: 89:[68, 12, 22] Operation: 11*2=22 Exploring Operation: 11+2=13, Resulting Numbers: [68, 12, 13] Generated Node #0,1: 89:[68, 12, 13] Operation: 11+2=13 Exploring Operation: 11*12=132, Resulting Numbers: [2, 68, 132] Generated Node #0,2: 89:[2, 68, 132] Operation: 11*12=132 Exploring Operation: 2*12=24, Resulting Numbers: [11, 68, 24] Generated Node #0,3: 89:[11, 68, 24] Operation: 2*12=24 Moving to Node #0,2 Current State: 89:[2, 68, 132], Operations: ['11*12=132'] Exploring Operation: 68-2=66, Resulting Numbers: [132, 66] Generated Node #0,2,0: 89:[132, 66] Operation: 68-2=66 Exploring Operation: 132/2=66, Resulting Numbers: [68, 66] Generated Node #0,2,1: 89:[68, 66] Operation: 132/2=66 Exploring Operation: 132-2=130, Resulting Numbers: [68, 130] Generated Node #0,2,2: 89:[68, 130] Operation: 132-2=130 Exploring Operation: 2+68=70, Resulting Numbers: [132, 70] Generated Node #0,2,3: 89:[132, 70] Operation: 2+68=70 Moving to Node #0,3 Current State: 89:[11, 68, 24], Operations: ['2*12=24'] Exploring Operation: 11+24=35, Resulting Numbers: [68, 35] Generated Node #0,3,0: 89:[68, 35] Operation: 11+24=35 Exploring Operation: 11+68=79, Resulting Numbers: [24, 79] Generated Node #0,3,1: 89:[24, 79] Operation: 11+68=79 Exploring Operation: 68+24=92, Resulting Numbers: [11, 92] Generated Node #0,3,2: 89:[11, 92] Operation: 68+24=92 Exploring Operation: 68-11=57, Resulting Numbers: [24, 57] Generated Node #0,3,3: 89:[24, 57] Operation: 68-11=57 Moving to Node #0,0 Current State: 89:[68, 12, 22], Operations: ['11*2=22'] Exploring Operation: 68+12=80, Resulting Numbers: [22, 80] Generated Node #0,0,0: 89:[22, 80] Operation: 68+12=80 Exploring Operation: 68+22=90, Resulting Numbers: [12, 90] Generated Node #0,0,1: 89:[12, 90] Operation: 68+22=90 Exploring Operation: 68-12=56, Resulting Numbers: [22, 56] Generated Node #0,0,2: 89:[22, 56] Operation: 68-12=56 Exploring Operation: 12+22=34, Resulting Numbers: [68, 34] Generated Node #0,0,3: 89:[68, 34] Operation: 12+22=34 Moving to Node #0,1 Current State: 89:[68, 12, 13], Operations: ['11+2=13'] Exploring Operation: 68+12=80, Resulting Numbers: [13, 80] Generated Node #0,1,0: 89:[13, 80] Operation: 68+12=80 Exploring Operation: 68+13=81, Resulting Numbers: [12, 81] Generated Node #0,1,1: 89:[12, 81] Operation: 68+13=81 Exploring Operation: 12+13=25, Resulting Numbers: [68, 25] Generated Node #0,1,2: 89:[68, 25] Operation: 12+13=25 Exploring Operation: 12*13=156, Resulting Numbers: [68, 156] Generated Node #0,1,3: 89:[68, 156] Operation: 12*13=156 Moving to Node #0,2,1 Current State: 89:[68, 66], Operations: ['11*12=132', '132/2=66'] Exploring Operation: 68-66=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 68+66=134, Resulting Numbers: [134] 134,89 unequal: No Solution Exploring Operation: 68*66=4488, Resulting Numbers: [4488] 4488,89 unequal: No Solution Moving to Node #0,2,3 Current State: 89:[132, 70], Operations: ['11*12=132', '2+68=70'] Exploring Operation: 132+70=202, Resulting Numbers: [202] 202,89 unequal: No Solution Exploring Operation: 132-70=62, Resulting Numbers: [62] 62,89 unequal: No Solution Exploring Operation: 132*70=9240, Resulting Numbers: [9240] 9240,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[68, 130], Operations: ['11*12=132', '132-2=130'] Exploring Operation: 68+130=198, Resulting Numbers: [198] 198,89 unequal: No Solution Exploring Operation: 68*130=8840, Resulting Numbers: [8840] 8840,89 unequal: No Solution Exploring Operation: 130-68=62, Resulting Numbers: [62] 62,89 unequal: No Solution Moving to Node #0,2,0 Current State: 89:[132, 66], Operations: ['11*12=132', '68-2=66'] Exploring Operation: 132/66=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 132+66=198, Resulting Numbers: [198] 198,89 unequal: No Solution Exploring Operation: 132-66=66, Resulting Numbers: [66] 66,89 unequal: No Solution Exploring Operation: 132*66=8712, Resulting Numbers: [8712] 8712,89 unequal: No Solution Moving to Node #0,3,1 Current State: 89:[24, 79], Operations: ['2*12=24', '11+68=79'] Exploring Operation: 24*79=1896, Resulting Numbers: [1896] 1896,89 unequal: No Solution Exploring Operation: 79-24=55, Resulting Numbers: [55] 55,89 unequal: No Solution Exploring Operation: 24+79=103, Resulting Numbers: [103] 103,89 unequal: No Solution Moving to Node #0,3,0 Current State: 89:[68, 35], Operations: ['2*12=24', '11+24=35'] Exploring Operation: 68-35=33, Resulting Numbers: [33] 33,89 unequal: No Solution Exploring Operation: 68*35=2380, Resulting Numbers: [2380] 2380,89 unequal: No Solution Exploring Operation: 68+35=103, Resulting Numbers: [103] 103,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[68, 34], Operations: ['11*2=22', '12+22=34'] Exploring Operation: 68*34=2312, Resulting Numbers: [2312] 2312,89 unequal: No Solution Exploring Operation: 68-34=34, Resulting Numbers: [34] 34,89 unequal: No Solution Exploring Operation: 68/34=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 68+34=102, Resulting Numbers: [102] 102,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[22, 80], Operations: ['11*2=22', '68+12=80'] Exploring Operation: 22*80=1760, Resulting Numbers: [1760] 1760,89 unequal: No Solution Exploring Operation: 80-22=58, Resulting Numbers: [58] 58,89 unequal: No Solution Exploring Operation: 22+80=102, Resulting Numbers: [102] 102,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[12, 90], Operations: ['11*2=22', '68+22=90'] Exploring Operation: 12*90=1080, Resulting Numbers: [1080] 1080,89 unequal: No Solution Exploring Operation: 90-12=78, Resulting Numbers: [78] 78,89 unequal: No Solution Exploring Operation: 12+90=102, Resulting Numbers: [102] 102,89 unequal: No Solution Moving to Node #0,3,2 Current State: 89:[11, 92], Operations: ['2*12=24', '68+24=92'] Exploring Operation: 11*92=1012, Resulting Numbers: [1012] 1012,89 unequal: No Solution Exploring Operation: 11+92=103, Resulting Numbers: [103] 103,89 unequal: No Solution Exploring Operation: 92-11=81, Resulting Numbers: [81] 81,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[13, 80], Operations: ['11+2=13', '68+12=80'] Exploring Operation: 13*80=1040, Resulting Numbers: [1040] 1040,89 unequal: No Solution Exploring Operation: 80-13=67, Resulting Numbers: [67] 67,89 unequal: No Solution Exploring Operation: 13+80=93, Resulting Numbers: [93] 93,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[12, 81], Operations: ['11+2=13', '68+13=81'] Exploring Operation: 12*81=972, Resulting Numbers: [972] 972,89 unequal: No Solution Exploring Operation: 81-12=69, Resulting Numbers: [69] 69,89 unequal: No Solution Exploring Operation: 12+81=93, Resulting Numbers: [93] 93,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[68, 25], Operations: ['11+2=13', '12+13=25'] Exploring Operation: 68+25=93, Resulting Numbers: [93] 93,89 unequal: No Solution Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,89 unequal: No Solution Exploring Operation: 68*25=1700, Resulting Numbers: [1700] 1700,89 unequal: No Solution Moving to Node #0,1,3 Current State: 89:[68, 156], Operations: ['11+2=13', '12*13=156'] Exploring Operation: 156-68=88, Resulting Numbers: [88] 88,89 unequal: No Solution Exploring Operation: 68*156=10608, Resulting Numbers: [10608] 10608,89 unequal: No Solution Exploring Operation: 68+156=224, Resulting Numbers: [224] 224,89 unequal: No Solution Moving to Node #0,3,3 Current State: 89:[24, 57], Operations: ['2*12=24', '68-11=57'] Exploring Operation: 24*57=1368, Resulting Numbers: [1368] 1368,89 unequal: No Solution Exploring Operation: 57-24=33, Resulting Numbers: [33] 33,89 unequal: No Solution Exploring Operation: 24+57=81, Resulting Numbers: [81] 81,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[22, 56], Operations: ['11*2=22', '68-12=56'] Exploring Operation: 56-22=34, Resulting Numbers: [34] 34,89 unequal: No Solution Exploring Operation: 22*56=1232, Resulting Numbers: [1232] 1232,89 unequal: No Solution Exploring Operation: 22+56=78, Resulting Numbers: [78] 78,89 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 28, 88, 8, 22 ]
32
[ "28+8=36", "88/22=4", "36-4=32" ]
Current State: 32:[28, 88, 8, 22], Operations: [] Exploring Operation: 28+8=36, Resulting Numbers: [88, 22, 36] Generated Node #2: [88, 22, 36] from Operation: 28+8=36 Current State: 32:[88, 22, 36], Operations: ['28+8=36'] Exploring Operation: 88/22=4, Resulting Numbers: [36, 4] Generated Node #3: [36, 4] from Operation: 88/22=4 Current State: 32:[36, 4], Operations: ['28+8=36', '88/22=4'] Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[28, 88, 8, 22], Operations: [] Exploring Operation: 88/8=11, Resulting Numbers: [28, 22, 11] Generated Node #0,0: 32:[28, 22, 11] Operation: 88/8=11 Exploring Operation: 88-28=60, Resulting Numbers: [8, 22, 60] Generated Node #0,1: 32:[8, 22, 60] Operation: 88-28=60 Exploring Operation: 88/22=4, Resulting Numbers: [28, 8, 4] Generated Node #0,2: 32:[28, 8, 4] Operation: 88/22=4 Moving to Node #0,2 Current State: 32:[28, 8, 4], Operations: ['88/22=4'] Exploring Operation: 28+4=32, Resulting Numbers: [8, 32] Generated Node #0,2,0: 32:[8, 32] Operation: 28+4=32 Exploring Operation: 28+8=36, Resulting Numbers: [4, 36] Generated Node #0,2,1: 32:[4, 36] Operation: 28+8=36 Exploring Operation: 28/4=7, Resulting Numbers: [8, 7] Generated Node #0,2,2: 32:[8, 7] Operation: 28/4=7 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 32:[8, 32], Operations: ['88/22=4', '28+4=32'] Exploring Operation: 8+32=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,32 unequal: No Solution No 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: 32:[8, 7], Operations: ['88/22=4', '28/4=7'] Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,32 unequal: No Solution Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,32 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,32 unequal: No Solution No 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: 32:[4, 36], Operations: ['88/22=4', '28+8=36'] Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[28, 88, 8, 22], Operations: [] Exploring Operation: 88/22=4, Resulting Numbers: [28, 8, 4] Generated Node #0,2: 32:[28, 8, 4] Operation: 88/22=4 Moving to Node #0,2 Current State: 32:[28, 8, 4], Operations: ['88/22=4'] Exploring Operation: 28+8=36, Resulting Numbers: [4, 36] Generated Node #0,2,1: 32:[4, 36] Operation: 28+8=36 Moving to Node #0,2,1 Current State: 32:[4, 36], Operations: ['88/22=4', '28+8=36'] Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 13, 64, 29, 78 ]
87
[ "78/13=6", "64+29=93", "93-6=87" ]
Current State: 87:[13, 64, 29, 78], Operations: [] Exploring Operation: 78/13=6, Resulting Numbers: [64, 29, 6] Generated Node #2: [64, 29, 6] from Operation: 78/13=6 Current State: 87:[64, 29, 6], Operations: ['78/13=6'] Exploring Operation: 64+29=93, Resulting Numbers: [6, 93] Generated Node #3: [6, 93] from Operation: 64+29=93 Current State: 87:[6, 93], Operations: ['78/13=6', '64+29=93'] Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[13, 64, 29, 78], Operations: [] Exploring Operation: 78-64=14, Resulting Numbers: [13, 29, 14] Generated Node #0,0: 87:[13, 29, 14] Operation: 78-64=14 Exploring Operation: 64+29=93, Resulting Numbers: [13, 78, 93] Generated Node #0,1: 87:[13, 78, 93] Operation: 64+29=93 Exploring Operation: 13+64=77, Resulting Numbers: [29, 78, 77] Generated Node #0,2: 87:[29, 78, 77] Operation: 13+64=77 Moving to Node #0,2 Current State: 87:[29, 78, 77], Operations: ['13+64=77'] Exploring Operation: 29+77=106, Resulting Numbers: [78, 106] Generated Node #0,2,0: 87:[78, 106] Operation: 29+77=106 Exploring Operation: 78-77=1, Resulting Numbers: [29, 1] Generated Node #0,2,1: 87:[29, 1] Operation: 78-77=1 Exploring Operation: 77-29=48, Resulting Numbers: [78, 48] Generated Node #0,2,2: 87:[78, 48] Operation: 77-29=48 Moving to Node #0,0 Current State: 87:[13, 29, 14], Operations: ['78-64=14'] Exploring Operation: 29-14=15, Resulting Numbers: [13, 15] Generated Node #0,0,0: 87:[13, 15] Operation: 29-14=15 Exploring Operation: 14-13=1, Resulting Numbers: [29, 1] Generated Node #0,0,1: 87:[29, 1] Operation: 14-13=1 Exploring Operation: 13+14=27, Resulting Numbers: [29, 27] Generated Node #0,0,2: 87:[29, 27] Operation: 13+14=27 Moving to Node #0,1 Current State: 87:[13, 78, 93], Operations: ['64+29=93'] Exploring Operation: 93-13=80, Resulting Numbers: [78, 80] Generated Node #0,1,0: 87:[78, 80] Operation: 93-13=80 Exploring Operation: 13+78=91, Resulting Numbers: [93, 91] Generated Node #0,1,1: 87:[93, 91] Operation: 13+78=91 Exploring Operation: 78/13=6, Resulting Numbers: [93, 6] Generated Node #0,1,2: 87:[93, 6] Operation: 78/13=6 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 87:[93, 6], Operations: ['64+29=93', '78/13=6'] Exploring Operation: 93*6=558, Resulting Numbers: [558] 558,87 unequal: No Solution Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[13, 64, 29, 78], Operations: [] Exploring Operation: 64+29=93, Resulting Numbers: [13, 78, 93] Generated Node #0,1: 87:[13, 78, 93] Operation: 64+29=93 Moving to Node #0,1 Current State: 87:[13, 78, 93], Operations: ['64+29=93'] Exploring Operation: 78/13=6, Resulting Numbers: [93, 6] Generated Node #0,1,2: 87:[93, 6] Operation: 78/13=6 Moving to Node #0,1,2 Current State: 87:[93, 6], Operations: ['64+29=93', '78/13=6'] Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 10, 37, 17, 43 ]
90
[ "10*17=170", "37+43=80", "170-80=90" ]
Current State: 90:[10, 37, 17, 43], Operations: [] Exploring Operation: 10*17=170, Resulting Numbers: [37, 43, 170] Generated Node #2: [37, 43, 170] from Operation: 10*17=170 Current State: 90:[37, 43, 170], Operations: ['10*17=170'] Exploring Operation: 37+43=80, Resulting Numbers: [170, 80] Generated Node #3: [170, 80] from Operation: 37+43=80 Current State: 90:[170, 80], Operations: ['10*17=170', '37+43=80'] Exploring Operation: 170-80=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[10, 37, 17, 43], Operations: [] Exploring Operation: 43-37=6, Resulting Numbers: [10, 17, 6] Generated Node #0,0: 90:[10, 17, 6] Operation: 43-37=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[10, 17, 6], Operations: ['43-37=6'] Exploring Operation: 17-10=7, Resulting Numbers: [6, 7] Generated Node #0,0,0: 90:[6, 7] Operation: 17-10=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[6, 7], Operations: ['43-37=6', '17-10=7'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 16, 60, 27, 64 ]
83
[ "64/16=4", "60+27=87", "87-4=83" ]
Current State: 83:[16, 60, 27, 64], Operations: [] Exploring Operation: 64/16=4, Resulting Numbers: [60, 27, 4] Generated Node #2: [60, 27, 4] from Operation: 64/16=4 Current State: 83:[60, 27, 4], Operations: ['64/16=4'] Exploring Operation: 60+27=87, Resulting Numbers: [4, 87] Generated Node #3: [4, 87] from Operation: 60+27=87 Current State: 83:[4, 87], Operations: ['64/16=4', '60+27=87'] Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[16, 60, 27, 64], Operations: [] Exploring Operation: 16+64=80, Resulting Numbers: [60, 27, 80] Generated Node #0,0: 83:[60, 27, 80] Operation: 16+64=80 Exploring Operation: 27+64=91, Resulting Numbers: [16, 60, 91] Generated Node #0,1: 83:[16, 60, 91] Operation: 27+64=91 Exploring Operation: 16+60=76, Resulting Numbers: [27, 64, 76] Generated Node #0,2: 83:[27, 64, 76] Operation: 16+60=76 Exploring Operation: 60+27=87, Resulting Numbers: [16, 64, 87] Generated Node #0,3: 83:[16, 64, 87] Operation: 60+27=87 Exploring Operation: 16+27=43, Resulting Numbers: [60, 64, 43] Generated Node #0,4: 83:[60, 64, 43] Operation: 16+27=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[60, 27, 80], Operations: ['16+64=80'] Exploring Operation: 60-27=33, Resulting Numbers: [80, 33] Generated Node #0,0,0: 83:[80, 33] Operation: 60-27=33 Exploring Operation: 60+80=140, Resulting Numbers: [27, 140] Generated Node #0,0,1: 83:[27, 140] Operation: 60+80=140 Exploring Operation: 80-27=53, Resulting Numbers: [60, 53] Generated Node #0,0,2: 83:[60, 53] Operation: 80-27=53 Exploring Operation: 60+27=87, Resulting Numbers: [80, 87] Generated Node #0,0,3: 83:[80, 87] Operation: 60+27=87 Exploring Operation: 27+80=107, Resulting Numbers: [60, 107] Generated Node #0,0,4: 83:[60, 107] Operation: 27+80=107 Moving to Node #0,0,3 Current State: 83:[80, 87], Operations: ['16+64=80', '60+27=87'] Exploring Operation: 80+87=167, Resulting Numbers: [167] 167,83 unequal: No Solution Exploring Operation: 80*87=6960, Resulting Numbers: [6960] 6960,83 unequal: No Solution Exploring Operation: 87-80=7, Resulting Numbers: [7] 7,83 unequal: No Solution Moving to Node #0,0,4 Current State: 83:[60, 107], Operations: ['16+64=80', '27+80=107'] Exploring Operation: 60*107=6420, Resulting Numbers: [6420] 6420,83 unequal: No Solution Exploring Operation: 60+107=167, Resulting Numbers: [167] 167,83 unequal: No Solution Exploring Operation: 107-60=47, Resulting Numbers: [47] 47,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[80, 33], Operations: ['16+64=80', '60-27=33'] Exploring Operation: 80-33=47, Resulting Numbers: [47] 47,83 unequal: No Solution Exploring Operation: 80+33=113, Resulting Numbers: [113] 113,83 unequal: No Solution Exploring Operation: 80*33=2640, Resulting Numbers: [2640] 2640,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[60, 53], Operations: ['16+64=80', '80-27=53'] Exploring Operation: 60+53=113, Resulting Numbers: [113] 113,83 unequal: No Solution Exploring Operation: 60*53=3180, Resulting Numbers: [3180] 3180,83 unequal: No Solution Exploring Operation: 60-53=7, Resulting Numbers: [7] 7,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[27, 140], Operations: ['16+64=80', '60+80=140'] Exploring Operation: 27*140=3780, Resulting Numbers: [3780] 3780,83 unequal: No Solution Exploring Operation: 140-27=113, Resulting Numbers: [113] 113,83 unequal: No Solution Exploring Operation: 27+140=167, Resulting Numbers: [167] 167,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:[27, 64, 76], Operations: ['16+60=76'] Exploring Operation: 27+64=91, Resulting Numbers: [76, 91] Generated Node #0,2,0: 83:[76, 91] Operation: 27+64=91 Exploring Operation: 64+76=140, Resulting Numbers: [27, 140] Generated Node #0,2,1: 83:[27, 140] Operation: 64+76=140 Exploring Operation: 64-27=37, Resulting Numbers: [76, 37] Generated Node #0,2,2: 83:[76, 37] Operation: 64-27=37 Exploring Operation: 27+76=103, Resulting Numbers: [64, 103] Generated Node #0,2,3: 83:[64, 103] Operation: 27+76=103 Exploring Operation: 76-27=49, Resulting Numbers: [64, 49] Generated Node #0,2,4: 83:[64, 49] Operation: 76-27=49 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 83:[76, 91], Operations: ['16+60=76', '27+64=91'] Exploring Operation: 76*91=6916, Resulting Numbers: [6916] 6916,83 unequal: No Solution Exploring Operation: 91-76=15, Resulting Numbers: [15] 15,83 unequal: No Solution Exploring Operation: 76+91=167, Resulting Numbers: [167] 167,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,2,3 Current State: 83:[64, 103], Operations: ['16+60=76', '27+76=103'] Exploring Operation: 64+103=167, Resulting Numbers: [167] 167,83 unequal: No Solution Exploring Operation: 64*103=6592, Resulting Numbers: [6592] 6592,83 unequal: No Solution Exploring Operation: 103-64=39, Resulting Numbers: [39] 39,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,2,2 Current State: 83:[76, 37], Operations: ['16+60=76', '64-27=37'] Exploring Operation: 76-37=39, Resulting Numbers: [39] 39,83 unequal: No Solution Exploring Operation: 76+37=113, Resulting Numbers: [113] 113,83 unequal: No Solution Exploring Operation: 76*37=2812, Resulting Numbers: [2812] 2812,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,2,4 Current State: 83:[64, 49], Operations: ['16+60=76', '76-27=49'] Exploring Operation: 64*49=3136, Resulting Numbers: [3136] 3136,83 unequal: No Solution Exploring Operation: 64+49=113, Resulting Numbers: [113] 113,83 unequal: No Solution Exploring Operation: 64-49=15, Resulting Numbers: [15] 15,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,2,1 Current State: 83:[27, 140], Operations: ['16+60=76', '64+76=140'] Exploring Operation: 27*140=3780, Resulting Numbers: [3780] 3780,83 unequal: No Solution Exploring Operation: 27+140=167, Resulting Numbers: [167] 167,83 unequal: No Solution Exploring Operation: 140-27=113, Resulting Numbers: [113] 113,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,4 Current State: 83:[60, 64, 43], Operations: ['16+27=43'] Exploring Operation: 64-43=21, Resulting Numbers: [60, 21] Generated Node #0,4,0: 83:[60, 21] Operation: 64-43=21 Exploring Operation: 64+43=107, Resulting Numbers: [60, 107] Generated Node #0,4,1: 83:[60, 107] Operation: 64+43=107 Exploring Operation: 60+43=103, Resulting Numbers: [64, 103] Generated Node #0,4,2: 83:[64, 103] Operation: 60+43=103 Exploring Operation: 60-43=17, Resulting Numbers: [64, 17] Generated Node #0,4,3: 83:[64, 17] Operation: 60-43=17 Exploring Operation: 60+64=124, Resulting Numbers: [43, 124] Generated Node #0,4,4: 83:[43, 124] Operation: 60+64=124 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 83:[64, 103], Operations: ['16+27=43', '60+43=103'] Exploring Operation: 103-64=39, Resulting Numbers: [39] 39,83 unequal: No Solution Exploring Operation: 64+103=167, Resulting Numbers: [167] 167,83 unequal: No Solution Exploring Operation: 64*103=6592, Resulting Numbers: [6592] 6592,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,4,1 Current State: 83:[60, 107], Operations: ['16+27=43', '64+43=107'] Exploring Operation: 60*107=6420, Resulting Numbers: [6420] 6420,83 unequal: No Solution Exploring Operation: 107-60=47, Resulting Numbers: [47] 47,83 unequal: No Solution Exploring Operation: 60+107=167, Resulting Numbers: [167] 167,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,4,4 Current State: 83:[43, 124], Operations: ['16+27=43', '60+64=124'] Exploring Operation: 124-43=81, Resulting Numbers: [81] 81,83 unequal: No Solution Exploring Operation: 43+124=167, Resulting Numbers: [167] 167,83 unequal: No Solution Exploring Operation: 43*124=5332, Resulting Numbers: [5332] 5332,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,4,0 Current State: 83:[60, 21], Operations: ['16+27=43', '64-43=21'] Exploring Operation: 60+21=81, Resulting Numbers: [81] 81,83 unequal: No Solution Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,83 unequal: No Solution Exploring Operation: 60*21=1260, Resulting Numbers: [1260] 1260,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,4,3 Current State: 83:[64, 17], Operations: ['16+27=43', '60-43=17'] Exploring Operation: 64+17=81, Resulting Numbers: [81] 81,83 unequal: No Solution Exploring Operation: 64-17=47, Resulting Numbers: [47] 47,83 unequal: No Solution Exploring Operation: 64*17=1088, Resulting Numbers: [1088] 1088,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,3 Current State: 83:[16, 64, 87], Operations: ['60+27=87'] Exploring Operation: 64/16=4, Resulting Numbers: [87, 4] Generated Node #0,3,0: 83:[87, 4] Operation: 64/16=4 Exploring Operation: 64-16=48, Resulting Numbers: [87, 48] Generated Node #0,3,1: 83:[87, 48] Operation: 64-16=48 Exploring Operation: 87-16=71, Resulting Numbers: [64, 71] Generated Node #0,3,2: 83:[64, 71] Operation: 87-16=71 Exploring Operation: 16+87=103, Resulting Numbers: [64, 103] Generated Node #0,3,3: 83:[64, 103] Operation: 16+87=103 Exploring Operation: 16+64=80, Resulting Numbers: [87, 80] Generated Node #0,3,4: 83:[87, 80] Operation: 16+64=80 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 83:[87, 80], Operations: ['60+27=87', '16+64=80'] Exploring Operation: 87*80=6960, Resulting Numbers: [6960] 6960,83 unequal: No Solution Exploring Operation: 87-80=7, Resulting Numbers: [7] 7,83 unequal: No Solution Exploring Operation: 87+80=167, Resulting Numbers: [167] 167,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:[64, 71], Operations: ['60+27=87', '87-16=71'] Exploring Operation: 71-64=7, Resulting Numbers: [7] 7,83 unequal: No Solution Exploring Operation: 64*71=4544, Resulting Numbers: [4544] 4544,83 unequal: No Solution Exploring Operation: 64+71=135, Resulting Numbers: [135] 135,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,1 Current State: 83:[87, 48], Operations: ['60+27=87', '64-16=48'] Exploring Operation: 87+48=135, Resulting Numbers: [135] 135,83 unequal: No Solution Exploring Operation: 87-48=39, Resulting Numbers: [39] 39,83 unequal: No Solution Exploring Operation: 87*48=4176, Resulting Numbers: [4176] 4176,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:[64, 103], Operations: ['60+27=87', '16+87=103'] Exploring Operation: 103-64=39, Resulting Numbers: [39] 39,83 unequal: No Solution Exploring Operation: 64+103=167, Resulting Numbers: [167] 167,83 unequal: No Solution Exploring Operation: 64*103=6592, Resulting Numbers: [6592] 6592,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:[87, 4], Operations: ['60+27=87', '64/16=4'] Exploring Operation: 87*4=348, Resulting Numbers: [348] 348,83 unequal: No Solution Exploring Operation: 87+4=91, Resulting Numbers: [91] 91,83 unequal: No Solution Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[16, 60, 27, 64], Operations: [] Exploring Operation: 60+27=87, Resulting Numbers: [16, 64, 87] Generated Node #0,3: 83:[16, 64, 87] Operation: 60+27=87 Moving to Node #0,3 Current State: 83:[16, 64, 87], Operations: ['60+27=87'] Exploring Operation: 64/16=4, Resulting Numbers: [87, 4] Generated Node #0,3,0: 83:[87, 4] Operation: 64/16=4 Moving to Node #0,3,0 Current State: 83:[87, 4], Operations: ['60+27=87', '64/16=4'] Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.922743
hs_5
sum_heuristic
[ 62, 4, 15, 45 ]
53
[ "62-45=17", "4*17=68", "68-15=53" ]
Current State: 53:[62, 4, 15, 45], Operations: [] Exploring Operation: 62-45=17, Resulting Numbers: [4, 15, 17] Generated Node #2: [4, 15, 17] from Operation: 62-45=17 Current State: 53:[4, 15, 17], Operations: ['62-45=17'] Exploring Operation: 4*17=68, Resulting Numbers: [15, 68] Generated Node #3: [15, 68] from Operation: 4*17=68 Current State: 53:[15, 68], Operations: ['62-45=17', '4*17=68'] Exploring Operation: 68-15=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[62, 4, 15, 45], Operations: [] Exploring Operation: 4+15=19, Resulting Numbers: [62, 45, 19] Generated Node #0,0: 53:[62, 45, 19] Operation: 4+15=19 Exploring Operation: 62-4=58, Resulting Numbers: [15, 45, 58] Generated Node #0,1: 53:[15, 45, 58] Operation: 62-4=58 Exploring Operation: 4*15=60, Resulting Numbers: [62, 45, 60] Generated Node #0,2: 53:[62, 45, 60] Operation: 4*15=60 Exploring Operation: 4+45=49, Resulting Numbers: [62, 15, 49] Generated Node #0,3: 53:[62, 15, 49] Operation: 4+45=49 Exploring Operation: 62+4=66, Resulting Numbers: [15, 45, 66] Generated Node #0,4: 53:[15, 45, 66] Operation: 62+4=66 Moving to Node #0,2 Current State: 53:[62, 45, 60], Operations: ['4*15=60'] Exploring Operation: 62-45=17, Resulting Numbers: [60, 17] Generated Node #0,2,0: 53:[60, 17] Operation: 62-45=17 Exploring Operation: 62-60=2, Resulting Numbers: [45, 2] Generated Node #0,2,1: 53:[45, 2] Operation: 62-60=2 Exploring Operation: 60-45=15, Resulting Numbers: [62, 15] Generated Node #0,2,2: 53:[62, 15] Operation: 60-45=15 Exploring Operation: 45+60=105, Resulting Numbers: [62, 105] Generated Node #0,2,3: 53:[62, 105] Operation: 45+60=105 Exploring Operation: 62+45=107, Resulting Numbers: [60, 107] Generated Node #0,2,4: 53:[60, 107] Operation: 62+45=107 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 53:[60, 17], Operations: ['4*15=60', '62-45=17'] Exploring Operation: 60-17=43, Resulting Numbers: [43] 43,53 unequal: No Solution Exploring Operation: 60*17=1020, Resulting Numbers: [1020] 1020,53 unequal: No Solution Exploring Operation: 60+17=77, Resulting Numbers: [77] 77,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 53:[62, 15], Operations: ['4*15=60', '60-45=15'] Exploring Operation: 62-15=47, Resulting Numbers: [47] 47,53 unequal: No Solution Exploring Operation: 62*15=930, Resulting Numbers: [930] 930,53 unequal: No Solution Exploring Operation: 62+15=77, Resulting Numbers: [77] 77,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 53:[45, 2], Operations: ['4*15=60', '62-60=2'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,53 unequal: No Solution Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,53 unequal: No Solution Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 53:[62, 105], Operations: ['4*15=60', '45+60=105'] Exploring Operation: 62*105=6510, Resulting Numbers: [6510] 6510,53 unequal: No Solution Exploring Operation: 62+105=167, Resulting Numbers: [167] 167,53 unequal: No Solution Exploring Operation: 105-62=43, Resulting Numbers: [43] 43,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 53:[60, 107], Operations: ['4*15=60', '62+45=107'] Exploring Operation: 60+107=167, Resulting Numbers: [167] 167,53 unequal: No Solution Exploring Operation: 107-60=47, Resulting Numbers: [47] 47,53 unequal: No Solution Exploring Operation: 60*107=6420, Resulting Numbers: [6420] 6420,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 53:[15, 45, 58], Operations: ['62-4=58'] Exploring Operation: 45-15=30, Resulting Numbers: [58, 30] Generated Node #0,1,0: 53:[58, 30] Operation: 45-15=30 Exploring Operation: 58-15=43, Resulting Numbers: [45, 43] Generated Node #0,1,1: 53:[45, 43] Operation: 58-15=43 Exploring Operation: 15+45=60, Resulting Numbers: [58, 60] Generated Node #0,1,2: 53:[58, 60] Operation: 15+45=60 Exploring Operation: 45/15=3, Resulting Numbers: [58, 3] Generated Node #0,1,3: 53:[58, 3] Operation: 45/15=3 Exploring Operation: 15+58=73, Resulting Numbers: [45, 73] Generated Node #0,1,4: 53:[45, 73] Operation: 15+58=73 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 53:[58, 60], Operations: ['62-4=58', '15+45=60'] Exploring Operation: 58+60=118, Resulting Numbers: [118] 118,53 unequal: No Solution Exploring Operation: 60-58=2, Resulting Numbers: [2] 2,53 unequal: No Solution Exploring Operation: 58*60=3480, Resulting Numbers: [3480] 3480,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[45, 43], Operations: ['62-4=58', '58-15=43'] Exploring Operation: 45-43=2, Resulting Numbers: [2] 2,53 unequal: No Solution Exploring Operation: 45*43=1935, Resulting Numbers: [1935] 1935,53 unequal: No Solution Exploring Operation: 45+43=88, Resulting Numbers: [88] 88,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[58, 30], Operations: ['62-4=58', '45-15=30'] Exploring Operation: 58-30=28, Resulting Numbers: [28] 28,53 unequal: No Solution Exploring Operation: 58*30=1740, Resulting Numbers: [1740] 1740,53 unequal: No Solution Exploring Operation: 58+30=88, Resulting Numbers: [88] 88,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 53:[45, 73], Operations: ['62-4=58', '15+58=73'] Exploring Operation: 73-45=28, Resulting Numbers: [28] 28,53 unequal: No Solution Exploring Operation: 45*73=3285, Resulting Numbers: [3285] 3285,53 unequal: No Solution Exploring Operation: 45+73=118, Resulting Numbers: [118] 118,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 53:[58, 3], Operations: ['62-4=58', '45/15=3'] Exploring Operation: 58*3=174, Resulting Numbers: [174] 174,53 unequal: No Solution Exploring Operation: 58+3=61, Resulting Numbers: [61] 61,53 unequal: No Solution Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,53 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: 53:[62, 45, 19], Operations: ['4+15=19'] Exploring Operation: 45-19=26, Resulting Numbers: [62, 26] Generated Node #0,0,0: 53:[62, 26] Operation: 45-19=26 Exploring Operation: 62-19=43, Resulting Numbers: [45, 43] Generated Node #0,0,1: 53:[45, 43] Operation: 62-19=43 Exploring Operation: 45+19=64, Resulting Numbers: [62, 64] Generated Node #0,0,2: 53:[62, 64] Operation: 45+19=64 Exploring Operation: 62-45=17, Resulting Numbers: [19, 17] Generated Node #0,0,3: 53:[19, 17] Operation: 62-45=17 Exploring Operation: 62+19=81, Resulting Numbers: [45, 81] Generated Node #0,0,4: 53:[45, 81] Operation: 62+19=81 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[45, 43], Operations: ['4+15=19', '62-19=43'] Exploring Operation: 45*43=1935, Resulting Numbers: [1935] 1935,53 unequal: No Solution Exploring Operation: 45-43=2, Resulting Numbers: [2] 2,53 unequal: No Solution Exploring Operation: 45+43=88, Resulting Numbers: [88] 88,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 53:[62, 64], Operations: ['4+15=19', '45+19=64'] Exploring Operation: 62*64=3968, Resulting Numbers: [3968] 3968,53 unequal: No Solution Exploring Operation: 62+64=126, Resulting Numbers: [126] 126,53 unequal: No Solution Exploring Operation: 64-62=2, Resulting Numbers: [2] 2,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[62, 26], Operations: ['4+15=19', '45-19=26'] Exploring Operation: 62-26=36, Resulting Numbers: [36] 36,53 unequal: No Solution Exploring Operation: 62+26=88, Resulting Numbers: [88] 88,53 unequal: No Solution Exploring Operation: 62*26=1612, Resulting Numbers: [1612] 1612,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 53:[45, 81], Operations: ['4+15=19', '62+19=81'] Exploring Operation: 45*81=3645, Resulting Numbers: [3645] 3645,53 unequal: No Solution Exploring Operation: 45+81=126, Resulting Numbers: [126] 126,53 unequal: No Solution Exploring Operation: 81-45=36, Resulting Numbers: [36] 36,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 53:[19, 17], Operations: ['4+15=19', '62-45=17'] Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,53 unequal: No Solution Exploring Operation: 19*17=323, Resulting Numbers: [323] 323,53 unequal: No Solution Exploring Operation: 19+17=36, Resulting Numbers: [36] 36,53 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: 53:[62, 15, 49], Operations: ['4+45=49'] Exploring Operation: 62-49=13, Resulting Numbers: [15, 13] Generated Node #0,3,0: 53:[15, 13] Operation: 62-49=13 Exploring Operation: 49-15=34, Resulting Numbers: [62, 34] Generated Node #0,3,1: 53:[62, 34] Operation: 49-15=34 Exploring Operation: 62+15=77, Resulting Numbers: [49, 77] Generated Node #0,3,2: 53:[49, 77] Operation: 62+15=77 Exploring Operation: 62-15=47, Resulting Numbers: [49, 47] Generated Node #0,3,3: 53:[49, 47] Operation: 62-15=47 Exploring Operation: 15+49=64, Resulting Numbers: [62, 64] Generated Node #0,3,4: 53:[62, 64] Operation: 15+49=64 Moving to Node #0,4 Current State: 53:[15, 45, 66], Operations: ['62+4=66'] Exploring Operation: 45/15=3, Resulting Numbers: [66, 3] Generated Node #0,4,0: 53:[66, 3] Operation: 45/15=3 Exploring Operation: 45-15=30, Resulting Numbers: [66, 30] Generated Node #0,4,1: 53:[66, 30] Operation: 45-15=30 Exploring Operation: 15+45=60, Resulting Numbers: [66, 60] Generated Node #0,4,2: 53:[66, 60] Operation: 15+45=60 Exploring Operation: 15+66=81, Resulting Numbers: [45, 81] Generated Node #0,4,3: 53:[45, 81] Operation: 15+66=81 Exploring Operation: 66-15=51, Resulting Numbers: [45, 51] Generated Node #0,4,4: 53:[45, 51] Operation: 66-15=51 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 53:[45, 51], Operations: ['62+4=66', '66-15=51'] Exploring Operation: 45*51=2295, Resulting Numbers: [2295] 2295,53 unequal: No Solution Exploring Operation: 51-45=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 45+51=96, Resulting Numbers: [96] 96,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 53:[66, 60], Operations: ['62+4=66', '15+45=60'] Exploring Operation: 66*60=3960, Resulting Numbers: [3960] 3960,53 unequal: No Solution Exploring Operation: 66+60=126, Resulting Numbers: [126] 126,53 unequal: No Solution Exploring Operation: 66-60=6, Resulting Numbers: [6] 6,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 53:[66, 30], Operations: ['62+4=66', '45-15=30'] Exploring Operation: 66+30=96, Resulting Numbers: [96] 96,53 unequal: No Solution Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,53 unequal: No Solution Exploring Operation: 66*30=1980, Resulting Numbers: [1980] 1980,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 53:[45, 81], Operations: ['62+4=66', '15+66=81'] Exploring Operation: 45+81=126, Resulting Numbers: [126] 126,53 unequal: No Solution Exploring Operation: 81-45=36, Resulting Numbers: [36] 36,53 unequal: No Solution Exploring Operation: 45*81=3645, Resulting Numbers: [3645] 3645,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 53:[66, 3], Operations: ['62+4=66', '45/15=3'] Exploring Operation: 66*3=198, Resulting Numbers: [198] 198,53 unequal: No Solution Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,53 unequal: No Solution Exploring Operation: 66+3=69, Resulting Numbers: [69] 69,53 unequal: No Solution Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,3 Current State: 53:[49, 47], Operations: ['4+45=49', '62-15=47'] Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,53 unequal: No Solution Exploring Operation: 49+47=96, Resulting Numbers: [96] 96,53 unequal: No Solution Exploring Operation: 49*47=2303, Resulting Numbers: [2303] 2303,53 unequal: No Solution Moving to Node #0,3,4 Current State: 53:[62, 64], Operations: ['4+45=49', '15+49=64'] Exploring Operation: 64-62=2, Resulting Numbers: [2] 2,53 unequal: No Solution Exploring Operation: 62+64=126, Resulting Numbers: [126] 126,53 unequal: No Solution Exploring Operation: 62*64=3968, Resulting Numbers: [3968] 3968,53 unequal: No Solution Moving to Node #0,3,1 Current State: 53:[62, 34], Operations: ['4+45=49', '49-15=34'] Exploring Operation: 62*34=2108, Resulting Numbers: [2108] 2108,53 unequal: No Solution Exploring Operation: 62-34=28, Resulting Numbers: [28] 28,53 unequal: No Solution Exploring Operation: 62+34=96, Resulting Numbers: [96] 96,53 unequal: No Solution Moving to Node #0,3,2 Current State: 53:[49, 77], Operations: ['4+45=49', '62+15=77'] Exploring Operation: 49+77=126, Resulting Numbers: [126] 126,53 unequal: No Solution Exploring Operation: 49*77=3773, Resulting Numbers: [3773] 3773,53 unequal: No Solution Exploring Operation: 77-49=28, Resulting Numbers: [28] 28,53 unequal: No Solution Moving to Node #0,3,0 Current State: 53:[15, 13], Operations: ['4+45=49', '62-49=13'] Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,53 unequal: No Solution Exploring Operation: 15*13=195, Resulting Numbers: [195] 195,53 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,53 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 48, 99, 72, 8 ]
74
[ "48*99=4752", "4752/72=66", "8+66=74" ]
Current State: 74:[48, 99, 72, 8], Operations: [] Exploring Operation: 48*99=4752, Resulting Numbers: [72, 8, 4752] Generated Node #2: [72, 8, 4752] from Operation: 48*99=4752 Current State: 74:[72, 8, 4752], Operations: ['48*99=4752'] Exploring Operation: 4752/72=66, Resulting Numbers: [8, 66] Generated Node #3: [8, 66] from Operation: 4752/72=66 Current State: 74:[8, 66], Operations: ['48*99=4752', '4752/72=66'] Exploring Operation: 8+66=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[48, 99, 72, 8], Operations: [] Exploring Operation: 99-48=51, Resulting Numbers: [72, 8, 51] Generated Node #0,0: 74:[72, 8, 51] Operation: 99-48=51 Moving to Node #0,0 Current State: 74:[72, 8, 51], Operations: ['99-48=51'] Exploring Operation: 51-8=43, Resulting Numbers: [72, 43] Generated Node #0,0,0: 74:[72, 43] Operation: 51-8=43 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[72, 43], Operations: ['99-48=51', '51-8=43'] Exploring Operation: 72-43=29, Resulting Numbers: [29] 29,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 38, 4, 35, 90 ]
83
[ "38+4=42", "35+90=125", "125-42=83" ]
Current State: 83:[38, 4, 35, 90], Operations: [] Exploring Operation: 38+4=42, Resulting Numbers: [35, 90, 42] Generated Node #2: [35, 90, 42] from Operation: 38+4=42 Current State: 83:[35, 90, 42], Operations: ['38+4=42'] Exploring Operation: 35+90=125, Resulting Numbers: [42, 125] Generated Node #3: [42, 125] from Operation: 35+90=125 Current State: 83:[42, 125], Operations: ['38+4=42', '35+90=125'] Exploring Operation: 125-42=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[38, 4, 35, 90], Operations: [] Exploring Operation: 38+4=42, Resulting Numbers: [35, 90, 42] Generated Node #0,0: 83:[35, 90, 42] Operation: 38+4=42 Moving to Node #0,0 Current State: 83:[35, 90, 42], Operations: ['38+4=42'] Exploring Operation: 35+42=77, Resulting Numbers: [90, 77] Generated Node #0,0,0: 83:[90, 77] Operation: 35+42=77 Moving to Node #0,0,0 Current State: 83:[90, 77], Operations: ['38+4=42', '35+42=77'] Exploring Operation: 90-77=13, Resulting Numbers: [13] 13,83 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 18, 50, 68, 5 ]
72
[ "18*5=90", "68-50=18", "90-18=72" ]
Current State: 72:[18, 50, 68, 5], Operations: [] Exploring Operation: 18*5=90, Resulting Numbers: [50, 68, 90] Generated Node #2: [50, 68, 90] from Operation: 18*5=90 Current State: 72:[50, 68, 90], Operations: ['18*5=90'] Exploring Operation: 68-50=18, Resulting Numbers: [90, 18] Generated Node #3: [90, 18] from Operation: 68-50=18 Current State: 72:[90, 18], Operations: ['18*5=90', '68-50=18'] Exploring Operation: 90-18=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[18, 50, 68, 5], Operations: [] Exploring Operation: 68-50=18, Resulting Numbers: [18, 5, 18] Generated Node #0,0: 72:[18, 5, 18] Operation: 68-50=18 Moving to Node #0,0 Current State: 72:[18, 5, 18], Operations: ['68-50=18'] Exploring Operation: 18+5=23, Resulting Numbers: [18, 23] Generated Node #0,0,0: 72:[18, 23] Operation: 18+5=23 Moving to Node #0,0,0 Current State: 72:[18, 23], Operations: ['68-50=18', '18+5=23'] Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,72 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 27, 35, 6, 3 ]
65
[ "27+35=62", "6-3=3", "62+3=65" ]
Current State: 65:[27, 35, 6, 3], Operations: [] Exploring Operation: 27+35=62, Resulting Numbers: [6, 3, 62] Generated Node #2: [6, 3, 62] from Operation: 27+35=62 Current State: 65:[6, 3, 62], Operations: ['27+35=62'] Exploring Operation: 6-3=3, Resulting Numbers: [62, 3] Generated Node #3: [62, 3] from Operation: 6-3=3 Current State: 65:[62, 3], Operations: ['27+35=62', '6-3=3'] Exploring Operation: 62+3=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[27, 35, 6, 3], Operations: [] Exploring Operation: 35-6=29, Resulting Numbers: [27, 3, 29] Generated Node #0,0: 65:[27, 3, 29] Operation: 35-6=29 Exploring Operation: 35-27=8, Resulting Numbers: [6, 3, 8] Generated Node #0,1: 65:[6, 3, 8] Operation: 35-27=8 Exploring Operation: 27+35=62, Resulting Numbers: [6, 3, 62] Generated Node #0,2: 65:[6, 3, 62] Operation: 27+35=62 Exploring Operation: 27-6=21, Resulting Numbers: [35, 3, 21] Generated Node #0,3: 65:[35, 3, 21] Operation: 27-6=21 Exploring Operation: 27/3=9, Resulting Numbers: [35, 6, 9] Generated Node #0,4: 65:[35, 6, 9] Operation: 27/3=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[6, 3, 8], Operations: ['35-27=8'] Exploring Operation: 6+8=14, Resulting Numbers: [3, 14] Generated Node #0,1,0: 65:[3, 14] Operation: 6+8=14 Exploring Operation: 6-3=3, Resulting Numbers: [8, 3] Generated Node #0,1,1: 65:[8, 3] Operation: 6-3=3 Exploring Operation: 8-6=2, Resulting Numbers: [3, 2] Generated Node #0,1,2: 65:[3, 2] Operation: 8-6=2 Exploring Operation: 3+8=11, Resulting Numbers: [6, 11] Generated Node #0,1,3: 65:[6, 11] Operation: 3+8=11 Exploring Operation: 8-3=5, Resulting Numbers: [6, 5] Generated Node #0,1,4: 65:[6, 5] Operation: 8-3=5 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 65:[6, 5], Operations: ['35-27=8', '8-3=5'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,65 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 65:[3, 14], Operations: ['35-27=8', '6+8=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,65 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,65 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 65:[6, 11], Operations: ['35-27=8', '3+8=11'] Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,65 unequal: No Solution Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,65 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 65:[8, 3], Operations: ['35-27=8', '6-3=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,65 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,65 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 65:[3, 2], Operations: ['35-27=8', '8-6=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,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:[6, 3, 62], Operations: ['27+35=62'] Exploring Operation: 6+62=68, Resulting Numbers: [3, 68] Generated Node #0,2,0: 65:[3, 68] Operation: 6+62=68 Exploring Operation: 6+3=9, Resulting Numbers: [62, 9] Generated Node #0,2,1: 65:[62, 9] Operation: 6+3=9 Exploring Operation: 6/3=2, Resulting Numbers: [62, 2] Generated Node #0,2,2: 65:[62, 2] Operation: 6/3=2 Exploring Operation: 3+62=65, Resulting Numbers: [6, 65] Generated Node #0,2,3: 65:[6, 65] Operation: 3+62=65 Exploring Operation: 6-3=3, Resulting Numbers: [62, 3] Generated Node #0,2,4: 65:[62, 3] Operation: 6-3=3 Moving to Node #0,2,3 Current State: 65:[6, 65], Operations: ['27+35=62', '3+62=65'] Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,65 unequal: No Solution Exploring Operation: 6+65=71, Resulting Numbers: [71] 71,65 unequal: No Solution Exploring Operation: 6*65=390, Resulting Numbers: [390] 390,65 unequal: No Solution Moving to Node #0,2,4 Current State: 65:[62, 3], Operations: ['27+35=62', '6-3=3'] Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,65 unequal: No Solution Exploring Operation: 62*3=186, Resulting Numbers: [186] 186,65 unequal: No Solution Exploring Operation: 62+3=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[27, 35, 6, 3], Operations: [] Exploring Operation: 27+35=62, Resulting Numbers: [6, 3, 62] Generated Node #0,2: 65:[6, 3, 62] Operation: 27+35=62 Moving to Node #0,2 Current State: 65:[6, 3, 62], Operations: ['27+35=62'] Exploring Operation: 6-3=3, Resulting Numbers: [62, 3] Generated Node #0,2,4: 65:[62, 3] Operation: 6-3=3 Moving to Node #0,2,4 Current State: 65:[62, 3], Operations: ['27+35=62', '6-3=3'] Exploring Operation: 62+3=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_5
sum_heuristic
[ 13, 73, 9, 42 ]
53
[ "13+73=86", "42-9=33", "86-33=53" ]
Current State: 53:[13, 73, 9, 42], Operations: [] Exploring Operation: 13+73=86, Resulting Numbers: [9, 42, 86] Generated Node #2: [9, 42, 86] from Operation: 13+73=86 Current State: 53:[9, 42, 86], Operations: ['13+73=86'] Exploring Operation: 42-9=33, Resulting Numbers: [86, 33] Generated Node #3: [86, 33] from Operation: 42-9=33 Current State: 53:[86, 33], Operations: ['13+73=86', '42-9=33'] Exploring Operation: 86-33=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[13, 73, 9, 42], Operations: [] Exploring Operation: 73-13=60, Resulting Numbers: [9, 42, 60] Generated Node #0,0: 53:[9, 42, 60] Operation: 73-13=60 Exploring Operation: 13+9=22, Resulting Numbers: [73, 42, 22] Generated Node #0,1: 53:[73, 42, 22] Operation: 13+9=22 Moving to Node #0,0 Current State: 53:[9, 42, 60], Operations: ['73-13=60'] Exploring Operation: 9+42=51, Resulting Numbers: [60, 51] Generated Node #0,0,0: 53:[60, 51] Operation: 9+42=51 Exploring Operation: 60-9=51, Resulting Numbers: [42, 51] Generated Node #0,0,1: 53:[42, 51] Operation: 60-9=51 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[60, 51], Operations: ['73-13=60', '9+42=51'] Exploring Operation: 60+51=111, Resulting Numbers: [111] 111,53 unequal: No Solution Exploring Operation: 60-51=9, Resulting Numbers: [9] 9,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[42, 51], Operations: ['73-13=60', '60-9=51'] Exploring Operation: 51-42=9, Resulting Numbers: [9] 9,53 unequal: No Solution Exploring Operation: 42+51=93, Resulting Numbers: [93] 93,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 53:[73, 42, 22], Operations: ['13+9=22'] Exploring Operation: 73-22=51, Resulting Numbers: [42, 51] Generated Node #0,1,0: 53:[42, 51] Operation: 73-22=51 Exploring Operation: 42+22=64, Resulting Numbers: [73, 64] Generated Node #0,1,1: 53:[73, 64] Operation: 42+22=64 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[42, 51], Operations: ['13+9=22', '73-22=51'] Exploring Operation: 42+51=93, Resulting Numbers: [93] 93,53 unequal: No Solution Exploring Operation: 51-42=9, Resulting Numbers: [9] 9,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[73, 64], Operations: ['13+9=22', '42+22=64'] Exploring Operation: 73+64=137, Resulting Numbers: [137] 137,53 unequal: No Solution Exploring Operation: 73-64=9, Resulting Numbers: [9] 9,53 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
[ 91, 19, 5, 1 ]
66
[ "91-19=72", "5+1=6", "72-6=66" ]
Current State: 66:[91, 19, 5, 1], Operations: [] Exploring Operation: 91-19=72, Resulting Numbers: [5, 1, 72] Generated Node #2: [5, 1, 72] from Operation: 91-19=72 Current State: 66:[5, 1, 72], Operations: ['91-19=72'] Exploring Operation: 5+1=6, Resulting Numbers: [72, 6] Generated Node #3: [72, 6] from Operation: 5+1=6 Current State: 66:[72, 6], Operations: ['91-19=72', '5+1=6'] Exploring Operation: 72-6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[91, 19, 5, 1], Operations: [] Exploring Operation: 91-19=72, Resulting Numbers: [5, 1, 72] Generated Node #0,0: 66:[5, 1, 72] Operation: 91-19=72 Exploring Operation: 91-5=86, Resulting Numbers: [19, 1, 86] Generated Node #0,1: 66:[19, 1, 86] Operation: 91-5=86 Exploring Operation: 19+5=24, Resulting Numbers: [91, 1, 24] Generated Node #0,2: 66:[91, 1, 24] Operation: 19+5=24 Exploring Operation: 91-1=90, Resulting Numbers: [19, 5, 90] Generated Node #0,3: 66:[19, 5, 90] Operation: 91-1=90 Exploring Operation: 19+1=20, Resulting Numbers: [91, 5, 20] Generated Node #0,4: 66:[91, 5, 20] Operation: 19+1=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[5, 1, 72], Operations: ['91-19=72'] Exploring Operation: 72-1=71, Resulting Numbers: [5, 71] Generated Node #0,0,0: 66:[5, 71] Operation: 72-1=71 Exploring Operation: 5+1=6, Resulting Numbers: [72, 6] Generated Node #0,0,1: 66:[72, 6] Operation: 5+1=6 Exploring Operation: 72-5=67, Resulting Numbers: [1, 67] Generated Node #0,0,2: 66:[1, 67] Operation: 72-5=67 Exploring Operation: 5-1=4, Resulting Numbers: [72, 4] Generated Node #0,0,3: 66:[72, 4] Operation: 5-1=4 Exploring Operation: 5*1=5, Resulting Numbers: [72, 5] Generated Node #0,0,4: 66:[72, 5] Operation: 5*1=5 Moving to Node #0,0,2 Current State: 66:[1, 67], Operations: ['91-19=72', '72-5=67'] Exploring Operation: 67/1=67, Resulting Numbers: [67] 67,66 unequal: No Solution Exploring Operation: 67-1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[91, 19, 5, 1], Operations: [] Exploring Operation: 91-19=72, Resulting Numbers: [5, 1, 72] Generated Node #0,0: 66:[5, 1, 72] Operation: 91-19=72 Moving to Node #0,0 Current State: 66:[5, 1, 72], Operations: ['91-19=72'] Exploring Operation: 72-5=67, Resulting Numbers: [1, 67] Generated Node #0,0,2: 66:[1, 67] Operation: 72-5=67 Moving to Node #0,0,2 Current State: 66:[1, 67], Operations: ['91-19=72', '72-5=67'] Exploring Operation: 67-1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 20, 88, 19, 12 ]
16
[ "88-12=76", "76/19=4", "20-4=16" ]
Current State: 16:[20, 88, 19, 12], Operations: [] Exploring Operation: 88-12=76, Resulting Numbers: [20, 19, 76] Generated Node #2: [20, 19, 76] from Operation: 88-12=76 Current State: 16:[20, 19, 76], Operations: ['88-12=76'] Exploring Operation: 76/19=4, Resulting Numbers: [20, 4] Generated Node #3: [20, 4] from Operation: 76/19=4 Current State: 16:[20, 4], Operations: ['88-12=76', '76/19=4'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[20, 88, 19, 12], Operations: [] Exploring Operation: 20-19=1, Resulting Numbers: [88, 12, 1] Generated Node #0,0: 16:[88, 12, 1] Operation: 20-19=1 Exploring Operation: 88-20=68, Resulting Numbers: [19, 12, 68] Generated Node #0,1: 16:[19, 12, 68] Operation: 88-20=68 Exploring Operation: 20-12=8, Resulting Numbers: [88, 19, 8] Generated Node #0,2: 16:[88, 19, 8] Operation: 20-12=8 Exploring Operation: 88-19=69, Resulting Numbers: [20, 12, 69] Generated Node #0,3: 16:[20, 12, 69] Operation: 88-19=69 Exploring Operation: 88-12=76, Resulting Numbers: [20, 19, 76] Generated Node #0,4: 16:[20, 19, 76] Operation: 88-12=76 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[19, 12, 68], Operations: ['88-20=68'] Exploring Operation: 19-12=7, Resulting Numbers: [68, 7] Generated Node #0,1,0: 16:[68, 7] Operation: 19-12=7 Exploring Operation: 12+68=80, Resulting Numbers: [19, 80] Generated Node #0,1,1: 16:[19, 80] Operation: 12+68=80 Exploring Operation: 68-19=49, Resulting Numbers: [12, 49] Generated Node #0,1,2: 16:[12, 49] Operation: 68-19=49 Exploring Operation: 19+12=31, Resulting Numbers: [68, 31] Generated Node #0,1,3: 16:[68, 31] Operation: 19+12=31 Exploring Operation: 68-12=56, Resulting Numbers: [19, 56] Generated Node #0,1,4: 16:[19, 56] Operation: 68-12=56 Moving to Node #0,1,2 Current State: 16:[12, 49], Operations: ['88-20=68', '68-19=49'] Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,16 unequal: No Solution Exploring Operation: 12+49=61, Resulting Numbers: [61] 61,16 unequal: No Solution Exploring Operation: 12*49=588, Resulting Numbers: [588] 588,16 unequal: No Solution Moving to Node #0,1,4 Current State: 16:[19, 56], Operations: ['88-20=68', '68-12=56'] Exploring Operation: 56-19=37, Resulting Numbers: [37] 37,16 unequal: No Solution Exploring Operation: 19+56=75, Resulting Numbers: [75] 75,16 unequal: No Solution Exploring Operation: 19*56=1064, Resulting Numbers: [1064] 1064,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[68, 7], Operations: ['88-20=68', '19-12=7'] Exploring Operation: 68-7=61, Resulting Numbers: [61] 61,16 unequal: No Solution Exploring Operation: 68*7=476, Resulting Numbers: [476] 476,16 unequal: No Solution Exploring Operation: 68+7=75, Resulting Numbers: [75] 75,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[19, 80], Operations: ['88-20=68', '12+68=80'] Exploring Operation: 19*80=1520, Resulting Numbers: [1520] 1520,16 unequal: No Solution Exploring Operation: 80-19=61, Resulting Numbers: [61] 61,16 unequal: No Solution Exploring Operation: 19+80=99, Resulting Numbers: [99] 99,16 unequal: No Solution Moving to Node #0,1,3 Current State: 16:[68, 31], Operations: ['88-20=68', '19+12=31'] Exploring Operation: 68*31=2108, Resulting Numbers: [2108] 2108,16 unequal: No Solution Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,16 unequal: No Solution Exploring Operation: 68+31=99, Resulting Numbers: [99] 99,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 Current State: 16:[20, 12, 69], Operations: ['88-19=69'] Exploring Operation: 12+69=81, Resulting Numbers: [20, 81] Generated Node #0,3,0: 16:[20, 81] Operation: 12+69=81 Exploring Operation: 69-20=49, Resulting Numbers: [12, 49] Generated Node #0,3,1: 16:[12, 49] Operation: 69-20=49 Exploring Operation: 20+12=32, Resulting Numbers: [69, 32] Generated Node #0,3,2: 16:[69, 32] Operation: 20+12=32 Exploring Operation: 20-12=8, Resulting Numbers: [69, 8] Generated Node #0,3,3: 16:[69, 8] Operation: 20-12=8 Exploring Operation: 69-12=57, Resulting Numbers: [20, 57] Generated Node #0,3,4: 16:[20, 57] Operation: 69-12=57 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 16:[12, 49], Operations: ['88-19=69', '69-20=49'] Exploring Operation: 12*49=588, Resulting Numbers: [588] 588,16 unequal: No Solution Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,16 unequal: No Solution Exploring Operation: 12+49=61, Resulting Numbers: [61] 61,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 16:[20, 57], Operations: ['88-19=69', '69-12=57'] Exploring Operation: 20*57=1140, Resulting Numbers: [1140] 1140,16 unequal: No Solution Exploring Operation: 20+57=77, Resulting Numbers: [77] 77,16 unequal: No Solution Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 16:[69, 8], Operations: ['88-19=69', '20-12=8'] Exploring Operation: 69-8=61, Resulting Numbers: [61] 61,16 unequal: No Solution Exploring Operation: 69+8=77, Resulting Numbers: [77] 77,16 unequal: No Solution Exploring Operation: 69*8=552, Resulting Numbers: [552] 552,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 16:[20, 81], Operations: ['88-19=69', '12+69=81'] Exploring Operation: 20+81=101, Resulting Numbers: [101] 101,16 unequal: No Solution Exploring Operation: 81-20=61, Resulting Numbers: [61] 61,16 unequal: No Solution Exploring Operation: 20*81=1620, Resulting Numbers: [1620] 1620,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 16:[69, 32], Operations: ['88-19=69', '20+12=32'] Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,16 unequal: No Solution Exploring Operation: 69*32=2208, Resulting Numbers: [2208] 2208,16 unequal: No Solution Exploring Operation: 69+32=101, Resulting Numbers: [101] 101,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 16:[20, 19, 76], Operations: ['88-12=76'] Exploring Operation: 20+19=39, Resulting Numbers: [76, 39] Generated Node #0,4,0: 16:[76, 39] Operation: 20+19=39 Exploring Operation: 20-19=1, Resulting Numbers: [76, 1] Generated Node #0,4,1: 16:[76, 1] Operation: 20-19=1 Exploring Operation: 76-20=56, Resulting Numbers: [19, 56] Generated Node #0,4,2: 16:[19, 56] Operation: 76-20=56 Exploring Operation: 76/19=4, Resulting Numbers: [20, 4] Generated Node #0,4,3: 16:[20, 4] Operation: 76/19=4 Exploring Operation: 76-19=57, Resulting Numbers: [20, 57] Generated Node #0,4,4: 16:[20, 57] Operation: 76-19=57 Moving to Node #0,4,3 Current State: 16:[20, 4], Operations: ['88-12=76', '76/19=4'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,16 unequal: No Solution Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,16 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[20, 88, 19, 12], Operations: [] Exploring Operation: 88-12=76, Resulting Numbers: [20, 19, 76] Generated Node #0,4: 16:[20, 19, 76] Operation: 88-12=76 Moving to Node #0,4 Current State: 16:[20, 19, 76], Operations: ['88-12=76'] Exploring Operation: 76/19=4, Resulting Numbers: [20, 4] Generated Node #0,4,3: 16:[20, 4] Operation: 76/19=4 Moving to Node #0,4,3 Current State: 16:[20, 4], Operations: ['88-12=76', '76/19=4'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.950521
hs_5
sum_heuristic
[ 25, 57, 53, 23 ]
52
[ "25+57=82", "53-23=30", "82-30=52" ]
Current State: 52:[25, 57, 53, 23], Operations: [] Exploring Operation: 25+57=82, Resulting Numbers: [53, 23, 82] Generated Node #2: [53, 23, 82] from Operation: 25+57=82 Current State: 52:[53, 23, 82], Operations: ['25+57=82'] Exploring Operation: 53-23=30, Resulting Numbers: [82, 30] Generated Node #3: [82, 30] from Operation: 53-23=30 Current State: 52:[82, 30], Operations: ['25+57=82', '53-23=30'] Exploring Operation: 82-30=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[25, 57, 53, 23], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [25, 23, 4] Generated Node #0,0: 52:[25, 23, 4] Operation: 57-53=4 Exploring Operation: 25+23=48, Resulting Numbers: [57, 53, 48] Generated Node #0,1: 52:[57, 53, 48] Operation: 25+23=48 Exploring Operation: 57-25=32, Resulting Numbers: [53, 23, 32] Generated Node #0,2: 52:[53, 23, 32] Operation: 57-25=32 Exploring Operation: 25-23=2, Resulting Numbers: [57, 53, 2] Generated Node #0,3: 52:[57, 53, 2] Operation: 25-23=2 Exploring Operation: 53-25=28, Resulting Numbers: [57, 23, 28] Generated Node #0,4: 52:[57, 23, 28] Operation: 53-25=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[25, 23, 4], Operations: ['57-53=4'] Exploring Operation: 23+4=27, Resulting Numbers: [25, 27] Generated Node #0,0,0: 52:[25, 27] Operation: 23+4=27 Exploring Operation: 25+4=29, Resulting Numbers: [23, 29] Generated Node #0,0,1: 52:[23, 29] Operation: 25+4=29 Exploring Operation: 25+23=48, Resulting Numbers: [4, 48] Generated Node #0,0,2: 52:[4, 48] Operation: 25+23=48 Exploring Operation: 25-23=2, Resulting Numbers: [4, 2] Generated Node #0,0,3: 52:[4, 2] Operation: 25-23=2 Exploring Operation: 23-4=19, Resulting Numbers: [25, 19] Generated Node #0,0,4: 52:[25, 19] Operation: 23-4=19 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 52:[4, 2], Operations: ['57-53=4', '25-23=2'] Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,52 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,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,0 Current State: 52:[25, 27], Operations: ['57-53=4', '23+4=27'] Exploring Operation: 25*27=675, Resulting Numbers: [675] 675,52 unequal: No Solution Exploring Operation: 27-25=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 25+27=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[25, 57, 53, 23], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [25, 23, 4] Generated Node #0,0: 52:[25, 23, 4] Operation: 57-53=4 Moving to Node #0,0 Current State: 52:[25, 23, 4], Operations: ['57-53=4'] Exploring Operation: 23+4=27, Resulting Numbers: [25, 27] Generated Node #0,0,0: 52:[25, 27] Operation: 23+4=27 Moving to Node #0,0,0 Current State: 52:[25, 27], Operations: ['57-53=4', '23+4=27'] Exploring Operation: 25+27=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic