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
[ 28, 77, 23, 72 ]
56
[ "28+77=105", "72-23=49", "105-49=56" ]
Current State: 56:[28, 77, 23, 72], Operations: [] Exploring Operation: 28+77=105, Resulting Numbers: [23, 72, 105] Generated Node #2: [23, 72, 105] from Operation: 28+77=105 Current State: 56:[23, 72, 105], Operations: ['28+77=105'] Exploring Operation: 72-23=49, Resulting Numbers: [105, 49] Generated Node #3: [105, 49] from Operation: 72-23=49 Current State: 56:[105, 49], Operations: ['28+77=105', '72-23=49'] Exploring Operation: 105-49=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[28, 77, 23, 72], Operations: [] Exploring Operation: 72-23=49, Resulting Numbers: [28, 77, 49] Generated Node #0,0: 56:[28, 77, 49] Operation: 72-23=49 Exploring Operation: 77-72=5, Resulting Numbers: [28, 23, 5] Generated Node #0,1: 56:[28, 23, 5] Operation: 77-72=5 Exploring Operation: 77-23=54, Resulting Numbers: [28, 72, 54] Generated Node #0,2: 56:[28, 72, 54] Operation: 77-23=54 Exploring Operation: 77-28=49, Resulting Numbers: [23, 72, 49] Generated Node #0,3: 56:[23, 72, 49] Operation: 77-28=49 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[28, 23, 5], Operations: ['77-72=5'] Exploring Operation: 28-23=5, Resulting Numbers: [5, 5] Generated Node #0,1,0: 56:[5, 5] Operation: 28-23=5 Exploring Operation: 28+23=51, Resulting Numbers: [5, 51] Generated Node #0,1,1: 56:[5, 51] Operation: 28+23=51 Exploring Operation: 23+5=28, Resulting Numbers: [28, 28] Generated Node #0,1,2: 56:[28, 28] Operation: 23+5=28 Exploring Operation: 23-5=18, Resulting Numbers: [28, 18] Generated Node #0,1,3: 56:[28, 18] Operation: 23-5=18 Moving to Node #0,1,2 Current State: 56:[28, 28], Operations: ['77-72=5', '23+5=28'] Exploring Operation: 28*28=784, Resulting Numbers: [784] 784,56 unequal: No Solution Exploring Operation: 28/28=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 28+28=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[28, 77, 23, 72], Operations: [] Exploring Operation: 77-72=5, Resulting Numbers: [28, 23, 5] Generated Node #0,1: 56:[28, 23, 5] Operation: 77-72=5 Moving to Node #0,1 Current State: 56:[28, 23, 5], Operations: ['77-72=5'] Exploring Operation: 23+5=28, Resulting Numbers: [28, 28] Generated Node #0,1,2: 56:[28, 28] Operation: 23+5=28 Moving to Node #0,1,2 Current State: 56:[28, 28], Operations: ['77-72=5', '23+5=28'] Exploring Operation: 28+28=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 6, 55, 85, 64 ]
31
[ "64-55=9", "6*9=54", "85-54=31" ]
Current State: 31:[6, 55, 85, 64], Operations: [] Exploring Operation: 64-55=9, Resulting Numbers: [6, 85, 9] Generated Node #2: [6, 85, 9] from Operation: 64-55=9 Current State: 31:[6, 85, 9], Operations: ['64-55=9'] Exploring Operation: 6*9=54, Resulting Numbers: [85, 54] Generated Node #3: [85, 54] from Operation: 6*9=54 Current State: 31:[85, 54], Operations: ['64-55=9', '6*9=54'] Exploring Operation: 85-54=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[6, 55, 85, 64], Operations: [] Exploring Operation: 85-55=30, Resulting Numbers: [6, 64, 30] Generated Node #0,0: 31:[6, 64, 30] Operation: 85-55=30 Moving to Node #0,0 Current State: 31:[6, 64, 30], Operations: ['85-55=30'] Exploring Operation: 64-6=58, Resulting Numbers: [30, 58] Generated Node #0,0,0: 31:[30, 58] Operation: 64-6=58 Moving to Node #0,0,0 Current State: 31:[30, 58], Operations: ['85-55=30', '64-6=58'] Exploring Operation: 58-30=28, Resulting Numbers: [28] 28,31 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 12, 8, 78, 8 ]
65
[ "78-12=66", "8/8=1", "66-1=65" ]
Current State: 65:[12, 8, 78, 8], Operations: [] Exploring Operation: 78-12=66, Resulting Numbers: [8, 8, 66] Generated Node #2: [8, 8, 66] from Operation: 78-12=66 Current State: 65:[8, 8, 66], Operations: ['78-12=66'] Exploring Operation: 8/8=1, Resulting Numbers: [66, 1] Generated Node #3: [66, 1] from Operation: 8/8=1 Current State: 65:[66, 1], Operations: ['78-12=66', '8/8=1'] Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[12, 8, 78, 8], Operations: [] Exploring Operation: 78-8=70, Resulting Numbers: [12, 8, 70] Generated Node #0,0: 65:[12, 8, 70] Operation: 78-8=70 Exploring Operation: 8*8=64, Resulting Numbers: [12, 78, 64] Generated Node #0,1: 65:[12, 78, 64] Operation: 8*8=64 Exploring Operation: 78-12=66, Resulting Numbers: [8, 8, 66] Generated Node #0,2: 65:[8, 8, 66] Operation: 78-12=66 Exploring Operation: 12-8=4, Resulting Numbers: [78, 8, 4] Generated Node #0,3: 65:[78, 8, 4] Operation: 12-8=4 Exploring Operation: 78-8=70, Resulting Numbers: [12, 8, 70] Generated Node #0,4: 65:[12, 8, 70] Operation: 78-8=70 Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[8, 8, 66], Operations: ['78-12=66'] Exploring Operation: 8*8=64, Resulting Numbers: [66, 64] Generated Node #0,2,0: 65:[66, 64] Operation: 8*8=64 Exploring Operation: 66-8=58, Resulting Numbers: [8, 58] Generated Node #0,2,1: 65:[8, 58] Operation: 66-8=58 Exploring Operation: 8-8=0, Resulting Numbers: [66, 0] Generated Node #0,2,2: 65:[66, 0] Operation: 8-8=0 Exploring Operation: 8+8=16, Resulting Numbers: [66, 16] Generated Node #0,2,3: 65:[66, 16] Operation: 8+8=16 Exploring Operation: 8/8=1, Resulting Numbers: [66, 1] Generated Node #0,2,4: 65:[66, 1] Operation: 8/8=1 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 65:[66, 64], Operations: ['78-12=66', '8*8=64'] Exploring Operation: 66-64=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 66+64=130, Resulting Numbers: [130] 130,65 unequal: No Solution Exploring Operation: 66*64=4224, Resulting Numbers: [4224] 4224,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,2,3 Current State: 65:[66, 16], Operations: ['78-12=66', '8+8=16'] Exploring Operation: 66-16=50, Resulting Numbers: [50] 50,65 unequal: No Solution Exploring Operation: 66*16=1056, Resulting Numbers: [1056] 1056,65 unequal: No Solution Exploring Operation: 66+16=82, Resulting Numbers: [82] 82,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,2,4 Current State: 65:[66, 1], Operations: ['78-12=66', '8/8=1'] Exploring Operation: 66*1=66, Resulting Numbers: [66] 66,65 unequal: No Solution Exploring Operation: 66+1=67, Resulting Numbers: [67] 67,65 unequal: No Solution Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[12, 8, 78, 8], Operations: [] Exploring Operation: 78-12=66, Resulting Numbers: [8, 8, 66] Generated Node #0,2: 65:[8, 8, 66] Operation: 78-12=66 Moving to Node #0,2 Current State: 65:[8, 8, 66], Operations: ['78-12=66'] Exploring Operation: 8/8=1, Resulting Numbers: [66, 1] Generated Node #0,2,4: 65:[66, 1] Operation: 8/8=1 Moving to Node #0,2,4 Current State: 65:[66, 1], Operations: ['78-12=66', '8/8=1'] Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 80, 18, 6, 30 ]
62
[ "80+18=98", "6+30=36", "98-36=62" ]
Current State: 62:[80, 18, 6, 30], Operations: [] Exploring Operation: 80+18=98, Resulting Numbers: [6, 30, 98] Generated Node #2: [6, 30, 98] from Operation: 80+18=98 Current State: 62:[6, 30, 98], Operations: ['80+18=98'] Exploring Operation: 6+30=36, Resulting Numbers: [98, 36] Generated Node #3: [98, 36] from Operation: 6+30=36 Current State: 62:[98, 36], Operations: ['80+18=98', '6+30=36'] Exploring Operation: 98-36=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[80, 18, 6, 30], Operations: [] Exploring Operation: 80-30=50, Resulting Numbers: [18, 6, 50] Generated Node #0,0: 62:[18, 6, 50] Operation: 80-30=50 Exploring Operation: 80-6=74, Resulting Numbers: [18, 30, 74] Generated Node #0,1: 62:[18, 30, 74] Operation: 80-6=74 Exploring Operation: 80-18=62, Resulting Numbers: [6, 30, 62] Generated Node #0,2: 62:[6, 30, 62] Operation: 80-18=62 Exploring Operation: 18/6=3, Resulting Numbers: [80, 30, 3] Generated Node #0,3: 62:[80, 30, 3] Operation: 18/6=3 Exploring Operation: 18+6=24, Resulting Numbers: [80, 30, 24] Generated Node #0,4: 62:[80, 30, 24] Operation: 18+6=24 Moving to Node #0,2 Current State: 62:[6, 30, 62], Operations: ['80-18=62'] Exploring Operation: 62-30=32, Resulting Numbers: [6, 32] Generated Node #0,2,0: 62:[6, 32] Operation: 62-30=32 Exploring Operation: 6+62=68, Resulting Numbers: [30, 68] Generated Node #0,2,1: 62:[30, 68] Operation: 6+62=68 Exploring Operation: 30-6=24, Resulting Numbers: [62, 24] Generated Node #0,2,2: 62:[62, 24] Operation: 30-6=24 Exploring Operation: 30/6=5, Resulting Numbers: [62, 5] Generated Node #0,2,3: 62:[62, 5] Operation: 30/6=5 Exploring Operation: 6+30=36, Resulting Numbers: [62, 36] Generated Node #0,2,4: 62:[62, 36] Operation: 6+30=36 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 62:[62, 5], Operations: ['80-18=62', '30/6=5'] Exploring Operation: 62*5=310, Resulting Numbers: [310] 310,62 unequal: No Solution Exploring Operation: 62+5=67, Resulting Numbers: [67] 67,62 unequal: No Solution Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 62:[6, 32], Operations: ['80-18=62', '62-30=32'] Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 6*32=192, Resulting Numbers: [192] 192,62 unequal: No Solution Exploring Operation: 6+32=38, Resulting Numbers: [38] 38,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 62:[62, 36], Operations: ['80-18=62', '6+30=36'] Exploring Operation: 62-36=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 62+36=98, Resulting Numbers: [98] 98,62 unequal: No Solution Exploring Operation: 62*36=2232, Resulting Numbers: [2232] 2232,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 62:[30, 68], Operations: ['80-18=62', '6+62=68'] Exploring Operation: 30*68=2040, Resulting Numbers: [2040] 2040,62 unequal: No Solution Exploring Operation: 30+68=98, Resulting Numbers: [98] 98,62 unequal: No Solution Exploring Operation: 68-30=38, Resulting Numbers: [38] 38,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 62:[62, 24], Operations: ['80-18=62', '30-6=24'] Exploring Operation: 62+24=86, Resulting Numbers: [86] 86,62 unequal: No Solution Exploring Operation: 62*24=1488, Resulting Numbers: [1488] 1488,62 unequal: No Solution Exploring Operation: 62-24=38, Resulting Numbers: [38] 38,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 62:[80, 30, 3], Operations: ['18/6=3'] Exploring Operation: 30+3=33, Resulting Numbers: [80, 33] Generated Node #0,3,0: 62:[80, 33] Operation: 30+3=33 Exploring Operation: 80+3=83, Resulting Numbers: [30, 83] Generated Node #0,3,1: 62:[30, 83] Operation: 80+3=83 Exploring Operation: 80-30=50, Resulting Numbers: [3, 50] Generated Node #0,3,2: 62:[3, 50] Operation: 80-30=50 Exploring Operation: 80-3=77, Resulting Numbers: [30, 77] Generated Node #0,3,3: 62:[30, 77] Operation: 80-3=77 Exploring Operation: 30-3=27, Resulting Numbers: [80, 27] Generated Node #0,3,4: 62:[80, 27] Operation: 30-3=27 Moving to Node #0,1 Current State: 62:[18, 30, 74], Operations: ['80-6=74'] Exploring Operation: 18+30=48, Resulting Numbers: [74, 48] Generated Node #0,1,0: 62:[74, 48] Operation: 18+30=48 Exploring Operation: 30-18=12, Resulting Numbers: [74, 12] Generated Node #0,1,1: 62:[74, 12] Operation: 30-18=12 Exploring Operation: 74-18=56, Resulting Numbers: [30, 56] Generated Node #0,1,2: 62:[30, 56] Operation: 74-18=56 Exploring Operation: 74-30=44, Resulting Numbers: [18, 44] Generated Node #0,1,3: 62:[18, 44] Operation: 74-30=44 Exploring Operation: 18+74=92, Resulting Numbers: [30, 92] Generated Node #0,1,4: 62:[30, 92] Operation: 18+74=92 Moving to Node #0,4 Current State: 62:[80, 30, 24], Operations: ['18+6=24'] Exploring Operation: 80-30=50, Resulting Numbers: [24, 50] Generated Node #0,4,0: 62:[24, 50] Operation: 80-30=50 Exploring Operation: 80+24=104, Resulting Numbers: [30, 104] Generated Node #0,4,1: 62:[30, 104] Operation: 80+24=104 Exploring Operation: 30-24=6, Resulting Numbers: [80, 6] Generated Node #0,4,2: 62:[80, 6] Operation: 30-24=6 Exploring Operation: 30+24=54, Resulting Numbers: [80, 54] Generated Node #0,4,3: 62:[80, 54] Operation: 30+24=54 Exploring Operation: 80-24=56, Resulting Numbers: [30, 56] Generated Node #0,4,4: 62:[30, 56] Operation: 80-24=56 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 62:[30, 56], Operations: ['18+6=24', '80-24=56'] Exploring Operation: 30*56=1680, Resulting Numbers: [1680] 1680,62 unequal: No Solution Exploring Operation: 30+56=86, Resulting Numbers: [86] 86,62 unequal: No Solution Exploring Operation: 56-30=26, Resulting Numbers: [26] 26,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 62:[24, 50], Operations: ['18+6=24', '80-30=50'] Exploring Operation: 24+50=74, Resulting Numbers: [74] 74,62 unequal: No Solution Exploring Operation: 50-24=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 24*50=1200, Resulting Numbers: [1200] 1200,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 62:[80, 6], Operations: ['18+6=24', '30-24=6'] Exploring Operation: 80*6=480, Resulting Numbers: [480] 480,62 unequal: No Solution Exploring Operation: 80+6=86, Resulting Numbers: [86] 86,62 unequal: No Solution Exploring Operation: 80-6=74, Resulting Numbers: [74] 74,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 62:[80, 54], Operations: ['18+6=24', '30+24=54'] Exploring Operation: 80-54=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 80*54=4320, Resulting Numbers: [4320] 4320,62 unequal: No Solution Exploring Operation: 80+54=134, Resulting Numbers: [134] 134,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 62:[30, 104], Operations: ['18+6=24', '80+24=104'] Exploring Operation: 30*104=3120, Resulting Numbers: [3120] 3120,62 unequal: No Solution Exploring Operation: 104-30=74, Resulting Numbers: [74] 74,62 unequal: No Solution Exploring Operation: 30+104=134, Resulting Numbers: [134] 134,62 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: 62:[18, 6, 50], Operations: ['80-30=50'] Exploring Operation: 50-18=32, Resulting Numbers: [6, 32] Generated Node #0,0,0: 62:[6, 32] Operation: 50-18=32 Exploring Operation: 18/6=3, Resulting Numbers: [50, 3] Generated Node #0,0,1: 62:[50, 3] Operation: 18/6=3 Exploring Operation: 6+50=56, Resulting Numbers: [18, 56] Generated Node #0,0,2: 62:[18, 56] Operation: 6+50=56 Exploring Operation: 18+6=24, Resulting Numbers: [50, 24] Generated Node #0,0,3: 62:[50, 24] Operation: 18+6=24 Exploring Operation: 18+50=68, Resulting Numbers: [6, 68] Generated Node #0,0,4: 62:[6, 68] Operation: 18+50=68 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[6, 32], Operations: ['80-30=50', '50-18=32'] Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 6+32=38, Resulting Numbers: [38] 38,62 unequal: No Solution Exploring Operation: 6*32=192, Resulting Numbers: [192] 192,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 62:[6, 68], Operations: ['80-30=50', '18+50=68'] Exploring Operation: 6*68=408, Resulting Numbers: [408] 408,62 unequal: No Solution Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[80, 18, 6, 30], Operations: [] Exploring Operation: 80-30=50, Resulting Numbers: [18, 6, 50] Generated Node #0,0: 62:[18, 6, 50] Operation: 80-30=50 Moving to Node #0,0 Current State: 62:[18, 6, 50], Operations: ['80-30=50'] Exploring Operation: 18+50=68, Resulting Numbers: [6, 68] Generated Node #0,0,4: 62:[6, 68] Operation: 18+50=68 Moving to Node #0,0,4 Current State: 62:[6, 68], Operations: ['80-30=50', '18+50=68'] Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.940104
hs_5
sum_heuristic
[ 5, 37, 4, 97 ]
14
[ "97-5=92", "92/4=23", "37-23=14" ]
Current State: 14:[5, 37, 4, 97], Operations: [] Exploring Operation: 97-5=92, Resulting Numbers: [37, 4, 92] Generated Node #2: [37, 4, 92] from Operation: 97-5=92 Current State: 14:[37, 4, 92], Operations: ['97-5=92'] Exploring Operation: 92/4=23, Resulting Numbers: [37, 23] Generated Node #3: [37, 23] from Operation: 92/4=23 Current State: 14:[37, 23], Operations: ['97-5=92', '92/4=23'] Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[5, 37, 4, 97], Operations: [] Exploring Operation: 97-5=92, Resulting Numbers: [37, 4, 92] Generated Node #0,0: 14:[37, 4, 92] Operation: 97-5=92 Exploring Operation: 37-5=32, Resulting Numbers: [4, 97, 32] Generated Node #0,1: 14:[4, 97, 32] Operation: 37-5=32 Exploring Operation: 97-37=60, Resulting Numbers: [5, 4, 60] Generated Node #0,2: 14:[5, 4, 60] Operation: 97-37=60 Moving to Node #0,2 Current State: 14:[5, 4, 60], Operations: ['97-37=60'] Exploring Operation: 60/5=12, Resulting Numbers: [4, 12] Generated Node #0,2,0: 14:[4, 12] Operation: 60/5=12 Exploring Operation: 60-5=55, Resulting Numbers: [4, 55] Generated Node #0,2,1: 14:[4, 55] Operation: 60-5=55 Exploring Operation: 60/4=15, Resulting Numbers: [5, 15] Generated Node #0,2,2: 14:[5, 15] Operation: 60/4=15 Moving to Node #0,0 Current State: 14:[37, 4, 92], Operations: ['97-5=92'] Exploring Operation: 92-37=55, Resulting Numbers: [4, 55] Generated Node #0,0,0: 14:[4, 55] Operation: 92-37=55 Exploring Operation: 92/4=23, Resulting Numbers: [37, 23] Generated Node #0,0,1: 14:[37, 23] Operation: 92/4=23 Exploring Operation: 37-4=33, Resulting Numbers: [92, 33] Generated Node #0,0,2: 14:[92, 33] Operation: 37-4=33 Moving to Node #0,1 Current State: 14:[4, 97, 32], Operations: ['37-5=32'] Exploring Operation: 97-32=65, Resulting Numbers: [4, 65] Generated Node #0,1,0: 14:[4, 65] Operation: 97-32=65 Exploring Operation: 97-4=93, Resulting Numbers: [32, 93] Generated Node #0,1,1: 14:[32, 93] Operation: 97-4=93 Exploring Operation: 32/4=8, Resulting Numbers: [97, 8] Generated Node #0,1,2: 14:[97, 8] Operation: 32/4=8 Moving to Node #0,2,2 Current State: 14:[5, 15], Operations: ['97-37=60', '60/4=15'] Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,14 unequal: No Solution Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,14 unequal: No Solution Moving to Node #0,2,0 Current State: 14:[4, 12], Operations: ['97-37=60', '60/5=12'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,14 unequal: No Solution Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,14 unequal: No Solution Moving to Node #0,0,1 Current State: 14:[37, 23], Operations: ['97-5=92', '92/4=23'] Exploring Operation: 37+23=60, Resulting Numbers: [60] 60,14 unequal: No Solution Exploring Operation: 37*23=851, Resulting Numbers: [851] 851,14 unequal: No Solution Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[5, 37, 4, 97], Operations: [] Exploring Operation: 97-5=92, Resulting Numbers: [37, 4, 92] Generated Node #0,0: 14:[37, 4, 92] Operation: 97-5=92 Moving to Node #0,0 Current State: 14:[37, 4, 92], Operations: ['97-5=92'] Exploring Operation: 92/4=23, Resulting Numbers: [37, 23] Generated Node #0,0,1: 14:[37, 23] Operation: 92/4=23 Moving to Node #0,0,1 Current State: 14:[37, 23], Operations: ['97-5=92', '92/4=23'] Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
0.978299
hs_3
sum_heuristic
[ 81, 27, 18, 9 ]
34
[ "81-18=63", "63/9=7", "27+7=34" ]
Current State: 34:[81, 27, 18, 9], Operations: [] Exploring Operation: 81-18=63, Resulting Numbers: [27, 9, 63] Generated Node #2: [27, 9, 63] from Operation: 81-18=63 Current State: 34:[27, 9, 63], Operations: ['81-18=63'] Exploring Operation: 63/9=7, Resulting Numbers: [27, 7] Generated Node #3: [27, 7] from Operation: 63/9=7 Current State: 34:[27, 7], Operations: ['81-18=63', '63/9=7'] Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[81, 27, 18, 9], Operations: [] Exploring Operation: 81-27=54, Resulting Numbers: [18, 9, 54] Generated Node #0,0: 34:[18, 9, 54] Operation: 81-27=54 Exploring Operation: 81/27=3, Resulting Numbers: [18, 9, 3] Generated Node #0,1: 34:[18, 9, 3] Operation: 81/27=3 Exploring Operation: 81/9=9, Resulting Numbers: [27, 18, 9] Generated Node #0,2: 34:[27, 18, 9] Operation: 81/9=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[18, 9, 3], Operations: ['81/27=3'] Exploring Operation: 9-3=6, Resulting Numbers: [18, 6] Generated Node #0,1,0: 34:[18, 6] Operation: 9-3=6 Exploring Operation: 18/9=2, Resulting Numbers: [3, 2] Generated Node #0,1,1: 34:[3, 2] Operation: 18/9=2 Exploring Operation: 9/3=3, Resulting Numbers: [18, 3] Generated Node #0,1,2: 34:[18, 3] Operation: 9/3=3 Moving to Node #0,1,1 Current State: 34:[3, 2], Operations: ['81/27=3', '18/9=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,34 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[18, 3], Operations: ['81/27=3', '9/3=3'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,34 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[18, 6], Operations: ['81/27=3', '9-3=6'] Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 18+6=24, Resulting Numbers: [24] 24,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 34:[27, 18, 9], Operations: ['81/9=9'] Exploring Operation: 27-9=18, Resulting Numbers: [18, 18] Generated Node #0,2,0: 34:[18, 18] Operation: 27-9=18 Exploring Operation: 27+9=36, Resulting Numbers: [18, 36] Generated Node #0,2,1: 34:[18, 36] Operation: 27+9=36 Exploring Operation: 27/9=3, Resulting Numbers: [18, 3] Generated Node #0,2,2: 34:[18, 3] Operation: 27/9=3 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 34:[18, 18], Operations: ['81/9=9', '27-9=18'] Exploring Operation: 18-18=0, Resulting Numbers: [0] 0,34 unequal: No Solution Exploring Operation: 18+18=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 18/18=1, Resulting Numbers: [1] 1,34 unequal: No Solution No 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: 34:[18, 3], Operations: ['81/9=9', '27/9=3'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,34 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,34 unequal: No Solution No 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: 34:[18, 36], Operations: ['81/9=9', '27+9=36'] Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,34 unequal: No Solution Exploring Operation: 18+36=54, Resulting Numbers: [54] 54,34 unequal: No Solution Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[18, 9, 54], Operations: ['81-27=54'] Exploring Operation: 54-18=36, Resulting Numbers: [9, 36] Generated Node #0,0,0: 34:[9, 36] Operation: 54-18=36 Exploring Operation: 54/18=3, Resulting Numbers: [9, 3] Generated Node #0,0,1: 34:[9, 3] Operation: 54/18=3 Exploring Operation: 54/9=6, Resulting Numbers: [18, 6] Generated Node #0,0,2: 34:[18, 6] Operation: 54/9=6 Moving to Node #0,0,2 Current State: 34:[18, 6], Operations: ['81-27=54', '54/9=6'] Exploring Operation: 18+6=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[9, 3], Operations: ['81-27=54', '54/18=3'] Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[9, 36], Operations: ['81-27=54', '54-18=36'] Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,34 unequal: No Solution Exploring Operation: 9+36=45, Resulting Numbers: [45] 45,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 34, 65, 86, 8 ]
63
[ "65-34=31", "86+8=94", "94-31=63" ]
Current State: 63:[34, 65, 86, 8], Operations: [] Exploring Operation: 65-34=31, Resulting Numbers: [86, 8, 31] Generated Node #2: [86, 8, 31] from Operation: 65-34=31 Current State: 63:[86, 8, 31], Operations: ['65-34=31'] Exploring Operation: 86+8=94, Resulting Numbers: [31, 94] Generated Node #3: [31, 94] from Operation: 86+8=94 Current State: 63:[31, 94], Operations: ['65-34=31', '86+8=94'] Exploring Operation: 94-31=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[34, 65, 86, 8], Operations: [] Exploring Operation: 34-8=26, Resulting Numbers: [65, 86, 26] Generated Node #0,0: 63:[65, 86, 26] Operation: 34-8=26 Exploring Operation: 86-65=21, Resulting Numbers: [34, 8, 21] Generated Node #0,1: 63:[34, 8, 21] Operation: 86-65=21 Exploring Operation: 86-8=78, Resulting Numbers: [34, 65, 78] Generated Node #0,2: 63:[34, 65, 78] Operation: 86-8=78 Exploring Operation: 86-34=52, Resulting Numbers: [65, 8, 52] Generated Node #0,3: 63:[65, 8, 52] Operation: 86-34=52 Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[34, 8, 21], Operations: ['86-65=21'] Exploring Operation: 34+21=55, Resulting Numbers: [8, 55] Generated Node #0,1,0: 63:[8, 55] Operation: 34+21=55 Exploring Operation: 34-8=26, Resulting Numbers: [21, 26] Generated Node #0,1,1: 63:[21, 26] Operation: 34-8=26 Exploring Operation: 34-21=13, Resulting Numbers: [8, 13] Generated Node #0,1,2: 63:[8, 13] Operation: 34-21=13 Exploring Operation: 21-8=13, Resulting Numbers: [34, 13] Generated Node #0,1,3: 63:[34, 13] Operation: 21-8=13 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 63:[21, 26], Operations: ['86-65=21', '34-8=26'] Exploring Operation: 21+26=47, Resulting Numbers: [47] 47,63 unequal: No Solution Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 21*26=546, Resulting Numbers: [546] 546,63 unequal: No Solution No 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: 63:[8, 13], Operations: ['86-65=21', '34-21=13'] Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,63 unequal: No Solution Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,63 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,63 unequal: No Solution No 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: 63:[8, 55], Operations: ['86-65=21', '34+21=55'] Exploring Operation: 8+55=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[34, 65, 86, 8], Operations: [] Exploring Operation: 86-65=21, Resulting Numbers: [34, 8, 21] Generated Node #0,1: 63:[34, 8, 21] Operation: 86-65=21 Moving to Node #0,1 Current State: 63:[34, 8, 21], Operations: ['86-65=21'] Exploring Operation: 34+21=55, Resulting Numbers: [8, 55] Generated Node #0,1,0: 63:[8, 55] Operation: 34+21=55 Moving to Node #0,1,0 Current State: 63:[8, 55], Operations: ['86-65=21', '34+21=55'] Exploring Operation: 8+55=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 73, 48, 71, 24 ]
74
[ "73+48=121", "71-24=47", "121-47=74" ]
Current State: 74:[73, 48, 71, 24], Operations: [] Exploring Operation: 73+48=121, Resulting Numbers: [71, 24, 121] Generated Node #2: [71, 24, 121] from Operation: 73+48=121 Current State: 74:[71, 24, 121], Operations: ['73+48=121'] Exploring Operation: 71-24=47, Resulting Numbers: [121, 47] Generated Node #3: [121, 47] from Operation: 71-24=47 Current State: 74:[121, 47], Operations: ['73+48=121', '71-24=47'] Exploring Operation: 121-47=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[73, 48, 71, 24], Operations: [] Exploring Operation: 48/24=2, Resulting Numbers: [73, 71, 2] Generated Node #0,0: 74:[73, 71, 2] Operation: 48/24=2 Moving to Node #0,0 Current State: 74:[73, 71, 2], Operations: ['48/24=2'] Exploring Operation: 73-71=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 74:[2, 2] Operation: 73-71=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[2, 2], Operations: ['48/24=2', '73-71=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,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
[ 66, 86, 77, 17 ]
80
[ "86-66=20", "77-17=60", "20+60=80" ]
Current State: 80:[66, 86, 77, 17], Operations: [] Exploring Operation: 86-66=20, Resulting Numbers: [77, 17, 20] Generated Node #2: [77, 17, 20] from Operation: 86-66=20 Current State: 80:[77, 17, 20], Operations: ['86-66=20'] Exploring Operation: 77-17=60, Resulting Numbers: [20, 60] Generated Node #3: [20, 60] from Operation: 77-17=60 Current State: 80:[20, 60], Operations: ['86-66=20', '77-17=60'] Exploring Operation: 20+60=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[66, 86, 77, 17], Operations: [] Exploring Operation: 86-66=20, Resulting Numbers: [77, 17, 20] Generated Node #0,0: 80:[77, 17, 20] Operation: 86-66=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[77, 17, 20], Operations: ['86-66=20'] Exploring Operation: 20-17=3, Resulting Numbers: [77, 3] Generated Node #0,0,0: 80:[77, 3] Operation: 20-17=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 80:[77, 3], Operations: ['86-66=20', '20-17=3'] Exploring Operation: 77+3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[66, 86, 77, 17], Operations: [] Exploring Operation: 86-66=20, Resulting Numbers: [77, 17, 20] Generated Node #0,0: 80:[77, 17, 20] Operation: 86-66=20 Moving to Node #0,0 Current State: 80:[77, 17, 20], Operations: ['86-66=20'] Exploring Operation: 20-17=3, Resulting Numbers: [77, 3] Generated Node #0,0,0: 80:[77, 3] Operation: 20-17=3 Moving to Node #0,0,0 Current State: 80:[77, 3], Operations: ['86-66=20', '20-17=3'] Exploring Operation: 77+3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 49, 64, 23, 53 ]
61
[ "64-49=15", "23+53=76", "76-15=61" ]
Current State: 61:[49, 64, 23, 53], Operations: [] Exploring Operation: 64-49=15, Resulting Numbers: [23, 53, 15] Generated Node #2: [23, 53, 15] from Operation: 64-49=15 Current State: 61:[23, 53, 15], Operations: ['64-49=15'] Exploring Operation: 23+53=76, Resulting Numbers: [15, 76] Generated Node #3: [15, 76] from Operation: 23+53=76 Current State: 61:[15, 76], Operations: ['64-49=15', '23+53=76'] Exploring Operation: 76-15=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[49, 64, 23, 53], Operations: [] Exploring Operation: 49+23=72, Resulting Numbers: [64, 53, 72] Generated Node #0,0: 61:[64, 53, 72] Operation: 49+23=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[64, 53, 72], Operations: ['49+23=72'] Exploring Operation: 72-53=19, Resulting Numbers: [64, 19] Generated Node #0,0,0: 61:[64, 19] Operation: 72-53=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[64, 19], Operations: ['49+23=72', '72-53=19'] Exploring Operation: 64-19=45, Resulting Numbers: [45] 45,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 84, 53, 32, 14 ]
27
[ "84/14=6", "53-32=21", "6+21=27" ]
Current State: 27:[84, 53, 32, 14], Operations: [] Exploring Operation: 84/14=6, Resulting Numbers: [53, 32, 6] Generated Node #2: [53, 32, 6] from Operation: 84/14=6 Current State: 27:[53, 32, 6], Operations: ['84/14=6'] Exploring Operation: 53-32=21, Resulting Numbers: [6, 21] Generated Node #3: [6, 21] from Operation: 53-32=21 Current State: 27:[6, 21], Operations: ['84/14=6', '53-32=21'] Exploring Operation: 6+21=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[84, 53, 32, 14], Operations: [] Exploring Operation: 84-32=52, Resulting Numbers: [53, 14, 52] Generated Node #0,0: 27:[53, 14, 52] Operation: 84-32=52 Exploring Operation: 84-53=31, Resulting Numbers: [32, 14, 31] Generated Node #0,1: 27:[32, 14, 31] Operation: 84-53=31 Exploring Operation: 84/14=6, Resulting Numbers: [53, 32, 6] Generated Node #0,2: 27:[53, 32, 6] Operation: 84/14=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[32, 14, 31], Operations: ['84-53=31'] Exploring Operation: 31-14=17, Resulting Numbers: [32, 17] Generated Node #0,1,0: 27:[32, 17] Operation: 31-14=17 Exploring Operation: 32-31=1, Resulting Numbers: [14, 1] Generated Node #0,1,1: 27:[14, 1] Operation: 32-31=1 Exploring Operation: 32-14=18, Resulting Numbers: [31, 18] Generated Node #0,1,2: 27:[31, 18] Operation: 32-14=18 Moving to Node #0,1,1 Current State: 27:[14, 1], Operations: ['84-53=31', '32-31=1'] Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,27 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,27 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,27 unequal: No Solution Moving to Node #0,1,0 Current State: 27:[32, 17], Operations: ['84-53=31', '31-14=17'] Exploring Operation: 32*17=544, Resulting Numbers: [544] 544,27 unequal: No Solution Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,27 unequal: No Solution Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,27 unequal: No Solution Moving to Node #0,1,2 Current State: 27:[31, 18], Operations: ['84-53=31', '32-14=18'] Exploring Operation: 31+18=49, Resulting Numbers: [49] 49,27 unequal: No Solution Exploring Operation: 31*18=558, Resulting Numbers: [558] 558,27 unequal: No Solution Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,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,2 Current State: 27:[53, 32, 6], Operations: ['84/14=6'] Exploring Operation: 32-6=26, Resulting Numbers: [53, 26] Generated Node #0,2,0: 27:[53, 26] Operation: 32-6=26 Exploring Operation: 53-6=47, Resulting Numbers: [32, 47] Generated Node #0,2,1: 27:[32, 47] Operation: 53-6=47 Exploring Operation: 53-32=21, Resulting Numbers: [6, 21] Generated Node #0,2,2: 27:[6, 21] Operation: 53-32=21 Moving to Node #0,2,2 Current State: 27:[6, 21], Operations: ['84/14=6', '53-32=21'] Exploring Operation: 6*21=126, Resulting Numbers: [126] 126,27 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,27 unequal: No Solution Exploring Operation: 6+21=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[84, 53, 32, 14], Operations: [] Exploring Operation: 84/14=6, Resulting Numbers: [53, 32, 6] Generated Node #0,2: 27:[53, 32, 6] Operation: 84/14=6 Moving to Node #0,2 Current State: 27:[53, 32, 6], Operations: ['84/14=6'] Exploring Operation: 53-32=21, Resulting Numbers: [6, 21] Generated Node #0,2,2: 27:[6, 21] Operation: 53-32=21 Moving to Node #0,2,2 Current State: 27:[6, 21], Operations: ['84/14=6', '53-32=21'] Exploring Operation: 6+21=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
mult_heuristic
[ 85, 81, 80, 6 ]
15
[ "85-80=5", "81-6=75", "75/5=15" ]
Current State: 15:[85, 81, 80, 6], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [81, 6, 5] Generated Node #2: [81, 6, 5] from Operation: 85-80=5 Current State: 15:[81, 6, 5], Operations: ['85-80=5'] Exploring Operation: 81-6=75, Resulting Numbers: [5, 75] Generated Node #3: [5, 75] from Operation: 81-6=75 Current State: 15:[5, 75], Operations: ['85-80=5', '81-6=75'] Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[85, 81, 80, 6], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [81, 6, 5] Generated Node #0,0: 15:[81, 6, 5] Operation: 85-80=5 Exploring Operation: 85-81=4, Resulting Numbers: [80, 6, 4] Generated Node #0,1: 15:[80, 6, 4] Operation: 85-81=4 Moving to Node #0,0 Current State: 15:[81, 6, 5], Operations: ['85-80=5'] Exploring Operation: 81-5=76, Resulting Numbers: [6, 76] Generated Node #0,0,0: 15:[6, 76] Operation: 81-5=76 Exploring Operation: 81-6=75, Resulting Numbers: [5, 75] Generated Node #0,0,1: 15:[5, 75] Operation: 81-6=75 Moving to Node #0,1 Current State: 15:[80, 6, 4], Operations: ['85-81=4'] Exploring Operation: 80/4=20, Resulting Numbers: [6, 20] Generated Node #0,1,0: 15:[6, 20] Operation: 80/4=20 Exploring Operation: 80-6=74, Resulting Numbers: [4, 74] Generated Node #0,1,1: 15:[4, 74] Operation: 80-6=74 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[6, 20], Operations: ['85-81=4', '80/4=20'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 15:[4, 74], Operations: ['85-81=4', '80-6=74'] Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 4+74=78, Resulting Numbers: [78] 78,15 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: 15:[5, 75], Operations: ['85-80=5', '81-6=75'] Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[85, 81, 80, 6], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [81, 6, 5] Generated Node #0,0: 15:[81, 6, 5] Operation: 85-80=5 Moving to Node #0,0 Current State: 15:[81, 6, 5], Operations: ['85-80=5'] Exploring Operation: 81-6=75, Resulting Numbers: [5, 75] Generated Node #0,0,1: 15:[5, 75] Operation: 81-6=75 Moving to Node #0,0,1 Current State: 15:[5, 75], Operations: ['85-80=5', '81-6=75'] Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 79, 4, 11, 45 ]
65
[ "11+45=56", "56/4=14", "79-14=65" ]
Current State: 65:[79, 4, 11, 45], Operations: [] Exploring Operation: 11+45=56, Resulting Numbers: [79, 4, 56] Generated Node #2: [79, 4, 56] from Operation: 11+45=56 Current State: 65:[79, 4, 56], Operations: ['11+45=56'] Exploring Operation: 56/4=14, Resulting Numbers: [79, 14] Generated Node #3: [79, 14] from Operation: 56/4=14 Current State: 65:[79, 14], Operations: ['11+45=56', '56/4=14'] Exploring Operation: 79-14=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[79, 4, 11, 45], Operations: [] Exploring Operation: 4+45=49, Resulting Numbers: [79, 11, 49] Generated Node #0,0: 65:[79, 11, 49] Operation: 4+45=49 Exploring Operation: 11+45=56, Resulting Numbers: [79, 4, 56] Generated Node #0,1: 65:[79, 4, 56] Operation: 11+45=56 Exploring Operation: 79-4=75, Resulting Numbers: [11, 45, 75] Generated Node #0,2: 65:[11, 45, 75] Operation: 79-4=75 Exploring Operation: 79-11=68, Resulting Numbers: [4, 45, 68] Generated Node #0,3: 65:[4, 45, 68] Operation: 79-11=68 Exploring Operation: 79-45=34, Resulting Numbers: [4, 11, 34] Generated Node #0,4: 65:[4, 11, 34] Operation: 79-45=34 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[79, 4, 56], Operations: ['11+45=56'] Exploring Operation: 4+56=60, Resulting Numbers: [79, 60] Generated Node #0,1,0: 65:[79, 60] Operation: 4+56=60 Exploring Operation: 79-56=23, Resulting Numbers: [4, 23] Generated Node #0,1,1: 65:[4, 23] Operation: 79-56=23 Exploring Operation: 79+4=83, Resulting Numbers: [56, 83] Generated Node #0,1,2: 65:[56, 83] Operation: 79+4=83 Exploring Operation: 56/4=14, Resulting Numbers: [79, 14] Generated Node #0,1,3: 65:[79, 14] Operation: 56/4=14 Exploring Operation: 79-4=75, Resulting Numbers: [56, 75] Generated Node #0,1,4: 65:[56, 75] Operation: 79-4=75 Moving to Node #0,1,1 Current State: 65:[4, 23], Operations: ['11+45=56', '79-56=23'] Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,65 unequal: No Solution Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,65 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,65 unequal: No Solution Moving to Node #0,1,3 Current State: 65:[79, 14], Operations: ['11+45=56', '56/4=14'] Exploring Operation: 79-14=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[79, 4, 11, 45], Operations: [] Exploring Operation: 11+45=56, Resulting Numbers: [79, 4, 56] Generated Node #0,1: 65:[79, 4, 56] Operation: 11+45=56 Moving to Node #0,1 Current State: 65:[79, 4, 56], Operations: ['11+45=56'] Exploring Operation: 56/4=14, Resulting Numbers: [79, 14] Generated Node #0,1,3: 65:[79, 14] Operation: 56/4=14 Moving to Node #0,1,3 Current State: 65:[79, 14], Operations: ['11+45=56', '56/4=14'] Exploring Operation: 79-14=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 60, 51, 83, 18 ]
74
[ "60-51=9", "83-18=65", "9+65=74" ]
Current State: 74:[60, 51, 83, 18], Operations: [] Exploring Operation: 60-51=9, Resulting Numbers: [83, 18, 9] Generated Node #2: [83, 18, 9] from Operation: 60-51=9 Current State: 74:[83, 18, 9], Operations: ['60-51=9'] Exploring Operation: 83-18=65, Resulting Numbers: [9, 65] Generated Node #3: [9, 65] from Operation: 83-18=65 Current State: 74:[9, 65], Operations: ['60-51=9', '83-18=65'] Exploring Operation: 9+65=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[60, 51, 83, 18], Operations: [] Exploring Operation: 60+18=78, Resulting Numbers: [51, 83, 78] Generated Node #0,0: 74:[51, 83, 78] Operation: 60+18=78 Moving to Node #0,0 Current State: 74:[51, 83, 78], Operations: ['60+18=78'] Exploring Operation: 83-51=32, Resulting Numbers: [78, 32] Generated Node #0,0,0: 74:[78, 32] Operation: 83-51=32 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[78, 32], Operations: ['60+18=78', '83-51=32'] Exploring Operation: 78-32=46, Resulting Numbers: [46] 46,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
mult_heuristic
[ 12, 17, 33, 48 ]
10
[ "17-12=5", "48-33=15", "15-5=10" ]
Current State: 10:[12, 17, 33, 48], Operations: [] Exploring Operation: 17-12=5, Resulting Numbers: [33, 48, 5] Generated Node #2: [33, 48, 5] from Operation: 17-12=5 Current State: 10:[33, 48, 5], Operations: ['17-12=5'] Exploring Operation: 48-33=15, Resulting Numbers: [5, 15] Generated Node #3: [5, 15] from Operation: 48-33=15 Current State: 10:[5, 15], Operations: ['17-12=5', '48-33=15'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[12, 17, 33, 48], Operations: [] Exploring Operation: 48-33=15, Resulting Numbers: [12, 17, 15] Generated Node #0,0: 10:[12, 17, 15] Operation: 48-33=15 Exploring Operation: 48/12=4, Resulting Numbers: [17, 33, 4] Generated Node #0,1: 10:[17, 33, 4] Operation: 48/12=4 Exploring Operation: 33-12=21, Resulting Numbers: [17, 48, 21] Generated Node #0,2: 10:[17, 48, 21] Operation: 33-12=21 Exploring Operation: 48-17=31, Resulting Numbers: [12, 33, 31] Generated Node #0,3: 10:[12, 33, 31] Operation: 48-17=31 Exploring Operation: 33-17=16, Resulting Numbers: [12, 48, 16] Generated Node #0,4: 10:[12, 48, 16] Operation: 33-17=16 Moving to Node #0,0 Current State: 10:[12, 17, 15], Operations: ['48-33=15'] Exploring Operation: 15-12=3, Resulting Numbers: [17, 3] Generated Node #0,0,0: 10:[17, 3] Operation: 15-12=3 Exploring Operation: 12+17=29, Resulting Numbers: [15, 29] Generated Node #0,0,1: 10:[15, 29] Operation: 12+17=29 Exploring Operation: 17-15=2, Resulting Numbers: [12, 2] Generated Node #0,0,2: 10:[12, 2] Operation: 17-15=2 Exploring Operation: 17-12=5, Resulting Numbers: [15, 5] Generated Node #0,0,3: 10:[15, 5] Operation: 17-12=5 Exploring Operation: 12+15=27, Resulting Numbers: [17, 27] Generated Node #0,0,4: 10:[17, 27] Operation: 12+15=27 Moving to Node #0,1 Current State: 10:[17, 33, 4], Operations: ['48/12=4'] Exploring Operation: 33-4=29, Resulting Numbers: [17, 29] Generated Node #0,1,0: 10:[17, 29] Operation: 33-4=29 Exploring Operation: 33+4=37, Resulting Numbers: [17, 37] Generated Node #0,1,1: 10:[17, 37] Operation: 33+4=37 Exploring Operation: 17-4=13, Resulting Numbers: [33, 13] Generated Node #0,1,2: 10:[33, 13] Operation: 17-4=13 Exploring Operation: 17+4=21, Resulting Numbers: [33, 21] Generated Node #0,1,3: 10:[33, 21] Operation: 17+4=21 Exploring Operation: 33-17=16, Resulting Numbers: [4, 16] Generated Node #0,1,4: 10:[4, 16] Operation: 33-17=16 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 10:[4, 16], Operations: ['48/12=4', '33-17=16'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,10 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,10 unequal: No Solution Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[17, 29], Operations: ['48/12=4', '33-4=29'] Exploring Operation: 29-17=12, Resulting Numbers: [12] 12,10 unequal: No Solution Exploring Operation: 17*29=493, Resulting Numbers: [493] 493,10 unequal: No Solution Exploring Operation: 17+29=46, Resulting Numbers: [46] 46,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 10:[33, 13], Operations: ['48/12=4', '17-4=13'] Exploring Operation: 33*13=429, Resulting Numbers: [429] 429,10 unequal: No Solution Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,10 unequal: No Solution Exploring Operation: 33+13=46, Resulting Numbers: [46] 46,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[17, 37], Operations: ['48/12=4', '33+4=37'] Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,10 unequal: No Solution Exploring Operation: 17*37=629, Resulting Numbers: [629] 629,10 unequal: No Solution Exploring Operation: 17+37=54, Resulting Numbers: [54] 54,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 10:[33, 21], Operations: ['48/12=4', '17+4=21'] Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,10 unequal: No Solution Exploring Operation: 33+21=54, Resulting Numbers: [54] 54,10 unequal: No Solution Exploring Operation: 33*21=693, Resulting Numbers: [693] 693,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 10:[12, 33, 31], Operations: ['48-17=31'] Exploring Operation: 33-31=2, Resulting Numbers: [12, 2] Generated Node #0,3,0: 10:[12, 2] Operation: 33-31=2 Exploring Operation: 31-12=19, Resulting Numbers: [33, 19] Generated Node #0,3,1: 10:[33, 19] Operation: 31-12=19 Exploring Operation: 12+33=45, Resulting Numbers: [31, 45] Generated Node #0,3,2: 10:[31, 45] Operation: 12+33=45 Exploring Operation: 12+31=43, Resulting Numbers: [33, 43] Generated Node #0,3,3: 10:[33, 43] Operation: 12+31=43 Exploring Operation: 33-12=21, Resulting Numbers: [31, 21] Generated Node #0,3,4: 10:[31, 21] Operation: 33-12=21 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 10:[12, 2], Operations: ['48-17=31', '33-31=2'] Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,10 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,10 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[12, 17, 33, 48], Operations: [] Exploring Operation: 48-17=31, Resulting Numbers: [12, 33, 31] Generated Node #0,3: 10:[12, 33, 31] Operation: 48-17=31 Moving to Node #0,3 Current State: 10:[12, 33, 31], Operations: ['48-17=31'] Exploring Operation: 33-31=2, Resulting Numbers: [12, 2] Generated Node #0,3,0: 10:[12, 2] Operation: 33-31=2 Moving to Node #0,3,0 Current State: 10:[12, 2], Operations: ['48-17=31', '33-31=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.961806
hs_5
sum_heuristic
[ 90, 25, 1, 8 ]
56
[ "90-25=65", "1+8=9", "65-9=56" ]
Current State: 56:[90, 25, 1, 8], Operations: [] Exploring Operation: 90-25=65, Resulting Numbers: [1, 8, 65] Generated Node #2: [1, 8, 65] from Operation: 90-25=65 Current State: 56:[1, 8, 65], Operations: ['90-25=65'] Exploring Operation: 1+8=9, Resulting Numbers: [65, 9] Generated Node #3: [65, 9] from Operation: 1+8=9 Current State: 56:[65, 9], Operations: ['90-25=65', '1+8=9'] Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[90, 25, 1, 8], Operations: [] Exploring Operation: 90*1=90, Resulting Numbers: [25, 8, 90] Generated Node #0,0: 56:[25, 8, 90] Operation: 90*1=90 Exploring Operation: 90-1=89, Resulting Numbers: [25, 8, 89] Generated Node #0,1: 56:[25, 8, 89] Operation: 90-1=89 Exploring Operation: 90-25=65, Resulting Numbers: [1, 8, 65] Generated Node #0,2: 56:[1, 8, 65] Operation: 90-25=65 Exploring Operation: 25+1=26, Resulting Numbers: [90, 8, 26] Generated Node #0,3: 56:[90, 8, 26] Operation: 25+1=26 Exploring Operation: 90-8=82, Resulting Numbers: [25, 1, 82] Generated Node #0,4: 56:[25, 1, 82] Operation: 90-8=82 Moving to Node #0,2 Current State: 56:[1, 8, 65], Operations: ['90-25=65'] Exploring Operation: 65-8=57, Resulting Numbers: [1, 57] Generated Node #0,2,0: 56:[1, 57] Operation: 65-8=57 Exploring Operation: 1*8=8, Resulting Numbers: [65, 8] Generated Node #0,2,1: 56:[65, 8] Operation: 1*8=8 Exploring Operation: 8/1=8, Resulting Numbers: [65, 8] Generated Node #0,2,2: 56:[65, 8] Operation: 8/1=8 Exploring Operation: 65-1=64, Resulting Numbers: [8, 64] Generated Node #0,2,3: 56:[8, 64] Operation: 65-1=64 Exploring Operation: 8-1=7, Resulting Numbers: [65, 7] Generated Node #0,2,4: 56:[65, 7] Operation: 8-1=7 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 56:[1, 57], Operations: ['90-25=65', '65-8=57'] Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,56 unequal: No Solution Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[90, 25, 1, 8], Operations: [] Exploring Operation: 90-25=65, Resulting Numbers: [1, 8, 65] Generated Node #0,2: 56:[1, 8, 65] Operation: 90-25=65 Moving to Node #0,2 Current State: 56:[1, 8, 65], Operations: ['90-25=65'] Exploring Operation: 65-8=57, Resulting Numbers: [1, 57] Generated Node #0,2,0: 56:[1, 57] Operation: 65-8=57 Moving to Node #0,2,0 Current State: 56:[1, 57], Operations: ['90-25=65', '65-8=57'] Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 39, 5, 61, 23 ]
43
[ "39+61=100", "100/5=20", "23+20=43" ]
Current State: 43:[39, 5, 61, 23], Operations: [] Exploring Operation: 39+61=100, Resulting Numbers: [5, 23, 100] Generated Node #2: [5, 23, 100] from Operation: 39+61=100 Current State: 43:[5, 23, 100], Operations: ['39+61=100'] Exploring Operation: 100/5=20, Resulting Numbers: [23, 20] Generated Node #3: [23, 20] from Operation: 100/5=20 Current State: 43:[23, 20], Operations: ['39+61=100', '100/5=20'] Exploring Operation: 23+20=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[39, 5, 61, 23], Operations: [] Exploring Operation: 39+5=44, Resulting Numbers: [61, 23, 44] Generated Node #0,0: 43:[61, 23, 44] Operation: 39+5=44 Exploring Operation: 61-5=56, Resulting Numbers: [39, 23, 56] Generated Node #0,1: 43:[39, 23, 56] Operation: 61-5=56 Exploring Operation: 5+23=28, Resulting Numbers: [39, 61, 28] Generated Node #0,2: 43:[39, 61, 28] Operation: 5+23=28 Exploring Operation: 39-5=34, Resulting Numbers: [61, 23, 34] Generated Node #0,3: 43:[61, 23, 34] Operation: 39-5=34 Moving to Node #0,1 Current State: 43:[39, 23, 56], Operations: ['61-5=56'] Exploring Operation: 39-23=16, Resulting Numbers: [56, 16] Generated Node #0,1,0: 43:[56, 16] Operation: 39-23=16 Exploring Operation: 56-23=33, Resulting Numbers: [39, 33] Generated Node #0,1,1: 43:[39, 33] Operation: 56-23=33 Exploring Operation: 23+56=79, Resulting Numbers: [39, 79] Generated Node #0,1,2: 43:[39, 79] Operation: 23+56=79 Exploring Operation: 39+23=62, Resulting Numbers: [56, 62] Generated Node #0,1,3: 43:[56, 62] Operation: 39+23=62 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 43:[39, 33], Operations: ['61-5=56', '56-23=33'] Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,43 unequal: No Solution Exploring Operation: 39*33=1287, Resulting Numbers: [1287] 1287,43 unequal: No Solution Exploring Operation: 39+33=72, Resulting Numbers: [72] 72,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,3 Current State: 43:[56, 62], Operations: ['61-5=56', '39+23=62'] Exploring Operation: 56*62=3472, Resulting Numbers: [3472] 3472,43 unequal: No Solution Exploring Operation: 56+62=118, Resulting Numbers: [118] 118,43 unequal: No Solution Exploring Operation: 62-56=6, Resulting Numbers: [6] 6,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 43:[56, 16], Operations: ['61-5=56', '39-23=16'] Exploring Operation: 56*16=896, Resulting Numbers: [896] 896,43 unequal: No Solution Exploring Operation: 56+16=72, Resulting Numbers: [72] 72,43 unequal: No Solution Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,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,2 Current State: 43:[39, 79], Operations: ['61-5=56', '23+56=79'] Exploring Operation: 39*79=3081, Resulting Numbers: [3081] 3081,43 unequal: No Solution Exploring Operation: 39+79=118, Resulting Numbers: [118] 118,43 unequal: No Solution Exploring Operation: 79-39=40, Resulting Numbers: [40] 40,43 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: 43:[39, 61, 28], Operations: ['5+23=28'] Exploring Operation: 61-39=22, Resulting Numbers: [28, 22] Generated Node #0,2,0: 43:[28, 22] Operation: 61-39=22 Exploring Operation: 61-28=33, Resulting Numbers: [39, 33] Generated Node #0,2,1: 43:[39, 33] Operation: 61-28=33 Exploring Operation: 39+28=67, Resulting Numbers: [61, 67] Generated Node #0,2,2: 43:[61, 67] Operation: 39+28=67 Exploring Operation: 39-28=11, Resulting Numbers: [61, 11] Generated Node #0,2,3: 43:[61, 11] Operation: 39-28=11 Moving to Node #0,0 Current State: 43:[61, 23, 44], Operations: ['39+5=44'] Exploring Operation: 61+23=84, Resulting Numbers: [44, 84] Generated Node #0,0,0: 43:[44, 84] Operation: 61+23=84 Exploring Operation: 23+44=67, Resulting Numbers: [61, 67] Generated Node #0,0,1: 43:[61, 67] Operation: 23+44=67 Exploring Operation: 44-23=21, Resulting Numbers: [61, 21] Generated Node #0,0,2: 43:[61, 21] Operation: 44-23=21 Exploring Operation: 61-23=38, Resulting Numbers: [44, 38] Generated Node #0,0,3: 43:[44, 38] Operation: 61-23=38 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 43:[44, 38], Operations: ['39+5=44', '61-23=38'] Exploring Operation: 44*38=1672, Resulting Numbers: [1672] 1672,43 unequal: No Solution Exploring Operation: 44-38=6, Resulting Numbers: [6] 6,43 unequal: No Solution Exploring Operation: 44+38=82, Resulting Numbers: [82] 82,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 43:[61, 21], Operations: ['39+5=44', '44-23=21'] Exploring Operation: 61-21=40, Resulting Numbers: [40] 40,43 unequal: No Solution Exploring Operation: 61+21=82, Resulting Numbers: [82] 82,43 unequal: No Solution Exploring Operation: 61*21=1281, Resulting Numbers: [1281] 1281,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[44, 84], Operations: ['39+5=44', '61+23=84'] Exploring Operation: 84-44=40, Resulting Numbers: [40] 40,43 unequal: No Solution Exploring Operation: 44+84=128, Resulting Numbers: [128] 128,43 unequal: No Solution Exploring Operation: 44*84=3696, Resulting Numbers: [3696] 3696,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 43:[61, 67], Operations: ['39+5=44', '23+44=67'] Exploring Operation: 67-61=6, Resulting Numbers: [6] 6,43 unequal: No Solution Exploring Operation: 61*67=4087, Resulting Numbers: [4087] 4087,43 unequal: No Solution Exploring Operation: 61+67=128, Resulting Numbers: [128] 128,43 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: 43:[61, 23, 34], Operations: ['39-5=34'] Exploring Operation: 61+23=84, Resulting Numbers: [34, 84] Generated Node #0,3,0: 43:[34, 84] Operation: 61+23=84 Exploring Operation: 61-23=38, Resulting Numbers: [34, 38] Generated Node #0,3,1: 43:[34, 38] Operation: 61-23=38 Exploring Operation: 23+34=57, Resulting Numbers: [61, 57] Generated Node #0,3,2: 43:[61, 57] Operation: 23+34=57 Exploring Operation: 61-34=27, Resulting Numbers: [23, 27] Generated Node #0,3,3: 43:[23, 27] Operation: 61-34=27 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 43:[34, 38], Operations: ['39-5=34', '61-23=38'] Exploring Operation: 38-34=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 34+38=72, Resulting Numbers: [72] 72,43 unequal: No Solution Exploring Operation: 34*38=1292, Resulting Numbers: [1292] 1292,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 43:[61, 57], Operations: ['39-5=34', '23+34=57'] Exploring Operation: 61-57=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 61*57=3477, Resulting Numbers: [3477] 3477,43 unequal: No Solution Exploring Operation: 61+57=118, Resulting Numbers: [118] 118,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 43:[23, 27], Operations: ['39-5=34', '61-34=27'] Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 23+27=50, Resulting Numbers: [50] 50,43 unequal: No Solution Exploring Operation: 23*27=621, Resulting Numbers: [621] 621,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 43:[34, 84], Operations: ['39-5=34', '61+23=84'] Exploring Operation: 84-34=50, Resulting Numbers: [50] 50,43 unequal: No Solution Exploring Operation: 34*84=2856, Resulting Numbers: [2856] 2856,43 unequal: No Solution Exploring Operation: 34+84=118, Resulting Numbers: [118] 118,43 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: 43:[39, 33], Operations: ['5+23=28', '61-28=33'] Exploring Operation: 39*33=1287, Resulting Numbers: [1287] 1287,43 unequal: No Solution Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,43 unequal: No Solution Exploring Operation: 39+33=72, Resulting Numbers: [72] 72,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[28, 22], Operations: ['5+23=28', '61-39=22'] Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,43 unequal: No Solution Exploring Operation: 28+22=50, Resulting Numbers: [50] 50,43 unequal: No Solution Exploring Operation: 28*22=616, Resulting Numbers: [616] 616,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[61, 67], Operations: ['5+23=28', '39+28=67'] Exploring Operation: 61*67=4087, Resulting Numbers: [4087] 4087,43 unequal: No Solution Exploring Operation: 61+67=128, Resulting Numbers: [128] 128,43 unequal: No Solution Exploring Operation: 67-61=6, Resulting Numbers: [6] 6,43 unequal: No Solution Moving to Node #0,2,3 Current State: 43:[61, 11], Operations: ['5+23=28', '39-28=11'] Exploring Operation: 61+11=72, Resulting Numbers: [72] 72,43 unequal: No Solution Exploring Operation: 61-11=50, Resulting Numbers: [50] 50,43 unequal: No Solution Exploring Operation: 61*11=671, Resulting Numbers: [671] 671,43 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 29, 33, 96, 69 ]
35
[ "29+33=62", "96-69=27", "62-27=35" ]
Current State: 35:[29, 33, 96, 69], Operations: [] Exploring Operation: 29+33=62, Resulting Numbers: [96, 69, 62] Generated Node #2: [96, 69, 62] from Operation: 29+33=62 Current State: 35:[96, 69, 62], Operations: ['29+33=62'] Exploring Operation: 96-69=27, Resulting Numbers: [62, 27] Generated Node #3: [62, 27] from Operation: 96-69=27 Current State: 35:[62, 27], Operations: ['29+33=62', '96-69=27'] Exploring Operation: 62-27=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[29, 33, 96, 69], Operations: [] Exploring Operation: 96-29=67, Resulting Numbers: [33, 69, 67] Generated Node #0,0: 35:[33, 69, 67] Operation: 96-29=67 Exploring Operation: 69-29=40, Resulting Numbers: [33, 96, 40] Generated Node #0,1: 35:[33, 96, 40] Operation: 69-29=40 Exploring Operation: 96-69=27, Resulting Numbers: [29, 33, 27] Generated Node #0,2: 35:[29, 33, 27] Operation: 96-69=27 Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[29, 33, 27], Operations: ['96-69=27'] Exploring Operation: 33-27=6, Resulting Numbers: [29, 6] Generated Node #0,2,0: 35:[29, 6] Operation: 33-27=6 Exploring Operation: 29-27=2, Resulting Numbers: [33, 2] Generated Node #0,2,1: 35:[33, 2] Operation: 29-27=2 Exploring Operation: 33-29=4, Resulting Numbers: [27, 4] Generated Node #0,2,2: 35:[27, 4] Operation: 33-29=4 Moving to Node #0,2,1 Current State: 35:[33, 2], Operations: ['96-69=27', '29-27=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,35 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,35 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[29, 33, 96, 69], Operations: [] Exploring Operation: 96-69=27, Resulting Numbers: [29, 33, 27] Generated Node #0,2: 35:[29, 33, 27] Operation: 96-69=27 Moving to Node #0,2 Current State: 35:[29, 33, 27], Operations: ['96-69=27'] Exploring Operation: 29-27=2, Resulting Numbers: [33, 2] Generated Node #0,2,1: 35:[33, 2] Operation: 29-27=2 Moving to Node #0,2,1 Current State: 35:[33, 2], Operations: ['96-69=27', '29-27=2'] Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 55, 66, 68, 72 ]
62
[ "72-55=17", "68/17=4", "66-4=62" ]
Current State: 62:[55, 66, 68, 72], Operations: [] Exploring Operation: 72-55=17, Resulting Numbers: [66, 68, 17] Generated Node #2: [66, 68, 17] from Operation: 72-55=17 Current State: 62:[66, 68, 17], Operations: ['72-55=17'] Exploring Operation: 68/17=4, Resulting Numbers: [66, 4] Generated Node #3: [66, 4] from Operation: 68/17=4 Current State: 62:[66, 4], Operations: ['72-55=17', '68/17=4'] Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[55, 66, 68, 72], Operations: [] Exploring Operation: 72-68=4, Resulting Numbers: [55, 66, 4] Generated Node #0,0: 62:[55, 66, 4] Operation: 72-68=4 Moving to Node #0,0 Current State: 62:[55, 66, 4], Operations: ['72-68=4'] Exploring Operation: 55+4=59, Resulting Numbers: [66, 59] Generated Node #0,0,0: 62:[66, 59] Operation: 55+4=59 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[66, 59], Operations: ['72-68=4', '55+4=59'] Exploring Operation: 66-59=7, Resulting Numbers: [7] 7,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 32, 17, 38, 77 ]
54
[ "32-17=15", "77-38=39", "15+39=54" ]
Current State: 54:[32, 17, 38, 77], Operations: [] Exploring Operation: 32-17=15, Resulting Numbers: [38, 77, 15] Generated Node #2: [38, 77, 15] from Operation: 32-17=15 Current State: 54:[38, 77, 15], Operations: ['32-17=15'] Exploring Operation: 77-38=39, Resulting Numbers: [15, 39] Generated Node #3: [15, 39] from Operation: 77-38=39 Current State: 54:[15, 39], Operations: ['32-17=15', '77-38=39'] Exploring Operation: 15+39=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[32, 17, 38, 77], Operations: [] Exploring Operation: 77-32=45, Resulting Numbers: [17, 38, 45] Generated Node #0,0: 54:[17, 38, 45] Operation: 77-32=45 Exploring Operation: 77-38=39, Resulting Numbers: [32, 17, 39] Generated Node #0,1: 54:[32, 17, 39] Operation: 77-38=39 Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[32, 17, 39], Operations: ['77-38=39'] Exploring Operation: 39-32=7, Resulting Numbers: [17, 7] Generated Node #0,1,0: 54:[17, 7] Operation: 39-32=7 Exploring Operation: 17+39=56, Resulting Numbers: [32, 56] Generated Node #0,1,1: 54:[32, 56] Operation: 17+39=56 Moving to Node #0,1,0 Current State: 54:[17, 7], Operations: ['77-38=39', '39-32=7'] Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[32, 56], Operations: ['77-38=39', '17+39=56'] Exploring Operation: 32+56=88, Resulting Numbers: [88] 88,54 unequal: No Solution Exploring Operation: 56-32=24, Resulting Numbers: [24] 24,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 Current State: 54:[17, 38, 45], Operations: ['77-32=45'] Exploring Operation: 17+38=55, Resulting Numbers: [45, 55] Generated Node #0,0,0: 54:[45, 55] Operation: 17+38=55 Exploring Operation: 45-38=7, Resulting Numbers: [17, 7] Generated Node #0,0,1: 54:[17, 7] Operation: 45-38=7 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 54:[17, 7], Operations: ['77-32=45', '45-38=7'] Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[45, 55], Operations: ['77-32=45', '17+38=55'] Exploring Operation: 45+55=100, Resulting Numbers: [100] 100,54 unequal: No Solution Exploring Operation: 55-45=10, Resulting Numbers: [10] 10,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 27, 50, 52, 45 ]
83
[ "50-45=5", "27*5=135", "135-52=83" ]
Current State: 83:[27, 50, 52, 45], Operations: [] Exploring Operation: 50-45=5, Resulting Numbers: [27, 52, 5] Generated Node #2: [27, 52, 5] from Operation: 50-45=5 Current State: 83:[27, 52, 5], Operations: ['50-45=5'] Exploring Operation: 27*5=135, Resulting Numbers: [52, 135] Generated Node #3: [52, 135] from Operation: 27*5=135 Current State: 83:[52, 135], Operations: ['50-45=5', '27*5=135'] Exploring Operation: 135-52=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[27, 50, 52, 45], Operations: [] Exploring Operation: 27+50=77, Resulting Numbers: [52, 45, 77] Generated Node #0,0: 83:[52, 45, 77] Operation: 27+50=77 Exploring Operation: 27+52=79, Resulting Numbers: [50, 45, 79] Generated Node #0,1: 83:[50, 45, 79] Operation: 27+52=79 Exploring Operation: 27+45=72, Resulting Numbers: [50, 52, 72] Generated Node #0,2: 83:[50, 52, 72] Operation: 27+45=72 Moving to Node #0,0 Current State: 83:[52, 45, 77], Operations: ['27+50=77'] Exploring Operation: 52+45=97, Resulting Numbers: [77, 97] Generated Node #0,0,0: 83:[77, 97] Operation: 52+45=97 Exploring Operation: 45+77=122, Resulting Numbers: [52, 122] Generated Node #0,0,1: 83:[52, 122] Operation: 45+77=122 Exploring Operation: 52-45=7, Resulting Numbers: [77, 7] Generated Node #0,0,2: 83:[77, 7] Operation: 52-45=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[77, 97], Operations: ['27+50=77', '52+45=97'] Exploring Operation: 97-77=20, Resulting Numbers: [20] 20,83 unequal: No Solution Exploring Operation: 77*97=7469, Resulting Numbers: [7469] 7469,83 unequal: No Solution Exploring Operation: 77+97=174, Resulting Numbers: [174] 174,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[52, 122], Operations: ['27+50=77', '45+77=122'] Exploring Operation: 122-52=70, Resulting Numbers: [70] 70,83 unequal: No Solution Exploring Operation: 52+122=174, Resulting Numbers: [174] 174,83 unequal: No Solution Exploring Operation: 52*122=6344, Resulting Numbers: [6344] 6344,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 83:[77, 7], Operations: ['27+50=77', '52-45=7'] Exploring Operation: 77+7=84, Resulting Numbers: [84] 84,83 unequal: No Solution Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,83 unequal: No Solution Exploring Operation: 77-7=70, Resulting Numbers: [70] 70,83 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: 83:[50, 45, 79], Operations: ['27+52=79'] Exploring Operation: 45+79=124, Resulting Numbers: [50, 124] Generated Node #0,1,0: 83:[50, 124] Operation: 45+79=124 Exploring Operation: 50+45=95, Resulting Numbers: [79, 95] Generated Node #0,1,1: 83:[79, 95] Operation: 50+45=95 Exploring Operation: 50-45=5, Resulting Numbers: [79, 5] Generated Node #0,1,2: 83:[79, 5] Operation: 50-45=5 Moving to Node #0,2 Current State: 83:[50, 52, 72], Operations: ['27+45=72'] Exploring Operation: 50+52=102, Resulting Numbers: [72, 102] Generated Node #0,2,0: 83:[72, 102] Operation: 50+52=102 Exploring Operation: 50+72=122, Resulting Numbers: [52, 122] Generated Node #0,2,1: 83:[52, 122] Operation: 50+72=122 Exploring Operation: 52+72=124, Resulting Numbers: [50, 124] Generated Node #0,2,2: 83:[50, 124] Operation: 52+72=124 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[72, 102], Operations: ['27+45=72', '50+52=102'] Exploring Operation: 102-72=30, Resulting Numbers: [30] 30,83 unequal: No Solution Exploring Operation: 72*102=7344, Resulting Numbers: [7344] 7344,83 unequal: No Solution Exploring Operation: 72+102=174, Resulting Numbers: [174] 174,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 83:[52, 122], Operations: ['27+45=72', '50+72=122'] Exploring Operation: 122-52=70, Resulting Numbers: [70] 70,83 unequal: No Solution Exploring Operation: 52+122=174, Resulting Numbers: [174] 174,83 unequal: No Solution Exploring Operation: 52*122=6344, Resulting Numbers: [6344] 6344,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,2 Current State: 83:[50, 124], Operations: ['27+45=72', '52+72=124'] Exploring Operation: 50*124=6200, Resulting Numbers: [6200] 6200,83 unequal: No Solution Exploring Operation: 124-50=74, Resulting Numbers: [74] 74,83 unequal: No Solution Exploring Operation: 50+124=174, Resulting Numbers: [174] 174,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 83:[79, 95], Operations: ['27+52=79', '50+45=95'] Exploring Operation: 95-79=16, Resulting Numbers: [16] 16,83 unequal: No Solution Exploring Operation: 79*95=7505, Resulting Numbers: [7505] 7505,83 unequal: No Solution Exploring Operation: 79+95=174, Resulting Numbers: [174] 174,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[50, 124], Operations: ['27+52=79', '45+79=124'] Exploring Operation: 124-50=74, Resulting Numbers: [74] 74,83 unequal: No Solution Exploring Operation: 50+124=174, Resulting Numbers: [174] 174,83 unequal: No Solution Exploring Operation: 50*124=6200, Resulting Numbers: [6200] 6200,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[79, 5], Operations: ['27+52=79', '50-45=5'] Exploring Operation: 79+5=84, Resulting Numbers: [84] 84,83 unequal: No Solution Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,83 unequal: No Solution Exploring Operation: 79*5=395, Resulting Numbers: [395] 395,83 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 51, 51, 70, 70 ]
38
[ "51+51=102", "70+70=140", "140-102=38" ]
Current State: 38:[51, 51, 70, 70], Operations: [] Exploring Operation: 51+51=102, Resulting Numbers: [70, 70, 102] Generated Node #2: [70, 70, 102] from Operation: 51+51=102 Current State: 38:[70, 70, 102], Operations: ['51+51=102'] Exploring Operation: 70+70=140, Resulting Numbers: [102, 140] Generated Node #3: [102, 140] from Operation: 70+70=140 Current State: 38:[102, 140], Operations: ['51+51=102', '70+70=140'] Exploring Operation: 140-102=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[51, 51, 70, 70], Operations: [] Exploring Operation: 70-70=0, Resulting Numbers: [51, 51, 0] Generated Node #0,0: 38:[51, 51, 0] Operation: 70-70=0 Exploring Operation: 70/70=1, Resulting Numbers: [51, 51, 1] Generated Node #0,1: 38:[51, 51, 1] Operation: 70/70=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[51, 51, 1], Operations: ['70/70=1'] Exploring Operation: 51-51=0, Resulting Numbers: [1, 0] Generated Node #0,1,0: 38:[1, 0] Operation: 51-51=0 Exploring Operation: 51/51=1, Resulting Numbers: [1, 1] Generated Node #0,1,1: 38:[1, 1] Operation: 51/51=1 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 38:[1, 1], Operations: ['70/70=1', '51/51=1'] Exploring Operation: 1*1=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 1+1=2, Resulting Numbers: [2] 2,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 38:[1, 0], Operations: ['70/70=1', '51-51=0'] Exploring Operation: 1+0=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 1-0=1, Resulting Numbers: [1] 1,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[51, 51, 0], Operations: ['70-70=0'] Exploring Operation: 51/51=1, Resulting Numbers: [0, 1] Generated Node #0,0,0: 38:[0, 1] Operation: 51/51=1 Exploring Operation: 51-51=0, Resulting Numbers: [0, 0] Generated Node #0,0,1: 38:[0, 0] Operation: 51-51=0 Moving to Node #0,0,0 Current State: 38:[0, 1], Operations: ['70-70=0', '51/51=1'] Exploring Operation: 1-0=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 0+1=1, Resulting Numbers: [1] 1,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[0, 0], Operations: ['70-70=0', '51-51=0'] Exploring Operation: 0+0=0, Resulting Numbers: [0] 0,38 unequal: No Solution Exploring Operation: 0*0=0, Resulting Numbers: [0] 0,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 88, 84, 29, 40 ]
39
[ "88-84=4", "40/4=10", "29+10=39" ]
Current State: 39:[88, 84, 29, 40], Operations: [] Exploring Operation: 88-84=4, Resulting Numbers: [29, 40, 4] Generated Node #2: [29, 40, 4] from Operation: 88-84=4 Current State: 39:[29, 40, 4], Operations: ['88-84=4'] Exploring Operation: 40/4=10, Resulting Numbers: [29, 10] Generated Node #3: [29, 10] from Operation: 40/4=10 Current State: 39:[29, 10], Operations: ['88-84=4', '40/4=10'] Exploring Operation: 29+10=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[88, 84, 29, 40], Operations: [] Exploring Operation: 88-84=4, Resulting Numbers: [29, 40, 4] Generated Node #0,0: 39:[29, 40, 4] Operation: 88-84=4 Exploring Operation: 88-40=48, Resulting Numbers: [84, 29, 48] Generated Node #0,1: 39:[84, 29, 48] Operation: 88-40=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[29, 40, 4], Operations: ['88-84=4'] Exploring Operation: 40-29=11, Resulting Numbers: [4, 11] Generated Node #0,0,0: 39:[4, 11] Operation: 40-29=11 Exploring Operation: 29+4=33, Resulting Numbers: [40, 33] Generated Node #0,0,1: 39:[40, 33] Operation: 29+4=33 Moving to Node #0,0,0 Current State: 39:[4, 11], Operations: ['88-84=4', '40-29=11'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[40, 33], Operations: ['88-84=4', '29+4=33'] Exploring Operation: 40+33=73, Resulting Numbers: [73] 73,39 unequal: No Solution Exploring Operation: 40-33=7, Resulting Numbers: [7] 7,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[84, 29, 48], Operations: ['88-40=48'] Exploring Operation: 84-29=55, Resulting Numbers: [48, 55] Generated Node #0,1,0: 39:[48, 55] Operation: 84-29=55 Exploring Operation: 84-48=36, Resulting Numbers: [29, 36] Generated Node #0,1,1: 39:[29, 36] Operation: 84-48=36 Moving to Node #0,1,1 Current State: 39:[29, 36], Operations: ['88-40=48', '84-48=36'] Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 29+36=65, Resulting Numbers: [65] 65,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[48, 55], Operations: ['88-40=48', '84-29=55'] Exploring Operation: 48+55=103, Resulting Numbers: [103] 103,39 unequal: No Solution Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,39 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
[ 50, 12, 12, 81 ]
55
[ "50-12=38", "12+81=93", "93-38=55" ]
Current State: 55:[50, 12, 12, 81], Operations: [] Exploring Operation: 50-12=38, Resulting Numbers: [81, 38] Generated Node #2: [81, 38] from Operation: 50-12=38 Current State: 55:[81, 38], Operations: ['50-12=38'] Exploring Operation: 12+81=93, Resulting Numbers: [38, 93] Generated Node #3: [38, 93] from Operation: 12+81=93 Current State: 55:[38, 93], Operations: ['50-12=38', '12+81=93'] Exploring Operation: 93-38=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[50, 12, 12, 81], Operations: [] Exploring Operation: 81-12=69, Resulting Numbers: [50, 12, 69] Generated Node #0,0: 55:[50, 12, 69] Operation: 81-12=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[50, 12, 69], Operations: ['81-12=69'] Exploring Operation: 69-12=57, Resulting Numbers: [50, 57] Generated Node #0,0,0: 55:[50, 57] Operation: 69-12=57 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 55:[50, 57], Operations: ['81-12=69', '69-12=57'] Exploring Operation: 57-50=7, Resulting Numbers: [7] 7,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 75, 11, 65, 25 ]
98
[ "75*11=825", "825/25=33", "65+33=98" ]
Current State: 98:[75, 11, 65, 25], Operations: [] Exploring Operation: 75*11=825, Resulting Numbers: [65, 25, 825] Generated Node #2: [65, 25, 825] from Operation: 75*11=825 Current State: 98:[65, 25, 825], Operations: ['75*11=825'] Exploring Operation: 825/25=33, Resulting Numbers: [65, 33] Generated Node #3: [65, 33] from Operation: 825/25=33 Current State: 98:[65, 33], Operations: ['75*11=825', '825/25=33'] Exploring Operation: 65+33=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[75, 11, 65, 25], Operations: [] Exploring Operation: 75-65=10, Resulting Numbers: [11, 25, 10] Generated Node #0,0: 98:[11, 25, 10] Operation: 75-65=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[11, 25, 10], Operations: ['75-65=10'] Exploring Operation: 25-11=14, Resulting Numbers: [10, 14] Generated Node #0,0,0: 98:[10, 14] Operation: 25-11=14 Moving to Node #0,0,0 Current State: 98:[10, 14], Operations: ['75-65=10', '25-11=14'] Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,98 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
[ 99, 24, 8, 33 ]
100
[ "99-24=75", "33-8=25", "75+25=100" ]
Current State: 100:[99, 24, 8, 33], Operations: [] Exploring Operation: 99-24=75, Resulting Numbers: [8, 33, 75] Generated Node #2: [8, 33, 75] from Operation: 99-24=75 Current State: 100:[8, 33, 75], Operations: ['99-24=75'] Exploring Operation: 33-8=25, Resulting Numbers: [75, 25] Generated Node #3: [75, 25] from Operation: 33-8=25 Current State: 100:[75, 25], Operations: ['99-24=75', '33-8=25'] Exploring Operation: 75+25=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[99, 24, 8, 33], Operations: [] Exploring Operation: 33-8=25, Resulting Numbers: [99, 24, 25] Generated Node #0,0: 100:[99, 24, 25] Operation: 33-8=25 Exploring Operation: 99/33=3, Resulting Numbers: [24, 8, 3] Generated Node #0,1: 100:[24, 8, 3] Operation: 99/33=3 Exploring Operation: 33-24=9, Resulting Numbers: [99, 8, 9] Generated Node #0,2: 100:[99, 8, 9] Operation: 33-24=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[99, 24, 25], Operations: ['33-8=25'] Exploring Operation: 99+24=123, Resulting Numbers: [25, 123] Generated Node #0,0,0: 100:[25, 123] Operation: 99+24=123 Exploring Operation: 25-24=1, Resulting Numbers: [99, 1] Generated Node #0,0,1: 100:[99, 1] Operation: 25-24=1 Exploring Operation: 24+25=49, Resulting Numbers: [99, 49] Generated Node #0,0,2: 100:[99, 49] Operation: 24+25=49 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 100:[99, 1], Operations: ['33-8=25', '25-24=1'] Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,100 unequal: No Solution Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[99, 24, 8, 33], Operations: [] Exploring Operation: 33-8=25, Resulting Numbers: [99, 24, 25] Generated Node #0,0: 100:[99, 24, 25] Operation: 33-8=25 Moving to Node #0,0 Current State: 100:[99, 24, 25], Operations: ['33-8=25'] Exploring Operation: 25-24=1, Resulting Numbers: [99, 1] Generated Node #0,0,1: 100:[99, 1] Operation: 25-24=1 Moving to Node #0,0,1 Current State: 100:[99, 1], Operations: ['33-8=25', '25-24=1'] Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 13, 91, 67, 91 ]
31
[ "91/13=7", "91-67=24", "7+24=31" ]
Current State: 31:[13, 91, 67, 91], Operations: [] Exploring Operation: 91/13=7, Resulting Numbers: [67, 7] Generated Node #2: [67, 7] from Operation: 91/13=7 Current State: 31:[67, 7], Operations: ['91/13=7'] Exploring Operation: 91-67=24, Resulting Numbers: [7, 24] Generated Node #3: [7, 24] from Operation: 91-67=24 Current State: 31:[7, 24], Operations: ['91/13=7', '91-67=24'] Exploring Operation: 7+24=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[13, 91, 67, 91], Operations: [] Exploring Operation: 91/91=1, Resulting Numbers: [13, 67, 1] Generated Node #0,0: 31:[13, 67, 1] Operation: 91/91=1 Moving to Node #0,0 Current State: 31:[13, 67, 1], Operations: ['91/91=1'] Exploring Operation: 67-13=54, Resulting Numbers: [1, 54] Generated Node #0,0,0: 31:[1, 54] Operation: 67-13=54 Moving to Node #0,0,0 Current State: 31:[1, 54], Operations: ['91/91=1', '67-13=54'] Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,31 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 76, 75, 68, 58 ]
72
[ "75-58=17", "68/17=4", "76-4=72" ]
Current State: 72:[76, 75, 68, 58], Operations: [] Exploring Operation: 75-58=17, Resulting Numbers: [76, 68, 17] Generated Node #2: [76, 68, 17] from Operation: 75-58=17 Current State: 72:[76, 68, 17], Operations: ['75-58=17'] Exploring Operation: 68/17=4, Resulting Numbers: [76, 4] Generated Node #3: [76, 4] from Operation: 68/17=4 Current State: 72:[76, 4], Operations: ['75-58=17', '68/17=4'] Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[76, 75, 68, 58], Operations: [] Exploring Operation: 76-58=18, Resulting Numbers: [75, 68, 18] Generated Node #0,0: 72:[75, 68, 18] Operation: 76-58=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[75, 68, 18], Operations: ['76-58=18'] Exploring Operation: 75-68=7, Resulting Numbers: [18, 7] Generated Node #0,0,0: 72:[18, 7] Operation: 75-68=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[18, 7], Operations: ['76-58=18', '75-68=7'] Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 73, 65, 3, 9 ]
99
[ "73-65=8", "3+8=11", "9*11=99" ]
Current State: 99:[73, 65, 3, 9], Operations: [] Exploring Operation: 73-65=8, Resulting Numbers: [3, 9, 8] Generated Node #2: [3, 9, 8] from Operation: 73-65=8 Current State: 99:[3, 9, 8], Operations: ['73-65=8'] Exploring Operation: 3+8=11, Resulting Numbers: [9, 11] Generated Node #3: [9, 11] from Operation: 3+8=11 Current State: 99:[9, 11], Operations: ['73-65=8', '3+8=11'] Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[73, 65, 3, 9], Operations: [] Exploring Operation: 73+65=138, Resulting Numbers: [3, 9, 138] Generated Node #0,0: 99:[3, 9, 138] Operation: 73+65=138 Exploring Operation: 73-65=8, Resulting Numbers: [3, 9, 8] Generated Node #0,1: 99:[3, 9, 8] Operation: 73-65=8 Exploring Operation: 73+9=82, Resulting Numbers: [65, 3, 82] Generated Node #0,2: 99:[65, 3, 82] Operation: 73+9=82 Exploring Operation: 65-9=56, Resulting Numbers: [73, 3, 56] Generated Node #0,3: 99:[73, 3, 56] Operation: 65-9=56 Exploring Operation: 65+9=74, Resulting Numbers: [73, 3, 74] Generated Node #0,4: 99:[73, 3, 74] Operation: 65+9=74 Moving to Node #0,1 Current State: 99:[3, 9, 8], Operations: ['73-65=8'] Exploring Operation: 8-3=5, Resulting Numbers: [9, 5] Generated Node #0,1,0: 99:[9, 5] Operation: 8-3=5 Exploring Operation: 9/3=3, Resulting Numbers: [8, 3] Generated Node #0,1,1: 99:[8, 3] Operation: 9/3=3 Exploring Operation: 3+8=11, Resulting Numbers: [9, 11] Generated Node #0,1,2: 99:[9, 11] Operation: 3+8=11 Exploring Operation: 9-8=1, Resulting Numbers: [3, 1] Generated Node #0,1,3: 99:[3, 1] Operation: 9-8=1 Exploring Operation: 3+9=12, Resulting Numbers: [8, 12] Generated Node #0,1,4: 99:[8, 12] Operation: 3+9=12 Moving to Node #0,0 Current State: 99:[3, 9, 138], Operations: ['73+65=138'] Exploring Operation: 138-9=129, Resulting Numbers: [3, 129] Generated Node #0,0,0: 99:[3, 129] Operation: 138-9=129 Exploring Operation: 3+9=12, Resulting Numbers: [138, 12] Generated Node #0,0,1: 99:[138, 12] Operation: 3+9=12 Exploring Operation: 138-3=135, Resulting Numbers: [9, 135] Generated Node #0,0,2: 99:[9, 135] Operation: 138-3=135 Exploring Operation: 9/3=3, Resulting Numbers: [138, 3] Generated Node #0,0,3: 99:[138, 3] Operation: 9/3=3 Exploring Operation: 138/3=46, Resulting Numbers: [9, 46] Generated Node #0,0,4: 99:[9, 46] Operation: 138/3=46 Moving to Node #0,2 Current State: 99:[65, 3, 82], Operations: ['73+9=82'] Exploring Operation: 65+82=147, Resulting Numbers: [3, 147] Generated Node #0,2,0: 99:[3, 147] Operation: 65+82=147 Exploring Operation: 65-3=62, Resulting Numbers: [82, 62] Generated Node #0,2,1: 99:[82, 62] Operation: 65-3=62 Exploring Operation: 3+82=85, Resulting Numbers: [65, 85] Generated Node #0,2,2: 99:[65, 85] Operation: 3+82=85 Exploring Operation: 65+3=68, Resulting Numbers: [82, 68] Generated Node #0,2,3: 99:[82, 68] Operation: 65+3=68 Exploring Operation: 82-65=17, Resulting Numbers: [3, 17] Generated Node #0,2,4: 99:[3, 17] Operation: 82-65=17 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 99:[3, 17], Operations: ['73+9=82', '82-65=17'] Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,99 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,99 unequal: No Solution Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,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,2,1 Current State: 99:[82, 62], Operations: ['73+9=82', '65-3=62'] Exploring Operation: 82*62=5084, Resulting Numbers: [5084] 5084,99 unequal: No Solution Exploring Operation: 82+62=144, Resulting Numbers: [144] 144,99 unequal: No Solution Exploring Operation: 82-62=20, Resulting Numbers: [20] 20,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,2,2 Current State: 99:[65, 85], Operations: ['73+9=82', '3+82=85'] Exploring Operation: 65+85=150, Resulting Numbers: [150] 150,99 unequal: No Solution Exploring Operation: 65*85=5525, Resulting Numbers: [5525] 5525,99 unequal: No Solution Exploring Operation: 85-65=20, Resulting Numbers: [20] 20,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,2,0 Current State: 99:[3, 147], Operations: ['73+9=82', '65+82=147'] Exploring Operation: 3+147=150, Resulting Numbers: [150] 150,99 unequal: No Solution Exploring Operation: 147-3=144, Resulting Numbers: [144] 144,99 unequal: No Solution Exploring Operation: 3*147=441, Resulting Numbers: [441] 441,99 unequal: No Solution Exploring Operation: 147/3=49, Resulting Numbers: [49] 49,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,2,3 Current State: 99:[82, 68], Operations: ['73+9=82', '65+3=68'] Exploring Operation: 82-68=14, Resulting Numbers: [14] 14,99 unequal: No Solution Exploring Operation: 82+68=150, Resulting Numbers: [150] 150,99 unequal: No Solution Exploring Operation: 82*68=5576, Resulting Numbers: [5576] 5576,99 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: 99:[73, 3, 56], Operations: ['65-9=56'] Exploring Operation: 73+3=76, Resulting Numbers: [56, 76] Generated Node #0,3,0: 99:[56, 76] Operation: 73+3=76 Exploring Operation: 73-3=70, Resulting Numbers: [56, 70] Generated Node #0,3,1: 99:[56, 70] Operation: 73-3=70 Exploring Operation: 73+56=129, Resulting Numbers: [3, 129] Generated Node #0,3,2: 99:[3, 129] Operation: 73+56=129 Exploring Operation: 56-3=53, Resulting Numbers: [73, 53] Generated Node #0,3,3: 99:[73, 53] Operation: 56-3=53 Exploring Operation: 73-56=17, Resulting Numbers: [3, 17] Generated Node #0,3,4: 99:[3, 17] Operation: 73-56=17 Moving to Node #0,4 Current State: 99:[73, 3, 74], Operations: ['65+9=74'] Exploring Operation: 74-73=1, Resulting Numbers: [3, 1] Generated Node #0,4,0: 99:[3, 1] Operation: 74-73=1 Exploring Operation: 3+74=77, Resulting Numbers: [73, 77] Generated Node #0,4,1: 99:[73, 77] Operation: 3+74=77 Exploring Operation: 73+3=76, Resulting Numbers: [74, 76] Generated Node #0,4,2: 99:[74, 76] Operation: 73+3=76 Exploring Operation: 73+74=147, Resulting Numbers: [3, 147] Generated Node #0,4,3: 99:[3, 147] Operation: 73+74=147 Exploring Operation: 73-3=70, Resulting Numbers: [74, 70] Generated Node #0,4,4: 99:[74, 70] Operation: 73-3=70 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 99:[3, 1], Operations: ['65+9=74', '74-73=1'] Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,99 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,99 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,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,4,1 Current State: 99:[73, 77], Operations: ['65+9=74', '3+74=77'] Exploring Operation: 73+77=150, Resulting Numbers: [150] 150,99 unequal: No Solution Exploring Operation: 77-73=4, Resulting Numbers: [4] 4,99 unequal: No Solution Exploring Operation: 73*77=5621, Resulting Numbers: [5621] 5621,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,4,2 Current State: 99:[74, 76], Operations: ['65+9=74', '73+3=76'] Exploring Operation: 74*76=5624, Resulting Numbers: [5624] 5624,99 unequal: No Solution Exploring Operation: 74+76=150, Resulting Numbers: [150] 150,99 unequal: No Solution Exploring Operation: 76-74=2, Resulting Numbers: [2] 2,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,4,3 Current State: 99:[3, 147], Operations: ['65+9=74', '73+74=147'] Exploring Operation: 147/3=49, Resulting Numbers: [49] 49,99 unequal: No Solution Exploring Operation: 147-3=144, Resulting Numbers: [144] 144,99 unequal: No Solution Exploring Operation: 3+147=150, Resulting Numbers: [150] 150,99 unequal: No Solution Exploring Operation: 3*147=441, Resulting Numbers: [441] 441,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,4,4 Current State: 99:[74, 70], Operations: ['65+9=74', '73-3=70'] Exploring Operation: 74+70=144, Resulting Numbers: [144] 144,99 unequal: No Solution Exploring Operation: 74-70=4, Resulting Numbers: [4] 4,99 unequal: No Solution Exploring Operation: 74*70=5180, Resulting Numbers: [5180] 5180,99 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: 99:[9, 11], Operations: ['73-65=8', '3+8=11'] Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,99 unequal: No Solution Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[73, 65, 3, 9], Operations: [] Exploring Operation: 73-65=8, Resulting Numbers: [3, 9, 8] Generated Node #0,1: 99:[3, 9, 8] Operation: 73-65=8 Moving to Node #0,1 Current State: 99:[3, 9, 8], Operations: ['73-65=8'] Exploring Operation: 3+8=11, Resulting Numbers: [9, 11] Generated Node #0,1,2: 99:[9, 11] Operation: 3+8=11 Moving to Node #0,1,2 Current State: 99:[9, 11], Operations: ['73-65=8', '3+8=11'] Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
0.939236
hs_5
mult_heuristic
[ 42, 24, 17, 48 ]
49
[ "42-24=18", "48-17=31", "18+31=49" ]
Current State: 49:[42, 24, 17, 48], Operations: [] Exploring Operation: 42-24=18, Resulting Numbers: [17, 48, 18] Generated Node #2: [17, 48, 18] from Operation: 42-24=18 Current State: 49:[17, 48, 18], Operations: ['42-24=18'] Exploring Operation: 48-17=31, Resulting Numbers: [18, 31] Generated Node #3: [18, 31] from Operation: 48-17=31 Current State: 49:[18, 31], Operations: ['42-24=18', '48-17=31'] Exploring Operation: 18+31=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[42, 24, 17, 48], Operations: [] Exploring Operation: 24+17=41, Resulting Numbers: [42, 48, 41] Generated Node #0,0: 49:[42, 48, 41] Operation: 24+17=41 Exploring Operation: 24-17=7, Resulting Numbers: [42, 48, 7] Generated Node #0,1: 49:[42, 48, 7] Operation: 24-17=7 Moving to Node #0,1 Current State: 49:[42, 48, 7], Operations: ['24-17=7'] Exploring Operation: 42+7=49, Resulting Numbers: [48, 49] Generated Node #0,1,0: 49:[48, 49] Operation: 42+7=49 Exploring Operation: 48-42=6, Resulting Numbers: [7, 6] Generated Node #0,1,1: 49:[7, 6] Operation: 48-42=6 Moving to Node #0,0 Current State: 49:[42, 48, 41], Operations: ['24+17=41'] Exploring Operation: 48-41=7, Resulting Numbers: [42, 7] Generated Node #0,0,0: 49:[42, 7] Operation: 48-41=7 Exploring Operation: 42-41=1, Resulting Numbers: [48, 1] Generated Node #0,0,1: 49:[48, 1] Operation: 42-41=1 Moving to Node #0,1,0 Current State: 49:[48, 49], Operations: ['24-17=7', '42+7=49'] Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 48+49=97, Resulting Numbers: [97] 97,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[7, 6], Operations: ['24-17=7', '48-42=6'] Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,49 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[48, 1], Operations: ['24+17=41', '42-41=1'] Exploring Operation: 48+1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[42, 24, 17, 48], Operations: [] Exploring Operation: 24+17=41, Resulting Numbers: [42, 48, 41] Generated Node #0,0: 49:[42, 48, 41] Operation: 24+17=41 Moving to Node #0,0 Current State: 49:[42, 48, 41], Operations: ['24+17=41'] Exploring Operation: 42-41=1, Resulting Numbers: [48, 1] Generated Node #0,0,1: 49:[48, 1] Operation: 42-41=1 Moving to Node #0,0,1 Current State: 49:[48, 1], Operations: ['24+17=41', '42-41=1'] Exploring Operation: 48+1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 62, 53, 51, 29 ]
31
[ "62-53=9", "51-29=22", "9+22=31" ]
Current State: 31:[62, 53, 51, 29], Operations: [] Exploring Operation: 62-53=9, Resulting Numbers: [51, 29, 9] Generated Node #2: [51, 29, 9] from Operation: 62-53=9 Current State: 31:[51, 29, 9], Operations: ['62-53=9'] Exploring Operation: 51-29=22, Resulting Numbers: [9, 22] Generated Node #3: [9, 22] from Operation: 51-29=22 Current State: 31:[9, 22], Operations: ['62-53=9', '51-29=22'] Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[62, 53, 51, 29], Operations: [] Exploring Operation: 62-51=11, Resulting Numbers: [53, 29, 11] Generated Node #0,0: 31:[53, 29, 11] Operation: 62-51=11 Exploring Operation: 62-29=33, Resulting Numbers: [53, 51, 33] Generated Node #0,1: 31:[53, 51, 33] Operation: 62-29=33 Exploring Operation: 62-53=9, Resulting Numbers: [51, 29, 9] Generated Node #0,2: 31:[51, 29, 9] Operation: 62-53=9 Exploring Operation: 53-29=24, Resulting Numbers: [62, 51, 24] Generated Node #0,3: 31:[62, 51, 24] Operation: 53-29=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[53, 29, 11], Operations: ['62-51=11'] Exploring Operation: 53-11=42, Resulting Numbers: [29, 42] Generated Node #0,0,0: 31:[29, 42] Operation: 53-11=42 Exploring Operation: 53-29=24, Resulting Numbers: [11, 24] Generated Node #0,0,1: 31:[11, 24] Operation: 53-29=24 Exploring Operation: 29+11=40, Resulting Numbers: [53, 40] Generated Node #0,0,2: 31:[53, 40] Operation: 29+11=40 Exploring Operation: 53+11=64, Resulting Numbers: [29, 64] Generated Node #0,0,3: 31:[29, 64] Operation: 53+11=64 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[29, 42], Operations: ['62-51=11', '53-11=42'] Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,31 unequal: No Solution Exploring Operation: 29+42=71, Resulting Numbers: [71] 71,31 unequal: No Solution Exploring Operation: 29*42=1218, Resulting Numbers: [1218] 1218,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,0,1 Current State: 31:[11, 24], Operations: ['62-51=11', '53-29=24'] Exploring Operation: 11+24=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,31 unequal: No Solution Exploring Operation: 11*24=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,0,2 Current State: 31:[53, 40], Operations: ['62-51=11', '29+11=40'] Exploring Operation: 53*40=2120, Resulting Numbers: [2120] 2120,31 unequal: No Solution Exploring Operation: 53+40=93, Resulting Numbers: [93] 93,31 unequal: No Solution Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,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,0,3 Current State: 31:[29, 64], Operations: ['62-51=11', '53+11=64'] Exploring Operation: 29+64=93, Resulting Numbers: [93] 93,31 unequal: No Solution Exploring Operation: 29*64=1856, Resulting Numbers: [1856] 1856,31 unequal: No Solution Exploring Operation: 64-29=35, Resulting Numbers: [35] 35,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,1 Current State: 31:[53, 51, 33], Operations: ['62-29=33'] Exploring Operation: 53-33=20, Resulting Numbers: [51, 20] Generated Node #0,1,0: 31:[51, 20] Operation: 53-33=20 Exploring Operation: 53-51=2, Resulting Numbers: [33, 2] Generated Node #0,1,1: 31:[33, 2] Operation: 53-51=2 Exploring Operation: 51-33=18, Resulting Numbers: [53, 18] Generated Node #0,1,2: 31:[53, 18] Operation: 51-33=18 Exploring Operation: 53+51=104, Resulting Numbers: [33, 104] Generated Node #0,1,3: 31:[33, 104] Operation: 53+51=104 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[51, 20], Operations: ['62-29=33', '53-33=20'] Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[62, 53, 51, 29], Operations: [] Exploring Operation: 62-29=33, Resulting Numbers: [53, 51, 33] Generated Node #0,1: 31:[53, 51, 33] Operation: 62-29=33 Moving to Node #0,1 Current State: 31:[53, 51, 33], Operations: ['62-29=33'] Exploring Operation: 53-33=20, Resulting Numbers: [51, 20] Generated Node #0,1,0: 31:[51, 20] Operation: 53-33=20 Moving to Node #0,1,0 Current State: 31:[51, 20], Operations: ['62-29=33', '53-33=20'] Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.974826
hs_4
sum_heuristic
[ 22, 72, 92, 2 ]
62
[ "92-72=20", "2*20=40", "22+40=62" ]
Current State: 62:[22, 72, 92, 2], Operations: [] Exploring Operation: 92-72=20, Resulting Numbers: [22, 2, 20] Generated Node #2: [22, 2, 20] from Operation: 92-72=20 Current State: 62:[22, 2, 20], Operations: ['92-72=20'] Exploring Operation: 2*20=40, Resulting Numbers: [22, 40] Generated Node #3: [22, 40] from Operation: 2*20=40 Current State: 62:[22, 40], Operations: ['92-72=20', '2*20=40'] Exploring Operation: 22+40=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[22, 72, 92, 2], Operations: [] Exploring Operation: 92-22=70, Resulting Numbers: [72, 2, 70] Generated Node #0,0: 62:[72, 2, 70] Operation: 92-22=70 Exploring Operation: 92-72=20, Resulting Numbers: [22, 2, 20] Generated Node #0,1: 62:[22, 2, 20] Operation: 92-72=20 Exploring Operation: 72-22=50, Resulting Numbers: [92, 2, 50] Generated Node #0,2: 62:[92, 2, 50] Operation: 72-22=50 Exploring Operation: 92/2=46, Resulting Numbers: [22, 72, 46] Generated Node #0,3: 62:[22, 72, 46] Operation: 92/2=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[72, 2, 70], Operations: ['92-22=70'] Exploring Operation: 72/2=36, Resulting Numbers: [70, 36] Generated Node #0,0,0: 62:[70, 36] Operation: 72/2=36 Exploring Operation: 72-2=70, Resulting Numbers: [70, 70] Generated Node #0,0,1: 62:[70, 70] Operation: 72-2=70 Exploring Operation: 72-70=2, Resulting Numbers: [2, 2] Generated Node #0,0,2: 62:[2, 2] Operation: 72-70=2 Exploring Operation: 70/2=35, Resulting Numbers: [72, 35] Generated Node #0,0,3: 62:[72, 35] Operation: 70/2=35 Moving to Node #0,0,2 Current State: 62:[2, 2], Operations: ['92-22=70', '72-70=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,62 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,62 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,62 unequal: No Solution Moving to Node #0,0,0 Current State: 62:[70, 36], Operations: ['92-22=70', '72/2=36'] Exploring Operation: 70-36=34, Resulting Numbers: [34] 34,62 unequal: No Solution Exploring Operation: 70+36=106, Resulting Numbers: [106] 106,62 unequal: No Solution Exploring Operation: 70*36=2520, Resulting Numbers: [2520] 2520,62 unequal: No Solution Moving to Node #0,0,3 Current State: 62:[72, 35], Operations: ['92-22=70', '70/2=35'] Exploring Operation: 72-35=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 72+35=107, Resulting Numbers: [107] 107,62 unequal: No Solution Exploring Operation: 72*35=2520, Resulting Numbers: [2520] 2520,62 unequal: No Solution Moving to Node #0,0,1 Current State: 62:[70, 70], Operations: ['92-22=70', '72-2=70'] Exploring Operation: 70/70=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 70+70=140, Resulting Numbers: [140] 140,62 unequal: No Solution Exploring Operation: 70*70=4900, Resulting Numbers: [4900] 4900,62 unequal: No Solution Exploring Operation: 70-70=0, Resulting Numbers: [0] 0,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[22, 2, 20], Operations: ['92-72=20'] Exploring Operation: 20/2=10, Resulting Numbers: [22, 10] Generated Node #0,1,0: 62:[22, 10] Operation: 20/2=10 Exploring Operation: 22+2=24, Resulting Numbers: [20, 24] Generated Node #0,1,1: 62:[20, 24] Operation: 22+2=24 Exploring Operation: 22-20=2, Resulting Numbers: [2, 2] Generated Node #0,1,2: 62:[2, 2] Operation: 22-20=2 Exploring Operation: 22+20=42, Resulting Numbers: [2, 42] Generated Node #0,1,3: 62:[2, 42] Operation: 22+20=42 Moving to Node #0,1,2 Current State: 62:[2, 2], Operations: ['92-72=20', '22-20=2'] Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,62 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,62 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,62 unequal: No Solution Moving to Node #0,1,3 Current State: 62:[2, 42], Operations: ['92-72=20', '22+20=42'] Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,62 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,62 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 2+42=44, Resulting Numbers: [44] 44,62 unequal: No Solution Moving to Node #0,1,0 Current State: 62:[22, 10], Operations: ['92-72=20', '20/2=10'] Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,62 unequal: No Solution Exploring Operation: 22*10=220, Resulting Numbers: [220] 220,62 unequal: No Solution Exploring Operation: 22+10=32, Resulting Numbers: [32] 32,62 unequal: No Solution Moving to Node #0,1,1 Current State: 62:[20, 24], Operations: ['92-72=20', '22+2=24'] Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,62 unequal: No Solution Exploring Operation: 20*24=480, Resulting Numbers: [480] 480,62 unequal: No Solution Exploring Operation: 20+24=44, Resulting Numbers: [44] 44,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 62:[22, 72, 46], Operations: ['92/2=46'] Exploring Operation: 46-22=24, Resulting Numbers: [72, 24] Generated Node #0,3,0: 62:[72, 24] Operation: 46-22=24 Exploring Operation: 72-22=50, Resulting Numbers: [46, 50] Generated Node #0,3,1: 62:[46, 50] Operation: 72-22=50 Exploring Operation: 22+46=68, Resulting Numbers: [72, 68] Generated Node #0,3,2: 62:[72, 68] Operation: 22+46=68 Exploring Operation: 72-46=26, Resulting Numbers: [22, 26] Generated Node #0,3,3: 62:[22, 26] Operation: 72-46=26 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 62:[22, 26], Operations: ['92/2=46', '72-46=26'] Exploring Operation: 22+26=48, Resulting Numbers: [48] 48,62 unequal: No Solution Exploring Operation: 22*26=572, Resulting Numbers: [572] 572,62 unequal: No Solution Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 62:[72, 68], Operations: ['92/2=46', '22+46=68'] Exploring Operation: 72*68=4896, Resulting Numbers: [4896] 4896,62 unequal: No Solution Exploring Operation: 72+68=140, Resulting Numbers: [140] 140,62 unequal: No Solution Exploring Operation: 72-68=4, Resulting Numbers: [4] 4,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 62:[72, 24], Operations: ['92/2=46', '46-22=24'] Exploring Operation: 72-24=48, Resulting Numbers: [48] 48,62 unequal: No Solution Exploring Operation: 72/24=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 72*24=1728, Resulting Numbers: [1728] 1728,62 unequal: No Solution Exploring Operation: 72+24=96, Resulting Numbers: [96] 96,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 62:[46, 50], Operations: ['92/2=46', '72-22=50'] Exploring Operation: 50-46=4, Resulting Numbers: [4] 4,62 unequal: No Solution Exploring Operation: 46+50=96, Resulting Numbers: [96] 96,62 unequal: No Solution Exploring Operation: 46*50=2300, Resulting Numbers: [2300] 2300,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[92, 2, 50], Operations: ['72-22=50'] Exploring Operation: 92/2=46, Resulting Numbers: [50, 46] Generated Node #0,2,0: 62:[50, 46] Operation: 92/2=46 Exploring Operation: 92-50=42, Resulting Numbers: [2, 42] Generated Node #0,2,1: 62:[2, 42] Operation: 92-50=42 Exploring Operation: 50/2=25, Resulting Numbers: [92, 25] Generated Node #0,2,2: 62:[92, 25] Operation: 50/2=25 Exploring Operation: 92-2=90, Resulting Numbers: [50, 90] Generated Node #0,2,3: 62:[50, 90] Operation: 92-2=90 Moving to Node #0,2,1 Current State: 62:[2, 42], Operations: ['72-22=50', '92-50=42'] Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,62 unequal: No Solution Exploring Operation: 2+42=44, Resulting Numbers: [44] 44,62 unequal: No Solution Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,62 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,62 unequal: No Solution Moving to Node #0,2,0 Current State: 62:[50, 46], Operations: ['72-22=50', '92/2=46'] Exploring Operation: 50*46=2300, Resulting Numbers: [2300] 2300,62 unequal: No Solution Exploring Operation: 50-46=4, Resulting Numbers: [4] 4,62 unequal: No Solution Exploring Operation: 50+46=96, Resulting Numbers: [96] 96,62 unequal: No Solution Moving to Node #0,2,2 Current State: 62:[92, 25], Operations: ['72-22=50', '50/2=25'] Exploring Operation: 92-25=67, Resulting Numbers: [67] 67,62 unequal: No Solution Exploring Operation: 92+25=117, Resulting Numbers: [117] 117,62 unequal: No Solution Exploring Operation: 92*25=2300, Resulting Numbers: [2300] 2300,62 unequal: No Solution Moving to Node #0,2,3 Current State: 62:[50, 90], Operations: ['72-22=50', '92-2=90'] Exploring Operation: 50*90=4500, Resulting Numbers: [4500] 4500,62 unequal: No Solution Exploring Operation: 90-50=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 50+90=140, Resulting Numbers: [140] 140,62 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
[ 66, 54, 96, 63 ]
71
[ "66-54=12", "96/12=8", "63+8=71" ]
Current State: 71:[66, 54, 96, 63], Operations: [] Exploring Operation: 66-54=12, Resulting Numbers: [96, 63, 12] Generated Node #2: [96, 63, 12] from Operation: 66-54=12 Current State: 71:[96, 63, 12], Operations: ['66-54=12'] Exploring Operation: 96/12=8, Resulting Numbers: [63, 8] Generated Node #3: [63, 8] from Operation: 96/12=8 Current State: 71:[63, 8], Operations: ['66-54=12', '96/12=8'] Exploring Operation: 63+8=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[66, 54, 96, 63], Operations: [] Exploring Operation: 96-63=33, Resulting Numbers: [66, 54, 33] Generated Node #0,0: 71:[66, 54, 33] Operation: 96-63=33 Exploring Operation: 96-66=30, Resulting Numbers: [54, 63, 30] Generated Node #0,1: 71:[54, 63, 30] Operation: 96-66=30 Exploring Operation: 96-54=42, Resulting Numbers: [66, 63, 42] Generated Node #0,2: 71:[66, 63, 42] Operation: 96-54=42 Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[66, 63, 42], Operations: ['96-54=42'] Exploring Operation: 63+42=105, Resulting Numbers: [66, 105] Generated Node #0,2,0: 71:[66, 105] Operation: 63+42=105 Exploring Operation: 66-42=24, Resulting Numbers: [63, 24] Generated Node #0,2,1: 71:[63, 24] Operation: 66-42=24 Exploring Operation: 66+42=108, Resulting Numbers: [63, 108] Generated Node #0,2,2: 71:[63, 108] Operation: 66+42=108 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 71:[66, 105], Operations: ['96-54=42', '63+42=105'] Exploring Operation: 105-66=39, Resulting Numbers: [39] 39,71 unequal: No Solution Exploring Operation: 66+105=171, Resulting Numbers: [171] 171,71 unequal: No Solution Exploring Operation: 66*105=6930, Resulting Numbers: [6930] 6930,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 71:[63, 108], Operations: ['96-54=42', '66+42=108'] Exploring Operation: 63*108=6804, Resulting Numbers: [6804] 6804,71 unequal: No Solution Exploring Operation: 63+108=171, Resulting Numbers: [171] 171,71 unequal: No Solution Exploring Operation: 108-63=45, Resulting Numbers: [45] 45,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 71:[63, 24], Operations: ['96-54=42', '66-42=24'] Exploring Operation: 63*24=1512, Resulting Numbers: [1512] 1512,71 unequal: No Solution Exploring Operation: 63+24=87, Resulting Numbers: [87] 87,71 unequal: No Solution Exploring Operation: 63-24=39, Resulting Numbers: [39] 39,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[66, 54, 33], Operations: ['96-63=33'] Exploring Operation: 66+33=99, Resulting Numbers: [54, 99] Generated Node #0,0,0: 71:[54, 99] Operation: 66+33=99 Exploring Operation: 66-33=33, Resulting Numbers: [54, 33] Generated Node #0,0,1: 71:[54, 33] Operation: 66-33=33 Exploring Operation: 54+33=87, Resulting Numbers: [66, 87] Generated Node #0,0,2: 71:[66, 87] Operation: 54+33=87 Moving to Node #0,0,2 Current State: 71:[66, 87], Operations: ['96-63=33', '54+33=87'] Exploring Operation: 87-66=21, Resulting Numbers: [21] 21,71 unequal: No Solution Exploring Operation: 66*87=5742, Resulting Numbers: [5742] 5742,71 unequal: No Solution Exploring Operation: 66+87=153, Resulting Numbers: [153] 153,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[54, 99], Operations: ['96-63=33', '66+33=99'] Exploring Operation: 99-54=45, Resulting Numbers: [45] 45,71 unequal: No Solution Exploring Operation: 54+99=153, Resulting Numbers: [153] 153,71 unequal: No Solution Exploring Operation: 54*99=5346, Resulting Numbers: [5346] 5346,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[54, 33], Operations: ['96-63=33', '66-33=33'] Exploring Operation: 54+33=87, Resulting Numbers: [87] 87,71 unequal: No Solution Exploring Operation: 54*33=1782, Resulting Numbers: [1782] 1782,71 unequal: No Solution Exploring Operation: 54-33=21, Resulting Numbers: [21] 21,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[54, 63, 30], Operations: ['96-66=30'] Exploring Operation: 54-30=24, Resulting Numbers: [63, 24] Generated Node #0,1,0: 71:[63, 24] Operation: 54-30=24 Exploring Operation: 54+30=84, Resulting Numbers: [63, 84] Generated Node #0,1,1: 71:[63, 84] Operation: 54+30=84 Exploring Operation: 63+30=93, Resulting Numbers: [54, 93] Generated Node #0,1,2: 71:[54, 93] Operation: 63+30=93 Moving to Node #0,1,1 Current State: 71:[63, 84], Operations: ['96-66=30', '54+30=84'] Exploring Operation: 84-63=21, Resulting Numbers: [21] 21,71 unequal: No Solution Exploring Operation: 63*84=5292, Resulting Numbers: [5292] 5292,71 unequal: No Solution Exploring Operation: 63+84=147, Resulting Numbers: [147] 147,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[54, 93], Operations: ['96-66=30', '63+30=93'] Exploring Operation: 93-54=39, Resulting Numbers: [39] 39,71 unequal: No Solution Exploring Operation: 54+93=147, Resulting Numbers: [147] 147,71 unequal: No Solution Exploring Operation: 54*93=5022, Resulting Numbers: [5022] 5022,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[63, 24], Operations: ['96-66=30', '54-30=24'] Exploring Operation: 63*24=1512, Resulting Numbers: [1512] 1512,71 unequal: No Solution Exploring Operation: 63-24=39, Resulting Numbers: [39] 39,71 unequal: No Solution Exploring Operation: 63+24=87, Resulting Numbers: [87] 87,71 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
[ 16, 16, 7, 6 ]
35
[ "16/16=1", "6-1=5", "7*5=35" ]
Current State: 35:[16, 16, 7, 6], Operations: [] Exploring Operation: 16/16=1, Resulting Numbers: [7, 6, 1] Generated Node #2: [7, 6, 1] from Operation: 16/16=1 Current State: 35:[7, 6, 1], Operations: ['16/16=1'] Exploring Operation: 6-1=5, Resulting Numbers: [7, 5] Generated Node #3: [7, 5] from Operation: 6-1=5 Current State: 35:[7, 5], Operations: ['16/16=1', '6-1=5'] Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[16, 16, 7, 6], Operations: [] Exploring Operation: 16/16=1, Resulting Numbers: [7, 6, 1] Generated Node #0,0: 35:[7, 6, 1] Operation: 16/16=1 Exploring Operation: 16+16=32, Resulting Numbers: [7, 6, 32] Generated Node #0,1: 35:[7, 6, 32] Operation: 16+16=32 Moving to Node #0,1 Current State: 35:[7, 6, 32], Operations: ['16+16=32'] Exploring Operation: 7+32=39, Resulting Numbers: [6, 39] Generated Node #0,1,0: 35:[6, 39] Operation: 7+32=39 Exploring Operation: 6+32=38, Resulting Numbers: [7, 38] Generated Node #0,1,1: 35:[7, 38] Operation: 6+32=38 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 35:[7, 38], Operations: ['16+16=32', '6+32=38'] Exploring Operation: 7+38=45, Resulting Numbers: [45] 45,35 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 35:[6, 39], Operations: ['16+16=32', '7+32=39'] Exploring Operation: 6+39=45, Resulting Numbers: [45] 45,35 unequal: No Solution Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,35 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: 35:[7, 6, 1], Operations: ['16/16=1'] Exploring Operation: 6-1=5, Resulting Numbers: [7, 5] Generated Node #0,0,0: 35:[7, 5] Operation: 6-1=5 Exploring Operation: 6+1=7, Resulting Numbers: [7, 7] Generated Node #0,0,1: 35:[7, 7] Operation: 6+1=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 35:[7, 5], Operations: ['16/16=1', '6-1=5'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,35 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[16, 16, 7, 6], Operations: [] Exploring Operation: 16/16=1, Resulting Numbers: [7, 6, 1] Generated Node #0,0: 35:[7, 6, 1] Operation: 16/16=1 Moving to Node #0,0 Current State: 35:[7, 6, 1], Operations: ['16/16=1'] Exploring Operation: 6-1=5, Resulting Numbers: [7, 5] Generated Node #0,0,0: 35:[7, 5] Operation: 6-1=5 Moving to Node #0,0,0 Current State: 35:[7, 5], Operations: ['16/16=1', '6-1=5'] Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 19, 13, 78, 4 ]
93
[ "13-4=9", "19*9=171", "171-78=93" ]
Current State: 93:[19, 13, 78, 4], Operations: [] Exploring Operation: 13-4=9, Resulting Numbers: [19, 78, 9] Generated Node #2: [19, 78, 9] from Operation: 13-4=9 Current State: 93:[19, 78, 9], Operations: ['13-4=9'] Exploring Operation: 19*9=171, Resulting Numbers: [78, 171] Generated Node #3: [78, 171] from Operation: 19*9=171 Current State: 93:[78, 171], Operations: ['13-4=9', '19*9=171'] Exploring Operation: 171-78=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[19, 13, 78, 4], Operations: [] Exploring Operation: 19+78=97, Resulting Numbers: [13, 4, 97] Generated Node #0,0: 93:[13, 4, 97] Operation: 19+78=97 Exploring Operation: 19+13=32, Resulting Numbers: [78, 4, 32] Generated Node #0,1: 93:[78, 4, 32] Operation: 19+13=32 Exploring Operation: 13+78=91, Resulting Numbers: [19, 4, 91] Generated Node #0,2: 93:[19, 4, 91] Operation: 13+78=91 Exploring Operation: 78/13=6, Resulting Numbers: [19, 4, 6] Generated Node #0,3: 93:[19, 4, 6] Operation: 78/13=6 Moving to Node #0,0 Current State: 93:[13, 4, 97], Operations: ['19+78=97'] Exploring Operation: 13-4=9, Resulting Numbers: [97, 9] Generated Node #0,0,0: 93:[97, 9] Operation: 13-4=9 Exploring Operation: 97-13=84, Resulting Numbers: [4, 84] Generated Node #0,0,1: 93:[4, 84] Operation: 97-13=84 Exploring Operation: 13+4=17, Resulting Numbers: [97, 17] Generated Node #0,0,2: 93:[97, 17] Operation: 13+4=17 Exploring Operation: 97-4=93, Resulting Numbers: [13, 93] Generated Node #0,0,3: 93:[13, 93] Operation: 97-4=93 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[97, 9], Operations: ['19+78=97', '13-4=9'] Exploring Operation: 97*9=873, Resulting Numbers: [873] 873,93 unequal: No Solution Exploring Operation: 97+9=106, Resulting Numbers: [106] 106,93 unequal: No Solution Exploring Operation: 97-9=88, Resulting Numbers: [88] 88,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 93:[4, 84], Operations: ['19+78=97', '97-13=84'] Exploring Operation: 4+84=88, Resulting Numbers: [88] 88,93 unequal: No Solution Exploring Operation: 4*84=336, Resulting Numbers: [336] 336,93 unequal: No Solution Exploring Operation: 84/4=21, Resulting Numbers: [21] 21,93 unequal: No Solution Exploring Operation: 84-4=80, Resulting Numbers: [80] 80,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 93:[13, 93], Operations: ['19+78=97', '97-4=93'] Exploring Operation: 13*93=1209, Resulting Numbers: [1209] 1209,93 unequal: No Solution Exploring Operation: 13+93=106, Resulting Numbers: [106] 106,93 unequal: No Solution Exploring Operation: 93-13=80, Resulting Numbers: [80] 80,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 93:[97, 17], Operations: ['19+78=97', '13+4=17'] Exploring Operation: 97-17=80, Resulting Numbers: [80] 80,93 unequal: No Solution Exploring Operation: 97*17=1649, Resulting Numbers: [1649] 1649,93 unequal: No Solution Exploring Operation: 97+17=114, Resulting Numbers: [114] 114,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 93:[19, 4, 91], Operations: ['13+78=91'] Exploring Operation: 19+91=110, Resulting Numbers: [4, 110] Generated Node #0,2,0: 93:[4, 110] Operation: 19+91=110 Exploring Operation: 19+4=23, Resulting Numbers: [91, 23] Generated Node #0,2,1: 93:[91, 23] Operation: 19+4=23 Exploring Operation: 19-4=15, Resulting Numbers: [91, 15] Generated Node #0,2,2: 93:[91, 15] Operation: 19-4=15 Exploring Operation: 4+91=95, Resulting Numbers: [19, 95] Generated Node #0,2,3: 93:[19, 95] Operation: 4+91=95 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 93:[91, 23], Operations: ['13+78=91', '19+4=23'] Exploring Operation: 91-23=68, Resulting Numbers: [68] 68,93 unequal: No Solution Exploring Operation: 91+23=114, Resulting Numbers: [114] 114,93 unequal: No Solution Exploring Operation: 91*23=2093, Resulting Numbers: [2093] 2093,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 93:[91, 15], Operations: ['13+78=91', '19-4=15'] Exploring Operation: 91+15=106, Resulting Numbers: [106] 106,93 unequal: No Solution Exploring Operation: 91*15=1365, Resulting Numbers: [1365] 1365,93 unequal: No Solution Exploring Operation: 91-15=76, Resulting Numbers: [76] 76,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 93:[19, 95], Operations: ['13+78=91', '4+91=95'] Exploring Operation: 19+95=114, Resulting Numbers: [114] 114,93 unequal: No Solution Exploring Operation: 95-19=76, Resulting Numbers: [76] 76,93 unequal: No Solution Exploring Operation: 19*95=1805, Resulting Numbers: [1805] 1805,93 unequal: No Solution Exploring Operation: 95/19=5, Resulting Numbers: [5] 5,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 93:[4, 110], Operations: ['13+78=91', '19+91=110'] Exploring Operation: 110-4=106, Resulting Numbers: [106] 106,93 unequal: No Solution Exploring Operation: 4*110=440, Resulting Numbers: [440] 440,93 unequal: No Solution Exploring Operation: 4+110=114, Resulting Numbers: [114] 114,93 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: 93:[19, 4, 6], Operations: ['78/13=6'] Exploring Operation: 19+6=25, Resulting Numbers: [4, 25] Generated Node #0,3,0: 93:[4, 25] Operation: 19+6=25 Exploring Operation: 6-4=2, Resulting Numbers: [19, 2] Generated Node #0,3,1: 93:[19, 2] Operation: 6-4=2 Exploring Operation: 19+4=23, Resulting Numbers: [6, 23] Generated Node #0,3,2: 93:[6, 23] Operation: 19+4=23 Exploring Operation: 19-6=13, Resulting Numbers: [4, 13] Generated Node #0,3,3: 93:[4, 13] Operation: 19-6=13 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 93:[4, 25], Operations: ['78/13=6', '19+6=25'] Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,93 unequal: No Solution Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,93 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 93:[6, 23], Operations: ['78/13=6', '19+4=23'] Exploring Operation: 6*23=138, Resulting Numbers: [138] 138,93 unequal: No Solution Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 6+23=29, Resulting Numbers: [29] 29,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 93:[4, 13], Operations: ['78/13=6', '19-6=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,93 unequal: No Solution Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 93:[19, 2], Operations: ['78/13=6', '6-4=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,93 unequal: No Solution Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,93 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,93 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: 93:[78, 4, 32], Operations: ['19+13=32'] Exploring Operation: 78+32=110, Resulting Numbers: [4, 110] Generated Node #0,1,0: 93:[4, 110] Operation: 78+32=110 Exploring Operation: 78+4=82, Resulting Numbers: [32, 82] Generated Node #0,1,1: 93:[32, 82] Operation: 78+4=82 Exploring Operation: 32-4=28, Resulting Numbers: [78, 28] Generated Node #0,1,2: 93:[78, 28] Operation: 32-4=28 Exploring Operation: 78-32=46, Resulting Numbers: [4, 46] Generated Node #0,1,3: 93:[4, 46] Operation: 78-32=46 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 93:[32, 82], Operations: ['19+13=32', '78+4=82'] Exploring Operation: 32*82=2624, Resulting Numbers: [2624] 2624,93 unequal: No Solution Exploring Operation: 82-32=50, Resulting Numbers: [50] 50,93 unequal: No Solution Exploring Operation: 32+82=114, Resulting Numbers: [114] 114,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 93:[4, 46], Operations: ['19+13=32', '78-32=46'] Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,93 unequal: No Solution Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,93 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 93:[4, 110], Operations: ['19+13=32', '78+32=110'] Exploring Operation: 4+110=114, Resulting Numbers: [114] 114,93 unequal: No Solution Exploring Operation: 110-4=106, Resulting Numbers: [106] 106,93 unequal: No Solution Exploring Operation: 4*110=440, Resulting Numbers: [440] 440,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 93:[78, 28], Operations: ['19+13=32', '32-4=28'] Exploring Operation: 78-28=50, Resulting Numbers: [50] 50,93 unequal: No Solution Exploring Operation: 78+28=106, Resulting Numbers: [106] 106,93 unequal: No Solution Exploring Operation: 78*28=2184, Resulting Numbers: [2184] 2184,93 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
[ 73, 99, 25, 43 ]
43
[ "99-73=26", "26-25=1", "43*1=43" ]
Current State: 43:[73, 99, 25, 43], Operations: [] Exploring Operation: 99-73=26, Resulting Numbers: [25, 43, 26] Generated Node #2: [25, 43, 26] from Operation: 99-73=26 Current State: 43:[25, 43, 26], Operations: ['99-73=26'] Exploring Operation: 26-25=1, Resulting Numbers: [43, 1] Generated Node #3: [43, 1] from Operation: 26-25=1 Current State: 43:[43, 1], Operations: ['99-73=26', '26-25=1'] Exploring Operation: 43*1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[73, 99, 25, 43], Operations: [] Exploring Operation: 99-73=26, Resulting Numbers: [25, 43, 26] Generated Node #0,0: 43:[25, 43, 26] Operation: 99-73=26 Exploring Operation: 99-25=74, Resulting Numbers: [73, 43, 74] Generated Node #0,1: 43:[73, 43, 74] Operation: 99-25=74 Exploring Operation: 73-25=48, Resulting Numbers: [99, 43, 48] Generated Node #0,2: 43:[99, 43, 48] Operation: 73-25=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[25, 43, 26], Operations: ['99-73=26'] Exploring Operation: 43-25=18, Resulting Numbers: [26, 18] Generated Node #0,0,0: 43:[26, 18] Operation: 43-25=18 Exploring Operation: 25+26=51, Resulting Numbers: [43, 51] Generated Node #0,0,1: 43:[43, 51] Operation: 25+26=51 Exploring Operation: 25+43=68, Resulting Numbers: [26, 68] Generated Node #0,0,2: 43:[26, 68] Operation: 25+43=68 Moving to Node #0,0,1 Current State: 43:[43, 51], Operations: ['99-73=26', '25+26=51'] Exploring Operation: 43*51=2193, Resulting Numbers: [2193] 2193,43 unequal: No Solution Exploring Operation: 43+51=94, Resulting Numbers: [94] 94,43 unequal: No Solution Exploring Operation: 51-43=8, Resulting Numbers: [8] 8,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[26, 18], Operations: ['99-73=26', '43-25=18'] Exploring Operation: 26*18=468, Resulting Numbers: [468] 468,43 unequal: No Solution Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,43 unequal: No Solution Exploring Operation: 26+18=44, Resulting Numbers: [44] 44,43 unequal: No Solution Moving to Node #0,0,2 Current State: 43:[26, 68], Operations: ['99-73=26', '25+43=68'] Exploring Operation: 68-26=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 26+68=94, Resulting Numbers: [94] 94,43 unequal: No Solution Exploring Operation: 26*68=1768, Resulting Numbers: [1768] 1768,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:[73, 43, 74], Operations: ['99-25=74'] Exploring Operation: 74-73=1, Resulting Numbers: [43, 1] Generated Node #0,1,0: 43:[43, 1] Operation: 74-73=1 Exploring Operation: 73-43=30, Resulting Numbers: [74, 30] Generated Node #0,1,1: 43:[74, 30] Operation: 73-43=30 Exploring Operation: 74-43=31, Resulting Numbers: [73, 31] Generated Node #0,1,2: 43:[73, 31] Operation: 74-43=31 Moving to Node #0,1,0 Current State: 43:[43, 1], Operations: ['99-25=74', '74-73=1'] Exploring Operation: 43/1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[73, 99, 25, 43], Operations: [] Exploring Operation: 99-25=74, Resulting Numbers: [73, 43, 74] Generated Node #0,1: 43:[73, 43, 74] Operation: 99-25=74 Moving to Node #0,1 Current State: 43:[73, 43, 74], Operations: ['99-25=74'] Exploring Operation: 74-73=1, Resulting Numbers: [43, 1] Generated Node #0,1,0: 43:[43, 1] Operation: 74-73=1 Moving to Node #0,1,0 Current State: 43:[43, 1], Operations: ['99-25=74', '74-73=1'] Exploring Operation: 43/1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 65, 52, 52, 14 ]
80
[ "65+14=79", "52/52=1", "79+1=80" ]
Current State: 80:[65, 52, 52, 14], Operations: [] Exploring Operation: 65+14=79, Resulting Numbers: [52, 52, 79] Generated Node #2: [52, 52, 79] from Operation: 65+14=79 Current State: 80:[52, 52, 79], Operations: ['65+14=79'] Exploring Operation: 52/52=1, Resulting Numbers: [79, 1] Generated Node #3: [79, 1] from Operation: 52/52=1 Current State: 80:[79, 1], Operations: ['65+14=79', '52/52=1'] Exploring Operation: 79+1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[65, 52, 52, 14], Operations: [] Exploring Operation: 52/52=1, Resulting Numbers: [65, 14, 1] Generated Node #0,0: 80:[65, 14, 1] Operation: 52/52=1 Exploring Operation: 65-52=13, Resulting Numbers: [52, 14, 13] Generated Node #0,1: 80:[52, 14, 13] Operation: 65-52=13 Exploring Operation: 65-52=13, Resulting Numbers: [52, 14, 13] Generated Node #0,2: 80:[52, 14, 13] Operation: 65-52=13 Moving to Node #0,1 Current State: 80:[52, 14, 13], Operations: ['65-52=13'] Exploring Operation: 52/13=4, Resulting Numbers: [14, 4] Generated Node #0,1,0: 80:[14, 4] Operation: 52/13=4 Exploring Operation: 52-14=38, Resulting Numbers: [13, 38] Generated Node #0,1,1: 80:[13, 38] Operation: 52-14=38 Exploring Operation: 52-13=39, Resulting Numbers: [14, 39] Generated Node #0,1,2: 80:[14, 39] Operation: 52-13=39 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[14, 4], Operations: ['65-52=13', '52/13=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,80 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,80 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 80:[14, 39], Operations: ['65-52=13', '52-13=39'] Exploring Operation: 14+39=53, Resulting Numbers: [53] 53,80 unequal: No Solution Exploring Operation: 14*39=546, Resulting Numbers: [546] 546,80 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[13, 38], Operations: ['65-52=13', '52-14=38'] Exploring Operation: 13*38=494, Resulting Numbers: [494] 494,80 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 13+38=51, Resulting Numbers: [51] 51,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 80:[52, 14, 13], Operations: ['65-52=13'] Exploring Operation: 52-13=39, Resulting Numbers: [14, 39] Generated Node #0,2,0: 80:[14, 39] Operation: 52-13=39 Exploring Operation: 52-14=38, Resulting Numbers: [13, 38] Generated Node #0,2,1: 80:[13, 38] Operation: 52-14=38 Exploring Operation: 52/13=4, Resulting Numbers: [14, 4] Generated Node #0,2,2: 80:[14, 4] Operation: 52/13=4 Moving to Node #0,0 Current State: 80:[65, 14, 1], Operations: ['52/52=1'] Exploring Operation: 65-14=51, Resulting Numbers: [1, 51] Generated Node #0,0,0: 80:[1, 51] Operation: 65-14=51 Exploring Operation: 65+14=79, Resulting Numbers: [1, 79] Generated Node #0,0,1: 80:[1, 79] Operation: 65+14=79 Exploring Operation: 65+1=66, Resulting Numbers: [14, 66] Generated Node #0,0,2: 80:[14, 66] Operation: 65+1=66 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[1, 79], Operations: ['52/52=1', '65+14=79'] Exploring Operation: 1+79=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[65, 52, 52, 14], Operations: [] Exploring Operation: 52/52=1, Resulting Numbers: [65, 14, 1] Generated Node #0,0: 80:[65, 14, 1] Operation: 52/52=1 Moving to Node #0,0 Current State: 80:[65, 14, 1], Operations: ['52/52=1'] Exploring Operation: 65+14=79, Resulting Numbers: [1, 79] Generated Node #0,0,1: 80:[1, 79] Operation: 65+14=79 Moving to Node #0,0,1 Current State: 80:[1, 79], Operations: ['52/52=1', '65+14=79'] Exploring Operation: 1+79=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
sum_heuristic
[ 2, 59, 35, 61 ]
98
[ "2*61=122", "59-35=24", "122-24=98" ]
Current State: 98:[2, 59, 35, 61], Operations: [] Exploring Operation: 2*61=122, Resulting Numbers: [59, 35, 122] Generated Node #2: [59, 35, 122] from Operation: 2*61=122 Current State: 98:[59, 35, 122], Operations: ['2*61=122'] Exploring Operation: 59-35=24, Resulting Numbers: [122, 24] Generated Node #3: [122, 24] from Operation: 59-35=24 Current State: 98:[122, 24], Operations: ['2*61=122', '59-35=24'] Exploring Operation: 122-24=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[2, 59, 35, 61], Operations: [] Exploring Operation: 59-35=24, Resulting Numbers: [2, 61, 24] Generated Node #0,0: 98:[2, 61, 24] Operation: 59-35=24 Exploring Operation: 61-59=2, Resulting Numbers: [2, 35, 2] Generated Node #0,1: 98:[2, 35, 2] Operation: 61-59=2 Exploring Operation: 35+61=96, Resulting Numbers: [2, 59, 96] Generated Node #0,2: 98:[2, 59, 96] Operation: 35+61=96 Exploring Operation: 59+35=94, Resulting Numbers: [2, 61, 94] Generated Node #0,3: 98:[2, 61, 94] Operation: 59+35=94 Moving to Node #0,2 Current State: 98:[2, 59, 96], Operations: ['35+61=96'] Exploring Operation: 2+96=98, Resulting Numbers: [59, 98] Generated Node #0,2,0: 98:[59, 98] Operation: 2+96=98 Exploring Operation: 96/2=48, Resulting Numbers: [59, 48] Generated Node #0,2,1: 98:[59, 48] Operation: 96/2=48 Exploring Operation: 96-59=37, Resulting Numbers: [2, 37] Generated Node #0,2,2: 98:[2, 37] Operation: 96-59=37 Exploring Operation: 59-2=57, Resulting Numbers: [96, 57] Generated Node #0,2,3: 98:[96, 57] Operation: 59-2=57 Moving to Node #0,1 Current State: 98:[2, 35, 2], Operations: ['61-59=2'] Exploring Operation: 35+2=37, Resulting Numbers: [2, 37] Generated Node #0,1,0: 98:[2, 37] Operation: 35+2=37 Exploring Operation: 2/2=1, Resulting Numbers: [35, 1] Generated Node #0,1,1: 98:[35, 1] Operation: 2/2=1 Exploring Operation: 35-2=33, Resulting Numbers: [2, 33] Generated Node #0,1,2: 98:[2, 33] Operation: 35-2=33 Exploring Operation: 2+35=37, Resulting Numbers: [2, 37] Generated Node #0,1,3: 98:[2, 37] Operation: 2+35=37 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 98:[2, 37], Operations: ['61-59=2', '35+2=37'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,98 unequal: No Solution Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,98 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 98:[2, 37], Operations: ['61-59=2', '2+35=37'] Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,98 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,98 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 98:[35, 1], Operations: ['61-59=2', '2/2=1'] Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,98 unequal: No Solution Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,98 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,98 unequal: No Solution Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 98:[2, 33], Operations: ['61-59=2', '35-2=33'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,98 unequal: No Solution Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,98 unequal: No Solution Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,98 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: 98:[2, 61, 94], Operations: ['59+35=94'] Exploring Operation: 61-2=59, Resulting Numbers: [94, 59] Generated Node #0,3,0: 98:[94, 59] Operation: 61-2=59 Exploring Operation: 94/2=47, Resulting Numbers: [61, 47] Generated Node #0,3,1: 98:[61, 47] Operation: 94/2=47 Exploring Operation: 94-61=33, Resulting Numbers: [2, 33] Generated Node #0,3,2: 98:[2, 33] Operation: 94-61=33 Exploring Operation: 2+94=96, Resulting Numbers: [61, 96] Generated Node #0,3,3: 98:[61, 96] Operation: 2+94=96 Moving to Node #0,0 Current State: 98:[2, 61, 24], Operations: ['59-35=24'] Exploring Operation: 24/2=12, Resulting Numbers: [61, 12] Generated Node #0,0,0: 98:[61, 12] Operation: 24/2=12 Exploring Operation: 61+24=85, Resulting Numbers: [2, 85] Generated Node #0,0,1: 98:[2, 85] Operation: 61+24=85 Exploring Operation: 2*24=48, Resulting Numbers: [61, 48] Generated Node #0,0,2: 98:[61, 48] Operation: 2*24=48 Exploring Operation: 61-24=37, Resulting Numbers: [2, 37] Generated Node #0,0,3: 98:[2, 37] Operation: 61-24=37 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 98:[2, 37], Operations: ['59-35=24', '61-24=37'] Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,98 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,98 unequal: No Solution Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 98:[2, 85], Operations: ['59-35=24', '61+24=85'] Exploring Operation: 2+85=87, Resulting Numbers: [87] 87,98 unequal: No Solution Exploring Operation: 2*85=170, Resulting Numbers: [170] 170,98 unequal: No Solution Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 98:[61, 48], Operations: ['59-35=24', '2*24=48'] Exploring Operation: 61*48=2928, Resulting Numbers: [2928] 2928,98 unequal: No Solution Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,98 unequal: No Solution Exploring Operation: 61+48=109, Resulting Numbers: [109] 109,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[61, 12], Operations: ['59-35=24', '24/2=12'] Exploring Operation: 61*12=732, Resulting Numbers: [732] 732,98 unequal: No Solution Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,98 unequal: No Solution Exploring Operation: 61+12=73, Resulting Numbers: [73] 73,98 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: 98:[59, 98], Operations: ['35+61=96', '2+96=98'] Exploring Operation: 59+98=157, Resulting Numbers: [157] 157,98 unequal: No Solution Exploring Operation: 59*98=5782, Resulting Numbers: [5782] 5782,98 unequal: No Solution Exploring Operation: 98-59=39, Resulting Numbers: [39] 39,98 unequal: No Solution Moving to Node #0,2,3 Current State: 98:[96, 57], Operations: ['35+61=96', '59-2=57'] Exploring Operation: 96-57=39, Resulting Numbers: [39] 39,98 unequal: No Solution Exploring Operation: 96*57=5472, Resulting Numbers: [5472] 5472,98 unequal: No Solution Exploring Operation: 96+57=153, Resulting Numbers: [153] 153,98 unequal: No Solution Moving to Node #0,2,1 Current State: 98:[59, 48], Operations: ['35+61=96', '96/2=48'] Exploring Operation: 59*48=2832, Resulting Numbers: [2832] 2832,98 unequal: No Solution Exploring Operation: 59-48=11, Resulting Numbers: [11] 11,98 unequal: No Solution Exploring Operation: 59+48=107, Resulting Numbers: [107] 107,98 unequal: No Solution Moving to Node #0,2,2 Current State: 98:[2, 37], Operations: ['35+61=96', '96-59=37'] Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,98 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,98 unequal: No Solution Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,98 unequal: No Solution Moving to Node #0,3,1 Current State: 98:[61, 47], Operations: ['59+35=94', '94/2=47'] Exploring Operation: 61*47=2867, Resulting Numbers: [2867] 2867,98 unequal: No Solution Exploring Operation: 61+47=108, Resulting Numbers: [108] 108,98 unequal: No Solution Exploring Operation: 61-47=14, Resulting Numbers: [14] 14,98 unequal: No Solution Moving to Node #0,3,3 Current State: 98:[61, 96], Operations: ['59+35=94', '2+94=96'] Exploring Operation: 61*96=5856, Resulting Numbers: [5856] 5856,98 unequal: No Solution Exploring Operation: 96-61=35, Resulting Numbers: [35] 35,98 unequal: No Solution Exploring Operation: 61+96=157, Resulting Numbers: [157] 157,98 unequal: No Solution Moving to Node #0,3,0 Current State: 98:[94, 59], Operations: ['59+35=94', '61-2=59'] Exploring Operation: 94*59=5546, Resulting Numbers: [5546] 5546,98 unequal: No Solution Exploring Operation: 94+59=153, Resulting Numbers: [153] 153,98 unequal: No Solution Exploring Operation: 94-59=35, Resulting Numbers: [35] 35,98 unequal: No Solution Moving to Node #0,3,2 Current State: 98:[2, 33], Operations: ['59+35=94', '94-61=33'] Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,98 unequal: No Solution Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,98 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,98 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 25, 3, 26, 82 ]
99
[ "25+26=51", "51/3=17", "82+17=99" ]
Current State: 99:[25, 3, 26, 82], Operations: [] Exploring Operation: 25+26=51, Resulting Numbers: [3, 82, 51] Generated Node #2: [3, 82, 51] from Operation: 25+26=51 Current State: 99:[3, 82, 51], Operations: ['25+26=51'] Exploring Operation: 51/3=17, Resulting Numbers: [82, 17] Generated Node #3: [82, 17] from Operation: 51/3=17 Current State: 99:[82, 17], Operations: ['25+26=51', '51/3=17'] Exploring Operation: 82+17=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[25, 3, 26, 82], Operations: [] Exploring Operation: 26+82=108, Resulting Numbers: [25, 3, 108] Generated Node #0,0: 99:[25, 3, 108] Operation: 26+82=108 Exploring Operation: 25+82=107, Resulting Numbers: [3, 26, 107] Generated Node #0,1: 99:[3, 26, 107] Operation: 25+82=107 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[3, 26, 107], Operations: ['25+82=107'] Exploring Operation: 107-3=104, Resulting Numbers: [26, 104] Generated Node #0,1,0: 99:[26, 104] Operation: 107-3=104 Exploring Operation: 3+26=29, Resulting Numbers: [107, 29] Generated Node #0,1,1: 99:[107, 29] Operation: 3+26=29 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 99:[26, 104], Operations: ['25+82=107', '107-3=104'] Exploring Operation: 104/26=4, Resulting Numbers: [4] 4,99 unequal: No Solution Exploring Operation: 104-26=78, Resulting Numbers: [78] 78,99 unequal: No Solution No 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: 99:[107, 29], Operations: ['25+82=107', '3+26=29'] Exploring Operation: 107-29=78, Resulting Numbers: [78] 78,99 unequal: No Solution Exploring Operation: 107+29=136, Resulting Numbers: [136] 136,99 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: 99:[25, 3, 108], Operations: ['26+82=108'] Exploring Operation: 108/3=36, Resulting Numbers: [25, 36] Generated Node #0,0,0: 99:[25, 36] Operation: 108/3=36 Exploring Operation: 25+3=28, Resulting Numbers: [108, 28] Generated Node #0,0,1: 99:[108, 28] Operation: 25+3=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 99:[25, 36], Operations: ['26+82=108', '108/3=36'] Exploring Operation: 25+36=61, Resulting Numbers: [61] 61,99 unequal: No Solution Exploring Operation: 36-25=11, Resulting Numbers: [11] 11,99 unequal: No Solution No 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: 99:[108, 28], Operations: ['26+82=108', '25+3=28'] Exploring Operation: 108-28=80, Resulting Numbers: [80] 80,99 unequal: No Solution Exploring Operation: 108+28=136, Resulting Numbers: [136] 136,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 80, 41, 36, 46 ]
82
[ "80-36=44", "46-44=2", "41*2=82" ]
Current State: 82:[80, 41, 36, 46], Operations: [] Exploring Operation: 80-36=44, Resulting Numbers: [41, 46, 44] Generated Node #2: [41, 46, 44] from Operation: 80-36=44 Current State: 82:[41, 46, 44], Operations: ['80-36=44'] Exploring Operation: 46-44=2, Resulting Numbers: [41, 2] Generated Node #3: [41, 2] from Operation: 46-44=2 Current State: 82:[41, 2], Operations: ['80-36=44', '46-44=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[80, 41, 36, 46], Operations: [] Exploring Operation: 41-36=5, Resulting Numbers: [80, 46, 5] Generated Node #0,0: 82:[80, 46, 5] Operation: 41-36=5 Exploring Operation: 36+46=82, Resulting Numbers: [80, 41, 82] Generated Node #0,1: 82:[80, 41, 82] Operation: 36+46=82 Exploring Operation: 80-36=44, Resulting Numbers: [41, 46, 44] Generated Node #0,2: 82:[41, 46, 44] Operation: 80-36=44 Exploring Operation: 46-41=5, Resulting Numbers: [80, 36, 5] Generated Node #0,3: 82:[80, 36, 5] Operation: 46-41=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[80, 41, 82], Operations: ['36+46=82'] Exploring Operation: 80-41=39, Resulting Numbers: [82, 39] Generated Node #0,1,0: 82:[82, 39] Operation: 80-41=39 Exploring Operation: 82/41=2, Resulting Numbers: [80, 2] Generated Node #0,1,1: 82:[80, 2] Operation: 82/41=2 Exploring Operation: 82-41=41, Resulting Numbers: [80, 41] Generated Node #0,1,2: 82:[80, 41] Operation: 82-41=41 Exploring Operation: 82-80=2, Resulting Numbers: [41, 2] Generated Node #0,1,3: 82:[41, 2] Operation: 82-80=2 Moving to Node #0,1,3 Current State: 82:[41, 2], Operations: ['36+46=82', '82-80=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[80, 41, 36, 46], Operations: [] Exploring Operation: 36+46=82, Resulting Numbers: [80, 41, 82] Generated Node #0,1: 82:[80, 41, 82] Operation: 36+46=82 Moving to Node #0,1 Current State: 82:[80, 41, 82], Operations: ['36+46=82'] Exploring Operation: 82-80=2, Resulting Numbers: [41, 2] Generated Node #0,1,3: 82:[41, 2] Operation: 82-80=2 Moving to Node #0,1,3 Current State: 82:[41, 2], Operations: ['36+46=82', '82-80=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 50, 44, 74, 50 ]
44
[ "50-50=0", "74*0=0", "44+0=44" ]
Current State: 44:[50, 44, 74, 50], Operations: [] Exploring Operation: 50-50=0, Resulting Numbers: [44, 74, 0] Generated Node #2: [44, 74, 0] from Operation: 50-50=0 Current State: 44:[44, 74, 0], Operations: ['50-50=0'] Exploring Operation: 74*0=0, Resulting Numbers: [44, 0] Generated Node #3: [44, 0] from Operation: 74*0=0 Current State: 44:[44, 0], Operations: ['50-50=0', '74*0=0'] Exploring Operation: 44+0=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[50, 44, 74, 50], Operations: [] Exploring Operation: 74-50=24, Resulting Numbers: [50, 44, 24] Generated Node #0,0: 44:[50, 44, 24] Operation: 74-50=24 Exploring Operation: 74-50=24, Resulting Numbers: [44, 50, 24] Generated Node #0,1: 44:[44, 50, 24] Operation: 74-50=24 Exploring Operation: 74-44=30, Resulting Numbers: [50, 50, 30] Generated Node #0,2: 44:[50, 50, 30] Operation: 74-44=30 Moving to Node #0,0 Current State: 44:[50, 44, 24], Operations: ['74-50=24'] Exploring Operation: 50-24=26, Resulting Numbers: [44, 26] Generated Node #0,0,0: 44:[44, 26] Operation: 50-24=26 Exploring Operation: 44-24=20, Resulting Numbers: [50, 20] Generated Node #0,0,1: 44:[50, 20] Operation: 44-24=20 Exploring Operation: 50-44=6, Resulting Numbers: [24, 6] Generated Node #0,0,2: 44:[24, 6] Operation: 50-44=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[44, 26], Operations: ['74-50=24', '50-24=26'] Exploring Operation: 44+26=70, Resulting Numbers: [70] 70,44 unequal: No Solution Exploring Operation: 44*26=1144, Resulting Numbers: [1144] 1144,44 unequal: No Solution Exploring Operation: 44-26=18, Resulting Numbers: [18] 18,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 44:[24, 6], Operations: ['74-50=24', '50-44=6'] Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 44:[50, 20], Operations: ['74-50=24', '44-24=20'] Exploring Operation: 50+20=70, Resulting Numbers: [70] 70,44 unequal: No Solution Exploring Operation: 50*20=1000, Resulting Numbers: [1000] 1000,44 unequal: No Solution Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,44 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: 44:[44, 50, 24], Operations: ['74-50=24'] Exploring Operation: 50-44=6, Resulting Numbers: [24, 6] Generated Node #0,1,0: 44:[24, 6] Operation: 50-44=6 Exploring Operation: 50-24=26, Resulting Numbers: [44, 26] Generated Node #0,1,1: 44:[44, 26] Operation: 50-24=26 Exploring Operation: 44-24=20, Resulting Numbers: [50, 20] Generated Node #0,1,2: 44:[50, 20] Operation: 44-24=20 Moving to Node #0,2 Current State: 44:[50, 50, 30], Operations: ['74-44=30'] Exploring Operation: 50-30=20, Resulting Numbers: [50, 20] Generated Node #0,2,0: 44:[50, 20] Operation: 50-30=20 Exploring Operation: 50/50=1, Resulting Numbers: [30, 1] Generated Node #0,2,1: 44:[30, 1] Operation: 50/50=1 Exploring Operation: 50-30=20, Resulting Numbers: [50, 20] Generated Node #0,2,2: 44:[50, 20] Operation: 50-30=20 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 44:[50, 20], Operations: ['74-44=30', '50-30=20'] Exploring Operation: 50*20=1000, Resulting Numbers: [1000] 1000,44 unequal: No Solution Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 50+20=70, Resulting Numbers: [70] 70,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 44:[50, 20], Operations: ['74-44=30', '50-30=20'] Exploring Operation: 50+20=70, Resulting Numbers: [70] 70,44 unequal: No Solution Exploring Operation: 50*20=1000, Resulting Numbers: [1000] 1000,44 unequal: No Solution Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 44:[30, 1], Operations: ['74-44=30', '50/50=1'] Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,44 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: 44:[24, 6], Operations: ['74-50=24', '50-44=6'] Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[44, 26], Operations: ['74-50=24', '50-24=26'] Exploring Operation: 44-26=18, Resulting Numbers: [18] 18,44 unequal: No Solution Exploring Operation: 44+26=70, Resulting Numbers: [70] 70,44 unequal: No Solution Exploring Operation: 44*26=1144, Resulting Numbers: [1144] 1144,44 unequal: No Solution Moving to Node #0,1,2 Current State: 44:[50, 20], Operations: ['74-50=24', '44-24=20'] Exploring Operation: 50*20=1000, Resulting Numbers: [1000] 1000,44 unequal: No Solution Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 50+20=70, Resulting Numbers: [70] 70,44 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 87, 47, 99, 42 ]
77
[ "87+47=134", "99-42=57", "134-57=77" ]
Current State: 77:[87, 47, 99, 42], Operations: [] Exploring Operation: 87+47=134, Resulting Numbers: [99, 42, 134] Generated Node #2: [99, 42, 134] from Operation: 87+47=134 Current State: 77:[99, 42, 134], Operations: ['87+47=134'] Exploring Operation: 99-42=57, Resulting Numbers: [134, 57] Generated Node #3: [134, 57] from Operation: 99-42=57 Current State: 77:[134, 57], Operations: ['87+47=134', '99-42=57'] Exploring Operation: 134-57=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[87, 47, 99, 42], Operations: [] Exploring Operation: 47-42=5, Resulting Numbers: [87, 99, 5] Generated Node #0,0: 77:[87, 99, 5] Operation: 47-42=5 Exploring Operation: 47+42=89, Resulting Numbers: [87, 99, 89] Generated Node #0,1: 77:[87, 99, 89] Operation: 47+42=89 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[87, 99, 5], Operations: ['47-42=5'] Exploring Operation: 99-87=12, Resulting Numbers: [5, 12] Generated Node #0,0,0: 77:[5, 12] Operation: 99-87=12 Exploring Operation: 87-5=82, Resulting Numbers: [99, 82] Generated Node #0,0,1: 77:[99, 82] Operation: 87-5=82 Moving to Node #0,0,0 Current State: 77:[5, 12], Operations: ['47-42=5', '99-87=12'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[99, 82], Operations: ['47-42=5', '87-5=82'] Exploring Operation: 99-82=17, Resulting Numbers: [17] 17,77 unequal: No Solution Exploring Operation: 99+82=181, Resulting Numbers: [181] 181,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:[87, 99, 89], Operations: ['47+42=89'] Exploring Operation: 99-87=12, Resulting Numbers: [89, 12] Generated Node #0,1,0: 77:[89, 12] Operation: 99-87=12 Exploring Operation: 99-89=10, Resulting Numbers: [87, 10] Generated Node #0,1,1: 77:[87, 10] Operation: 99-89=10 Moving to Node #0,1,1 Current State: 77:[87, 10], Operations: ['47+42=89', '99-89=10'] Exploring Operation: 87-10=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[87, 47, 99, 42], Operations: [] Exploring Operation: 47+42=89, Resulting Numbers: [87, 99, 89] Generated Node #0,1: 77:[87, 99, 89] Operation: 47+42=89 Moving to Node #0,1 Current State: 77:[87, 99, 89], Operations: ['47+42=89'] Exploring Operation: 99-89=10, Resulting Numbers: [87, 10] Generated Node #0,1,1: 77:[87, 10] Operation: 99-89=10 Moving to Node #0,1,1 Current State: 77:[87, 10], Operations: ['47+42=89', '99-89=10'] Exploring Operation: 87-10=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 91, 44, 89, 10 ]
98
[ "91-89=2", "44*2=88", "10+88=98" ]
Current State: 98:[91, 44, 89, 10], Operations: [] Exploring Operation: 91-89=2, Resulting Numbers: [44, 10, 2] Generated Node #2: [44, 10, 2] from Operation: 91-89=2 Current State: 98:[44, 10, 2], Operations: ['91-89=2'] Exploring Operation: 44*2=88, Resulting Numbers: [10, 88] Generated Node #3: [10, 88] from Operation: 44*2=88 Current State: 98:[10, 88], Operations: ['91-89=2', '44*2=88'] Exploring Operation: 10+88=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[91, 44, 89, 10], Operations: [] Exploring Operation: 91-89=2, Resulting Numbers: [44, 10, 2] Generated Node #0,0: 98:[44, 10, 2] Operation: 91-89=2 Exploring Operation: 89+10=99, Resulting Numbers: [91, 44, 99] Generated Node #0,1: 98:[91, 44, 99] Operation: 89+10=99 Exploring Operation: 91-44=47, Resulting Numbers: [89, 10, 47] Generated Node #0,2: 98:[89, 10, 47] Operation: 91-44=47 Moving to Node #0,0 Current State: 98:[44, 10, 2], Operations: ['91-89=2'] Exploring Operation: 10-2=8, Resulting Numbers: [44, 8] Generated Node #0,0,0: 98:[44, 8] Operation: 10-2=8 Exploring Operation: 44+2=46, Resulting Numbers: [10, 46] Generated Node #0,0,1: 98:[10, 46] Operation: 44+2=46 Exploring Operation: 44+10=54, Resulting Numbers: [2, 54] Generated Node #0,0,2: 98:[2, 54] Operation: 44+10=54 Moving to Node #0,1 Current State: 98:[91, 44, 99], Operations: ['89+10=99'] Exploring Operation: 99-44=55, Resulting Numbers: [91, 55] Generated Node #0,1,0: 98:[91, 55] Operation: 99-44=55 Exploring Operation: 99-91=8, Resulting Numbers: [44, 8] Generated Node #0,1,1: 98:[44, 8] Operation: 99-91=8 Exploring Operation: 91-44=47, Resulting Numbers: [99, 47] Generated Node #0,1,2: 98:[99, 47] Operation: 91-44=47 Moving to Node #0,2 Current State: 98:[89, 10, 47], Operations: ['91-44=47'] Exploring Operation: 10+47=57, Resulting Numbers: [89, 57] Generated Node #0,2,0: 98:[89, 57] Operation: 10+47=57 Exploring Operation: 89-47=42, Resulting Numbers: [10, 42] Generated Node #0,2,1: 98:[10, 42] Operation: 89-47=42 Exploring Operation: 89+10=99, Resulting Numbers: [47, 99] Generated Node #0,2,2: 98:[47, 99] Operation: 89+10=99 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 98:[47, 99], Operations: ['91-44=47', '89+10=99'] Exploring Operation: 47+99=146, Resulting Numbers: [146] 146,98 unequal: No Solution Exploring Operation: 47*99=4653, Resulting Numbers: [4653] 4653,98 unequal: No Solution Exploring Operation: 99-47=52, Resulting Numbers: [52] 52,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 98:[10, 42], Operations: ['91-44=47', '89-47=42'] Exploring Operation: 10+42=52, Resulting Numbers: [52] 52,98 unequal: No Solution Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,98 unequal: No Solution Exploring Operation: 10*42=420, Resulting Numbers: [420] 420,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 98:[89, 57], Operations: ['91-44=47', '10+47=57'] Exploring Operation: 89+57=146, Resulting Numbers: [146] 146,98 unequal: No Solution Exploring Operation: 89-57=32, Resulting Numbers: [32] 32,98 unequal: No Solution Exploring Operation: 89*57=5073, Resulting Numbers: [5073] 5073,98 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: 98:[99, 47], Operations: ['89+10=99', '91-44=47'] Exploring Operation: 99+47=146, Resulting Numbers: [146] 146,98 unequal: No Solution Exploring Operation: 99*47=4653, Resulting Numbers: [4653] 4653,98 unequal: No Solution Exploring Operation: 99-47=52, Resulting Numbers: [52] 52,98 unequal: No Solution Moving to Node #0,0,2 Current State: 98:[2, 54], Operations: ['91-89=2', '44+10=54'] Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,98 unequal: No Solution Exploring Operation: 2*54=108, Resulting Numbers: [108] 108,98 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[10, 46], Operations: ['91-89=2', '44+2=46'] Exploring Operation: 46-10=36, Resulting Numbers: [36] 36,98 unequal: No Solution Exploring Operation: 10*46=460, Resulting Numbers: [460] 460,98 unequal: No Solution Exploring Operation: 10+46=56, Resulting Numbers: [56] 56,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[44, 8], Operations: ['89+10=99', '99-91=8'] Exploring Operation: 44+8=52, Resulting Numbers: [52] 52,98 unequal: No Solution Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,98 unequal: No Solution Exploring Operation: 44*8=352, Resulting Numbers: [352] 352,98 unequal: No Solution Moving to Node #0,0,0 Current State: 98:[44, 8], Operations: ['91-89=2', '10-2=8'] Exploring Operation: 44*8=352, Resulting Numbers: [352] 352,98 unequal: No Solution Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,98 unequal: No Solution Exploring Operation: 44+8=52, Resulting Numbers: [52] 52,98 unequal: No Solution Moving to Node #0,1,0 Current State: 98:[91, 55], Operations: ['89+10=99', '99-44=55'] Exploring Operation: 91+55=146, Resulting Numbers: [146] 146,98 unequal: No Solution Exploring Operation: 91*55=5005, Resulting Numbers: [5005] 5005,98 unequal: No Solution Exploring Operation: 91-55=36, Resulting Numbers: [36] 36,98 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 94, 56, 80, 84 ]
34
[ "94-56=38", "84-80=4", "38-4=34" ]
Current State: 34:[94, 56, 80, 84], Operations: [] Exploring Operation: 94-56=38, Resulting Numbers: [80, 84, 38] Generated Node #2: [80, 84, 38] from Operation: 94-56=38 Current State: 34:[80, 84, 38], Operations: ['94-56=38'] Exploring Operation: 84-80=4, Resulting Numbers: [38, 4] Generated Node #3: [38, 4] from Operation: 84-80=4 Current State: 34:[38, 4], Operations: ['94-56=38', '84-80=4'] Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[94, 56, 80, 84], Operations: [] Exploring Operation: 94-84=10, Resulting Numbers: [56, 80, 10] Generated Node #0,0: 34:[56, 80, 10] Operation: 94-84=10 Exploring Operation: 94-80=14, Resulting Numbers: [56, 84, 14] Generated Node #0,1: 34:[56, 84, 14] Operation: 94-80=14 Exploring Operation: 94-56=38, Resulting Numbers: [80, 84, 38] Generated Node #0,2: 34:[80, 84, 38] Operation: 94-56=38 Exploring Operation: 84-80=4, Resulting Numbers: [94, 56, 4] Generated Node #0,3: 34:[94, 56, 4] Operation: 84-80=4 Moving to Node #0,0 Current State: 34:[56, 80, 10], Operations: ['94-84=10'] Exploring Operation: 80-10=70, Resulting Numbers: [56, 70] Generated Node #0,0,0: 34:[56, 70] Operation: 80-10=70 Exploring Operation: 80/10=8, Resulting Numbers: [56, 8] Generated Node #0,0,1: 34:[56, 8] Operation: 80/10=8 Exploring Operation: 80-56=24, Resulting Numbers: [10, 24] Generated Node #0,0,2: 34:[10, 24] Operation: 80-56=24 Exploring Operation: 56-10=46, Resulting Numbers: [80, 46] Generated Node #0,0,3: 34:[80, 46] Operation: 56-10=46 Moving to Node #0,1 Current State: 34:[56, 84, 14], Operations: ['94-80=14'] Exploring Operation: 84-56=28, Resulting Numbers: [14, 28] Generated Node #0,1,0: 34:[14, 28] Operation: 84-56=28 Exploring Operation: 84/14=6, Resulting Numbers: [56, 6] Generated Node #0,1,1: 34:[56, 6] Operation: 84/14=6 Exploring Operation: 56/14=4, Resulting Numbers: [84, 4] Generated Node #0,1,2: 34:[84, 4] Operation: 56/14=4 Exploring Operation: 56-14=42, Resulting Numbers: [84, 42] Generated Node #0,1,3: 34:[84, 42] Operation: 56-14=42 Moving to Node #0,3 Current State: 34:[94, 56, 4], Operations: ['84-80=4'] Exploring Operation: 56-4=52, Resulting Numbers: [94, 52] Generated Node #0,3,0: 34:[94, 52] Operation: 56-4=52 Exploring Operation: 94-56=38, Resulting Numbers: [4, 38] Generated Node #0,3,1: 34:[4, 38] Operation: 94-56=38 Exploring Operation: 56/4=14, Resulting Numbers: [94, 14] Generated Node #0,3,2: 34:[94, 14] Operation: 56/4=14 Exploring Operation: 94-4=90, Resulting Numbers: [56, 90] Generated Node #0,3,3: 34:[56, 90] Operation: 94-4=90 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 34:[4, 38], Operations: ['84-80=4', '94-56=38'] Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,34 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[94, 56, 80, 84], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [94, 56, 4] Generated Node #0,3: 34:[94, 56, 4] Operation: 84-80=4 Moving to Node #0,3 Current State: 34:[94, 56, 4], Operations: ['84-80=4'] Exploring Operation: 94-56=38, Resulting Numbers: [4, 38] Generated Node #0,3,1: 34:[4, 38] Operation: 94-56=38 Moving to Node #0,3,1 Current State: 34:[4, 38], Operations: ['84-80=4', '94-56=38'] Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
sum_heuristic
[ 65, 31, 55, 44 ]
83
[ "65*44=2860", "2860/55=52", "31+52=83" ]
Current State: 83:[65, 31, 55, 44], Operations: [] Exploring Operation: 65*44=2860, Resulting Numbers: [31, 55, 2860] Generated Node #2: [31, 55, 2860] from Operation: 65*44=2860 Current State: 83:[31, 55, 2860], Operations: ['65*44=2860'] Exploring Operation: 2860/55=52, Resulting Numbers: [31, 52] Generated Node #3: [31, 52] from Operation: 2860/55=52 Current State: 83:[31, 52], Operations: ['65*44=2860', '2860/55=52'] Exploring Operation: 31+52=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[65, 31, 55, 44], Operations: [] Exploring Operation: 31+44=75, Resulting Numbers: [65, 55, 75] Generated Node #0,0: 83:[65, 55, 75] Operation: 31+44=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[65, 55, 75], Operations: ['31+44=75'] Exploring Operation: 65+55=120, Resulting Numbers: [75, 120] Generated Node #0,0,0: 83:[75, 120] Operation: 65+55=120 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[75, 120], Operations: ['31+44=75', '65+55=120'] Exploring Operation: 120-75=45, Resulting Numbers: [45] 45,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 No solution found.
0
hs_1
mult_heuristic
[ 79, 18, 47, 69 ]
19
[ "79+18=97", "47+69=116", "116-97=19" ]
Current State: 19:[79, 18, 47, 69], Operations: [] Exploring Operation: 79+18=97, Resulting Numbers: [47, 69, 97] Generated Node #2: [47, 69, 97] from Operation: 79+18=97 Current State: 19:[47, 69, 97], Operations: ['79+18=97'] Exploring Operation: 47+69=116, Resulting Numbers: [97, 116] Generated Node #3: [97, 116] from Operation: 47+69=116 Current State: 19:[97, 116], Operations: ['79+18=97', '47+69=116'] Exploring Operation: 116-97=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[79, 18, 47, 69], Operations: [] Exploring Operation: 79-69=10, Resulting Numbers: [18, 47, 10] Generated Node #0,0: 19:[18, 47, 10] Operation: 79-69=10 Exploring Operation: 69-47=22, Resulting Numbers: [79, 18, 22] Generated Node #0,1: 19:[79, 18, 22] Operation: 69-47=22 Exploring Operation: 79-47=32, Resulting Numbers: [18, 69, 32] Generated Node #0,2: 19:[18, 69, 32] Operation: 79-47=32 Exploring Operation: 79-18=61, Resulting Numbers: [47, 69, 61] Generated Node #0,3: 19:[47, 69, 61] Operation: 79-18=61 Exploring Operation: 47-18=29, Resulting Numbers: [79, 69, 29] Generated Node #0,4: 19:[79, 69, 29] Operation: 47-18=29 Moving to Node #0,0 Current State: 19:[18, 47, 10], Operations: ['79-69=10'] Exploring Operation: 47+10=57, Resulting Numbers: [18, 57] Generated Node #0,0,0: 19:[18, 57] Operation: 47+10=57 Exploring Operation: 18+10=28, Resulting Numbers: [47, 28] Generated Node #0,0,1: 19:[47, 28] Operation: 18+10=28 Exploring Operation: 47-10=37, Resulting Numbers: [18, 37] Generated Node #0,0,2: 19:[18, 37] Operation: 47-10=37 Exploring Operation: 18-10=8, Resulting Numbers: [47, 8] Generated Node #0,0,3: 19:[47, 8] Operation: 18-10=8 Exploring Operation: 47-18=29, Resulting Numbers: [10, 29] Generated Node #0,0,4: 19:[10, 29] Operation: 47-18=29 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 19:[18, 37], Operations: ['79-69=10', '47-10=37'] Exploring Operation: 18*37=666, Resulting Numbers: [666] 666,19 unequal: No Solution Exploring Operation: 18+37=55, Resulting Numbers: [55] 55,19 unequal: No Solution Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[79, 18, 47, 69], Operations: [] Exploring Operation: 79-69=10, Resulting Numbers: [18, 47, 10] Generated Node #0,0: 19:[18, 47, 10] Operation: 79-69=10 Moving to Node #0,0 Current State: 19:[18, 47, 10], Operations: ['79-69=10'] Exploring Operation: 47-10=37, Resulting Numbers: [18, 37] Generated Node #0,0,2: 19:[18, 37] Operation: 47-10=37 Moving to Node #0,0,2 Current State: 19:[18, 37], Operations: ['79-69=10', '47-10=37'] Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 22, 97, 19, 5 ]
84
[ "97*19=1843", "5+1843=1848", "1848/22=84" ]
Current State: 84:[22, 97, 19, 5], Operations: [] Exploring Operation: 97*19=1843, Resulting Numbers: [22, 5, 1843] Generated Node #2: [22, 5, 1843] from Operation: 97*19=1843 Current State: 84:[22, 5, 1843], Operations: ['97*19=1843'] Exploring Operation: 5+1843=1848, Resulting Numbers: [22, 1848] Generated Node #3: [22, 1848] from Operation: 5+1843=1848 Current State: 84:[22, 1848], Operations: ['97*19=1843', '5+1843=1848'] Exploring Operation: 1848/22=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[22, 97, 19, 5], Operations: [] Exploring Operation: 97-19=78, Resulting Numbers: [22, 5, 78] Generated Node #0,0: 84:[22, 5, 78] Operation: 97-19=78 Exploring Operation: 97-22=75, Resulting Numbers: [19, 5, 75] Generated Node #0,1: 84:[19, 5, 75] Operation: 97-22=75 Exploring Operation: 97-5=92, Resulting Numbers: [22, 19, 92] Generated Node #0,2: 84:[22, 19, 92] Operation: 97-5=92 Moving to Node #0,0 Current State: 84:[22, 5, 78], Operations: ['97-19=78'] Exploring Operation: 22-5=17, Resulting Numbers: [78, 17] Generated Node #0,0,0: 84:[78, 17] Operation: 22-5=17 Exploring Operation: 5+78=83, Resulting Numbers: [22, 83] Generated Node #0,0,1: 84:[22, 83] Operation: 5+78=83 Exploring Operation: 22+5=27, Resulting Numbers: [78, 27] Generated Node #0,0,2: 84:[78, 27] Operation: 22+5=27 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 84:[22, 83], Operations: ['97-19=78', '5+78=83'] Exploring Operation: 22*83=1826, Resulting Numbers: [1826] 1826,84 unequal: No Solution Exploring Operation: 83-22=61, Resulting Numbers: [61] 61,84 unequal: No Solution Exploring Operation: 22+83=105, Resulting Numbers: [105] 105,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 84:[78, 27], Operations: ['97-19=78', '22+5=27'] Exploring Operation: 78+27=105, Resulting Numbers: [105] 105,84 unequal: No Solution Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,84 unequal: No Solution Exploring Operation: 78*27=2106, Resulting Numbers: [2106] 2106,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[78, 17], Operations: ['97-19=78', '22-5=17'] Exploring Operation: 78+17=95, Resulting Numbers: [95] 95,84 unequal: No Solution Exploring Operation: 78*17=1326, Resulting Numbers: [1326] 1326,84 unequal: No Solution Exploring Operation: 78-17=61, Resulting Numbers: [61] 61,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 84:[22, 19, 92], Operations: ['97-5=92'] Exploring Operation: 22-19=3, Resulting Numbers: [92, 3] Generated Node #0,2,0: 84:[92, 3] Operation: 22-19=3 Exploring Operation: 22+19=41, Resulting Numbers: [92, 41] Generated Node #0,2,1: 84:[92, 41] Operation: 22+19=41 Exploring Operation: 92-19=73, Resulting Numbers: [22, 73] Generated Node #0,2,2: 84:[22, 73] Operation: 92-19=73 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 84:[92, 3], Operations: ['97-5=92', '22-19=3'] Exploring Operation: 92*3=276, Resulting Numbers: [276] 276,84 unequal: No Solution Exploring Operation: 92-3=89, Resulting Numbers: [89] 89,84 unequal: No Solution Exploring Operation: 92+3=95, Resulting Numbers: [95] 95,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 84:[92, 41], Operations: ['97-5=92', '22+19=41'] Exploring Operation: 92*41=3772, Resulting Numbers: [3772] 3772,84 unequal: No Solution Exploring Operation: 92-41=51, Resulting Numbers: [51] 51,84 unequal: No Solution Exploring Operation: 92+41=133, Resulting Numbers: [133] 133,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 84:[22, 73], Operations: ['97-5=92', '92-19=73'] Exploring Operation: 73-22=51, Resulting Numbers: [51] 51,84 unequal: No Solution Exploring Operation: 22*73=1606, Resulting Numbers: [1606] 1606,84 unequal: No Solution Exploring Operation: 22+73=95, Resulting Numbers: [95] 95,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 84:[19, 5, 75], Operations: ['97-22=75'] Exploring Operation: 19-5=14, Resulting Numbers: [75, 14] Generated Node #0,1,0: 84:[75, 14] Operation: 19-5=14 Exploring Operation: 75/5=15, Resulting Numbers: [19, 15] Generated Node #0,1,1: 84:[19, 15] Operation: 75/5=15 Exploring Operation: 5+75=80, Resulting Numbers: [19, 80] Generated Node #0,1,2: 84:[19, 80] Operation: 5+75=80 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 84:[19, 15], Operations: ['97-22=75', '75/5=15'] Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,84 unequal: No Solution Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,84 unequal: No Solution Exploring Operation: 19*15=285, Resulting Numbers: [285] 285,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 84:[19, 80], Operations: ['97-22=75', '5+75=80'] Exploring Operation: 80-19=61, Resulting Numbers: [61] 61,84 unequal: No Solution Exploring Operation: 19+80=99, Resulting Numbers: [99] 99,84 unequal: No Solution Exploring Operation: 19*80=1520, Resulting Numbers: [1520] 1520,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 84:[75, 14], Operations: ['97-22=75', '19-5=14'] Exploring Operation: 75*14=1050, Resulting Numbers: [1050] 1050,84 unequal: No Solution Exploring Operation: 75+14=89, Resulting Numbers: [89] 89,84 unequal: No Solution Exploring Operation: 75-14=61, Resulting Numbers: [61] 61,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 27, 29, 20, 47 ]
65
[ "29-27=2", "20+47=67", "67-2=65" ]
Current State: 65:[27, 29, 20, 47], Operations: [] Exploring Operation: 29-27=2, Resulting Numbers: [20, 47, 2] Generated Node #2: [20, 47, 2] from Operation: 29-27=2 Current State: 65:[20, 47, 2], Operations: ['29-27=2'] Exploring Operation: 20+47=67, Resulting Numbers: [2, 67] Generated Node #3: [2, 67] from Operation: 20+47=67 Current State: 65:[2, 67], Operations: ['29-27=2', '20+47=67'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[27, 29, 20, 47], Operations: [] Exploring Operation: 47-29=18, Resulting Numbers: [27, 20, 18] Generated Node #0,0: 65:[27, 20, 18] Operation: 47-29=18 Moving to Node #0,0 Current State: 65:[27, 20, 18], Operations: ['47-29=18'] Exploring Operation: 27-20=7, Resulting Numbers: [18, 7] Generated Node #0,0,0: 65:[18, 7] Operation: 27-20=7 Moving to Node #0,0,0 Current State: 65:[18, 7], Operations: ['47-29=18', '27-20=7'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,65 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 50, 35, 12, 40 ]
33
[ "50+35=85", "12+40=52", "85-52=33" ]
Current State: 33:[50, 35, 12, 40], Operations: [] Exploring Operation: 50+35=85, Resulting Numbers: [12, 40, 85] Generated Node #2: [12, 40, 85] from Operation: 50+35=85 Current State: 33:[12, 40, 85], Operations: ['50+35=85'] Exploring Operation: 12+40=52, Resulting Numbers: [85, 52] Generated Node #3: [85, 52] from Operation: 12+40=52 Current State: 33:[85, 52], Operations: ['50+35=85', '12+40=52'] Exploring Operation: 85-52=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[50, 35, 12, 40], Operations: [] Exploring Operation: 50-35=15, Resulting Numbers: [12, 40, 15] Generated Node #0,0: 33:[12, 40, 15] Operation: 50-35=15 Exploring Operation: 50-40=10, Resulting Numbers: [35, 12, 10] Generated Node #0,1: 33:[35, 12, 10] Operation: 50-40=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[35, 12, 10], Operations: ['50-40=10'] Exploring Operation: 12-10=2, Resulting Numbers: [35, 2] Generated Node #0,1,0: 33:[35, 2] Operation: 12-10=2 Exploring Operation: 35-10=25, Resulting Numbers: [12, 25] Generated Node #0,1,1: 33:[12, 25] Operation: 35-10=25 Moving to Node #0,1,0 Current State: 33:[35, 2], Operations: ['50-40=10', '12-10=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,33 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[50, 35, 12, 40], Operations: [] Exploring Operation: 50-40=10, Resulting Numbers: [35, 12, 10] Generated Node #0,1: 33:[35, 12, 10] Operation: 50-40=10 Moving to Node #0,1 Current State: 33:[35, 12, 10], Operations: ['50-40=10'] Exploring Operation: 12-10=2, Resulting Numbers: [35, 2] Generated Node #0,1,0: 33:[35, 2] Operation: 12-10=2 Moving to Node #0,1,0 Current State: 33:[35, 2], Operations: ['50-40=10', '12-10=2'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 67, 15, 69, 94 ]
64
[ "69-67=2", "15*2=30", "94-30=64" ]
Current State: 64:[67, 15, 69, 94], Operations: [] Exploring Operation: 69-67=2, Resulting Numbers: [15, 94, 2] Generated Node #2: [15, 94, 2] from Operation: 69-67=2 Current State: 64:[15, 94, 2], Operations: ['69-67=2'] Exploring Operation: 15*2=30, Resulting Numbers: [94, 30] Generated Node #3: [94, 30] from Operation: 15*2=30 Current State: 64:[94, 30], Operations: ['69-67=2', '15*2=30'] Exploring Operation: 94-30=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[67, 15, 69, 94], Operations: [] Exploring Operation: 94-15=79, Resulting Numbers: [67, 69, 79] Generated Node #0,0: 64:[67, 69, 79] Operation: 94-15=79 Exploring Operation: 94-67=27, Resulting Numbers: [15, 69, 27] Generated Node #0,1: 64:[15, 69, 27] Operation: 94-67=27 Exploring Operation: 94-69=25, Resulting Numbers: [67, 15, 25] Generated Node #0,2: 64:[67, 15, 25] Operation: 94-69=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[15, 69, 27], Operations: ['94-67=27'] Exploring Operation: 27-15=12, Resulting Numbers: [69, 12] Generated Node #0,1,0: 64:[69, 12] Operation: 27-15=12 Exploring Operation: 69-27=42, Resulting Numbers: [15, 42] Generated Node #0,1,1: 64:[15, 42] Operation: 69-27=42 Exploring Operation: 69-15=54, Resulting Numbers: [27, 54] Generated Node #0,1,2: 64:[27, 54] Operation: 69-15=54 Moving to Node #0,1,0 Current State: 64:[69, 12], Operations: ['94-67=27', '27-15=12'] Exploring Operation: 69+12=81, Resulting Numbers: [81] 81,64 unequal: No Solution Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,64 unequal: No Solution Exploring Operation: 69*12=828, Resulting Numbers: [828] 828,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[15, 42], Operations: ['94-67=27', '69-27=42'] Exploring Operation: 15+42=57, Resulting Numbers: [57] 57,64 unequal: No Solution Exploring Operation: 42-15=27, Resulting Numbers: [27] 27,64 unequal: No Solution Exploring Operation: 15*42=630, Resulting Numbers: [630] 630,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[27, 54], Operations: ['94-67=27', '69-15=54'] Exploring Operation: 54-27=27, Resulting Numbers: [27] 27,64 unequal: No Solution Exploring Operation: 54/27=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 27+54=81, Resulting Numbers: [81] 81,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[67, 15, 25], Operations: ['94-69=25'] Exploring Operation: 67-25=42, Resulting Numbers: [15, 42] Generated Node #0,2,0: 64:[15, 42] Operation: 67-25=42 Exploring Operation: 25-15=10, Resulting Numbers: [67, 10] Generated Node #0,2,1: 64:[67, 10] Operation: 25-15=10 Exploring Operation: 15+25=40, Resulting Numbers: [67, 40] Generated Node #0,2,2: 64:[67, 40] Operation: 15+25=40 Moving to Node #0,2,1 Current State: 64:[67, 10], Operations: ['94-69=25', '25-15=10'] Exploring Operation: 67*10=670, Resulting Numbers: [670] 670,64 unequal: No Solution Exploring Operation: 67+10=77, Resulting Numbers: [77] 77,64 unequal: No Solution Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[15, 42], Operations: ['94-69=25', '67-25=42'] Exploring Operation: 42-15=27, Resulting Numbers: [27] 27,64 unequal: No Solution Exploring Operation: 15*42=630, Resulting Numbers: [630] 630,64 unequal: No Solution Exploring Operation: 15+42=57, Resulting Numbers: [57] 57,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[67, 40], Operations: ['94-69=25', '15+25=40'] Exploring Operation: 67-40=27, Resulting Numbers: [27] 27,64 unequal: No Solution Exploring Operation: 67+40=107, Resulting Numbers: [107] 107,64 unequal: No Solution Exploring Operation: 67*40=2680, Resulting Numbers: [2680] 2680,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[67, 69, 79], Operations: ['94-15=79'] Exploring Operation: 79-67=12, Resulting Numbers: [69, 12] Generated Node #0,0,0: 64:[69, 12] Operation: 79-67=12 Exploring Operation: 79-69=10, Resulting Numbers: [67, 10] Generated Node #0,0,1: 64:[67, 10] Operation: 79-69=10 Exploring Operation: 69-67=2, Resulting Numbers: [79, 2] Generated Node #0,0,2: 64:[79, 2] Operation: 69-67=2 Moving to Node #0,0,1 Current State: 64:[67, 10], Operations: ['94-15=79', '79-69=10'] Exploring Operation: 67*10=670, Resulting Numbers: [670] 670,64 unequal: No Solution Exploring Operation: 67+10=77, Resulting Numbers: [77] 77,64 unequal: No Solution Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[69, 12], Operations: ['94-15=79', '79-67=12'] Exploring Operation: 69+12=81, Resulting Numbers: [81] 81,64 unequal: No Solution Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,64 unequal: No Solution Exploring Operation: 69*12=828, Resulting Numbers: [828] 828,64 unequal: No Solution Moving to Node #0,0,2 Current State: 64:[79, 2], Operations: ['94-15=79', '69-67=2'] Exploring Operation: 79+2=81, Resulting Numbers: [81] 81,64 unequal: No Solution Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,64 unequal: No Solution Exploring Operation: 79*2=158, Resulting Numbers: [158] 158,64 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
[ 78, 20, 38, 48 ]
76
[ "48-38=10", "20/10=2", "78-2=76" ]
Current State: 76:[78, 20, 38, 48], Operations: [] Exploring Operation: 48-38=10, Resulting Numbers: [78, 20, 10] Generated Node #2: [78, 20, 10] from Operation: 48-38=10 Current State: 76:[78, 20, 10], Operations: ['48-38=10'] Exploring Operation: 20/10=2, Resulting Numbers: [78, 2] Generated Node #3: [78, 2] from Operation: 20/10=2 Current State: 76:[78, 2], Operations: ['48-38=10', '20/10=2'] Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[78, 20, 38, 48], Operations: [] Exploring Operation: 78-48=30, Resulting Numbers: [20, 38, 30] Generated Node #0,0: 76:[20, 38, 30] Operation: 78-48=30 Moving to Node #0,0 Current State: 76:[20, 38, 30], Operations: ['78-48=30'] Exploring Operation: 38-30=8, Resulting Numbers: [20, 8] Generated Node #0,0,0: 76:[20, 8] Operation: 38-30=8 Moving to Node #0,0,0 Current State: 76:[20, 8], Operations: ['78-48=30', '38-30=8'] Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,76 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 34, 36, 53, 48 ]
96
[ "34*48=1632", "53-36=17", "1632/17=96" ]
Current State: 96:[34, 36, 53, 48], Operations: [] Exploring Operation: 34*48=1632, Resulting Numbers: [36, 53, 1632] Generated Node #2: [36, 53, 1632] from Operation: 34*48=1632 Current State: 96:[36, 53, 1632], Operations: ['34*48=1632'] Exploring Operation: 53-36=17, Resulting Numbers: [1632, 17] Generated Node #3: [1632, 17] from Operation: 53-36=17 Current State: 96:[1632, 17], Operations: ['34*48=1632', '53-36=17'] Exploring Operation: 1632/17=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[34, 36, 53, 48], Operations: [] Exploring Operation: 36-34=2, Resulting Numbers: [53, 48, 2] Generated Node #0,0: 96:[53, 48, 2] Operation: 36-34=2 Exploring Operation: 53-36=17, Resulting Numbers: [34, 48, 17] Generated Node #0,1: 96:[34, 48, 17] Operation: 53-36=17 Exploring Operation: 53-34=19, Resulting Numbers: [36, 48, 19] Generated Node #0,2: 96:[36, 48, 19] Operation: 53-34=19 Exploring Operation: 53-48=5, Resulting Numbers: [34, 36, 5] Generated Node #0,3: 96:[34, 36, 5] Operation: 53-48=5 Exploring Operation: 48-36=12, Resulting Numbers: [34, 53, 12] Generated Node #0,4: 96:[34, 53, 12] Operation: 48-36=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[34, 48, 17], Operations: ['53-36=17'] Exploring Operation: 34+17=51, Resulting Numbers: [48, 51] Generated Node #0,1,0: 96:[48, 51] Operation: 34+17=51 Exploring Operation: 48-17=31, Resulting Numbers: [34, 31] Generated Node #0,1,1: 96:[34, 31] Operation: 48-17=31 Exploring Operation: 48-34=14, Resulting Numbers: [17, 14] Generated Node #0,1,2: 96:[17, 14] Operation: 48-34=14 Exploring Operation: 34/17=2, Resulting Numbers: [48, 2] Generated Node #0,1,3: 96:[48, 2] Operation: 34/17=2 Exploring Operation: 34-17=17, Resulting Numbers: [48, 17] Generated Node #0,1,4: 96:[48, 17] Operation: 34-17=17 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 96:[48, 2], Operations: ['53-36=17', '34/17=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,96 unequal: No Solution Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[34, 36, 53, 48], Operations: [] Exploring Operation: 53-36=17, Resulting Numbers: [34, 48, 17] Generated Node #0,1: 96:[34, 48, 17] Operation: 53-36=17 Moving to Node #0,1 Current State: 96:[34, 48, 17], Operations: ['53-36=17'] Exploring Operation: 34/17=2, Resulting Numbers: [48, 2] Generated Node #0,1,3: 96:[48, 2] Operation: 34/17=2 Moving to Node #0,1,3 Current State: 96:[48, 2], Operations: ['53-36=17', '34/17=2'] Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 44, 89, 62, 56 ]
51
[ "89-44=45", "62-56=6", "45+6=51" ]
Current State: 51:[44, 89, 62, 56], Operations: [] Exploring Operation: 89-44=45, Resulting Numbers: [62, 56, 45] Generated Node #2: [62, 56, 45] from Operation: 89-44=45 Current State: 51:[62, 56, 45], Operations: ['89-44=45'] Exploring Operation: 62-56=6, Resulting Numbers: [45, 6] Generated Node #3: [45, 6] from Operation: 62-56=6 Current State: 51:[45, 6], Operations: ['89-44=45', '62-56=6'] Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[44, 89, 62, 56], Operations: [] Exploring Operation: 89-62=27, Resulting Numbers: [44, 56, 27] Generated Node #0,0: 51:[44, 56, 27] Operation: 89-62=27 Exploring Operation: 62-44=18, Resulting Numbers: [89, 56, 18] Generated Node #0,1: 51:[89, 56, 18] Operation: 62-44=18 Exploring Operation: 89-56=33, Resulting Numbers: [44, 62, 33] Generated Node #0,2: 51:[44, 62, 33] Operation: 89-56=33 Exploring Operation: 89-44=45, Resulting Numbers: [62, 56, 45] Generated Node #0,3: 51:[62, 56, 45] Operation: 89-44=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[44, 56, 27], Operations: ['89-62=27'] Exploring Operation: 56-27=29, Resulting Numbers: [44, 29] Generated Node #0,0,0: 51:[44, 29] Operation: 56-27=29 Exploring Operation: 56-44=12, Resulting Numbers: [27, 12] Generated Node #0,0,1: 51:[27, 12] Operation: 56-44=12 Exploring Operation: 44-27=17, Resulting Numbers: [56, 17] Generated Node #0,0,2: 51:[56, 17] Operation: 44-27=17 Exploring Operation: 44+27=71, Resulting Numbers: [56, 71] Generated Node #0,0,3: 51:[56, 71] Operation: 44+27=71 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 51:[56, 17], Operations: ['89-62=27', '44-27=17'] Exploring Operation: 56+17=73, Resulting Numbers: [73] 73,51 unequal: No Solution Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,51 unequal: No Solution Exploring Operation: 56*17=952, Resulting Numbers: [952] 952,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,0,1 Current State: 51:[27, 12], Operations: ['89-62=27', '56-44=12'] Exploring Operation: 27+12=39, Resulting Numbers: [39] 39,51 unequal: No Solution Exploring Operation: 27*12=324, Resulting Numbers: [324] 324,51 unequal: No Solution Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,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,0,0 Current State: 51:[44, 29], Operations: ['89-62=27', '56-27=29'] Exploring Operation: 44-29=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 44+29=73, Resulting Numbers: [73] 73,51 unequal: No Solution Exploring Operation: 44*29=1276, Resulting Numbers: [1276] 1276,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,0,3 Current State: 51:[56, 71], Operations: ['89-62=27', '44+27=71'] Exploring Operation: 71-56=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 56*71=3976, Resulting Numbers: [3976] 3976,51 unequal: No Solution Exploring Operation: 56+71=127, Resulting Numbers: [127] 127,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 Start Sub Search at level 1: Moving to Node #0,3 Current State: 51:[62, 56, 45], Operations: ['89-44=45'] Exploring Operation: 56-45=11, Resulting Numbers: [62, 11] Generated Node #0,3,0: 51:[62, 11] Operation: 56-45=11 Exploring Operation: 62-45=17, Resulting Numbers: [56, 17] Generated Node #0,3,1: 51:[56, 17] Operation: 62-45=17 Exploring Operation: 62-56=6, Resulting Numbers: [45, 6] Generated Node #0,3,2: 51:[45, 6] Operation: 62-56=6 Exploring Operation: 62+45=107, Resulting Numbers: [56, 107] Generated Node #0,3,3: 51:[56, 107] Operation: 62+45=107 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 51:[56, 17], Operations: ['89-44=45', '62-45=17'] Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,51 unequal: No Solution Exploring Operation: 56+17=73, Resulting Numbers: [73] 73,51 unequal: No Solution Exploring Operation: 56*17=952, Resulting Numbers: [952] 952,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,3,2 Current State: 51:[45, 6], Operations: ['89-44=45', '62-56=6'] Exploring Operation: 45*6=270, Resulting Numbers: [270] 270,51 unequal: No Solution Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[44, 89, 62, 56], Operations: [] Exploring Operation: 89-44=45, Resulting Numbers: [62, 56, 45] Generated Node #0,3: 51:[62, 56, 45] Operation: 89-44=45 Moving to Node #0,3 Current State: 51:[62, 56, 45], Operations: ['89-44=45'] Exploring Operation: 62-56=6, Resulting Numbers: [45, 6] Generated Node #0,3,2: 51:[45, 6] Operation: 62-56=6 Moving to Node #0,3,2 Current State: 51:[45, 6], Operations: ['89-44=45', '62-56=6'] Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.971354
hs_4
sum_heuristic
[ 33, 1, 66, 88 ]
90
[ "33*1=33", "66/33=2", "88+2=90" ]
Current State: 90:[33, 1, 66, 88], Operations: [] Exploring Operation: 33*1=33, Resulting Numbers: [66, 88, 33] Generated Node #2: [66, 88, 33] from Operation: 33*1=33 Current State: 90:[66, 88, 33], Operations: ['33*1=33'] Exploring Operation: 66/33=2, Resulting Numbers: [88, 2] Generated Node #3: [88, 2] from Operation: 66/33=2 Current State: 90:[88, 2], Operations: ['33*1=33', '66/33=2'] Exploring Operation: 88+2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[33, 1, 66, 88], Operations: [] Exploring Operation: 88-66=22, Resulting Numbers: [33, 1, 22] Generated Node #0,0: 90:[33, 1, 22] Operation: 88-66=22 Exploring Operation: 66/33=2, Resulting Numbers: [1, 88, 2] Generated Node #0,1: 90:[1, 88, 2] Operation: 66/33=2 Exploring Operation: 66-33=33, Resulting Numbers: [1, 88, 33] Generated Node #0,2: 90:[1, 88, 33] Operation: 66-33=33 Moving to Node #0,1 Current State: 90:[1, 88, 2], Operations: ['66/33=2'] Exploring Operation: 88+2=90, Resulting Numbers: [1, 90] Generated Node #0,1,0: 90:[1, 90] Operation: 88+2=90 Exploring Operation: 1*88=88, Resulting Numbers: [2, 88] Generated Node #0,1,1: 90:[2, 88] Operation: 1*88=88 Exploring Operation: 1+88=89, Resulting Numbers: [2, 89] Generated Node #0,1,2: 90:[2, 89] Operation: 1+88=89 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[1, 90], Operations: ['66/33=2', '88+2=90'] Exploring Operation: 1*90=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[33, 1, 66, 88], Operations: [] Exploring Operation: 66/33=2, Resulting Numbers: [1, 88, 2] Generated Node #0,1: 90:[1, 88, 2] Operation: 66/33=2 Moving to Node #0,1 Current State: 90:[1, 88, 2], Operations: ['66/33=2'] Exploring Operation: 88+2=90, Resulting Numbers: [1, 90] Generated Node #0,1,0: 90:[1, 90] Operation: 88+2=90 Moving to Node #0,1,0 Current State: 90:[1, 90], Operations: ['66/33=2', '88+2=90'] Exploring Operation: 1*90=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 91, 75, 2, 1 ]
30
[ "91-75=16", "16-1=15", "2*15=30" ]
Current State: 30:[91, 75, 2, 1], Operations: [] Exploring Operation: 91-75=16, Resulting Numbers: [2, 1, 16] Generated Node #2: [2, 1, 16] from Operation: 91-75=16 Current State: 30:[2, 1, 16], Operations: ['91-75=16'] Exploring Operation: 16-1=15, Resulting Numbers: [2, 15] Generated Node #3: [2, 15] from Operation: 16-1=15 Current State: 30:[2, 15], Operations: ['91-75=16', '16-1=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[91, 75, 2, 1], Operations: [] Exploring Operation: 75-2=73, Resulting Numbers: [91, 1, 73] Generated Node #0,0: 30:[91, 1, 73] Operation: 75-2=73 Exploring Operation: 91-1=90, Resulting Numbers: [75, 2, 90] Generated Node #0,1: 30:[75, 2, 90] Operation: 91-1=90 Exploring Operation: 91-2=89, Resulting Numbers: [75, 1, 89] Generated Node #0,2: 30:[75, 1, 89] Operation: 91-2=89 Exploring Operation: 91-75=16, Resulting Numbers: [2, 1, 16] Generated Node #0,3: 30:[2, 1, 16] Operation: 91-75=16 Moving to Node #0,3 Current State: 30:[2, 1, 16], Operations: ['91-75=16'] Exploring Operation: 16-1=15, Resulting Numbers: [2, 15] Generated Node #0,3,0: 30:[2, 15] Operation: 16-1=15 Exploring Operation: 2/1=2, Resulting Numbers: [16, 2] Generated Node #0,3,1: 30:[16, 2] Operation: 2/1=2 Exploring Operation: 2+1=3, Resulting Numbers: [16, 3] Generated Node #0,3,2: 30:[16, 3] Operation: 2+1=3 Exploring Operation: 2*1=2, Resulting Numbers: [16, 2] Generated Node #0,3,3: 30:[16, 2] Operation: 2*1=2 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 30:[2, 15], Operations: ['91-75=16', '16-1=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[91, 75, 2, 1], Operations: [] Exploring Operation: 91-75=16, Resulting Numbers: [2, 1, 16] Generated Node #0,3: 30:[2, 1, 16] Operation: 91-75=16 Moving to Node #0,3 Current State: 30:[2, 1, 16], Operations: ['91-75=16'] Exploring Operation: 16-1=15, Resulting Numbers: [2, 15] Generated Node #0,3,0: 30:[2, 15] Operation: 16-1=15 Moving to Node #0,3,0 Current State: 30:[2, 15], Operations: ['91-75=16', '16-1=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 2, 67, 98, 55 ]
88
[ "67-2=65", "98+55=153", "153-65=88" ]
Current State: 88:[2, 67, 98, 55], Operations: [] Exploring Operation: 67-2=65, Resulting Numbers: [98, 55, 65] Generated Node #2: [98, 55, 65] from Operation: 67-2=65 Current State: 88:[98, 55, 65], Operations: ['67-2=65'] Exploring Operation: 98+55=153, Resulting Numbers: [65, 153] Generated Node #3: [65, 153] from Operation: 98+55=153 Current State: 88:[65, 153], Operations: ['67-2=65', '98+55=153'] Exploring Operation: 153-65=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[2, 67, 98, 55], Operations: [] Exploring Operation: 67-55=12, Resulting Numbers: [2, 98, 12] Generated Node #0,0: 88:[2, 98, 12] Operation: 67-55=12 Exploring Operation: 98-55=43, Resulting Numbers: [2, 67, 43] Generated Node #0,1: 88:[2, 67, 43] Operation: 98-55=43 Exploring Operation: 2+67=69, Resulting Numbers: [98, 55, 69] Generated Node #0,2: 88:[98, 55, 69] Operation: 2+67=69 Exploring Operation: 98-67=31, Resulting Numbers: [2, 55, 31] Generated Node #0,3: 88:[2, 55, 31] Operation: 98-67=31 Exploring Operation: 98/2=49, Resulting Numbers: [67, 55, 49] Generated Node #0,4: 88:[67, 55, 49] Operation: 98/2=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[2, 98, 12], Operations: ['67-55=12'] Exploring Operation: 98-12=86, Resulting Numbers: [2, 86] Generated Node #0,0,0: 88:[2, 86] Operation: 98-12=86 Exploring Operation: 2*12=24, Resulting Numbers: [98, 24] Generated Node #0,0,1: 88:[98, 24] Operation: 2*12=24 Exploring Operation: 12-2=10, Resulting Numbers: [98, 10] Generated Node #0,0,2: 88:[98, 10] Operation: 12-2=10 Exploring Operation: 98/2=49, Resulting Numbers: [12, 49] Generated Node #0,0,3: 88:[12, 49] Operation: 98/2=49 Exploring Operation: 98-2=96, Resulting Numbers: [12, 96] Generated Node #0,0,4: 88:[12, 96] Operation: 98-2=96 Moving to Node #0,0,0 Current State: 88:[2, 86], Operations: ['67-55=12', '98-12=86'] Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,88 unequal: No Solution Exploring Operation: 2+86=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[2, 67, 98, 55], Operations: [] Exploring Operation: 67-55=12, Resulting Numbers: [2, 98, 12] Generated Node #0,0: 88:[2, 98, 12] Operation: 67-55=12 Moving to Node #0,0 Current State: 88:[2, 98, 12], Operations: ['67-55=12'] Exploring Operation: 98-12=86, Resulting Numbers: [2, 86] Generated Node #0,0,0: 88:[2, 86] Operation: 98-12=86 Moving to Node #0,0,0 Current State: 88:[2, 86], Operations: ['67-55=12', '98-12=86'] Exploring Operation: 2+86=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 85, 55, 11, 72 ]
89
[ "85*11=935", "935/55=17", "72+17=89" ]
Current State: 89:[85, 55, 11, 72], Operations: [] Exploring Operation: 85*11=935, Resulting Numbers: [55, 72, 935] Generated Node #2: [55, 72, 935] from Operation: 85*11=935 Current State: 89:[55, 72, 935], Operations: ['85*11=935'] Exploring Operation: 935/55=17, Resulting Numbers: [72, 17] Generated Node #3: [72, 17] from Operation: 935/55=17 Current State: 89:[72, 17], Operations: ['85*11=935', '935/55=17'] Exploring Operation: 72+17=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[85, 55, 11, 72], Operations: [] Exploring Operation: 85+11=96, Resulting Numbers: [55, 72, 96] Generated Node #0,0: 89:[55, 72, 96] Operation: 85+11=96 Exploring Operation: 11+72=83, Resulting Numbers: [85, 55, 83] Generated Node #0,1: 89:[85, 55, 83] Operation: 11+72=83 Exploring Operation: 55+11=66, Resulting Numbers: [85, 72, 66] Generated Node #0,2: 89:[85, 72, 66] Operation: 55+11=66 Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[85, 55, 83], Operations: ['11+72=83'] Exploring Operation: 85+55=140, Resulting Numbers: [83, 140] Generated Node #0,1,0: 89:[83, 140] Operation: 85+55=140 Exploring Operation: 55+83=138, Resulting Numbers: [85, 138] Generated Node #0,1,1: 89:[85, 138] Operation: 55+83=138 Exploring Operation: 85-55=30, Resulting Numbers: [83, 30] Generated Node #0,1,2: 89:[83, 30] Operation: 85-55=30 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 89:[85, 138], Operations: ['11+72=83', '55+83=138'] Exploring Operation: 85*138=11730, Resulting Numbers: [11730] 11730,89 unequal: No Solution Exploring Operation: 85+138=223, Resulting Numbers: [223] 223,89 unequal: No Solution Exploring Operation: 138-85=53, Resulting Numbers: [53] 53,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 89:[83, 140], Operations: ['11+72=83', '85+55=140'] Exploring Operation: 83*140=11620, Resulting Numbers: [11620] 11620,89 unequal: No Solution Exploring Operation: 83+140=223, Resulting Numbers: [223] 223,89 unequal: No Solution Exploring Operation: 140-83=57, Resulting Numbers: [57] 57,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 89:[83, 30], Operations: ['11+72=83', '85-55=30'] Exploring Operation: 83+30=113, Resulting Numbers: [113] 113,89 unequal: No Solution Exploring Operation: 83*30=2490, Resulting Numbers: [2490] 2490,89 unequal: No Solution Exploring Operation: 83-30=53, Resulting Numbers: [53] 53,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[85, 72, 66], Operations: ['55+11=66'] Exploring Operation: 72+66=138, Resulting Numbers: [85, 138] Generated Node #0,2,0: 89:[85, 138] Operation: 72+66=138 Exploring Operation: 85-66=19, Resulting Numbers: [72, 19] Generated Node #0,2,1: 89:[72, 19] Operation: 85-66=19 Exploring Operation: 85+66=151, Resulting Numbers: [72, 151] Generated Node #0,2,2: 89:[72, 151] Operation: 85+66=151 Moving to Node #0,2,0 Current State: 89:[85, 138], Operations: ['55+11=66', '72+66=138'] Exploring Operation: 138-85=53, Resulting Numbers: [53] 53,89 unequal: No Solution Exploring Operation: 85+138=223, Resulting Numbers: [223] 223,89 unequal: No Solution Exploring Operation: 85*138=11730, Resulting Numbers: [11730] 11730,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[72, 151], Operations: ['55+11=66', '85+66=151'] Exploring Operation: 72*151=10872, Resulting Numbers: [10872] 10872,89 unequal: No Solution Exploring Operation: 151-72=79, Resulting Numbers: [79] 79,89 unequal: No Solution Exploring Operation: 72+151=223, Resulting Numbers: [223] 223,89 unequal: No Solution Moving to Node #0,2,1 Current State: 89:[72, 19], Operations: ['55+11=66', '85-66=19'] Exploring Operation: 72*19=1368, Resulting Numbers: [1368] 1368,89 unequal: No Solution Exploring Operation: 72-19=53, Resulting Numbers: [53] 53,89 unequal: No Solution Exploring Operation: 72+19=91, Resulting Numbers: [91] 91,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:[55, 72, 96], Operations: ['85+11=96'] Exploring Operation: 72-55=17, Resulting Numbers: [96, 17] Generated Node #0,0,0: 89:[96, 17] Operation: 72-55=17 Exploring Operation: 55+72=127, Resulting Numbers: [96, 127] Generated Node #0,0,1: 89:[96, 127] Operation: 55+72=127 Exploring Operation: 96-55=41, Resulting Numbers: [72, 41] Generated Node #0,0,2: 89:[72, 41] Operation: 96-55=41 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 89:[96, 127], Operations: ['85+11=96', '55+72=127'] Exploring Operation: 127-96=31, Resulting Numbers: [31] 31,89 unequal: No Solution Exploring Operation: 96+127=223, Resulting Numbers: [223] 223,89 unequal: No Solution Exploring Operation: 96*127=12192, Resulting Numbers: [12192] 12192,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,0,2 Current State: 89:[72, 41], Operations: ['85+11=96', '96-55=41'] Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,89 unequal: No Solution Exploring Operation: 72*41=2952, Resulting Numbers: [2952] 2952,89 unequal: No Solution Exploring Operation: 72+41=113, Resulting Numbers: [113] 113,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,0,0 Current State: 89:[96, 17], Operations: ['85+11=96', '72-55=17'] Exploring Operation: 96-17=79, Resulting Numbers: [79] 79,89 unequal: No Solution Exploring Operation: 96+17=113, Resulting Numbers: [113] 113,89 unequal: No Solution Exploring Operation: 96*17=1632, Resulting Numbers: [1632] 1632,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 57, 59, 10, 79 ]
55
[ "79-59=20", "20/10=2", "57-2=55" ]
Current State: 55:[57, 59, 10, 79], Operations: [] Exploring Operation: 79-59=20, Resulting Numbers: [57, 10, 20] Generated Node #2: [57, 10, 20] from Operation: 79-59=20 Current State: 55:[57, 10, 20], Operations: ['79-59=20'] Exploring Operation: 20/10=2, Resulting Numbers: [57, 2] Generated Node #3: [57, 2] from Operation: 20/10=2 Current State: 55:[57, 2], Operations: ['79-59=20', '20/10=2'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[57, 59, 10, 79], Operations: [] Exploring Operation: 79-57=22, Resulting Numbers: [59, 10, 22] Generated Node #0,0: 55:[59, 10, 22] Operation: 79-57=22 Exploring Operation: 59-57=2, Resulting Numbers: [10, 79, 2] Generated Node #0,1: 55:[10, 79, 2] Operation: 59-57=2 Exploring Operation: 59-10=49, Resulting Numbers: [57, 79, 49] Generated Node #0,2: 55:[57, 79, 49] Operation: 59-10=49 Exploring Operation: 79-59=20, Resulting Numbers: [57, 10, 20] Generated Node #0,3: 55:[57, 10, 20] Operation: 79-59=20 Exploring Operation: 79-10=69, Resulting Numbers: [57, 59, 69] Generated Node #0,4: 55:[57, 59, 69] Operation: 79-10=69 Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[57, 10, 20], Operations: ['79-59=20'] Exploring Operation: 57+10=67, Resulting Numbers: [20, 67] Generated Node #0,3,0: 55:[20, 67] Operation: 57+10=67 Exploring Operation: 57-10=47, Resulting Numbers: [20, 47] Generated Node #0,3,1: 55:[20, 47] Operation: 57-10=47 Exploring Operation: 20/10=2, Resulting Numbers: [57, 2] Generated Node #0,3,2: 55:[57, 2] Operation: 20/10=2 Exploring Operation: 20-10=10, Resulting Numbers: [57, 10] Generated Node #0,3,3: 55:[57, 10] Operation: 20-10=10 Exploring Operation: 57-20=37, Resulting Numbers: [10, 37] Generated Node #0,3,4: 55:[10, 37] Operation: 57-20=37 Moving to Node #0,3,3 Current State: 55:[57, 10], Operations: ['79-59=20', '20-10=10'] Exploring Operation: 57*10=570, Resulting Numbers: [570] 570,55 unequal: No Solution Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,55 unequal: No Solution Exploring Operation: 57+10=67, Resulting Numbers: [67] 67,55 unequal: No Solution Moving to Node #0,3,2 Current State: 55:[57, 2], Operations: ['79-59=20', '20/10=2'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[57, 59, 10, 79], Operations: [] Exploring Operation: 79-59=20, Resulting Numbers: [57, 10, 20] Generated Node #0,3: 55:[57, 10, 20] Operation: 79-59=20 Moving to Node #0,3 Current State: 55:[57, 10, 20], Operations: ['79-59=20'] Exploring Operation: 20/10=2, Resulting Numbers: [57, 2] Generated Node #0,3,2: 55:[57, 2] Operation: 20/10=2 Moving to Node #0,3,2 Current State: 55:[57, 2], Operations: ['79-59=20', '20/10=2'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 24, 28, 1, 4 ]
84
[ "28-1=27", "4*27=108", "108-24=84" ]
Current State: 84:[24, 28, 1, 4], Operations: [] Exploring Operation: 28-1=27, Resulting Numbers: [24, 4, 27] Generated Node #2: [24, 4, 27] from Operation: 28-1=27 Current State: 84:[24, 4, 27], Operations: ['28-1=27'] Exploring Operation: 4*27=108, Resulting Numbers: [24, 108] Generated Node #3: [24, 108] from Operation: 4*27=108 Current State: 84:[24, 108], Operations: ['28-1=27', '4*27=108'] Exploring Operation: 108-24=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[24, 28, 1, 4], Operations: [] Exploring Operation: 24/4=6, Resulting Numbers: [28, 1, 6] Generated Node #0,0: 84:[28, 1, 6] Operation: 24/4=6 Exploring Operation: 24+4=28, Resulting Numbers: [28, 1, 28] Generated Node #0,1: 84:[28, 1, 28] Operation: 24+4=28 Exploring Operation: 28-24=4, Resulting Numbers: [1, 4, 4] Generated Node #0,2: 84:[1, 4, 4] Operation: 28-24=4 Exploring Operation: 24-1=23, Resulting Numbers: [28, 4, 23] Generated Node #0,3: 84:[28, 4, 23] Operation: 24-1=23 Moving to Node #0,0 Current State: 84:[28, 1, 6], Operations: ['24/4=6'] Exploring Operation: 28/1=28, Resulting Numbers: [6, 28] Generated Node #0,0,0: 84:[6, 28] Operation: 28/1=28 Exploring Operation: 28*1=28, Resulting Numbers: [6, 28] Generated Node #0,0,1: 84:[6, 28] Operation: 28*1=28 Exploring Operation: 1*6=6, Resulting Numbers: [28, 6] Generated Node #0,0,2: 84:[28, 6] Operation: 1*6=6 Exploring Operation: 1+6=7, Resulting Numbers: [28, 7] Generated Node #0,0,3: 84:[28, 7] Operation: 1+6=7 Moving to Node #0,2 Current State: 84:[1, 4, 4], Operations: ['28-24=4'] Exploring Operation: 4-1=3, Resulting Numbers: [4, 3] Generated Node #0,2,0: 84:[4, 3] Operation: 4-1=3 Exploring Operation: 1*4=4, Resulting Numbers: [4, 4] Generated Node #0,2,1: 84:[4, 4] Operation: 1*4=4 Exploring Operation: 1*4=4, Resulting Numbers: [4, 4] Generated Node #0,2,2: 84:[4, 4] Operation: 1*4=4 Exploring Operation: 4/1=4, Resulting Numbers: [4, 4] Generated Node #0,2,3: 84:[4, 4] Operation: 4/1=4 Moving to Node #0,1 Current State: 84:[28, 1, 28], Operations: ['24+4=28'] Exploring Operation: 28*1=28, Resulting Numbers: [28, 28] Generated Node #0,1,0: 84:[28, 28] Operation: 28*1=28 Exploring Operation: 1*28=28, Resulting Numbers: [28, 28] Generated Node #0,1,1: 84:[28, 28] Operation: 1*28=28 Exploring Operation: 28/1=28, Resulting Numbers: [28, 28] Generated Node #0,1,2: 84:[28, 28] Operation: 28/1=28 Exploring Operation: 28/1=28, Resulting Numbers: [28, 28] Generated Node #0,1,3: 84:[28, 28] Operation: 28/1=28 Moving to Node #0,3 Current State: 84:[28, 4, 23], Operations: ['24-1=23'] Exploring Operation: 28/4=7, Resulting Numbers: [23, 7] Generated Node #0,3,0: 84:[23, 7] Operation: 28/4=7 Exploring Operation: 28-23=5, Resulting Numbers: [4, 5] Generated Node #0,3,1: 84:[4, 5] Operation: 28-23=5 Exploring Operation: 23-4=19, Resulting Numbers: [28, 19] Generated Node #0,3,2: 84:[28, 19] Operation: 23-4=19 Exploring Operation: 4+23=27, Resulting Numbers: [28, 27] Generated Node #0,3,3: 84:[28, 27] Operation: 4+23=27 Moving to Node #0,0,0 Current State: 84:[6, 28], Operations: ['24/4=6', '28/1=28'] Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,84 unequal: No Solution Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,84 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,84 unequal: No Solution Moving to Node #0,0,2 Current State: 84:[28, 6], Operations: ['24/4=6', '1*6=6'] Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,84 unequal: No Solution Exploring Operation: 28*6=168, Resulting Numbers: [168] 168,84 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,84 unequal: No Solution Moving to Node #0,2,2 Current State: 84:[4, 4], Operations: ['28-24=4', '1*4=4'] Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,84 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,84 unequal: No Solution Moving to Node #0,2,1 Current State: 84:[4, 4], Operations: ['28-24=4', '1*4=4'] Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,84 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,84 unequal: No Solution Moving to Node #0,1,3 Current State: 84:[28, 28], Operations: ['24+4=28', '28/1=28'] Exploring Operation: 28*28=784, Resulting Numbers: [784] 784,84 unequal: No Solution Exploring Operation: 28-28=0, Resulting Numbers: [0] 0,84 unequal: No Solution Exploring Operation: 28/28=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 28+28=56, Resulting Numbers: [56] 56,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[6, 28], Operations: ['24/4=6', '28*1=28'] Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,84 unequal: No Solution Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,84 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,84 unequal: No Solution Moving to Node #0,2,0 Current State: 84:[4, 3], Operations: ['28-24=4', '4-1=3'] Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,84 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[28, 28], Operations: ['24+4=28', '28/1=28'] Exploring Operation: 28+28=56, Resulting Numbers: [56] 56,84 unequal: No Solution Exploring Operation: 28*28=784, Resulting Numbers: [784] 784,84 unequal: No Solution Exploring Operation: 28-28=0, Resulting Numbers: [0] 0,84 unequal: No Solution Exploring Operation: 28/28=1, Resulting Numbers: [1] 1,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[28, 28], Operations: ['24+4=28', '1*28=28'] Exploring Operation: 28/28=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 28+28=56, Resulting Numbers: [56] 56,84 unequal: No Solution Exploring Operation: 28*28=784, Resulting Numbers: [784] 784,84 unequal: No Solution Exploring Operation: 28-28=0, Resulting Numbers: [0] 0,84 unequal: No Solution Moving to Node #0,0,3 Current State: 84:[28, 7], Operations: ['24/4=6', '1+6=7'] Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,84 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,84 unequal: No Solution Exploring Operation: 28*7=196, Resulting Numbers: [196] 196,84 unequal: No Solution Moving to Node #0,2,3 Current State: 84:[4, 4], Operations: ['28-24=4', '4/1=4'] Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,84 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[28, 28], Operations: ['24+4=28', '28*1=28'] Exploring Operation: 28/28=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 28*28=784, Resulting Numbers: [784] 784,84 unequal: No Solution Exploring Operation: 28-28=0, Resulting Numbers: [0] 0,84 unequal: No Solution Exploring Operation: 28+28=56, Resulting Numbers: [56] 56,84 unequal: No Solution Moving to Node #0,3,3 Current State: 84:[28, 27], Operations: ['24-1=23', '4+23=27'] Exploring Operation: 28*27=756, Resulting Numbers: [756] 756,84 unequal: No Solution Exploring Operation: 28+27=55, Resulting Numbers: [55] 55,84 unequal: No Solution Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,84 unequal: No Solution Moving to Node #0,3,1 Current State: 84:[4, 5], Operations: ['24-1=23', '28-23=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,84 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,84 unequal: No Solution Moving to Node #0,3,2 Current State: 84:[28, 19], Operations: ['24-1=23', '23-4=19'] Exploring Operation: 28*19=532, Resulting Numbers: [532] 532,84 unequal: No Solution Exploring Operation: 28+19=47, Resulting Numbers: [47] 47,84 unequal: No Solution Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,84 unequal: No Solution Moving to Node #0,3,0 Current State: 84:[23, 7], Operations: ['24-1=23', '28/4=7'] Exploring Operation: 23+7=30, Resulting Numbers: [30] 30,84 unequal: No Solution Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,84 unequal: No Solution Exploring Operation: 23*7=161, Resulting Numbers: [161] 161,84 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 26, 76, 28, 45 ]
32
[ "45-26=19", "76/19=4", "28+4=32" ]
Current State: 32:[26, 76, 28, 45], Operations: [] Exploring Operation: 45-26=19, Resulting Numbers: [76, 28, 19] Generated Node #2: [76, 28, 19] from Operation: 45-26=19 Current State: 32:[76, 28, 19], Operations: ['45-26=19'] Exploring Operation: 76/19=4, Resulting Numbers: [28, 4] Generated Node #3: [28, 4] from Operation: 76/19=4 Current State: 32:[28, 4], Operations: ['45-26=19', '76/19=4'] Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[26, 76, 28, 45], Operations: [] Exploring Operation: 76-45=31, Resulting Numbers: [26, 28, 31] Generated Node #0,0: 32:[26, 28, 31] Operation: 76-45=31 Moving to Node #0,0 Current State: 32:[26, 28, 31], Operations: ['76-45=31'] Exploring Operation: 28-26=2, Resulting Numbers: [31, 2] Generated Node #0,0,0: 32:[31, 2] Operation: 28-26=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[31, 2], Operations: ['76-45=31', '28-26=2'] Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,32 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, 41, 25, 41 ]
29
[ "78-41=37", "25+41=66", "66-37=29" ]
Current State: 29:[78, 41, 25, 41], Operations: [] Exploring Operation: 78-41=37, Resulting Numbers: [25, 37] Generated Node #2: [25, 37] from Operation: 78-41=37 Current State: 29:[25, 37], Operations: ['78-41=37'] Exploring Operation: 25+41=66, Resulting Numbers: [37, 66] Generated Node #3: [37, 66] from Operation: 25+41=66 Current State: 29:[37, 66], Operations: ['78-41=37', '25+41=66'] Exploring Operation: 66-37=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[78, 41, 25, 41], Operations: [] Exploring Operation: 78-41=37, Resulting Numbers: [25, 41, 37] Generated Node #0,0: 29:[25, 41, 37] Operation: 78-41=37 Moving to Node #0,0 Current State: 29:[25, 41, 37], Operations: ['78-41=37'] Exploring Operation: 41-25=16, Resulting Numbers: [37, 16] Generated Node #0,0,0: 29:[37, 16] Operation: 41-25=16 Moving to Node #0,0,0 Current State: 29:[37, 16], Operations: ['78-41=37', '41-25=16'] Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,29 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 88, 8, 24, 9 ]
94
[ "88+9=97", "24/8=3", "97-3=94" ]
Current State: 94:[88, 8, 24, 9], Operations: [] Exploring Operation: 88+9=97, Resulting Numbers: [8, 24, 97] Generated Node #2: [8, 24, 97] from Operation: 88+9=97 Current State: 94:[8, 24, 97], Operations: ['88+9=97'] Exploring Operation: 24/8=3, Resulting Numbers: [97, 3] Generated Node #3: [97, 3] from Operation: 24/8=3 Current State: 94:[97, 3], Operations: ['88+9=97', '24/8=3'] Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[88, 8, 24, 9], Operations: [] Exploring Operation: 24/8=3, Resulting Numbers: [88, 9, 3] Generated Node #0,0: 94:[88, 9, 3] Operation: 24/8=3 Exploring Operation: 24-9=15, Resulting Numbers: [88, 8, 15] Generated Node #0,1: 94:[88, 8, 15] Operation: 24-9=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[88, 9, 3], Operations: ['24/8=3'] Exploring Operation: 9/3=3, Resulting Numbers: [88, 3] Generated Node #0,0,0: 94:[88, 3] Operation: 9/3=3 Exploring Operation: 88+9=97, Resulting Numbers: [3, 97] Generated Node #0,0,1: 94:[3, 97] Operation: 88+9=97 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 94:[3, 97], Operations: ['24/8=3', '88+9=97'] Exploring Operation: 3+97=100, Resulting Numbers: [100] 100,94 unequal: No Solution Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[88, 8, 24, 9], Operations: [] Exploring Operation: 24/8=3, Resulting Numbers: [88, 9, 3] Generated Node #0,0: 94:[88, 9, 3] Operation: 24/8=3 Moving to Node #0,0 Current State: 94:[88, 9, 3], Operations: ['24/8=3'] Exploring Operation: 88+9=97, Resulting Numbers: [3, 97] Generated Node #0,0,1: 94:[3, 97] Operation: 88+9=97 Moving to Node #0,0,1 Current State: 94:[3, 97], Operations: ['24/8=3', '88+9=97'] Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 57, 19, 79, 99 ]
18
[ "57-19=38", "99-79=20", "38-20=18" ]
Current State: 18:[57, 19, 79, 99], Operations: [] Exploring Operation: 57-19=38, Resulting Numbers: [79, 99, 38] Generated Node #2: [79, 99, 38] from Operation: 57-19=38 Current State: 18:[79, 99, 38], Operations: ['57-19=38'] Exploring Operation: 99-79=20, Resulting Numbers: [38, 20] Generated Node #3: [38, 20] from Operation: 99-79=20 Current State: 18:[38, 20], Operations: ['57-19=38', '99-79=20'] Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[57, 19, 79, 99], Operations: [] Exploring Operation: 57/19=3, Resulting Numbers: [79, 99, 3] Generated Node #0,0: 18:[79, 99, 3] Operation: 57/19=3 Exploring Operation: 57-19=38, Resulting Numbers: [79, 99, 38] Generated Node #0,1: 18:[79, 99, 38] Operation: 57-19=38 Exploring Operation: 99-57=42, Resulting Numbers: [19, 79, 42] Generated Node #0,2: 18:[19, 79, 42] Operation: 99-57=42 Exploring Operation: 99-79=20, Resulting Numbers: [57, 19, 20] Generated Node #0,3: 18:[57, 19, 20] Operation: 99-79=20 Exploring Operation: 79-57=22, Resulting Numbers: [19, 99, 22] Generated Node #0,4: 18:[19, 99, 22] Operation: 79-57=22 Start Sub Search at level 1: Moving to Node #0,3 Current State: 18:[57, 19, 20], Operations: ['99-79=20'] Exploring Operation: 57-20=37, Resulting Numbers: [19, 37] Generated Node #0,3,0: 18:[19, 37] Operation: 57-20=37 Exploring Operation: 57/19=3, Resulting Numbers: [20, 3] Generated Node #0,3,1: 18:[20, 3] Operation: 57/19=3 Exploring Operation: 20-19=1, Resulting Numbers: [57, 1] Generated Node #0,3,2: 18:[57, 1] Operation: 20-19=1 Exploring Operation: 57+19=76, Resulting Numbers: [20, 76] Generated Node #0,3,3: 18:[20, 76] Operation: 57+19=76 Exploring Operation: 57-19=38, Resulting Numbers: [20, 38] Generated Node #0,3,4: 18:[20, 38] Operation: 57-19=38 Moving to Node #0,3,1 Current State: 18:[20, 3], Operations: ['99-79=20', '57/19=3'] Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,18 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,18 unequal: No Solution Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,18 unequal: No Solution Moving to Node #0,3,0 Current State: 18:[19, 37], Operations: ['99-79=20', '57-20=37'] Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[57, 19, 79, 99], Operations: [] Exploring Operation: 99-79=20, Resulting Numbers: [57, 19, 20] Generated Node #0,3: 18:[57, 19, 20] Operation: 99-79=20 Moving to Node #0,3 Current State: 18:[57, 19, 20], Operations: ['99-79=20'] Exploring Operation: 57-20=37, Resulting Numbers: [19, 37] Generated Node #0,3,0: 18:[19, 37] Operation: 57-20=37 Moving to Node #0,3,0 Current State: 18:[19, 37], Operations: ['99-79=20', '57-20=37'] Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 65, 58, 26, 92 ]
90
[ "65-58=7", "26*7=182", "182-92=90" ]
Current State: 90:[65, 58, 26, 92], Operations: [] Exploring Operation: 65-58=7, Resulting Numbers: [26, 92, 7] Generated Node #2: [26, 92, 7] from Operation: 65-58=7 Current State: 90:[26, 92, 7], Operations: ['65-58=7'] Exploring Operation: 26*7=182, Resulting Numbers: [92, 182] Generated Node #3: [92, 182] from Operation: 26*7=182 Current State: 90:[92, 182], Operations: ['65-58=7', '26*7=182'] Exploring Operation: 182-92=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[65, 58, 26, 92], Operations: [] Exploring Operation: 92-65=27, Resulting Numbers: [58, 26, 27] Generated Node #0,0: 90:[58, 26, 27] Operation: 92-65=27 Exploring Operation: 65+26=91, Resulting Numbers: [58, 92, 91] Generated Node #0,1: 90:[58, 92, 91] Operation: 65+26=91 Exploring Operation: 65-58=7, Resulting Numbers: [26, 92, 7] Generated Node #0,2: 90:[26, 92, 7] Operation: 65-58=7 Exploring Operation: 65-26=39, Resulting Numbers: [58, 92, 39] Generated Node #0,3: 90:[58, 92, 39] Operation: 65-26=39 Moving to Node #0,2 Current State: 90:[26, 92, 7], Operations: ['65-58=7'] Exploring Operation: 26-7=19, Resulting Numbers: [92, 19] Generated Node #0,2,0: 90:[92, 19] Operation: 26-7=19 Exploring Operation: 92+7=99, Resulting Numbers: [26, 99] Generated Node #0,2,1: 90:[26, 99] Operation: 92+7=99 Exploring Operation: 92-7=85, Resulting Numbers: [26, 85] Generated Node #0,2,2: 90:[26, 85] Operation: 92-7=85 Exploring Operation: 26+7=33, Resulting Numbers: [92, 33] Generated Node #0,2,3: 90:[92, 33] Operation: 26+7=33 Moving to Node #0,1 Current State: 90:[58, 92, 91], Operations: ['65+26=91'] Exploring Operation: 92-91=1, Resulting Numbers: [58, 1] Generated Node #0,1,0: 90:[58, 1] Operation: 92-91=1 Exploring Operation: 91-58=33, Resulting Numbers: [92, 33] Generated Node #0,1,1: 90:[92, 33] Operation: 91-58=33 Exploring Operation: 58+92=150, Resulting Numbers: [91, 150] Generated Node #0,1,2: 90:[91, 150] Operation: 58+92=150 Exploring Operation: 92-58=34, Resulting Numbers: [91, 34] Generated Node #0,1,3: 90:[91, 34] Operation: 92-58=34 Moving to Node #0,0 Current State: 90:[58, 26, 27], Operations: ['92-65=27'] Exploring Operation: 58+27=85, Resulting Numbers: [26, 85] Generated Node #0,0,0: 90:[26, 85] Operation: 58+27=85 Exploring Operation: 58-27=31, Resulting Numbers: [26, 31] Generated Node #0,0,1: 90:[26, 31] Operation: 58-27=31 Exploring Operation: 58-26=32, Resulting Numbers: [27, 32] Generated Node #0,0,2: 90:[27, 32] Operation: 58-26=32 Exploring Operation: 58+26=84, Resulting Numbers: [27, 84] Generated Node #0,0,3: 90:[27, 84] Operation: 58+26=84 Moving to Node #0,3 Current State: 90:[58, 92, 39], Operations: ['65-26=39'] Exploring Operation: 58-39=19, Resulting Numbers: [92, 19] Generated Node #0,3,0: 90:[92, 19] Operation: 58-39=19 Exploring Operation: 92-39=53, Resulting Numbers: [58, 53] Generated Node #0,3,1: 90:[58, 53] Operation: 92-39=53 Exploring Operation: 92-58=34, Resulting Numbers: [39, 34] Generated Node #0,3,2: 90:[39, 34] Operation: 92-58=34 Exploring Operation: 58+39=97, Resulting Numbers: [92, 97] Generated Node #0,3,3: 90:[92, 97] Operation: 58+39=97 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 90:[92, 19], Operations: ['65-26=39', '58-39=19'] Exploring Operation: 92+19=111, Resulting Numbers: [111] 111,90 unequal: No Solution Exploring Operation: 92-19=73, Resulting Numbers: [73] 73,90 unequal: No Solution Exploring Operation: 92*19=1748, Resulting Numbers: [1748] 1748,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 90:[92, 97], Operations: ['65-26=39', '58+39=97'] Exploring Operation: 92*97=8924, Resulting Numbers: [8924] 8924,90 unequal: No Solution Exploring Operation: 92+97=189, Resulting Numbers: [189] 189,90 unequal: No Solution Exploring Operation: 97-92=5, Resulting Numbers: [5] 5,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 90:[39, 34], Operations: ['65-26=39', '92-58=34'] Exploring Operation: 39+34=73, Resulting Numbers: [73] 73,90 unequal: No Solution Exploring Operation: 39*34=1326, Resulting Numbers: [1326] 1326,90 unequal: No Solution Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 90:[58, 53], Operations: ['65-26=39', '92-39=53'] Exploring Operation: 58+53=111, Resulting Numbers: [111] 111,90 unequal: No Solution Exploring Operation: 58*53=3074, Resulting Numbers: [3074] 3074,90 unequal: No Solution Exploring Operation: 58-53=5, Resulting Numbers: [5] 5,90 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: 90:[92, 19], Operations: ['65-58=7', '26-7=19'] Exploring Operation: 92*19=1748, Resulting Numbers: [1748] 1748,90 unequal: No Solution Exploring Operation: 92+19=111, Resulting Numbers: [111] 111,90 unequal: No Solution Exploring Operation: 92-19=73, Resulting Numbers: [73] 73,90 unequal: No Solution Moving to Node #0,1,3 Current State: 90:[91, 34], Operations: ['65+26=91', '92-58=34'] Exploring Operation: 91+34=125, Resulting Numbers: [125] 125,90 unequal: No Solution Exploring Operation: 91-34=57, Resulting Numbers: [57] 57,90 unequal: No Solution Exploring Operation: 91*34=3094, Resulting Numbers: [3094] 3094,90 unequal: No Solution Moving to Node #0,2,3 Current State: 90:[92, 33], Operations: ['65-58=7', '26+7=33'] Exploring Operation: 92*33=3036, Resulting Numbers: [3036] 3036,90 unequal: No Solution Exploring Operation: 92-33=59, Resulting Numbers: [59] 59,90 unequal: No Solution Exploring Operation: 92+33=125, Resulting Numbers: [125] 125,90 unequal: No Solution Moving to Node #0,1,1 Current State: 90:[92, 33], Operations: ['65+26=91', '91-58=33'] Exploring Operation: 92+33=125, Resulting Numbers: [125] 125,90 unequal: No Solution Exploring Operation: 92*33=3036, Resulting Numbers: [3036] 3036,90 unequal: No Solution Exploring Operation: 92-33=59, Resulting Numbers: [59] 59,90 unequal: No Solution Moving to Node #0,0,2 Current State: 90:[27, 32], Operations: ['92-65=27', '58-26=32'] Exploring Operation: 27+32=59, Resulting Numbers: [59] 59,90 unequal: No Solution Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 27*32=864, Resulting Numbers: [864] 864,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[26, 31], Operations: ['92-65=27', '58-27=31'] Exploring Operation: 31-26=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 26*31=806, Resulting Numbers: [806] 806,90 unequal: No Solution Exploring Operation: 26+31=57, Resulting Numbers: [57] 57,90 unequal: No Solution Moving to Node #0,2,2 Current State: 90:[26, 85], Operations: ['65-58=7', '92-7=85'] Exploring Operation: 26*85=2210, Resulting Numbers: [2210] 2210,90 unequal: No Solution Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,90 unequal: No Solution Exploring Operation: 26+85=111, Resulting Numbers: [111] 111,90 unequal: No Solution Moving to Node #0,0,3 Current State: 90:[27, 84], Operations: ['92-65=27', '58+26=84'] Exploring Operation: 84-27=57, Resulting Numbers: [57] 57,90 unequal: No Solution Exploring Operation: 27*84=2268, Resulting Numbers: [2268] 2268,90 unequal: No Solution Exploring Operation: 27+84=111, Resulting Numbers: [111] 111,90 unequal: No Solution Moving to Node #0,0,0 Current State: 90:[26, 85], Operations: ['92-65=27', '58+27=85'] Exploring Operation: 26*85=2210, Resulting Numbers: [2210] 2210,90 unequal: No Solution Exploring Operation: 26+85=111, Resulting Numbers: [111] 111,90 unequal: No Solution Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,90 unequal: No Solution Moving to Node #0,2,1 Current State: 90:[26, 99], Operations: ['65-58=7', '92+7=99'] Exploring Operation: 99-26=73, Resulting Numbers: [73] 73,90 unequal: No Solution Exploring Operation: 26*99=2574, Resulting Numbers: [2574] 2574,90 unequal: No Solution Exploring Operation: 26+99=125, Resulting Numbers: [125] 125,90 unequal: No Solution Moving to Node #0,1,0 Current State: 90:[58, 1], Operations: ['65+26=91', '92-91=1'] Exploring Operation: 58+1=59, Resulting Numbers: [59] 59,90 unequal: No Solution Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,90 unequal: No Solution Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,90 unequal: No Solution Exploring Operation: 58*1=58, Resulting Numbers: [58] 58,90 unequal: No Solution Moving to Node #0,1,2 Current State: 90:[91, 150], Operations: ['65+26=91', '58+92=150'] Exploring Operation: 91+150=241, Resulting Numbers: [241] 241,90 unequal: No Solution Exploring Operation: 150-91=59, Resulting Numbers: [59] 59,90 unequal: No Solution Exploring Operation: 91*150=13650, Resulting Numbers: [13650] 13650,90 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 12, 41, 88, 77 ]
18
[ "41-12=29", "88-77=11", "29-11=18" ]
Current State: 18:[12, 41, 88, 77], Operations: [] Exploring Operation: 41-12=29, Resulting Numbers: [88, 77, 29] Generated Node #2: [88, 77, 29] from Operation: 41-12=29 Current State: 18:[88, 77, 29], Operations: ['41-12=29'] Exploring Operation: 88-77=11, Resulting Numbers: [29, 11] Generated Node #3: [29, 11] from Operation: 88-77=11 Current State: 18:[29, 11], Operations: ['41-12=29', '88-77=11'] Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[12, 41, 88, 77], Operations: [] Exploring Operation: 77-41=36, Resulting Numbers: [12, 88, 36] Generated Node #0,0: 18:[12, 88, 36] Operation: 77-41=36 Exploring Operation: 88-77=11, Resulting Numbers: [12, 41, 11] Generated Node #0,1: 18:[12, 41, 11] Operation: 88-77=11 Exploring Operation: 88-41=47, Resulting Numbers: [12, 77, 47] Generated Node #0,2: 18:[12, 77, 47] Operation: 88-41=47 Exploring Operation: 41-12=29, Resulting Numbers: [88, 77, 29] Generated Node #0,3: 18:[88, 77, 29] Operation: 41-12=29 Exploring Operation: 88-12=76, Resulting Numbers: [41, 77, 76] Generated Node #0,4: 18:[41, 77, 76] Operation: 88-12=76 Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[12, 41, 11], Operations: ['88-77=11'] Exploring Operation: 12-11=1, Resulting Numbers: [41, 1] Generated Node #0,1,0: 18:[41, 1] Operation: 12-11=1 Exploring Operation: 41-12=29, Resulting Numbers: [11, 29] Generated Node #0,1,1: 18:[11, 29] Operation: 41-12=29 Exploring Operation: 12+11=23, Resulting Numbers: [41, 23] Generated Node #0,1,2: 18:[41, 23] Operation: 12+11=23 Exploring Operation: 12+41=53, Resulting Numbers: [11, 53] Generated Node #0,1,3: 18:[11, 53] Operation: 12+41=53 Exploring Operation: 41-11=30, Resulting Numbers: [12, 30] Generated Node #0,1,4: 18:[12, 30] Operation: 41-11=30 Moving to Node #0,1,1 Current State: 18:[11, 29], Operations: ['88-77=11', '41-12=29'] Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[12, 41, 88, 77], Operations: [] Exploring Operation: 88-77=11, Resulting Numbers: [12, 41, 11] Generated Node #0,1: 18:[12, 41, 11] Operation: 88-77=11 Moving to Node #0,1 Current State: 18:[12, 41, 11], Operations: ['88-77=11'] Exploring Operation: 41-12=29, Resulting Numbers: [11, 29] Generated Node #0,1,1: 18:[11, 29] Operation: 41-12=29 Moving to Node #0,1,1 Current State: 18:[11, 29], Operations: ['88-77=11', '41-12=29'] Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 80, 70, 56, 56 ]
30
[ "80-56=24", "70*24=1680", "1680/56=30" ]
Current State: 30:[80, 70, 56, 56], Operations: [] Exploring Operation: 80-56=24, Resulting Numbers: [70, 24] Generated Node #2: [70, 24] from Operation: 80-56=24 Current State: 30:[70, 24], Operations: ['80-56=24'] Exploring Operation: 70*24=1680, Resulting Numbers: [1680] 1680,30 equal: Goal Reached Exploring Operation: 1680/56=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[80, 70, 56, 56], Operations: [] Exploring Operation: 80-70=10, Resulting Numbers: [56, 56, 10] Generated Node #0,0: 30:[56, 56, 10] Operation: 80-70=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[56, 56, 10], Operations: ['80-70=10'] Exploring Operation: 56/56=1, Resulting Numbers: [10, 1] Generated Node #0,0,0: 30:[10, 1] Operation: 56/56=1 Moving to Node #0,0,0 Current State: 30:[10, 1], Operations: ['80-70=10', '56/56=1'] Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,30 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
[ 41, 13, 11, 96 ]
92
[ "41+11=52", "52/13=4", "96-4=92" ]
Current State: 92:[41, 13, 11, 96], Operations: [] Exploring Operation: 41+11=52, Resulting Numbers: [13, 96, 52] Generated Node #2: [13, 96, 52] from Operation: 41+11=52 Current State: 92:[13, 96, 52], Operations: ['41+11=52'] Exploring Operation: 52/13=4, Resulting Numbers: [96, 4] Generated Node #3: [96, 4] from Operation: 52/13=4 Current State: 92:[96, 4], Operations: ['41+11=52', '52/13=4'] Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[41, 13, 11, 96], Operations: [] Exploring Operation: 13-11=2, Resulting Numbers: [41, 96, 2] Generated Node #0,0: 92:[41, 96, 2] Operation: 13-11=2 Exploring Operation: 13+11=24, Resulting Numbers: [41, 96, 24] Generated Node #0,1: 92:[41, 96, 24] Operation: 13+11=24 Exploring Operation: 41-13=28, Resulting Numbers: [11, 96, 28] Generated Node #0,2: 92:[11, 96, 28] Operation: 41-13=28 Exploring Operation: 41+11=52, Resulting Numbers: [13, 96, 52] Generated Node #0,3: 92:[13, 96, 52] Operation: 41+11=52 Exploring Operation: 41+13=54, Resulting Numbers: [11, 96, 54] Generated Node #0,4: 92:[11, 96, 54] Operation: 41+13=54 Moving to Node #0,0 Current State: 92:[41, 96, 2], Operations: ['13-11=2'] Exploring Operation: 41-2=39, Resulting Numbers: [96, 39] Generated Node #0,0,0: 92:[96, 39] Operation: 41-2=39 Exploring Operation: 41+2=43, Resulting Numbers: [96, 43] Generated Node #0,0,1: 92:[96, 43] Operation: 41+2=43 Exploring Operation: 96/2=48, Resulting Numbers: [41, 48] Generated Node #0,0,2: 92:[41, 48] Operation: 96/2=48 Exploring Operation: 96-41=55, Resulting Numbers: [2, 55] Generated Node #0,0,3: 92:[2, 55] Operation: 96-41=55 Exploring Operation: 96-2=94, Resulting Numbers: [41, 94] Generated Node #0,0,4: 92:[41, 94] Operation: 96-2=94 Moving to Node #0,1 Current State: 92:[41, 96, 24], Operations: ['13+11=24'] Exploring Operation: 41-24=17, Resulting Numbers: [96, 17] Generated Node #0,1,0: 92:[96, 17] Operation: 41-24=17 Exploring Operation: 41+24=65, Resulting Numbers: [96, 65] Generated Node #0,1,1: 92:[96, 65] Operation: 41+24=65 Exploring Operation: 96-41=55, Resulting Numbers: [24, 55] Generated Node #0,1,2: 92:[24, 55] Operation: 96-41=55 Exploring Operation: 96/24=4, Resulting Numbers: [41, 4] Generated Node #0,1,3: 92:[41, 4] Operation: 96/24=4 Exploring Operation: 96-24=72, Resulting Numbers: [41, 72] Generated Node #0,1,4: 92:[41, 72] Operation: 96-24=72 Moving to Node #0,2 Current State: 92:[11, 96, 28], Operations: ['41-13=28'] Exploring Operation: 28-11=17, Resulting Numbers: [96, 17] Generated Node #0,2,0: 92:[96, 17] Operation: 28-11=17 Exploring Operation: 96-11=85, Resulting Numbers: [28, 85] Generated Node #0,2,1: 92:[28, 85] Operation: 96-11=85 Exploring Operation: 11+96=107, Resulting Numbers: [28, 107] Generated Node #0,2,2: 92:[28, 107] Operation: 11+96=107 Exploring Operation: 96-28=68, Resulting Numbers: [11, 68] Generated Node #0,2,3: 92:[11, 68] Operation: 96-28=68 Exploring Operation: 11+28=39, Resulting Numbers: [96, 39] Generated Node #0,2,4: 92:[96, 39] Operation: 11+28=39 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 92:[96, 17], Operations: ['41-13=28', '28-11=17'] Exploring Operation: 96+17=113, Resulting Numbers: [113] 113,92 unequal: No Solution Exploring Operation: 96-17=79, Resulting Numbers: [79] 79,92 unequal: No Solution Exploring Operation: 96*17=1632, Resulting Numbers: [1632] 1632,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,2,4 Current State: 92:[96, 39], Operations: ['41-13=28', '11+28=39'] Exploring Operation: 96*39=3744, Resulting Numbers: [3744] 3744,92 unequal: No Solution Exploring Operation: 96+39=135, Resulting Numbers: [135] 135,92 unequal: No Solution Exploring Operation: 96-39=57, Resulting Numbers: [57] 57,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,2,1 Current State: 92:[28, 85], Operations: ['41-13=28', '96-11=85'] Exploring Operation: 28*85=2380, Resulting Numbers: [2380] 2380,92 unequal: No Solution Exploring Operation: 28+85=113, Resulting Numbers: [113] 113,92 unequal: No Solution Exploring Operation: 85-28=57, Resulting Numbers: [57] 57,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,2,2 Current State: 92:[28, 107], Operations: ['41-13=28', '11+96=107'] Exploring Operation: 28*107=2996, Resulting Numbers: [2996] 2996,92 unequal: No Solution Exploring Operation: 107-28=79, Resulting Numbers: [79] 79,92 unequal: No Solution Exploring Operation: 28+107=135, Resulting Numbers: [135] 135,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,2,3 Current State: 92:[11, 68], Operations: ['41-13=28', '96-28=68'] Exploring Operation: 68-11=57, Resulting Numbers: [57] 57,92 unequal: No Solution Exploring Operation: 11*68=748, Resulting Numbers: [748] 748,92 unequal: No Solution Exploring Operation: 11+68=79, Resulting Numbers: [79] 79,92 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: 92:[13, 96, 52], Operations: ['41+11=52'] Exploring Operation: 13+96=109, Resulting Numbers: [52, 109] Generated Node #0,3,0: 92:[52, 109] Operation: 13+96=109 Exploring Operation: 52-13=39, Resulting Numbers: [96, 39] Generated Node #0,3,1: 92:[96, 39] Operation: 52-13=39 Exploring Operation: 96-52=44, Resulting Numbers: [13, 44] Generated Node #0,3,2: 92:[13, 44] Operation: 96-52=44 Exploring Operation: 52/13=4, Resulting Numbers: [96, 4] Generated Node #0,3,3: 92:[96, 4] Operation: 52/13=4 Exploring Operation: 96-13=83, Resulting Numbers: [52, 83] Generated Node #0,3,4: 92:[52, 83] Operation: 96-13=83 Moving to Node #0,4 Current State: 92:[11, 96, 54], Operations: ['41+13=54'] Exploring Operation: 96-54=42, Resulting Numbers: [11, 42] Generated Node #0,4,0: 92:[11, 42] Operation: 96-54=42 Exploring Operation: 96-11=85, Resulting Numbers: [54, 85] Generated Node #0,4,1: 92:[54, 85] Operation: 96-11=85 Exploring Operation: 54-11=43, Resulting Numbers: [96, 43] Generated Node #0,4,2: 92:[96, 43] Operation: 54-11=43 Exploring Operation: 11+96=107, Resulting Numbers: [54, 107] Generated Node #0,4,3: 92:[54, 107] Operation: 11+96=107 Exploring Operation: 11+54=65, Resulting Numbers: [96, 65] Generated Node #0,4,4: 92:[96, 65] Operation: 11+54=65 Moving to Node #0,3,3 Current State: 92:[96, 4], Operations: ['41+11=52', '52/13=4'] Exploring Operation: 96/4=24, Resulting Numbers: [24] 24,92 unequal: No Solution Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[41, 13, 11, 96], Operations: [] Exploring Operation: 41+11=52, Resulting Numbers: [13, 96, 52] Generated Node #0,3: 92:[13, 96, 52] Operation: 41+11=52 Moving to Node #0,3 Current State: 92:[13, 96, 52], Operations: ['41+11=52'] Exploring Operation: 52/13=4, Resulting Numbers: [96, 4] Generated Node #0,3,3: 92:[96, 4] Operation: 52/13=4 Moving to Node #0,3,3 Current State: 92:[96, 4], Operations: ['41+11=52', '52/13=4'] Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
0.955729
hs_5
sum_heuristic
[ 59, 98, 34, 69 ]
74
[ "98-59=39", "69-34=35", "39+35=74" ]
Current State: 74:[59, 98, 34, 69], Operations: [] Exploring Operation: 98-59=39, Resulting Numbers: [34, 69, 39] Generated Node #2: [34, 69, 39] from Operation: 98-59=39 Current State: 74:[34, 69, 39], Operations: ['98-59=39'] Exploring Operation: 69-34=35, Resulting Numbers: [39, 35] Generated Node #3: [39, 35] from Operation: 69-34=35 Current State: 74:[39, 35], Operations: ['98-59=39', '69-34=35'] Exploring Operation: 39+35=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[59, 98, 34, 69], Operations: [] Exploring Operation: 98-34=64, Resulting Numbers: [59, 69, 64] Generated Node #0,0: 74:[59, 69, 64] Operation: 98-34=64 Exploring Operation: 98-59=39, Resulting Numbers: [34, 69, 39] Generated Node #0,1: 74:[34, 69, 39] Operation: 98-59=39 Exploring Operation: 69-59=10, Resulting Numbers: [98, 34, 10] Generated Node #0,2: 74:[98, 34, 10] Operation: 69-59=10 Exploring Operation: 59-34=25, Resulting Numbers: [98, 69, 25] Generated Node #0,3: 74:[98, 69, 25] Operation: 59-34=25 Exploring Operation: 98-69=29, Resulting Numbers: [59, 34, 29] Generated Node #0,4: 74:[59, 34, 29] Operation: 98-69=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[34, 69, 39], Operations: ['98-59=39'] Exploring Operation: 34+39=73, Resulting Numbers: [69, 73] Generated Node #0,1,0: 74:[69, 73] Operation: 34+39=73 Exploring Operation: 39-34=5, Resulting Numbers: [69, 5] Generated Node #0,1,1: 74:[69, 5] Operation: 39-34=5 Exploring Operation: 69-34=35, Resulting Numbers: [39, 35] Generated Node #0,1,2: 74:[39, 35] Operation: 69-34=35 Exploring Operation: 69-39=30, Resulting Numbers: [34, 30] Generated Node #0,1,3: 74:[34, 30] Operation: 69-39=30 Exploring Operation: 34+69=103, Resulting Numbers: [39, 103] Generated Node #0,1,4: 74:[39, 103] Operation: 34+69=103 Moving to Node #0,1,2 Current State: 74:[39, 35], Operations: ['98-59=39', '69-34=35'] Exploring Operation: 39*35=1365, Resulting Numbers: [1365] 1365,74 unequal: No Solution Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,74 unequal: No Solution Exploring Operation: 39+35=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[59, 98, 34, 69], Operations: [] Exploring Operation: 98-59=39, Resulting Numbers: [34, 69, 39] Generated Node #0,1: 74:[34, 69, 39] Operation: 98-59=39 Moving to Node #0,1 Current State: 74:[34, 69, 39], Operations: ['98-59=39'] Exploring Operation: 69-34=35, Resulting Numbers: [39, 35] Generated Node #0,1,2: 74:[39, 35] Operation: 69-34=35 Moving to Node #0,1,2 Current State: 74:[39, 35], Operations: ['98-59=39', '69-34=35'] Exploring Operation: 39+35=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 22, 77, 71, 15 ]
43
[ "22+77=99", "71-15=56", "99-56=43" ]
Current State: 43:[22, 77, 71, 15], Operations: [] Exploring Operation: 22+77=99, Resulting Numbers: [71, 15, 99] Generated Node #2: [71, 15, 99] from Operation: 22+77=99 Current State: 43:[71, 15, 99], Operations: ['22+77=99'] Exploring Operation: 71-15=56, Resulting Numbers: [99, 56] Generated Node #3: [99, 56] from Operation: 71-15=56 Current State: 43:[99, 56], Operations: ['22+77=99', '71-15=56'] Exploring Operation: 99-56=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[22, 77, 71, 15], Operations: [] Exploring Operation: 77-22=55, Resulting Numbers: [71, 15, 55] Generated Node #0,0: 43:[71, 15, 55] Operation: 77-22=55 Exploring Operation: 22+15=37, Resulting Numbers: [77, 71, 37] Generated Node #0,1: 43:[77, 71, 37] Operation: 22+15=37 Exploring Operation: 71-22=49, Resulting Numbers: [77, 15, 49] Generated Node #0,2: 43:[77, 15, 49] Operation: 71-22=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[71, 15, 55], Operations: ['77-22=55'] Exploring Operation: 55-15=40, Resulting Numbers: [71, 40] Generated Node #0,0,0: 43:[71, 40] Operation: 55-15=40 Exploring Operation: 71-15=56, Resulting Numbers: [55, 56] Generated Node #0,0,1: 43:[55, 56] Operation: 71-15=56 Exploring Operation: 71+15=86, Resulting Numbers: [55, 86] Generated Node #0,0,2: 43:[55, 86] Operation: 71+15=86 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 43:[55, 56], Operations: ['77-22=55', '71-15=56'] Exploring Operation: 55*56=3080, Resulting Numbers: [3080] 3080,43 unequal: No Solution Exploring Operation: 55+56=111, Resulting Numbers: [111] 111,43 unequal: No Solution Exploring Operation: 56-55=1, Resulting Numbers: [1] 1,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,0,0 Current State: 43:[71, 40], Operations: ['77-22=55', '55-15=40'] Exploring Operation: 71+40=111, Resulting Numbers: [111] 111,43 unequal: No Solution Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,43 unequal: No Solution Exploring Operation: 71*40=2840, Resulting Numbers: [2840] 2840,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,0,2 Current State: 43:[55, 86], Operations: ['77-22=55', '71+15=86'] Exploring Operation: 86-55=31, Resulting Numbers: [31] 31,43 unequal: No Solution Exploring Operation: 55+86=141, Resulting Numbers: [141] 141,43 unequal: No Solution Exploring Operation: 55*86=4730, Resulting Numbers: [4730] 4730,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,1 Current State: 43:[77, 71, 37], Operations: ['22+15=37'] Exploring Operation: 71-37=34, Resulting Numbers: [77, 34] Generated Node #0,1,0: 43:[77, 34] Operation: 71-37=34 Exploring Operation: 77-71=6, Resulting Numbers: [37, 6] Generated Node #0,1,1: 43:[37, 6] Operation: 77-71=6 Exploring Operation: 77-37=40, Resulting Numbers: [71, 40] Generated Node #0,1,2: 43:[71, 40] Operation: 77-37=40 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 43:[71, 40], Operations: ['22+15=37', '77-37=40'] Exploring Operation: 71*40=2840, Resulting Numbers: [2840] 2840,43 unequal: No Solution Exploring Operation: 71+40=111, Resulting Numbers: [111] 111,43 unequal: No Solution Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,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,0 Current State: 43:[77, 34], Operations: ['22+15=37', '71-37=34'] Exploring Operation: 77+34=111, Resulting Numbers: [111] 111,43 unequal: No Solution Exploring Operation: 77-34=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[22, 77, 71, 15], Operations: [] Exploring Operation: 22+15=37, Resulting Numbers: [77, 71, 37] Generated Node #0,1: 43:[77, 71, 37] Operation: 22+15=37 Moving to Node #0,1 Current State: 43:[77, 71, 37], Operations: ['22+15=37'] Exploring Operation: 71-37=34, Resulting Numbers: [77, 34] Generated Node #0,1,0: 43:[77, 34] Operation: 71-37=34 Moving to Node #0,1,0 Current State: 43:[77, 34], Operations: ['22+15=37', '71-37=34'] Exploring Operation: 77-34=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.976563
hs_3
mult_heuristic
[ 64, 10, 23, 45 ]
14
[ "64-10=54", "23+45=68", "68-54=14" ]
Current State: 14:[64, 10, 23, 45], Operations: [] Exploring Operation: 64-10=54, Resulting Numbers: [23, 45, 54] Generated Node #2: [23, 45, 54] from Operation: 64-10=54 Current State: 14:[23, 45, 54], Operations: ['64-10=54'] Exploring Operation: 23+45=68, Resulting Numbers: [54, 68] Generated Node #3: [54, 68] from Operation: 23+45=68 Current State: 14:[54, 68], Operations: ['64-10=54', '23+45=68'] Exploring Operation: 68-54=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[64, 10, 23, 45], Operations: [] Exploring Operation: 45-10=35, Resulting Numbers: [64, 23, 35] Generated Node #0,0: 14:[64, 23, 35] Operation: 45-10=35 Exploring Operation: 64-23=41, Resulting Numbers: [10, 45, 41] Generated Node #0,1: 14:[10, 45, 41] Operation: 64-23=41 Exploring Operation: 64-10=54, Resulting Numbers: [23, 45, 54] Generated Node #0,2: 14:[23, 45, 54] Operation: 64-10=54 Exploring Operation: 45-23=22, Resulting Numbers: [64, 10, 22] Generated Node #0,3: 14:[64, 10, 22] Operation: 45-23=22 Exploring Operation: 64-45=19, Resulting Numbers: [10, 23, 19] Generated Node #0,4: 14:[10, 23, 19] Operation: 64-45=19 Start Sub Search at level 1: Moving to Node #0,4 Current State: 14:[10, 23, 19], Operations: ['64-45=19'] Exploring Operation: 10+23=33, Resulting Numbers: [19, 33] Generated Node #0,4,0: 14:[19, 33] Operation: 10+23=33 Exploring Operation: 19-10=9, Resulting Numbers: [23, 9] Generated Node #0,4,1: 14:[23, 9] Operation: 19-10=9 Exploring Operation: 10+19=29, Resulting Numbers: [23, 29] Generated Node #0,4,2: 14:[23, 29] Operation: 10+19=29 Exploring Operation: 23-10=13, Resulting Numbers: [19, 13] Generated Node #0,4,3: 14:[19, 13] Operation: 23-10=13 Exploring Operation: 23-19=4, Resulting Numbers: [10, 4] Generated Node #0,4,4: 14:[10, 4] Operation: 23-19=4 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 14:[10, 4], Operations: ['64-45=19', '23-19=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,14 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[64, 10, 23, 45], Operations: [] Exploring Operation: 64-45=19, Resulting Numbers: [10, 23, 19] Generated Node #0,4: 14:[10, 23, 19] Operation: 64-45=19 Moving to Node #0,4 Current State: 14:[10, 23, 19], Operations: ['64-45=19'] Exploring Operation: 23-19=4, Resulting Numbers: [10, 4] Generated Node #0,4,4: 14:[10, 4] Operation: 23-19=4 Moving to Node #0,4,4 Current State: 14:[10, 4], Operations: ['64-45=19', '23-19=4'] Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 78, 97, 35, 48 ]
92
[ "78+97=175", "35+48=83", "175-83=92" ]
Current State: 92:[78, 97, 35, 48], Operations: [] Exploring Operation: 78+97=175, Resulting Numbers: [35, 48, 175] Generated Node #2: [35, 48, 175] from Operation: 78+97=175 Current State: 92:[35, 48, 175], Operations: ['78+97=175'] Exploring Operation: 35+48=83, Resulting Numbers: [175, 83] Generated Node #3: [175, 83] from Operation: 35+48=83 Current State: 92:[175, 83], Operations: ['78+97=175', '35+48=83'] Exploring Operation: 175-83=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[78, 97, 35, 48], Operations: [] Exploring Operation: 78-35=43, Resulting Numbers: [97, 48, 43] Generated Node #0,0: 92:[97, 48, 43] Operation: 78-35=43 Exploring Operation: 78-48=30, Resulting Numbers: [97, 35, 30] Generated Node #0,1: 92:[97, 35, 30] Operation: 78-48=30 Exploring Operation: 78+35=113, Resulting Numbers: [97, 48, 113] Generated Node #0,2: 92:[97, 48, 113] Operation: 78+35=113 Exploring Operation: 97-48=49, Resulting Numbers: [78, 35, 49] Generated Node #0,3: 92:[78, 35, 49] Operation: 97-48=49 Exploring Operation: 97-78=19, Resulting Numbers: [35, 48, 19] Generated Node #0,4: 92:[35, 48, 19] Operation: 97-78=19 Moving to Node #0,0 Current State: 92:[97, 48, 43], Operations: ['78-35=43'] Exploring Operation: 97+43=140, Resulting Numbers: [48, 140] Generated Node #0,0,0: 92:[48, 140] Operation: 97+43=140 Exploring Operation: 97-48=49, Resulting Numbers: [43, 49] Generated Node #0,0,1: 92:[43, 49] Operation: 97-48=49 Exploring Operation: 48-43=5, Resulting Numbers: [97, 5] Generated Node #0,0,2: 92:[97, 5] Operation: 48-43=5 Exploring Operation: 97-43=54, Resulting Numbers: [48, 54] Generated Node #0,0,3: 92:[48, 54] Operation: 97-43=54 Exploring Operation: 48+43=91, Resulting Numbers: [97, 91] Generated Node #0,0,4: 92:[97, 91] Operation: 48+43=91 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 92:[43, 49], Operations: ['78-35=43', '97-48=49'] Exploring Operation: 43*49=2107, Resulting Numbers: [2107] 2107,92 unequal: No Solution Exploring Operation: 43+49=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[78, 97, 35, 48], Operations: [] Exploring Operation: 78-35=43, Resulting Numbers: [97, 48, 43] Generated Node #0,0: 92:[97, 48, 43] Operation: 78-35=43 Moving to Node #0,0 Current State: 92:[97, 48, 43], Operations: ['78-35=43'] Exploring Operation: 97-48=49, Resulting Numbers: [43, 49] Generated Node #0,0,1: 92:[43, 49] Operation: 97-48=49 Moving to Node #0,0,1 Current State: 92:[43, 49], Operations: ['78-35=43', '97-48=49'] Exploring Operation: 43+49=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 47, 66, 74, 44 ]
83
[ "47+66=113", "74-44=30", "113-30=83" ]
Current State: 83:[47, 66, 74, 44], Operations: [] Exploring Operation: 47+66=113, Resulting Numbers: [74, 44, 113] Generated Node #2: [74, 44, 113] from Operation: 47+66=113 Current State: 83:[74, 44, 113], Operations: ['47+66=113'] Exploring Operation: 74-44=30, Resulting Numbers: [113, 30] Generated Node #3: [113, 30] from Operation: 74-44=30 Current State: 83:[113, 30], Operations: ['47+66=113', '74-44=30'] Exploring Operation: 113-30=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[47, 66, 74, 44], Operations: [] Exploring Operation: 47+66=113, Resulting Numbers: [74, 44, 113] Generated Node #0,0: 83:[74, 44, 113] Operation: 47+66=113 Exploring Operation: 47+74=121, Resulting Numbers: [66, 44, 121] Generated Node #0,1: 83:[66, 44, 121] Operation: 47+74=121 Exploring Operation: 74+44=118, Resulting Numbers: [47, 66, 118] Generated Node #0,2: 83:[47, 66, 118] Operation: 74+44=118 Exploring Operation: 47+44=91, Resulting Numbers: [66, 74, 91] Generated Node #0,3: 83:[66, 74, 91] Operation: 47+44=91 Exploring Operation: 66+44=110, Resulting Numbers: [47, 74, 110] Generated Node #0,4: 83:[47, 74, 110] Operation: 66+44=110 Start Sub Search at level 1: Moving to Node #0,3 Current State: 83:[66, 74, 91], Operations: ['47+44=91'] Exploring Operation: 74-66=8, Resulting Numbers: [91, 8] Generated Node #0,3,0: 83:[91, 8] Operation: 74-66=8 Exploring Operation: 66+91=157, Resulting Numbers: [74, 157] Generated Node #0,3,1: 83:[74, 157] Operation: 66+91=157 Exploring Operation: 91-74=17, Resulting Numbers: [66, 17] Generated Node #0,3,2: 83:[66, 17] Operation: 91-74=17 Exploring Operation: 91-66=25, Resulting Numbers: [74, 25] Generated Node #0,3,3: 83:[74, 25] Operation: 91-66=25 Exploring Operation: 66+74=140, Resulting Numbers: [91, 140] Generated Node #0,3,4: 83:[91, 140] Operation: 66+74=140 Moving to Node #0,3,4 Current State: 83:[91, 140], Operations: ['47+44=91', '66+74=140'] Exploring Operation: 91+140=231, Resulting Numbers: [231] 231,83 unequal: No Solution Exploring Operation: 140-91=49, Resulting Numbers: [49] 49,83 unequal: No Solution Exploring Operation: 91*140=12740, Resulting Numbers: [12740] 12740,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[74, 25], Operations: ['47+44=91', '91-66=25'] Exploring Operation: 74*25=1850, Resulting Numbers: [1850] 1850,83 unequal: No Solution Exploring Operation: 74-25=49, Resulting Numbers: [49] 49,83 unequal: No Solution Exploring Operation: 74+25=99, Resulting Numbers: [99] 99,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[91, 8], Operations: ['47+44=91', '74-66=8'] Exploring Operation: 91-8=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[47, 66, 74, 44], Operations: [] Exploring Operation: 47+44=91, Resulting Numbers: [66, 74, 91] Generated Node #0,3: 83:[66, 74, 91] Operation: 47+44=91 Moving to Node #0,3 Current State: 83:[66, 74, 91], Operations: ['47+44=91'] Exploring Operation: 74-66=8, Resulting Numbers: [91, 8] Generated Node #0,3,0: 83:[91, 8] Operation: 74-66=8 Moving to Node #0,3,0 Current State: 83:[91, 8], Operations: ['47+44=91', '74-66=8'] Exploring Operation: 91-8=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 39, 36, 66, 60 ]
51
[ "39+36=75", "66+60=126", "126-75=51" ]
Current State: 51:[39, 36, 66, 60], Operations: [] Exploring Operation: 39+36=75, Resulting Numbers: [66, 60, 75] Generated Node #2: [66, 60, 75] from Operation: 39+36=75 Current State: 51:[66, 60, 75], Operations: ['39+36=75'] Exploring Operation: 66+60=126, Resulting Numbers: [75, 126] Generated Node #3: [75, 126] from Operation: 66+60=126 Current State: 51:[75, 126], Operations: ['39+36=75', '66+60=126'] Exploring Operation: 126-75=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[39, 36, 66, 60], Operations: [] Exploring Operation: 39-36=3, Resulting Numbers: [66, 60, 3] Generated Node #0,0: 51:[66, 60, 3] Operation: 39-36=3 Moving to Node #0,0 Current State: 51:[66, 60, 3], Operations: ['39-36=3'] Exploring Operation: 66-60=6, Resulting Numbers: [3, 6] Generated Node #0,0,0: 51:[3, 6] Operation: 66-60=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[3, 6], Operations: ['39-36=3', '66-60=6'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,51 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, 98, 5, 50 ]
11
[ "98-50=48", "48/8=6", "5+6=11" ]
Current State: 11:[8, 98, 5, 50], Operations: [] Exploring Operation: 98-50=48, Resulting Numbers: [8, 5, 48] Generated Node #2: [8, 5, 48] from Operation: 98-50=48 Current State: 11:[8, 5, 48], Operations: ['98-50=48'] Exploring Operation: 48/8=6, Resulting Numbers: [5, 6] Generated Node #3: [5, 6] from Operation: 48/8=6 Current State: 11:[5, 6], Operations: ['98-50=48', '48/8=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[8, 98, 5, 50], Operations: [] Exploring Operation: 98-50=48, Resulting Numbers: [8, 5, 48] Generated Node #0,0: 11:[8, 5, 48] Operation: 98-50=48 Exploring Operation: 50-8=42, Resulting Numbers: [98, 5, 42] Generated Node #0,1: 11:[98, 5, 42] Operation: 50-8=42 Exploring Operation: 98-8=90, Resulting Numbers: [5, 50, 90] Generated Node #0,2: 11:[5, 50, 90] Operation: 98-8=90 Exploring Operation: 50/5=10, Resulting Numbers: [8, 98, 10] Generated Node #0,3: 11:[8, 98, 10] Operation: 50/5=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[8, 5, 48], Operations: ['98-50=48'] Exploring Operation: 48-5=43, Resulting Numbers: [8, 43] Generated Node #0,0,0: 11:[8, 43] Operation: 48-5=43 Exploring Operation: 48-8=40, Resulting Numbers: [5, 40] Generated Node #0,0,1: 11:[5, 40] Operation: 48-8=40 Exploring Operation: 8+5=13, Resulting Numbers: [48, 13] Generated Node #0,0,2: 11:[48, 13] Operation: 8+5=13 Exploring Operation: 48/8=6, Resulting Numbers: [5, 6] Generated Node #0,0,3: 11:[5, 6] Operation: 48/8=6 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 11:[5, 6], Operations: ['98-50=48', '48/8=6'] Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,11 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[8, 98, 5, 50], Operations: [] Exploring Operation: 98-50=48, Resulting Numbers: [8, 5, 48] Generated Node #0,0: 11:[8, 5, 48] Operation: 98-50=48 Moving to Node #0,0 Current State: 11:[8, 5, 48], Operations: ['98-50=48'] Exploring Operation: 48/8=6, Resulting Numbers: [5, 6] Generated Node #0,0,3: 11:[5, 6] Operation: 48/8=6 Moving to Node #0,0,3 Current State: 11:[5, 6], Operations: ['98-50=48', '48/8=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 36, 48, 83, 20 ]
12
[ "48*20=960", "36+960=996", "996/83=12" ]
Current State: 12:[36, 48, 83, 20], Operations: [] Exploring Operation: 48*20=960, Resulting Numbers: [36, 83, 960] Generated Node #2: [36, 83, 960] from Operation: 48*20=960 Current State: 12:[36, 83, 960], Operations: ['48*20=960'] Exploring Operation: 36+960=996, Resulting Numbers: [83, 996] Generated Node #3: [83, 996] from Operation: 36+960=996 Current State: 12:[83, 996], Operations: ['48*20=960', '36+960=996'] Exploring Operation: 996/83=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[36, 48, 83, 20], Operations: [] Exploring Operation: 48-36=12, Resulting Numbers: [83, 20, 12] Generated Node #0,0: 12:[83, 20, 12] Operation: 48-36=12 Exploring Operation: 83-48=35, Resulting Numbers: [36, 20, 35] Generated Node #0,1: 12:[36, 20, 35] Operation: 83-48=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[36, 20, 35], Operations: ['83-48=35'] Exploring Operation: 36-35=1, Resulting Numbers: [20, 1] Generated Node #0,1,0: 12:[20, 1] Operation: 36-35=1 Exploring Operation: 36-20=16, Resulting Numbers: [35, 16] Generated Node #0,1,1: 12:[35, 16] Operation: 36-20=16 Moving to Node #0,1,0 Current State: 12:[20, 1], Operations: ['83-48=35', '36-35=1'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[35, 16], Operations: ['83-48=35', '36-20=16'] Exploring Operation: 35+16=51, Resulting Numbers: [51] 51,12 unequal: No Solution Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[83, 20, 12], Operations: ['48-36=12'] Exploring Operation: 83-20=63, Resulting Numbers: [12, 63] Generated Node #0,0,0: 12:[12, 63] Operation: 83-20=63 Exploring Operation: 83-12=71, Resulting Numbers: [20, 71] Generated Node #0,0,1: 12:[20, 71] Operation: 83-12=71 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[12, 63], Operations: ['48-36=12', '83-20=63'] Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,12 unequal: No Solution Exploring Operation: 12+63=75, Resulting Numbers: [75] 75,12 unequal: No Solution No 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: 12:[20, 71], Operations: ['48-36=12', '83-12=71'] Exploring Operation: 20+71=91, Resulting Numbers: [91] 91,12 unequal: No Solution Exploring Operation: 71-20=51, Resulting Numbers: [51] 51,12 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
[ 19, 48, 43, 18 ]
77
[ "48-43=5", "19*5=95", "95-18=77" ]
Current State: 77:[19, 48, 43, 18], Operations: [] Exploring Operation: 48-43=5, Resulting Numbers: [19, 18, 5] Generated Node #2: [19, 18, 5] from Operation: 48-43=5 Current State: 77:[19, 18, 5], Operations: ['48-43=5'] Exploring Operation: 19*5=95, Resulting Numbers: [18, 95] Generated Node #3: [18, 95] from Operation: 19*5=95 Current State: 77:[18, 95], Operations: ['48-43=5', '19*5=95'] Exploring Operation: 95-18=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[19, 48, 43, 18], Operations: [] Exploring Operation: 48+43=91, Resulting Numbers: [19, 18, 91] Generated Node #0,0: 77:[19, 18, 91] Operation: 48+43=91 Exploring Operation: 19+48=67, Resulting Numbers: [43, 18, 67] Generated Node #0,1: 77:[43, 18, 67] Operation: 19+48=67 Exploring Operation: 48-43=5, Resulting Numbers: [19, 18, 5] Generated Node #0,2: 77:[19, 18, 5] Operation: 48-43=5 Exploring Operation: 43-19=24, Resulting Numbers: [48, 18, 24] Generated Node #0,3: 77:[48, 18, 24] Operation: 43-19=24 Moving to Node #0,2 Current State: 77:[19, 18, 5], Operations: ['48-43=5'] Exploring Operation: 19-18=1, Resulting Numbers: [5, 1] Generated Node #0,2,0: 77:[5, 1] Operation: 19-18=1 Exploring Operation: 19-5=14, Resulting Numbers: [18, 14] Generated Node #0,2,1: 77:[18, 14] Operation: 19-5=14 Exploring Operation: 19+5=24, Resulting Numbers: [18, 24] Generated Node #0,2,2: 77:[18, 24] Operation: 19+5=24 Exploring Operation: 18-5=13, Resulting Numbers: [19, 13] Generated Node #0,2,3: 77:[19, 13] Operation: 18-5=13 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 77:[5, 1], Operations: ['48-43=5', '19-18=1'] Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,77 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,77 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 77:[18, 14], Operations: ['48-43=5', '19-5=14'] Exploring Operation: 18+14=32, Resulting Numbers: [32] 32,77 unequal: No Solution Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 18*14=252, Resulting Numbers: [252] 252,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 77:[19, 13], Operations: ['48-43=5', '18-5=13'] Exploring Operation: 19*13=247, Resulting Numbers: [247] 247,77 unequal: No Solution Exploring Operation: 19+13=32, Resulting Numbers: [32] 32,77 unequal: No Solution Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 77:[18, 24], Operations: ['48-43=5', '19+5=24'] Exploring Operation: 18*24=432, Resulting Numbers: [432] 432,77 unequal: No Solution Exploring Operation: 18+24=42, Resulting Numbers: [42] 42,77 unequal: No Solution Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 77:[19, 18, 91], Operations: ['48+43=91'] Exploring Operation: 91-19=72, Resulting Numbers: [18, 72] Generated Node #0,0,0: 77:[18, 72] Operation: 91-19=72 Exploring Operation: 91-18=73, Resulting Numbers: [19, 73] Generated Node #0,0,1: 77:[19, 73] Operation: 91-18=73 Exploring Operation: 19+18=37, Resulting Numbers: [91, 37] Generated Node #0,0,2: 77:[91, 37] Operation: 19+18=37 Exploring Operation: 19-18=1, Resulting Numbers: [91, 1] Generated Node #0,0,3: 77:[91, 1] Operation: 19-18=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[18, 72], Operations: ['48+43=91', '91-19=72'] Exploring Operation: 18+72=90, Resulting Numbers: [90] 90,77 unequal: No Solution Exploring Operation: 18*72=1296, Resulting Numbers: [1296] 1296,77 unequal: No Solution Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,77 unequal: No Solution Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[19, 73], Operations: ['48+43=91', '91-18=73'] Exploring Operation: 19*73=1387, Resulting Numbers: [1387] 1387,77 unequal: No Solution Exploring Operation: 73-19=54, Resulting Numbers: [54] 54,77 unequal: No Solution Exploring Operation: 19+73=92, Resulting Numbers: [92] 92,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 77:[91, 1], Operations: ['48+43=91', '19-18=1'] Exploring Operation: 91*1=91, Resulting Numbers: [91] 91,77 unequal: No Solution Exploring Operation: 91-1=90, Resulting Numbers: [90] 90,77 unequal: No Solution Exploring Operation: 91/1=91, Resulting Numbers: [91] 91,77 unequal: No Solution Exploring Operation: 91+1=92, Resulting Numbers: [92] 92,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 77:[91, 37], Operations: ['48+43=91', '19+18=37'] Exploring Operation: 91-37=54, Resulting Numbers: [54] 54,77 unequal: No Solution Exploring Operation: 91*37=3367, Resulting Numbers: [3367] 3367,77 unequal: No Solution Exploring Operation: 91+37=128, Resulting Numbers: [128] 128,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 77:[48, 18, 24], Operations: ['43-19=24'] Exploring Operation: 48-24=24, Resulting Numbers: [18, 24] Generated Node #0,3,0: 77:[18, 24] Operation: 48-24=24 Exploring Operation: 48+24=72, Resulting Numbers: [18, 72] Generated Node #0,3,1: 77:[18, 72] Operation: 48+24=72 Exploring Operation: 48+18=66, Resulting Numbers: [24, 66] Generated Node #0,3,2: 77:[24, 66] Operation: 48+18=66 Exploring Operation: 48/24=2, Resulting Numbers: [18, 2] Generated Node #0,3,3: 77:[18, 2] Operation: 48/24=2 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 77:[18, 72], Operations: ['43-19=24', '48+24=72'] Exploring Operation: 18+72=90, Resulting Numbers: [90] 90,77 unequal: No Solution Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,77 unequal: No Solution Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 18*72=1296, Resulting Numbers: [1296] 1296,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 77:[18, 2], Operations: ['43-19=24', '48/24=2'] Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,77 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,77 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 77:[18, 24], Operations: ['43-19=24', '48-24=24'] Exploring Operation: 18+24=42, Resulting Numbers: [42] 42,77 unequal: No Solution Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,77 unequal: No Solution Exploring Operation: 18*24=432, Resulting Numbers: [432] 432,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 77:[24, 66], Operations: ['43-19=24', '48+18=66'] Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,77 unequal: No Solution Exploring Operation: 24*66=1584, Resulting Numbers: [1584] 1584,77 unequal: No Solution Exploring Operation: 24+66=90, Resulting Numbers: [90] 90,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 77:[43, 18, 67], Operations: ['19+48=67'] Exploring Operation: 43-18=25, Resulting Numbers: [67, 25] Generated Node #0,1,0: 77:[67, 25] Operation: 43-18=25 Exploring Operation: 43+18=61, Resulting Numbers: [67, 61] Generated Node #0,1,1: 77:[67, 61] Operation: 43+18=61 Exploring Operation: 67-43=24, Resulting Numbers: [18, 24] Generated Node #0,1,2: 77:[18, 24] Operation: 67-43=24 Exploring Operation: 43+67=110, Resulting Numbers: [18, 110] Generated Node #0,1,3: 77:[18, 110] Operation: 43+67=110 Moving to Node #0,1,2 Current State: 77:[18, 24], Operations: ['19+48=67', '67-43=24'] Exploring Operation: 18*24=432, Resulting Numbers: [432] 432,77 unequal: No Solution Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,77 unequal: No Solution Exploring Operation: 18+24=42, Resulting Numbers: [42] 42,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[67, 25], Operations: ['19+48=67', '43-18=25'] Exploring Operation: 67-25=42, Resulting Numbers: [42] 42,77 unequal: No Solution Exploring Operation: 67+25=92, Resulting Numbers: [92] 92,77 unequal: No Solution Exploring Operation: 67*25=1675, Resulting Numbers: [1675] 1675,77 unequal: No Solution Moving to Node #0,1,1 Current State: 77:[67, 61], Operations: ['19+48=67', '43+18=61'] Exploring Operation: 67*61=4087, Resulting Numbers: [4087] 4087,77 unequal: No Solution Exploring Operation: 67-61=6, Resulting Numbers: [6] 6,77 unequal: No Solution Exploring Operation: 67+61=128, Resulting Numbers: [128] 128,77 unequal: No Solution Moving to Node #0,1,3 Current State: 77:[18, 110], Operations: ['19+48=67', '43+67=110'] Exploring Operation: 110-18=92, Resulting Numbers: [92] 92,77 unequal: No Solution Exploring Operation: 18+110=128, Resulting Numbers: [128] 128,77 unequal: No Solution Exploring Operation: 18*110=1980, Resulting Numbers: [1980] 1980,77 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 93, 76, 6, 28 ]
39
[ "93-76=17", "28-6=22", "17+22=39" ]
Current State: 39:[93, 76, 6, 28], Operations: [] Exploring Operation: 93-76=17, Resulting Numbers: [6, 28, 17] Generated Node #2: [6, 28, 17] from Operation: 93-76=17 Current State: 39:[6, 28, 17], Operations: ['93-76=17'] Exploring Operation: 28-6=22, Resulting Numbers: [17, 22] Generated Node #3: [17, 22] from Operation: 28-6=22 Current State: 39:[17, 22], Operations: ['93-76=17', '28-6=22'] Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[93, 76, 6, 28], Operations: [] Exploring Operation: 93-76=17, Resulting Numbers: [6, 28, 17] Generated Node #0,0: 39:[6, 28, 17] Operation: 93-76=17 Exploring Operation: 93-28=65, Resulting Numbers: [76, 6, 65] Generated Node #0,1: 39:[76, 6, 65] Operation: 93-28=65 Moving to Node #0,0 Current State: 39:[6, 28, 17], Operations: ['93-76=17'] Exploring Operation: 6+28=34, Resulting Numbers: [17, 34] Generated Node #0,0,0: 39:[17, 34] Operation: 6+28=34 Exploring Operation: 28-17=11, Resulting Numbers: [6, 11] Generated Node #0,0,1: 39:[6, 11] Operation: 28-17=11 Moving to Node #0,1 Current State: 39:[76, 6, 65], Operations: ['93-28=65'] Exploring Operation: 76-65=11, Resulting Numbers: [6, 11] Generated Node #0,1,0: 39:[6, 11] Operation: 76-65=11 Exploring Operation: 76-6=70, Resulting Numbers: [65, 70] Generated Node #0,1,1: 39:[65, 70] Operation: 76-6=70 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 39:[6, 11], Operations: ['93-28=65', '76-65=11'] 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,1,1 Current State: 39:[65, 70], Operations: ['93-28=65', '76-6=70'] Exploring Operation: 70-65=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 65+70=135, Resulting Numbers: [135] 135,39 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: 39:[6, 11], Operations: ['93-76=17', '28-17=11'] 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 Moving to Node #0,0,0 Current State: 39:[17, 34], Operations: ['93-76=17', '6+28=34'] Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,39 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 36, 84, 34, 2 ]
21
[ "36-34=2", "84/2=42", "42/2=21" ]
Current State: 21:[36, 84, 34, 2], Operations: [] Exploring Operation: 36-34=2, Resulting Numbers: [84, 2, 2] Generated Node #2: [84, 2, 2] from Operation: 36-34=2 Current State: 21:[84, 2, 2], Operations: ['36-34=2'] Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,21 equal: Goal Reached Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[36, 84, 34, 2], Operations: [] Exploring Operation: 84/2=42, Resulting Numbers: [36, 34, 42] Generated Node #0,0: 21:[36, 34, 42] Operation: 84/2=42 Exploring Operation: 36-34=2, Resulting Numbers: [84, 2, 2] Generated Node #0,1: 21:[84, 2, 2] Operation: 36-34=2 Exploring Operation: 84-34=50, Resulting Numbers: [36, 2, 50] Generated Node #0,2: 21:[36, 2, 50] Operation: 84-34=50 Exploring Operation: 84-36=48, Resulting Numbers: [34, 2, 48] Generated Node #0,3: 21:[34, 2, 48] Operation: 84-36=48 Moving to Node #0,3 Current State: 21:[34, 2, 48], Operations: ['84-36=48'] Exploring Operation: 48-34=14, Resulting Numbers: [2, 14] Generated Node #0,3,0: 21:[2, 14] Operation: 48-34=14 Exploring Operation: 34-2=32, Resulting Numbers: [48, 32] Generated Node #0,3,1: 21:[48, 32] Operation: 34-2=32 Exploring Operation: 34/2=17, Resulting Numbers: [48, 17] Generated Node #0,3,2: 21:[48, 17] Operation: 34/2=17 Exploring Operation: 48/2=24, Resulting Numbers: [34, 24] Generated Node #0,3,3: 21:[34, 24] Operation: 48/2=24 Moving to Node #0,2 Current State: 21:[36, 2, 50], Operations: ['84-34=50'] Exploring Operation: 50-36=14, Resulting Numbers: [2, 14] Generated Node #0,2,0: 21:[2, 14] Operation: 50-36=14 Exploring Operation: 50/2=25, Resulting Numbers: [36, 25] Generated Node #0,2,1: 21:[36, 25] Operation: 50/2=25 Exploring Operation: 36-2=34, Resulting Numbers: [50, 34] Generated Node #0,2,2: 21:[50, 34] Operation: 36-2=34 Exploring Operation: 36/2=18, Resulting Numbers: [50, 18] Generated Node #0,2,3: 21:[50, 18] Operation: 36/2=18 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 21:[2, 14], Operations: ['84-34=50', '50-36=14'] Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,21 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,21 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,21 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,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,2,1 Current State: 21:[36, 25], Operations: ['84-34=50', '50/2=25'] Exploring Operation: 36*25=900, Resulting Numbers: [900] 900,21 unequal: No Solution Exploring Operation: 36+25=61, Resulting Numbers: [61] 61,21 unequal: No Solution Exploring Operation: 36-25=11, Resulting Numbers: [11] 11,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,2,3 Current State: 21:[50, 18], Operations: ['84-34=50', '36/2=18'] Exploring Operation: 50-18=32, Resulting Numbers: [32] 32,21 unequal: No Solution Exploring Operation: 50+18=68, Resulting Numbers: [68] 68,21 unequal: No Solution Exploring Operation: 50*18=900, Resulting Numbers: [900] 900,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,2,2 Current State: 21:[50, 34], Operations: ['84-34=50', '36-2=34'] Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,21 unequal: No Solution Exploring Operation: 50*34=1700, Resulting Numbers: [1700] 1700,21 unequal: No Solution Exploring Operation: 50+34=84, Resulting Numbers: [84] 84,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 21:[36, 34, 42], Operations: ['84/2=42'] Exploring Operation: 36-34=2, Resulting Numbers: [42, 2] Generated Node #0,0,0: 21:[42, 2] Operation: 36-34=2 Exploring Operation: 42-34=8, Resulting Numbers: [36, 8] Generated Node #0,0,1: 21:[36, 8] Operation: 42-34=8 Exploring Operation: 36+34=70, Resulting Numbers: [42, 70] Generated Node #0,0,2: 21:[42, 70] Operation: 36+34=70 Exploring Operation: 42-36=6, Resulting Numbers: [34, 6] Generated Node #0,0,3: 21:[34, 6] Operation: 42-36=6 Moving to Node #0,1 Current State: 21:[84, 2, 2], Operations: ['36-34=2'] Exploring Operation: 84/2=42, Resulting Numbers: [2, 42] Generated Node #0,1,0: 21:[2, 42] Operation: 84/2=42 Exploring Operation: 84-2=82, Resulting Numbers: [2, 82] Generated Node #0,1,1: 21:[2, 82] Operation: 84-2=82 Exploring Operation: 84-2=82, Resulting Numbers: [2, 82] Generated Node #0,1,2: 21:[2, 82] Operation: 84-2=82 Exploring Operation: 84/2=42, Resulting Numbers: [2, 42] Generated Node #0,1,3: 21:[2, 42] Operation: 84/2=42 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 21:[2, 42], Operations: ['36-34=2', '84/2=42'] Exploring Operation: 2+42=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,21 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,21 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[36, 84, 34, 2], Operations: [] Exploring Operation: 36-34=2, Resulting Numbers: [84, 2, 2] Generated Node #0,1: 21:[84, 2, 2] Operation: 36-34=2 Moving to Node #0,1 Current State: 21:[84, 2, 2], Operations: ['36-34=2'] Exploring Operation: 84/2=42, Resulting Numbers: [2, 42] Generated Node #0,1,0: 21:[2, 42] Operation: 84/2=42 Moving to Node #0,1,0 Current State: 21:[2, 42], Operations: ['36-34=2', '84/2=42'] Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_4
mult_heuristic
[ 79, 8, 15, 46 ]
26
[ "79+8=87", "15+46=61", "87-61=26" ]
Current State: 26:[79, 8, 15, 46], Operations: [] Exploring Operation: 79+8=87, Resulting Numbers: [15, 46, 87] Generated Node #2: [15, 46, 87] from Operation: 79+8=87 Current State: 26:[15, 46, 87], Operations: ['79+8=87'] Exploring Operation: 15+46=61, Resulting Numbers: [87, 61] Generated Node #3: [87, 61] from Operation: 15+46=61 Current State: 26:[87, 61], Operations: ['79+8=87', '15+46=61'] Exploring Operation: 87-61=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[79, 8, 15, 46], Operations: [] Exploring Operation: 79-46=33, Resulting Numbers: [8, 15, 33] Generated Node #0,0: 26:[8, 15, 33] Operation: 79-46=33 Exploring Operation: 79-15=64, Resulting Numbers: [8, 46, 64] Generated Node #0,1: 26:[8, 46, 64] Operation: 79-15=64 Moving to Node #0,0 Current State: 26:[8, 15, 33], Operations: ['79-46=33'] Exploring Operation: 33-8=25, Resulting Numbers: [15, 25] Generated Node #0,0,0: 26:[15, 25] Operation: 33-8=25 Exploring Operation: 8+15=23, Resulting Numbers: [33, 23] Generated Node #0,0,1: 26:[33, 23] Operation: 8+15=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[15, 25], Operations: ['79-46=33', '33-8=25'] Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,26 unequal: No Solution Exploring Operation: 15+25=40, Resulting Numbers: [40] 40,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 26:[33, 23], Operations: ['79-46=33', '8+15=23'] Exploring Operation: 33-23=10, Resulting Numbers: [10] 10,26 unequal: No Solution Exploring Operation: 33+23=56, Resulting Numbers: [56] 56,26 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: 26:[8, 46, 64], Operations: ['79-15=64'] Exploring Operation: 64/8=8, Resulting Numbers: [46, 8] Generated Node #0,1,0: 26:[46, 8] Operation: 64/8=8 Exploring Operation: 64-46=18, Resulting Numbers: [8, 18] Generated Node #0,1,1: 26:[8, 18] Operation: 64-46=18 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 26:[8, 18], Operations: ['79-15=64', '64-46=18'] Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[79, 8, 15, 46], Operations: [] Exploring Operation: 79-15=64, Resulting Numbers: [8, 46, 64] Generated Node #0,1: 26:[8, 46, 64] Operation: 79-15=64 Moving to Node #0,1 Current State: 26:[8, 46, 64], Operations: ['79-15=64'] Exploring Operation: 64-46=18, Resulting Numbers: [8, 18] Generated Node #0,1,1: 26:[8, 18] Operation: 64-46=18 Moving to Node #0,1,1 Current State: 26:[8, 18], Operations: ['79-15=64', '64-46=18'] Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 54, 73, 82, 87 ]
14
[ "73-54=19", "87-82=5", "19-5=14" ]
Current State: 14:[54, 73, 82, 87], Operations: [] Exploring Operation: 73-54=19, Resulting Numbers: [82, 87, 19] Generated Node #2: [82, 87, 19] from Operation: 73-54=19 Current State: 14:[82, 87, 19], Operations: ['73-54=19'] Exploring Operation: 87-82=5, Resulting Numbers: [19, 5] Generated Node #3: [19, 5] from Operation: 87-82=5 Current State: 14:[19, 5], Operations: ['73-54=19', '87-82=5'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[54, 73, 82, 87], Operations: [] Exploring Operation: 87-82=5, Resulting Numbers: [54, 73, 5] Generated Node #0,0: 14:[54, 73, 5] Operation: 87-82=5 Moving to Node #0,0 Current State: 14:[54, 73, 5], Operations: ['87-82=5'] Exploring Operation: 73-54=19, Resulting Numbers: [5, 19] Generated Node #0,0,0: 14:[5, 19] Operation: 73-54=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[5, 19], Operations: ['87-82=5', '73-54=19'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[54, 73, 82, 87], Operations: [] Exploring Operation: 87-82=5, Resulting Numbers: [54, 73, 5] Generated Node #0,0: 14:[54, 73, 5] Operation: 87-82=5 Moving to Node #0,0 Current State: 14:[54, 73, 5], Operations: ['87-82=5'] Exploring Operation: 73-54=19, Resulting Numbers: [5, 19] Generated Node #0,0,0: 14:[5, 19] Operation: 73-54=19 Moving to Node #0,0,0 Current State: 14:[5, 19], Operations: ['87-82=5', '73-54=19'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 60, 98, 68, 20 ]
86
[ "98-60=38", "68-20=48", "38+48=86" ]
Current State: 86:[60, 98, 68, 20], Operations: [] Exploring Operation: 98-60=38, Resulting Numbers: [68, 20, 38] Generated Node #2: [68, 20, 38] from Operation: 98-60=38 Current State: 86:[68, 20, 38], Operations: ['98-60=38'] Exploring Operation: 68-20=48, Resulting Numbers: [38, 48] Generated Node #3: [38, 48] from Operation: 68-20=48 Current State: 86:[38, 48], Operations: ['98-60=38', '68-20=48'] Exploring Operation: 38+48=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[60, 98, 68, 20], Operations: [] Exploring Operation: 60-20=40, Resulting Numbers: [98, 68, 40] Generated Node #0,0: 86:[98, 68, 40] Operation: 60-20=40 Exploring Operation: 68+20=88, Resulting Numbers: [60, 98, 88] Generated Node #0,1: 86:[60, 98, 88] Operation: 68+20=88 Exploring Operation: 60/20=3, Resulting Numbers: [98, 68, 3] Generated Node #0,2: 86:[98, 68, 3] Operation: 60/20=3 Exploring Operation: 68-60=8, Resulting Numbers: [98, 20, 8] Generated Node #0,3: 86:[98, 20, 8] Operation: 68-60=8 Exploring Operation: 68-20=48, Resulting Numbers: [60, 98, 48] Generated Node #0,4: 86:[60, 98, 48] Operation: 68-20=48 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[60, 98, 88], Operations: ['68+20=88'] Exploring Operation: 98-60=38, Resulting Numbers: [88, 38] Generated Node #0,1,0: 86:[88, 38] Operation: 98-60=38 Exploring Operation: 88-60=28, Resulting Numbers: [98, 28] Generated Node #0,1,1: 86:[98, 28] Operation: 88-60=28 Exploring Operation: 60+98=158, Resulting Numbers: [88, 158] Generated Node #0,1,2: 86:[88, 158] Operation: 60+98=158 Exploring Operation: 98-88=10, Resulting Numbers: [60, 10] Generated Node #0,1,3: 86:[60, 10] Operation: 98-88=10 Exploring Operation: 60+88=148, Resulting Numbers: [98, 148] Generated Node #0,1,4: 86:[98, 148] Operation: 60+88=148 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 86:[88, 38], Operations: ['68+20=88', '98-60=38'] Exploring Operation: 88*38=3344, Resulting Numbers: [3344] 3344,86 unequal: No Solution Exploring Operation: 88-38=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 88+38=126, Resulting Numbers: [126] 126,86 unequal: No Solution No 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: 86:[60, 10], Operations: ['68+20=88', '98-88=10'] Exploring Operation: 60-10=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 60+10=70, Resulting Numbers: [70] 70,86 unequal: No Solution Exploring Operation: 60*10=600, Resulting Numbers: [600] 600,86 unequal: No Solution Exploring Operation: 60/10=6, Resulting Numbers: [6] 6,86 unequal: No Solution No 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: 86:[98, 28], Operations: ['68+20=88', '88-60=28'] Exploring Operation: 98*28=2744, Resulting Numbers: [2744] 2744,86 unequal: No Solution Exploring Operation: 98+28=126, Resulting Numbers: [126] 126,86 unequal: No Solution Exploring Operation: 98-28=70, Resulting Numbers: [70] 70,86 unequal: No Solution No 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: 86:[88, 158], Operations: ['68+20=88', '60+98=158'] Exploring Operation: 158-88=70, Resulting Numbers: [70] 70,86 unequal: No Solution Exploring Operation: 88*158=13904, Resulting Numbers: [13904] 13904,86 unequal: No Solution Exploring Operation: 88+158=246, Resulting Numbers: [246] 246,86 unequal: No Solution No 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: 86:[98, 148], Operations: ['68+20=88', '60+88=148'] Exploring Operation: 148-98=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 98*148=14504, Resulting Numbers: [14504] 14504,86 unequal: No Solution Exploring Operation: 98+148=246, Resulting Numbers: [246] 246,86 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: 86:[98, 68, 3], Operations: ['60/20=3'] Exploring Operation: 98-3=95, Resulting Numbers: [68, 95] Generated Node #0,2,0: 86:[68, 95] Operation: 98-3=95 Exploring Operation: 98-68=30, Resulting Numbers: [3, 30] Generated Node #0,2,1: 86:[3, 30] Operation: 98-68=30 Exploring Operation: 68+3=71, Resulting Numbers: [98, 71] Generated Node #0,2,2: 86:[98, 71] Operation: 68+3=71 Exploring Operation: 98+3=101, Resulting Numbers: [68, 101] Generated Node #0,2,3: 86:[68, 101] Operation: 98+3=101 Exploring Operation: 68-3=65, Resulting Numbers: [98, 65] Generated Node #0,2,4: 86:[98, 65] Operation: 68-3=65 Moving to Node #0,2,1 Current State: 86:[3, 30], Operations: ['60/20=3', '98-68=30'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,86 unequal: No Solution Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,86 unequal: No Solution Exploring Operation: 3*30=90, Resulting Numbers: [90] 90,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[98, 71], Operations: ['60/20=3', '68+3=71'] Exploring Operation: 98-71=27, Resulting Numbers: [27] 27,86 unequal: No Solution Exploring Operation: 98+71=169, Resulting Numbers: [169] 169,86 unequal: No Solution Exploring Operation: 98*71=6958, Resulting Numbers: [6958] 6958,86 unequal: No Solution Moving to Node #0,2,0 Current State: 86:[68, 95], Operations: ['60/20=3', '98-3=95'] Exploring Operation: 95-68=27, Resulting Numbers: [27] 27,86 unequal: No Solution Exploring Operation: 68+95=163, Resulting Numbers: [163] 163,86 unequal: No Solution Exploring Operation: 68*95=6460, Resulting Numbers: [6460] 6460,86 unequal: No Solution Moving to Node #0,2,3 Current State: 86:[68, 101], Operations: ['60/20=3', '98+3=101'] Exploring Operation: 68*101=6868, Resulting Numbers: [6868] 6868,86 unequal: No Solution Exploring Operation: 101-68=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 68+101=169, Resulting Numbers: [169] 169,86 unequal: No Solution Moving to Node #0,2,4 Current State: 86:[98, 65], Operations: ['60/20=3', '68-3=65'] Exploring Operation: 98*65=6370, Resulting Numbers: [6370] 6370,86 unequal: No Solution Exploring Operation: 98-65=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 98+65=163, Resulting Numbers: [163] 163,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[98, 68, 40], Operations: ['60-20=40'] Exploring Operation: 98+40=138, Resulting Numbers: [68, 138] Generated Node #0,0,0: 86:[68, 138] Operation: 98+40=138 Exploring Operation: 68+40=108, Resulting Numbers: [98, 108] Generated Node #0,0,1: 86:[98, 108] Operation: 68+40=108 Exploring Operation: 98-40=58, Resulting Numbers: [68, 58] Generated Node #0,0,2: 86:[68, 58] Operation: 98-40=58 Exploring Operation: 98-68=30, Resulting Numbers: [40, 30] Generated Node #0,0,3: 86:[40, 30] Operation: 98-68=30 Exploring Operation: 68-40=28, Resulting Numbers: [98, 28] Generated Node #0,0,4: 86:[98, 28] Operation: 68-40=28 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 86:[40, 30], Operations: ['60-20=40', '98-68=30'] Exploring Operation: 40+30=70, Resulting Numbers: [70] 70,86 unequal: No Solution Exploring Operation: 40*30=1200, Resulting Numbers: [1200] 1200,86 unequal: No Solution Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,86 unequal: No Solution No 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: 86:[98, 28], Operations: ['60-20=40', '68-40=28'] Exploring Operation: 98+28=126, Resulting Numbers: [126] 126,86 unequal: No Solution Exploring Operation: 98-28=70, Resulting Numbers: [70] 70,86 unequal: No Solution Exploring Operation: 98*28=2744, Resulting Numbers: [2744] 2744,86 unequal: No Solution No 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: 86:[68, 58], Operations: ['60-20=40', '98-40=58'] Exploring Operation: 68-58=10, Resulting Numbers: [10] 10,86 unequal: No Solution Exploring Operation: 68+58=126, Resulting Numbers: [126] 126,86 unequal: No Solution Exploring Operation: 68*58=3944, Resulting Numbers: [3944] 3944,86 unequal: No Solution No 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: 86:[98, 108], Operations: ['60-20=40', '68+40=108'] Exploring Operation: 108-98=10, Resulting Numbers: [10] 10,86 unequal: No Solution Exploring Operation: 98*108=10584, Resulting Numbers: [10584] 10584,86 unequal: No Solution Exploring Operation: 98+108=206, Resulting Numbers: [206] 206,86 unequal: No Solution No 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: 86:[68, 138], Operations: ['60-20=40', '98+40=138'] Exploring Operation: 138-68=70, Resulting Numbers: [70] 70,86 unequal: No Solution Exploring Operation: 68+138=206, Resulting Numbers: [206] 206,86 unequal: No Solution Exploring Operation: 68*138=9384, Resulting Numbers: [9384] 9384,86 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: 86:[60, 98, 48], Operations: ['68-20=48'] Exploring Operation: 60+98=158, Resulting Numbers: [48, 158] Generated Node #0,4,0: 86:[48, 158] Operation: 60+98=158 Exploring Operation: 60-48=12, Resulting Numbers: [98, 12] Generated Node #0,4,1: 86:[98, 12] Operation: 60-48=12 Exploring Operation: 98-60=38, Resulting Numbers: [48, 38] Generated Node #0,4,2: 86:[48, 38] Operation: 98-60=38 Exploring Operation: 98-48=50, Resulting Numbers: [60, 50] Generated Node #0,4,3: 86:[60, 50] Operation: 98-48=50 Exploring Operation: 60+48=108, Resulting Numbers: [98, 108] Generated Node #0,4,4: 86:[98, 108] Operation: 60+48=108 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 86:[48, 38], Operations: ['68-20=48', '98-60=38'] Exploring Operation: 48*38=1824, Resulting Numbers: [1824] 1824,86 unequal: No Solution Exploring Operation: 48+38=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[60, 98, 68, 20], Operations: [] Exploring Operation: 68-20=48, Resulting Numbers: [60, 98, 48] Generated Node #0,4: 86:[60, 98, 48] Operation: 68-20=48 Moving to Node #0,4 Current State: 86:[60, 98, 48], Operations: ['68-20=48'] Exploring Operation: 98-60=38, Resulting Numbers: [48, 38] Generated Node #0,4,2: 86:[48, 38] Operation: 98-60=38 Moving to Node #0,4,2 Current State: 86:[48, 38], Operations: ['68-20=48', '98-60=38'] Exploring Operation: 48+38=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.932292
hs_5
mult_heuristic
[ 86, 68, 13, 60 ]
34
[ "86-60=26", "68*13=884", "884/26=34" ]
Current State: 34:[86, 68, 13, 60], Operations: [] Exploring Operation: 86-60=26, Resulting Numbers: [68, 13, 26] Generated Node #2: [68, 13, 26] from Operation: 86-60=26 Current State: 34:[68, 13, 26], Operations: ['86-60=26'] Exploring Operation: 68*13=884, Resulting Numbers: [26, 884] Generated Node #3: [26, 884] from Operation: 68*13=884 Current State: 34:[26, 884], Operations: ['86-60=26', '68*13=884'] Exploring Operation: 884/26=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[86, 68, 13, 60], Operations: [] Exploring Operation: 86-60=26, Resulting Numbers: [68, 13, 26] Generated Node #0,0: 34:[68, 13, 26] Operation: 86-60=26 Exploring Operation: 86-68=18, Resulting Numbers: [13, 60, 18] Generated Node #0,1: 34:[13, 60, 18] Operation: 86-68=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[13, 60, 18], Operations: ['86-68=18'] Exploring Operation: 60-13=47, Resulting Numbers: [18, 47] Generated Node #0,1,0: 34:[18, 47] Operation: 60-13=47 Exploring Operation: 60-18=42, Resulting Numbers: [13, 42] Generated Node #0,1,1: 34:[13, 42] Operation: 60-18=42 Moving to Node #0,1,1 Current State: 34:[13, 42], Operations: ['86-68=18', '60-18=42'] Exploring Operation: 13+42=55, Resulting Numbers: [55] 55,34 unequal: No Solution Exploring Operation: 42-13=29, Resulting Numbers: [29] 29,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[18, 47], Operations: ['86-68=18', '60-13=47'] Exploring Operation: 18+47=65, Resulting Numbers: [65] 65,34 unequal: No Solution Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[68, 13, 26], Operations: ['86-60=26'] Exploring Operation: 68-13=55, Resulting Numbers: [26, 55] Generated Node #0,0,0: 34:[26, 55] Operation: 68-13=55 Exploring Operation: 68-26=42, Resulting Numbers: [13, 42] Generated Node #0,0,1: 34:[13, 42] Operation: 68-26=42 Moving to Node #0,0,1 Current State: 34:[13, 42], Operations: ['86-60=26', '68-26=42'] Exploring Operation: 13+42=55, Resulting Numbers: [55] 55,34 unequal: No Solution Exploring Operation: 42-13=29, Resulting Numbers: [29] 29,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[26, 55], Operations: ['86-60=26', '68-13=55'] Exploring Operation: 26+55=81, Resulting Numbers: [81] 81,34 unequal: No Solution Exploring Operation: 55-26=29, Resulting Numbers: [29] 29,34 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
[ 6, 13, 60, 99 ]
39
[ "6*13=78", "99-60=39", "78-39=39" ]
Current State: 39:[6, 13, 60, 99], Operations: [] Exploring Operation: 6*13=78, Resulting Numbers: [60, 99, 78] Generated Node #2: [60, 99, 78] from Operation: 6*13=78 Current State: 39:[60, 99, 78], Operations: ['6*13=78'] Exploring Operation: 99-60=39, Resulting Numbers: [78, 39] Generated Node #3: [78, 39] from Operation: 99-60=39 Current State: 39:[78, 39], Operations: ['6*13=78', '99-60=39'] Exploring Operation: 78-39=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[6, 13, 60, 99], Operations: [] Exploring Operation: 60-13=47, Resulting Numbers: [6, 99, 47] Generated Node #0,0: 39:[6, 99, 47] Operation: 60-13=47 Exploring Operation: 60/6=10, Resulting Numbers: [13, 99, 10] Generated Node #0,1: 39:[13, 99, 10] Operation: 60/6=10 Exploring Operation: 99-60=39, Resulting Numbers: [6, 13, 39] Generated Node #0,2: 39:[6, 13, 39] Operation: 99-60=39 Start Sub Search at level 1: Moving to Node #0,2 Current State: 39:[6, 13, 39], Operations: ['99-60=39'] Exploring Operation: 6+13=19, Resulting Numbers: [39, 19] Generated Node #0,2,0: 39:[39, 19] Operation: 6+13=19 Exploring Operation: 39/13=3, Resulting Numbers: [6, 3] Generated Node #0,2,1: 39:[6, 3] Operation: 39/13=3 Exploring Operation: 13-6=7, Resulting Numbers: [39, 7] Generated Node #0,2,2: 39:[39, 7] Operation: 13-6=7 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 39:[6, 3], Operations: ['99-60=39', '39/13=3'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,39 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,39 unequal: No Solution No 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: 39:[39, 7], Operations: ['99-60=39', '13-6=7'] Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,39 unequal: No Solution Exploring Operation: 39+7=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 39*7=273, Resulting Numbers: [273] 273,39 unequal: No Solution No 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: 39:[39, 19], Operations: ['99-60=39', '6+13=19'] Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,39 unequal: No Solution Exploring Operation: 39*19=741, Resulting Numbers: [741] 741,39 unequal: No Solution Exploring Operation: 39+19=58, Resulting Numbers: [58] 58,39 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: 39:[13, 99, 10], Operations: ['60/6=10'] Exploring Operation: 13-10=3, Resulting Numbers: [99, 3] Generated Node #0,1,0: 39:[99, 3] Operation: 13-10=3 Exploring Operation: 99-10=89, Resulting Numbers: [13, 89] Generated Node #0,1,1: 39:[13, 89] Operation: 99-10=89 Exploring Operation: 99-13=86, Resulting Numbers: [10, 86] Generated Node #0,1,2: 39:[10, 86] Operation: 99-13=86 Moving to Node #0,1,1 Current State: 39:[13, 89], Operations: ['60/6=10', '99-10=89'] Exploring Operation: 13*89=1157, Resulting Numbers: [1157] 1157,39 unequal: No Solution Exploring Operation: 13+89=102, Resulting Numbers: [102] 102,39 unequal: No Solution Exploring Operation: 89-13=76, Resulting Numbers: [76] 76,39 unequal: No Solution Moving to Node #0,1,2 Current State: 39:[10, 86], Operations: ['60/6=10', '99-13=86'] Exploring Operation: 10+86=96, Resulting Numbers: [96] 96,39 unequal: No Solution Exploring Operation: 86-10=76, Resulting Numbers: [76] 76,39 unequal: No Solution Exploring Operation: 10*86=860, Resulting Numbers: [860] 860,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[99, 3], Operations: ['60/6=10', '13-10=3'] Exploring Operation: 99+3=102, Resulting Numbers: [102] 102,39 unequal: No Solution Exploring Operation: 99-3=96, Resulting Numbers: [96] 96,39 unequal: No Solution Exploring Operation: 99/3=33, Resulting Numbers: [33] 33,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 Current State: 39:[6, 99, 47], Operations: ['60-13=47'] Exploring Operation: 99-47=52, Resulting Numbers: [6, 52] Generated Node #0,0,0: 39:[6, 52] Operation: 99-47=52 Exploring Operation: 99-6=93, Resulting Numbers: [47, 93] Generated Node #0,0,1: 39:[47, 93] Operation: 99-6=93 Exploring Operation: 47-6=41, Resulting Numbers: [99, 41] Generated Node #0,0,2: 39:[99, 41] Operation: 47-6=41 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[6, 52], Operations: ['60-13=47', '99-47=52'] Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 6+52=58, Resulting Numbers: [58] 58,39 unequal: No Solution Exploring Operation: 6*52=312, Resulting Numbers: [312] 312,39 unequal: No Solution No 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: 39:[47, 93], Operations: ['60-13=47', '99-6=93'] Exploring Operation: 47+93=140, Resulting Numbers: [140] 140,39 unequal: No Solution Exploring Operation: 93-47=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 47*93=4371, Resulting Numbers: [4371] 4371,39 unequal: No Solution No 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: 39:[99, 41], Operations: ['60-13=47', '47-6=41'] Exploring Operation: 99*41=4059, Resulting Numbers: [4059] 4059,39 unequal: No Solution Exploring Operation: 99+41=140, Resulting Numbers: [140] 140,39 unequal: No Solution Exploring Operation: 99-41=58, Resulting Numbers: [58] 58,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 51, 50, 40, 89 ]
50
[ "51-50=1", "89-40=49", "1+49=50" ]
Current State: 50:[51, 50, 40, 89], Operations: [] Exploring Operation: 51-50=1, Resulting Numbers: [40, 89, 1] Generated Node #2: [40, 89, 1] from Operation: 51-50=1 Current State: 50:[40, 89, 1], Operations: ['51-50=1'] Exploring Operation: 89-40=49, Resulting Numbers: [1, 49] Generated Node #3: [1, 49] from Operation: 89-40=49 Current State: 50:[1, 49], Operations: ['51-50=1', '89-40=49'] Exploring Operation: 1+49=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[51, 50, 40, 89], Operations: [] Exploring Operation: 89-51=38, Resulting Numbers: [50, 40, 38] Generated Node #0,0: 50:[50, 40, 38] Operation: 89-51=38 Exploring Operation: 89-50=39, Resulting Numbers: [51, 40, 39] Generated Node #0,1: 50:[51, 40, 39] Operation: 89-50=39 Exploring Operation: 51-40=11, Resulting Numbers: [50, 89, 11] Generated Node #0,2: 50:[50, 89, 11] Operation: 51-40=11 Exploring Operation: 50-40=10, Resulting Numbers: [51, 89, 10] Generated Node #0,3: 50:[51, 89, 10] Operation: 50-40=10 Exploring Operation: 89-40=49, Resulting Numbers: [51, 50, 49] Generated Node #0,4: 50:[51, 50, 49] Operation: 89-40=49 Moving to Node #0,4 Current State: 50:[51, 50, 49], Operations: ['89-40=49'] Exploring Operation: 51+49=100, Resulting Numbers: [50, 100] Generated Node #0,4,0: 50:[50, 100] Operation: 51+49=100 Exploring Operation: 51-50=1, Resulting Numbers: [49, 1] Generated Node #0,4,1: 50:[49, 1] Operation: 51-50=1 Exploring Operation: 51-49=2, Resulting Numbers: [50, 2] Generated Node #0,4,2: 50:[50, 2] Operation: 51-49=2 Exploring Operation: 50-49=1, Resulting Numbers: [51, 1] Generated Node #0,4,3: 50:[51, 1] Operation: 50-49=1 Exploring Operation: 50+49=99, Resulting Numbers: [51, 99] Generated Node #0,4,4: 50:[51, 99] Operation: 50+49=99 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 50:[50, 2], Operations: ['89-40=49', '51-49=2'] Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,50 unequal: No Solution Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,50 unequal: No Solution Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,50 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,50 unequal: No Solution No 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: 50:[49, 1], Operations: ['89-40=49', '51-50=1'] Exploring Operation: 49/1=49, Resulting Numbers: [49] 49,50 unequal: No Solution Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[51, 50, 40, 89], Operations: [] Exploring Operation: 89-40=49, Resulting Numbers: [51, 50, 49] Generated Node #0,4: 50:[51, 50, 49] Operation: 89-40=49 Moving to Node #0,4 Current State: 50:[51, 50, 49], Operations: ['89-40=49'] Exploring Operation: 51-50=1, Resulting Numbers: [49, 1] Generated Node #0,4,1: 50:[49, 1] Operation: 51-50=1 Moving to Node #0,4,1 Current State: 50:[49, 1], Operations: ['89-40=49', '51-50=1'] Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 40, 63, 99, 48 ]
74
[ "63-40=23", "99-48=51", "23+51=74" ]
Current State: 74:[40, 63, 99, 48], Operations: [] Exploring Operation: 63-40=23, Resulting Numbers: [99, 48, 23] Generated Node #2: [99, 48, 23] from Operation: 63-40=23 Current State: 74:[99, 48, 23], Operations: ['63-40=23'] Exploring Operation: 99-48=51, Resulting Numbers: [23, 51] Generated Node #3: [23, 51] from Operation: 99-48=51 Current State: 74:[23, 51], Operations: ['63-40=23', '99-48=51'] Exploring Operation: 23+51=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[40, 63, 99, 48], Operations: [] Exploring Operation: 63-48=15, Resulting Numbers: [40, 99, 15] Generated Node #0,0: 74:[40, 99, 15] Operation: 63-48=15 Exploring Operation: 99-63=36, Resulting Numbers: [40, 48, 36] Generated Node #0,1: 74:[40, 48, 36] Operation: 99-63=36 Exploring Operation: 99-48=51, Resulting Numbers: [40, 63, 51] Generated Node #0,2: 74:[40, 63, 51] Operation: 99-48=51 Exploring Operation: 99-40=59, Resulting Numbers: [63, 48, 59] Generated Node #0,3: 74:[63, 48, 59] Operation: 99-40=59 Moving to Node #0,1 Current State: 74:[40, 48, 36], Operations: ['99-63=36'] Exploring Operation: 40-36=4, Resulting Numbers: [48, 4] Generated Node #0,1,0: 74:[48, 4] Operation: 40-36=4 Exploring Operation: 40+36=76, Resulting Numbers: [48, 76] Generated Node #0,1,1: 74:[48, 76] Operation: 40+36=76 Exploring Operation: 48+36=84, Resulting Numbers: [40, 84] Generated Node #0,1,2: 74:[40, 84] Operation: 48+36=84 Exploring Operation: 48-40=8, Resulting Numbers: [36, 8] Generated Node #0,1,3: 74:[36, 8] Operation: 48-40=8 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 74:[36, 8], Operations: ['99-63=36', '48-40=8'] Exploring Operation: 36+8=44, Resulting Numbers: [44] 44,74 unequal: No Solution Exploring Operation: 36*8=288, Resulting Numbers: [288] 288,74 unequal: No Solution Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[48, 4], Operations: ['99-63=36', '40-36=4'] Exploring Operation: 48*4=192, Resulting Numbers: [192] 192,74 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,74 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[48, 76], Operations: ['99-63=36', '40+36=76'] Exploring Operation: 48+76=124, Resulting Numbers: [124] 124,74 unequal: No Solution Exploring Operation: 76-48=28, Resulting Numbers: [28] 28,74 unequal: No Solution Exploring Operation: 48*76=3648, Resulting Numbers: [3648] 3648,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 74:[40, 84], Operations: ['99-63=36', '48+36=84'] Exploring Operation: 84-40=44, Resulting Numbers: [44] 44,74 unequal: No Solution Exploring Operation: 40*84=3360, Resulting Numbers: [3360] 3360,74 unequal: No Solution Exploring Operation: 40+84=124, Resulting Numbers: [124] 124,74 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: 74:[40, 63, 51], Operations: ['99-48=51'] Exploring Operation: 51-40=11, Resulting Numbers: [63, 11] Generated Node #0,2,0: 74:[63, 11] Operation: 51-40=11 Exploring Operation: 63-51=12, Resulting Numbers: [40, 12] Generated Node #0,2,1: 74:[40, 12] Operation: 63-51=12 Exploring Operation: 63-40=23, Resulting Numbers: [51, 23] Generated Node #0,2,2: 74:[51, 23] Operation: 63-40=23 Exploring Operation: 40+51=91, Resulting Numbers: [63, 91] Generated Node #0,2,3: 74:[63, 91] Operation: 40+51=91 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 74:[40, 12], Operations: ['99-48=51', '63-51=12'] Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,74 unequal: No Solution Exploring Operation: 40+12=52, Resulting Numbers: [52] 52,74 unequal: No Solution Exploring Operation: 40*12=480, Resulting Numbers: [480] 480,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 74:[63, 11], Operations: ['99-48=51', '51-40=11'] Exploring Operation: 63*11=693, Resulting Numbers: [693] 693,74 unequal: No Solution Exploring Operation: 63-11=52, Resulting Numbers: [52] 52,74 unequal: No Solution Exploring Operation: 63+11=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[40, 63, 99, 48], Operations: [] Exploring Operation: 99-48=51, Resulting Numbers: [40, 63, 51] Generated Node #0,2: 74:[40, 63, 51] Operation: 99-48=51 Moving to Node #0,2 Current State: 74:[40, 63, 51], Operations: ['99-48=51'] Exploring Operation: 51-40=11, Resulting Numbers: [63, 11] Generated Node #0,2,0: 74:[63, 11] Operation: 51-40=11 Moving to Node #0,2,0 Current State: 74:[63, 11], Operations: ['99-48=51', '51-40=11'] Exploring Operation: 63+11=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
mult_heuristic
[ 28, 14, 6, 7 ]
77
[ "28-14=14", "6*14=84", "84-7=77" ]
Current State: 77:[28, 14, 6, 7], Operations: [] Exploring Operation: 28-14=14, Resulting Numbers: [6, 7, 14] Generated Node #2: [6, 7, 14] from Operation: 28-14=14 Current State: 77:[6, 7, 14], Operations: ['28-14=14'] Exploring Operation: 6*14=84, Resulting Numbers: [7, 84] Generated Node #3: [7, 84] from Operation: 6*14=84 Current State: 77:[7, 84], Operations: ['28-14=14', '6*14=84'] Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[28, 14, 6, 7], Operations: [] Exploring Operation: 28-14=14, Resulting Numbers: [6, 7, 14] Generated Node #0,0: 77:[6, 7, 14] Operation: 28-14=14 Exploring Operation: 28/14=2, Resulting Numbers: [6, 7, 2] Generated Node #0,1: 77:[6, 7, 2] Operation: 28/14=2 Moving to Node #0,0 Current State: 77:[6, 7, 14], Operations: ['28-14=14'] Exploring Operation: 14-6=8, Resulting Numbers: [7, 8] Generated Node #0,0,0: 77:[7, 8] Operation: 14-6=8 Exploring Operation: 14-7=7, Resulting Numbers: [6, 7] Generated Node #0,0,1: 77:[6, 7] Operation: 14-7=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[7, 8], Operations: ['28-14=14', '14-6=8'] Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,77 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[6, 7], Operations: ['28-14=14', '14-7=7'] Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,77 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 77:[6, 7, 2], Operations: ['28/14=2'] Exploring Operation: 6*2=12, Resulting Numbers: [7, 12] Generated Node #0,1,0: 77:[7, 12] Operation: 6*2=12 Exploring Operation: 6+2=8, Resulting Numbers: [7, 8] Generated Node #0,1,1: 77:[7, 8] Operation: 6+2=8 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[7, 12], Operations: ['28/14=2', '6*2=12'] Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,77 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,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:[7, 8], Operations: ['28/14=2', '6+2=8'] Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,77 unequal: No Solution Exploring Operation: 8-7=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_2
sum_heuristic
[ 89, 26, 45, 76 ]
32
[ "89-26=63", "76-45=31", "63-31=32" ]
Current State: 32:[89, 26, 45, 76], Operations: [] Exploring Operation: 89-26=63, Resulting Numbers: [45, 76, 63] Generated Node #2: [45, 76, 63] from Operation: 89-26=63 Current State: 32:[45, 76, 63], Operations: ['89-26=63'] Exploring Operation: 76-45=31, Resulting Numbers: [63, 31] Generated Node #3: [63, 31] from Operation: 76-45=31 Current State: 32:[63, 31], Operations: ['89-26=63', '76-45=31'] Exploring Operation: 63-31=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[89, 26, 45, 76], Operations: [] Exploring Operation: 76-26=50, Resulting Numbers: [89, 45, 50] Generated Node #0,0: 32:[89, 45, 50] Operation: 76-26=50 Exploring Operation: 89-76=13, Resulting Numbers: [26, 45, 13] Generated Node #0,1: 32:[26, 45, 13] Operation: 89-76=13 Exploring Operation: 89-45=44, Resulting Numbers: [26, 76, 44] Generated Node #0,2: 32:[26, 76, 44] Operation: 89-45=44 Exploring Operation: 76-45=31, Resulting Numbers: [89, 26, 31] Generated Node #0,3: 32:[89, 26, 31] Operation: 76-45=31 Exploring Operation: 89-26=63, Resulting Numbers: [45, 76, 63] Generated Node #0,4: 32:[45, 76, 63] Operation: 89-26=63 Moving to Node #0,1 Current State: 32:[26, 45, 13], Operations: ['89-76=13'] Exploring Operation: 45-26=19, Resulting Numbers: [13, 19] Generated Node #0,1,0: 32:[13, 19] Operation: 45-26=19 Exploring Operation: 26/13=2, Resulting Numbers: [45, 2] Generated Node #0,1,1: 32:[45, 2] Operation: 26/13=2 Exploring Operation: 26+13=39, Resulting Numbers: [45, 39] Generated Node #0,1,2: 32:[45, 39] Operation: 26+13=39 Exploring Operation: 26-13=13, Resulting Numbers: [45, 13] Generated Node #0,1,3: 32:[45, 13] Operation: 26-13=13 Exploring Operation: 45-13=32, Resulting Numbers: [26, 32] Generated Node #0,1,4: 32:[26, 32] Operation: 45-13=32 Moving to Node #0,2 Current State: 32:[26, 76, 44], Operations: ['89-45=44'] Exploring Operation: 76-44=32, Resulting Numbers: [26, 32] Generated Node #0,2,0: 32:[26, 32] Operation: 76-44=32 Exploring Operation: 44-26=18, Resulting Numbers: [76, 18] Generated Node #0,2,1: 32:[76, 18] Operation: 44-26=18 Exploring Operation: 26+44=70, Resulting Numbers: [76, 70] Generated Node #0,2,2: 32:[76, 70] Operation: 26+44=70 Exploring Operation: 76-26=50, Resulting Numbers: [44, 50] Generated Node #0,2,3: 32:[44, 50] Operation: 76-26=50 Exploring Operation: 26+76=102, Resulting Numbers: [44, 102] Generated Node #0,2,4: 32:[44, 102] Operation: 26+76=102 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 32:[26, 32], Operations: ['89-45=44', '76-44=32'] Exploring Operation: 26+32=58, Resulting Numbers: [58] 58,32 unequal: No Solution Exploring Operation: 26*32=832, Resulting Numbers: [832] 832,32 unequal: No Solution Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,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,3 Current State: 32:[44, 50], Operations: ['89-45=44', '76-26=50'] Exploring Operation: 44+50=94, Resulting Numbers: [94] 94,32 unequal: No Solution Exploring Operation: 50-44=6, Resulting Numbers: [6] 6,32 unequal: No Solution Exploring Operation: 44*50=2200, Resulting Numbers: [2200] 2200,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:[76, 18], Operations: ['89-45=44', '44-26=18'] Exploring Operation: 76*18=1368, Resulting Numbers: [1368] 1368,32 unequal: No Solution Exploring Operation: 76+18=94, Resulting Numbers: [94] 94,32 unequal: No Solution Exploring Operation: 76-18=58, Resulting Numbers: [58] 58,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:[76, 70], Operations: ['89-45=44', '26+44=70'] Exploring Operation: 76+70=146, Resulting Numbers: [146] 146,32 unequal: No Solution Exploring Operation: 76*70=5320, Resulting Numbers: [5320] 5320,32 unequal: No Solution Exploring Operation: 76-70=6, Resulting Numbers: [6] 6,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,4 Current State: 32:[44, 102], Operations: ['89-45=44', '26+76=102'] Exploring Operation: 44*102=4488, Resulting Numbers: [4488] 4488,32 unequal: No Solution Exploring Operation: 44+102=146, Resulting Numbers: [146] 146,32 unequal: No Solution Exploring Operation: 102-44=58, Resulting Numbers: [58] 58,32 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: 32:[89, 26, 31], Operations: ['76-45=31'] Exploring Operation: 89-26=63, Resulting Numbers: [31, 63] Generated Node #0,3,0: 32:[31, 63] Operation: 89-26=63 Exploring Operation: 31-26=5, Resulting Numbers: [89, 5] Generated Node #0,3,1: 32:[89, 5] Operation: 31-26=5 Exploring Operation: 26+31=57, Resulting Numbers: [89, 57] Generated Node #0,3,2: 32:[89, 57] Operation: 26+31=57 Exploring Operation: 89+26=115, Resulting Numbers: [31, 115] Generated Node #0,3,3: 32:[31, 115] Operation: 89+26=115 Exploring Operation: 89-31=58, Resulting Numbers: [26, 58] Generated Node #0,3,4: 32:[26, 58] Operation: 89-31=58 Moving to Node #0,0 Current State: 32:[89, 45, 50], Operations: ['76-26=50'] Exploring Operation: 89+50=139, Resulting Numbers: [45, 139] Generated Node #0,0,0: 32:[45, 139] Operation: 89+50=139 Exploring Operation: 89-45=44, Resulting Numbers: [50, 44] Generated Node #0,0,1: 32:[50, 44] Operation: 89-45=44 Exploring Operation: 50-45=5, Resulting Numbers: [89, 5] Generated Node #0,0,2: 32:[89, 5] Operation: 50-45=5 Exploring Operation: 89-50=39, Resulting Numbers: [45, 39] Generated Node #0,0,3: 32:[45, 39] Operation: 89-50=39 Exploring Operation: 89+45=134, Resulting Numbers: [50, 134] Generated Node #0,0,4: 32:[50, 134] Operation: 89+45=134 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 32:[45, 39], Operations: ['76-26=50', '89-50=39'] Exploring Operation: 45*39=1755, Resulting Numbers: [1755] 1755,32 unequal: No Solution Exploring Operation: 45+39=84, Resulting Numbers: [84] 84,32 unequal: No Solution Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,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,0,1 Current State: 32:[50, 44], Operations: ['76-26=50', '89-45=44'] Exploring Operation: 50*44=2200, Resulting Numbers: [2200] 2200,32 unequal: No Solution Exploring Operation: 50-44=6, Resulting Numbers: [6] 6,32 unequal: No Solution Exploring Operation: 50+44=94, Resulting Numbers: [94] 94,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,0,2 Current State: 32:[89, 5], Operations: ['76-26=50', '50-45=5'] Exploring Operation: 89*5=445, Resulting Numbers: [445] 445,32 unequal: No Solution Exploring Operation: 89+5=94, Resulting Numbers: [94] 94,32 unequal: No Solution Exploring Operation: 89-5=84, Resulting Numbers: [84] 84,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,0,0 Current State: 32:[45, 139], Operations: ['76-26=50', '89+50=139'] Exploring Operation: 139-45=94, Resulting Numbers: [94] 94,32 unequal: No Solution Exploring Operation: 45*139=6255, Resulting Numbers: [6255] 6255,32 unequal: No Solution Exploring Operation: 45+139=184, Resulting Numbers: [184] 184,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,0,4 Current State: 32:[50, 134], Operations: ['76-26=50', '89+45=134'] Exploring Operation: 50*134=6700, Resulting Numbers: [6700] 6700,32 unequal: No Solution Exploring Operation: 50+134=184, Resulting Numbers: [184] 184,32 unequal: No Solution Exploring Operation: 134-50=84, Resulting Numbers: [84] 84,32 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: 32:[45, 76, 63], Operations: ['89-26=63'] Exploring Operation: 76-45=31, Resulting Numbers: [63, 31] Generated Node #0,4,0: 32:[63, 31] Operation: 76-45=31 Exploring Operation: 45+63=108, Resulting Numbers: [76, 108] Generated Node #0,4,1: 32:[76, 108] Operation: 45+63=108 Exploring Operation: 76-63=13, Resulting Numbers: [45, 13] Generated Node #0,4,2: 32:[45, 13] Operation: 76-63=13 Exploring Operation: 63-45=18, Resulting Numbers: [76, 18] Generated Node #0,4,3: 32:[76, 18] Operation: 63-45=18 Exploring Operation: 45+76=121, Resulting Numbers: [63, 121] Generated Node #0,4,4: 32:[63, 121] Operation: 45+76=121 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 32:[45, 13], Operations: ['89-26=63', '76-63=13'] Exploring Operation: 45*13=585, Resulting Numbers: [585] 585,32 unequal: No Solution Exploring Operation: 45+13=58, Resulting Numbers: [58] 58,32 unequal: No Solution Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[89, 26, 45, 76], Operations: [] Exploring Operation: 89-26=63, Resulting Numbers: [45, 76, 63] Generated Node #0,4: 32:[45, 76, 63] Operation: 89-26=63 Moving to Node #0,4 Current State: 32:[45, 76, 63], Operations: ['89-26=63'] Exploring Operation: 76-63=13, Resulting Numbers: [45, 13] Generated Node #0,4,2: 32:[45, 13] Operation: 76-63=13 Moving to Node #0,4,2 Current State: 32:[45, 13], Operations: ['89-26=63', '76-63=13'] Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.94184
hs_5
mult_heuristic
[ 73, 88, 6, 13 ]
78
[ "73-13=60", "60/6=10", "88-10=78" ]
Current State: 78:[73, 88, 6, 13], Operations: [] Exploring Operation: 73-13=60, Resulting Numbers: [88, 6, 60] Generated Node #2: [88, 6, 60] from Operation: 73-13=60 Current State: 78:[88, 6, 60], Operations: ['73-13=60'] Exploring Operation: 60/6=10, Resulting Numbers: [88, 10] Generated Node #3: [88, 10] from Operation: 60/6=10 Current State: 78:[88, 10], Operations: ['73-13=60', '60/6=10'] Exploring Operation: 88-10=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[73, 88, 6, 13], Operations: [] Exploring Operation: 88-6=82, Resulting Numbers: [73, 13, 82] Generated Node #0,0: 78:[73, 13, 82] Operation: 88-6=82 Exploring Operation: 88-13=75, Resulting Numbers: [73, 6, 75] Generated Node #0,1: 78:[73, 6, 75] Operation: 88-13=75 Exploring Operation: 88-73=15, Resulting Numbers: [6, 13, 15] Generated Node #0,2: 78:[6, 13, 15] Operation: 88-73=15 Start Sub Search at level 1: Moving to Node #0,2 Current State: 78:[6, 13, 15], Operations: ['88-73=15'] Exploring Operation: 13+15=28, Resulting Numbers: [6, 28] Generated Node #0,2,0: 78:[6, 28] Operation: 13+15=28 Exploring Operation: 6*13=78, Resulting Numbers: [15, 78] Generated Node #0,2,1: 78:[15, 78] Operation: 6*13=78 Exploring Operation: 15-13=2, Resulting Numbers: [6, 2] Generated Node #0,2,2: 78:[6, 2] Operation: 15-13=2 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 78:[6, 2], Operations: ['88-73=15', '15-13=2'] Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,78 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,78 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 78:[6, 28], Operations: ['88-73=15', '13+15=28'] Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,78 unequal: No Solution Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,78 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 78:[15, 78], Operations: ['88-73=15', '6*13=78'] Exploring Operation: 15+78=93, Resulting Numbers: [93] 93,78 unequal: No Solution Exploring Operation: 78-15=63, Resulting Numbers: [63] 63,78 unequal: No Solution Exploring Operation: 15*78=1170, Resulting Numbers: [1170] 1170,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[73, 6, 75], Operations: ['88-13=75'] Exploring Operation: 6+75=81, Resulting Numbers: [73, 81] Generated Node #0,1,0: 78:[73, 81] Operation: 6+75=81 Exploring Operation: 75-73=2, Resulting Numbers: [6, 2] Generated Node #0,1,1: 78:[6, 2] Operation: 75-73=2 Exploring Operation: 73+6=79, Resulting Numbers: [75, 79] Generated Node #0,1,2: 78:[75, 79] Operation: 73+6=79 Moving to Node #0,1,1 Current State: 78:[6, 2], Operations: ['88-13=75', '75-73=2'] Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,78 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,78 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,78 unequal: No Solution Moving to Node #0,1,2 Current State: 78:[75, 79], Operations: ['88-13=75', '73+6=79'] Exploring Operation: 75*79=5925, Resulting Numbers: [5925] 5925,78 unequal: No Solution Exploring Operation: 75+79=154, Resulting Numbers: [154] 154,78 unequal: No Solution Exploring Operation: 79-75=4, Resulting Numbers: [4] 4,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[73, 81], Operations: ['88-13=75', '6+75=81'] Exploring Operation: 81-73=8, Resulting Numbers: [8] 8,78 unequal: No Solution Exploring Operation: 73+81=154, Resulting Numbers: [154] 154,78 unequal: No Solution Exploring Operation: 73*81=5913, Resulting Numbers: [5913] 5913,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[73, 13, 82], Operations: ['88-6=82'] Exploring Operation: 82-13=69, Resulting Numbers: [73, 69] Generated Node #0,0,0: 78:[73, 69] Operation: 82-13=69 Exploring Operation: 73+13=86, Resulting Numbers: [82, 86] Generated Node #0,0,1: 78:[82, 86] Operation: 73+13=86 Exploring Operation: 82-73=9, Resulting Numbers: [13, 9] Generated Node #0,0,2: 78:[13, 9] Operation: 82-73=9 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 78:[13, 9], Operations: ['88-6=82', '82-73=9'] Exploring Operation: 13*9=117, Resulting Numbers: [117] 117,78 unequal: No Solution Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,78 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 78:[82, 86], Operations: ['88-6=82', '73+13=86'] Exploring Operation: 82+86=168, Resulting Numbers: [168] 168,78 unequal: No Solution Exploring Operation: 86-82=4, Resulting Numbers: [4] 4,78 unequal: No Solution Exploring Operation: 82*86=7052, Resulting Numbers: [7052] 7052,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[73, 69], Operations: ['88-6=82', '82-13=69'] Exploring Operation: 73*69=5037, Resulting Numbers: [5037] 5037,78 unequal: No Solution Exploring Operation: 73+69=142, Resulting Numbers: [142] 142,78 unequal: No Solution Exploring Operation: 73-69=4, Resulting Numbers: [4] 4,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 34, 46, 96, 32 ]
76
[ "46-34=12", "96-32=64", "12+64=76" ]
Current State: 76:[34, 46, 96, 32], Operations: [] Exploring Operation: 46-34=12, Resulting Numbers: [96, 32, 12] Generated Node #2: [96, 32, 12] from Operation: 46-34=12 Current State: 76:[96, 32, 12], Operations: ['46-34=12'] Exploring Operation: 96-32=64, Resulting Numbers: [12, 64] Generated Node #3: [12, 64] from Operation: 96-32=64 Current State: 76:[12, 64], Operations: ['46-34=12', '96-32=64'] Exploring Operation: 12+64=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[34, 46, 96, 32], Operations: [] Exploring Operation: 96-32=64, Resulting Numbers: [34, 46, 64] Generated Node #0,0: 76:[34, 46, 64] Operation: 96-32=64 Exploring Operation: 96/32=3, Resulting Numbers: [34, 46, 3] Generated Node #0,1: 76:[34, 46, 3] Operation: 96/32=3 Exploring Operation: 46+32=78, Resulting Numbers: [34, 96, 78] Generated Node #0,2: 76:[34, 96, 78] Operation: 46+32=78 Exploring Operation: 96-46=50, Resulting Numbers: [34, 32, 50] Generated Node #0,3: 76:[34, 32, 50] Operation: 96-46=50 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[34, 46, 3], Operations: ['96/32=3'] Exploring Operation: 34+46=80, Resulting Numbers: [3, 80] Generated Node #0,1,0: 76:[3, 80] Operation: 34+46=80 Exploring Operation: 34+3=37, Resulting Numbers: [46, 37] Generated Node #0,1,1: 76:[46, 37] Operation: 34+3=37 Exploring Operation: 46-3=43, Resulting Numbers: [34, 43] Generated Node #0,1,2: 76:[34, 43] Operation: 46-3=43 Exploring Operation: 46-34=12, Resulting Numbers: [3, 12] Generated Node #0,1,3: 76:[3, 12] Operation: 46-34=12 Moving to Node #0,1,0 Current State: 76:[3, 80], Operations: ['96/32=3', '34+46=80'] Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,76 unequal: No Solution Exploring Operation: 3*80=240, Resulting Numbers: [240] 240,76 unequal: No Solution Exploring Operation: 3+80=83, Resulting Numbers: [83] 83,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[3, 12], Operations: ['96/32=3', '46-34=12'] Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,76 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[34, 43], Operations: ['96/32=3', '46-3=43'] Exploring Operation: 34*43=1462, Resulting Numbers: [1462] 1462,76 unequal: No Solution Exploring Operation: 34+43=77, Resulting Numbers: [77] 77,76 unequal: No Solution Exploring Operation: 43-34=9, Resulting Numbers: [9] 9,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[46, 37], Operations: ['96/32=3', '34+3=37'] Exploring Operation: 46+37=83, Resulting Numbers: [83] 83,76 unequal: No Solution Exploring Operation: 46-37=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 46*37=1702, Resulting Numbers: [1702] 1702,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 76:[34, 32, 50], Operations: ['96-46=50'] Exploring Operation: 50-34=16, Resulting Numbers: [32, 16] Generated Node #0,3,0: 76:[32, 16] Operation: 50-34=16 Exploring Operation: 32+50=82, Resulting Numbers: [34, 82] Generated Node #0,3,1: 76:[34, 82] Operation: 32+50=82 Exploring Operation: 34-32=2, Resulting Numbers: [50, 2] Generated Node #0,3,2: 76:[50, 2] Operation: 34-32=2 Exploring Operation: 50-32=18, Resulting Numbers: [34, 18] Generated Node #0,3,3: 76:[34, 18] Operation: 50-32=18 Moving to Node #0,3,3 Current State: 76:[34, 18], Operations: ['96-46=50', '50-32=18'] Exploring Operation: 34+18=52, Resulting Numbers: [52] 52,76 unequal: No Solution Exploring Operation: 34*18=612, Resulting Numbers: [612] 612,76 unequal: No Solution Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,76 unequal: No Solution Moving to Node #0,3,0 Current State: 76:[32, 16], Operations: ['96-46=50', '50-34=16'] Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,76 unequal: No Solution Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 32*16=512, Resulting Numbers: [512] 512,76 unequal: No Solution Exploring Operation: 32+16=48, Resulting Numbers: [48] 48,76 unequal: No Solution Moving to Node #0,3,1 Current State: 76:[34, 82], Operations: ['96-46=50', '32+50=82'] Exploring Operation: 82-34=48, Resulting Numbers: [48] 48,76 unequal: No Solution Exploring Operation: 34+82=116, Resulting Numbers: [116] 116,76 unequal: No Solution Exploring Operation: 34*82=2788, Resulting Numbers: [2788] 2788,76 unequal: No Solution Moving to Node #0,3,2 Current State: 76:[50, 2], Operations: ['96-46=50', '34-32=2'] Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,76 unequal: No Solution Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,76 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,76 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[34, 46, 64], Operations: ['96-32=64'] Exploring Operation: 46-34=12, Resulting Numbers: [64, 12] Generated Node #0,0,0: 76:[64, 12] Operation: 46-34=12 Exploring Operation: 64-34=30, Resulting Numbers: [46, 30] Generated Node #0,0,1: 76:[46, 30] Operation: 64-34=30 Exploring Operation: 64-46=18, Resulting Numbers: [34, 18] Generated Node #0,0,2: 76:[34, 18] Operation: 64-46=18 Exploring Operation: 34+46=80, Resulting Numbers: [64, 80] Generated Node #0,0,3: 76:[64, 80] Operation: 34+46=80 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 76:[34, 18], Operations: ['96-32=64', '64-46=18'] Exploring Operation: 34+18=52, Resulting Numbers: [52] 52,76 unequal: No Solution Exploring Operation: 34*18=612, Resulting Numbers: [612] 612,76 unequal: No Solution Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 76:[46, 30], Operations: ['96-32=64', '64-34=30'] Exploring Operation: 46*30=1380, Resulting Numbers: [1380] 1380,76 unequal: No Solution Exploring Operation: 46+30=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[34, 46, 96, 32], Operations: [] Exploring Operation: 96-32=64, Resulting Numbers: [34, 46, 64] Generated Node #0,0: 76:[34, 46, 64] Operation: 96-32=64 Moving to Node #0,0 Current State: 76:[34, 46, 64], Operations: ['96-32=64'] Exploring Operation: 64-34=30, Resulting Numbers: [46, 30] Generated Node #0,0,1: 76:[46, 30] Operation: 64-34=30 Moving to Node #0,0,1 Current State: 76:[46, 30], Operations: ['96-32=64', '64-34=30'] Exploring Operation: 46+30=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.954861
hs_4
sum_heuristic
[ 76, 4, 64, 29 ]
21
[ "76-4=72", "64+29=93", "93-72=21" ]
Current State: 21:[76, 4, 64, 29], Operations: [] Exploring Operation: 76-4=72, Resulting Numbers: [64, 29, 72] Generated Node #2: [64, 29, 72] from Operation: 76-4=72 Current State: 21:[64, 29, 72], Operations: ['76-4=72'] Exploring Operation: 64+29=93, Resulting Numbers: [72, 93] Generated Node #3: [72, 93] from Operation: 64+29=93 Current State: 21:[72, 93], Operations: ['76-4=72', '64+29=93'] Exploring Operation: 93-72=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[76, 4, 64, 29], Operations: [] Exploring Operation: 76-64=12, Resulting Numbers: [4, 29, 12] Generated Node #0,0: 21:[4, 29, 12] Operation: 76-64=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[4, 29, 12], Operations: ['76-64=12'] Exploring Operation: 29-12=17, Resulting Numbers: [4, 17] Generated Node #0,0,0: 21:[4, 17] Operation: 29-12=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[4, 17], Operations: ['76-64=12', '29-12=17'] Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[76, 4, 64, 29], Operations: [] Exploring Operation: 76-64=12, Resulting Numbers: [4, 29, 12] Generated Node #0,0: 21:[4, 29, 12] Operation: 76-64=12 Moving to Node #0,0 Current State: 21:[4, 29, 12], Operations: ['76-64=12'] Exploring Operation: 29-12=17, Resulting Numbers: [4, 17] Generated Node #0,0,0: 21:[4, 17] Operation: 29-12=17 Moving to Node #0,0,0 Current State: 21:[4, 17], Operations: ['76-64=12', '29-12=17'] Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 15, 28, 10, 39 ]
83
[ "15*10=150", "28+39=67", "150-67=83" ]
Current State: 83:[15, 28, 10, 39], Operations: [] Exploring Operation: 15*10=150, Resulting Numbers: [28, 39, 150] Generated Node #2: [28, 39, 150] from Operation: 15*10=150 Current State: 83:[28, 39, 150], Operations: ['15*10=150'] Exploring Operation: 28+39=67, Resulting Numbers: [150, 67] Generated Node #3: [150, 67] from Operation: 28+39=67 Current State: 83:[150, 67], Operations: ['15*10=150', '28+39=67'] Exploring Operation: 150-67=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[15, 28, 10, 39], Operations: [] Exploring Operation: 15+39=54, Resulting Numbers: [28, 10, 54] Generated Node #0,0: 83:[28, 10, 54] Operation: 15+39=54 Exploring Operation: 28+10=38, Resulting Numbers: [15, 39, 38] Generated Node #0,1: 83:[15, 39, 38] Operation: 28+10=38 Exploring Operation: 15+10=25, Resulting Numbers: [28, 39, 25] Generated Node #0,2: 83:[28, 39, 25] Operation: 15+10=25 Exploring Operation: 15+28=43, Resulting Numbers: [10, 39, 43] Generated Node #0,3: 83:[10, 39, 43] Operation: 15+28=43 Moving to Node #0,0 Current State: 83:[28, 10, 54], Operations: ['15+39=54'] Exploring Operation: 10+54=64, Resulting Numbers: [28, 64] Generated Node #0,0,0: 83:[28, 64] Operation: 10+54=64 Exploring Operation: 28+10=38, Resulting Numbers: [54, 38] Generated Node #0,0,1: 83:[54, 38] Operation: 28+10=38 Exploring Operation: 28-10=18, Resulting Numbers: [54, 18] Generated Node #0,0,2: 83:[54, 18] Operation: 28-10=18 Exploring Operation: 28+54=82, Resulting Numbers: [10, 82] Generated Node #0,0,3: 83:[10, 82] Operation: 28+54=82 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[28, 64], Operations: ['15+39=54', '10+54=64'] Exploring Operation: 28+64=92, Resulting Numbers: [92] 92,83 unequal: No Solution Exploring Operation: 64-28=36, Resulting Numbers: [36] 36,83 unequal: No Solution Exploring Operation: 28*64=1792, Resulting Numbers: [1792] 1792,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[54, 38], Operations: ['15+39=54', '28+10=38'] Exploring Operation: 54-38=16, Resulting Numbers: [16] 16,83 unequal: No Solution Exploring Operation: 54*38=2052, Resulting Numbers: [2052] 2052,83 unequal: No Solution Exploring Operation: 54+38=92, Resulting Numbers: [92] 92,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 83:[10, 82], Operations: ['15+39=54', '28+54=82'] Exploring Operation: 10+82=92, Resulting Numbers: [92] 92,83 unequal: No Solution Exploring Operation: 10*82=820, Resulting Numbers: [820] 820,83 unequal: No Solution Exploring Operation: 82-10=72, Resulting Numbers: [72] 72,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 83:[54, 18], Operations: ['15+39=54', '28-10=18'] Exploring Operation: 54/18=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 54+18=72, Resulting Numbers: [72] 72,83 unequal: No Solution Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,83 unequal: No Solution Exploring Operation: 54*18=972, Resulting Numbers: [972] 972,83 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: 83:[28, 39, 25], Operations: ['15+10=25'] Exploring Operation: 39+25=64, Resulting Numbers: [28, 64] Generated Node #0,2,0: 83:[28, 64] Operation: 39+25=64 Exploring Operation: 28-25=3, Resulting Numbers: [39, 3] Generated Node #0,2,1: 83:[39, 3] Operation: 28-25=3 Exploring Operation: 28+39=67, Resulting Numbers: [25, 67] Generated Node #0,2,2: 83:[25, 67] Operation: 28+39=67 Exploring Operation: 28+25=53, Resulting Numbers: [39, 53] Generated Node #0,2,3: 83:[39, 53] Operation: 28+25=53 Moving to Node #0,1 Current State: 83:[15, 39, 38], Operations: ['28+10=38'] Exploring Operation: 39-15=24, Resulting Numbers: [38, 24] Generated Node #0,1,0: 83:[38, 24] Operation: 39-15=24 Exploring Operation: 15+39=54, Resulting Numbers: [38, 54] Generated Node #0,1,1: 83:[38, 54] Operation: 15+39=54 Exploring Operation: 39+38=77, Resulting Numbers: [15, 77] Generated Node #0,1,2: 83:[15, 77] Operation: 39+38=77 Exploring Operation: 15+38=53, Resulting Numbers: [39, 53] Generated Node #0,1,3: 83:[39, 53] Operation: 15+38=53 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[38, 54], Operations: ['28+10=38', '15+39=54'] Exploring Operation: 38+54=92, Resulting Numbers: [92] 92,83 unequal: No Solution Exploring Operation: 54-38=16, Resulting Numbers: [16] 16,83 unequal: No Solution Exploring Operation: 38*54=2052, Resulting Numbers: [2052] 2052,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[15, 77], Operations: ['28+10=38', '39+38=77'] Exploring Operation: 15+77=92, Resulting Numbers: [92] 92,83 unequal: No Solution Exploring Operation: 15*77=1155, Resulting Numbers: [1155] 1155,83 unequal: No Solution Exploring Operation: 77-15=62, Resulting Numbers: [62] 62,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 83:[39, 53], Operations: ['28+10=38', '15+38=53'] Exploring Operation: 39+53=92, Resulting Numbers: [92] 92,83 unequal: No Solution Exploring Operation: 53-39=14, Resulting Numbers: [14] 14,83 unequal: No Solution Exploring Operation: 39*53=2067, Resulting Numbers: [2067] 2067,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[38, 24], Operations: ['28+10=38', '39-15=24'] Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,83 unequal: No Solution Exploring Operation: 38+24=62, Resulting Numbers: [62] 62,83 unequal: No Solution Exploring Operation: 38*24=912, Resulting Numbers: [912] 912,83 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: 83:[10, 39, 43], Operations: ['15+28=43'] Exploring Operation: 39-10=29, Resulting Numbers: [43, 29] Generated Node #0,3,0: 83:[43, 29] Operation: 39-10=29 Exploring Operation: 10+39=49, Resulting Numbers: [43, 49] Generated Node #0,3,1: 83:[43, 49] Operation: 10+39=49 Exploring Operation: 39+43=82, Resulting Numbers: [10, 82] Generated Node #0,3,2: 83:[10, 82] Operation: 39+43=82 Exploring Operation: 10+43=53, Resulting Numbers: [39, 53] Generated Node #0,3,3: 83:[39, 53] Operation: 10+43=53 Moving to Node #0,2,0 Current State: 83:[28, 64], Operations: ['15+10=25', '39+25=64'] Exploring Operation: 64-28=36, Resulting Numbers: [36] 36,83 unequal: No Solution Exploring Operation: 28*64=1792, Resulting Numbers: [1792] 1792,83 unequal: No Solution Exploring Operation: 28+64=92, Resulting Numbers: [92] 92,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[39, 53], Operations: ['15+10=25', '28+25=53'] Exploring Operation: 39*53=2067, Resulting Numbers: [2067] 2067,83 unequal: No Solution Exploring Operation: 39+53=92, Resulting Numbers: [92] 92,83 unequal: No Solution Exploring Operation: 53-39=14, Resulting Numbers: [14] 14,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[39, 53], Operations: ['15+28=43', '10+43=53'] Exploring Operation: 53-39=14, Resulting Numbers: [14] 14,83 unequal: No Solution Exploring Operation: 39+53=92, Resulting Numbers: [92] 92,83 unequal: No Solution Exploring Operation: 39*53=2067, Resulting Numbers: [2067] 2067,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[10, 82], Operations: ['15+28=43', '39+43=82'] Exploring Operation: 10+82=92, Resulting Numbers: [92] 92,83 unequal: No Solution Exploring Operation: 82-10=72, Resulting Numbers: [72] 72,83 unequal: No Solution Exploring Operation: 10*82=820, Resulting Numbers: [820] 820,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[25, 67], Operations: ['15+10=25', '28+39=67'] Exploring Operation: 67-25=42, Resulting Numbers: [42] 42,83 unequal: No Solution Exploring Operation: 25*67=1675, Resulting Numbers: [1675] 1675,83 unequal: No Solution Exploring Operation: 25+67=92, Resulting Numbers: [92] 92,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[43, 49], Operations: ['15+28=43', '10+39=49'] Exploring Operation: 49-43=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 43*49=2107, Resulting Numbers: [2107] 2107,83 unequal: No Solution Exploring Operation: 43+49=92, Resulting Numbers: [92] 92,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[43, 29], Operations: ['15+28=43', '39-10=29'] Exploring Operation: 43*29=1247, Resulting Numbers: [1247] 1247,83 unequal: No Solution Exploring Operation: 43-29=14, Resulting Numbers: [14] 14,83 unequal: No Solution Exploring Operation: 43+29=72, Resulting Numbers: [72] 72,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[39, 3], Operations: ['15+10=25', '28-25=3'] Exploring Operation: 39*3=117, Resulting Numbers: [117] 117,83 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,83 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,83 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 17, 30, 72, 43 ]
68
[ "17+30=47", "72+43=115", "115-47=68" ]
Current State: 68:[17, 30, 72, 43], Operations: [] Exploring Operation: 17+30=47, Resulting Numbers: [72, 43, 47] Generated Node #2: [72, 43, 47] from Operation: 17+30=47 Current State: 68:[72, 43, 47], Operations: ['17+30=47'] Exploring Operation: 72+43=115, Resulting Numbers: [47, 115] Generated Node #3: [47, 115] from Operation: 72+43=115 Current State: 68:[47, 115], Operations: ['17+30=47', '72+43=115'] Exploring Operation: 115-47=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[17, 30, 72, 43], Operations: [] Exploring Operation: 43-30=13, Resulting Numbers: [17, 72, 13] Generated Node #0,0: 68:[17, 72, 13] Operation: 43-30=13 Moving to Node #0,0 Current State: 68:[17, 72, 13], Operations: ['43-30=13'] Exploring Operation: 17-13=4, Resulting Numbers: [72, 4] Generated Node #0,0,0: 68:[72, 4] Operation: 17-13=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[72, 4], Operations: ['43-30=13', '17-13=4'] Exploring Operation: 72-4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[17, 30, 72, 43], Operations: [] Exploring Operation: 43-30=13, Resulting Numbers: [17, 72, 13] Generated Node #0,0: 68:[17, 72, 13] Operation: 43-30=13 Moving to Node #0,0 Current State: 68:[17, 72, 13], Operations: ['43-30=13'] Exploring Operation: 17-13=4, Resulting Numbers: [72, 4] Generated Node #0,0,0: 68:[72, 4] Operation: 17-13=4 Moving to Node #0,0,0 Current State: 68:[72, 4], Operations: ['43-30=13', '17-13=4'] Exploring Operation: 72-4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 26, 99, 70, 42 ]
39
[ "99-26=73", "70+42=112", "112-73=39" ]
Current State: 39:[26, 99, 70, 42], Operations: [] Exploring Operation: 99-26=73, Resulting Numbers: [70, 42, 73] Generated Node #2: [70, 42, 73] from Operation: 99-26=73 Current State: 39:[70, 42, 73], Operations: ['99-26=73'] Exploring Operation: 70+42=112, Resulting Numbers: [73, 112] Generated Node #3: [73, 112] from Operation: 70+42=112 Current State: 39:[73, 112], Operations: ['99-26=73', '70+42=112'] Exploring Operation: 112-73=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[26, 99, 70, 42], Operations: [] Exploring Operation: 99-70=29, Resulting Numbers: [26, 42, 29] Generated Node #0,0: 39:[26, 42, 29] Operation: 99-70=29 Exploring Operation: 99-42=57, Resulting Numbers: [26, 70, 57] Generated Node #0,1: 39:[26, 70, 57] Operation: 99-42=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[26, 42, 29], Operations: ['99-70=29'] Exploring Operation: 42-26=16, Resulting Numbers: [29, 16] Generated Node #0,0,0: 39:[29, 16] Operation: 42-26=16 Exploring Operation: 29-26=3, Resulting Numbers: [42, 3] Generated Node #0,0,1: 39:[42, 3] Operation: 29-26=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 39:[42, 3], Operations: ['99-70=29', '29-26=3'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[26, 99, 70, 42], Operations: [] Exploring Operation: 99-70=29, Resulting Numbers: [26, 42, 29] Generated Node #0,0: 39:[26, 42, 29] Operation: 99-70=29 Moving to Node #0,0 Current State: 39:[26, 42, 29], Operations: ['99-70=29'] Exploring Operation: 29-26=3, Resulting Numbers: [42, 3] Generated Node #0,0,1: 39:[42, 3] Operation: 29-26=3 Moving to Node #0,0,1 Current State: 39:[42, 3], Operations: ['99-70=29', '29-26=3'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 96, 1, 24, 30 ]
41
[ "96-1=95", "24+30=54", "95-54=41" ]
Current State: 41:[96, 1, 24, 30], Operations: [] Exploring Operation: 96-1=95, Resulting Numbers: [24, 30, 95] Generated Node #2: [24, 30, 95] from Operation: 96-1=95 Current State: 41:[24, 30, 95], Operations: ['96-1=95'] Exploring Operation: 24+30=54, Resulting Numbers: [95, 54] Generated Node #3: [95, 54] from Operation: 24+30=54 Current State: 41:[95, 54], Operations: ['96-1=95', '24+30=54'] Exploring Operation: 95-54=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[96, 1, 24, 30], Operations: [] Exploring Operation: 96-1=95, Resulting Numbers: [24, 30, 95] Generated Node #0,0: 41:[24, 30, 95] Operation: 96-1=95 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[24, 30, 95], Operations: ['96-1=95'] Exploring Operation: 95-24=71, Resulting Numbers: [30, 71] Generated Node #0,0,0: 41:[30, 71] Operation: 95-24=71 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[30, 71], Operations: ['96-1=95', '95-24=71'] Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[96, 1, 24, 30], Operations: [] Exploring Operation: 96-1=95, Resulting Numbers: [24, 30, 95] Generated Node #0,0: 41:[24, 30, 95] Operation: 96-1=95 Moving to Node #0,0 Current State: 41:[24, 30, 95], Operations: ['96-1=95'] Exploring Operation: 95-24=71, Resulting Numbers: [30, 71] Generated Node #0,0,0: 41:[30, 71] Operation: 95-24=71 Moving to Node #0,0,0 Current State: 41:[30, 71], Operations: ['96-1=95', '95-24=71'] Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 90, 20, 1, 17 ]
29
[ "20-17=3", "90/3=30", "30-1=29" ]
Current State: 29:[90, 20, 1, 17], Operations: [] Exploring Operation: 20-17=3, Resulting Numbers: [90, 1, 3] Generated Node #2: [90, 1, 3] from Operation: 20-17=3 Current State: 29:[90, 1, 3], Operations: ['20-17=3'] Exploring Operation: 90/3=30, Resulting Numbers: [1, 30] Generated Node #3: [1, 30] from Operation: 90/3=30 Current State: 29:[1, 30], Operations: ['20-17=3', '90/3=30'] Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[90, 20, 1, 17], Operations: [] Exploring Operation: 90-20=70, Resulting Numbers: [1, 17, 70] Generated Node #0,0: 29:[1, 17, 70] Operation: 90-20=70 Moving to Node #0,0 Current State: 29:[1, 17, 70], Operations: ['90-20=70'] Exploring Operation: 1+17=18, Resulting Numbers: [70, 18] Generated Node #0,0,0: 29:[70, 18] Operation: 1+17=18 Moving to Node #0,0,0 Current State: 29:[70, 18], Operations: ['90-20=70', '1+17=18'] Exploring Operation: 70-18=52, Resulting Numbers: [52] 52,29 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 4, 19, 12, 39 ]
85
[ "19+12=31", "4*31=124", "124-39=85" ]
Current State: 85:[4, 19, 12, 39], Operations: [] Exploring Operation: 19+12=31, Resulting Numbers: [4, 39, 31] Generated Node #2: [4, 39, 31] from Operation: 19+12=31 Current State: 85:[4, 39, 31], Operations: ['19+12=31'] Exploring Operation: 4*31=124, Resulting Numbers: [39, 124] Generated Node #3: [39, 124] from Operation: 4*31=124 Current State: 85:[39, 124], Operations: ['19+12=31', '4*31=124'] Exploring Operation: 124-39=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[4, 19, 12, 39], Operations: [] Exploring Operation: 4+12=16, Resulting Numbers: [19, 39, 16] Generated Node #0,0: 85:[19, 39, 16] Operation: 4+12=16 Exploring Operation: 39-4=35, Resulting Numbers: [19, 12, 35] Generated Node #0,1: 85:[19, 12, 35] Operation: 39-4=35 Exploring Operation: 39-12=27, Resulting Numbers: [4, 19, 27] Generated Node #0,2: 85:[4, 19, 27] Operation: 39-12=27 Exploring Operation: 39-19=20, Resulting Numbers: [4, 12, 20] Generated Node #0,3: 85:[4, 12, 20] Operation: 39-19=20 Start Sub Search at level 1: Moving to Node #0,3 Current State: 85:[4, 12, 20], Operations: ['39-19=20'] Exploring Operation: 20-12=8, Resulting Numbers: [4, 8] Generated Node #0,3,0: 85:[4, 8] Operation: 20-12=8 Exploring Operation: 12/4=3, Resulting Numbers: [20, 3] Generated Node #0,3,1: 85:[20, 3] Operation: 12/4=3 Exploring Operation: 20/4=5, Resulting Numbers: [12, 5] Generated Node #0,3,2: 85:[12, 5] Operation: 20/4=5 Exploring Operation: 4+12=16, Resulting Numbers: [20, 16] Generated Node #0,3,3: 85:[20, 16] Operation: 4+12=16 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 85:[4, 8], Operations: ['39-19=20', '20-12=8'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,85 unequal: No Solution Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,85 unequal: No Solution Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 85:[20, 16], Operations: ['39-19=20', '4+12=16'] Exploring Operation: 20+16=36, Resulting Numbers: [36] 36,85 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 20*16=320, Resulting Numbers: [320] 320,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 85:[20, 3], Operations: ['39-19=20', '12/4=3'] Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,85 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,85 unequal: No Solution Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 85:[12, 5], Operations: ['39-19=20', '20/4=5'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 12*5=60, Resulting Numbers: [60] 60,85 unequal: No Solution Exploring Operation: 12+5=17, Resulting Numbers: [17] 17,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[4, 19, 27], Operations: ['39-12=27'] Exploring Operation: 27-19=8, Resulting Numbers: [4, 8] Generated Node #0,2,0: 85:[4, 8] Operation: 27-19=8 Exploring Operation: 27-4=23, Resulting Numbers: [19, 23] Generated Node #0,2,1: 85:[19, 23] Operation: 27-4=23 Exploring Operation: 19-4=15, Resulting Numbers: [27, 15] Generated Node #0,2,2: 85:[27, 15] Operation: 19-4=15 Exploring Operation: 4+19=23, Resulting Numbers: [27, 23] Generated Node #0,2,3: 85:[27, 23] Operation: 4+19=23 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 85:[4, 8], Operations: ['39-12=27', '27-19=8'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,85 unequal: No Solution Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,85 unequal: No Solution Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 85:[19, 23], Operations: ['39-12=27', '27-4=23'] Exploring Operation: 19*23=437, Resulting Numbers: [437] 437,85 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 19+23=42, Resulting Numbers: [42] 42,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 85:[27, 15], Operations: ['39-12=27', '19-4=15'] Exploring Operation: 27*15=405, Resulting Numbers: [405] 405,85 unequal: No Solution Exploring Operation: 27+15=42, Resulting Numbers: [42] 42,85 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 85:[27, 23], Operations: ['39-12=27', '4+19=23'] Exploring Operation: 27*23=621, Resulting Numbers: [621] 621,85 unequal: No Solution Exploring Operation: 27+23=50, Resulting Numbers: [50] 50,85 unequal: No Solution Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[19, 39, 16], Operations: ['4+12=16'] Exploring Operation: 39-19=20, Resulting Numbers: [16, 20] Generated Node #0,0,0: 85:[16, 20] Operation: 39-19=20 Exploring Operation: 19-16=3, Resulting Numbers: [39, 3] Generated Node #0,0,1: 85:[39, 3] Operation: 19-16=3 Exploring Operation: 39-16=23, Resulting Numbers: [19, 23] Generated Node #0,0,2: 85:[19, 23] Operation: 39-16=23 Exploring Operation: 19+39=58, Resulting Numbers: [16, 58] Generated Node #0,0,3: 85:[16, 58] Operation: 19+39=58 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[16, 20], Operations: ['4+12=16', '39-19=20'] Exploring Operation: 16*20=320, Resulting Numbers: [320] 320,85 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 16+20=36, Resulting Numbers: [36] 36,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 85:[19, 23], Operations: ['4+12=16', '39-16=23'] Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 19+23=42, Resulting Numbers: [42] 42,85 unequal: No Solution Exploring Operation: 19*23=437, Resulting Numbers: [437] 437,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 85:[39, 3], Operations: ['4+12=16', '19-16=3'] Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,85 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,85 unequal: No Solution Exploring Operation: 39*3=117, Resulting Numbers: [117] 117,85 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 85:[16, 58], Operations: ['4+12=16', '19+39=58'] Exploring Operation: 16+58=74, Resulting Numbers: [74] 74,85 unequal: No Solution Exploring Operation: 16*58=928, Resulting Numbers: [928] 928,85 unequal: No Solution Exploring Operation: 58-16=42, Resulting Numbers: [42] 42,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[19, 12, 35], Operations: ['39-4=35'] Exploring Operation: 35-19=16, Resulting Numbers: [12, 16] Generated Node #0,1,0: 85:[12, 16] Operation: 35-19=16 Exploring Operation: 35-12=23, Resulting Numbers: [19, 23] Generated Node #0,1,1: 85:[19, 23] Operation: 35-12=23 Exploring Operation: 19-12=7, Resulting Numbers: [35, 7] Generated Node #0,1,2: 85:[35, 7] Operation: 19-12=7 Exploring Operation: 19+12=31, Resulting Numbers: [35, 31] Generated Node #0,1,3: 85:[35, 31] Operation: 19+12=31 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 85:[12, 16], Operations: ['39-4=35', '35-19=16'] Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,85 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 12*16=192, Resulting Numbers: [192] 192,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 85:[19, 23], Operations: ['39-4=35', '35-12=23'] Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 19*23=437, Resulting Numbers: [437] 437,85 unequal: No Solution Exploring Operation: 19+23=42, Resulting Numbers: [42] 42,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 85:[35, 7], Operations: ['39-4=35', '19-12=7'] Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,85 unequal: No Solution Exploring Operation: 35+7=42, Resulting Numbers: [42] 42,85 unequal: No Solution Exploring Operation: 35/7=5, Resulting Numbers: [5] 5,85 unequal: No Solution Exploring Operation: 35*7=245, Resulting Numbers: [245] 245,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 85:[35, 31], Operations: ['39-4=35', '19+12=31'] Exploring Operation: 35*31=1085, Resulting Numbers: [1085] 1085,85 unequal: No Solution Exploring Operation: 35+31=66, Resulting Numbers: [66] 66,85 unequal: No Solution Exploring Operation: 35-31=4, Resulting Numbers: [4] 4,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 42, 69, 72, 68 ]
58
[ "72-69=3", "42*3=126", "126-68=58" ]
Current State: 58:[42, 69, 72, 68], Operations: [] Exploring Operation: 72-69=3, Resulting Numbers: [42, 68, 3] Generated Node #2: [42, 68, 3] from Operation: 72-69=3 Current State: 58:[42, 68, 3], Operations: ['72-69=3'] Exploring Operation: 42*3=126, Resulting Numbers: [68, 126] Generated Node #3: [68, 126] from Operation: 42*3=126 Current State: 58:[68, 126], Operations: ['72-69=3', '42*3=126'] Exploring Operation: 126-68=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[42, 69, 72, 68], Operations: [] Exploring Operation: 69-42=27, Resulting Numbers: [72, 68, 27] Generated Node #0,0: 58:[72, 68, 27] Operation: 69-42=27 Exploring Operation: 72-42=30, Resulting Numbers: [69, 68, 30] Generated Node #0,1: 58:[69, 68, 30] Operation: 72-42=30 Exploring Operation: 72-69=3, Resulting Numbers: [42, 68, 3] Generated Node #0,2: 58:[42, 68, 3] Operation: 72-69=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[69, 68, 30], Operations: ['72-42=30'] Exploring Operation: 68-30=38, Resulting Numbers: [69, 38] Generated Node #0,1,0: 58:[69, 38] Operation: 68-30=38 Exploring Operation: 69-68=1, Resulting Numbers: [30, 1] Generated Node #0,1,1: 58:[30, 1] Operation: 69-68=1 Exploring Operation: 69-30=39, Resulting Numbers: [68, 39] Generated Node #0,1,2: 58:[68, 39] Operation: 69-30=39 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 58:[30, 1], Operations: ['72-42=30', '69-68=1'] Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,58 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,58 unequal: No Solution Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,58 unequal: No Solution No 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: 58:[69, 38], Operations: ['72-42=30', '68-30=38'] Exploring Operation: 69+38=107, Resulting Numbers: [107] 107,58 unequal: No Solution Exploring Operation: 69*38=2622, Resulting Numbers: [2622] 2622,58 unequal: No Solution Exploring Operation: 69-38=31, Resulting Numbers: [31] 31,58 unequal: No Solution No 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: 58:[68, 39], Operations: ['72-42=30', '69-30=39'] Exploring Operation: 68-39=29, Resulting Numbers: [29] 29,58 unequal: No Solution Exploring Operation: 68+39=107, Resulting Numbers: [107] 107,58 unequal: No Solution Exploring Operation: 68*39=2652, Resulting Numbers: [2652] 2652,58 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: 58:[42, 68, 3], Operations: ['72-69=3'] Exploring Operation: 68-3=65, Resulting Numbers: [42, 65] Generated Node #0,2,0: 58:[42, 65] Operation: 68-3=65 Exploring Operation: 68-42=26, Resulting Numbers: [3, 26] Generated Node #0,2,1: 58:[3, 26] Operation: 68-42=26 Exploring Operation: 42-3=39, Resulting Numbers: [68, 39] Generated Node #0,2,2: 58:[68, 39] Operation: 42-3=39 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 58:[3, 26], Operations: ['72-69=3', '68-42=26'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,58 unequal: No Solution Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,58 unequal: No Solution Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,58 unequal: No Solution No 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: 58:[42, 65], Operations: ['72-69=3', '68-3=65'] Exploring Operation: 42*65=2730, Resulting Numbers: [2730] 2730,58 unequal: No Solution Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,58 unequal: No Solution Exploring Operation: 42+65=107, Resulting Numbers: [107] 107,58 unequal: No Solution No 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: 58:[68, 39], Operations: ['72-69=3', '42-3=39'] Exploring Operation: 68*39=2652, Resulting Numbers: [2652] 2652,58 unequal: No Solution Exploring Operation: 68-39=29, Resulting Numbers: [29] 29,58 unequal: No Solution Exploring Operation: 68+39=107, Resulting Numbers: [107] 107,58 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: 58:[72, 68, 27], Operations: ['69-42=27'] Exploring Operation: 68-27=41, Resulting Numbers: [72, 41] Generated Node #0,0,0: 58:[72, 41] Operation: 68-27=41 Exploring Operation: 72-68=4, Resulting Numbers: [27, 4] Generated Node #0,0,1: 58:[27, 4] Operation: 72-68=4 Exploring Operation: 72-27=45, Resulting Numbers: [68, 45] Generated Node #0,0,2: 58:[68, 45] Operation: 72-27=45 Moving to Node #0,0,1 Current State: 58:[27, 4], Operations: ['69-42=27', '72-68=4'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,58 unequal: No Solution Exploring Operation: 27*4=108, Resulting Numbers: [108] 108,58 unequal: No Solution Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,58 unequal: No Solution Moving to Node #0,0,2 Current State: 58:[68, 45], Operations: ['69-42=27', '72-27=45'] Exploring Operation: 68+45=113, Resulting Numbers: [113] 113,58 unequal: No Solution Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,58 unequal: No Solution Exploring Operation: 68*45=3060, Resulting Numbers: [3060] 3060,58 unequal: No Solution Moving to Node #0,0,0 Current State: 58:[72, 41], Operations: ['69-42=27', '68-27=41'] Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 72+41=113, Resulting Numbers: [113] 113,58 unequal: No Solution Exploring Operation: 72*41=2952, Resulting Numbers: [2952] 2952,58 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
[ 42, 63, 97, 93 ]
17
[ "63-42=21", "97-93=4", "21-4=17" ]
Current State: 17:[42, 63, 97, 93], Operations: [] Exploring Operation: 63-42=21, Resulting Numbers: [97, 93, 21] Generated Node #2: [97, 93, 21] from Operation: 63-42=21 Current State: 17:[97, 93, 21], Operations: ['63-42=21'] Exploring Operation: 97-93=4, Resulting Numbers: [21, 4] Generated Node #3: [21, 4] from Operation: 97-93=4 Current State: 17:[21, 4], Operations: ['63-42=21', '97-93=4'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[42, 63, 97, 93], Operations: [] Exploring Operation: 97-63=34, Resulting Numbers: [42, 93, 34] Generated Node #0,0: 17:[42, 93, 34] Operation: 97-63=34 Exploring Operation: 97-93=4, Resulting Numbers: [42, 63, 4] Generated Node #0,1: 17:[42, 63, 4] Operation: 97-93=4 Moving to Node #0,1 Current State: 17:[42, 63, 4], Operations: ['97-93=4'] Exploring Operation: 42-4=38, Resulting Numbers: [63, 38] Generated Node #0,1,0: 17:[63, 38] Operation: 42-4=38 Exploring Operation: 63-42=21, Resulting Numbers: [4, 21] Generated Node #0,1,1: 17:[4, 21] Operation: 63-42=21 Moving to Node #0,0 Current State: 17:[42, 93, 34], Operations: ['97-63=34'] Exploring Operation: 93-42=51, Resulting Numbers: [34, 51] Generated Node #0,0,0: 17:[34, 51] Operation: 93-42=51 Exploring Operation: 93-34=59, Resulting Numbers: [42, 59] Generated Node #0,0,1: 17:[42, 59] Operation: 93-34=59 Moving to Node #0,1,1 Current State: 17:[4, 21], Operations: ['97-93=4', '63-42=21'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[42, 63, 97, 93], Operations: [] Exploring Operation: 97-93=4, Resulting Numbers: [42, 63, 4] Generated Node #0,1: 17:[42, 63, 4] Operation: 97-93=4 Moving to Node #0,1 Current State: 17:[42, 63, 4], Operations: ['97-93=4'] Exploring Operation: 63-42=21, Resulting Numbers: [4, 21] Generated Node #0,1,1: 17:[4, 21] Operation: 63-42=21 Moving to Node #0,1,1 Current State: 17:[4, 21], Operations: ['97-93=4', '63-42=21'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 43, 78, 52, 32 ]
37
[ "43+78=121", "52+32=84", "121-84=37" ]
Current State: 37:[43, 78, 52, 32], Operations: [] Exploring Operation: 43+78=121, Resulting Numbers: [52, 32, 121] Generated Node #2: [52, 32, 121] from Operation: 43+78=121 Current State: 37:[52, 32, 121], Operations: ['43+78=121'] Exploring Operation: 52+32=84, Resulting Numbers: [121, 84] Generated Node #3: [121, 84] from Operation: 52+32=84 Current State: 37:[121, 84], Operations: ['43+78=121', '52+32=84'] Exploring Operation: 121-84=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[43, 78, 52, 32], Operations: [] Exploring Operation: 78-43=35, Resulting Numbers: [52, 32, 35] Generated Node #0,0: 37:[52, 32, 35] Operation: 78-43=35 Exploring Operation: 78-52=26, Resulting Numbers: [43, 32, 26] Generated Node #0,1: 37:[43, 32, 26] Operation: 78-52=26 Exploring Operation: 78-32=46, Resulting Numbers: [43, 52, 46] Generated Node #0,2: 37:[43, 52, 46] Operation: 78-32=46 Moving to Node #0,0 Current State: 37:[52, 32, 35], Operations: ['78-43=35'] Exploring Operation: 52-35=17, Resulting Numbers: [32, 17] Generated Node #0,0,0: 37:[32, 17] Operation: 52-35=17 Exploring Operation: 52-32=20, Resulting Numbers: [35, 20] Generated Node #0,0,1: 37:[35, 20] Operation: 52-32=20 Exploring Operation: 32+35=67, Resulting Numbers: [52, 67] Generated Node #0,0,2: 37:[52, 67] Operation: 32+35=67 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[35, 20], Operations: ['78-43=35', '52-32=20'] Exploring Operation: 35*20=700, Resulting Numbers: [700] 700,37 unequal: No Solution Exploring Operation: 35+20=55, Resulting Numbers: [55] 55,37 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,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:[32, 17], Operations: ['78-43=35', '52-35=17'] Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,37 unequal: No Solution Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,37 unequal: No Solution Exploring Operation: 32*17=544, Resulting Numbers: [544] 544,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,2 Current State: 37:[52, 67], Operations: ['78-43=35', '32+35=67'] Exploring Operation: 52+67=119, Resulting Numbers: [119] 119,37 unequal: No Solution Exploring Operation: 52*67=3484, Resulting Numbers: [3484] 3484,37 unequal: No Solution Exploring Operation: 67-52=15, Resulting Numbers: [15] 15,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 37:[43, 32, 26], Operations: ['78-52=26'] Exploring Operation: 43-32=11, Resulting Numbers: [26, 11] Generated Node #0,1,0: 37:[26, 11] Operation: 43-32=11 Exploring Operation: 43-26=17, Resulting Numbers: [32, 17] Generated Node #0,1,1: 37:[32, 17] Operation: 43-26=17 Exploring Operation: 32+26=58, Resulting Numbers: [43, 58] Generated Node #0,1,2: 37:[43, 58] Operation: 32+26=58 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[32, 17], Operations: ['78-52=26', '43-26=17'] Exploring Operation: 32*17=544, Resulting Numbers: [544] 544,37 unequal: No Solution Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,37 unequal: No Solution Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 37:[43, 58], Operations: ['78-52=26', '32+26=58'] Exploring Operation: 58-43=15, Resulting Numbers: [15] 15,37 unequal: No Solution Exploring Operation: 43*58=2494, Resulting Numbers: [2494] 2494,37 unequal: No Solution Exploring Operation: 43+58=101, Resulting Numbers: [101] 101,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 37:[26, 11], Operations: ['78-52=26', '43-32=11'] Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[43, 78, 52, 32], Operations: [] Exploring Operation: 78-52=26, Resulting Numbers: [43, 32, 26] Generated Node #0,1: 37:[43, 32, 26] Operation: 78-52=26 Moving to Node #0,1 Current State: 37:[43, 32, 26], Operations: ['78-52=26'] Exploring Operation: 43-32=11, Resulting Numbers: [26, 11] Generated Node #0,1,0: 37:[26, 11] Operation: 43-32=11 Moving to Node #0,1,0 Current State: 37:[26, 11], Operations: ['78-52=26', '43-32=11'] Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_3
mult_heuristic
[ 45, 10, 30, 54 ]
99
[ "45+10=55", "54*55=2970", "2970/30=99" ]
Current State: 99:[45, 10, 30, 54], Operations: [] Exploring Operation: 45+10=55, Resulting Numbers: [30, 54, 55] Generated Node #2: [30, 54, 55] from Operation: 45+10=55 Current State: 99:[30, 54, 55], Operations: ['45+10=55'] Exploring Operation: 54*55=2970, Resulting Numbers: [30, 2970] Generated Node #3: [30, 2970] from Operation: 54*55=2970 Current State: 99:[30, 2970], Operations: ['45+10=55', '54*55=2970'] Exploring Operation: 2970/30=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[45, 10, 30, 54], Operations: [] Exploring Operation: 45+54=99, Resulting Numbers: [10, 30, 99] Generated Node #0,0: 99:[10, 30, 99] Operation: 45+54=99 Exploring Operation: 54-30=24, Resulting Numbers: [45, 10, 24] Generated Node #0,1: 99:[45, 10, 24] Operation: 54-30=24 Exploring Operation: 54-45=9, Resulting Numbers: [10, 30, 9] Generated Node #0,2: 99:[10, 30, 9] Operation: 54-45=9 Moving to Node #0,0 Current State: 99:[10, 30, 99], Operations: ['45+54=99'] Exploring Operation: 30/10=3, Resulting Numbers: [99, 3] Generated Node #0,0,0: 99:[99, 3] Operation: 30/10=3 Exploring Operation: 30-10=20, Resulting Numbers: [99, 20] Generated Node #0,0,1: 99:[99, 20] Operation: 30-10=20 Exploring Operation: 10+30=40, Resulting Numbers: [99, 40] Generated Node #0,0,2: 99:[99, 40] Operation: 10+30=40 Moving to Node #0,2 Current State: 99:[10, 30, 9], Operations: ['54-45=9'] Exploring Operation: 30/10=3, Resulting Numbers: [9, 3] Generated Node #0,2,0: 99:[9, 3] Operation: 30/10=3 Exploring Operation: 10+30=40, Resulting Numbers: [9, 40] Generated Node #0,2,1: 99:[9, 40] Operation: 10+30=40 Exploring Operation: 10-9=1, Resulting Numbers: [30, 1] Generated Node #0,2,2: 99:[30, 1] Operation: 10-9=1 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 99:[9, 3], Operations: ['54-45=9', '30/10=3'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,99 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,99 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,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,2,2 Current State: 99:[30, 1], Operations: ['54-45=9', '10-9=1'] Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,99 unequal: No Solution 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,2,1 Current State: 99:[9, 40], Operations: ['54-45=9', '10+30=40'] Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,99 unequal: No Solution Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,99 unequal: No Solution Exploring Operation: 9*40=360, Resulting Numbers: [360] 360,99 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: 99:[45, 10, 24], Operations: ['54-30=24'] Exploring Operation: 45-24=21, Resulting Numbers: [10, 21] Generated Node #0,1,0: 99:[10, 21] Operation: 45-24=21 Exploring Operation: 45-10=35, Resulting Numbers: [24, 35] Generated Node #0,1,1: 99:[24, 35] Operation: 45-10=35 Exploring Operation: 10+24=34, Resulting Numbers: [45, 34] Generated Node #0,1,2: 99:[45, 34] Operation: 10+24=34 Moving to Node #0,0,0 Current State: 99:[99, 3], Operations: ['45+54=99', '30/10=3'] Exploring Operation: 99+3=102, Resulting Numbers: [102] 102,99 unequal: No Solution Exploring Operation: 99-3=96, Resulting Numbers: [96] 96,99 unequal: No Solution Exploring Operation: 99/3=33, Resulting Numbers: [33] 33,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[99, 40], Operations: ['45+54=99', '10+30=40'] Exploring Operation: 99+40=139, Resulting Numbers: [139] 139,99 unequal: No Solution Exploring Operation: 99*40=3960, Resulting Numbers: [3960] 3960,99 unequal: No Solution Exploring Operation: 99-40=59, Resulting Numbers: [59] 59,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[99, 20], Operations: ['45+54=99', '30-10=20'] Exploring Operation: 99-20=79, Resulting Numbers: [79] 79,99 unequal: No Solution Exploring Operation: 99+20=119, Resulting Numbers: [119] 119,99 unequal: No Solution Exploring Operation: 99*20=1980, Resulting Numbers: [1980] 1980,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[24, 35], Operations: ['54-30=24', '45-10=35'] Exploring Operation: 24+35=59, Resulting Numbers: [59] 59,99 unequal: No Solution Exploring Operation: 24*35=840, Resulting Numbers: [840] 840,99 unequal: No Solution Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[10, 21], Operations: ['54-30=24', '45-24=21'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,99 unequal: No Solution Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,99 unequal: No Solution Exploring Operation: 10*21=210, Resulting Numbers: [210] 210,99 unequal: No Solution Moving to Node #0,1,2 Current State: 99:[45, 34], Operations: ['54-30=24', '10+24=34'] Exploring Operation: 45*34=1530, Resulting Numbers: [1530] 1530,99 unequal: No Solution Exploring Operation: 45+34=79, Resulting Numbers: [79] 79,99 unequal: No Solution Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,99 unequal: No Solution No solution found.
0
hs_3
mult_heuristic