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 |
|---|---|---|---|---|---|---|---|---|
[
79,
24,
5,
29
] | 78 | [
"24+5=29",
"29/29=1",
"79-1=78"
] | Current State: 78:[79, 24, 5, 29], Operations: []
Exploring Operation: 24+5=29, Resulting Numbers: [79, 29, 29]
Generated Node #2: [79, 29, 29] from Operation: 24+5=29
Current State: 78:[79, 29, 29], Operations: ['24+5=29']
Exploring Operation: 29/29=1, Resulting Numbers: [79, 1]
Generated Node #3: [79, 1] from Operation: 29/29=1
Current State: 78:[79, 1], Operations: ['24+5=29', '29/29=1']
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[79, 24, 5, 29], Operations: []
Exploring Operation: 29-24=5, Resulting Numbers: [79, 5, 5]
Generated Node #0,0: 78:[79, 5, 5] Operation: 29-24=5
Moving to Node #0,0
Current State: 78:[79, 5, 5], Operations: ['29-24=5']
Exploring Operation: 5*5=25, Resulting Numbers: [79, 25]
Generated Node #0,0,0: 78:[79, 25] Operation: 5*5=25
Moving to Node #0,0,0
Current State: 78:[79, 25], Operations: ['29-24=5', '5*5=25']
Exploring Operation: 79-25=54, Resulting Numbers: [54]
54,78 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
38,
13,
56,
64
] | 33 | [
"38-13=25",
"64-56=8",
"25+8=33"
] | Current State: 33:[38, 13, 56, 64], Operations: []
Exploring Operation: 38-13=25, Resulting Numbers: [56, 64, 25]
Generated Node #2: [56, 64, 25] from Operation: 38-13=25
Current State: 33:[56, 64, 25], Operations: ['38-13=25']
Exploring Operation: 64-56=8, Resulting Numbers: [25, 8]
Generated Node #3: [25, 8] from Operation: 64-56=8
Current State: 33:[25, 8], Operations: ['38-13=25', '64-56=8']
Exploring Operation: 25+8=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[38, 13, 56, 64], Operations: []
Exploring Operation: 64-56=8, Resulting Numbers: [38, 13, 8]
Generated Node #0,0: 33:[38, 13, 8] Operation: 64-56=8
Exploring Operation: 64-38=26, Resulting Numbers: [13, 56, 26]
Generated Node #0,1: 33:[13, 56, 26] Operation: 64-38=26
Exploring Operation: 56-38=18, Resulting Numbers: [13, 64, 18]
Generated Node #0,2: 33:[13, 64, 18] Operation: 56-38=18
Moving to Node #0,0
Current State: 33:[38, 13, 8], Operations: ['64-56=8']
Exploring Operation: 13-8=5, Resulting Numbers: [38, 5]
Generated Node #0,0,0: 33:[38, 5] Operation: 13-8=5
Exploring Operation: 38-13=25, Resulting Numbers: [8, 25]
Generated Node #0,0,1: 33:[8, 25] Operation: 38-13=25
Exploring Operation: 38-8=30, Resulting Numbers: [13, 30]
Generated Node #0,0,2: 33:[13, 30] Operation: 38-8=30
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 33:[13, 30], Operations: ['64-56=8', '38-8=30']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 13*30=390, Resulting Numbers: [390]
390,33 unequal: No Solution
No 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: 33:[38, 5], Operations: ['64-56=8', '13-8=5']
Exploring Operation: 38*5=190, Resulting Numbers: [190]
190,33 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[38, 13, 56, 64], Operations: []
Exploring Operation: 64-56=8, Resulting Numbers: [38, 13, 8]
Generated Node #0,0: 33:[38, 13, 8] Operation: 64-56=8
Moving to Node #0,0
Current State: 33:[38, 13, 8], Operations: ['64-56=8']
Exploring Operation: 13-8=5, Resulting Numbers: [38, 5]
Generated Node #0,0,0: 33:[38, 5] Operation: 13-8=5
Moving to Node #0,0,0
Current State: 33:[38, 5], Operations: ['64-56=8', '13-8=5']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
86,
55,
2,
32
] | 50 | [
"86*32=2752",
"2752-2=2750",
"2750/55=50"
] | Current State: 50:[86, 55, 2, 32], Operations: []
Exploring Operation: 86*32=2752, Resulting Numbers: [55, 2, 2752]
Generated Node #2: [55, 2, 2752] from Operation: 86*32=2752
Current State: 50:[55, 2, 2752], Operations: ['86*32=2752']
Exploring Operation: 2752-2=2750, Resulting Numbers: [55, 2750]
Generated Node #3: [55, 2750] from Operation: 2752-2=2750
Current State: 50:[55, 2750], Operations: ['86*32=2752', '2752-2=2750']
Exploring Operation: 2750/55=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[86, 55, 2, 32], Operations: []
Exploring Operation: 86-32=54, Resulting Numbers: [55, 2, 54]
Generated Node #0,0: 50:[55, 2, 54] Operation: 86-32=54
Moving to Node #0,0
Current State: 50:[55, 2, 54], Operations: ['86-32=54']
Exploring Operation: 55-54=1, Resulting Numbers: [2, 1]
Generated Node #0,0,0: 50:[2, 1] Operation: 55-54=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[2, 1], Operations: ['86-32=54', '55-54=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,50 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 |
[
62,
73,
18,
55
] | 26 | [
"73-62=11",
"55-18=37",
"37-11=26"
] | Current State: 26:[62, 73, 18, 55], Operations: []
Exploring Operation: 73-62=11, Resulting Numbers: [18, 55, 11]
Generated Node #2: [18, 55, 11] from Operation: 73-62=11
Current State: 26:[18, 55, 11], Operations: ['73-62=11']
Exploring Operation: 55-18=37, Resulting Numbers: [11, 37]
Generated Node #3: [11, 37] from Operation: 55-18=37
Current State: 26:[11, 37], Operations: ['73-62=11', '55-18=37']
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[62, 73, 18, 55], Operations: []
Exploring Operation: 62-18=44, Resulting Numbers: [73, 55, 44]
Generated Node #0,0: 26:[73, 55, 44] Operation: 62-18=44
Exploring Operation: 62-55=7, Resulting Numbers: [73, 18, 7]
Generated Node #0,1: 26:[73, 18, 7] Operation: 62-55=7
Exploring Operation: 73-62=11, Resulting Numbers: [18, 55, 11]
Generated Node #0,2: 26:[18, 55, 11] Operation: 73-62=11
Exploring Operation: 73-55=18, Resulting Numbers: [62, 18, 18]
Generated Node #0,3: 26:[62, 18, 18] Operation: 73-55=18
Moving to Node #0,2
Current State: 26:[18, 55, 11], Operations: ['73-62=11']
Exploring Operation: 55-18=37, Resulting Numbers: [11, 37]
Generated Node #0,2,0: 26:[11, 37] Operation: 55-18=37
Exploring Operation: 55-11=44, Resulting Numbers: [18, 44]
Generated Node #0,2,1: 26:[18, 44] Operation: 55-11=44
Exploring Operation: 18+11=29, Resulting Numbers: [55, 29]
Generated Node #0,2,2: 26:[55, 29] Operation: 18+11=29
Exploring Operation: 55/11=5, Resulting Numbers: [18, 5]
Generated Node #0,2,3: 26:[18, 5] Operation: 55/11=5
Moving to Node #0,3
Current State: 26:[62, 18, 18], Operations: ['73-55=18']
Exploring Operation: 18-18=0, Resulting Numbers: [62, 0]
Generated Node #0,3,0: 26:[62, 0] Operation: 18-18=0
Exploring Operation: 62-18=44, Resulting Numbers: [18, 44]
Generated Node #0,3,1: 26:[18, 44] Operation: 62-18=44
Exploring Operation: 18/18=1, Resulting Numbers: [62, 1]
Generated Node #0,3,2: 26:[62, 1] Operation: 18/18=1
Exploring Operation: 62-18=44, Resulting Numbers: [18, 44]
Generated Node #0,3,3: 26:[18, 44] Operation: 62-18=44
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 26:[18, 44], Operations: ['73-55=18', '62-18=44']
Exploring Operation: 18+44=62, Resulting Numbers: [62]
62,26 unequal: No Solution
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[62, 73, 18, 55], Operations: []
Exploring Operation: 73-55=18, Resulting Numbers: [62, 18, 18]
Generated Node #0,3: 26:[62, 18, 18] Operation: 73-55=18
Moving to Node #0,3
Current State: 26:[62, 18, 18], Operations: ['73-55=18']
Exploring Operation: 62-18=44, Resulting Numbers: [18, 44]
Generated Node #0,3,1: 26:[18, 44] Operation: 62-18=44
Moving to Node #0,3,1
Current State: 26:[18, 44], Operations: ['73-55=18', '62-18=44']
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
19,
93,
29,
42
] | 99 | [
"19+93=112",
"42-29=13",
"112-13=99"
] | Current State: 99:[19, 93, 29, 42], Operations: []
Exploring Operation: 19+93=112, Resulting Numbers: [29, 42, 112]
Generated Node #2: [29, 42, 112] from Operation: 19+93=112
Current State: 99:[29, 42, 112], Operations: ['19+93=112']
Exploring Operation: 42-29=13, Resulting Numbers: [112, 13]
Generated Node #3: [112, 13] from Operation: 42-29=13
Current State: 99:[112, 13], Operations: ['19+93=112', '42-29=13']
Exploring Operation: 112-13=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[19, 93, 29, 42], Operations: []
Exploring Operation: 29-19=10, Resulting Numbers: [93, 42, 10]
Generated Node #0,0: 99:[93, 42, 10] Operation: 29-19=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[93, 42, 10], Operations: ['29-19=10']
Exploring Operation: 42-10=32, Resulting Numbers: [93, 32]
Generated Node #0,0,0: 99:[93, 32] Operation: 42-10=32
Moving to Node #0,0,0
Current State: 99:[93, 32], Operations: ['29-19=10', '42-10=32']
Exploring Operation: 93+32=125, Resulting Numbers: [125]
125,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
17,
60,
14,
84
] | 32 | [
"17-14=3",
"84/3=28",
"60-28=32"
] | Current State: 32:[17, 60, 14, 84], Operations: []
Exploring Operation: 17-14=3, Resulting Numbers: [60, 84, 3]
Generated Node #2: [60, 84, 3] from Operation: 17-14=3
Current State: 32:[60, 84, 3], Operations: ['17-14=3']
Exploring Operation: 84/3=28, Resulting Numbers: [60, 28]
Generated Node #3: [60, 28] from Operation: 84/3=28
Current State: 32:[60, 28], Operations: ['17-14=3', '84/3=28']
Exploring Operation: 60-28=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[17, 60, 14, 84], Operations: []
Exploring Operation: 84-60=24, Resulting Numbers: [17, 14, 24]
Generated Node #0,0: 32:[17, 14, 24] Operation: 84-60=24
Moving to Node #0,0
Current State: 32:[17, 14, 24], Operations: ['84-60=24']
Exploring Operation: 24-17=7, Resulting Numbers: [14, 7]
Generated Node #0,0,0: 32:[14, 7] Operation: 24-17=7
Moving to Node #0,0,0
Current State: 32:[14, 7], Operations: ['84-60=24', '24-17=7']
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,32 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
89,
76,
19,
66
] | 60 | [
"89-76=13",
"66-19=47",
"13+47=60"
] | Current State: 60:[89, 76, 19, 66], Operations: []
Exploring Operation: 89-76=13, Resulting Numbers: [19, 66, 13]
Generated Node #2: [19, 66, 13] from Operation: 89-76=13
Current State: 60:[19, 66, 13], Operations: ['89-76=13']
Exploring Operation: 66-19=47, Resulting Numbers: [13, 47]
Generated Node #3: [13, 47] from Operation: 66-19=47
Current State: 60:[13, 47], Operations: ['89-76=13', '66-19=47']
Exploring Operation: 13+47=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[89, 76, 19, 66], Operations: []
Exploring Operation: 89-76=13, Resulting Numbers: [19, 66, 13]
Generated Node #0,0: 60:[19, 66, 13] Operation: 89-76=13
Moving to Node #0,0
Current State: 60:[19, 66, 13], Operations: ['89-76=13']
Exploring Operation: 19-13=6, Resulting Numbers: [66, 6]
Generated Node #0,0,0: 60:[66, 6] Operation: 19-13=6
Moving to Node #0,0,0
Current State: 60:[66, 6], Operations: ['89-76=13', '19-13=6']
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[89, 76, 19, 66], Operations: []
Exploring Operation: 89-76=13, Resulting Numbers: [19, 66, 13]
Generated Node #0,0: 60:[19, 66, 13] Operation: 89-76=13
Moving to Node #0,0
Current State: 60:[19, 66, 13], Operations: ['89-76=13']
Exploring Operation: 19-13=6, Resulting Numbers: [66, 6]
Generated Node #0,0,0: 60:[66, 6] Operation: 19-13=6
Moving to Node #0,0,0
Current State: 60:[66, 6], Operations: ['89-76=13', '19-13=6']
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
86,
94,
38,
2
] | 92 | [
"94-86=8",
"38+8=46",
"2*46=92"
] | Current State: 92:[86, 94, 38, 2], Operations: []
Exploring Operation: 94-86=8, Resulting Numbers: [38, 2, 8]
Generated Node #2: [38, 2, 8] from Operation: 94-86=8
Current State: 92:[38, 2, 8], Operations: ['94-86=8']
Exploring Operation: 38+8=46, Resulting Numbers: [2, 46]
Generated Node #3: [2, 46] from Operation: 38+8=46
Current State: 92:[2, 46], Operations: ['94-86=8', '38+8=46']
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[86, 94, 38, 2], Operations: []
Exploring Operation: 86-38=48, Resulting Numbers: [94, 2, 48]
Generated Node #0,0: 92:[94, 2, 48] Operation: 86-38=48
Exploring Operation: 94-86=8, Resulting Numbers: [38, 2, 8]
Generated Node #0,1: 92:[38, 2, 8] Operation: 94-86=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[94, 2, 48], Operations: ['86-38=48']
Exploring Operation: 94-2=92, Resulting Numbers: [48, 92]
Generated Node #0,0,0: 92:[48, 92] Operation: 94-2=92
Exploring Operation: 94-48=46, Resulting Numbers: [2, 46]
Generated Node #0,0,1: 92:[2, 46] Operation: 94-48=46
Moving to Node #0,0,1
Current State: 92:[2, 46], Operations: ['86-38=48', '94-48=46']
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[86, 94, 38, 2], Operations: []
Exploring Operation: 86-38=48, Resulting Numbers: [94, 2, 48]
Generated Node #0,0: 92:[94, 2, 48] Operation: 86-38=48
Moving to Node #0,0
Current State: 92:[94, 2, 48], Operations: ['86-38=48']
Exploring Operation: 94-48=46, Resulting Numbers: [2, 46]
Generated Node #0,0,1: 92:[2, 46] Operation: 94-48=46
Moving to Node #0,0,1
Current State: 92:[2, 46], Operations: ['86-38=48', '94-48=46']
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
93,
35,
12,
70
] | 24 | [
"93-35=58",
"12+70=82",
"82-58=24"
] | Current State: 24:[93, 35, 12, 70], Operations: []
Exploring Operation: 93-35=58, Resulting Numbers: [12, 70, 58]
Generated Node #2: [12, 70, 58] from Operation: 93-35=58
Current State: 24:[12, 70, 58], Operations: ['93-35=58']
Exploring Operation: 12+70=82, Resulting Numbers: [58, 82]
Generated Node #3: [58, 82] from Operation: 12+70=82
Current State: 24:[58, 82], Operations: ['93-35=58', '12+70=82']
Exploring Operation: 82-58=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[93, 35, 12, 70], Operations: []
Exploring Operation: 93-70=23, Resulting Numbers: [35, 12, 23]
Generated Node #0,0: 24:[35, 12, 23] Operation: 93-70=23
Exploring Operation: 70/35=2, Resulting Numbers: [93, 12, 2]
Generated Node #0,1: 24:[93, 12, 2] Operation: 70/35=2
Exploring Operation: 93-35=58, Resulting Numbers: [12, 70, 58]
Generated Node #0,2: 24:[12, 70, 58] Operation: 93-35=58
Moving to Node #0,0
Current State: 24:[35, 12, 23], Operations: ['93-70=23']
Exploring Operation: 23-12=11, Resulting Numbers: [35, 11]
Generated Node #0,0,0: 24:[35, 11] Operation: 23-12=11
Exploring Operation: 35-23=12, Resulting Numbers: [12, 12]
Generated Node #0,0,1: 24:[12, 12] Operation: 35-23=12
Exploring Operation: 35-12=23, Resulting Numbers: [23, 23]
Generated Node #0,0,2: 24:[23, 23] Operation: 35-12=23
Moving to Node #0,1
Current State: 24:[93, 12, 2], Operations: ['70/35=2']
Exploring Operation: 93-12=81, Resulting Numbers: [2, 81]
Generated Node #0,1,0: 24:[2, 81] Operation: 93-12=81
Exploring Operation: 12*2=24, Resulting Numbers: [93, 24]
Generated Node #0,1,1: 24:[93, 24] Operation: 12*2=24
Exploring Operation: 93-2=91, Resulting Numbers: [12, 91]
Generated Node #0,1,2: 24:[12, 91] Operation: 93-2=91
Moving to Node #0,2
Current State: 24:[12, 70, 58], Operations: ['93-35=58']
Exploring Operation: 70-12=58, Resulting Numbers: [58, 58]
Generated Node #0,2,0: 24:[58, 58] Operation: 70-12=58
Exploring Operation: 58-12=46, Resulting Numbers: [70, 46]
Generated Node #0,2,1: 24:[70, 46] Operation: 58-12=46
Exploring Operation: 70-58=12, Resulting Numbers: [12, 12]
Generated Node #0,2,2: 24:[12, 12] Operation: 70-58=12
Moving to Node #0,0,1
Current State: 24:[12, 12], Operations: ['93-70=23', '35-23=12']
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 12-12=0, Resulting Numbers: [0]
0,24 unequal: No Solution
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[93, 35, 12, 70], Operations: []
Exploring Operation: 93-70=23, Resulting Numbers: [35, 12, 23]
Generated Node #0,0: 24:[35, 12, 23] Operation: 93-70=23
Moving to Node #0,0
Current State: 24:[35, 12, 23], Operations: ['93-70=23']
Exploring Operation: 35-23=12, Resulting Numbers: [12, 12]
Generated Node #0,0,1: 24:[12, 12] Operation: 35-23=12
Moving to Node #0,0,1
Current State: 24:[12, 12], Operations: ['93-70=23', '35-23=12']
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 0.983507 | hs_3 | sum_heuristic |
[
57,
75,
68,
53
] | 11 | [
"57+75=132",
"68+53=121",
"132-121=11"
] | Current State: 11:[57, 75, 68, 53], Operations: []
Exploring Operation: 57+75=132, Resulting Numbers: [68, 53, 132]
Generated Node #2: [68, 53, 132] from Operation: 57+75=132
Current State: 11:[68, 53, 132], Operations: ['57+75=132']
Exploring Operation: 68+53=121, Resulting Numbers: [132, 121]
Generated Node #3: [132, 121] from Operation: 68+53=121
Current State: 11:[132, 121], Operations: ['57+75=132', '68+53=121']
Exploring Operation: 132-121=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[57, 75, 68, 53], Operations: []
Exploring Operation: 75-68=7, Resulting Numbers: [57, 53, 7]
Generated Node #0,0: 11:[57, 53, 7] Operation: 75-68=7
Moving to Node #0,0
Current State: 11:[57, 53, 7], Operations: ['75-68=7']
Exploring Operation: 57-53=4, Resulting Numbers: [7, 4]
Generated Node #0,0,0: 11:[7, 4] Operation: 57-53=4
Moving to Node #0,0,0
Current State: 11:[7, 4], Operations: ['75-68=7', '57-53=4']
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[57, 75, 68, 53], Operations: []
Exploring Operation: 75-68=7, Resulting Numbers: [57, 53, 7]
Generated Node #0,0: 11:[57, 53, 7] Operation: 75-68=7
Moving to Node #0,0
Current State: 11:[57, 53, 7], Operations: ['75-68=7']
Exploring Operation: 57-53=4, Resulting Numbers: [7, 4]
Generated Node #0,0,0: 11:[7, 4] Operation: 57-53=4
Moving to Node #0,0,0
Current State: 11:[7, 4], Operations: ['75-68=7', '57-53=4']
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
81,
65,
45,
85
] | 83 | [
"45+85=130",
"130/65=2",
"81+2=83"
] | Current State: 83:[81, 65, 45, 85], Operations: []
Exploring Operation: 45+85=130, Resulting Numbers: [81, 65, 130]
Generated Node #2: [81, 65, 130] from Operation: 45+85=130
Current State: 83:[81, 65, 130], Operations: ['45+85=130']
Exploring Operation: 130/65=2, Resulting Numbers: [81, 2]
Generated Node #3: [81, 2] from Operation: 130/65=2
Current State: 83:[81, 2], Operations: ['45+85=130', '130/65=2']
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[81, 65, 45, 85], Operations: []
Exploring Operation: 65+45=110, Resulting Numbers: [81, 85, 110]
Generated Node #0,0: 83:[81, 85, 110] Operation: 65+45=110
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[81, 85, 110], Operations: ['65+45=110']
Exploring Operation: 110-81=29, Resulting Numbers: [85, 29]
Generated Node #0,0,0: 83:[85, 29] Operation: 110-81=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[85, 29], Operations: ['65+45=110', '110-81=29']
Exploring Operation: 85-29=56, Resulting Numbers: [56]
56,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 |
[
68,
56,
48,
47
] | 43 | [
"68-56=12",
"48/12=4",
"47-4=43"
] | Current State: 43:[68, 56, 48, 47], Operations: []
Exploring Operation: 68-56=12, Resulting Numbers: [48, 47, 12]
Generated Node #2: [48, 47, 12] from Operation: 68-56=12
Current State: 43:[48, 47, 12], Operations: ['68-56=12']
Exploring Operation: 48/12=4, Resulting Numbers: [47, 4]
Generated Node #3: [47, 4] from Operation: 48/12=4
Current State: 43:[47, 4], Operations: ['68-56=12', '48/12=4']
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[68, 56, 48, 47], Operations: []
Exploring Operation: 68-47=21, Resulting Numbers: [56, 48, 21]
Generated Node #0,0: 43:[56, 48, 21] Operation: 68-47=21
Exploring Operation: 68-56=12, Resulting Numbers: [48, 47, 12]
Generated Node #0,1: 43:[48, 47, 12] Operation: 68-56=12
Exploring Operation: 68-48=20, Resulting Numbers: [56, 47, 20]
Generated Node #0,2: 43:[56, 47, 20] Operation: 68-48=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[56, 48, 21], Operations: ['68-47=21']
Exploring Operation: 48-21=27, Resulting Numbers: [56, 27]
Generated Node #0,0,0: 43:[56, 27] Operation: 48-21=27
Exploring Operation: 56-21=35, Resulting Numbers: [48, 35]
Generated Node #0,0,1: 43:[48, 35] Operation: 56-21=35
Exploring Operation: 56+21=77, Resulting Numbers: [48, 77]
Generated Node #0,0,2: 43:[48, 77] Operation: 56+21=77
Moving to Node #0,0,1
Current State: 43:[48, 35], Operations: ['68-47=21', '56-21=35']
Exploring Operation: 48*35=1680, Resulting Numbers: [1680]
1680,43 unequal: No Solution
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,43 unequal: No Solution
Exploring Operation: 48+35=83, Resulting Numbers: [83]
83,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[56, 27], Operations: ['68-47=21', '48-21=27']
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Exploring Operation: 56+27=83, Resulting Numbers: [83]
83,43 unequal: No Solution
Exploring Operation: 56*27=1512, Resulting Numbers: [1512]
1512,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[48, 77], Operations: ['68-47=21', '56+21=77']
Exploring Operation: 48*77=3696, Resulting Numbers: [3696]
3696,43 unequal: No Solution
Exploring Operation: 48+77=125, Resulting Numbers: [125]
125,43 unequal: No Solution
Exploring Operation: 77-48=29, Resulting Numbers: [29]
29,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:[48, 47, 12], Operations: ['68-56=12']
Exploring Operation: 48+12=60, Resulting Numbers: [47, 60]
Generated Node #0,1,0: 43:[47, 60] Operation: 48+12=60
Exploring Operation: 48-12=36, Resulting Numbers: [47, 36]
Generated Node #0,1,1: 43:[47, 36] Operation: 48-12=36
Exploring Operation: 47-12=35, Resulting Numbers: [48, 35]
Generated Node #0,1,2: 43:[48, 35] Operation: 47-12=35
Moving to Node #0,1,1
Current State: 43:[47, 36], Operations: ['68-56=12', '48-12=36']
Exploring Operation: 47*36=1692, Resulting Numbers: [1692]
1692,43 unequal: No Solution
Exploring Operation: 47-36=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 47+36=83, Resulting Numbers: [83]
83,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[48, 35], Operations: ['68-56=12', '47-12=35']
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,43 unequal: No Solution
Exploring Operation: 48*35=1680, Resulting Numbers: [1680]
1680,43 unequal: No Solution
Exploring Operation: 48+35=83, Resulting Numbers: [83]
83,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[47, 60], Operations: ['68-56=12', '48+12=60']
Exploring Operation: 47*60=2820, Resulting Numbers: [2820]
2820,43 unequal: No Solution
Exploring Operation: 47+60=107, Resulting Numbers: [107]
107,43 unequal: No Solution
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,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,2
Current State: 43:[56, 47, 20], Operations: ['68-48=20']
Exploring Operation: 56+20=76, Resulting Numbers: [47, 76]
Generated Node #0,2,0: 43:[47, 76] Operation: 56+20=76
Exploring Operation: 47-20=27, Resulting Numbers: [56, 27]
Generated Node #0,2,1: 43:[56, 27] Operation: 47-20=27
Exploring Operation: 56-20=36, Resulting Numbers: [47, 36]
Generated Node #0,2,2: 43:[47, 36] Operation: 56-20=36
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 43:[47, 36], Operations: ['68-48=20', '56-20=36']
Exploring Operation: 47-36=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 47+36=83, Resulting Numbers: [83]
83,43 unequal: No Solution
Exploring Operation: 47*36=1692, Resulting Numbers: [1692]
1692,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,2,1
Current State: 43:[56, 27], Operations: ['68-48=20', '47-20=27']
Exploring Operation: 56*27=1512, Resulting Numbers: [1512]
1512,43 unequal: No Solution
Exploring Operation: 56+27=83, Resulting Numbers: [83]
83,43 unequal: No Solution
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,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,2,0
Current State: 43:[47, 76], Operations: ['68-48=20', '56+20=76']
Exploring Operation: 47*76=3572, Resulting Numbers: [3572]
3572,43 unequal: No Solution
Exploring Operation: 76-47=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Exploring Operation: 47+76=123, Resulting Numbers: [123]
123,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
76,
34,
56,
9
] | 66 | [
"34+56=90",
"90/9=10",
"76-10=66"
] | Current State: 66:[76, 34, 56, 9], Operations: []
Exploring Operation: 34+56=90, Resulting Numbers: [76, 9, 90]
Generated Node #2: [76, 9, 90] from Operation: 34+56=90
Current State: 66:[76, 9, 90], Operations: ['34+56=90']
Exploring Operation: 90/9=10, Resulting Numbers: [76, 10]
Generated Node #3: [76, 10] from Operation: 90/9=10
Current State: 66:[76, 10], Operations: ['34+56=90', '90/9=10']
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[76, 34, 56, 9], Operations: []
Exploring Operation: 76-56=20, Resulting Numbers: [34, 9, 20]
Generated Node #0,0: 66:[34, 9, 20] Operation: 76-56=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[34, 9, 20], Operations: ['76-56=20']
Exploring Operation: 20-9=11, Resulting Numbers: [34, 11]
Generated Node #0,0,0: 66:[34, 11] Operation: 20-9=11
Moving to Node #0,0,0
Current State: 66:[34, 11], Operations: ['76-56=20', '20-9=11']
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,66 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 |
[
19,
97,
54,
63
] | 39 | [
"97-19=78",
"54+63=117",
"117-78=39"
] | Current State: 39:[19, 97, 54, 63], Operations: []
Exploring Operation: 97-19=78, Resulting Numbers: [54, 63, 78]
Generated Node #2: [54, 63, 78] from Operation: 97-19=78
Current State: 39:[54, 63, 78], Operations: ['97-19=78']
Exploring Operation: 54+63=117, Resulting Numbers: [78, 117]
Generated Node #3: [78, 117] from Operation: 54+63=117
Current State: 39:[78, 117], Operations: ['97-19=78', '54+63=117']
Exploring Operation: 117-78=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[19, 97, 54, 63], Operations: []
Exploring Operation: 97-63=34, Resulting Numbers: [19, 54, 34]
Generated Node #0,0: 39:[19, 54, 34] Operation: 97-63=34
Exploring Operation: 97-19=78, Resulting Numbers: [54, 63, 78]
Generated Node #0,1: 39:[54, 63, 78] Operation: 97-19=78
Exploring Operation: 63-54=9, Resulting Numbers: [19, 97, 9]
Generated Node #0,2: 39:[19, 97, 9] Operation: 63-54=9
Exploring Operation: 97-54=43, Resulting Numbers: [19, 63, 43]
Generated Node #0,3: 39:[19, 63, 43] Operation: 97-54=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[19, 54, 34], Operations: ['97-63=34']
Exploring Operation: 54-34=20, Resulting Numbers: [19, 20]
Generated Node #0,0,0: 39:[19, 20] Operation: 54-34=20
Exploring Operation: 34-19=15, Resulting Numbers: [54, 15]
Generated Node #0,0,1: 39:[54, 15] Operation: 34-19=15
Exploring Operation: 54-19=35, Resulting Numbers: [34, 35]
Generated Node #0,0,2: 39:[34, 35] Operation: 54-19=35
Exploring Operation: 19+34=53, Resulting Numbers: [54, 53]
Generated Node #0,0,3: 39:[54, 53] Operation: 19+34=53
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 39:[34, 35], Operations: ['97-63=34', '54-19=35']
Exploring Operation: 34+35=69, Resulting Numbers: [69]
69,39 unequal: No Solution
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 34*35=1190, Resulting Numbers: [1190]
1190,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,0
Current State: 39:[19, 20], Operations: ['97-63=34', '54-34=20']
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[19, 97, 54, 63], Operations: []
Exploring Operation: 97-63=34, Resulting Numbers: [19, 54, 34]
Generated Node #0,0: 39:[19, 54, 34] Operation: 97-63=34
Moving to Node #0,0
Current State: 39:[19, 54, 34], Operations: ['97-63=34']
Exploring Operation: 54-34=20, Resulting Numbers: [19, 20]
Generated Node #0,0,0: 39:[19, 20] Operation: 54-34=20
Moving to Node #0,0,0
Current State: 39:[19, 20], Operations: ['97-63=34', '54-34=20']
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
33,
95,
92,
56
] | 99 | [
"56-33=23",
"92/23=4",
"95+4=99"
] | Current State: 99:[33, 95, 92, 56], Operations: []
Exploring Operation: 56-33=23, Resulting Numbers: [95, 92, 23]
Generated Node #2: [95, 92, 23] from Operation: 56-33=23
Current State: 99:[95, 92, 23], Operations: ['56-33=23']
Exploring Operation: 92/23=4, Resulting Numbers: [95, 4]
Generated Node #3: [95, 4] from Operation: 92/23=4
Current State: 99:[95, 4], Operations: ['56-33=23', '92/23=4']
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[33, 95, 92, 56], Operations: []
Exploring Operation: 95-56=39, Resulting Numbers: [33, 92, 39]
Generated Node #0,0: 99:[33, 92, 39] Operation: 95-56=39
Exploring Operation: 92-56=36, Resulting Numbers: [33, 95, 36]
Generated Node #0,1: 99:[33, 95, 36] Operation: 92-56=36
Moving to Node #0,1
Current State: 99:[33, 95, 36], Operations: ['92-56=36']
Exploring Operation: 36-33=3, Resulting Numbers: [95, 3]
Generated Node #0,1,0: 99:[95, 3] Operation: 36-33=3
Exploring Operation: 95-36=59, Resulting Numbers: [33, 59]
Generated Node #0,1,1: 99:[33, 59] Operation: 95-36=59
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[95, 3], Operations: ['92-56=36', '36-33=3']
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,99 unequal: No Solution
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,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,1,1
Current State: 99:[33, 59], Operations: ['92-56=36', '95-36=59']
Exploring Operation: 33+59=92, Resulting Numbers: [92]
92,99 unequal: No Solution
Exploring Operation: 59-33=26, Resulting Numbers: [26]
26,99 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: 99:[33, 92, 39], Operations: ['95-56=39']
Exploring Operation: 92-39=53, Resulting Numbers: [33, 53]
Generated Node #0,0,0: 99:[33, 53] Operation: 92-39=53
Exploring Operation: 39-33=6, Resulting Numbers: [92, 6]
Generated Node #0,0,1: 99:[92, 6] Operation: 39-33=6
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 99:[92, 6], Operations: ['95-56=39', '39-33=6']
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,99 unequal: No Solution
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[33, 53], Operations: ['95-56=39', '92-39=53']
Exploring Operation: 33+53=86, Resulting Numbers: [86]
86,99 unequal: No Solution
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,99 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 |
[
56,
75,
62,
93
] | 100 | [
"56+75=131",
"93-62=31",
"131-31=100"
] | Current State: 100:[56, 75, 62, 93], Operations: []
Exploring Operation: 56+75=131, Resulting Numbers: [62, 93, 131]
Generated Node #2: [62, 93, 131] from Operation: 56+75=131
Current State: 100:[62, 93, 131], Operations: ['56+75=131']
Exploring Operation: 93-62=31, Resulting Numbers: [131, 31]
Generated Node #3: [131, 31] from Operation: 93-62=31
Current State: 100:[131, 31], Operations: ['56+75=131', '93-62=31']
Exploring Operation: 131-31=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[56, 75, 62, 93], Operations: []
Exploring Operation: 75-56=19, Resulting Numbers: [62, 93, 19]
Generated Node #0,0: 100:[62, 93, 19] Operation: 75-56=19
Exploring Operation: 62-56=6, Resulting Numbers: [75, 93, 6]
Generated Node #0,1: 100:[75, 93, 6] Operation: 62-56=6
Exploring Operation: 93-62=31, Resulting Numbers: [56, 75, 31]
Generated Node #0,2: 100:[56, 75, 31] Operation: 93-62=31
Exploring Operation: 93-75=18, Resulting Numbers: [56, 62, 18]
Generated Node #0,3: 100:[56, 62, 18] Operation: 93-75=18
Exploring Operation: 75-62=13, Resulting Numbers: [56, 93, 13]
Generated Node #0,4: 100:[56, 93, 13] Operation: 75-62=13
Start Sub Search at level 1: Moving to Node #0,4
Current State: 100:[56, 93, 13], Operations: ['75-62=13']
Exploring Operation: 56+13=69, Resulting Numbers: [93, 69]
Generated Node #0,4,0: 100:[93, 69] Operation: 56+13=69
Exploring Operation: 56-13=43, Resulting Numbers: [93, 43]
Generated Node #0,4,1: 100:[93, 43] Operation: 56-13=43
Exploring Operation: 93-13=80, Resulting Numbers: [56, 80]
Generated Node #0,4,2: 100:[56, 80] Operation: 93-13=80
Exploring Operation: 93-56=37, Resulting Numbers: [13, 37]
Generated Node #0,4,3: 100:[13, 37] Operation: 93-56=37
Exploring Operation: 93+13=106, Resulting Numbers: [56, 106]
Generated Node #0,4,4: 100:[56, 106] Operation: 93+13=106
Moving to Node #0,4,4
Current State: 100:[56, 106], Operations: ['75-62=13', '93+13=106']
Exploring Operation: 56*106=5936, Resulting Numbers: [5936]
5936,100 unequal: No Solution
Exploring Operation: 106-56=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 56+106=162, Resulting Numbers: [162]
162,100 unequal: No Solution
Moving to Node #0,4,1
Current State: 100:[93, 43], Operations: ['75-62=13', '56-13=43']
Exploring Operation: 93-43=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 93+43=136, Resulting Numbers: [136]
136,100 unequal: No Solution
Exploring Operation: 93*43=3999, Resulting Numbers: [3999]
3999,100 unequal: No Solution
Moving to Node #0,4,3
Current State: 100:[13, 37], Operations: ['75-62=13', '93-56=37']
Exploring Operation: 13*37=481, Resulting Numbers: [481]
481,100 unequal: No Solution
Exploring Operation: 13+37=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,100 unequal: No Solution
Moving to Node #0,4,0
Current State: 100:[93, 69], Operations: ['75-62=13', '56+13=69']
Exploring Operation: 93-69=24, Resulting Numbers: [24]
24,100 unequal: No Solution
Exploring Operation: 93*69=6417, Resulting Numbers: [6417]
6417,100 unequal: No Solution
Exploring Operation: 93+69=162, Resulting Numbers: [162]
162,100 unequal: No Solution
Moving to Node #0,4,2
Current State: 100:[56, 80], Operations: ['75-62=13', '93-13=80']
Exploring Operation: 56*80=4480, Resulting Numbers: [4480]
4480,100 unequal: No Solution
Exploring Operation: 56+80=136, Resulting Numbers: [136]
136,100 unequal: No Solution
Exploring Operation: 80-56=24, Resulting Numbers: [24]
24,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[62, 93, 19], Operations: ['75-56=19']
Exploring Operation: 62+19=81, Resulting Numbers: [93, 81]
Generated Node #0,0,0: 100:[93, 81] Operation: 62+19=81
Exploring Operation: 62-19=43, Resulting Numbers: [93, 43]
Generated Node #0,0,1: 100:[93, 43] Operation: 62-19=43
Exploring Operation: 93-19=74, Resulting Numbers: [62, 74]
Generated Node #0,0,2: 100:[62, 74] Operation: 93-19=74
Exploring Operation: 93+19=112, Resulting Numbers: [62, 112]
Generated Node #0,0,3: 100:[62, 112] Operation: 93+19=112
Exploring Operation: 93-62=31, Resulting Numbers: [19, 31]
Generated Node #0,0,4: 100:[19, 31] Operation: 93-62=31
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 100:[19, 31], Operations: ['75-56=19', '93-62=31']
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Exploring Operation: 19+31=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 19*31=589, Resulting Numbers: [589]
589,100 unequal: No Solution
No 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: 100:[93, 43], Operations: ['75-56=19', '62-19=43']
Exploring Operation: 93+43=136, Resulting Numbers: [136]
136,100 unequal: No Solution
Exploring Operation: 93-43=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 93*43=3999, Resulting Numbers: [3999]
3999,100 unequal: No Solution
No 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: 100:[62, 112], Operations: ['75-56=19', '93+19=112']
Exploring Operation: 112-62=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 62*112=6944, Resulting Numbers: [6944]
6944,100 unequal: No Solution
Exploring Operation: 62+112=174, Resulting Numbers: [174]
174,100 unequal: No Solution
No 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: 100:[93, 81], Operations: ['75-56=19', '62+19=81']
Exploring Operation: 93*81=7533, Resulting Numbers: [7533]
7533,100 unequal: No Solution
Exploring Operation: 93-81=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Exploring Operation: 93+81=174, Resulting Numbers: [174]
174,100 unequal: No Solution
No 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: 100:[62, 74], Operations: ['75-56=19', '93-19=74']
Exploring Operation: 62*74=4588, Resulting Numbers: [4588]
4588,100 unequal: No Solution
Exploring Operation: 74-62=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Exploring Operation: 62+74=136, Resulting Numbers: [136]
136,100 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: 100:[56, 62, 18], Operations: ['93-75=18']
Exploring Operation: 62+18=80, Resulting Numbers: [56, 80]
Generated Node #0,3,0: 100:[56, 80] Operation: 62+18=80
Exploring Operation: 62-18=44, Resulting Numbers: [56, 44]
Generated Node #0,3,1: 100:[56, 44] Operation: 62-18=44
Exploring Operation: 56+62=118, Resulting Numbers: [18, 118]
Generated Node #0,3,2: 100:[18, 118] Operation: 56+62=118
Exploring Operation: 56-18=38, Resulting Numbers: [62, 38]
Generated Node #0,3,3: 100:[62, 38] Operation: 56-18=38
Exploring Operation: 62-56=6, Resulting Numbers: [18, 6]
Generated Node #0,3,4: 100:[18, 6] Operation: 62-56=6
Moving to Node #0,3,4
Current State: 100:[18, 6], Operations: ['93-75=18', '62-56=6']
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,100 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Exploring Operation: 18*6=108, Resulting Numbers: [108]
108,100 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Moving to Node #0,3,1
Current State: 100:[56, 44], Operations: ['93-75=18', '62-18=44']
Exploring Operation: 56*44=2464, Resulting Numbers: [2464]
2464,100 unequal: No Solution
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Exploring Operation: 56+44=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[56, 75, 62, 93], Operations: []
Exploring Operation: 93-75=18, Resulting Numbers: [56, 62, 18]
Generated Node #0,3: 100:[56, 62, 18] Operation: 93-75=18
Moving to Node #0,3
Current State: 100:[56, 62, 18], Operations: ['93-75=18']
Exploring Operation: 62-18=44, Resulting Numbers: [56, 44]
Generated Node #0,3,1: 100:[56, 44] Operation: 62-18=44
Moving to Node #0,3,1
Current State: 100:[56, 44], Operations: ['93-75=18', '62-18=44']
Exploring Operation: 56+44=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.947049 | hs_5 | sum_heuristic |
[
25,
2,
1,
43
] | 60 | [
"25+1=26",
"2*43=86",
"86-26=60"
] | Current State: 60:[25, 2, 1, 43], Operations: []
Exploring Operation: 25+1=26, Resulting Numbers: [2, 43, 26]
Generated Node #2: [2, 43, 26] from Operation: 25+1=26
Current State: 60:[2, 43, 26], Operations: ['25+1=26']
Exploring Operation: 2*43=86, Resulting Numbers: [26, 86]
Generated Node #3: [26, 86] from Operation: 2*43=86
Current State: 60:[26, 86], Operations: ['25+1=26', '2*43=86']
Exploring Operation: 86-26=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[25, 2, 1, 43], Operations: []
Exploring Operation: 43-25=18, Resulting Numbers: [2, 1, 18]
Generated Node #0,0: 60:[2, 1, 18] Operation: 43-25=18
Exploring Operation: 25+2=27, Resulting Numbers: [1, 43, 27]
Generated Node #0,1: 60:[1, 43, 27] Operation: 25+2=27
Exploring Operation: 25+43=68, Resulting Numbers: [2, 1, 68]
Generated Node #0,2: 60:[2, 1, 68] Operation: 25+43=68
Moving to Node #0,0
Current State: 60:[2, 1, 18], Operations: ['43-25=18']
Exploring Operation: 1+18=19, Resulting Numbers: [2, 19]
Generated Node #0,0,0: 60:[2, 19] Operation: 1+18=19
Exploring Operation: 2+18=20, Resulting Numbers: [1, 20]
Generated Node #0,0,1: 60:[1, 20] Operation: 2+18=20
Exploring Operation: 2+1=3, Resulting Numbers: [18, 3]
Generated Node #0,0,2: 60:[18, 3] Operation: 2+1=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[2, 19], Operations: ['43-25=18', '1+18=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,60 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 60:[1, 20], Operations: ['43-25=18', '2+18=20']
Exploring Operation: 1*20=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 1+20=21, Resulting Numbers: [21]
21,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 60:[18, 3], Operations: ['43-25=18', '2+1=3']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,60 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: 60:[2, 1, 68], Operations: ['25+43=68']
Exploring Operation: 68-2=66, Resulting Numbers: [1, 66]
Generated Node #0,2,0: 60:[1, 66] Operation: 68-2=66
Exploring Operation: 68/2=34, Resulting Numbers: [1, 34]
Generated Node #0,2,1: 60:[1, 34] Operation: 68/2=34
Exploring Operation: 68-1=67, Resulting Numbers: [2, 67]
Generated Node #0,2,2: 60:[2, 67] Operation: 68-1=67
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 60:[1, 34], Operations: ['25+43=68', '68/2=34']
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,60 unequal: No Solution
Exploring Operation: 1*34=34, Resulting Numbers: [34]
34,60 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 60:[1, 66], Operations: ['25+43=68', '68-2=66']
Exploring Operation: 1*66=66, Resulting Numbers: [66]
66,60 unequal: No Solution
Exploring Operation: 66/1=66, Resulting Numbers: [66]
66,60 unequal: No Solution
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 60:[2, 67], Operations: ['25+43=68', '68-1=67']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,60 unequal: No Solution
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,60 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 60:[1, 43, 27], Operations: ['25+2=27']
Exploring Operation: 43-1=42, Resulting Numbers: [27, 42]
Generated Node #0,1,0: 60:[27, 42] Operation: 43-1=42
Exploring Operation: 43+27=70, Resulting Numbers: [1, 70]
Generated Node #0,1,1: 60:[1, 70] Operation: 43+27=70
Exploring Operation: 43-27=16, Resulting Numbers: [1, 16]
Generated Node #0,1,2: 60:[1, 16] Operation: 43-27=16
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 60:[1, 16], Operations: ['25+2=27', '43-27=16']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 60:[1, 70], Operations: ['25+2=27', '43+27=70']
Exploring Operation: 70/1=70, Resulting Numbers: [70]
70,60 unequal: No Solution
Exploring Operation: 1*70=70, Resulting Numbers: [70]
70,60 unequal: No Solution
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 60:[27, 42], Operations: ['25+2=27', '43-1=42']
Exploring Operation: 27+42=69, Resulting Numbers: [69]
69,60 unequal: No Solution
Exploring Operation: 27*42=1134, Resulting Numbers: [1134]
1134,60 unequal: No Solution
Exploring Operation: 42-27=15, Resulting Numbers: [15]
15,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
36,
55,
78,
1
] | 97 | [
"55-36=19",
"78*1=78",
"19+78=97"
] | Current State: 97:[36, 55, 78, 1], Operations: []
Exploring Operation: 55-36=19, Resulting Numbers: [78, 1, 19]
Generated Node #2: [78, 1, 19] from Operation: 55-36=19
Current State: 97:[78, 1, 19], Operations: ['55-36=19']
Exploring Operation: 78*1=78, Resulting Numbers: [19, 78]
Generated Node #3: [19, 78] from Operation: 78*1=78
Current State: 97:[19, 78], Operations: ['55-36=19', '78*1=78']
Exploring Operation: 19+78=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[36, 55, 78, 1], Operations: []
Exploring Operation: 36+55=91, Resulting Numbers: [78, 1, 91]
Generated Node #0,0: 97:[78, 1, 91] Operation: 36+55=91
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[78, 1, 91], Operations: ['36+55=91']
Exploring Operation: 78+1=79, Resulting Numbers: [91, 79]
Generated Node #0,0,0: 97:[91, 79] Operation: 78+1=79
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[91, 79], Operations: ['36+55=91', '78+1=79']
Exploring Operation: 91+79=170, Resulting Numbers: [170]
170,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
45,
91,
83,
50
] | 79 | [
"91-45=46",
"83-50=33",
"46+33=79"
] | Current State: 79:[45, 91, 83, 50], Operations: []
Exploring Operation: 91-45=46, Resulting Numbers: [83, 50, 46]
Generated Node #2: [83, 50, 46] from Operation: 91-45=46
Current State: 79:[83, 50, 46], Operations: ['91-45=46']
Exploring Operation: 83-50=33, Resulting Numbers: [46, 33]
Generated Node #3: [46, 33] from Operation: 83-50=33
Current State: 79:[46, 33], Operations: ['91-45=46', '83-50=33']
Exploring Operation: 46+33=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[45, 91, 83, 50], Operations: []
Exploring Operation: 91-45=46, Resulting Numbers: [83, 50, 46]
Generated Node #0,0: 79:[83, 50, 46] Operation: 91-45=46
Exploring Operation: 45+50=95, Resulting Numbers: [91, 83, 95]
Generated Node #0,1: 79:[91, 83, 95] Operation: 45+50=95
Exploring Operation: 91-50=41, Resulting Numbers: [45, 83, 41]
Generated Node #0,2: 79:[45, 83, 41] Operation: 91-50=41
Moving to Node #0,1
Current State: 79:[91, 83, 95], Operations: ['45+50=95']
Exploring Operation: 95-83=12, Resulting Numbers: [91, 12]
Generated Node #0,1,0: 79:[91, 12] Operation: 95-83=12
Exploring Operation: 95-91=4, Resulting Numbers: [83, 4]
Generated Node #0,1,1: 79:[83, 4] Operation: 95-91=4
Exploring Operation: 91-83=8, Resulting Numbers: [95, 8]
Generated Node #0,1,2: 79:[95, 8] Operation: 91-83=8
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[91, 12], Operations: ['45+50=95', '95-83=12']
Exploring Operation: 91+12=103, Resulting Numbers: [103]
103,79 unequal: No Solution
Exploring Operation: 91*12=1092, Resulting Numbers: [1092]
1092,79 unequal: No Solution
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[45, 91, 83, 50], Operations: []
Exploring Operation: 45+50=95, Resulting Numbers: [91, 83, 95]
Generated Node #0,1: 79:[91, 83, 95] Operation: 45+50=95
Moving to Node #0,1
Current State: 79:[91, 83, 95], Operations: ['45+50=95']
Exploring Operation: 95-83=12, Resulting Numbers: [91, 12]
Generated Node #0,1,0: 79:[91, 12] Operation: 95-83=12
Moving to Node #0,1,0
Current State: 79:[91, 12], Operations: ['45+50=95', '95-83=12']
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
7,
62,
6,
53
] | 96 | [
"7+62=69",
"69-53=16",
"6*16=96"
] | Current State: 96:[7, 62, 6, 53], Operations: []
Exploring Operation: 7+62=69, Resulting Numbers: [6, 53, 69]
Generated Node #2: [6, 53, 69] from Operation: 7+62=69
Current State: 96:[6, 53, 69], Operations: ['7+62=69']
Exploring Operation: 69-53=16, Resulting Numbers: [6, 16]
Generated Node #3: [6, 16] from Operation: 69-53=16
Current State: 96:[6, 16], Operations: ['7+62=69', '69-53=16']
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[7, 62, 6, 53], Operations: []
Exploring Operation: 62-53=9, Resulting Numbers: [7, 6, 9]
Generated Node #0,0: 96:[7, 6, 9] Operation: 62-53=9
Moving to Node #0,0
Current State: 96:[7, 6, 9], Operations: ['62-53=9']
Exploring Operation: 7+9=16, Resulting Numbers: [6, 16]
Generated Node #0,0,0: 96:[6, 16] Operation: 7+9=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[6, 16], Operations: ['62-53=9', '7+9=16']
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[7, 62, 6, 53], Operations: []
Exploring Operation: 62-53=9, Resulting Numbers: [7, 6, 9]
Generated Node #0,0: 96:[7, 6, 9] Operation: 62-53=9
Moving to Node #0,0
Current State: 96:[7, 6, 9], Operations: ['62-53=9']
Exploring Operation: 7+9=16, Resulting Numbers: [6, 16]
Generated Node #0,0,0: 96:[6, 16] Operation: 7+9=16
Moving to Node #0,0,0
Current State: 96:[6, 16], Operations: ['62-53=9', '7+9=16']
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
15,
11,
60,
23
] | 20 | [
"15+11=26",
"26-23=3",
"60/3=20"
] | Current State: 20:[15, 11, 60, 23], Operations: []
Exploring Operation: 15+11=26, Resulting Numbers: [60, 23, 26]
Generated Node #2: [60, 23, 26] from Operation: 15+11=26
Current State: 20:[60, 23, 26], Operations: ['15+11=26']
Exploring Operation: 26-23=3, Resulting Numbers: [60, 3]
Generated Node #3: [60, 3] from Operation: 26-23=3
Current State: 20:[60, 3], Operations: ['15+11=26', '26-23=3']
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[15, 11, 60, 23], Operations: []
Exploring Operation: 60-11=49, Resulting Numbers: [15, 23, 49]
Generated Node #0,0: 20:[15, 23, 49] Operation: 60-11=49
Exploring Operation: 60-23=37, Resulting Numbers: [15, 11, 37]
Generated Node #0,1: 20:[15, 11, 37] Operation: 60-23=37
Exploring Operation: 60/15=4, Resulting Numbers: [11, 23, 4]
Generated Node #0,2: 20:[11, 23, 4] Operation: 60/15=4
Exploring Operation: 60-15=45, Resulting Numbers: [11, 23, 45]
Generated Node #0,3: 20:[11, 23, 45] Operation: 60-15=45
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[11, 23, 4], Operations: ['60/15=4']
Exploring Operation: 23-4=19, Resulting Numbers: [11, 19]
Generated Node #0,2,0: 20:[11, 19] Operation: 23-4=19
Exploring Operation: 11+4=15, Resulting Numbers: [23, 15]
Generated Node #0,2,1: 20:[23, 15] Operation: 11+4=15
Exploring Operation: 11-4=7, Resulting Numbers: [23, 7]
Generated Node #0,2,2: 20:[23, 7] Operation: 11-4=7
Exploring Operation: 23-11=12, Resulting Numbers: [4, 12]
Generated Node #0,2,3: 20:[4, 12] Operation: 23-11=12
Moving to Node #0,2,0
Current State: 20:[11, 19], Operations: ['60/15=4', '23-4=19']
Exploring Operation: 11+19=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Exploring Operation: 11*19=209, Resulting Numbers: [209]
209,20 unequal: No Solution
Moving to Node #0,2,3
Current State: 20:[4, 12], Operations: ['60/15=4', '23-11=12']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,20 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[23, 7], Operations: ['60/15=4', '11-4=7']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,20 unequal: No Solution
Moving to Node #0,2,1
Current State: 20:[23, 15], Operations: ['60/15=4', '11+4=15']
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,20 unequal: No Solution
Exploring Operation: 23*15=345, Resulting Numbers: [345]
345,20 unequal: No Solution
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,20 unequal: No Solution
No 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: 20:[15, 11, 37], Operations: ['60-23=37']
Exploring Operation: 15-11=4, Resulting Numbers: [37, 4]
Generated Node #0,1,0: 20:[37, 4] Operation: 15-11=4
Exploring Operation: 37-15=22, Resulting Numbers: [11, 22]
Generated Node #0,1,1: 20:[11, 22] Operation: 37-15=22
Exploring Operation: 15+11=26, Resulting Numbers: [37, 26]
Generated Node #0,1,2: 20:[37, 26] Operation: 15+11=26
Exploring Operation: 37-11=26, Resulting Numbers: [15, 26]
Generated Node #0,1,3: 20:[15, 26] Operation: 37-11=26
Moving to Node #0,1,1
Current State: 20:[11, 22], Operations: ['60-23=37', '37-15=22']
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 11+22=33, Resulting Numbers: [33]
33,20 unequal: No Solution
Exploring Operation: 11*22=242, Resulting Numbers: [242]
242,20 unequal: No Solution
Moving to Node #0,1,3
Current State: 20:[15, 26], Operations: ['60-23=37', '37-11=26']
Exploring Operation: 15+26=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 15*26=390, Resulting Numbers: [390]
390,20 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[37, 4], Operations: ['60-23=37', '15-11=4']
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,20 unequal: No Solution
Exploring Operation: 37*4=148, Resulting Numbers: [148]
148,20 unequal: No Solution
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Moving to Node #0,1,2
Current State: 20:[37, 26], Operations: ['60-23=37', '15+11=26']
Exploring Operation: 37*26=962, Resulting Numbers: [962]
962,20 unequal: No Solution
Exploring Operation: 37+26=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 37-26=11, Resulting Numbers: [11]
11,20 unequal: No Solution
No 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: 20:[11, 23, 45], Operations: ['60-15=45']
Exploring Operation: 11+23=34, Resulting Numbers: [45, 34]
Generated Node #0,3,0: 20:[45, 34] Operation: 11+23=34
Exploring Operation: 45-11=34, Resulting Numbers: [23, 34]
Generated Node #0,3,1: 20:[23, 34] Operation: 45-11=34
Exploring Operation: 45-23=22, Resulting Numbers: [11, 22]
Generated Node #0,3,2: 20:[11, 22] Operation: 45-23=22
Exploring Operation: 23-11=12, Resulting Numbers: [45, 12]
Generated Node #0,3,3: 20:[45, 12] Operation: 23-11=12
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 20:[11, 22], Operations: ['60-15=45', '45-23=22']
Exploring Operation: 11*22=242, Resulting Numbers: [242]
242,20 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 11+22=33, Resulting Numbers: [33]
33,20 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,20 unequal: No Solution
No 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: 20:[23, 34], Operations: ['60-15=45', '45-11=34']
Exploring Operation: 23+34=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 23*34=782, Resulting Numbers: [782]
782,20 unequal: No Solution
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,20 unequal: No Solution
No 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: 20:[45, 12], Operations: ['60-15=45', '23-11=12']
Exploring Operation: 45-12=33, Resulting Numbers: [33]
33,20 unequal: No Solution
Exploring Operation: 45*12=540, Resulting Numbers: [540]
540,20 unequal: No Solution
Exploring Operation: 45+12=57, Resulting Numbers: [57]
57,20 unequal: No Solution
No 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: 20:[45, 34], Operations: ['60-15=45', '11+23=34']
Exploring Operation: 45*34=1530, Resulting Numbers: [1530]
1530,20 unequal: No Solution
Exploring Operation: 45-34=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 45+34=79, Resulting Numbers: [79]
79,20 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: 20:[15, 23, 49], Operations: ['60-11=49']
Exploring Operation: 23-15=8, Resulting Numbers: [49, 8]
Generated Node #0,0,0: 20:[49, 8] Operation: 23-15=8
Exploring Operation: 49-15=34, Resulting Numbers: [23, 34]
Generated Node #0,0,1: 20:[23, 34] Operation: 49-15=34
Exploring Operation: 49-23=26, Resulting Numbers: [15, 26]
Generated Node #0,0,2: 20:[15, 26] Operation: 49-23=26
Exploring Operation: 15+23=38, Resulting Numbers: [49, 38]
Generated Node #0,0,3: 20:[49, 38] Operation: 15+23=38
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 20:[15, 26], Operations: ['60-11=49', '49-23=26']
Exploring Operation: 15*26=390, Resulting Numbers: [390]
390,20 unequal: No Solution
Exploring Operation: 15+26=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,20 unequal: No Solution
No 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: 20:[23, 34], Operations: ['60-11=49', '49-15=34']
Exploring Operation: 23*34=782, Resulting Numbers: [782]
782,20 unequal: No Solution
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 23+34=57, Resulting Numbers: [57]
57,20 unequal: No Solution
No 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: 20:[49, 8], Operations: ['60-11=49', '23-15=8']
Exploring Operation: 49*8=392, Resulting Numbers: [392]
392,20 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 49+8=57, Resulting Numbers: [57]
57,20 unequal: No Solution
No 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: 20:[49, 38], Operations: ['60-11=49', '15+23=38']
Exploring Operation: 49+38=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Exploring Operation: 49-38=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 49*38=1862, Resulting Numbers: [1862]
1862,20 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 |
[
11,
58,
45,
76
] | 47 | [
"45+76=121",
"121/11=11",
"58-11=47"
] | Current State: 47:[11, 58, 45, 76], Operations: []
Exploring Operation: 45+76=121, Resulting Numbers: [11, 58, 121]
Generated Node #2: [11, 58, 121] from Operation: 45+76=121
Current State: 47:[11, 58, 121], Operations: ['45+76=121']
Exploring Operation: 121/11=11, Resulting Numbers: [58, 11]
Generated Node #3: [58, 11] from Operation: 121/11=11
Current State: 47:[58, 11], Operations: ['45+76=121', '121/11=11']
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[11, 58, 45, 76], Operations: []
Exploring Operation: 76-11=65, Resulting Numbers: [58, 45, 65]
Generated Node #0,0: 47:[58, 45, 65] Operation: 76-11=65
Exploring Operation: 58-11=47, Resulting Numbers: [45, 76, 47]
Generated Node #0,1: 47:[45, 76, 47] Operation: 58-11=47
Moving to Node #0,0
Current State: 47:[58, 45, 65], Operations: ['76-11=65']
Exploring Operation: 65-45=20, Resulting Numbers: [58, 20]
Generated Node #0,0,0: 47:[58, 20] Operation: 65-45=20
Exploring Operation: 65-58=7, Resulting Numbers: [45, 7]
Generated Node #0,0,1: 47:[45, 7] Operation: 65-58=7
Moving to Node #0,1
Current State: 47:[45, 76, 47], Operations: ['58-11=47']
Exploring Operation: 76-47=29, Resulting Numbers: [45, 29]
Generated Node #0,1,0: 47:[45, 29] Operation: 76-47=29
Exploring Operation: 76-45=31, Resulting Numbers: [47, 31]
Generated Node #0,1,1: 47:[47, 31] Operation: 76-45=31
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[47, 31], Operations: ['58-11=47', '76-45=31']
Exploring Operation: 47+31=78, Resulting Numbers: [78]
78,47 unequal: No Solution
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[45, 29], Operations: ['58-11=47', '76-47=29']
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,47 unequal: No Solution
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 47:[58, 20], Operations: ['76-11=65', '65-45=20']
Exploring Operation: 58-20=38, Resulting Numbers: [38]
38,47 unequal: No Solution
Exploring Operation: 58+20=78, Resulting Numbers: [78]
78,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[45, 7], Operations: ['76-11=65', '65-58=7']
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,47 unequal: No Solution
Exploring Operation: 45+7=52, Resulting Numbers: [52]
52,47 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
40,
17,
55,
56
] | 58 | [
"40+17=57",
"56-55=1",
"57+1=58"
] | Current State: 58:[40, 17, 55, 56], Operations: []
Exploring Operation: 40+17=57, Resulting Numbers: [55, 56, 57]
Generated Node #2: [55, 56, 57] from Operation: 40+17=57
Current State: 58:[55, 56, 57], Operations: ['40+17=57']
Exploring Operation: 56-55=1, Resulting Numbers: [57, 1]
Generated Node #3: [57, 1] from Operation: 56-55=1
Current State: 58:[57, 1], Operations: ['40+17=57', '56-55=1']
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[40, 17, 55, 56], Operations: []
Exploring Operation: 40-17=23, Resulting Numbers: [55, 56, 23]
Generated Node #0,0: 58:[55, 56, 23] Operation: 40-17=23
Exploring Operation: 56-17=39, Resulting Numbers: [40, 55, 39]
Generated Node #0,1: 58:[40, 55, 39] Operation: 56-17=39
Exploring Operation: 55-17=38, Resulting Numbers: [40, 56, 38]
Generated Node #0,2: 58:[40, 56, 38] Operation: 55-17=38
Exploring Operation: 40+17=57, Resulting Numbers: [55, 56, 57]
Generated Node #0,3: 58:[55, 56, 57] Operation: 40+17=57
Start Sub Search at level 1: Moving to Node #0,3
Current State: 58:[55, 56, 57], Operations: ['40+17=57']
Exploring Operation: 55+56=111, Resulting Numbers: [57, 111]
Generated Node #0,3,0: 58:[57, 111] Operation: 55+56=111
Exploring Operation: 57-55=2, Resulting Numbers: [56, 2]
Generated Node #0,3,1: 58:[56, 2] Operation: 57-55=2
Exploring Operation: 57-56=1, Resulting Numbers: [55, 1]
Generated Node #0,3,2: 58:[55, 1] Operation: 57-56=1
Exploring Operation: 56-55=1, Resulting Numbers: [57, 1]
Generated Node #0,3,3: 58:[57, 1] Operation: 56-55=1
Moving to Node #0,3,1
Current State: 58:[56, 2], Operations: ['40+17=57', '57-55=2']
Exploring Operation: 56*2=112, Resulting Numbers: [112]
112,58 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[40, 17, 55, 56], Operations: []
Exploring Operation: 40+17=57, Resulting Numbers: [55, 56, 57]
Generated Node #0,3: 58:[55, 56, 57] Operation: 40+17=57
Moving to Node #0,3
Current State: 58:[55, 56, 57], Operations: ['40+17=57']
Exploring Operation: 57-55=2, Resulting Numbers: [56, 2]
Generated Node #0,3,1: 58:[56, 2] Operation: 57-55=2
Moving to Node #0,3,1
Current State: 58:[56, 2], Operations: ['40+17=57', '57-55=2']
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
9,
2,
22,
88
] | 53 | [
"9+88=97",
"2*22=44",
"97-44=53"
] | Current State: 53:[9, 2, 22, 88], Operations: []
Exploring Operation: 9+88=97, Resulting Numbers: [2, 22, 97]
Generated Node #2: [2, 22, 97] from Operation: 9+88=97
Current State: 53:[2, 22, 97], Operations: ['9+88=97']
Exploring Operation: 2*22=44, Resulting Numbers: [97, 44]
Generated Node #3: [97, 44] from Operation: 2*22=44
Current State: 53:[97, 44], Operations: ['9+88=97', '2*22=44']
Exploring Operation: 97-44=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[9, 2, 22, 88], Operations: []
Exploring Operation: 88/2=44, Resulting Numbers: [9, 22, 44]
Generated Node #0,0: 53:[9, 22, 44] Operation: 88/2=44
Moving to Node #0,0
Current State: 53:[9, 22, 44], Operations: ['88/2=44']
Exploring Operation: 9+22=31, Resulting Numbers: [44, 31]
Generated Node #0,0,0: 53:[44, 31] Operation: 9+22=31
Moving to Node #0,0,0
Current State: 53:[44, 31], Operations: ['88/2=44', '9+22=31']
Exploring Operation: 44+31=75, Resulting Numbers: [75]
75,53 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
5,
12,
68,
23
] | 98 | [
"12-5=7",
"68+23=91",
"7+91=98"
] | Current State: 98:[5, 12, 68, 23], Operations: []
Exploring Operation: 12-5=7, Resulting Numbers: [68, 23, 7]
Generated Node #2: [68, 23, 7] from Operation: 12-5=7
Current State: 98:[68, 23, 7], Operations: ['12-5=7']
Exploring Operation: 68+23=91, Resulting Numbers: [7, 91]
Generated Node #3: [7, 91] from Operation: 68+23=91
Current State: 98:[7, 91], Operations: ['12-5=7', '68+23=91']
Exploring Operation: 7+91=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[5, 12, 68, 23], Operations: []
Exploring Operation: 68-23=45, Resulting Numbers: [5, 12, 45]
Generated Node #0,0: 98:[5, 12, 45] Operation: 68-23=45
Exploring Operation: 68+23=91, Resulting Numbers: [5, 12, 91]
Generated Node #0,1: 98:[5, 12, 91] Operation: 68+23=91
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[5, 12, 45], Operations: ['68-23=45']
Exploring Operation: 12-5=7, Resulting Numbers: [45, 7]
Generated Node #0,0,0: 98:[45, 7] Operation: 12-5=7
Exploring Operation: 5+45=50, Resulting Numbers: [12, 50]
Generated Node #0,0,1: 98:[12, 50] Operation: 5+45=50
Moving to Node #0,0,1
Current State: 98:[12, 50], Operations: ['68-23=45', '5+45=50']
Exploring Operation: 12+50=62, Resulting Numbers: [62]
62,98 unequal: No Solution
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[45, 7], Operations: ['68-23=45', '12-5=7']
Exploring Operation: 45+7=52, Resulting Numbers: [52]
52,98 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,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
Current State: 98:[5, 12, 91], Operations: ['68+23=91']
Exploring Operation: 12-5=7, Resulting Numbers: [91, 7]
Generated Node #0,1,0: 98:[91, 7] Operation: 12-5=7
Exploring Operation: 5+91=96, Resulting Numbers: [12, 96]
Generated Node #0,1,1: 98:[12, 96] Operation: 5+91=96
Moving to Node #0,1,1
Current State: 98:[12, 96], Operations: ['68+23=91', '5+91=96']
Exploring Operation: 12+96=108, Resulting Numbers: [108]
108,98 unequal: No Solution
Exploring Operation: 96/12=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[91, 7], Operations: ['68+23=91', '12-5=7']
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Exploring Operation: 91+7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[5, 12, 68, 23], Operations: []
Exploring Operation: 68+23=91, Resulting Numbers: [5, 12, 91]
Generated Node #0,1: 98:[5, 12, 91] Operation: 68+23=91
Moving to Node #0,1
Current State: 98:[5, 12, 91], Operations: ['68+23=91']
Exploring Operation: 12-5=7, Resulting Numbers: [91, 7]
Generated Node #0,1,0: 98:[91, 7] Operation: 12-5=7
Moving to Node #0,1,0
Current State: 98:[91, 7], Operations: ['68+23=91', '12-5=7']
Exploring Operation: 91+7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
89,
99,
90,
94
] | 81 | [
"94-89=5",
"90/5=18",
"99-18=81"
] | Current State: 81:[89, 99, 90, 94], Operations: []
Exploring Operation: 94-89=5, Resulting Numbers: [99, 90, 5]
Generated Node #2: [99, 90, 5] from Operation: 94-89=5
Current State: 81:[99, 90, 5], Operations: ['94-89=5']
Exploring Operation: 90/5=18, Resulting Numbers: [99, 18]
Generated Node #3: [99, 18] from Operation: 90/5=18
Current State: 81:[99, 18], Operations: ['94-89=5', '90/5=18']
Exploring Operation: 99-18=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[89, 99, 90, 94], Operations: []
Exploring Operation: 99-94=5, Resulting Numbers: [89, 90, 5]
Generated Node #0,0: 81:[89, 90, 5] Operation: 99-94=5
Moving to Node #0,0
Current State: 81:[89, 90, 5], Operations: ['99-94=5']
Exploring Operation: 90-89=1, Resulting Numbers: [5, 1]
Generated Node #0,0,0: 81:[5, 1] Operation: 90-89=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[5, 1], Operations: ['99-94=5', '90-89=1']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,81 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 |
[
24,
66,
32,
69
] | 26 | [
"32*69=2208",
"2208/24=92",
"92-66=26"
] | Current State: 26:[24, 66, 32, 69], Operations: []
Exploring Operation: 32*69=2208, Resulting Numbers: [24, 66, 2208]
Generated Node #2: [24, 66, 2208] from Operation: 32*69=2208
Current State: 26:[24, 66, 2208], Operations: ['32*69=2208']
Exploring Operation: 2208/24=92, Resulting Numbers: [66, 92]
Generated Node #3: [66, 92] from Operation: 2208/24=92
Current State: 26:[66, 92], Operations: ['32*69=2208', '2208/24=92']
Exploring Operation: 92-66=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[24, 66, 32, 69], Operations: []
Exploring Operation: 69-66=3, Resulting Numbers: [24, 32, 3]
Generated Node #0,0: 26:[24, 32, 3] Operation: 69-66=3
Moving to Node #0,0
Current State: 26:[24, 32, 3], Operations: ['69-66=3']
Exploring Operation: 32-3=29, Resulting Numbers: [24, 29]
Generated Node #0,0,0: 26:[24, 29] Operation: 32-3=29
Moving to Node #0,0,0
Current State: 26:[24, 29], Operations: ['69-66=3', '32-3=29']
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,26 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
12,
96,
82,
90
] | 100 | [
"12+96=108",
"90-82=8",
"108-8=100"
] | Current State: 100:[12, 96, 82, 90], Operations: []
Exploring Operation: 12+96=108, Resulting Numbers: [82, 90, 108]
Generated Node #2: [82, 90, 108] from Operation: 12+96=108
Current State: 100:[82, 90, 108], Operations: ['12+96=108']
Exploring Operation: 90-82=8, Resulting Numbers: [108, 8]
Generated Node #3: [108, 8] from Operation: 90-82=8
Current State: 100:[108, 8], Operations: ['12+96=108', '90-82=8']
Exploring Operation: 108-8=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[12, 96, 82, 90], Operations: []
Exploring Operation: 90-82=8, Resulting Numbers: [12, 96, 8]
Generated Node #0,0: 100:[12, 96, 8] Operation: 90-82=8
Exploring Operation: 12+90=102, Resulting Numbers: [96, 82, 102]
Generated Node #0,1: 100:[96, 82, 102] Operation: 12+90=102
Exploring Operation: 12+82=94, Resulting Numbers: [96, 90, 94]
Generated Node #0,2: 100:[96, 90, 94] Operation: 12+82=94
Exploring Operation: 96-82=14, Resulting Numbers: [12, 90, 14]
Generated Node #0,3: 100:[12, 90, 14] Operation: 96-82=14
Exploring Operation: 96-90=6, Resulting Numbers: [12, 82, 6]
Generated Node #0,4: 100:[12, 82, 6] Operation: 96-90=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[12, 96, 8], Operations: ['90-82=8']
Exploring Operation: 96/12=8, Resulting Numbers: [8, 8]
Generated Node #0,0,0: 100:[8, 8] Operation: 96/12=8
Exploring Operation: 12+8=20, Resulting Numbers: [96, 20]
Generated Node #0,0,1: 100:[96, 20] Operation: 12+8=20
Exploring Operation: 96+8=104, Resulting Numbers: [12, 104]
Generated Node #0,0,2: 100:[12, 104] Operation: 96+8=104
Exploring Operation: 12-8=4, Resulting Numbers: [96, 4]
Generated Node #0,0,3: 100:[96, 4] Operation: 12-8=4
Exploring Operation: 96/8=12, Resulting Numbers: [12, 12]
Generated Node #0,0,4: 100:[12, 12] Operation: 96/8=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[8, 8], Operations: ['90-82=8', '96/12=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,100 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,100 unequal: No Solution
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,100 unequal: No Solution
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,100 unequal: No Solution
No 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: 100:[96, 20], Operations: ['90-82=8', '12+8=20']
Exploring Operation: 96*20=1920, Resulting Numbers: [1920]
1920,100 unequal: No Solution
Exploring Operation: 96+20=116, Resulting Numbers: [116]
116,100 unequal: No Solution
Exploring Operation: 96-20=76, Resulting Numbers: [76]
76,100 unequal: No Solution
No 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: 100:[96, 4], Operations: ['90-82=8', '12-8=4']
Exploring Operation: 96+4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[12, 96, 82, 90], Operations: []
Exploring Operation: 90-82=8, Resulting Numbers: [12, 96, 8]
Generated Node #0,0: 100:[12, 96, 8] Operation: 90-82=8
Moving to Node #0,0
Current State: 100:[12, 96, 8], Operations: ['90-82=8']
Exploring Operation: 12-8=4, Resulting Numbers: [96, 4]
Generated Node #0,0,3: 100:[96, 4] Operation: 12-8=4
Moving to Node #0,0,3
Current State: 100:[96, 4], Operations: ['90-82=8', '12-8=4']
Exploring Operation: 96+4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
85,
22,
56,
31
] | 37 | [
"22*56=1232",
"1232-85=1147",
"1147/31=37"
] | Current State: 37:[85, 22, 56, 31], Operations: []
Exploring Operation: 22*56=1232, Resulting Numbers: [85, 31, 1232]
Generated Node #2: [85, 31, 1232] from Operation: 22*56=1232
Current State: 37:[85, 31, 1232], Operations: ['22*56=1232']
Exploring Operation: 1232-85=1147, Resulting Numbers: [31, 1147]
Generated Node #3: [31, 1147] from Operation: 1232-85=1147
Current State: 37:[31, 1147], Operations: ['22*56=1232', '1232-85=1147']
Exploring Operation: 1147/31=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[85, 22, 56, 31], Operations: []
Exploring Operation: 85-22=63, Resulting Numbers: [56, 31, 63]
Generated Node #0,0: 37:[56, 31, 63] Operation: 85-22=63
Exploring Operation: 85-56=29, Resulting Numbers: [22, 31, 29]
Generated Node #0,1: 37:[22, 31, 29] Operation: 85-56=29
Exploring Operation: 85-31=54, Resulting Numbers: [22, 56, 54]
Generated Node #0,2: 37:[22, 56, 54] Operation: 85-31=54
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[22, 31, 29], Operations: ['85-56=29']
Exploring Operation: 22+29=51, Resulting Numbers: [31, 51]
Generated Node #0,1,0: 37:[31, 51] Operation: 22+29=51
Exploring Operation: 31-22=9, Resulting Numbers: [29, 9]
Generated Node #0,1,1: 37:[29, 9] Operation: 31-22=9
Exploring Operation: 22+31=53, Resulting Numbers: [29, 53]
Generated Node #0,1,2: 37:[29, 53] Operation: 22+31=53
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[31, 51], Operations: ['85-56=29', '22+29=51']
Exploring Operation: 31*51=1581, Resulting Numbers: [1581]
1581,37 unequal: No Solution
Exploring Operation: 51-31=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 31+51=82, Resulting Numbers: [82]
82,37 unequal: No Solution
No 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: 37:[29, 53], Operations: ['85-56=29', '22+31=53']
Exploring Operation: 29*53=1537, Resulting Numbers: [1537]
1537,37 unequal: No Solution
Exploring Operation: 53-29=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 29+53=82, Resulting Numbers: [82]
82,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 37:[29, 9], Operations: ['85-56=29', '31-22=9']
Exploring Operation: 29*9=261, Resulting Numbers: [261]
261,37 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 29+9=38, Resulting Numbers: [38]
38,37 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: 37:[56, 31, 63], Operations: ['85-22=63']
Exploring Operation: 56-31=25, Resulting Numbers: [63, 25]
Generated Node #0,0,0: 37:[63, 25] Operation: 56-31=25
Exploring Operation: 63-31=32, Resulting Numbers: [56, 32]
Generated Node #0,0,1: 37:[56, 32] Operation: 63-31=32
Exploring Operation: 63-56=7, Resulting Numbers: [31, 7]
Generated Node #0,0,2: 37:[31, 7] Operation: 63-56=7
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 37:[56, 32], Operations: ['85-22=63', '63-31=32']
Exploring Operation: 56*32=1792, Resulting Numbers: [1792]
1792,37 unequal: No Solution
Exploring Operation: 56+32=88, Resulting Numbers: [88]
88,37 unequal: No Solution
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 37:[31, 7], Operations: ['85-22=63', '63-56=7']
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,37 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[63, 25], Operations: ['85-22=63', '56-31=25']
Exploring Operation: 63-25=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 63+25=88, Resulting Numbers: [88]
88,37 unequal: No Solution
Exploring Operation: 63*25=1575, Resulting Numbers: [1575]
1575,37 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: 37:[22, 56, 54], Operations: ['85-31=54']
Exploring Operation: 56-54=2, Resulting Numbers: [22, 2]
Generated Node #0,2,0: 37:[22, 2] Operation: 56-54=2
Exploring Operation: 56-22=34, Resulting Numbers: [54, 34]
Generated Node #0,2,1: 37:[54, 34] Operation: 56-22=34
Exploring Operation: 54-22=32, Resulting Numbers: [56, 32]
Generated Node #0,2,2: 37:[56, 32] Operation: 54-22=32
Moving to Node #0,2,1
Current State: 37:[54, 34], Operations: ['85-31=54', '56-22=34']
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 54+34=88, Resulting Numbers: [88]
88,37 unequal: No Solution
Exploring Operation: 54*34=1836, Resulting Numbers: [1836]
1836,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[56, 32], Operations: ['85-31=54', '54-22=32']
Exploring Operation: 56*32=1792, Resulting Numbers: [1792]
1792,37 unequal: No Solution
Exploring Operation: 56+32=88, Resulting Numbers: [88]
88,37 unequal: No Solution
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[22, 2], Operations: ['85-31=54', '56-54=2']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,37 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 |
[
28,
24,
26,
11
] | 36 | [
"28+11=39",
"24*39=936",
"936/26=36"
] | Current State: 36:[28, 24, 26, 11], Operations: []
Exploring Operation: 28+11=39, Resulting Numbers: [24, 26, 39]
Generated Node #2: [24, 26, 39] from Operation: 28+11=39
Current State: 36:[24, 26, 39], Operations: ['28+11=39']
Exploring Operation: 24*39=936, Resulting Numbers: [26, 936]
Generated Node #3: [26, 936] from Operation: 24*39=936
Current State: 36:[26, 936], Operations: ['28+11=39', '24*39=936']
Exploring Operation: 936/26=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[28, 24, 26, 11], Operations: []
Exploring Operation: 28-26=2, Resulting Numbers: [24, 11, 2]
Generated Node #0,0: 36:[24, 11, 2] Operation: 28-26=2
Moving to Node #0,0
Current State: 36:[24, 11, 2], Operations: ['28-26=2']
Exploring Operation: 24+11=35, Resulting Numbers: [2, 35]
Generated Node #0,0,0: 36:[2, 35] Operation: 24+11=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[2, 35], Operations: ['28-26=2', '24+11=35']
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,36 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 |
[
45,
39,
25,
27
] | 82 | [
"45+39=84",
"27-25=2",
"84-2=82"
] | Current State: 82:[45, 39, 25, 27], Operations: []
Exploring Operation: 45+39=84, Resulting Numbers: [25, 27, 84]
Generated Node #2: [25, 27, 84] from Operation: 45+39=84
Current State: 82:[25, 27, 84], Operations: ['45+39=84']
Exploring Operation: 27-25=2, Resulting Numbers: [84, 2]
Generated Node #3: [84, 2] from Operation: 27-25=2
Current State: 82:[84, 2], Operations: ['45+39=84', '27-25=2']
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[45, 39, 25, 27], Operations: []
Exploring Operation: 27-25=2, Resulting Numbers: [45, 39, 2]
Generated Node #0,0: 82:[45, 39, 2] Operation: 27-25=2
Moving to Node #0,0
Current State: 82:[45, 39, 2], Operations: ['27-25=2']
Exploring Operation: 45+39=84, Resulting Numbers: [2, 84]
Generated Node #0,0,0: 82:[2, 84] Operation: 45+39=84
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[2, 84], Operations: ['27-25=2', '45+39=84']
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[45, 39, 25, 27], Operations: []
Exploring Operation: 27-25=2, Resulting Numbers: [45, 39, 2]
Generated Node #0,0: 82:[45, 39, 2] Operation: 27-25=2
Moving to Node #0,0
Current State: 82:[45, 39, 2], Operations: ['27-25=2']
Exploring Operation: 45+39=84, Resulting Numbers: [2, 84]
Generated Node #0,0,0: 82:[2, 84] Operation: 45+39=84
Moving to Node #0,0,0
Current State: 82:[2, 84], Operations: ['27-25=2', '45+39=84']
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
56,
9,
63,
59
] | 60 | [
"59-56=3",
"9/3=3",
"63-3=60"
] | Current State: 60:[56, 9, 63, 59], Operations: []
Exploring Operation: 59-56=3, Resulting Numbers: [9, 63, 3]
Generated Node #2: [9, 63, 3] from Operation: 59-56=3
Current State: 60:[9, 63, 3], Operations: ['59-56=3']
Exploring Operation: 9/3=3, Resulting Numbers: [63, 3]
Generated Node #3: [63, 3] from Operation: 9/3=3
Current State: 60:[63, 3], Operations: ['59-56=3', '9/3=3']
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[56, 9, 63, 59], Operations: []
Exploring Operation: 63-56=7, Resulting Numbers: [9, 59, 7]
Generated Node #0,0: 60:[9, 59, 7] Operation: 63-56=7
Moving to Node #0,0
Current State: 60:[9, 59, 7], Operations: ['63-56=7']
Exploring Operation: 9-7=2, Resulting Numbers: [59, 2]
Generated Node #0,0,0: 60:[59, 2] Operation: 9-7=2
Moving to Node #0,0,0
Current State: 60:[59, 2], Operations: ['63-56=7', '9-7=2']
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,60 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
48,
51,
60,
9
] | 39 | [
"48+60=108",
"108/9=12",
"51-12=39"
] | Current State: 39:[48, 51, 60, 9], Operations: []
Exploring Operation: 48+60=108, Resulting Numbers: [51, 9, 108]
Generated Node #2: [51, 9, 108] from Operation: 48+60=108
Current State: 39:[51, 9, 108], Operations: ['48+60=108']
Exploring Operation: 108/9=12, Resulting Numbers: [51, 12]
Generated Node #3: [51, 12] from Operation: 108/9=12
Current State: 39:[51, 12], Operations: ['48+60=108', '108/9=12']
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[48, 51, 60, 9], Operations: []
Exploring Operation: 60-48=12, Resulting Numbers: [51, 9, 12]
Generated Node #0,0: 39:[51, 9, 12] Operation: 60-48=12
Moving to Node #0,0
Current State: 39:[51, 9, 12], Operations: ['60-48=12']
Exploring Operation: 51-9=42, Resulting Numbers: [12, 42]
Generated Node #0,0,0: 39:[12, 42] Operation: 51-9=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[12, 42], Operations: ['60-48=12', '51-9=42']
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,39 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 |
[
12,
8,
27,
64
] | 43 | [
"12-8=4",
"64/4=16",
"27+16=43"
] | Current State: 43:[12, 8, 27, 64], Operations: []
Exploring Operation: 12-8=4, Resulting Numbers: [27, 64, 4]
Generated Node #2: [27, 64, 4] from Operation: 12-8=4
Current State: 43:[27, 64, 4], Operations: ['12-8=4']
Exploring Operation: 64/4=16, Resulting Numbers: [27, 16]
Generated Node #3: [27, 16] from Operation: 64/4=16
Current State: 43:[27, 16], Operations: ['12-8=4', '64/4=16']
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[12, 8, 27, 64], Operations: []
Exploring Operation: 12+8=20, Resulting Numbers: [27, 64, 20]
Generated Node #0,0: 43:[27, 64, 20] Operation: 12+8=20
Exploring Operation: 12+27=39, Resulting Numbers: [8, 64, 39]
Generated Node #0,1: 43:[8, 64, 39] Operation: 12+27=39
Exploring Operation: 8+27=35, Resulting Numbers: [12, 64, 35]
Generated Node #0,2: 43:[12, 64, 35] Operation: 8+27=35
Exploring Operation: 64-8=56, Resulting Numbers: [12, 27, 56]
Generated Node #0,3: 43:[12, 27, 56] Operation: 64-8=56
Exploring Operation: 64-12=52, Resulting Numbers: [8, 27, 52]
Generated Node #0,4: 43:[8, 27, 52] Operation: 64-12=52
Moving to Node #0,0
Current State: 43:[27, 64, 20], Operations: ['12+8=20']
Exploring Operation: 27+20=47, Resulting Numbers: [64, 47]
Generated Node #0,0,0: 43:[64, 47] Operation: 27+20=47
Exploring Operation: 64-27=37, Resulting Numbers: [20, 37]
Generated Node #0,0,1: 43:[20, 37] Operation: 64-27=37
Exploring Operation: 27-20=7, Resulting Numbers: [64, 7]
Generated Node #0,0,2: 43:[64, 7] Operation: 27-20=7
Exploring Operation: 64-20=44, Resulting Numbers: [27, 44]
Generated Node #0,0,3: 43:[27, 44] Operation: 64-20=44
Exploring Operation: 64+20=84, Resulting Numbers: [27, 84]
Generated Node #0,0,4: 43:[27, 84] Operation: 64+20=84
Moving to Node #0,2
Current State: 43:[12, 64, 35], Operations: ['8+27=35']
Exploring Operation: 35-12=23, Resulting Numbers: [64, 23]
Generated Node #0,2,0: 43:[64, 23] Operation: 35-12=23
Exploring Operation: 64-12=52, Resulting Numbers: [35, 52]
Generated Node #0,2,1: 43:[35, 52] Operation: 64-12=52
Exploring Operation: 12+35=47, Resulting Numbers: [64, 47]
Generated Node #0,2,2: 43:[64, 47] Operation: 12+35=47
Exploring Operation: 64-35=29, Resulting Numbers: [12, 29]
Generated Node #0,2,3: 43:[12, 29] Operation: 64-35=29
Exploring Operation: 12+64=76, Resulting Numbers: [35, 76]
Generated Node #0,2,4: 43:[35, 76] Operation: 12+64=76
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 43:[35, 52], Operations: ['8+27=35', '64-12=52']
Exploring Operation: 35*52=1820, Resulting Numbers: [1820]
1820,43 unequal: No Solution
Exploring Operation: 35+52=87, Resulting Numbers: [87]
87,43 unequal: No Solution
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,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,2,2
Current State: 43:[64, 47], Operations: ['8+27=35', '12+35=47']
Exploring Operation: 64-47=17, Resulting Numbers: [17]
17,43 unequal: No Solution
Exploring Operation: 64*47=3008, Resulting Numbers: [3008]
3008,43 unequal: No Solution
Exploring Operation: 64+47=111, Resulting Numbers: [111]
111,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,2,0
Current State: 43:[64, 23], Operations: ['8+27=35', '35-12=23']
Exploring Operation: 64-23=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Exploring Operation: 64*23=1472, Resulting Numbers: [1472]
1472,43 unequal: No Solution
Exploring Operation: 64+23=87, Resulting Numbers: [87]
87,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,2,4
Current State: 43:[35, 76], Operations: ['8+27=35', '12+64=76']
Exploring Operation: 35+76=111, Resulting Numbers: [111]
111,43 unequal: No Solution
Exploring Operation: 76-35=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Exploring Operation: 35*76=2660, Resulting Numbers: [2660]
2660,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,2,3
Current State: 43:[12, 29], Operations: ['8+27=35', '64-35=29']
Exploring Operation: 12+29=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Exploring Operation: 12*29=348, Resulting Numbers: [348]
348,43 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,43 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: 43:[8, 27, 52], Operations: ['64-12=52']
Exploring Operation: 52-27=25, Resulting Numbers: [8, 25]
Generated Node #0,4,0: 43:[8, 25] Operation: 52-27=25
Exploring Operation: 8+27=35, Resulting Numbers: [52, 35]
Generated Node #0,4,1: 43:[52, 35] Operation: 8+27=35
Exploring Operation: 8+52=60, Resulting Numbers: [27, 60]
Generated Node #0,4,2: 43:[27, 60] Operation: 8+52=60
Exploring Operation: 52-8=44, Resulting Numbers: [27, 44]
Generated Node #0,4,3: 43:[27, 44] Operation: 52-8=44
Exploring Operation: 27-8=19, Resulting Numbers: [52, 19]
Generated Node #0,4,4: 43:[52, 19] Operation: 27-8=19
Moving to Node #0,1
Current State: 43:[8, 64, 39], Operations: ['12+27=39']
Exploring Operation: 8+39=47, Resulting Numbers: [64, 47]
Generated Node #0,1,0: 43:[64, 47] Operation: 8+39=47
Exploring Operation: 39-8=31, Resulting Numbers: [64, 31]
Generated Node #0,1,1: 43:[64, 31] Operation: 39-8=31
Exploring Operation: 8+64=72, Resulting Numbers: [39, 72]
Generated Node #0,1,2: 43:[39, 72] Operation: 8+64=72
Exploring Operation: 64-8=56, Resulting Numbers: [39, 56]
Generated Node #0,1,3: 43:[39, 56] Operation: 64-8=56
Exploring Operation: 64/8=8, Resulting Numbers: [39, 8]
Generated Node #0,1,4: 43:[39, 8] Operation: 64/8=8
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 43:[39, 56], Operations: ['12+27=39', '64-8=56']
Exploring Operation: 39*56=2184, Resulting Numbers: [2184]
2184,43 unequal: No Solution
Exploring Operation: 39+56=95, Resulting Numbers: [95]
95,43 unequal: No Solution
Exploring Operation: 56-39=17, Resulting Numbers: [17]
17,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:[64, 47], Operations: ['12+27=39', '8+39=47']
Exploring Operation: 64+47=111, Resulting Numbers: [111]
111,43 unequal: No Solution
Exploring Operation: 64*47=3008, Resulting Numbers: [3008]
3008,43 unequal: No Solution
Exploring Operation: 64-47=17, Resulting Numbers: [17]
17,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,1
Current State: 43:[64, 31], Operations: ['12+27=39', '39-8=31']
Exploring Operation: 64*31=1984, Resulting Numbers: [1984]
1984,43 unequal: No Solution
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 64+31=95, Resulting Numbers: [95]
95,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, 72], Operations: ['12+27=39', '8+64=72']
Exploring Operation: 39+72=111, Resulting Numbers: [111]
111,43 unequal: No Solution
Exploring Operation: 72-39=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 39*72=2808, Resulting Numbers: [2808]
2808,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,4
Current State: 43:[39, 8], Operations: ['12+27=39', '64/8=8']
Exploring Operation: 39*8=312, Resulting Numbers: [312]
312,43 unequal: No Solution
Exploring Operation: 39+8=47, Resulting Numbers: [47]
47,43 unequal: No Solution
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,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:[12, 27, 56], Operations: ['64-8=56']
Exploring Operation: 12+27=39, Resulting Numbers: [56, 39]
Generated Node #0,3,0: 43:[56, 39] Operation: 12+27=39
Exploring Operation: 27-12=15, Resulting Numbers: [56, 15]
Generated Node #0,3,1: 43:[56, 15] Operation: 27-12=15
Exploring Operation: 56-27=29, Resulting Numbers: [12, 29]
Generated Node #0,3,2: 43:[12, 29] Operation: 56-27=29
Exploring Operation: 12+56=68, Resulting Numbers: [27, 68]
Generated Node #0,3,3: 43:[27, 68] Operation: 12+56=68
Exploring Operation: 56-12=44, Resulting Numbers: [27, 44]
Generated Node #0,3,4: 43:[27, 44] Operation: 56-12=44
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 43:[56, 39], Operations: ['64-8=56', '12+27=39']
Exploring Operation: 56-39=17, Resulting Numbers: [17]
17,43 unequal: No Solution
Exploring Operation: 56+39=95, Resulting Numbers: [95]
95,43 unequal: No Solution
Exploring Operation: 56*39=2184, Resulting Numbers: [2184]
2184,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,4
Current State: 43:[27, 44], Operations: ['64-8=56', '56-12=44']
Exploring Operation: 27*44=1188, Resulting Numbers: [1188]
1188,43 unequal: No Solution
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,43 unequal: No Solution
Exploring Operation: 27+44=71, Resulting Numbers: [71]
71,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,1
Current State: 43:[56, 15], Operations: ['64-8=56', '27-12=15']
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Exploring Operation: 56+15=71, Resulting Numbers: [71]
71,43 unequal: No Solution
Exploring Operation: 56*15=840, Resulting Numbers: [840]
840,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:[27, 68], Operations: ['64-8=56', '12+56=68']
Exploring Operation: 27+68=95, Resulting Numbers: [95]
95,43 unequal: No Solution
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Exploring Operation: 27*68=1836, Resulting Numbers: [1836]
1836,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:[12, 29], Operations: ['64-8=56', '56-27=29']
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,43 unequal: No Solution
Exploring Operation: 12*29=348, Resulting Numbers: [348]
348,43 unequal: No Solution
Exploring Operation: 12+29=41, Resulting Numbers: [41]
41,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 43:[27, 44], Operations: ['12+8=20', '64-20=44']
Exploring Operation: 27+44=71, Resulting Numbers: [71]
71,43 unequal: No Solution
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,43 unequal: No Solution
Exploring Operation: 27*44=1188, Resulting Numbers: [1188]
1188,43 unequal: No Solution
Moving to Node #0,4,1
Current State: 43:[52, 35], Operations: ['64-12=52', '8+27=35']
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,43 unequal: No Solution
Exploring Operation: 52*35=1820, Resulting Numbers: [1820]
1820,43 unequal: No Solution
Exploring Operation: 52+35=87, Resulting Numbers: [87]
87,43 unequal: No Solution
Moving to Node #0,4,3
Current State: 43:[27, 44], Operations: ['64-12=52', '52-8=44']
Exploring Operation: 27*44=1188, Resulting Numbers: [1188]
1188,43 unequal: No Solution
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,43 unequal: No Solution
Exploring Operation: 27+44=71, Resulting Numbers: [71]
71,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[64, 47], Operations: ['12+8=20', '27+20=47']
Exploring Operation: 64-47=17, Resulting Numbers: [17]
17,43 unequal: No Solution
Exploring Operation: 64+47=111, Resulting Numbers: [111]
111,43 unequal: No Solution
Exploring Operation: 64*47=3008, Resulting Numbers: [3008]
3008,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[20, 37], Operations: ['12+8=20', '64-27=37']
Exploring Operation: 20*37=740, Resulting Numbers: [740]
740,43 unequal: No Solution
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,43 unequal: No Solution
Exploring Operation: 20+37=57, Resulting Numbers: [57]
57,43 unequal: No Solution
Moving to Node #0,4,4
Current State: 43:[52, 19], Operations: ['64-12=52', '27-8=19']
Exploring Operation: 52*19=988, Resulting Numbers: [988]
988,43 unequal: No Solution
Exploring Operation: 52+19=71, Resulting Numbers: [71]
71,43 unequal: No Solution
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Moving to Node #0,4,2
Current State: 43:[27, 60], Operations: ['64-12=52', '8+52=60']
Exploring Operation: 27*60=1620, Resulting Numbers: [1620]
1620,43 unequal: No Solution
Exploring Operation: 60-27=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 27+60=87, Resulting Numbers: [87]
87,43 unequal: No Solution
Moving to Node #0,4,0
Current State: 43:[8, 25], Operations: ['64-12=52', '52-27=25']
Exploring Operation: 8*25=200, Resulting Numbers: [200]
200,43 unequal: No Solution
Exploring Operation: 8+25=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[64, 7], Operations: ['12+8=20', '27-20=7']
Exploring Operation: 64+7=71, Resulting Numbers: [71]
71,43 unequal: No Solution
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,43 unequal: No Solution
Exploring Operation: 64*7=448, Resulting Numbers: [448]
448,43 unequal: No Solution
Moving to Node #0,0,4
Current State: 43:[27, 84], Operations: ['12+8=20', '64+20=84']
Exploring Operation: 27+84=111, Resulting Numbers: [111]
111,43 unequal: No Solution
Exploring Operation: 27*84=2268, Resulting Numbers: [2268]
2268,43 unequal: No Solution
Exploring Operation: 84-27=57, Resulting Numbers: [57]
57,43 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
30,
7,
73,
37
] | 42 | [
"73-30=43",
"43-37=6",
"7*6=42"
] | Current State: 42:[30, 7, 73, 37], Operations: []
Exploring Operation: 73-30=43, Resulting Numbers: [7, 37, 43]
Generated Node #2: [7, 37, 43] from Operation: 73-30=43
Current State: 42:[7, 37, 43], Operations: ['73-30=43']
Exploring Operation: 43-37=6, Resulting Numbers: [7, 6]
Generated Node #3: [7, 6] from Operation: 43-37=6
Current State: 42:[7, 6], Operations: ['73-30=43', '43-37=6']
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[30, 7, 73, 37], Operations: []
Exploring Operation: 30-7=23, Resulting Numbers: [73, 37, 23]
Generated Node #0,0: 42:[73, 37, 23] Operation: 30-7=23
Exploring Operation: 73-30=43, Resulting Numbers: [7, 37, 43]
Generated Node #0,1: 42:[7, 37, 43] Operation: 73-30=43
Exploring Operation: 37-30=7, Resulting Numbers: [7, 73, 7]
Generated Node #0,2: 42:[7, 73, 7] Operation: 37-30=7
Exploring Operation: 73-37=36, Resulting Numbers: [30, 7, 36]
Generated Node #0,3: 42:[30, 7, 36] Operation: 73-37=36
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[7, 37, 43], Operations: ['73-30=43']
Exploring Operation: 43-37=6, Resulting Numbers: [7, 6]
Generated Node #0,1,0: 42:[7, 6] Operation: 43-37=6
Exploring Operation: 7+37=44, Resulting Numbers: [43, 44]
Generated Node #0,1,1: 42:[43, 44] Operation: 7+37=44
Exploring Operation: 43-7=36, Resulting Numbers: [37, 36]
Generated Node #0,1,2: 42:[37, 36] Operation: 43-7=36
Exploring Operation: 37-7=30, Resulting Numbers: [43, 30]
Generated Node #0,1,3: 42:[43, 30] Operation: 37-7=30
Moving to Node #0,1,0
Current State: 42:[7, 6], Operations: ['73-30=43', '43-37=6']
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,42 unequal: No Solution
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[30, 7, 73, 37], Operations: []
Exploring Operation: 73-30=43, Resulting Numbers: [7, 37, 43]
Generated Node #0,1: 42:[7, 37, 43] Operation: 73-30=43
Moving to Node #0,1
Current State: 42:[7, 37, 43], Operations: ['73-30=43']
Exploring Operation: 43-37=6, Resulting Numbers: [7, 6]
Generated Node #0,1,0: 42:[7, 6] Operation: 43-37=6
Moving to Node #0,1,0
Current State: 42:[7, 6], Operations: ['73-30=43', '43-37=6']
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
36,
74,
66,
78
] | 26 | [
"74-36=38",
"78-66=12",
"38-12=26"
] | Current State: 26:[36, 74, 66, 78], Operations: []
Exploring Operation: 74-36=38, Resulting Numbers: [66, 78, 38]
Generated Node #2: [66, 78, 38] from Operation: 74-36=38
Current State: 26:[66, 78, 38], Operations: ['74-36=38']
Exploring Operation: 78-66=12, Resulting Numbers: [38, 12]
Generated Node #3: [38, 12] from Operation: 78-66=12
Current State: 26:[38, 12], Operations: ['74-36=38', '78-66=12']
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[36, 74, 66, 78], Operations: []
Exploring Operation: 78-74=4, Resulting Numbers: [36, 66, 4]
Generated Node #0,0: 26:[36, 66, 4] Operation: 78-74=4
Exploring Operation: 78-66=12, Resulting Numbers: [36, 74, 12]
Generated Node #0,1: 26:[36, 74, 12] Operation: 78-66=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[36, 66, 4], Operations: ['78-74=4']
Exploring Operation: 36/4=9, Resulting Numbers: [66, 9]
Generated Node #0,0,0: 26:[66, 9] Operation: 36/4=9
Exploring Operation: 66-36=30, Resulting Numbers: [4, 30]
Generated Node #0,0,1: 26:[4, 30] Operation: 66-36=30
Moving to Node #0,0,1
Current State: 26:[4, 30], Operations: ['78-74=4', '66-36=30']
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,26 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[36, 74, 66, 78], Operations: []
Exploring Operation: 78-74=4, Resulting Numbers: [36, 66, 4]
Generated Node #0,0: 26:[36, 66, 4] Operation: 78-74=4
Moving to Node #0,0
Current State: 26:[36, 66, 4], Operations: ['78-74=4']
Exploring Operation: 66-36=30, Resulting Numbers: [4, 30]
Generated Node #0,0,1: 26:[4, 30] Operation: 66-36=30
Moving to Node #0,0,1
Current State: 26:[4, 30], Operations: ['78-74=4', '66-36=30']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
3,
85,
78,
83
] | 51 | [
"3*85=255",
"83-78=5",
"255/5=51"
] | Current State: 51:[3, 85, 78, 83], Operations: []
Exploring Operation: 3*85=255, Resulting Numbers: [78, 83, 255]
Generated Node #2: [78, 83, 255] from Operation: 3*85=255
Current State: 51:[78, 83, 255], Operations: ['3*85=255']
Exploring Operation: 83-78=5, Resulting Numbers: [255, 5]
Generated Node #3: [255, 5] from Operation: 83-78=5
Current State: 51:[255, 5], Operations: ['3*85=255', '83-78=5']
Exploring Operation: 255/5=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[3, 85, 78, 83], Operations: []
Exploring Operation: 85-78=7, Resulting Numbers: [3, 83, 7]
Generated Node #0,0: 51:[3, 83, 7] Operation: 85-78=7
Exploring Operation: 85-83=2, Resulting Numbers: [3, 78, 2]
Generated Node #0,1: 51:[3, 78, 2] Operation: 85-83=2
Exploring Operation: 85-3=82, Resulting Numbers: [78, 83, 82]
Generated Node #0,2: 51:[78, 83, 82] Operation: 85-3=82
Exploring Operation: 78/3=26, Resulting Numbers: [85, 83, 26]
Generated Node #0,3: 51:[85, 83, 26] Operation: 78/3=26
Exploring Operation: 83-78=5, Resulting Numbers: [3, 85, 5]
Generated Node #0,4: 51:[3, 85, 5] Operation: 83-78=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[3, 78, 2], Operations: ['85-83=2']
Exploring Operation: 78/2=39, Resulting Numbers: [3, 39]
Generated Node #0,1,0: 51:[3, 39] Operation: 78/2=39
Exploring Operation: 78/3=26, Resulting Numbers: [2, 26]
Generated Node #0,1,1: 51:[2, 26] Operation: 78/3=26
Exploring Operation: 3+2=5, Resulting Numbers: [78, 5]
Generated Node #0,1,2: 51:[78, 5] Operation: 3+2=5
Exploring Operation: 78-3=75, Resulting Numbers: [2, 75]
Generated Node #0,1,3: 51:[2, 75] Operation: 78-3=75
Exploring Operation: 78-2=76, Resulting Numbers: [3, 76]
Generated Node #0,1,4: 51:[3, 76] Operation: 78-2=76
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[2, 26], Operations: ['85-83=2', '78/3=26']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,51 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,51 unequal: No Solution
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,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,1,0
Current State: 51:[3, 39], Operations: ['85-83=2', '78/2=39']
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,51 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,51 unequal: No Solution
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,51 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,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,1,3
Current State: 51:[2, 75], Operations: ['85-83=2', '78-3=75']
Exploring Operation: 2+75=77, Resulting Numbers: [77]
77,51 unequal: No Solution
Exploring Operation: 2*75=150, Resulting Numbers: [150]
150,51 unequal: No Solution
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,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,1,4
Current State: 51:[3, 76], Operations: ['85-83=2', '78-2=76']
Exploring Operation: 3+76=79, Resulting Numbers: [79]
79,51 unequal: No Solution
Exploring Operation: 3*76=228, Resulting Numbers: [228]
228,51 unequal: No Solution
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,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,1,2
Current State: 51:[78, 5], Operations: ['85-83=2', '3+2=5']
Exploring Operation: 78-5=73, Resulting Numbers: [73]
73,51 unequal: No Solution
Exploring Operation: 78*5=390, Resulting Numbers: [390]
390,51 unequal: No Solution
Exploring Operation: 78+5=83, Resulting Numbers: [83]
83,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,0
Current State: 51:[3, 83, 7], Operations: ['85-78=7']
Exploring Operation: 83-3=80, Resulting Numbers: [7, 80]
Generated Node #0,0,0: 51:[7, 80] Operation: 83-3=80
Exploring Operation: 7-3=4, Resulting Numbers: [83, 4]
Generated Node #0,0,1: 51:[83, 4] Operation: 7-3=4
Exploring Operation: 3*7=21, Resulting Numbers: [83, 21]
Generated Node #0,0,2: 51:[83, 21] Operation: 3*7=21
Exploring Operation: 3+83=86, Resulting Numbers: [7, 86]
Generated Node #0,0,3: 51:[7, 86] Operation: 3+83=86
Exploring Operation: 83-7=76, Resulting Numbers: [3, 76]
Generated Node #0,0,4: 51:[3, 76] Operation: 83-7=76
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 51:[3, 76], Operations: ['85-78=7', '83-7=76']
Exploring Operation: 3+76=79, Resulting Numbers: [79]
79,51 unequal: No Solution
Exploring Operation: 3*76=228, Resulting Numbers: [228]
228,51 unequal: No Solution
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,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:[7, 80], Operations: ['85-78=7', '83-3=80']
Exploring Operation: 7+80=87, Resulting Numbers: [87]
87,51 unequal: No Solution
Exploring Operation: 80-7=73, Resulting Numbers: [73]
73,51 unequal: No Solution
Exploring Operation: 7*80=560, Resulting Numbers: [560]
560,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:[83, 4], Operations: ['85-78=7', '7-3=4']
Exploring Operation: 83*4=332, Resulting Numbers: [332]
332,51 unequal: No Solution
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,51 unequal: No Solution
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,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,2
Current State: 51:[83, 21], Operations: ['85-78=7', '3*7=21']
Exploring Operation: 83*21=1743, Resulting Numbers: [1743]
1743,51 unequal: No Solution
Exploring Operation: 83+21=104, Resulting Numbers: [104]
104,51 unequal: No Solution
Exploring Operation: 83-21=62, Resulting Numbers: [62]
62,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:[7, 86], Operations: ['85-78=7', '3+83=86']
Exploring Operation: 7*86=602, Resulting Numbers: [602]
602,51 unequal: No Solution
Exploring Operation: 86-7=79, Resulting Numbers: [79]
79,51 unequal: No Solution
Exploring Operation: 7+86=93, Resulting Numbers: [93]
93,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,4
Current State: 51:[3, 85, 5], Operations: ['83-78=5']
Exploring Operation: 85-5=80, Resulting Numbers: [3, 80]
Generated Node #0,4,0: 51:[3, 80] Operation: 85-5=80
Exploring Operation: 3*5=15, Resulting Numbers: [85, 15]
Generated Node #0,4,1: 51:[85, 15] Operation: 3*5=15
Exploring Operation: 85/5=17, Resulting Numbers: [3, 17]
Generated Node #0,4,2: 51:[3, 17] Operation: 85/5=17
Exploring Operation: 5-3=2, Resulting Numbers: [85, 2]
Generated Node #0,4,3: 51:[85, 2] Operation: 5-3=2
Exploring Operation: 85-3=82, Resulting Numbers: [5, 82]
Generated Node #0,4,4: 51:[5, 82] Operation: 85-3=82
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 51:[3, 17], Operations: ['83-78=5', '85/5=17']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[3, 85, 78, 83], Operations: []
Exploring Operation: 83-78=5, Resulting Numbers: [3, 85, 5]
Generated Node #0,4: 51:[3, 85, 5] Operation: 83-78=5
Moving to Node #0,4
Current State: 51:[3, 85, 5], Operations: ['83-78=5']
Exploring Operation: 85/5=17, Resulting Numbers: [3, 17]
Generated Node #0,4,2: 51:[3, 17] Operation: 85/5=17
Moving to Node #0,4,2
Current State: 51:[3, 17], Operations: ['83-78=5', '85/5=17']
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.948785 | hs_5 | mult_heuristic |
[
2,
75,
49,
77
] | 50 | [
"2+75=77",
"77/77=1",
"49+1=50"
] | Current State: 50:[2, 75, 49, 77], Operations: []
Exploring Operation: 2+75=77, Resulting Numbers: [49, 77, 77]
Generated Node #2: [49, 77, 77] from Operation: 2+75=77
Current State: 50:[49, 77, 77], Operations: ['2+75=77']
Exploring Operation: 77/77=1, Resulting Numbers: [49, 1]
Generated Node #3: [49, 1] from Operation: 77/77=1
Current State: 50:[49, 1], Operations: ['2+75=77', '77/77=1']
Exploring Operation: 49+1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[2, 75, 49, 77], Operations: []
Exploring Operation: 77-49=28, Resulting Numbers: [2, 75, 28]
Generated Node #0,0: 50:[2, 75, 28] Operation: 77-49=28
Exploring Operation: 75-49=26, Resulting Numbers: [2, 77, 26]
Generated Node #0,1: 50:[2, 77, 26] Operation: 75-49=26
Exploring Operation: 77-75=2, Resulting Numbers: [2, 49, 2]
Generated Node #0,2: 50:[2, 49, 2] Operation: 77-75=2
Moving to Node #0,2
Current State: 50:[2, 49, 2], Operations: ['77-75=2']
Exploring Operation: 2+2=4, Resulting Numbers: [49, 4]
Generated Node #0,2,0: 50:[49, 4] Operation: 2+2=4
Exploring Operation: 49+2=51, Resulting Numbers: [2, 51]
Generated Node #0,2,1: 50:[2, 51] Operation: 49+2=51
Exploring Operation: 2+49=51, Resulting Numbers: [2, 51]
Generated Node #0,2,2: 50:[2, 51] Operation: 2+49=51
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 50:[2, 51], Operations: ['77-75=2', '49+2=51']
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,50 unequal: No Solution
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,50 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,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,2,2
Current State: 50:[2, 51], Operations: ['77-75=2', '2+49=51']
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,50 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,50 unequal: No Solution
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,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,2,0
Current State: 50:[49, 4], Operations: ['77-75=2', '2+2=4']
Exploring Operation: 49*4=196, Resulting Numbers: [196]
196,50 unequal: No Solution
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,50 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,50 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: 50:[2, 75, 28], Operations: ['77-49=28']
Exploring Operation: 75-28=47, Resulting Numbers: [2, 47]
Generated Node #0,0,0: 50:[2, 47] Operation: 75-28=47
Exploring Operation: 28-2=26, Resulting Numbers: [75, 26]
Generated Node #0,0,1: 50:[75, 26] Operation: 28-2=26
Exploring Operation: 75-2=73, Resulting Numbers: [28, 73]
Generated Node #0,0,2: 50:[28, 73] Operation: 75-2=73
Moving to Node #0,1
Current State: 50:[2, 77, 26], Operations: ['75-49=26']
Exploring Operation: 77-26=51, Resulting Numbers: [2, 51]
Generated Node #0,1,0: 50:[2, 51] Operation: 77-26=51
Exploring Operation: 26-2=24, Resulting Numbers: [77, 24]
Generated Node #0,1,1: 50:[77, 24] Operation: 26-2=24
Exploring Operation: 77-2=75, Resulting Numbers: [26, 75]
Generated Node #0,1,2: 50:[26, 75] Operation: 77-2=75
Moving to Node #0,1,0
Current State: 50:[2, 51], Operations: ['75-49=26', '77-26=51']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,50 unequal: No Solution
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,50 unequal: No Solution
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[2, 47], Operations: ['77-49=28', '75-28=47']
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,50 unequal: No Solution
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,50 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,50 unequal: No Solution
Moving to Node #0,0,2
Current State: 50:[28, 73], Operations: ['77-49=28', '75-2=73']
Exploring Operation: 28+73=101, Resulting Numbers: [101]
101,50 unequal: No Solution
Exploring Operation: 73-28=45, Resulting Numbers: [45]
45,50 unequal: No Solution
Exploring Operation: 28*73=2044, Resulting Numbers: [2044]
2044,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[26, 75], Operations: ['75-49=26', '77-2=75']
Exploring Operation: 26*75=1950, Resulting Numbers: [1950]
1950,50 unequal: No Solution
Exploring Operation: 26+75=101, Resulting Numbers: [101]
101,50 unequal: No Solution
Exploring Operation: 75-26=49, Resulting Numbers: [49]
49,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[75, 26], Operations: ['77-49=28', '28-2=26']
Exploring Operation: 75*26=1950, Resulting Numbers: [1950]
1950,50 unequal: No Solution
Exploring Operation: 75+26=101, Resulting Numbers: [101]
101,50 unequal: No Solution
Exploring Operation: 75-26=49, Resulting Numbers: [49]
49,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[77, 24], Operations: ['75-49=26', '26-2=24']
Exploring Operation: 77+24=101, Resulting Numbers: [101]
101,50 unequal: No Solution
Exploring Operation: 77-24=53, Resulting Numbers: [53]
53,50 unequal: No Solution
Exploring Operation: 77*24=1848, Resulting Numbers: [1848]
1848,50 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
48,
27,
90,
39
] | 82 | [
"90*39=3510",
"3510/27=130",
"130-48=82"
] | Current State: 82:[48, 27, 90, 39], Operations: []
Exploring Operation: 90*39=3510, Resulting Numbers: [48, 27, 3510]
Generated Node #2: [48, 27, 3510] from Operation: 90*39=3510
Current State: 82:[48, 27, 3510], Operations: ['90*39=3510']
Exploring Operation: 3510/27=130, Resulting Numbers: [48, 130]
Generated Node #3: [48, 130] from Operation: 3510/27=130
Current State: 82:[48, 130], Operations: ['90*39=3510', '3510/27=130']
Exploring Operation: 130-48=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[48, 27, 90, 39], Operations: []
Exploring Operation: 48+27=75, Resulting Numbers: [90, 39, 75]
Generated Node #0,0: 82:[90, 39, 75] Operation: 48+27=75
Exploring Operation: 90-48=42, Resulting Numbers: [27, 39, 42]
Generated Node #0,1: 82:[27, 39, 42] Operation: 90-48=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[90, 39, 75], Operations: ['48+27=75']
Exploring Operation: 90-75=15, Resulting Numbers: [39, 15]
Generated Node #0,0,0: 82:[39, 15] Operation: 90-75=15
Exploring Operation: 75-39=36, Resulting Numbers: [90, 36]
Generated Node #0,0,1: 82:[90, 36] Operation: 75-39=36
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[90, 36], Operations: ['48+27=75', '75-39=36']
Exploring Operation: 90+36=126, Resulting Numbers: [126]
126,82 unequal: No Solution
Exploring Operation: 90-36=54, Resulting Numbers: [54]
54,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[39, 15], Operations: ['48+27=75', '90-75=15']
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,82 unequal: No Solution
Exploring Operation: 39+15=54, Resulting Numbers: [54]
54,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[27, 39, 42], Operations: ['90-48=42']
Exploring Operation: 39-27=12, Resulting Numbers: [42, 12]
Generated Node #0,1,0: 82:[42, 12] Operation: 39-27=12
Exploring Operation: 27+42=69, Resulting Numbers: [39, 69]
Generated Node #0,1,1: 82:[39, 69] Operation: 27+42=69
Moving to Node #0,1,0
Current State: 82:[42, 12], Operations: ['90-48=42', '39-27=12']
Exploring Operation: 42+12=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[39, 69], Operations: ['90-48=42', '27+42=69']
Exploring Operation: 39+69=108, Resulting Numbers: [108]
108,82 unequal: No Solution
Exploring Operation: 69-39=30, Resulting Numbers: [30]
30,82 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 |
[
84,
17,
73,
27
] | 33 | [
"84-17=67",
"73+27=100",
"100-67=33"
] | Current State: 33:[84, 17, 73, 27], Operations: []
Exploring Operation: 84-17=67, Resulting Numbers: [73, 27, 67]
Generated Node #2: [73, 27, 67] from Operation: 84-17=67
Current State: 33:[73, 27, 67], Operations: ['84-17=67']
Exploring Operation: 73+27=100, Resulting Numbers: [67, 100]
Generated Node #3: [67, 100] from Operation: 73+27=100
Current State: 33:[67, 100], Operations: ['84-17=67', '73+27=100']
Exploring Operation: 100-67=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[84, 17, 73, 27], Operations: []
Exploring Operation: 73-27=46, Resulting Numbers: [84, 17, 46]
Generated Node #0,0: 33:[84, 17, 46] Operation: 73-27=46
Exploring Operation: 84-27=57, Resulting Numbers: [17, 73, 57]
Generated Node #0,1: 33:[17, 73, 57] Operation: 84-27=57
Exploring Operation: 84-73=11, Resulting Numbers: [17, 27, 11]
Generated Node #0,2: 33:[17, 27, 11] Operation: 84-73=11
Moving to Node #0,2
Current State: 33:[17, 27, 11], Operations: ['84-73=11']
Exploring Operation: 17-11=6, Resulting Numbers: [27, 6]
Generated Node #0,2,0: 33:[27, 6] Operation: 17-11=6
Exploring Operation: 27-17=10, Resulting Numbers: [11, 10]
Generated Node #0,2,1: 33:[11, 10] Operation: 27-17=10
Exploring Operation: 17+27=44, Resulting Numbers: [11, 44]
Generated Node #0,2,2: 33:[11, 44] Operation: 17+27=44
Moving to Node #0,0
Current State: 33:[84, 17, 46], Operations: ['73-27=46']
Exploring Operation: 84-17=67, Resulting Numbers: [46, 67]
Generated Node #0,0,0: 33:[46, 67] Operation: 84-17=67
Exploring Operation: 46-17=29, Resulting Numbers: [84, 29]
Generated Node #0,0,1: 33:[84, 29] Operation: 46-17=29
Exploring Operation: 84-46=38, Resulting Numbers: [17, 38]
Generated Node #0,0,2: 33:[17, 38] Operation: 84-46=38
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 33:[17, 38], Operations: ['73-27=46', '84-46=38']
Exploring Operation: 17+38=55, Resulting Numbers: [55]
55,33 unequal: No Solution
Exploring Operation: 17*38=646, Resulting Numbers: [646]
646,33 unequal: No Solution
Exploring Operation: 38-17=21, Resulting Numbers: [21]
21,33 unequal: No Solution
No 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: 33:[46, 67], Operations: ['73-27=46', '84-17=67']
Exploring Operation: 67-46=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Exploring Operation: 46*67=3082, Resulting Numbers: [3082]
3082,33 unequal: No Solution
Exploring Operation: 46+67=113, Resulting Numbers: [113]
113,33 unequal: No Solution
No 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: 33:[84, 29], Operations: ['73-27=46', '46-17=29']
Exploring Operation: 84-29=55, Resulting Numbers: [55]
55,33 unequal: No Solution
Exploring Operation: 84*29=2436, Resulting Numbers: [2436]
2436,33 unequal: No Solution
Exploring Operation: 84+29=113, Resulting Numbers: [113]
113,33 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: 33:[17, 73, 57], Operations: ['84-27=57']
Exploring Operation: 57-17=40, Resulting Numbers: [73, 40]
Generated Node #0,1,0: 33:[73, 40] Operation: 57-17=40
Exploring Operation: 73-57=16, Resulting Numbers: [17, 16]
Generated Node #0,1,1: 33:[17, 16] Operation: 73-57=16
Exploring Operation: 73-17=56, Resulting Numbers: [57, 56]
Generated Node #0,1,2: 33:[57, 56] Operation: 73-17=56
Moving to Node #0,2,1
Current State: 33:[11, 10], Operations: ['84-73=11', '27-17=10']
Exploring Operation: 11*10=110, Resulting Numbers: [110]
110,33 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Moving to Node #0,2,0
Current State: 33:[27, 6], Operations: ['84-73=11', '17-11=6']
Exploring Operation: 27*6=162, Resulting Numbers: [162]
162,33 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[84, 17, 73, 27], Operations: []
Exploring Operation: 84-73=11, Resulting Numbers: [17, 27, 11]
Generated Node #0,2: 33:[17, 27, 11] Operation: 84-73=11
Moving to Node #0,2
Current State: 33:[17, 27, 11], Operations: ['84-73=11']
Exploring Operation: 17-11=6, Resulting Numbers: [27, 6]
Generated Node #0,2,0: 33:[27, 6] Operation: 17-11=6
Moving to Node #0,2,0
Current State: 33:[27, 6], Operations: ['84-73=11', '17-11=6']
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 0.97309 | hs_3 | mult_heuristic |
[
33,
2,
54,
27
] | 50 | [
"33-2=31",
"54+27=81",
"81-31=50"
] | Current State: 50:[33, 2, 54, 27], Operations: []
Exploring Operation: 33-2=31, Resulting Numbers: [54, 27, 31]
Generated Node #2: [54, 27, 31] from Operation: 33-2=31
Current State: 50:[54, 27, 31], Operations: ['33-2=31']
Exploring Operation: 54+27=81, Resulting Numbers: [31, 81]
Generated Node #3: [31, 81] from Operation: 54+27=81
Current State: 50:[31, 81], Operations: ['33-2=31', '54+27=81']
Exploring Operation: 81-31=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[33, 2, 54, 27], Operations: []
Exploring Operation: 33-27=6, Resulting Numbers: [2, 54, 6]
Generated Node #0,0: 50:[2, 54, 6] Operation: 33-27=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[2, 54, 6], Operations: ['33-27=6']
Exploring Operation: 54/6=9, Resulting Numbers: [2, 9]
Generated Node #0,0,0: 50:[2, 9] Operation: 54/6=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[2, 9], Operations: ['33-27=6', '54/6=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
30,
6,
38,
26
] | 36 | [
"30-6=24",
"38-26=12",
"24+12=36"
] | Current State: 36:[30, 6, 38, 26], Operations: []
Exploring Operation: 30-6=24, Resulting Numbers: [38, 26, 24]
Generated Node #2: [38, 26, 24] from Operation: 30-6=24
Current State: 36:[38, 26, 24], Operations: ['30-6=24']
Exploring Operation: 38-26=12, Resulting Numbers: [24, 12]
Generated Node #3: [24, 12] from Operation: 38-26=12
Current State: 36:[24, 12], Operations: ['30-6=24', '38-26=12']
Exploring Operation: 24+12=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[30, 6, 38, 26], Operations: []
Exploring Operation: 30-26=4, Resulting Numbers: [6, 38, 4]
Generated Node #0,0: 36:[6, 38, 4] Operation: 30-26=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[6, 38, 4], Operations: ['30-26=4']
Exploring Operation: 6-4=2, Resulting Numbers: [38, 2]
Generated Node #0,0,0: 36:[38, 2] Operation: 6-4=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[38, 2], Operations: ['30-26=4', '6-4=2']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[30, 6, 38, 26], Operations: []
Exploring Operation: 30-26=4, Resulting Numbers: [6, 38, 4]
Generated Node #0,0: 36:[6, 38, 4] Operation: 30-26=4
Moving to Node #0,0
Current State: 36:[6, 38, 4], Operations: ['30-26=4']
Exploring Operation: 6-4=2, Resulting Numbers: [38, 2]
Generated Node #0,0,0: 36:[38, 2] Operation: 6-4=2
Moving to Node #0,0,0
Current State: 36:[38, 2], Operations: ['30-26=4', '6-4=2']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
64,
73,
55,
4
] | 78 | [
"64+73=137",
"55+4=59",
"137-59=78"
] | Current State: 78:[64, 73, 55, 4], Operations: []
Exploring Operation: 64+73=137, Resulting Numbers: [55, 4, 137]
Generated Node #2: [55, 4, 137] from Operation: 64+73=137
Current State: 78:[55, 4, 137], Operations: ['64+73=137']
Exploring Operation: 55+4=59, Resulting Numbers: [137, 59]
Generated Node #3: [137, 59] from Operation: 55+4=59
Current State: 78:[137, 59], Operations: ['64+73=137', '55+4=59']
Exploring Operation: 137-59=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[64, 73, 55, 4], Operations: []
Exploring Operation: 64-55=9, Resulting Numbers: [73, 4, 9]
Generated Node #0,0: 78:[73, 4, 9] Operation: 64-55=9
Exploring Operation: 73-64=9, Resulting Numbers: [55, 4, 9]
Generated Node #0,1: 78:[55, 4, 9] Operation: 73-64=9
Moving to Node #0,0
Current State: 78:[73, 4, 9], Operations: ['64-55=9']
Exploring Operation: 73+9=82, Resulting Numbers: [4, 82]
Generated Node #0,0,0: 78:[4, 82] Operation: 73+9=82
Exploring Operation: 73+4=77, Resulting Numbers: [9, 77]
Generated Node #0,0,1: 78:[9, 77] Operation: 73+4=77
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 78:[9, 77], Operations: ['64-55=9', '73+4=77']
Exploring Operation: 9+77=86, Resulting Numbers: [86]
86,78 unequal: No Solution
Exploring Operation: 77-9=68, Resulting Numbers: [68]
68,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[4, 82], Operations: ['64-55=9', '73+9=82']
Exploring Operation: 4+82=86, Resulting Numbers: [86]
86,78 unequal: No Solution
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[64, 73, 55, 4], Operations: []
Exploring Operation: 64-55=9, Resulting Numbers: [73, 4, 9]
Generated Node #0,0: 78:[73, 4, 9] Operation: 64-55=9
Moving to Node #0,0
Current State: 78:[73, 4, 9], Operations: ['64-55=9']
Exploring Operation: 73+9=82, Resulting Numbers: [4, 82]
Generated Node #0,0,0: 78:[4, 82] Operation: 73+9=82
Moving to Node #0,0,0
Current State: 78:[4, 82], Operations: ['64-55=9', '73+9=82']
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
71,
9,
14,
12
] | 54 | [
"71+9=80",
"14+12=26",
"80-26=54"
] | Current State: 54:[71, 9, 14, 12], Operations: []
Exploring Operation: 71+9=80, Resulting Numbers: [14, 12, 80]
Generated Node #2: [14, 12, 80] from Operation: 71+9=80
Current State: 54:[14, 12, 80], Operations: ['71+9=80']
Exploring Operation: 14+12=26, Resulting Numbers: [80, 26]
Generated Node #3: [80, 26] from Operation: 14+12=26
Current State: 54:[80, 26], Operations: ['71+9=80', '14+12=26']
Exploring Operation: 80-26=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[71, 9, 14, 12], Operations: []
Exploring Operation: 71-14=57, Resulting Numbers: [9, 12, 57]
Generated Node #0,0: 54:[9, 12, 57] Operation: 71-14=57
Moving to Node #0,0
Current State: 54:[9, 12, 57], Operations: ['71-14=57']
Exploring Operation: 12-9=3, Resulting Numbers: [57, 3]
Generated Node #0,0,0: 54:[57, 3] Operation: 12-9=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[57, 3], Operations: ['71-14=57', '12-9=3']
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[71, 9, 14, 12], Operations: []
Exploring Operation: 71-14=57, Resulting Numbers: [9, 12, 57]
Generated Node #0,0: 54:[9, 12, 57] Operation: 71-14=57
Moving to Node #0,0
Current State: 54:[9, 12, 57], Operations: ['71-14=57']
Exploring Operation: 12-9=3, Resulting Numbers: [57, 3]
Generated Node #0,0,0: 54:[57, 3] Operation: 12-9=3
Moving to Node #0,0,0
Current State: 54:[57, 3], Operations: ['71-14=57', '12-9=3']
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
80,
83,
61,
3
] | 67 | [
"83-80=3",
"61+3=64",
"3+64=67"
] | Current State: 67:[80, 83, 61, 3], Operations: []
Exploring Operation: 83-80=3, Resulting Numbers: [61, 3, 3]
Generated Node #2: [61, 3, 3] from Operation: 83-80=3
Current State: 67:[61, 3, 3], Operations: ['83-80=3']
Exploring Operation: 61+3=64, Resulting Numbers: [64]
64,67 equal: Goal Reached
Exploring Operation: 3+64=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[80, 83, 61, 3], Operations: []
Exploring Operation: 80+3=83, Resulting Numbers: [83, 61, 83]
Generated Node #0,0: 67:[83, 61, 83] Operation: 80+3=83
Exploring Operation: 80-3=77, Resulting Numbers: [83, 61, 77]
Generated Node #0,1: 67:[83, 61, 77] Operation: 80-3=77
Exploring Operation: 83+3=86, Resulting Numbers: [80, 61, 86]
Generated Node #0,2: 67:[80, 61, 86] Operation: 83+3=86
Exploring Operation: 83-3=80, Resulting Numbers: [80, 61, 80]
Generated Node #0,3: 67:[80, 61, 80] Operation: 83-3=80
Exploring Operation: 61+3=64, Resulting Numbers: [80, 83, 64]
Generated Node #0,4: 67:[80, 83, 64] Operation: 61+3=64
Moving to Node #0,1
Current State: 67:[83, 61, 77], Operations: ['80-3=77']
Exploring Operation: 61+77=138, Resulting Numbers: [83, 138]
Generated Node #0,1,0: 67:[83, 138] Operation: 61+77=138
Exploring Operation: 83-77=6, Resulting Numbers: [61, 6]
Generated Node #0,1,1: 67:[61, 6] Operation: 83-77=6
Exploring Operation: 83-61=22, Resulting Numbers: [77, 22]
Generated Node #0,1,2: 67:[77, 22] Operation: 83-61=22
Exploring Operation: 83+61=144, Resulting Numbers: [77, 144]
Generated Node #0,1,3: 67:[77, 144] Operation: 83+61=144
Exploring Operation: 77-61=16, Resulting Numbers: [83, 16]
Generated Node #0,1,4: 67:[83, 16] Operation: 77-61=16
Moving to Node #0,4
Current State: 67:[80, 83, 64], Operations: ['61+3=64']
Exploring Operation: 83-64=19, Resulting Numbers: [80, 19]
Generated Node #0,4,0: 67:[80, 19] Operation: 83-64=19
Exploring Operation: 83-80=3, Resulting Numbers: [64, 3]
Generated Node #0,4,1: 67:[64, 3] Operation: 83-80=3
Exploring Operation: 83+64=147, Resulting Numbers: [80, 147]
Generated Node #0,4,2: 67:[80, 147] Operation: 83+64=147
Exploring Operation: 80-64=16, Resulting Numbers: [83, 16]
Generated Node #0,4,3: 67:[83, 16] Operation: 80-64=16
Exploring Operation: 80+64=144, Resulting Numbers: [83, 144]
Generated Node #0,4,4: 67:[83, 144] Operation: 80+64=144
Moving to Node #0,3
Current State: 67:[80, 61, 80], Operations: ['83-3=80']
Exploring Operation: 80+61=141, Resulting Numbers: [80, 141]
Generated Node #0,3,0: 67:[80, 141] Operation: 80+61=141
Exploring Operation: 80/80=1, Resulting Numbers: [61, 1]
Generated Node #0,3,1: 67:[61, 1] Operation: 80/80=1
Exploring Operation: 80-61=19, Resulting Numbers: [80, 19]
Generated Node #0,3,2: 67:[80, 19] Operation: 80-61=19
Exploring Operation: 80-61=19, Resulting Numbers: [80, 19]
Generated Node #0,3,3: 67:[80, 19] Operation: 80-61=19
Exploring Operation: 80-80=0, Resulting Numbers: [61, 0]
Generated Node #0,3,4: 67:[61, 0] Operation: 80-80=0
Moving to Node #0,0
Current State: 67:[83, 61, 83], Operations: ['80+3=83']
Exploring Operation: 83/83=1, Resulting Numbers: [61, 1]
Generated Node #0,0,0: 67:[61, 1] Operation: 83/83=1
Exploring Operation: 83-61=22, Resulting Numbers: [83, 22]
Generated Node #0,0,1: 67:[83, 22] Operation: 83-61=22
Exploring Operation: 83-83=0, Resulting Numbers: [61, 0]
Generated Node #0,0,2: 67:[61, 0] Operation: 83-83=0
Exploring Operation: 83-61=22, Resulting Numbers: [83, 22]
Generated Node #0,0,3: 67:[83, 22] Operation: 83-61=22
Exploring Operation: 83+61=144, Resulting Numbers: [83, 144]
Generated Node #0,0,4: 67:[83, 144] Operation: 83+61=144
Moving to Node #0,2
Current State: 67:[80, 61, 86], Operations: ['83+3=86']
Exploring Operation: 80-61=19, Resulting Numbers: [86, 19]
Generated Node #0,2,0: 67:[86, 19] Operation: 80-61=19
Exploring Operation: 80+61=141, Resulting Numbers: [86, 141]
Generated Node #0,2,1: 67:[86, 141] Operation: 80+61=141
Exploring Operation: 86-61=25, Resulting Numbers: [80, 25]
Generated Node #0,2,2: 67:[80, 25] Operation: 86-61=25
Exploring Operation: 86-80=6, Resulting Numbers: [61, 6]
Generated Node #0,2,3: 67:[61, 6] Operation: 86-80=6
Exploring Operation: 61+86=147, Resulting Numbers: [80, 147]
Generated Node #0,2,4: 67:[80, 147] Operation: 61+86=147
Moving to Node #0,1,2
Current State: 67:[77, 22], Operations: ['80-3=77', '83-61=22']
Exploring Operation: 77-22=55, Resulting Numbers: [55]
55,67 unequal: No Solution
Exploring Operation: 77+22=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 77*22=1694, Resulting Numbers: [1694]
1694,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[80, 25], Operations: ['83+3=86', '86-61=25']
Exploring Operation: 80*25=2000, Resulting Numbers: [2000]
2000,67 unequal: No Solution
Exploring Operation: 80+25=105, Resulting Numbers: [105]
105,67 unequal: No Solution
Exploring Operation: 80-25=55, Resulting Numbers: [55]
55,67 unequal: No Solution
Moving to Node #0,4,0
Current State: 67:[80, 19], Operations: ['61+3=64', '83-64=19']
Exploring Operation: 80-19=61, Resulting Numbers: [61]
61,67 unequal: No Solution
Exploring Operation: 80+19=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 80*19=1520, Resulting Numbers: [1520]
1520,67 unequal: No Solution
Moving to Node #0,3,3
Current State: 67:[80, 19], Operations: ['83-3=80', '80-61=19']
Exploring Operation: 80*19=1520, Resulting Numbers: [1520]
1520,67 unequal: No Solution
Exploring Operation: 80+19=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 80-19=61, Resulting Numbers: [61]
61,67 unequal: No Solution
Moving to Node #0,3,2
Current State: 67:[80, 19], Operations: ['83-3=80', '80-61=19']
Exploring Operation: 80-19=61, Resulting Numbers: [61]
61,67 unequal: No Solution
Exploring Operation: 80+19=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 80*19=1520, Resulting Numbers: [1520]
1520,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[83, 22], Operations: ['80+3=83', '83-61=22']
Exploring Operation: 83+22=105, Resulting Numbers: [105]
105,67 unequal: No Solution
Exploring Operation: 83*22=1826, Resulting Numbers: [1826]
1826,67 unequal: No Solution
Exploring Operation: 83-22=61, Resulting Numbers: [61]
61,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[83, 22], Operations: ['80+3=83', '83-61=22']
Exploring Operation: 83-22=61, Resulting Numbers: [61]
61,67 unequal: No Solution
Exploring Operation: 83+22=105, Resulting Numbers: [105]
105,67 unequal: No Solution
Exploring Operation: 83*22=1826, Resulting Numbers: [1826]
1826,67 unequal: No Solution
Moving to Node #0,4,1
Current State: 67:[64, 3], Operations: ['61+3=64', '83-80=3']
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,67 unequal: No Solution
Exploring Operation: 64*3=192, Resulting Numbers: [192]
192,67 unequal: No Solution
Exploring Operation: 64+3=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[80, 83, 61, 3], Operations: []
Exploring Operation: 61+3=64, Resulting Numbers: [80, 83, 64]
Generated Node #0,4: 67:[80, 83, 64] Operation: 61+3=64
Moving to Node #0,4
Current State: 67:[80, 83, 64], Operations: ['61+3=64']
Exploring Operation: 83-80=3, Resulting Numbers: [64, 3]
Generated Node #0,4,1: 67:[64, 3] Operation: 83-80=3
Moving to Node #0,4,1
Current State: 67:[64, 3], Operations: ['61+3=64', '83-80=3']
Exploring Operation: 64+3=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 0.949653 | hs_5 | sum_heuristic |
[
37,
93,
75,
6
] | 49 | [
"37+93=130",
"75+6=81",
"130-81=49"
] | Current State: 49:[37, 93, 75, 6], Operations: []
Exploring Operation: 37+93=130, Resulting Numbers: [75, 6, 130]
Generated Node #2: [75, 6, 130] from Operation: 37+93=130
Current State: 49:[75, 6, 130], Operations: ['37+93=130']
Exploring Operation: 75+6=81, Resulting Numbers: [130, 81]
Generated Node #3: [130, 81] from Operation: 75+6=81
Current State: 49:[130, 81], Operations: ['37+93=130', '75+6=81']
Exploring Operation: 130-81=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[37, 93, 75, 6], Operations: []
Exploring Operation: 93-75=18, Resulting Numbers: [37, 6, 18]
Generated Node #0,0: 49:[37, 6, 18] Operation: 93-75=18
Exploring Operation: 93-37=56, Resulting Numbers: [75, 6, 56]
Generated Node #0,1: 49:[75, 6, 56] Operation: 93-37=56
Exploring Operation: 75-37=38, Resulting Numbers: [93, 6, 38]
Generated Node #0,2: 49:[93, 6, 38] Operation: 75-37=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[37, 6, 18], Operations: ['93-75=18']
Exploring Operation: 37-18=19, Resulting Numbers: [6, 19]
Generated Node #0,0,0: 49:[6, 19] Operation: 37-18=19
Exploring Operation: 18/6=3, Resulting Numbers: [37, 3]
Generated Node #0,0,1: 49:[37, 3] Operation: 18/6=3
Exploring Operation: 37+18=55, Resulting Numbers: [6, 55]
Generated Node #0,0,2: 49:[6, 55] Operation: 37+18=55
Moving to Node #0,0,2
Current State: 49:[6, 55], Operations: ['93-75=18', '37+18=55']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[37, 93, 75, 6], Operations: []
Exploring Operation: 93-75=18, Resulting Numbers: [37, 6, 18]
Generated Node #0,0: 49:[37, 6, 18] Operation: 93-75=18
Moving to Node #0,0
Current State: 49:[37, 6, 18], Operations: ['93-75=18']
Exploring Operation: 37+18=55, Resulting Numbers: [6, 55]
Generated Node #0,0,2: 49:[6, 55] Operation: 37+18=55
Moving to Node #0,0,2
Current State: 49:[6, 55], Operations: ['93-75=18', '37+18=55']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
44,
64,
30,
43
] | 93 | [
"64-44=20",
"30+43=73",
"20+73=93"
] | Current State: 93:[44, 64, 30, 43], Operations: []
Exploring Operation: 64-44=20, Resulting Numbers: [30, 43, 20]
Generated Node #2: [30, 43, 20] from Operation: 64-44=20
Current State: 93:[30, 43, 20], Operations: ['64-44=20']
Exploring Operation: 30+43=73, Resulting Numbers: [20, 73]
Generated Node #3: [20, 73] from Operation: 30+43=73
Current State: 93:[20, 73], Operations: ['64-44=20', '30+43=73']
Exploring Operation: 20+73=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[44, 64, 30, 43], Operations: []
Exploring Operation: 64-43=21, Resulting Numbers: [44, 30, 21]
Generated Node #0,0: 93:[44, 30, 21] Operation: 64-43=21
Exploring Operation: 64-44=20, Resulting Numbers: [30, 43, 20]
Generated Node #0,1: 93:[30, 43, 20] Operation: 64-44=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[44, 30, 21], Operations: ['64-43=21']
Exploring Operation: 44-21=23, Resulting Numbers: [30, 23]
Generated Node #0,0,0: 93:[30, 23] Operation: 44-21=23
Exploring Operation: 30-21=9, Resulting Numbers: [44, 9]
Generated Node #0,0,1: 93:[44, 9] Operation: 30-21=9
Moving to Node #0,0,0
Current State: 93:[30, 23], Operations: ['64-43=21', '44-21=23']
Exploring Operation: 30+23=53, Resulting Numbers: [53]
53,93 unequal: No Solution
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[44, 9], Operations: ['64-43=21', '30-21=9']
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,93 unequal: No Solution
Exploring Operation: 44+9=53, Resulting Numbers: [53]
53,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
Current State: 93:[30, 43, 20], Operations: ['64-44=20']
Exploring Operation: 30-20=10, Resulting Numbers: [43, 10]
Generated Node #0,1,0: 93:[43, 10] Operation: 30-20=10
Exploring Operation: 43-20=23, Resulting Numbers: [30, 23]
Generated Node #0,1,1: 93:[30, 23] Operation: 43-20=23
Moving to Node #0,1,1
Current State: 93:[30, 23], Operations: ['64-44=20', '43-20=23']
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,93 unequal: No Solution
Exploring Operation: 30+23=53, Resulting Numbers: [53]
53,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[43, 10], Operations: ['64-44=20', '30-20=10']
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,93 unequal: No Solution
Exploring Operation: 43+10=53, Resulting Numbers: [53]
53,93 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 |
[
65,
86,
93,
48
] | 10 | [
"65+86=151",
"93+48=141",
"151-141=10"
] | Current State: 10:[65, 86, 93, 48], Operations: []
Exploring Operation: 65+86=151, Resulting Numbers: [93, 48, 151]
Generated Node #2: [93, 48, 151] from Operation: 65+86=151
Current State: 10:[93, 48, 151], Operations: ['65+86=151']
Exploring Operation: 93+48=141, Resulting Numbers: [151, 141]
Generated Node #3: [151, 141] from Operation: 93+48=141
Current State: 10:[151, 141], Operations: ['65+86=151', '93+48=141']
Exploring Operation: 151-141=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[65, 86, 93, 48], Operations: []
Exploring Operation: 65-48=17, Resulting Numbers: [86, 93, 17]
Generated Node #0,0: 10:[86, 93, 17] Operation: 65-48=17
Exploring Operation: 93-65=28, Resulting Numbers: [86, 48, 28]
Generated Node #0,1: 10:[86, 48, 28] Operation: 93-65=28
Exploring Operation: 93-86=7, Resulting Numbers: [65, 48, 7]
Generated Node #0,2: 10:[65, 48, 7] Operation: 93-86=7
Exploring Operation: 86-65=21, Resulting Numbers: [93, 48, 21]
Generated Node #0,3: 10:[93, 48, 21] Operation: 86-65=21
Moving to Node #0,2
Current State: 10:[65, 48, 7], Operations: ['93-86=7']
Exploring Operation: 65+7=72, Resulting Numbers: [48, 72]
Generated Node #0,2,0: 10:[48, 72] Operation: 65+7=72
Exploring Operation: 65-7=58, Resulting Numbers: [48, 58]
Generated Node #0,2,1: 10:[48, 58] Operation: 65-7=58
Exploring Operation: 48-7=41, Resulting Numbers: [65, 41]
Generated Node #0,2,2: 10:[65, 41] Operation: 48-7=41
Exploring Operation: 65-48=17, Resulting Numbers: [7, 17]
Generated Node #0,2,3: 10:[7, 17] Operation: 65-48=17
Moving to Node #0,3
Current State: 10:[93, 48, 21], Operations: ['86-65=21']
Exploring Operation: 48-21=27, Resulting Numbers: [93, 27]
Generated Node #0,3,0: 10:[93, 27] Operation: 48-21=27
Exploring Operation: 93+48=141, Resulting Numbers: [21, 141]
Generated Node #0,3,1: 10:[21, 141] Operation: 93+48=141
Exploring Operation: 93-21=72, Resulting Numbers: [48, 72]
Generated Node #0,3,2: 10:[48, 72] Operation: 93-21=72
Exploring Operation: 93-48=45, Resulting Numbers: [21, 45]
Generated Node #0,3,3: 10:[21, 45] Operation: 93-48=45
Moving to Node #0,1
Current State: 10:[86, 48, 28], Operations: ['93-65=28']
Exploring Operation: 48-28=20, Resulting Numbers: [86, 20]
Generated Node #0,1,0: 10:[86, 20] Operation: 48-28=20
Exploring Operation: 86-48=38, Resulting Numbers: [28, 38]
Generated Node #0,1,1: 10:[28, 38] Operation: 86-48=38
Exploring Operation: 86-28=58, Resulting Numbers: [48, 58]
Generated Node #0,1,2: 10:[48, 58] Operation: 86-28=58
Exploring Operation: 86+48=134, Resulting Numbers: [28, 134]
Generated Node #0,1,3: 10:[28, 134] Operation: 86+48=134
Moving to Node #0,0
Current State: 10:[86, 93, 17], Operations: ['65-48=17']
Exploring Operation: 86-17=69, Resulting Numbers: [93, 69]
Generated Node #0,0,0: 10:[93, 69] Operation: 86-17=69
Exploring Operation: 86+93=179, Resulting Numbers: [17, 179]
Generated Node #0,0,1: 10:[17, 179] Operation: 86+93=179
Exploring Operation: 93-17=76, Resulting Numbers: [86, 76]
Generated Node #0,0,2: 10:[86, 76] Operation: 93-17=76
Exploring Operation: 93-86=7, Resulting Numbers: [17, 7]
Generated Node #0,0,3: 10:[17, 7] Operation: 93-86=7
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 10:[17, 7], Operations: ['65-48=17', '93-86=7']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[65, 86, 93, 48], Operations: []
Exploring Operation: 65-48=17, Resulting Numbers: [86, 93, 17]
Generated Node #0,0: 10:[86, 93, 17] Operation: 65-48=17
Moving to Node #0,0
Current State: 10:[86, 93, 17], Operations: ['65-48=17']
Exploring Operation: 93-86=7, Resulting Numbers: [17, 7]
Generated Node #0,0,3: 10:[17, 7] Operation: 93-86=7
Moving to Node #0,0,3
Current State: 10:[17, 7], Operations: ['65-48=17', '93-86=7']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_4 | mult_heuristic |
[
68,
97,
63,
73
] | 32 | [
"73-68=5",
"97+63=160",
"160/5=32"
] | Current State: 32:[68, 97, 63, 73], Operations: []
Exploring Operation: 73-68=5, Resulting Numbers: [97, 63, 5]
Generated Node #2: [97, 63, 5] from Operation: 73-68=5
Current State: 32:[97, 63, 5], Operations: ['73-68=5']
Exploring Operation: 97+63=160, Resulting Numbers: [5, 160]
Generated Node #3: [5, 160] from Operation: 97+63=160
Current State: 32:[5, 160], Operations: ['73-68=5', '97+63=160']
Exploring Operation: 160/5=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[68, 97, 63, 73], Operations: []
Exploring Operation: 97-68=29, Resulting Numbers: [63, 73, 29]
Generated Node #0,0: 32:[63, 73, 29] Operation: 97-68=29
Exploring Operation: 73-63=10, Resulting Numbers: [68, 97, 10]
Generated Node #0,1: 32:[68, 97, 10] Operation: 73-63=10
Exploring Operation: 73-68=5, Resulting Numbers: [97, 63, 5]
Generated Node #0,2: 32:[97, 63, 5] Operation: 73-68=5
Exploring Operation: 97-63=34, Resulting Numbers: [68, 73, 34]
Generated Node #0,3: 32:[68, 73, 34] Operation: 97-63=34
Exploring Operation: 97-73=24, Resulting Numbers: [68, 63, 24]
Generated Node #0,4: 32:[68, 63, 24] Operation: 97-73=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[63, 73, 29], Operations: ['97-68=29']
Exploring Operation: 63+29=92, Resulting Numbers: [73, 92]
Generated Node #0,0,0: 32:[73, 92] Operation: 63+29=92
Exploring Operation: 73-63=10, Resulting Numbers: [29, 10]
Generated Node #0,0,1: 32:[29, 10] Operation: 73-63=10
Exploring Operation: 73-29=44, Resulting Numbers: [63, 44]
Generated Node #0,0,2: 32:[63, 44] Operation: 73-29=44
Exploring Operation: 63-29=34, Resulting Numbers: [73, 34]
Generated Node #0,0,3: 32:[73, 34] Operation: 63-29=34
Exploring Operation: 73+29=102, Resulting Numbers: [63, 102]
Generated Node #0,0,4: 32:[63, 102] Operation: 73+29=102
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 32:[29, 10], Operations: ['97-68=29', '73-63=10']
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 29*10=290, Resulting Numbers: [290]
290,32 unequal: No Solution
Exploring Operation: 29+10=39, Resulting Numbers: [39]
39,32 unequal: No Solution
No 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: 32:[63, 44], Operations: ['97-68=29', '73-29=44']
Exploring Operation: 63+44=107, Resulting Numbers: [107]
107,32 unequal: No Solution
Exploring Operation: 63*44=2772, Resulting Numbers: [2772]
2772,32 unequal: No Solution
Exploring Operation: 63-44=19, Resulting Numbers: [19]
19,32 unequal: No Solution
No 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: 32:[73, 34], Operations: ['97-68=29', '63-29=34']
Exploring Operation: 73*34=2482, Resulting Numbers: [2482]
2482,32 unequal: No Solution
Exploring Operation: 73+34=107, Resulting Numbers: [107]
107,32 unequal: No Solution
Exploring Operation: 73-34=39, Resulting Numbers: [39]
39,32 unequal: No Solution
No 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: 32:[73, 92], Operations: ['97-68=29', '63+29=92']
Exploring Operation: 73*92=6716, Resulting Numbers: [6716]
6716,32 unequal: No Solution
Exploring Operation: 73+92=165, Resulting Numbers: [165]
165,32 unequal: No Solution
Exploring Operation: 92-73=19, Resulting Numbers: [19]
19,32 unequal: No Solution
No 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: 32:[63, 102], Operations: ['97-68=29', '73+29=102']
Exploring Operation: 102-63=39, Resulting Numbers: [39]
39,32 unequal: No Solution
Exploring Operation: 63*102=6426, Resulting Numbers: [6426]
6426,32 unequal: No Solution
Exploring Operation: 63+102=165, Resulting Numbers: [165]
165,32 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: 32:[68, 63, 24], Operations: ['97-73=24']
Exploring Operation: 63-24=39, Resulting Numbers: [68, 39]
Generated Node #0,4,0: 32:[68, 39] Operation: 63-24=39
Exploring Operation: 63+24=87, Resulting Numbers: [68, 87]
Generated Node #0,4,1: 32:[68, 87] Operation: 63+24=87
Exploring Operation: 68-63=5, Resulting Numbers: [24, 5]
Generated Node #0,4,2: 32:[24, 5] Operation: 68-63=5
Exploring Operation: 68+24=92, Resulting Numbers: [63, 92]
Generated Node #0,4,3: 32:[63, 92] Operation: 68+24=92
Exploring Operation: 68-24=44, Resulting Numbers: [63, 44]
Generated Node #0,4,4: 32:[63, 44] Operation: 68-24=44
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 32:[24, 5], Operations: ['97-73=24', '68-63=5']
Exploring Operation: 24*5=120, Resulting Numbers: [120]
120,32 unequal: No Solution
Exploring Operation: 24+5=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 32:[68, 39], Operations: ['97-73=24', '63-24=39']
Exploring Operation: 68-39=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Exploring Operation: 68+39=107, Resulting Numbers: [107]
107,32 unequal: No Solution
Exploring Operation: 68*39=2652, Resulting Numbers: [2652]
2652,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 32:[63, 44], Operations: ['97-73=24', '68-24=44']
Exploring Operation: 63-44=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 63+44=107, Resulting Numbers: [107]
107,32 unequal: No Solution
Exploring Operation: 63*44=2772, Resulting Numbers: [2772]
2772,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 32:[68, 87], Operations: ['97-73=24', '63+24=87']
Exploring Operation: 68+87=155, Resulting Numbers: [155]
155,32 unequal: No Solution
Exploring Operation: 68*87=5916, Resulting Numbers: [5916]
5916,32 unequal: No Solution
Exploring Operation: 87-68=19, Resulting Numbers: [19]
19,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 32:[63, 92], Operations: ['97-73=24', '68+24=92']
Exploring Operation: 63+92=155, Resulting Numbers: [155]
155,32 unequal: No Solution
Exploring Operation: 63*92=5796, Resulting Numbers: [5796]
5796,32 unequal: No Solution
Exploring Operation: 92-63=29, Resulting Numbers: [29]
29,32 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: 32:[68, 73, 34], Operations: ['97-63=34']
Exploring Operation: 68-34=34, Resulting Numbers: [73, 34]
Generated Node #0,3,0: 32:[73, 34] Operation: 68-34=34
Exploring Operation: 68+73=141, Resulting Numbers: [34, 141]
Generated Node #0,3,1: 32:[34, 141] Operation: 68+73=141
Exploring Operation: 73-68=5, Resulting Numbers: [34, 5]
Generated Node #0,3,2: 32:[34, 5] Operation: 73-68=5
Exploring Operation: 68/34=2, Resulting Numbers: [73, 2]
Generated Node #0,3,3: 32:[73, 2] Operation: 68/34=2
Exploring Operation: 73-34=39, Resulting Numbers: [68, 39]
Generated Node #0,3,4: 32:[68, 39] Operation: 73-34=39
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 32:[34, 5], Operations: ['97-63=34', '73-68=5']
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,32 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,32 unequal: No Solution
No 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: 32:[73, 2], Operations: ['97-63=34', '68/34=2']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,32 unequal: No Solution
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,32 unequal: No Solution
Exploring Operation: 73*2=146, Resulting Numbers: [146]
146,32 unequal: No Solution
No 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: 32:[73, 34], Operations: ['97-63=34', '68-34=34']
Exploring Operation: 73*34=2482, Resulting Numbers: [2482]
2482,32 unequal: No Solution
Exploring Operation: 73+34=107, Resulting Numbers: [107]
107,32 unequal: No Solution
Exploring Operation: 73-34=39, Resulting Numbers: [39]
39,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 32:[68, 39], Operations: ['97-63=34', '73-34=39']
Exploring Operation: 68*39=2652, Resulting Numbers: [2652]
2652,32 unequal: No Solution
Exploring Operation: 68-39=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Exploring Operation: 68+39=107, Resulting Numbers: [107]
107,32 unequal: No Solution
No 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: 32:[34, 141], Operations: ['97-63=34', '68+73=141']
Exploring Operation: 34+141=175, Resulting Numbers: [175]
175,32 unequal: No Solution
Exploring Operation: 34*141=4794, Resulting Numbers: [4794]
4794,32 unequal: No Solution
Exploring Operation: 141-34=107, Resulting Numbers: [107]
107,32 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: 32:[97, 63, 5], Operations: ['73-68=5']
Exploring Operation: 97-63=34, Resulting Numbers: [5, 34]
Generated Node #0,2,0: 32:[5, 34] Operation: 97-63=34
Exploring Operation: 63-5=58, Resulting Numbers: [97, 58]
Generated Node #0,2,1: 32:[97, 58] Operation: 63-5=58
Exploring Operation: 97-5=92, Resulting Numbers: [63, 92]
Generated Node #0,2,2: 32:[63, 92] Operation: 97-5=92
Exploring Operation: 63+5=68, Resulting Numbers: [97, 68]
Generated Node #0,2,3: 32:[97, 68] Operation: 63+5=68
Exploring Operation: 97+5=102, Resulting Numbers: [63, 102]
Generated Node #0,2,4: 32:[63, 102] Operation: 97+5=102
Moving to Node #0,2,0
Current State: 32:[5, 34], Operations: ['73-68=5', '97-63=34']
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,32 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[63, 92], Operations: ['73-68=5', '97-5=92']
Exploring Operation: 92-63=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Exploring Operation: 63+92=155, Resulting Numbers: [155]
155,32 unequal: No Solution
Exploring Operation: 63*92=5796, Resulting Numbers: [5796]
5796,32 unequal: No Solution
Moving to Node #0,2,1
Current State: 32:[97, 58], Operations: ['73-68=5', '63-5=58']
Exploring Operation: 97*58=5626, Resulting Numbers: [5626]
5626,32 unequal: No Solution
Exploring Operation: 97-58=39, Resulting Numbers: [39]
39,32 unequal: No Solution
Exploring Operation: 97+58=155, Resulting Numbers: [155]
155,32 unequal: No Solution
Moving to Node #0,2,3
Current State: 32:[97, 68], Operations: ['73-68=5', '63+5=68']
Exploring Operation: 97*68=6596, Resulting Numbers: [6596]
6596,32 unequal: No Solution
Exploring Operation: 97+68=165, Resulting Numbers: [165]
165,32 unequal: No Solution
Exploring Operation: 97-68=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Moving to Node #0,2,4
Current State: 32:[63, 102], Operations: ['73-68=5', '97+5=102']
Exploring Operation: 63*102=6426, Resulting Numbers: [6426]
6426,32 unequal: No Solution
Exploring Operation: 63+102=165, Resulting Numbers: [165]
165,32 unequal: No Solution
Exploring Operation: 102-63=39, Resulting Numbers: [39]
39,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,1
Current State: 32:[68, 97, 10], Operations: ['73-63=10']
Exploring Operation: 97-10=87, Resulting Numbers: [68, 87]
Generated Node #0,1,0: 32:[68, 87] Operation: 97-10=87
Exploring Operation: 97-68=29, Resulting Numbers: [10, 29]
Generated Node #0,1,1: 32:[10, 29] Operation: 97-68=29
Exploring Operation: 68-10=58, Resulting Numbers: [97, 58]
Generated Node #0,1,2: 32:[97, 58] Operation: 68-10=58
Exploring Operation: 97+10=107, Resulting Numbers: [68, 107]
Generated Node #0,1,3: 32:[68, 107] Operation: 97+10=107
Exploring Operation: 68+10=78, Resulting Numbers: [97, 78]
Generated Node #0,1,4: 32:[97, 78] Operation: 68+10=78
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 32:[10, 29], Operations: ['73-63=10', '97-68=29']
Exploring Operation: 10+29=39, Resulting Numbers: [39]
39,32 unequal: No Solution
Exploring Operation: 10*29=290, Resulting Numbers: [290]
290,32 unequal: No Solution
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,32 unequal: No Solution
No 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: 32:[68, 87], Operations: ['73-63=10', '97-10=87']
Exploring Operation: 87-68=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 68+87=155, Resulting Numbers: [155]
155,32 unequal: No Solution
Exploring Operation: 68*87=5916, Resulting Numbers: [5916]
5916,32 unequal: No Solution
No 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: 32:[97, 58], Operations: ['73-63=10', '68-10=58']
Exploring Operation: 97-58=39, Resulting Numbers: [39]
39,32 unequal: No Solution
Exploring Operation: 97+58=155, Resulting Numbers: [155]
155,32 unequal: No Solution
Exploring Operation: 97*58=5626, Resulting Numbers: [5626]
5626,32 unequal: No Solution
No 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: 32:[68, 107], Operations: ['73-63=10', '97+10=107']
Exploring Operation: 68+107=175, Resulting Numbers: [175]
175,32 unequal: No Solution
Exploring Operation: 68*107=7276, Resulting Numbers: [7276]
7276,32 unequal: No Solution
Exploring Operation: 107-68=39, Resulting Numbers: [39]
39,32 unequal: No Solution
No 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: 32:[97, 78], Operations: ['73-63=10', '68+10=78']
Exploring Operation: 97-78=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 97+78=175, Resulting Numbers: [175]
175,32 unequal: No Solution
Exploring Operation: 97*78=7566, Resulting Numbers: [7566]
7566,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
66,
86,
76,
99
] | 28 | [
"76*99=7524",
"7524/66=114",
"114-86=28"
] | Current State: 28:[66, 86, 76, 99], Operations: []
Exploring Operation: 76*99=7524, Resulting Numbers: [66, 86, 7524]
Generated Node #2: [66, 86, 7524] from Operation: 76*99=7524
Current State: 28:[66, 86, 7524], Operations: ['76*99=7524']
Exploring Operation: 7524/66=114, Resulting Numbers: [86, 114]
Generated Node #3: [86, 114] from Operation: 7524/66=114
Current State: 28:[86, 114], Operations: ['76*99=7524', '7524/66=114']
Exploring Operation: 114-86=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[66, 86, 76, 99], Operations: []
Exploring Operation: 99-76=23, Resulting Numbers: [66, 86, 23]
Generated Node #0,0: 28:[66, 86, 23] Operation: 99-76=23
Exploring Operation: 99-86=13, Resulting Numbers: [66, 76, 13]
Generated Node #0,1: 28:[66, 76, 13] Operation: 99-86=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[66, 76, 13], Operations: ['99-86=13']
Exploring Operation: 76-66=10, Resulting Numbers: [13, 10]
Generated Node #0,1,0: 28:[13, 10] Operation: 76-66=10
Exploring Operation: 66-13=53, Resulting Numbers: [76, 53]
Generated Node #0,1,1: 28:[76, 53] Operation: 66-13=53
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 28:[13, 10], Operations: ['99-86=13', '76-66=10']
Exploring Operation: 13+10=23, Resulting Numbers: [23]
23,28 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,28 unequal: No Solution
No 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: 28:[76, 53], Operations: ['99-86=13', '66-13=53']
Exploring Operation: 76+53=129, Resulting Numbers: [129]
129,28 unequal: No Solution
Exploring Operation: 76-53=23, Resulting Numbers: [23]
23,28 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: 28:[66, 86, 23], Operations: ['99-76=23']
Exploring Operation: 66-23=43, Resulting Numbers: [86, 43]
Generated Node #0,0,0: 28:[86, 43] Operation: 66-23=43
Exploring Operation: 86-66=20, Resulting Numbers: [23, 20]
Generated Node #0,0,1: 28:[23, 20] Operation: 86-66=20
Moving to Node #0,0,1
Current State: 28:[23, 20], Operations: ['99-76=23', '86-66=20']
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 23+20=43, Resulting Numbers: [43]
43,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[86, 43], Operations: ['99-76=23', '66-23=43']
Exploring Operation: 86/43=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 86-43=43, Resulting Numbers: [43]
43,28 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 |
[
81,
9,
2,
23
] | 63 | [
"9*23=207",
"207-81=126",
"126/2=63"
] | Current State: 63:[81, 9, 2, 23], Operations: []
Exploring Operation: 9*23=207, Resulting Numbers: [81, 2, 207]
Generated Node #2: [81, 2, 207] from Operation: 9*23=207
Current State: 63:[81, 2, 207], Operations: ['9*23=207']
Exploring Operation: 207-81=126, Resulting Numbers: [2, 126]
Generated Node #3: [2, 126] from Operation: 207-81=126
Current State: 63:[2, 126], Operations: ['9*23=207', '207-81=126']
Exploring Operation: 126/2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[81, 9, 2, 23], Operations: []
Exploring Operation: 81-23=58, Resulting Numbers: [9, 2, 58]
Generated Node #0,0: 63:[9, 2, 58] Operation: 81-23=58
Exploring Operation: 81/9=9, Resulting Numbers: [2, 23, 9]
Generated Node #0,1: 63:[2, 23, 9] Operation: 81/9=9
Exploring Operation: 81-9=72, Resulting Numbers: [2, 23, 72]
Generated Node #0,2: 63:[2, 23, 72] Operation: 81-9=72
Exploring Operation: 81-2=79, Resulting Numbers: [9, 23, 79]
Generated Node #0,3: 63:[9, 23, 79] Operation: 81-2=79
Moving to Node #0,1
Current State: 63:[2, 23, 9], Operations: ['81/9=9']
Exploring Operation: 9-2=7, Resulting Numbers: [23, 7]
Generated Node #0,1,0: 63:[23, 7] Operation: 9-2=7
Exploring Operation: 2+23=25, Resulting Numbers: [9, 25]
Generated Node #0,1,1: 63:[9, 25] Operation: 2+23=25
Exploring Operation: 2+9=11, Resulting Numbers: [23, 11]
Generated Node #0,1,2: 63:[23, 11] Operation: 2+9=11
Exploring Operation: 23-2=21, Resulting Numbers: [9, 21]
Generated Node #0,1,3: 63:[9, 21] Operation: 23-2=21
Moving to Node #0,0
Current State: 63:[9, 2, 58], Operations: ['81-23=58']
Exploring Operation: 2+58=60, Resulting Numbers: [9, 60]
Generated Node #0,0,0: 63:[9, 60] Operation: 2+58=60
Exploring Operation: 9+58=67, Resulting Numbers: [2, 67]
Generated Node #0,0,1: 63:[2, 67] Operation: 9+58=67
Exploring Operation: 9+2=11, Resulting Numbers: [58, 11]
Generated Node #0,0,2: 63:[58, 11] Operation: 9+2=11
Exploring Operation: 9-2=7, Resulting Numbers: [58, 7]
Generated Node #0,0,3: 63:[58, 7] Operation: 9-2=7
Moving to Node #0,2
Current State: 63:[2, 23, 72], Operations: ['81-9=72']
Exploring Operation: 2+23=25, Resulting Numbers: [72, 25]
Generated Node #0,2,0: 63:[72, 25] Operation: 2+23=25
Exploring Operation: 2+72=74, Resulting Numbers: [23, 74]
Generated Node #0,2,1: 63:[23, 74] Operation: 2+72=74
Exploring Operation: 23-2=21, Resulting Numbers: [72, 21]
Generated Node #0,2,2: 63:[72, 21] Operation: 23-2=21
Exploring Operation: 72-2=70, Resulting Numbers: [23, 70]
Generated Node #0,2,3: 63:[23, 70] Operation: 72-2=70
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 63:[72, 21], Operations: ['81-9=72', '23-2=21']
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,63 unequal: No Solution
Exploring Operation: 72+21=93, Resulting Numbers: [93]
93,63 unequal: No Solution
Exploring Operation: 72*21=1512, Resulting Numbers: [1512]
1512,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 63:[23, 70], Operations: ['81-9=72', '72-2=70']
Exploring Operation: 23+70=93, Resulting Numbers: [93]
93,63 unequal: No Solution
Exploring Operation: 23*70=1610, Resulting Numbers: [1610]
1610,63 unequal: No Solution
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 63:[72, 25], Operations: ['81-9=72', '2+23=25']
Exploring Operation: 72+25=97, Resulting Numbers: [97]
97,63 unequal: No Solution
Exploring Operation: 72*25=1800, Resulting Numbers: [1800]
1800,63 unequal: No Solution
Exploring Operation: 72-25=47, Resulting Numbers: [47]
47,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 63:[23, 74], Operations: ['81-9=72', '2+72=74']
Exploring Operation: 23+74=97, Resulting Numbers: [97]
97,63 unequal: No Solution
Exploring Operation: 23*74=1702, Resulting Numbers: [1702]
1702,63 unequal: No Solution
Exploring Operation: 74-23=51, Resulting Numbers: [51]
51,63 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: 63:[9, 23, 79], Operations: ['81-2=79']
Exploring Operation: 79-23=56, Resulting Numbers: [9, 56]
Generated Node #0,3,0: 63:[9, 56] Operation: 79-23=56
Exploring Operation: 79-9=70, Resulting Numbers: [23, 70]
Generated Node #0,3,1: 63:[23, 70] Operation: 79-9=70
Exploring Operation: 23-9=14, Resulting Numbers: [79, 14]
Generated Node #0,3,2: 63:[79, 14] Operation: 23-9=14
Exploring Operation: 9+23=32, Resulting Numbers: [79, 32]
Generated Node #0,3,3: 63:[79, 32] Operation: 9+23=32
Moving to Node #0,1,3
Current State: 63:[9, 21], Operations: ['81/9=9', '23-2=21']
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,63 unequal: No Solution
Exploring Operation: 9*21=189, Resulting Numbers: [189]
189,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[23, 7], Operations: ['81/9=9', '9-2=7']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,63 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[9, 60], Operations: ['81-23=58', '2+58=60']
Exploring Operation: 9*60=540, Resulting Numbers: [540]
540,63 unequal: No Solution
Exploring Operation: 9+60=69, Resulting Numbers: [69]
69,63 unequal: No Solution
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,63 unequal: No Solution
Moving to Node #0,1,1
Current State: 63:[9, 25], Operations: ['81/9=9', '2+23=25']
Exploring Operation: 9+25=34, Resulting Numbers: [34]
34,63 unequal: No Solution
Exploring Operation: 9*25=225, Resulting Numbers: [225]
225,63 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Moving to Node #0,1,2
Current State: 63:[23, 11], Operations: ['81/9=9', '2+9=11']
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,63 unequal: No Solution
Exploring Operation: 23*11=253, Resulting Numbers: [253]
253,63 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Moving to Node #0,0,3
Current State: 63:[58, 7], Operations: ['81-23=58', '9-2=7']
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,63 unequal: No Solution
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,63 unequal: No Solution
Exploring Operation: 58*7=406, Resulting Numbers: [406]
406,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[2, 67], Operations: ['81-23=58', '9+58=67']
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,63 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,63 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,63 unequal: No Solution
Moving to Node #0,3,0
Current State: 63:[9, 56], Operations: ['81-2=79', '79-23=56']
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,63 unequal: No Solution
Exploring Operation: 9+56=65, Resulting Numbers: [65]
65,63 unequal: No Solution
Exploring Operation: 9*56=504, Resulting Numbers: [504]
504,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[58, 11], Operations: ['81-23=58', '9+2=11']
Exploring Operation: 58*11=638, Resulting Numbers: [638]
638,63 unequal: No Solution
Exploring Operation: 58+11=69, Resulting Numbers: [69]
69,63 unequal: No Solution
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,63 unequal: No Solution
Moving to Node #0,3,1
Current State: 63:[23, 70], Operations: ['81-2=79', '79-9=70']
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,63 unequal: No Solution
Exploring Operation: 23*70=1610, Resulting Numbers: [1610]
1610,63 unequal: No Solution
Exploring Operation: 23+70=93, Resulting Numbers: [93]
93,63 unequal: No Solution
Moving to Node #0,3,2
Current State: 63:[79, 14], Operations: ['81-2=79', '23-9=14']
Exploring Operation: 79-14=65, Resulting Numbers: [65]
65,63 unequal: No Solution
Exploring Operation: 79+14=93, Resulting Numbers: [93]
93,63 unequal: No Solution
Exploring Operation: 79*14=1106, Resulting Numbers: [1106]
1106,63 unequal: No Solution
Moving to Node #0,3,3
Current State: 63:[79, 32], Operations: ['81-2=79', '9+23=32']
Exploring Operation: 79*32=2528, Resulting Numbers: [2528]
2528,63 unequal: No Solution
Exploring Operation: 79+32=111, Resulting Numbers: [111]
111,63 unequal: No Solution
Exploring Operation: 79-32=47, Resulting Numbers: [47]
47,63 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
50,
67,
82,
61
] | 26 | [
"50+67=117",
"82+61=143",
"143-117=26"
] | Current State: 26:[50, 67, 82, 61], Operations: []
Exploring Operation: 50+67=117, Resulting Numbers: [82, 61, 117]
Generated Node #2: [82, 61, 117] from Operation: 50+67=117
Current State: 26:[82, 61, 117], Operations: ['50+67=117']
Exploring Operation: 82+61=143, Resulting Numbers: [117, 143]
Generated Node #3: [117, 143] from Operation: 82+61=143
Current State: 26:[117, 143], Operations: ['50+67=117', '82+61=143']
Exploring Operation: 143-117=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[50, 67, 82, 61], Operations: []
Exploring Operation: 82-67=15, Resulting Numbers: [50, 61, 15]
Generated Node #0,0: 26:[50, 61, 15] Operation: 82-67=15
Exploring Operation: 82-61=21, Resulting Numbers: [50, 67, 21]
Generated Node #0,1: 26:[50, 67, 21] Operation: 82-61=21
Exploring Operation: 67-50=17, Resulting Numbers: [82, 61, 17]
Generated Node #0,2: 26:[82, 61, 17] Operation: 67-50=17
Exploring Operation: 67-61=6, Resulting Numbers: [50, 82, 6]
Generated Node #0,3: 26:[50, 82, 6] Operation: 67-61=6
Exploring Operation: 82-50=32, Resulting Numbers: [67, 61, 32]
Generated Node #0,4: 26:[67, 61, 32] Operation: 82-50=32
Moving to Node #0,0
Current State: 26:[50, 61, 15], Operations: ['82-67=15']
Exploring Operation: 61+15=76, Resulting Numbers: [50, 76]
Generated Node #0,0,0: 26:[50, 76] Operation: 61+15=76
Exploring Operation: 50+15=65, Resulting Numbers: [61, 65]
Generated Node #0,0,1: 26:[61, 65] Operation: 50+15=65
Exploring Operation: 50-15=35, Resulting Numbers: [61, 35]
Generated Node #0,0,2: 26:[61, 35] Operation: 50-15=35
Exploring Operation: 61-15=46, Resulting Numbers: [50, 46]
Generated Node #0,0,3: 26:[50, 46] Operation: 61-15=46
Exploring Operation: 61-50=11, Resulting Numbers: [15, 11]
Generated Node #0,0,4: 26:[15, 11] Operation: 61-50=11
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 26:[15, 11], Operations: ['82-67=15', '61-50=11']
Exploring Operation: 15*11=165, Resulting Numbers: [165]
165,26 unequal: No Solution
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[50, 67, 82, 61], Operations: []
Exploring Operation: 82-67=15, Resulting Numbers: [50, 61, 15]
Generated Node #0,0: 26:[50, 61, 15] Operation: 82-67=15
Moving to Node #0,0
Current State: 26:[50, 61, 15], Operations: ['82-67=15']
Exploring Operation: 61-50=11, Resulting Numbers: [15, 11]
Generated Node #0,0,4: 26:[15, 11] Operation: 61-50=11
Moving to Node #0,0,4
Current State: 26:[15, 11], Operations: ['82-67=15', '61-50=11']
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
11,
39,
3,
31
] | 99 | [
"31-11=20",
"3*20=60",
"39+60=99"
] | Current State: 99:[11, 39, 3, 31], Operations: []
Exploring Operation: 31-11=20, Resulting Numbers: [39, 3, 20]
Generated Node #2: [39, 3, 20] from Operation: 31-11=20
Current State: 99:[39, 3, 20], Operations: ['31-11=20']
Exploring Operation: 3*20=60, Resulting Numbers: [39, 60]
Generated Node #3: [39, 60] from Operation: 3*20=60
Current State: 99:[39, 60], Operations: ['31-11=20', '3*20=60']
Exploring Operation: 39+60=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[11, 39, 3, 31], Operations: []
Exploring Operation: 39/3=13, Resulting Numbers: [11, 31, 13]
Generated Node #0,0: 99:[11, 31, 13] Operation: 39/3=13
Exploring Operation: 39-3=36, Resulting Numbers: [11, 31, 36]
Generated Node #0,1: 99:[11, 31, 36] Operation: 39-3=36
Exploring Operation: 39-31=8, Resulting Numbers: [11, 3, 8]
Generated Node #0,2: 99:[11, 3, 8] Operation: 39-31=8
Moving to Node #0,2
Current State: 99:[11, 3, 8], Operations: ['39-31=8']
Exploring Operation: 11-8=3, Resulting Numbers: [3, 3]
Generated Node #0,2,0: 99:[3, 3] Operation: 11-8=3
Exploring Operation: 3+8=11, Resulting Numbers: [11, 11]
Generated Node #0,2,1: 99:[11, 11] Operation: 3+8=11
Exploring Operation: 11*3=33, Resulting Numbers: [8, 33]
Generated Node #0,2,2: 99:[8, 33] Operation: 11*3=33
Moving to Node #0,0
Current State: 99:[11, 31, 13], Operations: ['39/3=13']
Exploring Operation: 31-13=18, Resulting Numbers: [11, 18]
Generated Node #0,0,0: 99:[11, 18] Operation: 31-13=18
Exploring Operation: 11+31=42, Resulting Numbers: [13, 42]
Generated Node #0,0,1: 99:[13, 42] Operation: 11+31=42
Exploring Operation: 13-11=2, Resulting Numbers: [31, 2]
Generated Node #0,0,2: 99:[31, 2] Operation: 13-11=2
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 99:[31, 2], Operations: ['39/3=13', '13-11=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,99 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,99 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[11, 18], Operations: ['39/3=13', '31-13=18']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,99 unequal: No Solution
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 99:[13, 42], Operations: ['39/3=13', '11+31=42']
Exploring Operation: 13*42=546, Resulting Numbers: [546]
546,99 unequal: No Solution
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Exploring Operation: 13+42=55, Resulting Numbers: [55]
55,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:[11, 31, 36], Operations: ['39-3=36']
Exploring Operation: 36-11=25, Resulting Numbers: [31, 25]
Generated Node #0,1,0: 99:[31, 25] Operation: 36-11=25
Exploring Operation: 36-31=5, Resulting Numbers: [11, 5]
Generated Node #0,1,1: 99:[11, 5] Operation: 36-31=5
Exploring Operation: 11+31=42, Resulting Numbers: [36, 42]
Generated Node #0,1,2: 99:[36, 42] Operation: 11+31=42
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[11, 5], Operations: ['39-3=36', '36-31=5']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,99 unequal: No Solution
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,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,1,0
Current State: 99:[31, 25], Operations: ['39-3=36', '36-11=25']
Exploring Operation: 31*25=775, Resulting Numbers: [775]
775,99 unequal: No Solution
Exploring Operation: 31-25=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Exploring Operation: 31+25=56, Resulting Numbers: [56]
56,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,1,2
Current State: 99:[36, 42], Operations: ['39-3=36', '11+31=42']
Exploring Operation: 36*42=1512, Resulting Numbers: [1512]
1512,99 unequal: No Solution
Exploring Operation: 42-36=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Exploring Operation: 36+42=78, Resulting Numbers: [78]
78,99 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: 99:[3, 3], Operations: ['39-31=8', '11-8=3']
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Moving to Node #0,2,1
Current State: 99:[11, 11], Operations: ['39-31=8', '3+8=11']
Exploring Operation: 11-11=0, Resulting Numbers: [0]
0,99 unequal: No Solution
Exploring Operation: 11+11=22, Resulting Numbers: [22]
22,99 unequal: No Solution
Exploring Operation: 11/11=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Moving to Node #0,2,2
Current State: 99:[8, 33], Operations: ['39-31=8', '11*3=33']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,99 unequal: No Solution
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,99 unequal: No Solution
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,99 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
89,
60,
3,
81
] | 26 | [
"81-60=21",
"3*21=63",
"89-63=26"
] | Current State: 26:[89, 60, 3, 81], Operations: []
Exploring Operation: 81-60=21, Resulting Numbers: [89, 3, 21]
Generated Node #2: [89, 3, 21] from Operation: 81-60=21
Current State: 26:[89, 3, 21], Operations: ['81-60=21']
Exploring Operation: 3*21=63, Resulting Numbers: [89, 63]
Generated Node #3: [89, 63] from Operation: 3*21=63
Current State: 26:[89, 63], Operations: ['81-60=21', '3*21=63']
Exploring Operation: 89-63=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[89, 60, 3, 81], Operations: []
Exploring Operation: 89-60=29, Resulting Numbers: [3, 81, 29]
Generated Node #0,0: 26:[3, 81, 29] Operation: 89-60=29
Exploring Operation: 81/3=27, Resulting Numbers: [89, 60, 27]
Generated Node #0,1: 26:[89, 60, 27] Operation: 81/3=27
Exploring Operation: 81-60=21, Resulting Numbers: [89, 3, 21]
Generated Node #0,2: 26:[89, 3, 21] Operation: 81-60=21
Exploring Operation: 89-81=8, Resulting Numbers: [60, 3, 8]
Generated Node #0,3: 26:[60, 3, 8] Operation: 89-81=8
Moving to Node #0,3
Current State: 26:[60, 3, 8], Operations: ['89-81=8']
Exploring Operation: 60-3=57, Resulting Numbers: [8, 57]
Generated Node #0,3,0: 26:[8, 57] Operation: 60-3=57
Exploring Operation: 3+8=11, Resulting Numbers: [60, 11]
Generated Node #0,3,1: 26:[60, 11] Operation: 3+8=11
Exploring Operation: 60/3=20, Resulting Numbers: [8, 20]
Generated Node #0,3,2: 26:[8, 20] Operation: 60/3=20
Exploring Operation: 60-8=52, Resulting Numbers: [3, 52]
Generated Node #0,3,3: 26:[3, 52] Operation: 60-8=52
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 26:[8, 20], Operations: ['89-81=8', '60/3=20']
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Exploring Operation: 8*20=160, Resulting Numbers: [160]
160,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,3,3
Current State: 26:[3, 52], Operations: ['89-81=8', '60-8=52']
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,26 unequal: No Solution
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,26 unequal: No Solution
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,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,3,0
Current State: 26:[8, 57], Operations: ['89-81=8', '60-3=57']
Exploring Operation: 57-8=49, Resulting Numbers: [49]
49,26 unequal: No Solution
Exploring Operation: 8+57=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Exploring Operation: 8*57=456, Resulting Numbers: [456]
456,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,3,1
Current State: 26:[60, 11], Operations: ['89-81=8', '3+8=11']
Exploring Operation: 60+11=71, Resulting Numbers: [71]
71,26 unequal: No Solution
Exploring Operation: 60*11=660, Resulting Numbers: [660]
660,26 unequal: No Solution
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,26 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: 26:[3, 81, 29], Operations: ['89-60=29']
Exploring Operation: 81-3=78, Resulting Numbers: [29, 78]
Generated Node #0,0,0: 26:[29, 78] Operation: 81-3=78
Exploring Operation: 29-3=26, Resulting Numbers: [81, 26]
Generated Node #0,0,1: 26:[81, 26] Operation: 29-3=26
Exploring Operation: 81-29=52, Resulting Numbers: [3, 52]
Generated Node #0,0,2: 26:[3, 52] Operation: 81-29=52
Exploring Operation: 81/3=27, Resulting Numbers: [29, 27]
Generated Node #0,0,3: 26:[29, 27] Operation: 81/3=27
Moving to Node #0,2
Current State: 26:[89, 3, 21], Operations: ['81-60=21']
Exploring Operation: 89-21=68, Resulting Numbers: [3, 68]
Generated Node #0,2,0: 26:[3, 68] Operation: 89-21=68
Exploring Operation: 21-3=18, Resulting Numbers: [89, 18]
Generated Node #0,2,1: 26:[89, 18] Operation: 21-3=18
Exploring Operation: 3+21=24, Resulting Numbers: [89, 24]
Generated Node #0,2,2: 26:[89, 24] Operation: 3+21=24
Exploring Operation: 89-3=86, Resulting Numbers: [21, 86]
Generated Node #0,2,3: 26:[21, 86] Operation: 89-3=86
Moving to Node #0,1
Current State: 26:[89, 60, 27], Operations: ['81/3=27']
Exploring Operation: 60-27=33, Resulting Numbers: [89, 33]
Generated Node #0,1,0: 26:[89, 33] Operation: 60-27=33
Exploring Operation: 89-27=62, Resulting Numbers: [60, 62]
Generated Node #0,1,1: 26:[60, 62] Operation: 89-27=62
Exploring Operation: 89-60=29, Resulting Numbers: [27, 29]
Generated Node #0,1,2: 26:[27, 29] Operation: 89-60=29
Exploring Operation: 89+60=149, Resulting Numbers: [27, 149]
Generated Node #0,1,3: 26:[27, 149] Operation: 89+60=149
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 26:[27, 29], Operations: ['81/3=27', '89-60=29']
Exploring Operation: 27+29=56, Resulting Numbers: [56]
56,26 unequal: No Solution
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 27*29=783, Resulting Numbers: [783]
783,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,1,0
Current State: 26:[89, 33], Operations: ['81/3=27', '60-27=33']
Exploring Operation: 89*33=2937, Resulting Numbers: [2937]
2937,26 unequal: No Solution
Exploring Operation: 89-33=56, Resulting Numbers: [56]
56,26 unequal: No Solution
Exploring Operation: 89+33=122, Resulting Numbers: [122]
122,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,1,1
Current State: 26:[60, 62], Operations: ['81/3=27', '89-27=62']
Exploring Operation: 60+62=122, Resulting Numbers: [122]
122,26 unequal: No Solution
Exploring Operation: 60*62=3720, Resulting Numbers: [3720]
3720,26 unequal: No Solution
Exploring Operation: 62-60=2, Resulting Numbers: [2]
2,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,1,3
Current State: 26:[27, 149], Operations: ['81/3=27', '89+60=149']
Exploring Operation: 27+149=176, Resulting Numbers: [176]
176,26 unequal: No Solution
Exploring Operation: 149-27=122, Resulting Numbers: [122]
122,26 unequal: No Solution
Exploring Operation: 27*149=4023, Resulting Numbers: [4023]
4023,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 26:[29, 27], Operations: ['89-60=29', '81/3=27']
Exploring Operation: 29*27=783, Resulting Numbers: [783]
783,26 unequal: No Solution
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 29+27=56, Resulting Numbers: [56]
56,26 unequal: No Solution
Moving to Node #0,0,2
Current State: 26:[3, 52], Operations: ['89-60=29', '81-29=52']
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,26 unequal: No Solution
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,26 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,26 unequal: No Solution
Moving to Node #0,2,0
Current State: 26:[3, 68], Operations: ['81-60=21', '89-21=68']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Exploring Operation: 3+68=71, Resulting Numbers: [71]
71,26 unequal: No Solution
Exploring Operation: 3*68=204, Resulting Numbers: [204]
204,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[29, 78], Operations: ['89-60=29', '81-3=78']
Exploring Operation: 29+78=107, Resulting Numbers: [107]
107,26 unequal: No Solution
Exploring Operation: 29*78=2262, Resulting Numbers: [2262]
2262,26 unequal: No Solution
Exploring Operation: 78-29=49, Resulting Numbers: [49]
49,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[81, 26], Operations: ['89-60=29', '29-3=26']
Exploring Operation: 81*26=2106, Resulting Numbers: [2106]
2106,26 unequal: No Solution
Exploring Operation: 81-26=55, Resulting Numbers: [55]
55,26 unequal: No Solution
Exploring Operation: 81+26=107, Resulting Numbers: [107]
107,26 unequal: No Solution
Moving to Node #0,2,2
Current State: 26:[89, 24], Operations: ['81-60=21', '3+21=24']
Exploring Operation: 89*24=2136, Resulting Numbers: [2136]
2136,26 unequal: No Solution
Exploring Operation: 89-24=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Exploring Operation: 89+24=113, Resulting Numbers: [113]
113,26 unequal: No Solution
Moving to Node #0,2,3
Current State: 26:[21, 86], Operations: ['81-60=21', '89-3=86']
Exploring Operation: 21*86=1806, Resulting Numbers: [1806]
1806,26 unequal: No Solution
Exploring Operation: 86-21=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Exploring Operation: 21+86=107, Resulting Numbers: [107]
107,26 unequal: No Solution
Moving to Node #0,2,1
Current State: 26:[89, 18], Operations: ['81-60=21', '21-3=18']
Exploring Operation: 89*18=1602, Resulting Numbers: [1602]
1602,26 unequal: No Solution
Exploring Operation: 89+18=107, Resulting Numbers: [107]
107,26 unequal: No Solution
Exploring Operation: 89-18=71, Resulting Numbers: [71]
71,26 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
44,
56,
80,
66
] | 40 | [
"80-66=14",
"56/14=4",
"44-4=40"
] | Current State: 40:[44, 56, 80, 66], Operations: []
Exploring Operation: 80-66=14, Resulting Numbers: [44, 56, 14]
Generated Node #2: [44, 56, 14] from Operation: 80-66=14
Current State: 40:[44, 56, 14], Operations: ['80-66=14']
Exploring Operation: 56/14=4, Resulting Numbers: [44, 4]
Generated Node #3: [44, 4] from Operation: 56/14=4
Current State: 40:[44, 4], Operations: ['80-66=14', '56/14=4']
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[44, 56, 80, 66], Operations: []
Exploring Operation: 80-66=14, Resulting Numbers: [44, 56, 14]
Generated Node #0,0: 40:[44, 56, 14] Operation: 80-66=14
Exploring Operation: 66-56=10, Resulting Numbers: [44, 80, 10]
Generated Node #0,1: 40:[44, 80, 10] Operation: 66-56=10
Exploring Operation: 80-56=24, Resulting Numbers: [44, 66, 24]
Generated Node #0,2: 40:[44, 66, 24] Operation: 80-56=24
Moving to Node #0,0
Current State: 40:[44, 56, 14], Operations: ['80-66=14']
Exploring Operation: 56-14=42, Resulting Numbers: [44, 42]
Generated Node #0,0,0: 40:[44, 42] Operation: 56-14=42
Exploring Operation: 56-44=12, Resulting Numbers: [14, 12]
Generated Node #0,0,1: 40:[14, 12] Operation: 56-44=12
Exploring Operation: 56/14=4, Resulting Numbers: [44, 4]
Generated Node #0,0,2: 40:[44, 4] Operation: 56/14=4
Moving to Node #0,2
Current State: 40:[44, 66, 24], Operations: ['80-56=24']
Exploring Operation: 44-24=20, Resulting Numbers: [66, 20]
Generated Node #0,2,0: 40:[66, 20] Operation: 44-24=20
Exploring Operation: 66-44=22, Resulting Numbers: [24, 22]
Generated Node #0,2,1: 40:[24, 22] Operation: 66-44=22
Exploring Operation: 66-24=42, Resulting Numbers: [44, 42]
Generated Node #0,2,2: 40:[44, 42] Operation: 66-24=42
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 40:[24, 22], Operations: ['80-56=24', '66-44=22']
Exploring Operation: 24-22=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 24*22=528, Resulting Numbers: [528]
528,40 unequal: No Solution
Exploring Operation: 24+22=46, Resulting Numbers: [46]
46,40 unequal: No Solution
No 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: 40:[44, 42], Operations: ['80-56=24', '66-24=42']
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 44*42=1848, Resulting Numbers: [1848]
1848,40 unequal: No Solution
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,40 unequal: No Solution
No 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: 40:[66, 20], Operations: ['80-56=24', '44-24=20']
Exploring Operation: 66-20=46, Resulting Numbers: [46]
46,40 unequal: No Solution
Exploring Operation: 66+20=86, Resulting Numbers: [86]
86,40 unequal: No Solution
Exploring Operation: 66*20=1320, Resulting Numbers: [1320]
1320,40 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: 40:[44, 80, 10], Operations: ['66-56=10']
Exploring Operation: 80/10=8, Resulting Numbers: [44, 8]
Generated Node #0,1,0: 40:[44, 8] Operation: 80/10=8
Exploring Operation: 80-10=70, Resulting Numbers: [44, 70]
Generated Node #0,1,1: 40:[44, 70] Operation: 80-10=70
Exploring Operation: 80-44=36, Resulting Numbers: [10, 36]
Generated Node #0,1,2: 40:[10, 36] Operation: 80-44=36
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 40:[44, 8], Operations: ['66-56=10', '80/10=8']
Exploring Operation: 44*8=352, Resulting Numbers: [352]
352,40 unequal: No Solution
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,40 unequal: No Solution
Exploring Operation: 44+8=52, Resulting Numbers: [52]
52,40 unequal: No Solution
No 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: 40:[10, 36], Operations: ['66-56=10', '80-44=36']
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 10+36=46, Resulting Numbers: [46]
46,40 unequal: No Solution
Exploring Operation: 10*36=360, Resulting Numbers: [360]
360,40 unequal: No Solution
No 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: 40:[44, 70], Operations: ['66-56=10', '80-10=70']
Exploring Operation: 70-44=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 44+70=114, Resulting Numbers: [114]
114,40 unequal: No Solution
Exploring Operation: 44*70=3080, Resulting Numbers: [3080]
3080,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 40:[44, 4], Operations: ['80-66=14', '56/14=4']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,40 unequal: No Solution
Exploring Operation: 44+4=48, Resulting Numbers: [48]
48,40 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[44, 56, 80, 66], Operations: []
Exploring Operation: 80-66=14, Resulting Numbers: [44, 56, 14]
Generated Node #0,0: 40:[44, 56, 14] Operation: 80-66=14
Moving to Node #0,0
Current State: 40:[44, 56, 14], Operations: ['80-66=14']
Exploring Operation: 56/14=4, Resulting Numbers: [44, 4]
Generated Node #0,0,2: 40:[44, 4] Operation: 56/14=4
Moving to Node #0,0,2
Current State: 40:[44, 4], Operations: ['80-66=14', '56/14=4']
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 0.967882 | hs_3 | mult_heuristic |
[
10,
97,
78,
62
] | 83 | [
"78+62=140",
"140/10=14",
"97-14=83"
] | Current State: 83:[10, 97, 78, 62], Operations: []
Exploring Operation: 78+62=140, Resulting Numbers: [10, 97, 140]
Generated Node #2: [10, 97, 140] from Operation: 78+62=140
Current State: 83:[10, 97, 140], Operations: ['78+62=140']
Exploring Operation: 140/10=14, Resulting Numbers: [97, 14]
Generated Node #3: [97, 14] from Operation: 140/10=14
Current State: 83:[97, 14], Operations: ['78+62=140', '140/10=14']
Exploring Operation: 97-14=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[10, 97, 78, 62], Operations: []
Exploring Operation: 78-10=68, Resulting Numbers: [97, 62, 68]
Generated Node #0,0: 83:[97, 62, 68] Operation: 78-10=68
Exploring Operation: 10+78=88, Resulting Numbers: [97, 62, 88]
Generated Node #0,1: 83:[97, 62, 88] Operation: 10+78=88
Exploring Operation: 10+62=72, Resulting Numbers: [97, 78, 72]
Generated Node #0,2: 83:[97, 78, 72] Operation: 10+62=72
Exploring Operation: 10+97=107, Resulting Numbers: [78, 62, 107]
Generated Node #0,3: 83:[78, 62, 107] Operation: 10+97=107
Exploring Operation: 97-10=87, Resulting Numbers: [78, 62, 87]
Generated Node #0,4: 83:[78, 62, 87] Operation: 97-10=87
Moving to Node #0,2
Current State: 83:[97, 78, 72], Operations: ['10+62=72']
Exploring Operation: 97-72=25, Resulting Numbers: [78, 25]
Generated Node #0,2,0: 83:[78, 25] Operation: 97-72=25
Exploring Operation: 97+72=169, Resulting Numbers: [78, 169]
Generated Node #0,2,1: 83:[78, 169] Operation: 97+72=169
Exploring Operation: 97-78=19, Resulting Numbers: [72, 19]
Generated Node #0,2,2: 83:[72, 19] Operation: 97-78=19
Exploring Operation: 78+72=150, Resulting Numbers: [97, 150]
Generated Node #0,2,3: 83:[97, 150] Operation: 78+72=150
Exploring Operation: 78-72=6, Resulting Numbers: [97, 6]
Generated Node #0,2,4: 83:[97, 6] Operation: 78-72=6
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 83:[78, 25], Operations: ['10+62=72', '97-72=25']
Exploring Operation: 78+25=103, Resulting Numbers: [103]
103,83 unequal: No Solution
Exploring Operation: 78*25=1950, Resulting Numbers: [1950]
1950,83 unequal: No Solution
Exploring Operation: 78-25=53, Resulting Numbers: [53]
53,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:[72, 19], Operations: ['10+62=72', '97-78=19']
Exploring Operation: 72-19=53, Resulting Numbers: [53]
53,83 unequal: No Solution
Exploring Operation: 72+19=91, Resulting Numbers: [91]
91,83 unequal: No Solution
Exploring Operation: 72*19=1368, Resulting Numbers: [1368]
1368,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,3
Current State: 83:[97, 150], Operations: ['10+62=72', '78+72=150']
Exploring Operation: 97*150=14550, Resulting Numbers: [14550]
14550,83 unequal: No Solution
Exploring Operation: 150-97=53, Resulting Numbers: [53]
53,83 unequal: No Solution
Exploring Operation: 97+150=247, Resulting Numbers: [247]
247,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:[78, 169], Operations: ['10+62=72', '97+72=169']
Exploring Operation: 78*169=13182, Resulting Numbers: [13182]
13182,83 unequal: No Solution
Exploring Operation: 78+169=247, Resulting Numbers: [247]
247,83 unequal: No Solution
Exploring Operation: 169-78=91, Resulting Numbers: [91]
91,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,4
Current State: 83:[97, 6], Operations: ['10+62=72', '78-72=6']
Exploring Operation: 97+6=103, Resulting Numbers: [103]
103,83 unequal: No Solution
Exploring Operation: 97*6=582, Resulting Numbers: [582]
582,83 unequal: No Solution
Exploring Operation: 97-6=91, Resulting Numbers: [91]
91,83 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: 83:[78, 62, 87], Operations: ['97-10=87']
Exploring Operation: 87-78=9, Resulting Numbers: [62, 9]
Generated Node #0,4,0: 83:[62, 9] Operation: 87-78=9
Exploring Operation: 62+87=149, Resulting Numbers: [78, 149]
Generated Node #0,4,1: 83:[78, 149] Operation: 62+87=149
Exploring Operation: 78+62=140, Resulting Numbers: [87, 140]
Generated Node #0,4,2: 83:[87, 140] Operation: 78+62=140
Exploring Operation: 87-62=25, Resulting Numbers: [78, 25]
Generated Node #0,4,3: 83:[78, 25] Operation: 87-62=25
Exploring Operation: 78-62=16, Resulting Numbers: [87, 16]
Generated Node #0,4,4: 83:[87, 16] Operation: 78-62=16
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 83:[87, 140], Operations: ['97-10=87', '78+62=140']
Exploring Operation: 140-87=53, Resulting Numbers: [53]
53,83 unequal: No Solution
Exploring Operation: 87*140=12180, Resulting Numbers: [12180]
12180,83 unequal: No Solution
Exploring Operation: 87+140=227, Resulting Numbers: [227]
227,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,4,3
Current State: 83:[78, 25], Operations: ['97-10=87', '87-62=25']
Exploring Operation: 78-25=53, Resulting Numbers: [53]
53,83 unequal: No Solution
Exploring Operation: 78*25=1950, Resulting Numbers: [1950]
1950,83 unequal: No Solution
Exploring Operation: 78+25=103, Resulting Numbers: [103]
103,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,4,1
Current State: 83:[78, 149], Operations: ['97-10=87', '62+87=149']
Exploring Operation: 78+149=227, Resulting Numbers: [227]
227,83 unequal: No Solution
Exploring Operation: 149-78=71, Resulting Numbers: [71]
71,83 unequal: No Solution
Exploring Operation: 78*149=11622, Resulting Numbers: [11622]
11622,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,4,4
Current State: 83:[87, 16], Operations: ['97-10=87', '78-62=16']
Exploring Operation: 87+16=103, Resulting Numbers: [103]
103,83 unequal: No Solution
Exploring Operation: 87*16=1392, Resulting Numbers: [1392]
1392,83 unequal: No Solution
Exploring Operation: 87-16=71, Resulting Numbers: [71]
71,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,4,0
Current State: 83:[62, 9], Operations: ['97-10=87', '87-78=9']
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,83 unequal: No Solution
Exploring Operation: 62*9=558, Resulting Numbers: [558]
558,83 unequal: No Solution
Exploring Operation: 62+9=71, Resulting Numbers: [71]
71,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:[97, 62, 88], Operations: ['10+78=88']
Exploring Operation: 97-88=9, Resulting Numbers: [62, 9]
Generated Node #0,1,0: 83:[62, 9] Operation: 97-88=9
Exploring Operation: 97+62=159, Resulting Numbers: [88, 159]
Generated Node #0,1,1: 83:[88, 159] Operation: 97+62=159
Exploring Operation: 62+88=150, Resulting Numbers: [97, 150]
Generated Node #0,1,2: 83:[97, 150] Operation: 62+88=150
Exploring Operation: 88-62=26, Resulting Numbers: [97, 26]
Generated Node #0,1,3: 83:[97, 26] Operation: 88-62=26
Exploring Operation: 97-62=35, Resulting Numbers: [88, 35]
Generated Node #0,1,4: 83:[88, 35] Operation: 97-62=35
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 83:[88, 35], Operations: ['10+78=88', '97-62=35']
Exploring Operation: 88+35=123, Resulting Numbers: [123]
123,83 unequal: No Solution
Exploring Operation: 88*35=3080, Resulting Numbers: [3080]
3080,83 unequal: No Solution
Exploring Operation: 88-35=53, Resulting Numbers: [53]
53,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:[97, 26], Operations: ['10+78=88', '88-62=26']
Exploring Operation: 97-26=71, Resulting Numbers: [71]
71,83 unequal: No Solution
Exploring Operation: 97+26=123, Resulting Numbers: [123]
123,83 unequal: No Solution
Exploring Operation: 97*26=2522, Resulting Numbers: [2522]
2522,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[88, 159], Operations: ['10+78=88', '97+62=159']
Exploring Operation: 88+159=247, Resulting Numbers: [247]
247,83 unequal: No Solution
Exploring Operation: 88*159=13992, Resulting Numbers: [13992]
13992,83 unequal: No Solution
Exploring Operation: 159-88=71, Resulting Numbers: [71]
71,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:[97, 150], Operations: ['10+78=88', '62+88=150']
Exploring Operation: 97*150=14550, Resulting Numbers: [14550]
14550,83 unequal: No Solution
Exploring Operation: 97+150=247, Resulting Numbers: [247]
247,83 unequal: No Solution
Exploring Operation: 150-97=53, Resulting Numbers: [53]
53,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:[62, 9], Operations: ['10+78=88', '97-88=9']
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,83 unequal: No Solution
Exploring Operation: 62*9=558, Resulting Numbers: [558]
558,83 unequal: No Solution
Exploring Operation: 62+9=71, Resulting Numbers: [71]
71,83 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: 83:[97, 62, 68], Operations: ['78-10=68']
Exploring Operation: 97-62=35, Resulting Numbers: [68, 35]
Generated Node #0,0,0: 83:[68, 35] Operation: 97-62=35
Exploring Operation: 62+68=130, Resulting Numbers: [97, 130]
Generated Node #0,0,1: 83:[97, 130] Operation: 62+68=130
Exploring Operation: 97-68=29, Resulting Numbers: [62, 29]
Generated Node #0,0,2: 83:[62, 29] Operation: 97-68=29
Exploring Operation: 97+62=159, Resulting Numbers: [68, 159]
Generated Node #0,0,3: 83:[68, 159] Operation: 97+62=159
Exploring Operation: 68-62=6, Resulting Numbers: [97, 6]
Generated Node #0,0,4: 83:[97, 6] Operation: 68-62=6
Moving to Node #0,3
Current State: 83:[78, 62, 107], Operations: ['10+97=107']
Exploring Operation: 107-78=29, Resulting Numbers: [62, 29]
Generated Node #0,3,0: 83:[62, 29] Operation: 107-78=29
Exploring Operation: 78+62=140, Resulting Numbers: [107, 140]
Generated Node #0,3,1: 83:[107, 140] Operation: 78+62=140
Exploring Operation: 62+107=169, Resulting Numbers: [78, 169]
Generated Node #0,3,2: 83:[78, 169] Operation: 62+107=169
Exploring Operation: 78-62=16, Resulting Numbers: [107, 16]
Generated Node #0,3,3: 83:[107, 16] Operation: 78-62=16
Exploring Operation: 107-62=45, Resulting Numbers: [78, 45]
Generated Node #0,3,4: 83:[78, 45] Operation: 107-62=45
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 83:[78, 45], Operations: ['10+97=107', '107-62=45']
Exploring Operation: 78-45=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Exploring Operation: 78+45=123, Resulting Numbers: [123]
123,83 unequal: No Solution
Exploring Operation: 78*45=3510, Resulting Numbers: [3510]
3510,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,3,0
Current State: 83:[62, 29], Operations: ['10+97=107', '107-78=29']
Exploring Operation: 62*29=1798, Resulting Numbers: [1798]
1798,83 unequal: No Solution
Exploring Operation: 62+29=91, Resulting Numbers: [91]
91,83 unequal: No Solution
Exploring Operation: 62-29=33, Resulting Numbers: [33]
33,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 83:[107, 140], Operations: ['10+97=107', '78+62=140']
Exploring Operation: 140-107=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Exploring Operation: 107+140=247, Resulting Numbers: [247]
247,83 unequal: No Solution
Exploring Operation: 107*140=14980, Resulting Numbers: [14980]
14980,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,3,2
Current State: 83:[78, 169], Operations: ['10+97=107', '62+107=169']
Exploring Operation: 169-78=91, Resulting Numbers: [91]
91,83 unequal: No Solution
Exploring Operation: 78+169=247, Resulting Numbers: [247]
247,83 unequal: No Solution
Exploring Operation: 78*169=13182, Resulting Numbers: [13182]
13182,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,3,3
Current State: 83:[107, 16], Operations: ['10+97=107', '78-62=16']
Exploring Operation: 107*16=1712, Resulting Numbers: [1712]
1712,83 unequal: No Solution
Exploring Operation: 107+16=123, Resulting Numbers: [123]
123,83 unequal: No Solution
Exploring Operation: 107-16=91, Resulting Numbers: [91]
91,83 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: 83:[97, 130], Operations: ['78-10=68', '62+68=130']
Exploring Operation: 97+130=227, Resulting Numbers: [227]
227,83 unequal: No Solution
Exploring Operation: 97*130=12610, Resulting Numbers: [12610]
12610,83 unequal: No Solution
Exploring Operation: 130-97=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[68, 35], Operations: ['78-10=68', '97-62=35']
Exploring Operation: 68*35=2380, Resulting Numbers: [2380]
2380,83 unequal: No Solution
Exploring Operation: 68+35=103, Resulting Numbers: [103]
103,83 unequal: No Solution
Exploring Operation: 68-35=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[62, 29], Operations: ['78-10=68', '97-68=29']
Exploring Operation: 62+29=91, Resulting Numbers: [91]
91,83 unequal: No Solution
Exploring Operation: 62*29=1798, Resulting Numbers: [1798]
1798,83 unequal: No Solution
Exploring Operation: 62-29=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[68, 159], Operations: ['78-10=68', '97+62=159']
Exploring Operation: 68+159=227, Resulting Numbers: [227]
227,83 unequal: No Solution
Exploring Operation: 159-68=91, Resulting Numbers: [91]
91,83 unequal: No Solution
Exploring Operation: 68*159=10812, Resulting Numbers: [10812]
10812,83 unequal: No Solution
Moving to Node #0,0,4
Current State: 83:[97, 6], Operations: ['78-10=68', '68-62=6']
Exploring Operation: 97*6=582, Resulting Numbers: [582]
582,83 unequal: No Solution
Exploring Operation: 97+6=103, Resulting Numbers: [103]
103,83 unequal: No Solution
Exploring Operation: 97-6=91, Resulting Numbers: [91]
91,83 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
92,
56,
89,
29
] | 30 | [
"92+56=148",
"89+29=118",
"148-118=30"
] | Current State: 30:[92, 56, 89, 29], Operations: []
Exploring Operation: 92+56=148, Resulting Numbers: [89, 29, 148]
Generated Node #2: [89, 29, 148] from Operation: 92+56=148
Current State: 30:[89, 29, 148], Operations: ['92+56=148']
Exploring Operation: 89+29=118, Resulting Numbers: [148, 118]
Generated Node #3: [148, 118] from Operation: 89+29=118
Current State: 30:[148, 118], Operations: ['92+56=148', '89+29=118']
Exploring Operation: 148-118=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[92, 56, 89, 29], Operations: []
Exploring Operation: 92-89=3, Resulting Numbers: [56, 29, 3]
Generated Node #0,0: 30:[56, 29, 3] Operation: 92-89=3
Exploring Operation: 89-29=60, Resulting Numbers: [92, 56, 60]
Generated Node #0,1: 30:[92, 56, 60] Operation: 89-29=60
Exploring Operation: 92-56=36, Resulting Numbers: [89, 29, 36]
Generated Node #0,2: 30:[89, 29, 36] Operation: 92-56=36
Exploring Operation: 92-29=63, Resulting Numbers: [56, 89, 63]
Generated Node #0,3: 30:[56, 89, 63] Operation: 92-29=63
Exploring Operation: 89-56=33, Resulting Numbers: [92, 29, 33]
Generated Node #0,4: 30:[92, 29, 33] Operation: 89-56=33
Moving to Node #0,0
Current State: 30:[56, 29, 3], Operations: ['92-89=3']
Exploring Operation: 56-29=27, Resulting Numbers: [3, 27]
Generated Node #0,0,0: 30:[3, 27] Operation: 56-29=27
Exploring Operation: 56-3=53, Resulting Numbers: [29, 53]
Generated Node #0,0,1: 30:[29, 53] Operation: 56-3=53
Exploring Operation: 29-3=26, Resulting Numbers: [56, 26]
Generated Node #0,0,2: 30:[56, 26] Operation: 29-3=26
Exploring Operation: 29+3=32, Resulting Numbers: [56, 32]
Generated Node #0,0,3: 30:[56, 32] Operation: 29+3=32
Exploring Operation: 56+3=59, Resulting Numbers: [29, 59]
Generated Node #0,0,4: 30:[29, 59] Operation: 56+3=59
Moving to Node #0,4
Current State: 30:[92, 29, 33], Operations: ['89-56=33']
Exploring Operation: 92-33=59, Resulting Numbers: [29, 59]
Generated Node #0,4,0: 30:[29, 59] Operation: 92-33=59
Exploring Operation: 92+29=121, Resulting Numbers: [33, 121]
Generated Node #0,4,1: 30:[33, 121] Operation: 92+29=121
Exploring Operation: 33-29=4, Resulting Numbers: [92, 4]
Generated Node #0,4,2: 30:[92, 4] Operation: 33-29=4
Exploring Operation: 29+33=62, Resulting Numbers: [92, 62]
Generated Node #0,4,3: 30:[92, 62] Operation: 29+33=62
Exploring Operation: 92-29=63, Resulting Numbers: [33, 63]
Generated Node #0,4,4: 30:[33, 63] Operation: 92-29=63
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 30:[29, 59], Operations: ['89-56=33', '92-33=59']
Exploring Operation: 29*59=1711, Resulting Numbers: [1711]
1711,30 unequal: No Solution
Exploring Operation: 29+59=88, Resulting Numbers: [88]
88,30 unequal: No Solution
Exploring Operation: 59-29=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[92, 56, 89, 29], Operations: []
Exploring Operation: 89-56=33, Resulting Numbers: [92, 29, 33]
Generated Node #0,4: 30:[92, 29, 33] Operation: 89-56=33
Moving to Node #0,4
Current State: 30:[92, 29, 33], Operations: ['89-56=33']
Exploring Operation: 92-33=59, Resulting Numbers: [29, 59]
Generated Node #0,4,0: 30:[29, 59] Operation: 92-33=59
Moving to Node #0,4,0
Current State: 30:[29, 59], Operations: ['89-56=33', '92-33=59']
Exploring Operation: 59-29=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
32,
34,
36,
66
] | 64 | [
"32+36=68",
"68/34=2",
"66-2=64"
] | Current State: 64:[32, 34, 36, 66], Operations: []
Exploring Operation: 32+36=68, Resulting Numbers: [34, 66, 68]
Generated Node #2: [34, 66, 68] from Operation: 32+36=68
Current State: 64:[34, 66, 68], Operations: ['32+36=68']
Exploring Operation: 68/34=2, Resulting Numbers: [66, 2]
Generated Node #3: [66, 2] from Operation: 68/34=2
Current State: 64:[66, 2], Operations: ['32+36=68', '68/34=2']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[32, 34, 36, 66], Operations: []
Exploring Operation: 36-32=4, Resulting Numbers: [34, 66, 4]
Generated Node #0,0: 64:[34, 66, 4] Operation: 36-32=4
Exploring Operation: 66-34=32, Resulting Numbers: [32, 36, 32]
Generated Node #0,1: 64:[32, 36, 32] Operation: 66-34=32
Exploring Operation: 36-34=2, Resulting Numbers: [32, 66, 2]
Generated Node #0,2: 64:[32, 66, 2] Operation: 36-34=2
Moving to Node #0,2
Current State: 64:[32, 66, 2], Operations: ['36-34=2']
Exploring Operation: 66-2=64, Resulting Numbers: [32, 64]
Generated Node #0,2,0: 64:[32, 64] Operation: 66-2=64
Exploring Operation: 66/2=33, Resulting Numbers: [32, 33]
Generated Node #0,2,1: 64:[32, 33] Operation: 66/2=33
Exploring Operation: 66-32=34, Resulting Numbers: [2, 34]
Generated Node #0,2,2: 64:[2, 34] Operation: 66-32=34
Moving to Node #0,0
Current State: 64:[34, 66, 4], Operations: ['36-32=4']
Exploring Operation: 66-34=32, Resulting Numbers: [4, 32]
Generated Node #0,0,0: 64:[4, 32] Operation: 66-34=32
Exploring Operation: 34-4=30, Resulting Numbers: [66, 30]
Generated Node #0,0,1: 64:[66, 30] Operation: 34-4=30
Exploring Operation: 66-4=62, Resulting Numbers: [34, 62]
Generated Node #0,0,2: 64:[34, 62] Operation: 66-4=62
Moving to Node #0,1
Current State: 64:[32, 36, 32], Operations: ['66-34=32']
Exploring Operation: 32+36=68, Resulting Numbers: [32, 68]
Generated Node #0,1,0: 64:[32, 68] Operation: 32+36=68
Exploring Operation: 36-32=4, Resulting Numbers: [32, 4]
Generated Node #0,1,1: 64:[32, 4] Operation: 36-32=4
Exploring Operation: 36-32=4, Resulting Numbers: [32, 4]
Generated Node #0,1,2: 64:[32, 4] Operation: 36-32=4
Moving to Node #0,2,0
Current State: 64:[32, 64], Operations: ['36-34=2', '66-2=64']
Exploring Operation: 64/32=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 32+64=96, Resulting Numbers: [96]
96,64 unequal: No Solution
Exploring Operation: 64-32=32, Resulting Numbers: [32]
32,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[32, 4], Operations: ['66-34=32', '36-32=4']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,64 unequal: No Solution
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[4, 32], Operations: ['36-32=4', '66-34=32']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,64 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Moving to Node #0,1,2
Current State: 64:[32, 4], Operations: ['66-34=32', '36-32=4']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,64 unequal: No Solution
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[32, 33], Operations: ['36-34=2', '66/2=33']
Exploring Operation: 32*33=1056, Resulting Numbers: [1056]
1056,64 unequal: No Solution
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 32+33=65, Resulting Numbers: [65]
65,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[2, 34], Operations: ['36-34=2', '66-32=34']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,64 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Moving to Node #0,0,2
Current State: 64:[34, 62], Operations: ['36-32=4', '66-4=62']
Exploring Operation: 62-34=28, Resulting Numbers: [28]
28,64 unequal: No Solution
Exploring Operation: 34*62=2108, Resulting Numbers: [2108]
2108,64 unequal: No Solution
Exploring Operation: 34+62=96, Resulting Numbers: [96]
96,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[66, 30], Operations: ['36-32=4', '34-4=30']
Exploring Operation: 66+30=96, Resulting Numbers: [96]
96,64 unequal: No Solution
Exploring Operation: 66*30=1980, Resulting Numbers: [1980]
1980,64 unequal: No Solution
Exploring Operation: 66-30=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[32, 68], Operations: ['66-34=32', '32+36=68']
Exploring Operation: 32*68=2176, Resulting Numbers: [2176]
2176,64 unequal: No Solution
Exploring Operation: 32+68=100, Resulting Numbers: [100]
100,64 unequal: No Solution
Exploring Operation: 68-32=36, Resulting Numbers: [36]
36,64 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
6,
39,
20,
15
] | 68 | [
"39-6=33",
"20+15=35",
"33+35=68"
] | Current State: 68:[6, 39, 20, 15], Operations: []
Exploring Operation: 39-6=33, Resulting Numbers: [20, 15, 33]
Generated Node #2: [20, 15, 33] from Operation: 39-6=33
Current State: 68:[20, 15, 33], Operations: ['39-6=33']
Exploring Operation: 20+15=35, Resulting Numbers: [33, 35]
Generated Node #3: [33, 35] from Operation: 20+15=35
Current State: 68:[33, 35], Operations: ['39-6=33', '20+15=35']
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[6, 39, 20, 15], Operations: []
Exploring Operation: 20-15=5, Resulting Numbers: [6, 39, 5]
Generated Node #0,0: 68:[6, 39, 5] Operation: 20-15=5
Exploring Operation: 39-6=33, Resulting Numbers: [20, 15, 33]
Generated Node #0,1: 68:[20, 15, 33] Operation: 39-6=33
Exploring Operation: 39-20=19, Resulting Numbers: [6, 15, 19]
Generated Node #0,2: 68:[6, 15, 19] Operation: 39-20=19
Exploring Operation: 20+15=35, Resulting Numbers: [6, 39, 35]
Generated Node #0,3: 68:[6, 39, 35] Operation: 20+15=35
Exploring Operation: 20-6=14, Resulting Numbers: [39, 15, 14]
Generated Node #0,4: 68:[39, 15, 14] Operation: 20-6=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[20, 15, 33], Operations: ['39-6=33']
Exploring Operation: 20+33=53, Resulting Numbers: [15, 53]
Generated Node #0,1,0: 68:[15, 53] Operation: 20+33=53
Exploring Operation: 33-20=13, Resulting Numbers: [15, 13]
Generated Node #0,1,1: 68:[15, 13] Operation: 33-20=13
Exploring Operation: 20-15=5, Resulting Numbers: [33, 5]
Generated Node #0,1,2: 68:[33, 5] Operation: 20-15=5
Exploring Operation: 33-15=18, Resulting Numbers: [20, 18]
Generated Node #0,1,3: 68:[20, 18] Operation: 33-15=18
Exploring Operation: 20+15=35, Resulting Numbers: [33, 35]
Generated Node #0,1,4: 68:[33, 35] Operation: 20+15=35
Moving to Node #0,1,2
Current State: 68:[33, 5], Operations: ['39-6=33', '20-15=5']
Exploring Operation: 33+5=38, Resulting Numbers: [38]
38,68 unequal: No Solution
Exploring Operation: 33*5=165, Resulting Numbers: [165]
165,68 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,68 unequal: No Solution
Moving to Node #0,1,4
Current State: 68:[33, 35], Operations: ['39-6=33', '20+15=35']
Exploring Operation: 33*35=1155, Resulting Numbers: [1155]
1155,68 unequal: No Solution
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[6, 39, 20, 15], Operations: []
Exploring Operation: 39-6=33, Resulting Numbers: [20, 15, 33]
Generated Node #0,1: 68:[20, 15, 33] Operation: 39-6=33
Moving to Node #0,1
Current State: 68:[20, 15, 33], Operations: ['39-6=33']
Exploring Operation: 20+15=35, Resulting Numbers: [33, 35]
Generated Node #0,1,4: 68:[33, 35] Operation: 20+15=35
Moving to Node #0,1,4
Current State: 68:[33, 35], Operations: ['39-6=33', '20+15=35']
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
95,
76,
53,
37
] | 71 | [
"95-76=19",
"53+37=90",
"90-19=71"
] | Current State: 71:[95, 76, 53, 37], Operations: []
Exploring Operation: 95-76=19, Resulting Numbers: [53, 37, 19]
Generated Node #2: [53, 37, 19] from Operation: 95-76=19
Current State: 71:[53, 37, 19], Operations: ['95-76=19']
Exploring Operation: 53+37=90, Resulting Numbers: [19, 90]
Generated Node #3: [19, 90] from Operation: 53+37=90
Current State: 71:[19, 90], Operations: ['95-76=19', '53+37=90']
Exploring Operation: 90-19=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[95, 76, 53, 37], Operations: []
Exploring Operation: 95-37=58, Resulting Numbers: [76, 53, 58]
Generated Node #0,0: 71:[76, 53, 58] Operation: 95-37=58
Exploring Operation: 53+37=90, Resulting Numbers: [95, 76, 90]
Generated Node #0,1: 71:[95, 76, 90] Operation: 53+37=90
Moving to Node #0,0
Current State: 71:[76, 53, 58], Operations: ['95-37=58']
Exploring Operation: 76-53=23, Resulting Numbers: [58, 23]
Generated Node #0,0,0: 71:[58, 23] Operation: 76-53=23
Exploring Operation: 53+58=111, Resulting Numbers: [76, 111]
Generated Node #0,0,1: 71:[76, 111] Operation: 53+58=111
Moving to Node #0,1
Current State: 71:[95, 76, 90], Operations: ['53+37=90']
Exploring Operation: 95-76=19, Resulting Numbers: [90, 19]
Generated Node #0,1,0: 71:[90, 19] Operation: 95-76=19
Exploring Operation: 95-90=5, Resulting Numbers: [76, 5]
Generated Node #0,1,1: 71:[76, 5] Operation: 95-90=5
Moving to Node #0,0,1
Current State: 71:[76, 111], Operations: ['95-37=58', '53+58=111']
Exploring Operation: 111-76=35, Resulting Numbers: [35]
35,71 unequal: No Solution
Exploring Operation: 76+111=187, Resulting Numbers: [187]
187,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[58, 23], Operations: ['95-37=58', '76-53=23']
Exploring Operation: 58+23=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Exploring Operation: 58-23=35, Resulting Numbers: [35]
35,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[76, 5], Operations: ['53+37=90', '95-90=5']
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[95, 76, 53, 37], Operations: []
Exploring Operation: 53+37=90, Resulting Numbers: [95, 76, 90]
Generated Node #0,1: 71:[95, 76, 90] Operation: 53+37=90
Moving to Node #0,1
Current State: 71:[95, 76, 90], Operations: ['53+37=90']
Exploring Operation: 95-90=5, Resulting Numbers: [76, 5]
Generated Node #0,1,1: 71:[76, 5] Operation: 95-90=5
Moving to Node #0,1,1
Current State: 71:[76, 5], Operations: ['53+37=90', '95-90=5']
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
5,
9,
3,
37
] | 44 | [
"9-5=4",
"3+37=40",
"4+40=44"
] | Current State: 44:[5, 9, 3, 37], Operations: []
Exploring Operation: 9-5=4, Resulting Numbers: [3, 37, 4]
Generated Node #2: [3, 37, 4] from Operation: 9-5=4
Current State: 44:[3, 37, 4], Operations: ['9-5=4']
Exploring Operation: 3+37=40, Resulting Numbers: [4, 40]
Generated Node #3: [4, 40] from Operation: 3+37=40
Current State: 44:[4, 40], Operations: ['9-5=4', '3+37=40']
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[5, 9, 3, 37], Operations: []
Exploring Operation: 37-9=28, Resulting Numbers: [5, 3, 28]
Generated Node #0,0: 44:[5, 3, 28] Operation: 37-9=28
Exploring Operation: 9+37=46, Resulting Numbers: [5, 3, 46]
Generated Node #0,1: 44:[5, 3, 46] Operation: 9+37=46
Exploring Operation: 5+37=42, Resulting Numbers: [9, 3, 42]
Generated Node #0,2: 44:[9, 3, 42] Operation: 5+37=42
Exploring Operation: 3+37=40, Resulting Numbers: [5, 9, 40]
Generated Node #0,3: 44:[5, 9, 40] Operation: 3+37=40
Exploring Operation: 9-5=4, Resulting Numbers: [3, 37, 4]
Generated Node #0,4: 44:[3, 37, 4] Operation: 9-5=4
Moving to Node #0,1
Current State: 44:[5, 3, 46], Operations: ['9+37=46']
Exploring Operation: 46-5=41, Resulting Numbers: [3, 41]
Generated Node #0,1,0: 44:[3, 41] Operation: 46-5=41
Exploring Operation: 46-3=43, Resulting Numbers: [5, 43]
Generated Node #0,1,1: 44:[5, 43] Operation: 46-3=43
Exploring Operation: 5*3=15, Resulting Numbers: [46, 15]
Generated Node #0,1,2: 44:[46, 15] Operation: 5*3=15
Exploring Operation: 5+3=8, Resulting Numbers: [46, 8]
Generated Node #0,1,3: 44:[46, 8] Operation: 5+3=8
Exploring Operation: 5-3=2, Resulting Numbers: [46, 2]
Generated Node #0,1,4: 44:[46, 2] Operation: 5-3=2
Moving to Node #0,2
Current State: 44:[9, 3, 42], Operations: ['5+37=42']
Exploring Operation: 9+3=12, Resulting Numbers: [42, 12]
Generated Node #0,2,0: 44:[42, 12] Operation: 9+3=12
Exploring Operation: 9-3=6, Resulting Numbers: [42, 6]
Generated Node #0,2,1: 44:[42, 6] Operation: 9-3=6
Exploring Operation: 42/3=14, Resulting Numbers: [9, 14]
Generated Node #0,2,2: 44:[9, 14] Operation: 42/3=14
Exploring Operation: 3+42=45, Resulting Numbers: [9, 45]
Generated Node #0,2,3: 44:[9, 45] Operation: 3+42=45
Exploring Operation: 9/3=3, Resulting Numbers: [42, 3]
Generated Node #0,2,4: 44:[42, 3] Operation: 9/3=3
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 44:[42, 12], Operations: ['5+37=42', '9+3=12']
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,44 unequal: No Solution
Exploring Operation: 42+12=54, Resulting Numbers: [54]
54,44 unequal: No Solution
Exploring Operation: 42*12=504, Resulting Numbers: [504]
504,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,3
Current State: 44:[9, 45], Operations: ['5+37=42', '3+42=45']
Exploring Operation: 9*45=405, Resulting Numbers: [405]
405,44 unequal: No Solution
Exploring Operation: 9+45=54, Resulting Numbers: [54]
54,44 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,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,4
Current State: 44:[42, 3], Operations: ['5+37=42', '9/3=3']
Exploring Operation: 42+3=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,44 unequal: No Solution
Exploring Operation: 42*3=126, Resulting Numbers: [126]
126,44 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,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:[42, 6], Operations: ['5+37=42', '9-3=6']
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,44 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,44 unequal: No Solution
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Exploring Operation: 42*6=252, Resulting Numbers: [252]
252,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:[9, 14], Operations: ['5+37=42', '42/3=14']
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,44 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,44 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: 44:[5, 9, 40], Operations: ['3+37=40']
Exploring Operation: 40/5=8, Resulting Numbers: [9, 8]
Generated Node #0,3,0: 44:[9, 8] Operation: 40/5=8
Exploring Operation: 9-5=4, Resulting Numbers: [40, 4]
Generated Node #0,3,1: 44:[40, 4] Operation: 9-5=4
Exploring Operation: 9+40=49, Resulting Numbers: [5, 49]
Generated Node #0,3,2: 44:[5, 49] Operation: 9+40=49
Exploring Operation: 5*9=45, Resulting Numbers: [40, 45]
Generated Node #0,3,3: 44:[40, 45] Operation: 5*9=45
Exploring Operation: 5+40=45, Resulting Numbers: [9, 45]
Generated Node #0,3,4: 44:[9, 45] Operation: 5+40=45
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 44:[9, 45], Operations: ['3+37=40', '5+40=45']
Exploring Operation: 9*45=405, Resulting Numbers: [405]
405,44 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,44 unequal: No Solution
Exploring Operation: 9+45=54, Resulting Numbers: [54]
54,44 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,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,3,1
Current State: 44:[40, 4], Operations: ['3+37=40', '9-5=4']
Exploring Operation: 40*4=160, Resulting Numbers: [160]
160,44 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,44 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[5, 9, 3, 37], Operations: []
Exploring Operation: 3+37=40, Resulting Numbers: [5, 9, 40]
Generated Node #0,3: 44:[5, 9, 40] Operation: 3+37=40
Moving to Node #0,3
Current State: 44:[5, 9, 40], Operations: ['3+37=40']
Exploring Operation: 9-5=4, Resulting Numbers: [40, 4]
Generated Node #0,3,1: 44:[40, 4] Operation: 9-5=4
Moving to Node #0,3,1
Current State: 44:[40, 4], Operations: ['3+37=40', '9-5=4']
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.956597 | hs_5 | mult_heuristic |
[
8,
64,
48,
32
] | 62 | [
"32-8=24",
"48/24=2",
"64-2=62"
] | Current State: 62:[8, 64, 48, 32], Operations: []
Exploring Operation: 32-8=24, Resulting Numbers: [64, 48, 24]
Generated Node #2: [64, 48, 24] from Operation: 32-8=24
Current State: 62:[64, 48, 24], Operations: ['32-8=24']
Exploring Operation: 48/24=2, Resulting Numbers: [64, 2]
Generated Node #3: [64, 2] from Operation: 48/24=2
Current State: 62:[64, 2], Operations: ['32-8=24', '48/24=2']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[8, 64, 48, 32], Operations: []
Exploring Operation: 48/8=6, Resulting Numbers: [64, 32, 6]
Generated Node #0,0: 62:[64, 32, 6] Operation: 48/8=6
Exploring Operation: 8+48=56, Resulting Numbers: [64, 32, 56]
Generated Node #0,1: 62:[64, 32, 56] Operation: 8+48=56
Exploring Operation: 48-8=40, Resulting Numbers: [64, 32, 40]
Generated Node #0,2: 62:[64, 32, 40] Operation: 48-8=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[64, 32, 6], Operations: ['48/8=6']
Exploring Operation: 64/32=2, Resulting Numbers: [6, 2]
Generated Node #0,0,0: 62:[6, 2] Operation: 64/32=2
Exploring Operation: 64-32=32, Resulting Numbers: [6, 32]
Generated Node #0,0,1: 62:[6, 32] Operation: 64-32=32
Exploring Operation: 64-6=58, Resulting Numbers: [32, 58]
Generated Node #0,0,2: 62:[32, 58] Operation: 64-6=58
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 62:[6, 2], Operations: ['48/8=6', '64/32=2']
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 6-2=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,0,1
Current State: 62:[6, 32], Operations: ['48/8=6', '64-32=32']
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,62 unequal: No Solution
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
No 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: 62:[32, 58], Operations: ['48/8=6', '64-6=58']
Exploring Operation: 32+58=90, Resulting Numbers: [90]
90,62 unequal: No Solution
Exploring Operation: 32*58=1856, Resulting Numbers: [1856]
1856,62 unequal: No Solution
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,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,1
Current State: 62:[64, 32, 56], Operations: ['8+48=56']
Exploring Operation: 64-32=32, Resulting Numbers: [56, 32]
Generated Node #0,1,0: 62:[56, 32] Operation: 64-32=32
Exploring Operation: 64/32=2, Resulting Numbers: [56, 2]
Generated Node #0,1,1: 62:[56, 2] Operation: 64/32=2
Exploring Operation: 64-56=8, Resulting Numbers: [32, 8]
Generated Node #0,1,2: 62:[32, 8] Operation: 64-56=8
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 62:[56, 2], Operations: ['8+48=56', '64/32=2']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,62 unequal: No Solution
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,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,1,0
Current State: 62:[56, 32], Operations: ['8+48=56', '64-32=32']
Exploring Operation: 56*32=1792, Resulting Numbers: [1792]
1792,62 unequal: No Solution
Exploring Operation: 56+32=88, Resulting Numbers: [88]
88,62 unequal: No Solution
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,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,1,2
Current State: 62:[32, 8], Operations: ['8+48=56', '64-56=8']
Exploring Operation: 32+8=40, Resulting Numbers: [40]
40,62 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,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:[64, 32, 40], Operations: ['48-8=40']
Exploring Operation: 64/32=2, Resulting Numbers: [40, 2]
Generated Node #0,2,0: 62:[40, 2] Operation: 64/32=2
Exploring Operation: 40-32=8, Resulting Numbers: [64, 8]
Generated Node #0,2,1: 62:[64, 8] Operation: 40-32=8
Exploring Operation: 64-40=24, Resulting Numbers: [32, 24]
Generated Node #0,2,2: 62:[32, 24] Operation: 64-40=24
Moving to Node #0,2,1
Current State: 62:[64, 8], Operations: ['48-8=40', '40-32=8']
Exploring Operation: 64+8=72, Resulting Numbers: [72]
72,62 unequal: No Solution
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,62 unequal: No Solution
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Moving to Node #0,2,2
Current State: 62:[32, 24], Operations: ['48-8=40', '64-40=24']
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 32*24=768, Resulting Numbers: [768]
768,62 unequal: No Solution
Exploring Operation: 32+24=56, Resulting Numbers: [56]
56,62 unequal: No Solution
Moving to Node #0,2,0
Current State: 62:[40, 2], Operations: ['48-8=40', '64/32=2']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,62 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,62 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 |
[
65,
38,
26,
30
] | 50 | [
"26*30=780",
"780/65=12",
"38+12=50"
] | Current State: 50:[65, 38, 26, 30], Operations: []
Exploring Operation: 26*30=780, Resulting Numbers: [65, 38, 780]
Generated Node #2: [65, 38, 780] from Operation: 26*30=780
Current State: 50:[65, 38, 780], Operations: ['26*30=780']
Exploring Operation: 780/65=12, Resulting Numbers: [38, 12]
Generated Node #3: [38, 12] from Operation: 780/65=12
Current State: 50:[38, 12], Operations: ['26*30=780', '780/65=12']
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[65, 38, 26, 30], Operations: []
Exploring Operation: 65-38=27, Resulting Numbers: [26, 30, 27]
Generated Node #0,0: 50:[26, 30, 27] Operation: 65-38=27
Exploring Operation: 38-26=12, Resulting Numbers: [65, 30, 12]
Generated Node #0,1: 50:[65, 30, 12] Operation: 38-26=12
Exploring Operation: 38-30=8, Resulting Numbers: [65, 26, 8]
Generated Node #0,2: 50:[65, 26, 8] Operation: 38-30=8
Moving to Node #0,0
Current State: 50:[26, 30, 27], Operations: ['65-38=27']
Exploring Operation: 30-26=4, Resulting Numbers: [27, 4]
Generated Node #0,0,0: 50:[27, 4] Operation: 30-26=4
Exploring Operation: 27-26=1, Resulting Numbers: [30, 1]
Generated Node #0,0,1: 50:[30, 1] Operation: 27-26=1
Exploring Operation: 30-27=3, Resulting Numbers: [26, 3]
Generated Node #0,0,2: 50:[26, 3] Operation: 30-27=3
Moving to Node #0,2
Current State: 50:[65, 26, 8], Operations: ['38-30=8']
Exploring Operation: 26-8=18, Resulting Numbers: [65, 18]
Generated Node #0,2,0: 50:[65, 18] Operation: 26-8=18
Exploring Operation: 65-8=57, Resulting Numbers: [26, 57]
Generated Node #0,2,1: 50:[26, 57] Operation: 65-8=57
Exploring Operation: 65-26=39, Resulting Numbers: [8, 39]
Generated Node #0,2,2: 50:[8, 39] Operation: 65-26=39
Moving to Node #0,1
Current State: 50:[65, 30, 12], Operations: ['38-26=12']
Exploring Operation: 30-12=18, Resulting Numbers: [65, 18]
Generated Node #0,1,0: 50:[65, 18] Operation: 30-12=18
Exploring Operation: 65-12=53, Resulting Numbers: [30, 53]
Generated Node #0,1,1: 50:[30, 53] Operation: 65-12=53
Exploring Operation: 65-30=35, Resulting Numbers: [12, 35]
Generated Node #0,1,2: 50:[12, 35] Operation: 65-30=35
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 50:[30, 53], Operations: ['38-26=12', '65-12=53']
Exploring Operation: 30*53=1590, Resulting Numbers: [1590]
1590,50 unequal: No Solution
Exploring Operation: 30+53=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,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,1,2
Current State: 50:[12, 35], Operations: ['38-26=12', '65-30=35']
Exploring Operation: 12+35=47, Resulting Numbers: [47]
47,50 unequal: No Solution
Exploring Operation: 12*35=420, Resulting Numbers: [420]
420,50 unequal: No Solution
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,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,1,0
Current State: 50:[65, 18], Operations: ['38-26=12', '30-12=18']
Exploring Operation: 65*18=1170, Resulting Numbers: [1170]
1170,50 unequal: No Solution
Exploring Operation: 65+18=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Exploring Operation: 65-18=47, Resulting Numbers: [47]
47,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 50:[26, 3], Operations: ['65-38=27', '30-27=3']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,50 unequal: No Solution
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[27, 4], Operations: ['65-38=27', '30-26=4']
Exploring Operation: 27*4=108, Resulting Numbers: [108]
108,50 unequal: No Solution
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[30, 1], Operations: ['65-38=27', '27-26=1']
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,50 unequal: No Solution
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,50 unequal: No Solution
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Moving to Node #0,2,1
Current State: 50:[26, 57], Operations: ['38-30=8', '65-8=57']
Exploring Operation: 26*57=1482, Resulting Numbers: [1482]
1482,50 unequal: No Solution
Exploring Operation: 26+57=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Exploring Operation: 57-26=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[8, 39], Operations: ['38-30=8', '65-26=39']
Exploring Operation: 8+39=47, Resulting Numbers: [47]
47,50 unequal: No Solution
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 8*39=312, Resulting Numbers: [312]
312,50 unequal: No Solution
Moving to Node #0,2,0
Current State: 50:[65, 18], Operations: ['38-30=8', '26-8=18']
Exploring Operation: 65*18=1170, Resulting Numbers: [1170]
1170,50 unequal: No Solution
Exploring Operation: 65+18=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Exploring Operation: 65-18=47, Resulting Numbers: [47]
47,50 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
38,
66,
22,
56
] | 15 | [
"56-38=18",
"66/22=3",
"18-3=15"
] | Current State: 15:[38, 66, 22, 56], Operations: []
Exploring Operation: 56-38=18, Resulting Numbers: [66, 22, 18]
Generated Node #2: [66, 22, 18] from Operation: 56-38=18
Current State: 15:[66, 22, 18], Operations: ['56-38=18']
Exploring Operation: 66/22=3, Resulting Numbers: [18, 3]
Generated Node #3: [18, 3] from Operation: 66/22=3
Current State: 15:[18, 3], Operations: ['56-38=18', '66/22=3']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[38, 66, 22, 56], Operations: []
Exploring Operation: 66-56=10, Resulting Numbers: [38, 22, 10]
Generated Node #0,0: 15:[38, 22, 10] Operation: 66-56=10
Moving to Node #0,0
Current State: 15:[38, 22, 10], Operations: ['66-56=10']
Exploring Operation: 38-22=16, Resulting Numbers: [10, 16]
Generated Node #0,0,0: 15:[10, 16] Operation: 38-22=16
Moving to Node #0,0,0
Current State: 15:[10, 16], Operations: ['66-56=10', '38-22=16']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,15 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
5,
70,
7,
8
] | 23 | [
"5+8=13",
"70/7=10",
"13+10=23"
] | Current State: 23:[5, 70, 7, 8], Operations: []
Exploring Operation: 5+8=13, Resulting Numbers: [70, 7, 13]
Generated Node #2: [70, 7, 13] from Operation: 5+8=13
Current State: 23:[70, 7, 13], Operations: ['5+8=13']
Exploring Operation: 70/7=10, Resulting Numbers: [13, 10]
Generated Node #3: [13, 10] from Operation: 70/7=10
Current State: 23:[13, 10], Operations: ['5+8=13', '70/7=10']
Exploring Operation: 13+10=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[5, 70, 7, 8], Operations: []
Exploring Operation: 70-5=65, Resulting Numbers: [7, 8, 65]
Generated Node #0,0: 23:[7, 8, 65] Operation: 70-5=65
Exploring Operation: 5+7=12, Resulting Numbers: [70, 8, 12]
Generated Node #0,1: 23:[70, 8, 12] Operation: 5+7=12
Exploring Operation: 70/7=10, Resulting Numbers: [5, 8, 10]
Generated Node #0,2: 23:[5, 8, 10] Operation: 70/7=10
Exploring Operation: 70/5=14, Resulting Numbers: [7, 8, 14]
Generated Node #0,3: 23:[7, 8, 14] Operation: 70/5=14
Start Sub Search at level 1: Moving to Node #0,3
Current State: 23:[7, 8, 14], Operations: ['70/5=14']
Exploring Operation: 8-7=1, Resulting Numbers: [14, 1]
Generated Node #0,3,0: 23:[14, 1] Operation: 8-7=1
Exploring Operation: 7+14=21, Resulting Numbers: [8, 21]
Generated Node #0,3,1: 23:[8, 21] Operation: 7+14=21
Exploring Operation: 7+8=15, Resulting Numbers: [14, 15]
Generated Node #0,3,2: 23:[14, 15] Operation: 7+8=15
Exploring Operation: 8+14=22, Resulting Numbers: [7, 22]
Generated Node #0,3,3: 23:[7, 22] Operation: 8+14=22
Moving to Node #0,3,1
Current State: 23:[8, 21], Operations: ['70/5=14', '7+14=21']
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,23 unequal: No Solution
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,23 unequal: No Solution
Moving to Node #0,3,3
Current State: 23:[7, 22], Operations: ['70/5=14', '8+14=22']
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,23 unequal: No Solution
Moving to Node #0,3,2
Current State: 23:[14, 15], Operations: ['70/5=14', '7+8=15']
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,23 unequal: No Solution
Moving to Node #0,3,0
Current State: 23:[14, 1], Operations: ['70/5=14', '8-7=1']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,23 unequal: No Solution
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,23 unequal: No Solution
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[5, 8, 10], Operations: ['70/7=10']
Exploring Operation: 8+10=18, Resulting Numbers: [5, 18]
Generated Node #0,2,0: 23:[5, 18] Operation: 8+10=18
Exploring Operation: 5*8=40, Resulting Numbers: [10, 40]
Generated Node #0,2,1: 23:[10, 40] Operation: 5*8=40
Exploring Operation: 5+10=15, Resulting Numbers: [8, 15]
Generated Node #0,2,2: 23:[8, 15] Operation: 5+10=15
Exploring Operation: 5+8=13, Resulting Numbers: [10, 13]
Generated Node #0,2,3: 23:[10, 13] Operation: 5+8=13
Moving to Node #0,2,0
Current State: 23:[5, 18], Operations: ['70/7=10', '8+10=18']
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[5, 70, 7, 8], Operations: []
Exploring Operation: 70/7=10, Resulting Numbers: [5, 8, 10]
Generated Node #0,2: 23:[5, 8, 10] Operation: 70/7=10
Moving to Node #0,2
Current State: 23:[5, 8, 10], Operations: ['70/7=10']
Exploring Operation: 8+10=18, Resulting Numbers: [5, 18]
Generated Node #0,2,0: 23:[5, 18] Operation: 8+10=18
Moving to Node #0,2,0
Current State: 23:[5, 18], Operations: ['70/7=10', '8+10=18']
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
51,
74,
5,
57
] | 75 | [
"74-51=23",
"57-5=52",
"23+52=75"
] | Current State: 75:[51, 74, 5, 57], Operations: []
Exploring Operation: 74-51=23, Resulting Numbers: [5, 57, 23]
Generated Node #2: [5, 57, 23] from Operation: 74-51=23
Current State: 75:[5, 57, 23], Operations: ['74-51=23']
Exploring Operation: 57-5=52, Resulting Numbers: [23, 52]
Generated Node #3: [23, 52] from Operation: 57-5=52
Current State: 75:[23, 52], Operations: ['74-51=23', '57-5=52']
Exploring Operation: 23+52=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[51, 74, 5, 57], Operations: []
Exploring Operation: 57-51=6, Resulting Numbers: [74, 5, 6]
Generated Node #0,0: 75:[74, 5, 6] Operation: 57-51=6
Exploring Operation: 74-57=17, Resulting Numbers: [51, 5, 17]
Generated Node #0,1: 75:[51, 5, 17] Operation: 74-57=17
Exploring Operation: 74-51=23, Resulting Numbers: [5, 57, 23]
Generated Node #0,2: 75:[5, 57, 23] Operation: 74-51=23
Moving to Node #0,0
Current State: 75:[74, 5, 6], Operations: ['57-51=6']
Exploring Operation: 6-5=1, Resulting Numbers: [74, 1]
Generated Node #0,0,0: 75:[74, 1] Operation: 6-5=1
Exploring Operation: 74+5=79, Resulting Numbers: [6, 79]
Generated Node #0,0,1: 75:[6, 79] Operation: 74+5=79
Exploring Operation: 74+6=80, Resulting Numbers: [5, 80]
Generated Node #0,0,2: 75:[5, 80] Operation: 74+6=80
Moving to Node #0,2
Current State: 75:[5, 57, 23], Operations: ['74-51=23']
Exploring Operation: 5+57=62, Resulting Numbers: [23, 62]
Generated Node #0,2,0: 75:[23, 62] Operation: 5+57=62
Exploring Operation: 57+23=80, Resulting Numbers: [5, 80]
Generated Node #0,2,1: 75:[5, 80] Operation: 57+23=80
Exploring Operation: 57-23=34, Resulting Numbers: [5, 34]
Generated Node #0,2,2: 75:[5, 34] Operation: 57-23=34
Moving to Node #0,1
Current State: 75:[51, 5, 17], Operations: ['74-57=17']
Exploring Operation: 51+17=68, Resulting Numbers: [5, 68]
Generated Node #0,1,0: 75:[5, 68] Operation: 51+17=68
Exploring Operation: 51/17=3, Resulting Numbers: [5, 3]
Generated Node #0,1,1: 75:[5, 3] Operation: 51/17=3
Exploring Operation: 51-17=34, Resulting Numbers: [5, 34]
Generated Node #0,1,2: 75:[5, 34] Operation: 51-17=34
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[5, 3], Operations: ['74-57=17', '51/17=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,75 unequal: No Solution
No 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: 75:[5, 68], Operations: ['74-57=17', '51+17=68']
Exploring Operation: 5*68=340, Resulting Numbers: [340]
340,75 unequal: No Solution
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,75 unequal: No Solution
Exploring Operation: 5+68=73, Resulting Numbers: [73]
73,75 unequal: No Solution
No 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: 75:[5, 34], Operations: ['74-57=17', '51-17=34']
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,75 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 75:[74, 1], Operations: ['57-51=6', '6-5=1']
Exploring Operation: 74*1=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Exploring Operation: 74+1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[51, 74, 5, 57], Operations: []
Exploring Operation: 57-51=6, Resulting Numbers: [74, 5, 6]
Generated Node #0,0: 75:[74, 5, 6] Operation: 57-51=6
Moving to Node #0,0
Current State: 75:[74, 5, 6], Operations: ['57-51=6']
Exploring Operation: 6-5=1, Resulting Numbers: [74, 1]
Generated Node #0,0,0: 75:[74, 1] Operation: 6-5=1
Moving to Node #0,0,0
Current State: 75:[74, 1], Operations: ['57-51=6', '6-5=1']
Exploring Operation: 74+1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 0.976563 | hs_3 | sum_heuristic |
[
8,
1,
16,
56
] | 54 | [
"8*1=8",
"16/8=2",
"56-2=54"
] | Current State: 54:[8, 1, 16, 56], Operations: []
Exploring Operation: 8*1=8, Resulting Numbers: [16, 56, 8]
Generated Node #2: [16, 56, 8] from Operation: 8*1=8
Current State: 54:[16, 56, 8], Operations: ['8*1=8']
Exploring Operation: 16/8=2, Resulting Numbers: [56, 2]
Generated Node #3: [56, 2] from Operation: 16/8=2
Current State: 54:[56, 2], Operations: ['8*1=8', '16/8=2']
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[8, 1, 16, 56], Operations: []
Exploring Operation: 8+1=9, Resulting Numbers: [16, 56, 9]
Generated Node #0,0: 54:[16, 56, 9] Operation: 8+1=9
Exploring Operation: 16/8=2, Resulting Numbers: [1, 56, 2]
Generated Node #0,1: 54:[1, 56, 2] Operation: 16/8=2
Moving to Node #0,1
Current State: 54:[1, 56, 2], Operations: ['16/8=2']
Exploring Operation: 56-2=54, Resulting Numbers: [1, 54]
Generated Node #0,1,0: 54:[1, 54] Operation: 56-2=54
Exploring Operation: 56-1=55, Resulting Numbers: [2, 55]
Generated Node #0,1,1: 54:[2, 55] Operation: 56-1=55
Moving to Node #0,0
Current State: 54:[16, 56, 9], Operations: ['8+1=9']
Exploring Operation: 16+9=25, Resulting Numbers: [56, 25]
Generated Node #0,0,0: 54:[56, 25] Operation: 16+9=25
Exploring Operation: 16-9=7, Resulting Numbers: [56, 7]
Generated Node #0,0,1: 54:[56, 7] Operation: 16-9=7
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 54:[56, 7], Operations: ['8+1=9', '16-9=7']
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,54 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[56, 25], Operations: ['8+1=9', '16+9=25']
Exploring Operation: 56-25=31, Resulting Numbers: [31]
31,54 unequal: No Solution
Exploring Operation: 56+25=81, Resulting Numbers: [81]
81,54 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: 54:[1, 54], Operations: ['16/8=2', '56-2=54']
Exploring Operation: 1*54=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[8, 1, 16, 56], Operations: []
Exploring Operation: 16/8=2, Resulting Numbers: [1, 56, 2]
Generated Node #0,1: 54:[1, 56, 2] Operation: 16/8=2
Moving to Node #0,1
Current State: 54:[1, 56, 2], Operations: ['16/8=2']
Exploring Operation: 56-2=54, Resulting Numbers: [1, 54]
Generated Node #0,1,0: 54:[1, 54] Operation: 56-2=54
Moving to Node #0,1,0
Current State: 54:[1, 54], Operations: ['16/8=2', '56-2=54']
Exploring Operation: 1*54=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
6,
95,
97,
38
] | 42 | [
"6+95=101",
"97-38=59",
"101-59=42"
] | Current State: 42:[6, 95, 97, 38], Operations: []
Exploring Operation: 6+95=101, Resulting Numbers: [97, 38, 101]
Generated Node #2: [97, 38, 101] from Operation: 6+95=101
Current State: 42:[97, 38, 101], Operations: ['6+95=101']
Exploring Operation: 97-38=59, Resulting Numbers: [101, 59]
Generated Node #3: [101, 59] from Operation: 97-38=59
Current State: 42:[101, 59], Operations: ['6+95=101', '97-38=59']
Exploring Operation: 101-59=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[6, 95, 97, 38], Operations: []
Exploring Operation: 95-38=57, Resulting Numbers: [6, 97, 57]
Generated Node #0,0: 42:[6, 97, 57] Operation: 95-38=57
Exploring Operation: 97-95=2, Resulting Numbers: [6, 38, 2]
Generated Node #0,1: 42:[6, 38, 2] Operation: 97-95=2
Exploring Operation: 97-38=59, Resulting Numbers: [6, 95, 59]
Generated Node #0,2: 42:[6, 95, 59] Operation: 97-38=59
Exploring Operation: 95-6=89, Resulting Numbers: [97, 38, 89]
Generated Node #0,3: 42:[97, 38, 89] Operation: 95-6=89
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[6, 38, 2], Operations: ['97-95=2']
Exploring Operation: 38/2=19, Resulting Numbers: [6, 19]
Generated Node #0,1,0: 42:[6, 19] Operation: 38/2=19
Exploring Operation: 38+2=40, Resulting Numbers: [6, 40]
Generated Node #0,1,1: 42:[6, 40] Operation: 38+2=40
Exploring Operation: 6/2=3, Resulting Numbers: [38, 3]
Generated Node #0,1,2: 42:[38, 3] Operation: 6/2=3
Exploring Operation: 6+38=44, Resulting Numbers: [2, 44]
Generated Node #0,1,3: 42:[2, 44] Operation: 6+38=44
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 42:[6, 19], Operations: ['97-95=2', '38/2=19']
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,42 unequal: No Solution
Exploring Operation: 6*19=114, Resulting Numbers: [114]
114,42 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,42 unequal: No Solution
No 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: 42:[6, 40], Operations: ['97-95=2', '38+2=40']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,42 unequal: No Solution
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,42 unequal: No Solution
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,42 unequal: No Solution
No 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: 42:[2, 44], Operations: ['97-95=2', '6+38=44']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,42 unequal: No Solution
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,42 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[6, 95, 97, 38], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [6, 38, 2]
Generated Node #0,1: 42:[6, 38, 2] Operation: 97-95=2
Moving to Node #0,1
Current State: 42:[6, 38, 2], Operations: ['97-95=2']
Exploring Operation: 6+38=44, Resulting Numbers: [2, 44]
Generated Node #0,1,3: 42:[2, 44] Operation: 6+38=44
Moving to Node #0,1,3
Current State: 42:[2, 44], Operations: ['97-95=2', '6+38=44']
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 | hs_4 | mult_heuristic |
[
24,
91,
31,
50
] | 37 | [
"31-24=7",
"91/7=13",
"50-13=37"
] | Current State: 37:[24, 91, 31, 50], Operations: []
Exploring Operation: 31-24=7, Resulting Numbers: [91, 50, 7]
Generated Node #2: [91, 50, 7] from Operation: 31-24=7
Current State: 37:[91, 50, 7], Operations: ['31-24=7']
Exploring Operation: 91/7=13, Resulting Numbers: [50, 13]
Generated Node #3: [50, 13] from Operation: 91/7=13
Current State: 37:[50, 13], Operations: ['31-24=7', '91/7=13']
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[24, 91, 31, 50], Operations: []
Exploring Operation: 91-50=41, Resulting Numbers: [24, 31, 41]
Generated Node #0,0: 37:[24, 31, 41] Operation: 91-50=41
Exploring Operation: 91-24=67, Resulting Numbers: [31, 50, 67]
Generated Node #0,1: 37:[31, 50, 67] Operation: 91-24=67
Exploring Operation: 50-24=26, Resulting Numbers: [91, 31, 26]
Generated Node #0,2: 37:[91, 31, 26] Operation: 50-24=26
Exploring Operation: 91-31=60, Resulting Numbers: [24, 50, 60]
Generated Node #0,3: 37:[24, 50, 60] Operation: 91-31=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[24, 31, 41], Operations: ['91-50=41']
Exploring Operation: 24+31=55, Resulting Numbers: [41, 55]
Generated Node #0,0,0: 37:[41, 55] Operation: 24+31=55
Exploring Operation: 24+41=65, Resulting Numbers: [31, 65]
Generated Node #0,0,1: 37:[31, 65] Operation: 24+41=65
Exploring Operation: 31-24=7, Resulting Numbers: [41, 7]
Generated Node #0,0,2: 37:[41, 7] Operation: 31-24=7
Exploring Operation: 41-24=17, Resulting Numbers: [31, 17]
Generated Node #0,0,3: 37:[31, 17] Operation: 41-24=17
Moving to Node #0,0,0
Current State: 37:[41, 55], Operations: ['91-50=41', '24+31=55']
Exploring Operation: 55-41=14, Resulting Numbers: [14]
14,37 unequal: No Solution
Exploring Operation: 41+55=96, Resulting Numbers: [96]
96,37 unequal: No Solution
Exploring Operation: 41*55=2255, Resulting Numbers: [2255]
2255,37 unequal: No Solution
Moving to Node #0,0,3
Current State: 37:[31, 17], Operations: ['91-50=41', '41-24=17']
Exploring Operation: 31*17=527, Resulting Numbers: [527]
527,37 unequal: No Solution
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,37 unequal: No Solution
Exploring Operation: 31+17=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[41, 7], Operations: ['91-50=41', '31-24=7']
Exploring Operation: 41+7=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 41*7=287, Resulting Numbers: [287]
287,37 unequal: No Solution
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[31, 65], Operations: ['91-50=41', '24+41=65']
Exploring Operation: 65-31=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 31*65=2015, Resulting Numbers: [2015]
2015,37 unequal: No Solution
Exploring Operation: 31+65=96, Resulting Numbers: [96]
96,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
Current State: 37:[31, 50, 67], Operations: ['91-24=67']
Exploring Operation: 67-50=17, Resulting Numbers: [31, 17]
Generated Node #0,1,0: 37:[31, 17] Operation: 67-50=17
Exploring Operation: 31+50=81, Resulting Numbers: [67, 81]
Generated Node #0,1,1: 37:[67, 81] Operation: 31+50=81
Exploring Operation: 50-31=19, Resulting Numbers: [67, 19]
Generated Node #0,1,2: 37:[67, 19] Operation: 50-31=19
Exploring Operation: 67-31=36, Resulting Numbers: [50, 36]
Generated Node #0,1,3: 37:[50, 36] Operation: 67-31=36
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 37:[50, 36], Operations: ['91-24=67', '67-31=36']
Exploring Operation: 50+36=86, Resulting Numbers: [86]
86,37 unequal: No Solution
Exploring Operation: 50*36=1800, Resulting Numbers: [1800]
1800,37 unequal: No Solution
Exploring Operation: 50-36=14, Resulting Numbers: [14]
14,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[31, 17], Operations: ['91-24=67', '67-50=17']
Exploring Operation: 31+17=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,37 unequal: No Solution
Exploring Operation: 31*17=527, Resulting Numbers: [527]
527,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 37:[67, 19], Operations: ['91-24=67', '50-31=19']
Exploring Operation: 67+19=86, Resulting Numbers: [86]
86,37 unequal: No Solution
Exploring Operation: 67*19=1273, Resulting Numbers: [1273]
1273,37 unequal: No Solution
Exploring Operation: 67-19=48, Resulting Numbers: [48]
48,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 37:[67, 81], Operations: ['91-24=67', '31+50=81']
Exploring Operation: 81-67=14, Resulting Numbers: [14]
14,37 unequal: No Solution
Exploring Operation: 67+81=148, Resulting Numbers: [148]
148,37 unequal: No Solution
Exploring Operation: 67*81=5427, Resulting Numbers: [5427]
5427,37 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: 37:[24, 50, 60], Operations: ['91-31=60']
Exploring Operation: 50-24=26, Resulting Numbers: [60, 26]
Generated Node #0,3,0: 37:[60, 26] Operation: 50-24=26
Exploring Operation: 24+50=74, Resulting Numbers: [60, 74]
Generated Node #0,3,1: 37:[60, 74] Operation: 24+50=74
Exploring Operation: 60-24=36, Resulting Numbers: [50, 36]
Generated Node #0,3,2: 37:[50, 36] Operation: 60-24=36
Exploring Operation: 60-50=10, Resulting Numbers: [24, 10]
Generated Node #0,3,3: 37:[24, 10] Operation: 60-50=10
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 37:[50, 36], Operations: ['91-31=60', '60-24=36']
Exploring Operation: 50+36=86, Resulting Numbers: [86]
86,37 unequal: No Solution
Exploring Operation: 50-36=14, Resulting Numbers: [14]
14,37 unequal: No Solution
Exploring Operation: 50*36=1800, Resulting Numbers: [1800]
1800,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 37:[60, 26], Operations: ['91-31=60', '50-24=26']
Exploring Operation: 60+26=86, Resulting Numbers: [86]
86,37 unequal: No Solution
Exploring Operation: 60-26=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 60*26=1560, Resulting Numbers: [1560]
1560,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 37:[24, 10], Operations: ['91-31=60', '60-50=10']
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 24*10=240, Resulting Numbers: [240]
240,37 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 37:[60, 74], Operations: ['91-31=60', '24+50=74']
Exploring Operation: 74-60=14, Resulting Numbers: [14]
14,37 unequal: No Solution
Exploring Operation: 60+74=134, Resulting Numbers: [134]
134,37 unequal: No Solution
Exploring Operation: 60*74=4440, Resulting Numbers: [4440]
4440,37 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: 37:[91, 31, 26], Operations: ['50-24=26']
Exploring Operation: 91-31=60, Resulting Numbers: [26, 60]
Generated Node #0,2,0: 37:[26, 60] Operation: 91-31=60
Exploring Operation: 91+26=117, Resulting Numbers: [31, 117]
Generated Node #0,2,1: 37:[31, 117] Operation: 91+26=117
Exploring Operation: 91-26=65, Resulting Numbers: [31, 65]
Generated Node #0,2,2: 37:[31, 65] Operation: 91-26=65
Exploring Operation: 31+26=57, Resulting Numbers: [91, 57]
Generated Node #0,2,3: 37:[91, 57] Operation: 31+26=57
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 37:[26, 60], Operations: ['50-24=26', '91-31=60']
Exploring Operation: 60-26=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 26*60=1560, Resulting Numbers: [1560]
1560,37 unequal: No Solution
Exploring Operation: 26+60=86, Resulting Numbers: [86]
86,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 37:[31, 65], Operations: ['50-24=26', '91-26=65']
Exploring Operation: 65-31=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 31+65=96, Resulting Numbers: [96]
96,37 unequal: No Solution
Exploring Operation: 31*65=2015, Resulting Numbers: [2015]
2015,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 37:[91, 57], Operations: ['50-24=26', '31+26=57']
Exploring Operation: 91+57=148, Resulting Numbers: [148]
148,37 unequal: No Solution
Exploring Operation: 91-57=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 91*57=5187, Resulting Numbers: [5187]
5187,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 37:[31, 117], Operations: ['50-24=26', '91+26=117']
Exploring Operation: 31*117=3627, Resulting Numbers: [3627]
3627,37 unequal: No Solution
Exploring Operation: 117-31=86, Resulting Numbers: [86]
86,37 unequal: No Solution
Exploring Operation: 31+117=148, Resulting Numbers: [148]
148,37 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 |
[
72,
15,
80,
89
] | 78 | [
"72+15=87",
"89-80=9",
"87-9=78"
] | Current State: 78:[72, 15, 80, 89], Operations: []
Exploring Operation: 72+15=87, Resulting Numbers: [80, 89, 87]
Generated Node #2: [80, 89, 87] from Operation: 72+15=87
Current State: 78:[80, 89, 87], Operations: ['72+15=87']
Exploring Operation: 89-80=9, Resulting Numbers: [87, 9]
Generated Node #3: [87, 9] from Operation: 89-80=9
Current State: 78:[87, 9], Operations: ['72+15=87', '89-80=9']
Exploring Operation: 87-9=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[72, 15, 80, 89], Operations: []
Exploring Operation: 89-72=17, Resulting Numbers: [15, 80, 17]
Generated Node #0,0: 78:[15, 80, 17] Operation: 89-72=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[15, 80, 17], Operations: ['89-72=17']
Exploring Operation: 17-15=2, Resulting Numbers: [80, 2]
Generated Node #0,0,0: 78:[80, 2] Operation: 17-15=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[80, 2], Operations: ['89-72=17', '17-15=2']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[72, 15, 80, 89], Operations: []
Exploring Operation: 89-72=17, Resulting Numbers: [15, 80, 17]
Generated Node #0,0: 78:[15, 80, 17] Operation: 89-72=17
Moving to Node #0,0
Current State: 78:[15, 80, 17], Operations: ['89-72=17']
Exploring Operation: 17-15=2, Resulting Numbers: [80, 2]
Generated Node #0,0,0: 78:[80, 2] Operation: 17-15=2
Moving to Node #0,0,0
Current State: 78:[80, 2], Operations: ['89-72=17', '17-15=2']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
72,
8,
13,
28
] | 32 | [
"72/8=9",
"13+28=41",
"41-9=32"
] | Current State: 32:[72, 8, 13, 28], Operations: []
Exploring Operation: 72/8=9, Resulting Numbers: [13, 28, 9]
Generated Node #2: [13, 28, 9] from Operation: 72/8=9
Current State: 32:[13, 28, 9], Operations: ['72/8=9']
Exploring Operation: 13+28=41, Resulting Numbers: [9, 41]
Generated Node #3: [9, 41] from Operation: 13+28=41
Current State: 32:[9, 41], Operations: ['72/8=9', '13+28=41']
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[72, 8, 13, 28], Operations: []
Exploring Operation: 72-28=44, Resulting Numbers: [8, 13, 44]
Generated Node #0,0: 32:[8, 13, 44] Operation: 72-28=44
Exploring Operation: 72/8=9, Resulting Numbers: [13, 28, 9]
Generated Node #0,1: 32:[13, 28, 9] Operation: 72/8=9
Exploring Operation: 72-13=59, Resulting Numbers: [8, 28, 59]
Generated Node #0,2: 32:[8, 28, 59] Operation: 72-13=59
Moving to Node #0,1
Current State: 32:[13, 28, 9], Operations: ['72/8=9']
Exploring Operation: 28-9=19, Resulting Numbers: [13, 19]
Generated Node #0,1,0: 32:[13, 19] Operation: 28-9=19
Exploring Operation: 28-13=15, Resulting Numbers: [9, 15]
Generated Node #0,1,1: 32:[9, 15] Operation: 28-13=15
Exploring Operation: 13-9=4, Resulting Numbers: [28, 4]
Generated Node #0,1,2: 32:[28, 4] Operation: 13-9=4
Moving to Node #0,0
Current State: 32:[8, 13, 44], Operations: ['72-28=44']
Exploring Operation: 44-13=31, Resulting Numbers: [8, 31]
Generated Node #0,0,0: 32:[8, 31] Operation: 44-13=31
Exploring Operation: 13-8=5, Resulting Numbers: [44, 5]
Generated Node #0,0,1: 32:[44, 5] Operation: 13-8=5
Exploring Operation: 44-8=36, Resulting Numbers: [13, 36]
Generated Node #0,0,2: 32:[13, 36] Operation: 44-8=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[8, 31], Operations: ['72-28=44', '44-13=31']
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,32 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 8*31=248, Resulting Numbers: [248]
248,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:[13, 36], Operations: ['72-28=44', '44-8=36']
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 13+36=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 13*36=468, Resulting Numbers: [468]
468,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:[44, 5], Operations: ['72-28=44', '13-8=5']
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,32 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,32 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: 32:[8, 28, 59], Operations: ['72-13=59']
Exploring Operation: 59-28=31, Resulting Numbers: [8, 31]
Generated Node #0,2,0: 32:[8, 31] Operation: 59-28=31
Exploring Operation: 59-8=51, Resulting Numbers: [28, 51]
Generated Node #0,2,1: 32:[28, 51] Operation: 59-8=51
Exploring Operation: 8+28=36, Resulting Numbers: [59, 36]
Generated Node #0,2,2: 32:[59, 36] Operation: 8+28=36
Moving to Node #0,2,0
Current State: 32:[8, 31], Operations: ['72-13=59', '59-28=31']
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,32 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 8*31=248, Resulting Numbers: [248]
248,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[9, 15], Operations: ['72/8=9', '28-13=15']
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Exploring Operation: 9*15=135, Resulting Numbers: [135]
135,32 unequal: No Solution
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[28, 4], Operations: ['72/8=9', '13-9=4']
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,32 unequal: No Solution
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[72, 8, 13, 28], Operations: []
Exploring Operation: 72/8=9, Resulting Numbers: [13, 28, 9]
Generated Node #0,1: 32:[13, 28, 9] Operation: 72/8=9
Moving to Node #0,1
Current State: 32:[13, 28, 9], Operations: ['72/8=9']
Exploring Operation: 13-9=4, Resulting Numbers: [28, 4]
Generated Node #0,1,2: 32:[28, 4] Operation: 13-9=4
Moving to Node #0,1,2
Current State: 32:[28, 4], Operations: ['72/8=9', '13-9=4']
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 0.970486 | hs_3 | mult_heuristic |
[
33,
38,
22,
82
] | 35 | [
"82-38=44",
"44/22=2",
"33+2=35"
] | Current State: 35:[33, 38, 22, 82], Operations: []
Exploring Operation: 82-38=44, Resulting Numbers: [33, 22, 44]
Generated Node #2: [33, 22, 44] from Operation: 82-38=44
Current State: 35:[33, 22, 44], Operations: ['82-38=44']
Exploring Operation: 44/22=2, Resulting Numbers: [33, 2]
Generated Node #3: [33, 2] from Operation: 44/22=2
Current State: 35:[33, 2], Operations: ['82-38=44', '44/22=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[33, 38, 22, 82], Operations: []
Exploring Operation: 82-38=44, Resulting Numbers: [33, 22, 44]
Generated Node #0,0: 35:[33, 22, 44] Operation: 82-38=44
Exploring Operation: 82-22=60, Resulting Numbers: [33, 38, 60]
Generated Node #0,1: 35:[33, 38, 60] Operation: 82-22=60
Exploring Operation: 82-33=49, Resulting Numbers: [38, 22, 49]
Generated Node #0,2: 35:[38, 22, 49] Operation: 82-33=49
Exploring Operation: 33-22=11, Resulting Numbers: [38, 82, 11]
Generated Node #0,3: 35:[38, 82, 11] Operation: 33-22=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[33, 22, 44], Operations: ['82-38=44']
Exploring Operation: 44/22=2, Resulting Numbers: [33, 2]
Generated Node #0,0,0: 35:[33, 2] Operation: 44/22=2
Exploring Operation: 33-22=11, Resulting Numbers: [44, 11]
Generated Node #0,0,1: 35:[44, 11] Operation: 33-22=11
Exploring Operation: 44-22=22, Resulting Numbers: [33, 22]
Generated Node #0,0,2: 35:[33, 22] Operation: 44-22=22
Exploring Operation: 44-33=11, Resulting Numbers: [22, 11]
Generated Node #0,0,3: 35:[22, 11] Operation: 44-33=11
Moving to Node #0,0,0
Current State: 35:[33, 2], Operations: ['82-38=44', '44/22=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[33, 38, 22, 82], Operations: []
Exploring Operation: 82-38=44, Resulting Numbers: [33, 22, 44]
Generated Node #0,0: 35:[33, 22, 44] Operation: 82-38=44
Moving to Node #0,0
Current State: 35:[33, 22, 44], Operations: ['82-38=44']
Exploring Operation: 44/22=2, Resulting Numbers: [33, 2]
Generated Node #0,0,0: 35:[33, 2] Operation: 44/22=2
Moving to Node #0,0,0
Current State: 35:[33, 2], Operations: ['82-38=44', '44/22=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
7,
98,
10,
69
] | 45 | [
"98/7=14",
"69-10=59",
"59-14=45"
] | Current State: 45:[7, 98, 10, 69], Operations: []
Exploring Operation: 98/7=14, Resulting Numbers: [10, 69, 14]
Generated Node #2: [10, 69, 14] from Operation: 98/7=14
Current State: 45:[10, 69, 14], Operations: ['98/7=14']
Exploring Operation: 69-10=59, Resulting Numbers: [14, 59]
Generated Node #3: [14, 59] from Operation: 69-10=59
Current State: 45:[14, 59], Operations: ['98/7=14', '69-10=59']
Exploring Operation: 59-14=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[7, 98, 10, 69], Operations: []
Exploring Operation: 98-69=29, Resulting Numbers: [7, 10, 29]
Generated Node #0,0: 45:[7, 10, 29] Operation: 98-69=29
Exploring Operation: 98/7=14, Resulting Numbers: [10, 69, 14]
Generated Node #0,1: 45:[10, 69, 14] Operation: 98/7=14
Exploring Operation: 98-10=88, Resulting Numbers: [7, 69, 88]
Generated Node #0,2: 45:[7, 69, 88] Operation: 98-10=88
Moving to Node #0,0
Current State: 45:[7, 10, 29], Operations: ['98-69=29']
Exploring Operation: 10+29=39, Resulting Numbers: [7, 39]
Generated Node #0,0,0: 45:[7, 39] Operation: 10+29=39
Exploring Operation: 29-7=22, Resulting Numbers: [10, 22]
Generated Node #0,0,1: 45:[10, 22] Operation: 29-7=22
Exploring Operation: 29-10=19, Resulting Numbers: [7, 19]
Generated Node #0,0,2: 45:[7, 19] Operation: 29-10=19
Moving to Node #0,1
Current State: 45:[10, 69, 14], Operations: ['98/7=14']
Exploring Operation: 69-10=59, Resulting Numbers: [14, 59]
Generated Node #0,1,0: 45:[14, 59] Operation: 69-10=59
Exploring Operation: 14-10=4, Resulting Numbers: [69, 4]
Generated Node #0,1,1: 45:[69, 4] Operation: 14-10=4
Exploring Operation: 69-14=55, Resulting Numbers: [10, 55]
Generated Node #0,1,2: 45:[10, 55] Operation: 69-14=55
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 45:[10, 55], Operations: ['98/7=14', '69-14=55']
Exploring Operation: 10*55=550, Resulting Numbers: [550]
550,45 unequal: No Solution
Exploring Operation: 10+55=65, Resulting Numbers: [65]
65,45 unequal: No Solution
Exploring Operation: 55-10=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[7, 98, 10, 69], Operations: []
Exploring Operation: 98/7=14, Resulting Numbers: [10, 69, 14]
Generated Node #0,1: 45:[10, 69, 14] Operation: 98/7=14
Moving to Node #0,1
Current State: 45:[10, 69, 14], Operations: ['98/7=14']
Exploring Operation: 69-14=55, Resulting Numbers: [10, 55]
Generated Node #0,1,2: 45:[10, 55] Operation: 69-14=55
Moving to Node #0,1,2
Current State: 45:[10, 55], Operations: ['98/7=14', '69-14=55']
Exploring Operation: 55-10=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
14,
65,
3,
30
] | 39 | [
"65-14=51",
"3*30=90",
"90-51=39"
] | Current State: 39:[14, 65, 3, 30], Operations: []
Exploring Operation: 65-14=51, Resulting Numbers: [3, 30, 51]
Generated Node #2: [3, 30, 51] from Operation: 65-14=51
Current State: 39:[3, 30, 51], Operations: ['65-14=51']
Exploring Operation: 3*30=90, Resulting Numbers: [51, 90]
Generated Node #3: [51, 90] from Operation: 3*30=90
Current State: 39:[51, 90], Operations: ['65-14=51', '3*30=90']
Exploring Operation: 90-51=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[14, 65, 3, 30], Operations: []
Exploring Operation: 30-14=16, Resulting Numbers: [65, 3, 16]
Generated Node #0,0: 39:[65, 3, 16] Operation: 30-14=16
Exploring Operation: 65-30=35, Resulting Numbers: [14, 3, 35]
Generated Node #0,1: 39:[14, 3, 35] Operation: 65-30=35
Exploring Operation: 30/3=10, Resulting Numbers: [14, 65, 10]
Generated Node #0,2: 39:[14, 65, 10] Operation: 30/3=10
Exploring Operation: 65-14=51, Resulting Numbers: [3, 30, 51]
Generated Node #0,3: 39:[3, 30, 51] Operation: 65-14=51
Moving to Node #0,1
Current State: 39:[14, 3, 35], Operations: ['65-30=35']
Exploring Operation: 14+3=17, Resulting Numbers: [35, 17]
Generated Node #0,1,0: 39:[35, 17] Operation: 14+3=17
Exploring Operation: 14*3=42, Resulting Numbers: [35, 42]
Generated Node #0,1,1: 39:[35, 42] Operation: 14*3=42
Exploring Operation: 14-3=11, Resulting Numbers: [35, 11]
Generated Node #0,1,2: 39:[35, 11] Operation: 14-3=11
Exploring Operation: 3+35=38, Resulting Numbers: [14, 38]
Generated Node #0,1,3: 39:[14, 38] Operation: 3+35=38
Moving to Node #0,3
Current State: 39:[3, 30, 51], Operations: ['65-14=51']
Exploring Operation: 30/3=10, Resulting Numbers: [51, 10]
Generated Node #0,3,0: 39:[51, 10] Operation: 30/3=10
Exploring Operation: 51/3=17, Resulting Numbers: [30, 17]
Generated Node #0,3,1: 39:[30, 17] Operation: 51/3=17
Exploring Operation: 3+30=33, Resulting Numbers: [51, 33]
Generated Node #0,3,2: 39:[51, 33] Operation: 3+30=33
Exploring Operation: 51-30=21, Resulting Numbers: [3, 21]
Generated Node #0,3,3: 39:[3, 21] Operation: 51-30=21
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 39:[3, 21], Operations: ['65-14=51', '51-30=21']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,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,3,1
Current State: 39:[30, 17], Operations: ['65-14=51', '51/3=17']
Exploring Operation: 30*17=510, Resulting Numbers: [510]
510,39 unequal: No Solution
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,39 unequal: No Solution
Exploring Operation: 30+17=47, Resulting Numbers: [47]
47,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,3,0
Current State: 39:[51, 10], Operations: ['65-14=51', '30/3=10']
Exploring Operation: 51+10=61, Resulting Numbers: [61]
61,39 unequal: No Solution
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,39 unequal: No Solution
Exploring Operation: 51*10=510, Resulting Numbers: [510]
510,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,3,2
Current State: 39:[51, 33], Operations: ['65-14=51', '3+30=33']
Exploring Operation: 51-33=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 51+33=84, Resulting Numbers: [84]
84,39 unequal: No Solution
Exploring Operation: 51*33=1683, Resulting Numbers: [1683]
1683,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 39:[65, 3, 16], Operations: ['30-14=16']
Exploring Operation: 16-3=13, Resulting Numbers: [65, 13]
Generated Node #0,0,0: 39:[65, 13] Operation: 16-3=13
Exploring Operation: 65+3=68, Resulting Numbers: [16, 68]
Generated Node #0,0,1: 39:[16, 68] Operation: 65+3=68
Exploring Operation: 65-16=49, Resulting Numbers: [3, 49]
Generated Node #0,0,2: 39:[3, 49] Operation: 65-16=49
Exploring Operation: 65-3=62, Resulting Numbers: [16, 62]
Generated Node #0,0,3: 39:[16, 62] Operation: 65-3=62
Moving to Node #0,2
Current State: 39:[14, 65, 10], Operations: ['30/3=10']
Exploring Operation: 65-14=51, Resulting Numbers: [10, 51]
Generated Node #0,2,0: 39:[10, 51] Operation: 65-14=51
Exploring Operation: 14+10=24, Resulting Numbers: [65, 24]
Generated Node #0,2,1: 39:[65, 24] Operation: 14+10=24
Exploring Operation: 14-10=4, Resulting Numbers: [65, 4]
Generated Node #0,2,2: 39:[65, 4] Operation: 14-10=4
Exploring Operation: 65-10=55, Resulting Numbers: [14, 55]
Generated Node #0,2,3: 39:[14, 55] Operation: 65-10=55
Moving to Node #0,1,3
Current State: 39:[14, 38], Operations: ['65-30=35', '3+35=38']
Exploring Operation: 14*38=532, Resulting Numbers: [532]
532,39 unequal: No Solution
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Exploring Operation: 14+38=52, Resulting Numbers: [52]
52,39 unequal: No Solution
Moving to Node #0,1,2
Current State: 39:[35, 11], Operations: ['65-30=35', '14-3=11']
Exploring Operation: 35*11=385, Resulting Numbers: [385]
385,39 unequal: No Solution
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Exploring Operation: 35+11=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[35, 42], Operations: ['65-30=35', '14*3=42']
Exploring Operation: 35+42=77, Resulting Numbers: [77]
77,39 unequal: No Solution
Exploring Operation: 35*42=1470, Resulting Numbers: [1470]
1470,39 unequal: No Solution
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Moving to Node #0,1,0
Current State: 39:[35, 17], Operations: ['65-30=35', '14+3=17']
Exploring Operation: 35*17=595, Resulting Numbers: [595]
595,39 unequal: No Solution
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 35+17=52, Resulting Numbers: [52]
52,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[3, 49], Operations: ['30-14=16', '65-16=49']
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,39 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,39 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[10, 51], Operations: ['30/3=10', '65-14=51']
Exploring Operation: 10+51=61, Resulting Numbers: [61]
61,39 unequal: No Solution
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,39 unequal: No Solution
Exploring Operation: 10*51=510, Resulting Numbers: [510]
510,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[14, 55], Operations: ['30/3=10', '65-10=55']
Exploring Operation: 14*55=770, Resulting Numbers: [770]
770,39 unequal: No Solution
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,39 unequal: No Solution
Exploring Operation: 14+55=69, Resulting Numbers: [69]
69,39 unequal: No Solution
Moving to Node #0,0,3
Current State: 39:[16, 62], Operations: ['30-14=16', '65-3=62']
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Exploring Operation: 16+62=78, Resulting Numbers: [78]
78,39 unequal: No Solution
Exploring Operation: 16*62=992, Resulting Numbers: [992]
992,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[65, 13], Operations: ['30-14=16', '16-3=13']
Exploring Operation: 65-13=52, Resulting Numbers: [52]
52,39 unequal: No Solution
Exploring Operation: 65*13=845, Resulting Numbers: [845]
845,39 unequal: No Solution
Exploring Operation: 65/13=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 65+13=78, Resulting Numbers: [78]
78,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[65, 4], Operations: ['30/3=10', '14-10=4']
Exploring Operation: 65*4=260, Resulting Numbers: [260]
260,39 unequal: No Solution
Exploring Operation: 65+4=69, Resulting Numbers: [69]
69,39 unequal: No Solution
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[16, 68], Operations: ['30-14=16', '65+3=68']
Exploring Operation: 16+68=84, Resulting Numbers: [84]
84,39 unequal: No Solution
Exploring Operation: 16*68=1088, Resulting Numbers: [1088]
1088,39 unequal: No Solution
Exploring Operation: 68-16=52, Resulting Numbers: [52]
52,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[65, 24], Operations: ['30/3=10', '14+10=24']
Exploring Operation: 65*24=1560, Resulting Numbers: [1560]
1560,39 unequal: No Solution
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,39 unequal: No Solution
Exploring Operation: 65+24=89, Resulting Numbers: [89]
89,39 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
39,
25,
31,
30
] | 54 | [
"39-30=9",
"31-25=6",
"9*6=54"
] | Current State: 54:[39, 25, 31, 30], Operations: []
Exploring Operation: 39-30=9, Resulting Numbers: [25, 31, 9]
Generated Node #2: [25, 31, 9] from Operation: 39-30=9
Current State: 54:[25, 31, 9], Operations: ['39-30=9']
Exploring Operation: 31-25=6, Resulting Numbers: [9, 6]
Generated Node #3: [9, 6] from Operation: 31-25=6
Current State: 54:[9, 6], Operations: ['39-30=9', '31-25=6']
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[39, 25, 31, 30], Operations: []
Exploring Operation: 39-31=8, Resulting Numbers: [25, 30, 8]
Generated Node #0,0: 54:[25, 30, 8] Operation: 39-31=8
Exploring Operation: 39-30=9, Resulting Numbers: [25, 31, 9]
Generated Node #0,1: 54:[25, 31, 9] Operation: 39-30=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[25, 30, 8], Operations: ['39-31=8']
Exploring Operation: 25+30=55, Resulting Numbers: [8, 55]
Generated Node #0,0,0: 54:[8, 55] Operation: 25+30=55
Exploring Operation: 30-25=5, Resulting Numbers: [8, 5]
Generated Node #0,0,1: 54:[8, 5] Operation: 30-25=5
Moving to Node #0,0,0
Current State: 54:[8, 55], Operations: ['39-31=8', '25+30=55']
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,54 unequal: No Solution
Exploring Operation: 8+55=63, Resulting Numbers: [63]
63,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[8, 5], Operations: ['39-31=8', '30-25=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[25, 31, 9], Operations: ['39-30=9']
Exploring Operation: 25+31=56, Resulting Numbers: [9, 56]
Generated Node #0,1,0: 54:[9, 56] Operation: 25+31=56
Exploring Operation: 31-25=6, Resulting Numbers: [9, 6]
Generated Node #0,1,1: 54:[9, 6] Operation: 31-25=6
Moving to Node #0,1,1
Current State: 54:[9, 6], Operations: ['39-30=9', '31-25=6']
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[39, 25, 31, 30], Operations: []
Exploring Operation: 39-30=9, Resulting Numbers: [25, 31, 9]
Generated Node #0,1: 54:[25, 31, 9] Operation: 39-30=9
Moving to Node #0,1
Current State: 54:[25, 31, 9], Operations: ['39-30=9']
Exploring Operation: 31-25=6, Resulting Numbers: [9, 6]
Generated Node #0,1,1: 54:[9, 6] Operation: 31-25=6
Moving to Node #0,1,1
Current State: 54:[9, 6], Operations: ['39-30=9', '31-25=6']
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
2,
73,
17,
33
] | 27 | [
"17+33=50",
"2*50=100",
"100-73=27"
] | Current State: 27:[2, 73, 17, 33], Operations: []
Exploring Operation: 17+33=50, Resulting Numbers: [2, 73, 50]
Generated Node #2: [2, 73, 50] from Operation: 17+33=50
Current State: 27:[2, 73, 50], Operations: ['17+33=50']
Exploring Operation: 2*50=100, Resulting Numbers: [73, 100]
Generated Node #3: [73, 100] from Operation: 2*50=100
Current State: 27:[73, 100], Operations: ['17+33=50', '2*50=100']
Exploring Operation: 100-73=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[2, 73, 17, 33], Operations: []
Exploring Operation: 73-33=40, Resulting Numbers: [2, 17, 40]
Generated Node #0,0: 27:[2, 17, 40] Operation: 73-33=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[2, 17, 40], Operations: ['73-33=40']
Exploring Operation: 40-17=23, Resulting Numbers: [2, 23]
Generated Node #0,0,0: 27:[2, 23] Operation: 40-17=23
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[2, 23], Operations: ['73-33=40', '40-17=23']
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
28,
75,
46,
72
] | 73 | [
"75-28=47",
"72-46=26",
"47+26=73"
] | Current State: 73:[28, 75, 46, 72], Operations: []
Exploring Operation: 75-28=47, Resulting Numbers: [46, 72, 47]
Generated Node #2: [46, 72, 47] from Operation: 75-28=47
Current State: 73:[46, 72, 47], Operations: ['75-28=47']
Exploring Operation: 72-46=26, Resulting Numbers: [47, 26]
Generated Node #3: [47, 26] from Operation: 72-46=26
Current State: 73:[47, 26], Operations: ['75-28=47', '72-46=26']
Exploring Operation: 47+26=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[28, 75, 46, 72], Operations: []
Exploring Operation: 75-28=47, Resulting Numbers: [46, 72, 47]
Generated Node #0,0: 73:[46, 72, 47] Operation: 75-28=47
Exploring Operation: 28+46=74, Resulting Numbers: [75, 72, 74]
Generated Node #0,1: 73:[75, 72, 74] Operation: 28+46=74
Exploring Operation: 28+72=100, Resulting Numbers: [75, 46, 100]
Generated Node #0,2: 73:[75, 46, 100] Operation: 28+72=100
Moving to Node #0,1
Current State: 73:[75, 72, 74], Operations: ['28+46=74']
Exploring Operation: 74-72=2, Resulting Numbers: [75, 2]
Generated Node #0,1,0: 73:[75, 2] Operation: 74-72=2
Exploring Operation: 75-74=1, Resulting Numbers: [72, 1]
Generated Node #0,1,1: 73:[72, 1] Operation: 75-74=1
Exploring Operation: 75-72=3, Resulting Numbers: [74, 3]
Generated Node #0,1,2: 73:[74, 3] Operation: 75-72=3
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[74, 3], Operations: ['28+46=74', '75-72=3']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,73 unequal: No Solution
Exploring Operation: 74*3=222, Resulting Numbers: [222]
222,73 unequal: No Solution
Exploring Operation: 74+3=77, Resulting Numbers: [77]
77,73 unequal: No Solution
No 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: 73:[75, 2], Operations: ['28+46=74', '74-72=2']
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,73 unequal: No Solution
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[28, 75, 46, 72], Operations: []
Exploring Operation: 28+46=74, Resulting Numbers: [75, 72, 74]
Generated Node #0,1: 73:[75, 72, 74] Operation: 28+46=74
Moving to Node #0,1
Current State: 73:[75, 72, 74], Operations: ['28+46=74']
Exploring Operation: 74-72=2, Resulting Numbers: [75, 2]
Generated Node #0,1,0: 73:[75, 2] Operation: 74-72=2
Moving to Node #0,1,0
Current State: 73:[75, 2], Operations: ['28+46=74', '74-72=2']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
6,
50,
81,
69
] | 33 | [
"69-50=19",
"6*19=114",
"114-81=33"
] | Current State: 33:[6, 50, 81, 69], Operations: []
Exploring Operation: 69-50=19, Resulting Numbers: [6, 81, 19]
Generated Node #2: [6, 81, 19] from Operation: 69-50=19
Current State: 33:[6, 81, 19], Operations: ['69-50=19']
Exploring Operation: 6*19=114, Resulting Numbers: [81, 114]
Generated Node #3: [81, 114] from Operation: 6*19=114
Current State: 33:[81, 114], Operations: ['69-50=19', '6*19=114']
Exploring Operation: 114-81=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[6, 50, 81, 69], Operations: []
Exploring Operation: 50-6=44, Resulting Numbers: [81, 69, 44]
Generated Node #0,0: 33:[81, 69, 44] Operation: 50-6=44
Exploring Operation: 81-69=12, Resulting Numbers: [6, 50, 12]
Generated Node #0,1: 33:[6, 50, 12] Operation: 81-69=12
Exploring Operation: 81-50=31, Resulting Numbers: [6, 69, 31]
Generated Node #0,2: 33:[6, 69, 31] Operation: 81-50=31
Exploring Operation: 69-50=19, Resulting Numbers: [6, 81, 19]
Generated Node #0,3: 33:[6, 81, 19] Operation: 69-50=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[6, 50, 12], Operations: ['81-69=12']
Exploring Operation: 50-6=44, Resulting Numbers: [12, 44]
Generated Node #0,1,0: 33:[12, 44] Operation: 50-6=44
Exploring Operation: 12-6=6, Resulting Numbers: [50, 6]
Generated Node #0,1,1: 33:[50, 6] Operation: 12-6=6
Exploring Operation: 12/6=2, Resulting Numbers: [50, 2]
Generated Node #0,1,2: 33:[50, 2] Operation: 12/6=2
Exploring Operation: 50-12=38, Resulting Numbers: [6, 38]
Generated Node #0,1,3: 33:[6, 38] Operation: 50-12=38
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 33:[6, 38], Operations: ['81-69=12', '50-12=38']
Exploring Operation: 6+38=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 6*38=228, Resulting Numbers: [228]
228,33 unequal: No Solution
No 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: 33:[12, 44], Operations: ['81-69=12', '50-6=44']
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 12+44=56, Resulting Numbers: [56]
56,33 unequal: No Solution
Exploring Operation: 12*44=528, Resulting Numbers: [528]
528,33 unequal: No Solution
No 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: 33:[50, 2], Operations: ['81-69=12', '12/6=2']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,33 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,33 unequal: No Solution
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,33 unequal: No Solution
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,33 unequal: No Solution
No 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: 33:[50, 6], Operations: ['81-69=12', '12-6=6']
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 50+6=56, Resulting Numbers: [56]
56,33 unequal: No Solution
Exploring Operation: 50*6=300, Resulting Numbers: [300]
300,33 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: 33:[6, 69, 31], Operations: ['81-50=31']
Exploring Operation: 6+69=75, Resulting Numbers: [31, 75]
Generated Node #0,2,0: 33:[31, 75] Operation: 6+69=75
Exploring Operation: 69-31=38, Resulting Numbers: [6, 38]
Generated Node #0,2,1: 33:[6, 38] Operation: 69-31=38
Exploring Operation: 6+31=37, Resulting Numbers: [69, 37]
Generated Node #0,2,2: 33:[69, 37] Operation: 6+31=37
Exploring Operation: 69-6=63, Resulting Numbers: [31, 63]
Generated Node #0,2,3: 33:[31, 63] Operation: 69-6=63
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 33:[6, 38], Operations: ['81-50=31', '69-31=38']
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 6+38=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 6*38=228, Resulting Numbers: [228]
228,33 unequal: No Solution
No 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: 33:[31, 63], Operations: ['81-50=31', '69-6=63']
Exploring Operation: 63-31=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 31+63=94, Resulting Numbers: [94]
94,33 unequal: No Solution
Exploring Operation: 31*63=1953, Resulting Numbers: [1953]
1953,33 unequal: No Solution
No 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: 33:[69, 37], Operations: ['81-50=31', '6+31=37']
Exploring Operation: 69+37=106, Resulting Numbers: [106]
106,33 unequal: No Solution
Exploring Operation: 69-37=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 69*37=2553, Resulting Numbers: [2553]
2553,33 unequal: No Solution
No 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: 33:[31, 75], Operations: ['81-50=31', '6+69=75']
Exploring Operation: 31*75=2325, Resulting Numbers: [2325]
2325,33 unequal: No Solution
Exploring Operation: 75-31=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 31+75=106, Resulting Numbers: [106]
106,33 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: 33:[6, 81, 19], Operations: ['69-50=19']
Exploring Operation: 81-19=62, Resulting Numbers: [6, 62]
Generated Node #0,3,0: 33:[6, 62] Operation: 81-19=62
Exploring Operation: 81-6=75, Resulting Numbers: [19, 75]
Generated Node #0,3,1: 33:[19, 75] Operation: 81-6=75
Exploring Operation: 19-6=13, Resulting Numbers: [81, 13]
Generated Node #0,3,2: 33:[81, 13] Operation: 19-6=13
Exploring Operation: 6+19=25, Resulting Numbers: [81, 25]
Generated Node #0,3,3: 33:[81, 25] Operation: 6+19=25
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 33:[6, 62], Operations: ['69-50=19', '81-19=62']
Exploring Operation: 6+62=68, Resulting Numbers: [68]
68,33 unequal: No Solution
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,33 unequal: No Solution
Exploring Operation: 6*62=372, Resulting Numbers: [372]
372,33 unequal: No Solution
No 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: 33:[19, 75], Operations: ['69-50=19', '81-6=75']
Exploring Operation: 75-19=56, Resulting Numbers: [56]
56,33 unequal: No Solution
Exploring Operation: 19+75=94, Resulting Numbers: [94]
94,33 unequal: No Solution
Exploring Operation: 19*75=1425, Resulting Numbers: [1425]
1425,33 unequal: No Solution
No 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: 33:[81, 13], Operations: ['69-50=19', '19-6=13']
Exploring Operation: 81+13=94, Resulting Numbers: [94]
94,33 unequal: No Solution
Exploring Operation: 81*13=1053, Resulting Numbers: [1053]
1053,33 unequal: No Solution
Exploring Operation: 81-13=68, Resulting Numbers: [68]
68,33 unequal: No Solution
No 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: 33:[81, 25], Operations: ['69-50=19', '6+19=25']
Exploring Operation: 81+25=106, Resulting Numbers: [106]
106,33 unequal: No Solution
Exploring Operation: 81-25=56, Resulting Numbers: [56]
56,33 unequal: No Solution
Exploring Operation: 81*25=2025, Resulting Numbers: [2025]
2025,33 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: 33:[81, 69, 44], Operations: ['50-6=44']
Exploring Operation: 81+69=150, Resulting Numbers: [44, 150]
Generated Node #0,0,0: 33:[44, 150] Operation: 81+69=150
Exploring Operation: 69-44=25, Resulting Numbers: [81, 25]
Generated Node #0,0,1: 33:[81, 25] Operation: 69-44=25
Exploring Operation: 81-69=12, Resulting Numbers: [44, 12]
Generated Node #0,0,2: 33:[44, 12] Operation: 81-69=12
Exploring Operation: 81-44=37, Resulting Numbers: [69, 37]
Generated Node #0,0,3: 33:[69, 37] Operation: 81-44=37
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 33:[44, 12], Operations: ['50-6=44', '81-69=12']
Exploring Operation: 44*12=528, Resulting Numbers: [528]
528,33 unequal: No Solution
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 44+12=56, Resulting Numbers: [56]
56,33 unequal: No Solution
No 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: 33:[69, 37], Operations: ['50-6=44', '81-44=37']
Exploring Operation: 69-37=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 69*37=2553, Resulting Numbers: [2553]
2553,33 unequal: No Solution
Exploring Operation: 69+37=106, Resulting Numbers: [106]
106,33 unequal: No Solution
No 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: 33:[81, 25], Operations: ['50-6=44', '69-44=25']
Exploring Operation: 81+25=106, Resulting Numbers: [106]
106,33 unequal: No Solution
Exploring Operation: 81-25=56, Resulting Numbers: [56]
56,33 unequal: No Solution
Exploring Operation: 81*25=2025, Resulting Numbers: [2025]
2025,33 unequal: No Solution
No 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: 33:[44, 150], Operations: ['50-6=44', '81+69=150']
Exploring Operation: 150-44=106, Resulting Numbers: [106]
106,33 unequal: No Solution
Exploring Operation: 44*150=6600, Resulting Numbers: [6600]
6600,33 unequal: No Solution
Exploring Operation: 44+150=194, Resulting Numbers: [194]
194,33 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 |
[
18,
56,
36,
31
] | 43 | [
"56-18=38",
"36-31=5",
"38+5=43"
] | Current State: 43:[18, 56, 36, 31], Operations: []
Exploring Operation: 56-18=38, Resulting Numbers: [36, 31, 38]
Generated Node #2: [36, 31, 38] from Operation: 56-18=38
Current State: 43:[36, 31, 38], Operations: ['56-18=38']
Exploring Operation: 36-31=5, Resulting Numbers: [38, 5]
Generated Node #3: [38, 5] from Operation: 36-31=5
Current State: 43:[38, 5], Operations: ['56-18=38', '36-31=5']
Exploring Operation: 38+5=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[18, 56, 36, 31], Operations: []
Exploring Operation: 56-18=38, Resulting Numbers: [36, 31, 38]
Generated Node #0,0: 43:[36, 31, 38] Operation: 56-18=38
Exploring Operation: 18+31=49, Resulting Numbers: [56, 36, 49]
Generated Node #0,1: 43:[56, 36, 49] Operation: 18+31=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[36, 31, 38], Operations: ['56-18=38']
Exploring Operation: 31+38=69, Resulting Numbers: [36, 69]
Generated Node #0,0,0: 43:[36, 69] Operation: 31+38=69
Exploring Operation: 36+31=67, Resulting Numbers: [38, 67]
Generated Node #0,0,1: 43:[38, 67] Operation: 36+31=67
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[38, 67], Operations: ['56-18=38', '36+31=67']
Exploring Operation: 67-38=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Exploring Operation: 38+67=105, Resulting Numbers: [105]
105,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:[36, 69], Operations: ['56-18=38', '31+38=69']
Exploring Operation: 36+69=105, Resulting Numbers: [105]
105,43 unequal: No Solution
Exploring Operation: 69-36=33, Resulting Numbers: [33]
33,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:[56, 36, 49], Operations: ['18+31=49']
Exploring Operation: 56-36=20, Resulting Numbers: [49, 20]
Generated Node #0,1,0: 43:[49, 20] Operation: 56-36=20
Exploring Operation: 56-49=7, Resulting Numbers: [36, 7]
Generated Node #0,1,1: 43:[36, 7] Operation: 56-49=7
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[49, 20], Operations: ['18+31=49', '56-36=20']
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Exploring Operation: 49+20=69, Resulting Numbers: [69]
69,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 43:[36, 7], Operations: ['18+31=49', '56-49=7']
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[18, 56, 36, 31], Operations: []
Exploring Operation: 18+31=49, Resulting Numbers: [56, 36, 49]
Generated Node #0,1: 43:[56, 36, 49] Operation: 18+31=49
Moving to Node #0,1
Current State: 43:[56, 36, 49], Operations: ['18+31=49']
Exploring Operation: 56-49=7, Resulting Numbers: [36, 7]
Generated Node #0,1,1: 43:[36, 7] Operation: 56-49=7
Moving to Node #0,1,1
Current State: 43:[36, 7], Operations: ['18+31=49', '56-49=7']
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_2 | mult_heuristic |
[
87,
87,
96,
75
] | 22 | [
"87/87=1",
"96-75=21",
"1+21=22"
] | Current State: 22:[87, 87, 96, 75], Operations: []
Exploring Operation: 87/87=1, Resulting Numbers: [96, 75, 1]
Generated Node #2: [96, 75, 1] from Operation: 87/87=1
Current State: 22:[96, 75, 1], Operations: ['87/87=1']
Exploring Operation: 96-75=21, Resulting Numbers: [1, 21]
Generated Node #3: [1, 21] from Operation: 96-75=21
Current State: 22:[1, 21], Operations: ['87/87=1', '96-75=21']
Exploring Operation: 1+21=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[87, 87, 96, 75], Operations: []
Exploring Operation: 96-87=9, Resulting Numbers: [87, 75, 9]
Generated Node #0,0: 22:[87, 75, 9] Operation: 96-87=9
Exploring Operation: 96-87=9, Resulting Numbers: [87, 75, 9]
Generated Node #0,1: 22:[87, 75, 9] Operation: 96-87=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[87, 75, 9], Operations: ['96-87=9']
Exploring Operation: 87-9=78, Resulting Numbers: [75, 78]
Generated Node #0,0,0: 22:[75, 78] Operation: 87-9=78
Exploring Operation: 87-75=12, Resulting Numbers: [9, 12]
Generated Node #0,0,1: 22:[9, 12] Operation: 87-75=12
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 22:[9, 12], Operations: ['96-87=9', '87-75=12']
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,22 unequal: No Solution
No 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: 22:[75, 78], Operations: ['96-87=9', '87-9=78']
Exploring Operation: 78-75=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Exploring Operation: 75+78=153, Resulting Numbers: [153]
153,22 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: 22:[87, 75, 9], Operations: ['96-87=9']
Exploring Operation: 87-75=12, Resulting Numbers: [9, 12]
Generated Node #0,1,0: 22:[9, 12] Operation: 87-75=12
Exploring Operation: 87-9=78, Resulting Numbers: [75, 78]
Generated Node #0,1,1: 22:[75, 78] Operation: 87-9=78
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 22:[9, 12], Operations: ['96-87=9', '87-75=12']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,22 unequal: No Solution
No 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: 22:[75, 78], Operations: ['96-87=9', '87-9=78']
Exploring Operation: 75+78=153, Resulting Numbers: [153]
153,22 unequal: No Solution
Exploring Operation: 78-75=3, Resulting Numbers: [3]
3,22 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 |
[
20,
5,
71,
25
] | 96 | [
"20+71=91",
"25/5=5",
"91+5=96"
] | Current State: 96:[20, 5, 71, 25], Operations: []
Exploring Operation: 20+71=91, Resulting Numbers: [5, 25, 91]
Generated Node #2: [5, 25, 91] from Operation: 20+71=91
Current State: 96:[5, 25, 91], Operations: ['20+71=91']
Exploring Operation: 25/5=5, Resulting Numbers: [91, 5]
Generated Node #3: [91, 5] from Operation: 25/5=5
Current State: 96:[91, 5], Operations: ['20+71=91', '25/5=5']
Exploring Operation: 91+5=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[20, 5, 71, 25], Operations: []
Exploring Operation: 71-20=51, Resulting Numbers: [5, 25, 51]
Generated Node #0,0: 96:[5, 25, 51] Operation: 71-20=51
Exploring Operation: 71+25=96, Resulting Numbers: [20, 5, 96]
Generated Node #0,1: 96:[20, 5, 96] Operation: 71+25=96
Moving to Node #0,0
Current State: 96:[5, 25, 51], Operations: ['71-20=51']
Exploring Operation: 51-25=26, Resulting Numbers: [5, 26]
Generated Node #0,0,0: 96:[5, 26] Operation: 51-25=26
Exploring Operation: 51-5=46, Resulting Numbers: [25, 46]
Generated Node #0,0,1: 96:[25, 46] Operation: 51-5=46
Moving to Node #0,1
Current State: 96:[20, 5, 96], Operations: ['71+25=96']
Exploring Operation: 20+5=25, Resulting Numbers: [96, 25]
Generated Node #0,1,0: 96:[96, 25] Operation: 20+5=25
Exploring Operation: 20/5=4, Resulting Numbers: [96, 4]
Generated Node #0,1,1: 96:[96, 4] Operation: 20/5=4
Moving to Node #0,1,1
Current State: 96:[96, 4], Operations: ['71+25=96', '20/5=4']
Exploring Operation: 96+4=100, Resulting Numbers: [100]
100,96 unequal: No Solution
Exploring Operation: 96/4=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[96, 25], Operations: ['71+25=96', '20+5=25']
Exploring Operation: 96-25=71, Resulting Numbers: [71]
71,96 unequal: No Solution
Exploring Operation: 96+25=121, Resulting Numbers: [121]
121,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[25, 46], Operations: ['71-20=51', '51-5=46']
Exploring Operation: 25+46=71, Resulting Numbers: [71]
71,96 unequal: No Solution
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[5, 26], Operations: ['71-20=51', '51-25=26']
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,96 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
45,
28,
2,
7
] | 90 | [
"45*28=1260",
"2*7=14",
"1260/14=90"
] | Current State: 90:[45, 28, 2, 7], Operations: []
Exploring Operation: 45*28=1260, Resulting Numbers: [2, 7, 1260]
Generated Node #2: [2, 7, 1260] from Operation: 45*28=1260
Current State: 90:[2, 7, 1260], Operations: ['45*28=1260']
Exploring Operation: 2*7=14, Resulting Numbers: [1260, 14]
Generated Node #3: [1260, 14] from Operation: 2*7=14
Current State: 90:[1260, 14], Operations: ['45*28=1260', '2*7=14']
Exploring Operation: 1260/14=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[45, 28, 2, 7], Operations: []
Exploring Operation: 28/7=4, Resulting Numbers: [45, 2, 4]
Generated Node #0,0: 90:[45, 2, 4] Operation: 28/7=4
Exploring Operation: 28/2=14, Resulting Numbers: [45, 7, 14]
Generated Node #0,1: 90:[45, 7, 14] Operation: 28/2=14
Exploring Operation: 45-28=17, Resulting Numbers: [2, 7, 17]
Generated Node #0,2: 90:[2, 7, 17] Operation: 45-28=17
Exploring Operation: 28+2=30, Resulting Numbers: [45, 7, 30]
Generated Node #0,3: 90:[45, 7, 30] Operation: 28+2=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[45, 2, 4], Operations: ['28/7=4']
Exploring Operation: 2+4=6, Resulting Numbers: [45, 6]
Generated Node #0,0,0: 90:[45, 6] Operation: 2+4=6
Exploring Operation: 45*2=90, Resulting Numbers: [4, 90]
Generated Node #0,0,1: 90:[4, 90] Operation: 45*2=90
Exploring Operation: 4/2=2, Resulting Numbers: [45, 2]
Generated Node #0,0,2: 90:[45, 2] Operation: 4/2=2
Exploring Operation: 4-2=2, Resulting Numbers: [45, 2]
Generated Node #0,0,3: 90:[45, 2] Operation: 4-2=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[45, 6], Operations: ['28/7=4', '2+4=6']
Exploring Operation: 45*6=270, Resulting Numbers: [270]
270,90 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,90 unequal: No Solution
Exploring Operation: 45+6=51, Resulting Numbers: [51]
51,90 unequal: No Solution
No 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: 90:[45, 2], Operations: ['28/7=4', '4/2=2']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,90 unequal: No Solution
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[45, 28, 2, 7], Operations: []
Exploring Operation: 28/7=4, Resulting Numbers: [45, 2, 4]
Generated Node #0,0: 90:[45, 2, 4] Operation: 28/7=4
Moving to Node #0,0
Current State: 90:[45, 2, 4], Operations: ['28/7=4']
Exploring Operation: 4/2=2, Resulting Numbers: [45, 2]
Generated Node #0,0,2: 90:[45, 2] Operation: 4/2=2
Moving to Node #0,0,2
Current State: 90:[45, 2], Operations: ['28/7=4', '4/2=2']
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
85,
85,
1,
17
] | 34 | [
"85/85=1",
"1+1=2",
"17*2=34"
] | Current State: 34:[85, 85, 1, 17], Operations: []
Exploring Operation: 85/85=1, Resulting Numbers: [1, 17, 1]
Generated Node #2: [1, 17, 1] from Operation: 85/85=1
Current State: 34:[1, 17, 1], Operations: ['85/85=1']
Exploring Operation: 1+1=2, Resulting Numbers: [17, 2]
Generated Node #3: [17, 2] from Operation: 1+1=2
Current State: 34:[17, 2], Operations: ['85/85=1', '1+1=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[85, 85, 1, 17], Operations: []
Exploring Operation: 85-85=0, Resulting Numbers: [1, 17, 0]
Generated Node #0,0: 34:[1, 17, 0] Operation: 85-85=0
Exploring Operation: 85/85=1, Resulting Numbers: [1, 17, 1]
Generated Node #0,1: 34:[1, 17, 1] Operation: 85/85=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[1, 17, 1], Operations: ['85/85=1']
Exploring Operation: 1*17=17, Resulting Numbers: [1, 17]
Generated Node #0,1,0: 34:[1, 17] Operation: 1*17=17
Exploring Operation: 1+1=2, Resulting Numbers: [17, 2]
Generated Node #0,1,1: 34:[17, 2] Operation: 1+1=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[17, 2], Operations: ['85/85=1', '1+1=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[85, 85, 1, 17], Operations: []
Exploring Operation: 85/85=1, Resulting Numbers: [1, 17, 1]
Generated Node #0,1: 34:[1, 17, 1] Operation: 85/85=1
Moving to Node #0,1
Current State: 34:[1, 17, 1], Operations: ['85/85=1']
Exploring Operation: 1+1=2, Resulting Numbers: [17, 2]
Generated Node #0,1,1: 34:[17, 2] Operation: 1+1=2
Moving to Node #0,1,1
Current State: 34:[17, 2], Operations: ['85/85=1', '1+1=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
96,
53,
2,
82
] | 92 | [
"96-82=14",
"53*2=106",
"106-14=92"
] | Current State: 92:[96, 53, 2, 82], Operations: []
Exploring Operation: 96-82=14, Resulting Numbers: [53, 2, 14]
Generated Node #2: [53, 2, 14] from Operation: 96-82=14
Current State: 92:[53, 2, 14], Operations: ['96-82=14']
Exploring Operation: 53*2=106, Resulting Numbers: [14, 106]
Generated Node #3: [14, 106] from Operation: 53*2=106
Current State: 92:[14, 106], Operations: ['96-82=14', '53*2=106']
Exploring Operation: 106-14=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[96, 53, 2, 82], Operations: []
Exploring Operation: 82-53=29, Resulting Numbers: [96, 2, 29]
Generated Node #0,0: 92:[96, 2, 29] Operation: 82-53=29
Exploring Operation: 96-82=14, Resulting Numbers: [53, 2, 14]
Generated Node #0,1: 92:[53, 2, 14] Operation: 96-82=14
Exploring Operation: 82/2=41, Resulting Numbers: [96, 53, 41]
Generated Node #0,2: 92:[96, 53, 41] Operation: 82/2=41
Exploring Operation: 96-53=43, Resulting Numbers: [2, 82, 43]
Generated Node #0,3: 92:[2, 82, 43] Operation: 96-53=43
Moving to Node #0,0
Current State: 92:[96, 2, 29], Operations: ['82-53=29']
Exploring Operation: 96/2=48, Resulting Numbers: [29, 48]
Generated Node #0,0,0: 92:[29, 48] Operation: 96/2=48
Exploring Operation: 96-2=94, Resulting Numbers: [29, 94]
Generated Node #0,0,1: 92:[29, 94] Operation: 96-2=94
Exploring Operation: 96+2=98, Resulting Numbers: [29, 98]
Generated Node #0,0,2: 92:[29, 98] Operation: 96+2=98
Exploring Operation: 29-2=27, Resulting Numbers: [96, 27]
Generated Node #0,0,3: 92:[96, 27] Operation: 29-2=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[29, 48], Operations: ['82-53=29', '96/2=48']
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 29+48=77, Resulting Numbers: [77]
77,92 unequal: No Solution
Exploring Operation: 29*48=1392, Resulting Numbers: [1392]
1392,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[29, 94], Operations: ['82-53=29', '96-2=94']
Exploring Operation: 94-29=65, Resulting Numbers: [65]
65,92 unequal: No Solution
Exploring Operation: 29+94=123, Resulting Numbers: [123]
123,92 unequal: No Solution
Exploring Operation: 29*94=2726, Resulting Numbers: [2726]
2726,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 92:[96, 27], Operations: ['82-53=29', '29-2=27']
Exploring Operation: 96+27=123, Resulting Numbers: [123]
123,92 unequal: No Solution
Exploring Operation: 96-27=69, Resulting Numbers: [69]
69,92 unequal: No Solution
Exploring Operation: 96*27=2592, Resulting Numbers: [2592]
2592,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 92:[29, 98], Operations: ['82-53=29', '96+2=98']
Exploring Operation: 29*98=2842, Resulting Numbers: [2842]
2842,92 unequal: No Solution
Exploring Operation: 98-29=69, Resulting Numbers: [69]
69,92 unequal: No Solution
Exploring Operation: 29+98=127, Resulting Numbers: [127]
127,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:[2, 82, 43], Operations: ['96-53=43']
Exploring Operation: 82/2=41, Resulting Numbers: [43, 41]
Generated Node #0,3,0: 92:[43, 41] Operation: 82/2=41
Exploring Operation: 2+82=84, Resulting Numbers: [43, 84]
Generated Node #0,3,1: 92:[43, 84] Operation: 2+82=84
Exploring Operation: 82-43=39, Resulting Numbers: [2, 39]
Generated Node #0,3,2: 92:[2, 39] Operation: 82-43=39
Exploring Operation: 2+43=45, Resulting Numbers: [82, 45]
Generated Node #0,3,3: 92:[82, 45] Operation: 2+43=45
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 92:[2, 39], Operations: ['96-53=43', '82-43=39']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,92 unequal: No Solution
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,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,3,0
Current State: 92:[43, 41], Operations: ['96-53=43', '82/2=41']
Exploring Operation: 43*41=1763, Resulting Numbers: [1763]
1763,92 unequal: No Solution
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 43+41=84, Resulting Numbers: [84]
84,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,3,1
Current State: 92:[43, 84], Operations: ['96-53=43', '2+82=84']
Exploring Operation: 43+84=127, Resulting Numbers: [127]
127,92 unequal: No Solution
Exploring Operation: 43*84=3612, Resulting Numbers: [3612]
3612,92 unequal: No Solution
Exploring Operation: 84-43=41, Resulting Numbers: [41]
41,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,3,3
Current State: 92:[82, 45], Operations: ['96-53=43', '2+43=45']
Exploring Operation: 82+45=127, Resulting Numbers: [127]
127,92 unequal: No Solution
Exploring Operation: 82*45=3690, Resulting Numbers: [3690]
3690,92 unequal: No Solution
Exploring Operation: 82-45=37, Resulting Numbers: [37]
37,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 92:[96, 53, 41], Operations: ['82/2=41']
Exploring Operation: 96-41=55, Resulting Numbers: [53, 55]
Generated Node #0,2,0: 92:[53, 55] Operation: 96-41=55
Exploring Operation: 53+41=94, Resulting Numbers: [96, 94]
Generated Node #0,2,1: 92:[96, 94] Operation: 53+41=94
Exploring Operation: 96-53=43, Resulting Numbers: [41, 43]
Generated Node #0,2,2: 92:[41, 43] Operation: 96-53=43
Exploring Operation: 53-41=12, Resulting Numbers: [96, 12]
Generated Node #0,2,3: 92:[96, 12] Operation: 53-41=12
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[96, 94], Operations: ['82/2=41', '53+41=94']
Exploring Operation: 96-94=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 96+94=190, Resulting Numbers: [190]
190,92 unequal: No Solution
Exploring Operation: 96*94=9024, Resulting Numbers: [9024]
9024,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:[41, 43], Operations: ['82/2=41', '96-53=43']
Exploring Operation: 41+43=84, Resulting Numbers: [84]
84,92 unequal: No Solution
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 41*43=1763, Resulting Numbers: [1763]
1763,92 unequal: No Solution
No 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:[96, 12], Operations: ['82/2=41', '53-41=12']
Exploring Operation: 96-12=84, Resulting Numbers: [84]
84,92 unequal: No Solution
Exploring Operation: 96/12=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Exploring Operation: 96*12=1152, Resulting Numbers: [1152]
1152,92 unequal: No Solution
Exploring Operation: 96+12=108, Resulting Numbers: [108]
108,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,0
Current State: 92:[53, 55], Operations: ['82/2=41', '96-41=55']
Exploring Operation: 53+55=108, Resulting Numbers: [108]
108,92 unequal: No Solution
Exploring Operation: 53*55=2915, Resulting Numbers: [2915]
2915,92 unequal: No Solution
Exploring Operation: 55-53=2, Resulting Numbers: [2]
2,92 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: 92:[53, 2, 14], Operations: ['96-82=14']
Exploring Operation: 2*14=28, Resulting Numbers: [53, 28]
Generated Node #0,1,0: 92:[53, 28] Operation: 2*14=28
Exploring Operation: 53-14=39, Resulting Numbers: [2, 39]
Generated Node #0,1,1: 92:[2, 39] Operation: 53-14=39
Exploring Operation: 14/2=7, Resulting Numbers: [53, 7]
Generated Node #0,1,2: 92:[53, 7] Operation: 14/2=7
Exploring Operation: 53-2=51, Resulting Numbers: [14, 51]
Generated Node #0,1,3: 92:[14, 51] Operation: 53-2=51
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 92:[2, 39], Operations: ['96-82=14', '53-14=39']
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,92 unequal: No Solution
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,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,1,2
Current State: 92:[53, 7], Operations: ['96-82=14', '14/2=7']
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Exploring Operation: 53*7=371, Resulting Numbers: [371]
371,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,1,0
Current State: 92:[53, 28], Operations: ['96-82=14', '2*14=28']
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,92 unequal: No Solution
Exploring Operation: 53+28=81, Resulting Numbers: [81]
81,92 unequal: No Solution
Exploring Operation: 53*28=1484, Resulting Numbers: [1484]
1484,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,1,3
Current State: 92:[14, 51], Operations: ['96-82=14', '53-2=51']
Exploring Operation: 14*51=714, Resulting Numbers: [714]
714,92 unequal: No Solution
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,92 unequal: No Solution
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
87,
98,
71,
50
] | 32 | [
"98-87=11",
"71-50=21",
"11+21=32"
] | Current State: 32:[87, 98, 71, 50], Operations: []
Exploring Operation: 98-87=11, Resulting Numbers: [71, 50, 11]
Generated Node #2: [71, 50, 11] from Operation: 98-87=11
Current State: 32:[71, 50, 11], Operations: ['98-87=11']
Exploring Operation: 71-50=21, Resulting Numbers: [11, 21]
Generated Node #3: [11, 21] from Operation: 71-50=21
Current State: 32:[11, 21], Operations: ['98-87=11', '71-50=21']
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[87, 98, 71, 50], Operations: []
Exploring Operation: 87-71=16, Resulting Numbers: [98, 50, 16]
Generated Node #0,0: 32:[98, 50, 16] Operation: 87-71=16
Exploring Operation: 98-87=11, Resulting Numbers: [71, 50, 11]
Generated Node #0,1: 32:[71, 50, 11] Operation: 98-87=11
Exploring Operation: 87-50=37, Resulting Numbers: [98, 71, 37]
Generated Node #0,2: 32:[98, 71, 37] Operation: 87-50=37
Exploring Operation: 98-71=27, Resulting Numbers: [87, 50, 27]
Generated Node #0,3: 32:[87, 50, 27] Operation: 98-71=27
Exploring Operation: 98-50=48, Resulting Numbers: [87, 71, 48]
Generated Node #0,4: 32:[87, 71, 48] Operation: 98-50=48
Moving to Node #0,1
Current State: 32:[71, 50, 11], Operations: ['98-87=11']
Exploring Operation: 50+11=61, Resulting Numbers: [71, 61]
Generated Node #0,1,0: 32:[71, 61] Operation: 50+11=61
Exploring Operation: 71-11=60, Resulting Numbers: [50, 60]
Generated Node #0,1,1: 32:[50, 60] Operation: 71-11=60
Exploring Operation: 71-50=21, Resulting Numbers: [11, 21]
Generated Node #0,1,2: 32:[11, 21] Operation: 71-50=21
Exploring Operation: 50-11=39, Resulting Numbers: [71, 39]
Generated Node #0,1,3: 32:[71, 39] Operation: 50-11=39
Exploring Operation: 71+11=82, Resulting Numbers: [50, 82]
Generated Node #0,1,4: 32:[50, 82] Operation: 71+11=82
Moving to Node #0,3
Current State: 32:[87, 50, 27], Operations: ['98-71=27']
Exploring Operation: 50+27=77, Resulting Numbers: [87, 77]
Generated Node #0,3,0: 32:[87, 77] Operation: 50+27=77
Exploring Operation: 50-27=23, Resulting Numbers: [87, 23]
Generated Node #0,3,1: 32:[87, 23] Operation: 50-27=23
Exploring Operation: 87-27=60, Resulting Numbers: [50, 60]
Generated Node #0,3,2: 32:[50, 60] Operation: 87-27=60
Exploring Operation: 87+27=114, Resulting Numbers: [50, 114]
Generated Node #0,3,3: 32:[50, 114] Operation: 87+27=114
Exploring Operation: 87-50=37, Resulting Numbers: [27, 37]
Generated Node #0,3,4: 32:[27, 37] Operation: 87-50=37
Moving to Node #0,0
Current State: 32:[98, 50, 16], Operations: ['87-71=16']
Exploring Operation: 50+16=66, Resulting Numbers: [98, 66]
Generated Node #0,0,0: 32:[98, 66] Operation: 50+16=66
Exploring Operation: 98+16=114, Resulting Numbers: [50, 114]
Generated Node #0,0,1: 32:[50, 114] Operation: 98+16=114
Exploring Operation: 98-50=48, Resulting Numbers: [16, 48]
Generated Node #0,0,2: 32:[16, 48] Operation: 98-50=48
Exploring Operation: 50-16=34, Resulting Numbers: [98, 34]
Generated Node #0,0,3: 32:[98, 34] Operation: 50-16=34
Exploring Operation: 98-16=82, Resulting Numbers: [50, 82]
Generated Node #0,0,4: 32:[50, 82] Operation: 98-16=82
Moving to Node #0,2
Current State: 32:[98, 71, 37], Operations: ['87-50=37']
Exploring Operation: 98+71=169, Resulting Numbers: [37, 169]
Generated Node #0,2,0: 32:[37, 169] Operation: 98+71=169
Exploring Operation: 71-37=34, Resulting Numbers: [98, 34]
Generated Node #0,2,1: 32:[98, 34] Operation: 71-37=34
Exploring Operation: 98+37=135, Resulting Numbers: [71, 135]
Generated Node #0,2,2: 32:[71, 135] Operation: 98+37=135
Exploring Operation: 98-37=61, Resulting Numbers: [71, 61]
Generated Node #0,2,3: 32:[71, 61] Operation: 98-37=61
Exploring Operation: 98-71=27, Resulting Numbers: [37, 27]
Generated Node #0,2,4: 32:[37, 27] Operation: 98-71=27
Moving to Node #0,4
Current State: 32:[87, 71, 48], Operations: ['98-50=48']
Exploring Operation: 87-48=39, Resulting Numbers: [71, 39]
Generated Node #0,4,0: 32:[71, 39] Operation: 87-48=39
Exploring Operation: 71-48=23, Resulting Numbers: [87, 23]
Generated Node #0,4,1: 32:[87, 23] Operation: 71-48=23
Exploring Operation: 87+48=135, Resulting Numbers: [71, 135]
Generated Node #0,4,2: 32:[71, 135] Operation: 87+48=135
Exploring Operation: 87-71=16, Resulting Numbers: [48, 16]
Generated Node #0,4,3: 32:[48, 16] Operation: 87-71=16
Exploring Operation: 87+71=158, Resulting Numbers: [48, 158]
Generated Node #0,4,4: 32:[48, 158] Operation: 87+71=158
Moving to Node #0,1,2
Current State: 32:[11, 21], Operations: ['98-87=11', '71-50=21']
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,32 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[87, 98, 71, 50], Operations: []
Exploring Operation: 98-87=11, Resulting Numbers: [71, 50, 11]
Generated Node #0,1: 32:[71, 50, 11] Operation: 98-87=11
Moving to Node #0,1
Current State: 32:[71, 50, 11], Operations: ['98-87=11']
Exploring Operation: 71-50=21, Resulting Numbers: [11, 21]
Generated Node #0,1,2: 32:[11, 21] Operation: 71-50=21
Moving to Node #0,1,2
Current State: 32:[11, 21], Operations: ['98-87=11', '71-50=21']
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 0.967882 | hs_5 | sum_heuristic |
[
58,
54,
76,
97
] | 100 | [
"76-58=18",
"54/18=3",
"97+3=100"
] | Current State: 100:[58, 54, 76, 97], Operations: []
Exploring Operation: 76-58=18, Resulting Numbers: [54, 97, 18]
Generated Node #2: [54, 97, 18] from Operation: 76-58=18
Current State: 100:[54, 97, 18], Operations: ['76-58=18']
Exploring Operation: 54/18=3, Resulting Numbers: [97, 3]
Generated Node #3: [97, 3] from Operation: 54/18=3
Current State: 100:[97, 3], Operations: ['76-58=18', '54/18=3']
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[58, 54, 76, 97], Operations: []
Exploring Operation: 76-54=22, Resulting Numbers: [58, 97, 22]
Generated Node #0,0: 100:[58, 97, 22] Operation: 76-54=22
Exploring Operation: 58+54=112, Resulting Numbers: [76, 97, 112]
Generated Node #0,1: 100:[76, 97, 112] Operation: 58+54=112
Exploring Operation: 76-58=18, Resulting Numbers: [54, 97, 18]
Generated Node #0,2: 100:[54, 97, 18] Operation: 76-58=18
Exploring Operation: 97-76=21, Resulting Numbers: [58, 54, 21]
Generated Node #0,3: 100:[58, 54, 21] Operation: 97-76=21
Exploring Operation: 58-54=4, Resulting Numbers: [76, 97, 4]
Generated Node #0,4: 100:[76, 97, 4] Operation: 58-54=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[54, 97, 18], Operations: ['76-58=18']
Exploring Operation: 54/18=3, Resulting Numbers: [97, 3]
Generated Node #0,2,0: 100:[97, 3] Operation: 54/18=3
Exploring Operation: 54-18=36, Resulting Numbers: [97, 36]
Generated Node #0,2,1: 100:[97, 36] Operation: 54-18=36
Exploring Operation: 54+18=72, Resulting Numbers: [97, 72]
Generated Node #0,2,2: 100:[97, 72] Operation: 54+18=72
Exploring Operation: 97+18=115, Resulting Numbers: [54, 115]
Generated Node #0,2,3: 100:[54, 115] Operation: 97+18=115
Exploring Operation: 97-54=43, Resulting Numbers: [18, 43]
Generated Node #0,2,4: 100:[18, 43] Operation: 97-54=43
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 100:[97, 3], Operations: ['76-58=18', '54/18=3']
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,100 unequal: No Solution
Exploring Operation: 97*3=291, Resulting Numbers: [291]
291,100 unequal: No Solution
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[58, 54, 76, 97], Operations: []
Exploring Operation: 76-58=18, Resulting Numbers: [54, 97, 18]
Generated Node #0,2: 100:[54, 97, 18] Operation: 76-58=18
Moving to Node #0,2
Current State: 100:[54, 97, 18], Operations: ['76-58=18']
Exploring Operation: 54/18=3, Resulting Numbers: [97, 3]
Generated Node #0,2,0: 100:[97, 3] Operation: 54/18=3
Moving to Node #0,2,0
Current State: 100:[97, 3], Operations: ['76-58=18', '54/18=3']
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
14,
16,
69,
17
] | 83 | [
"14+69=83",
"17-16=1",
"83*1=83"
] | Current State: 83:[14, 16, 69, 17], Operations: []
Exploring Operation: 14+69=83, Resulting Numbers: [16, 17, 83]
Generated Node #2: [16, 17, 83] from Operation: 14+69=83
Current State: 83:[16, 17, 83], Operations: ['14+69=83']
Exploring Operation: 17-16=1, Resulting Numbers: [83, 1]
Generated Node #3: [83, 1] from Operation: 17-16=1
Current State: 83:[83, 1], Operations: ['14+69=83', '17-16=1']
Exploring Operation: 83*1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[14, 16, 69, 17], Operations: []
Exploring Operation: 14+69=83, Resulting Numbers: [16, 17, 83]
Generated Node #0,0: 83:[16, 17, 83] Operation: 14+69=83
Exploring Operation: 14+16=30, Resulting Numbers: [69, 17, 30]
Generated Node #0,1: 83:[69, 17, 30] Operation: 14+16=30
Exploring Operation: 14+17=31, Resulting Numbers: [16, 69, 31]
Generated Node #0,2: 83:[16, 69, 31] Operation: 14+17=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[16, 17, 83], Operations: ['14+69=83']
Exploring Operation: 16+83=99, Resulting Numbers: [17, 99]
Generated Node #0,0,0: 83:[17, 99] Operation: 16+83=99
Exploring Operation: 17-16=1, Resulting Numbers: [83, 1]
Generated Node #0,0,1: 83:[83, 1] Operation: 17-16=1
Exploring Operation: 16+17=33, Resulting Numbers: [83, 33]
Generated Node #0,0,2: 83:[83, 33] Operation: 16+17=33
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 83:[83, 33], Operations: ['14+69=83', '16+17=33']
Exploring Operation: 83+33=116, Resulting Numbers: [116]
116,83 unequal: No Solution
Exploring Operation: 83*33=2739, Resulting Numbers: [2739]
2739,83 unequal: No Solution
Exploring Operation: 83-33=50, Resulting Numbers: [50]
50,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[17, 99], Operations: ['14+69=83', '16+83=99']
Exploring Operation: 17+99=116, Resulting Numbers: [116]
116,83 unequal: No Solution
Exploring Operation: 99-17=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 17*99=1683, Resulting Numbers: [1683]
1683,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[83, 1], Operations: ['14+69=83', '17-16=1']
Exploring Operation: 83/1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[14, 16, 69, 17], Operations: []
Exploring Operation: 14+69=83, Resulting Numbers: [16, 17, 83]
Generated Node #0,0: 83:[16, 17, 83] Operation: 14+69=83
Moving to Node #0,0
Current State: 83:[16, 17, 83], Operations: ['14+69=83']
Exploring Operation: 17-16=1, Resulting Numbers: [83, 1]
Generated Node #0,0,1: 83:[83, 1] Operation: 17-16=1
Moving to Node #0,0,1
Current State: 83:[83, 1], Operations: ['14+69=83', '17-16=1']
Exploring Operation: 83/1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
25,
50,
77,
47
] | 34 | [
"25+77=102",
"50-47=3",
"102/3=34"
] | Current State: 34:[25, 50, 77, 47], Operations: []
Exploring Operation: 25+77=102, Resulting Numbers: [50, 47, 102]
Generated Node #2: [50, 47, 102] from Operation: 25+77=102
Current State: 34:[50, 47, 102], Operations: ['25+77=102']
Exploring Operation: 50-47=3, Resulting Numbers: [102, 3]
Generated Node #3: [102, 3] from Operation: 50-47=3
Current State: 34:[102, 3], Operations: ['25+77=102', '50-47=3']
Exploring Operation: 102/3=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[25, 50, 77, 47], Operations: []
Exploring Operation: 77-47=30, Resulting Numbers: [25, 50, 30]
Generated Node #0,0: 34:[25, 50, 30] Operation: 77-47=30
Exploring Operation: 77-50=27, Resulting Numbers: [25, 47, 27]
Generated Node #0,1: 34:[25, 47, 27] Operation: 77-50=27
Moving to Node #0,0
Current State: 34:[25, 50, 30], Operations: ['77-47=30']
Exploring Operation: 50/25=2, Resulting Numbers: [30, 2]
Generated Node #0,0,0: 34:[30, 2] Operation: 50/25=2
Exploring Operation: 50-30=20, Resulting Numbers: [25, 20]
Generated Node #0,0,1: 34:[25, 20] Operation: 50-30=20
Moving to Node #0,1
Current State: 34:[25, 47, 27], Operations: ['77-50=27']
Exploring Operation: 47-27=20, Resulting Numbers: [25, 20]
Generated Node #0,1,0: 34:[25, 20] Operation: 47-27=20
Exploring Operation: 47-25=22, Resulting Numbers: [27, 22]
Generated Node #0,1,1: 34:[27, 22] Operation: 47-25=22
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[25, 20], Operations: ['77-50=27', '47-27=20']
Exploring Operation: 25+20=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,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,1,1
Current State: 34:[27, 22], Operations: ['77-50=27', '47-25=22']
Exploring Operation: 27+22=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 34:[30, 2], Operations: ['77-47=30', '50/25=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,34 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[25, 20], Operations: ['77-47=30', '50-30=20']
Exploring Operation: 25+20=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,34 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
85,
33,
17,
68
] | 13 | [
"85-33=52",
"68/17=4",
"52/4=13"
] | Current State: 13:[85, 33, 17, 68], Operations: []
Exploring Operation: 85-33=52, Resulting Numbers: [17, 68, 52]
Generated Node #2: [17, 68, 52] from Operation: 85-33=52
Current State: 13:[17, 68, 52], Operations: ['85-33=52']
Exploring Operation: 68/17=4, Resulting Numbers: [52, 4]
Generated Node #3: [52, 4] from Operation: 68/17=4
Current State: 13:[52, 4], Operations: ['85-33=52', '68/17=4']
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[85, 33, 17, 68], Operations: []
Exploring Operation: 85-33=52, Resulting Numbers: [17, 68, 52]
Generated Node #0,0: 13:[17, 68, 52] Operation: 85-33=52
Exploring Operation: 85/17=5, Resulting Numbers: [33, 68, 5]
Generated Node #0,1: 13:[33, 68, 5] Operation: 85/17=5
Exploring Operation: 68-33=35, Resulting Numbers: [85, 17, 35]
Generated Node #0,2: 13:[85, 17, 35] Operation: 68-33=35
Exploring Operation: 85-68=17, Resulting Numbers: [33, 17, 17]
Generated Node #0,3: 13:[33, 17, 17] Operation: 85-68=17
Start Sub Search at level 1: Moving to Node #0,3
Current State: 13:[33, 17, 17], Operations: ['85-68=17']
Exploring Operation: 33-17=16, Resulting Numbers: [17, 16]
Generated Node #0,3,0: 13:[17, 16] Operation: 33-17=16
Exploring Operation: 33-17=16, Resulting Numbers: [17, 16]
Generated Node #0,3,1: 13:[17, 16] Operation: 33-17=16
Exploring Operation: 17-17=0, Resulting Numbers: [33, 0]
Generated Node #0,3,2: 13:[33, 0] Operation: 17-17=0
Exploring Operation: 17/17=1, Resulting Numbers: [33, 1]
Generated Node #0,3,3: 13:[33, 1] Operation: 17/17=1
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 13:[17, 16], Operations: ['85-68=17', '33-17=16']
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 17*16=272, Resulting Numbers: [272]
272,13 unequal: No Solution
Exploring Operation: 17+16=33, Resulting Numbers: [33]
33,13 unequal: No Solution
No 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: 13:[17, 16], Operations: ['85-68=17', '33-17=16']
Exploring Operation: 17*16=272, Resulting Numbers: [272]
272,13 unequal: No Solution
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 17+16=33, Resulting Numbers: [33]
33,13 unequal: No Solution
No 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: 13:[33, 1], Operations: ['85-68=17', '17/17=1']
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,13 unequal: No Solution
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,13 unequal: No Solution
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,13 unequal: No Solution
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,13 unequal: No Solution
No 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: 13:[33, 0], Operations: ['85-68=17', '17-17=0']
Exploring Operation: 33+0=33, Resulting Numbers: [33]
33,13 unequal: No Solution
Exploring Operation: 33*0=0, Resulting Numbers: [0]
0,13 unequal: No Solution
Exploring Operation: 33-0=33, Resulting Numbers: [33]
33,13 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: 13:[33, 68, 5], Operations: ['85/17=5']
Exploring Operation: 33+5=38, Resulting Numbers: [68, 38]
Generated Node #0,1,0: 13:[68, 38] Operation: 33+5=38
Exploring Operation: 68-33=35, Resulting Numbers: [5, 35]
Generated Node #0,1,1: 13:[5, 35] Operation: 68-33=35
Exploring Operation: 33-5=28, Resulting Numbers: [68, 28]
Generated Node #0,1,2: 13:[68, 28] Operation: 33-5=28
Exploring Operation: 68-5=63, Resulting Numbers: [33, 63]
Generated Node #0,1,3: 13:[33, 63] Operation: 68-5=63
Moving to Node #0,1,1
Current State: 13:[5, 35], Operations: ['85/17=5', '68-33=35']
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,13 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 5*35=175, Resulting Numbers: [175]
175,13 unequal: No Solution
Exploring Operation: 5+35=40, Resulting Numbers: [40]
40,13 unequal: No Solution
Moving to Node #0,1,3
Current State: 13:[33, 63], Operations: ['85/17=5', '68-5=63']
Exploring Operation: 33*63=2079, Resulting Numbers: [2079]
2079,13 unequal: No Solution
Exploring Operation: 33+63=96, Resulting Numbers: [96]
96,13 unequal: No Solution
Exploring Operation: 63-33=30, Resulting Numbers: [30]
30,13 unequal: No Solution
Moving to Node #0,1,2
Current State: 13:[68, 28], Operations: ['85/17=5', '33-5=28']
Exploring Operation: 68+28=96, Resulting Numbers: [96]
96,13 unequal: No Solution
Exploring Operation: 68-28=40, Resulting Numbers: [40]
40,13 unequal: No Solution
Exploring Operation: 68*28=1904, Resulting Numbers: [1904]
1904,13 unequal: No Solution
Moving to Node #0,1,0
Current State: 13:[68, 38], Operations: ['85/17=5', '33+5=38']
Exploring Operation: 68-38=30, Resulting Numbers: [30]
30,13 unequal: No Solution
Exploring Operation: 68+38=106, Resulting Numbers: [106]
106,13 unequal: No Solution
Exploring Operation: 68*38=2584, Resulting Numbers: [2584]
2584,13 unequal: No Solution
No 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: 13:[17, 68, 52], Operations: ['85-33=52']
Exploring Operation: 68-17=51, Resulting Numbers: [52, 51]
Generated Node #0,0,0: 13:[52, 51] Operation: 68-17=51
Exploring Operation: 68-52=16, Resulting Numbers: [17, 16]
Generated Node #0,0,1: 13:[17, 16] Operation: 68-52=16
Exploring Operation: 68/17=4, Resulting Numbers: [52, 4]
Generated Node #0,0,2: 13:[52, 4] Operation: 68/17=4
Exploring Operation: 52-17=35, Resulting Numbers: [68, 35]
Generated Node #0,0,3: 13:[68, 35] Operation: 52-17=35
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 13:[17, 16], Operations: ['85-33=52', '68-52=16']
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 17+16=33, Resulting Numbers: [33]
33,13 unequal: No Solution
Exploring Operation: 17*16=272, Resulting Numbers: [272]
272,13 unequal: No Solution
No 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: 13:[52, 4], Operations: ['85-33=52', '68/17=4']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,13 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[85, 33, 17, 68], Operations: []
Exploring Operation: 85-33=52, Resulting Numbers: [17, 68, 52]
Generated Node #0,0: 13:[17, 68, 52] Operation: 85-33=52
Moving to Node #0,0
Current State: 13:[17, 68, 52], Operations: ['85-33=52']
Exploring Operation: 68/17=4, Resulting Numbers: [52, 4]
Generated Node #0,0,2: 13:[52, 4] Operation: 68/17=4
Moving to Node #0,0,2
Current State: 13:[52, 4], Operations: ['85-33=52', '68/17=4']
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.955729 | hs_4 | mult_heuristic |
[
3,
59,
56,
48
] | 17 | [
"3+48=51",
"59-56=3",
"51/3=17"
] | Current State: 17:[3, 59, 56, 48], Operations: []
Exploring Operation: 3+48=51, Resulting Numbers: [59, 56, 51]
Generated Node #2: [59, 56, 51] from Operation: 3+48=51
Current State: 17:[59, 56, 51], Operations: ['3+48=51']
Exploring Operation: 59-56=3, Resulting Numbers: [51, 3]
Generated Node #3: [51, 3] from Operation: 59-56=3
Current State: 17:[51, 3], Operations: ['3+48=51', '59-56=3']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[3, 59, 56, 48], Operations: []
Exploring Operation: 59-56=3, Resulting Numbers: [3, 48, 3]
Generated Node #0,0: 17:[3, 48, 3] Operation: 59-56=3
Exploring Operation: 59-48=11, Resulting Numbers: [3, 56, 11]
Generated Node #0,1: 17:[3, 56, 11] Operation: 59-48=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[3, 48, 3], Operations: ['59-56=3']
Exploring Operation: 48/3=16, Resulting Numbers: [3, 16]
Generated Node #0,0,0: 17:[3, 16] Operation: 48/3=16
Exploring Operation: 48/3=16, Resulting Numbers: [3, 16]
Generated Node #0,0,1: 17:[3, 16] Operation: 48/3=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[3, 16], Operations: ['59-56=3', '48/3=16']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,17 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 17:[3, 16], Operations: ['59-56=3', '48/3=16']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,17 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[3, 56, 11], Operations: ['59-48=11']
Exploring Operation: 56-3=53, Resulting Numbers: [11, 53]
Generated Node #0,1,0: 17:[11, 53] Operation: 56-3=53
Exploring Operation: 3+11=14, Resulting Numbers: [56, 14]
Generated Node #0,1,1: 17:[56, 14] Operation: 3+11=14
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 17:[11, 53], Operations: ['59-48=11', '56-3=53']
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,17 unequal: No Solution
Exploring Operation: 11+53=64, Resulting Numbers: [64]
64,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 17:[56, 14], Operations: ['59-48=11', '3+11=14']
Exploring Operation: 56/14=4, Resulting Numbers: [4]
4,17 unequal: No Solution
Exploring Operation: 56-14=42, Resulting Numbers: [42]
42,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
45,
21,
86,
79
] | 77 | [
"86+79=165",
"21*165=3465",
"3465/45=77"
] | Current State: 77:[45, 21, 86, 79], Operations: []
Exploring Operation: 86+79=165, Resulting Numbers: [45, 21, 165]
Generated Node #2: [45, 21, 165] from Operation: 86+79=165
Current State: 77:[45, 21, 165], Operations: ['86+79=165']
Exploring Operation: 21*165=3465, Resulting Numbers: [45, 3465]
Generated Node #3: [45, 3465] from Operation: 21*165=3465
Current State: 77:[45, 3465], Operations: ['86+79=165', '21*165=3465']
Exploring Operation: 3465/45=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[45, 21, 86, 79], Operations: []
Exploring Operation: 45-21=24, Resulting Numbers: [86, 79, 24]
Generated Node #0,0: 77:[86, 79, 24] Operation: 45-21=24
Exploring Operation: 45+21=66, Resulting Numbers: [86, 79, 66]
Generated Node #0,1: 77:[86, 79, 66] Operation: 45+21=66
Exploring Operation: 86-45=41, Resulting Numbers: [21, 79, 41]
Generated Node #0,2: 77:[21, 79, 41] Operation: 86-45=41
Exploring Operation: 79-45=34, Resulting Numbers: [21, 86, 34]
Generated Node #0,3: 77:[21, 86, 34] Operation: 79-45=34
Moving to Node #0,1
Current State: 77:[86, 79, 66], Operations: ['45+21=66']
Exploring Operation: 86-79=7, Resulting Numbers: [66, 7]
Generated Node #0,1,0: 77:[66, 7] Operation: 86-79=7
Exploring Operation: 86+66=152, Resulting Numbers: [79, 152]
Generated Node #0,1,1: 77:[79, 152] Operation: 86+66=152
Exploring Operation: 86-66=20, Resulting Numbers: [79, 20]
Generated Node #0,1,2: 77:[79, 20] Operation: 86-66=20
Exploring Operation: 79-66=13, Resulting Numbers: [86, 13]
Generated Node #0,1,3: 77:[86, 13] Operation: 79-66=13
Moving to Node #0,0
Current State: 77:[86, 79, 24], Operations: ['45-21=24']
Exploring Operation: 79-24=55, Resulting Numbers: [86, 55]
Generated Node #0,0,0: 77:[86, 55] Operation: 79-24=55
Exploring Operation: 86-24=62, Resulting Numbers: [79, 62]
Generated Node #0,0,1: 77:[79, 62] Operation: 86-24=62
Exploring Operation: 86+24=110, Resulting Numbers: [79, 110]
Generated Node #0,0,2: 77:[79, 110] Operation: 86+24=110
Exploring Operation: 86-79=7, Resulting Numbers: [24, 7]
Generated Node #0,0,3: 77:[24, 7] Operation: 86-79=7
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 77:[24, 7], Operations: ['45-21=24', '86-79=7']
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,77 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,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:[79, 62], Operations: ['45-21=24', '86-24=62']
Exploring Operation: 79-62=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Exploring Operation: 79*62=4898, Resulting Numbers: [4898]
4898,77 unequal: No Solution
Exploring Operation: 79+62=141, Resulting Numbers: [141]
141,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[86, 55], Operations: ['45-21=24', '79-24=55']
Exploring Operation: 86-55=31, Resulting Numbers: [31]
31,77 unequal: No Solution
Exploring Operation: 86*55=4730, Resulting Numbers: [4730]
4730,77 unequal: No Solution
Exploring Operation: 86+55=141, Resulting Numbers: [141]
141,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:[79, 110], Operations: ['45-21=24', '86+24=110']
Exploring Operation: 79*110=8690, Resulting Numbers: [8690]
8690,77 unequal: No Solution
Exploring Operation: 110-79=31, Resulting Numbers: [31]
31,77 unequal: No Solution
Exploring Operation: 79+110=189, Resulting Numbers: [189]
189,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:[21, 86, 34], Operations: ['79-45=34']
Exploring Operation: 34-21=13, Resulting Numbers: [86, 13]
Generated Node #0,3,0: 77:[86, 13] Operation: 34-21=13
Exploring Operation: 86-21=65, Resulting Numbers: [34, 65]
Generated Node #0,3,1: 77:[34, 65] Operation: 86-21=65
Exploring Operation: 21+34=55, Resulting Numbers: [86, 55]
Generated Node #0,3,2: 77:[86, 55] Operation: 21+34=55
Exploring Operation: 86-34=52, Resulting Numbers: [21, 52]
Generated Node #0,3,3: 77:[21, 52] Operation: 86-34=52
Moving to Node #0,2
Current State: 77:[21, 79, 41], Operations: ['86-45=41']
Exploring Operation: 79-21=58, Resulting Numbers: [41, 58]
Generated Node #0,2,0: 77:[41, 58] Operation: 79-21=58
Exploring Operation: 79-41=38, Resulting Numbers: [21, 38]
Generated Node #0,2,1: 77:[21, 38] Operation: 79-41=38
Exploring Operation: 21+41=62, Resulting Numbers: [79, 62]
Generated Node #0,2,2: 77:[79, 62] Operation: 21+41=62
Exploring Operation: 41-21=20, Resulting Numbers: [79, 20]
Generated Node #0,2,3: 77:[79, 20] Operation: 41-21=20
Moving to Node #0,1,0
Current State: 77:[66, 7], Operations: ['45+21=66', '86-79=7']
Exploring Operation: 66+7=73, Resulting Numbers: [73]
73,77 unequal: No Solution
Exploring Operation: 66*7=462, Resulting Numbers: [462]
462,77 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,77 unequal: No Solution
Moving to Node #0,1,3
Current State: 77:[86, 13], Operations: ['45+21=66', '79-66=13']
Exploring Operation: 86*13=1118, Resulting Numbers: [1118]
1118,77 unequal: No Solution
Exploring Operation: 86-13=73, Resulting Numbers: [73]
73,77 unequal: No Solution
Exploring Operation: 86+13=99, Resulting Numbers: [99]
99,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[79, 20], Operations: ['45+21=66', '86-66=20']
Exploring Operation: 79-20=59, Resulting Numbers: [59]
59,77 unequal: No Solution
Exploring Operation: 79+20=99, Resulting Numbers: [99]
99,77 unequal: No Solution
Exploring Operation: 79*20=1580, Resulting Numbers: [1580]
1580,77 unequal: No Solution
Moving to Node #0,3,0
Current State: 77:[86, 13], Operations: ['79-45=34', '34-21=13']
Exploring Operation: 86+13=99, Resulting Numbers: [99]
99,77 unequal: No Solution
Exploring Operation: 86*13=1118, Resulting Numbers: [1118]
1118,77 unequal: No Solution
Exploring Operation: 86-13=73, Resulting Numbers: [73]
73,77 unequal: No Solution
Moving to Node #0,2,3
Current State: 77:[79, 20], Operations: ['86-45=41', '41-21=20']
Exploring Operation: 79*20=1580, Resulting Numbers: [1580]
1580,77 unequal: No Solution
Exploring Operation: 79-20=59, Resulting Numbers: [59]
59,77 unequal: No Solution
Exploring Operation: 79+20=99, Resulting Numbers: [99]
99,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[79, 62], Operations: ['86-45=41', '21+41=62']
Exploring Operation: 79*62=4898, Resulting Numbers: [4898]
4898,77 unequal: No Solution
Exploring Operation: 79-62=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Exploring Operation: 79+62=141, Resulting Numbers: [141]
141,77 unequal: No Solution
Moving to Node #0,3,2
Current State: 77:[86, 55], Operations: ['79-45=34', '21+34=55']
Exploring Operation: 86+55=141, Resulting Numbers: [141]
141,77 unequal: No Solution
Exploring Operation: 86*55=4730, Resulting Numbers: [4730]
4730,77 unequal: No Solution
Exploring Operation: 86-55=31, Resulting Numbers: [31]
31,77 unequal: No Solution
Moving to Node #0,3,1
Current State: 77:[34, 65], Operations: ['79-45=34', '86-21=65']
Exploring Operation: 34+65=99, Resulting Numbers: [99]
99,77 unequal: No Solution
Exploring Operation: 34*65=2210, Resulting Numbers: [2210]
2210,77 unequal: No Solution
Exploring Operation: 65-34=31, Resulting Numbers: [31]
31,77 unequal: No Solution
Moving to Node #0,3,3
Current State: 77:[21, 52], Operations: ['79-45=34', '86-34=52']
Exploring Operation: 21+52=73, Resulting Numbers: [73]
73,77 unequal: No Solution
Exploring Operation: 21*52=1092, Resulting Numbers: [1092]
1092,77 unequal: No Solution
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,77 unequal: No Solution
Moving to Node #0,2,1
Current State: 77:[21, 38], Operations: ['86-45=41', '79-41=38']
Exploring Operation: 21*38=798, Resulting Numbers: [798]
798,77 unequal: No Solution
Exploring Operation: 21+38=59, Resulting Numbers: [59]
59,77 unequal: No Solution
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Moving to Node #0,2,0
Current State: 77:[41, 58], Operations: ['86-45=41', '79-21=58']
Exploring Operation: 41*58=2378, Resulting Numbers: [2378]
2378,77 unequal: No Solution
Exploring Operation: 41+58=99, Resulting Numbers: [99]
99,77 unequal: No Solution
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[79, 152], Operations: ['45+21=66', '86+66=152']
Exploring Operation: 79*152=12008, Resulting Numbers: [12008]
12008,77 unequal: No Solution
Exploring Operation: 152-79=73, Resulting Numbers: [73]
73,77 unequal: No Solution
Exploring Operation: 79+152=231, Resulting Numbers: [231]
231,77 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
43,
73,
45,
28
] | 59 | [
"45-43=2",
"28/2=14",
"73-14=59"
] | Current State: 59:[43, 73, 45, 28], Operations: []
Exploring Operation: 45-43=2, Resulting Numbers: [73, 28, 2]
Generated Node #2: [73, 28, 2] from Operation: 45-43=2
Current State: 59:[73, 28, 2], Operations: ['45-43=2']
Exploring Operation: 28/2=14, Resulting Numbers: [73, 14]
Generated Node #3: [73, 14] from Operation: 28/2=14
Current State: 59:[73, 14], Operations: ['45-43=2', '28/2=14']
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[43, 73, 45, 28], Operations: []
Exploring Operation: 43+28=71, Resulting Numbers: [73, 45, 71]
Generated Node #0,0: 59:[73, 45, 71] Operation: 43+28=71
Exploring Operation: 73-28=45, Resulting Numbers: [43, 45, 45]
Generated Node #0,1: 59:[43, 45, 45] Operation: 73-28=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[73, 45, 71], Operations: ['43+28=71']
Exploring Operation: 71-45=26, Resulting Numbers: [73, 26]
Generated Node #0,0,0: 59:[73, 26] Operation: 71-45=26
Exploring Operation: 73-45=28, Resulting Numbers: [71, 28]
Generated Node #0,0,1: 59:[71, 28] Operation: 73-45=28
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 59:[71, 28], Operations: ['43+28=71', '73-45=28']
Exploring Operation: 71+28=99, Resulting Numbers: [99]
99,59 unequal: No Solution
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[73, 26], Operations: ['43+28=71', '71-45=26']
Exploring Operation: 73-26=47, Resulting Numbers: [47]
47,59 unequal: No Solution
Exploring Operation: 73+26=99, Resulting Numbers: [99]
99,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[43, 45, 45], Operations: ['73-28=45']
Exploring Operation: 43+45=88, Resulting Numbers: [45, 88]
Generated Node #0,1,0: 59:[45, 88] Operation: 43+45=88
Exploring Operation: 43+45=88, Resulting Numbers: [45, 88]
Generated Node #0,1,1: 59:[45, 88] Operation: 43+45=88
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 59:[45, 88], Operations: ['73-28=45', '43+45=88']
Exploring Operation: 88-45=43, Resulting Numbers: [43]
43,59 unequal: No Solution
Exploring Operation: 45+88=133, Resulting Numbers: [133]
133,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 59:[45, 88], Operations: ['73-28=45', '43+45=88']
Exploring Operation: 45+88=133, Resulting Numbers: [133]
133,59 unequal: No Solution
Exploring Operation: 88-45=43, Resulting Numbers: [43]
43,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
26,
42,
17,
72
] | 72 | [
"42-26=16",
"17-16=1",
"72*1=72"
] | Current State: 72:[26, 42, 17, 72], Operations: []
Exploring Operation: 42-26=16, Resulting Numbers: [17, 72, 16]
Generated Node #2: [17, 72, 16] from Operation: 42-26=16
Current State: 72:[17, 72, 16], Operations: ['42-26=16']
Exploring Operation: 17-16=1, Resulting Numbers: [72, 1]
Generated Node #3: [72, 1] from Operation: 17-16=1
Current State: 72:[72, 1], Operations: ['42-26=16', '17-16=1']
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[26, 42, 17, 72], Operations: []
Exploring Operation: 42-26=16, Resulting Numbers: [17, 72, 16]
Generated Node #0,0: 72:[17, 72, 16] Operation: 42-26=16
Exploring Operation: 26-17=9, Resulting Numbers: [42, 72, 9]
Generated Node #0,1: 72:[42, 72, 9] Operation: 26-17=9
Exploring Operation: 26+42=68, Resulting Numbers: [17, 72, 68]
Generated Node #0,2: 72:[17, 72, 68] Operation: 26+42=68
Exploring Operation: 42-17=25, Resulting Numbers: [26, 72, 25]
Generated Node #0,3: 72:[26, 72, 25] Operation: 42-17=25
Moving to Node #0,0
Current State: 72:[17, 72, 16], Operations: ['42-26=16']
Exploring Operation: 72-16=56, Resulting Numbers: [17, 56]
Generated Node #0,0,0: 72:[17, 56] Operation: 72-16=56
Exploring Operation: 17+16=33, Resulting Numbers: [72, 33]
Generated Node #0,0,1: 72:[72, 33] Operation: 17+16=33
Exploring Operation: 17-16=1, Resulting Numbers: [72, 1]
Generated Node #0,0,2: 72:[72, 1] Operation: 17-16=1
Exploring Operation: 72+16=88, Resulting Numbers: [17, 88]
Generated Node #0,0,3: 72:[17, 88] Operation: 72+16=88
Moving to Node #0,3
Current State: 72:[26, 72, 25], Operations: ['42-17=25']
Exploring Operation: 26+25=51, Resulting Numbers: [72, 51]
Generated Node #0,3,0: 72:[72, 51] Operation: 26+25=51
Exploring Operation: 72-26=46, Resulting Numbers: [25, 46]
Generated Node #0,3,1: 72:[25, 46] Operation: 72-26=46
Exploring Operation: 72-25=47, Resulting Numbers: [26, 47]
Generated Node #0,3,2: 72:[26, 47] Operation: 72-25=47
Exploring Operation: 26-25=1, Resulting Numbers: [72, 1]
Generated Node #0,3,3: 72:[72, 1] Operation: 26-25=1
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 72:[72, 1], Operations: ['42-17=25', '26-25=1']
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,72 unequal: No Solution
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[26, 42, 17, 72], Operations: []
Exploring Operation: 42-17=25, Resulting Numbers: [26, 72, 25]
Generated Node #0,3: 72:[26, 72, 25] Operation: 42-17=25
Moving to Node #0,3
Current State: 72:[26, 72, 25], Operations: ['42-17=25']
Exploring Operation: 26-25=1, Resulting Numbers: [72, 1]
Generated Node #0,3,3: 72:[72, 1] Operation: 26-25=1
Moving to Node #0,3,3
Current State: 72:[72, 1], Operations: ['42-17=25', '26-25=1']
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
97,
47,
32,
86
] | 42 | [
"47*86=4042",
"32+4042=4074",
"4074/97=42"
] | Current State: 42:[97, 47, 32, 86], Operations: []
Exploring Operation: 47*86=4042, Resulting Numbers: [97, 32, 4042]
Generated Node #2: [97, 32, 4042] from Operation: 47*86=4042
Current State: 42:[97, 32, 4042], Operations: ['47*86=4042']
Exploring Operation: 32+4042=4074, Resulting Numbers: [97, 4074]
Generated Node #3: [97, 4074] from Operation: 32+4042=4074
Current State: 42:[97, 4074], Operations: ['47*86=4042', '32+4042=4074']
Exploring Operation: 4074/97=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[97, 47, 32, 86], Operations: []
Exploring Operation: 97-86=11, Resulting Numbers: [47, 32, 11]
Generated Node #0,0: 42:[47, 32, 11] Operation: 97-86=11
Moving to Node #0,0
Current State: 42:[47, 32, 11], Operations: ['97-86=11']
Exploring Operation: 47-32=15, Resulting Numbers: [11, 15]
Generated Node #0,0,0: 42:[11, 15] Operation: 47-32=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[11, 15], Operations: ['97-86=11', '47-32=15']
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,42 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 |
[
16,
87,
73,
47
] | 77 | [
"16+87=103",
"73-47=26",
"103-26=77"
] | Current State: 77:[16, 87, 73, 47], Operations: []
Exploring Operation: 16+87=103, Resulting Numbers: [73, 47, 103]
Generated Node #2: [73, 47, 103] from Operation: 16+87=103
Current State: 77:[73, 47, 103], Operations: ['16+87=103']
Exploring Operation: 73-47=26, Resulting Numbers: [103, 26]
Generated Node #3: [103, 26] from Operation: 73-47=26
Current State: 77:[103, 26], Operations: ['16+87=103', '73-47=26']
Exploring Operation: 103-26=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[16, 87, 73, 47], Operations: []
Exploring Operation: 47-16=31, Resulting Numbers: [87, 73, 31]
Generated Node #0,0: 77:[87, 73, 31] Operation: 47-16=31
Exploring Operation: 73-47=26, Resulting Numbers: [16, 87, 26]
Generated Node #0,1: 77:[16, 87, 26] Operation: 73-47=26
Exploring Operation: 16+47=63, Resulting Numbers: [87, 73, 63]
Generated Node #0,2: 77:[87, 73, 63] Operation: 16+47=63
Exploring Operation: 87-73=14, Resulting Numbers: [16, 47, 14]
Generated Node #0,3: 77:[16, 47, 14] Operation: 87-73=14
Exploring Operation: 87-47=40, Resulting Numbers: [16, 73, 40]
Generated Node #0,4: 77:[16, 73, 40] Operation: 87-47=40
Moving to Node #0,2
Current State: 77:[87, 73, 63], Operations: ['16+47=63']
Exploring Operation: 73-63=10, Resulting Numbers: [87, 10]
Generated Node #0,2,0: 77:[87, 10] Operation: 73-63=10
Exploring Operation: 87-63=24, Resulting Numbers: [73, 24]
Generated Node #0,2,1: 77:[73, 24] Operation: 87-63=24
Exploring Operation: 87-73=14, Resulting Numbers: [63, 14]
Generated Node #0,2,2: 77:[63, 14] Operation: 87-73=14
Exploring Operation: 87+63=150, Resulting Numbers: [73, 150]
Generated Node #0,2,3: 77:[73, 150] Operation: 87+63=150
Exploring Operation: 73+63=136, Resulting Numbers: [87, 136]
Generated Node #0,2,4: 77:[87, 136] Operation: 73+63=136
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 77:[87, 10], Operations: ['16+47=63', '73-63=10']
Exploring Operation: 87-10=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[16, 87, 73, 47], Operations: []
Exploring Operation: 16+47=63, Resulting Numbers: [87, 73, 63]
Generated Node #0,2: 77:[87, 73, 63] Operation: 16+47=63
Moving to Node #0,2
Current State: 77:[87, 73, 63], Operations: ['16+47=63']
Exploring Operation: 73-63=10, Resulting Numbers: [87, 10]
Generated Node #0,2,0: 77:[87, 10] Operation: 73-63=10
Moving to Node #0,2,0
Current State: 77:[87, 10], Operations: ['16+47=63', '73-63=10']
Exploring Operation: 87-10=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
19,
39,
10,
56
] | 50 | [
"39+56=95",
"95/19=5",
"10*5=50"
] | Current State: 50:[19, 39, 10, 56], Operations: []
Exploring Operation: 39+56=95, Resulting Numbers: [19, 10, 95]
Generated Node #2: [19, 10, 95] from Operation: 39+56=95
Current State: 50:[19, 10, 95], Operations: ['39+56=95']
Exploring Operation: 95/19=5, Resulting Numbers: [10, 5]
Generated Node #3: [10, 5] from Operation: 95/19=5
Current State: 50:[10, 5], Operations: ['39+56=95', '95/19=5']
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[19, 39, 10, 56], Operations: []
Exploring Operation: 39-19=20, Resulting Numbers: [10, 56, 20]
Generated Node #0,0: 50:[10, 56, 20] Operation: 39-19=20
Exploring Operation: 56-39=17, Resulting Numbers: [19, 10, 17]
Generated Node #0,1: 50:[19, 10, 17] Operation: 56-39=17
Exploring Operation: 39+10=49, Resulting Numbers: [19, 56, 49]
Generated Node #0,2: 50:[19, 56, 49] Operation: 39+10=49
Moving to Node #0,0
Current State: 50:[10, 56, 20], Operations: ['39-19=20']
Exploring Operation: 20/10=2, Resulting Numbers: [56, 2]
Generated Node #0,0,0: 50:[56, 2] Operation: 20/10=2
Exploring Operation: 56-10=46, Resulting Numbers: [20, 46]
Generated Node #0,0,1: 50:[20, 46] Operation: 56-10=46
Exploring Operation: 20-10=10, Resulting Numbers: [56, 10]
Generated Node #0,0,2: 50:[56, 10] Operation: 20-10=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[56, 2], Operations: ['39-19=20', '20/10=2']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,50 unequal: No Solution
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,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,0,2
Current State: 50:[56, 10], Operations: ['39-19=20', '20-10=10']
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,50 unequal: No Solution
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,50 unequal: No Solution
Exploring Operation: 56*10=560, Resulting Numbers: [560]
560,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,0,1
Current State: 50:[20, 46], Operations: ['39-19=20', '56-10=46']
Exploring Operation: 20*46=920, Resulting Numbers: [920]
920,50 unequal: No Solution
Exploring Operation: 20+46=66, Resulting Numbers: [66]
66,50 unequal: No Solution
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,50 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: 50:[19, 10, 17], Operations: ['56-39=17']
Exploring Operation: 10+17=27, Resulting Numbers: [19, 27]
Generated Node #0,1,0: 50:[19, 27] Operation: 10+17=27
Exploring Operation: 19-10=9, Resulting Numbers: [17, 9]
Generated Node #0,1,1: 50:[17, 9] Operation: 19-10=9
Exploring Operation: 19-17=2, Resulting Numbers: [10, 2]
Generated Node #0,1,2: 50:[10, 2] Operation: 19-17=2
Moving to Node #0,2
Current State: 50:[19, 56, 49], Operations: ['39+10=49']
Exploring Operation: 49-19=30, Resulting Numbers: [56, 30]
Generated Node #0,2,0: 50:[56, 30] Operation: 49-19=30
Exploring Operation: 56-19=37, Resulting Numbers: [49, 37]
Generated Node #0,2,1: 50:[49, 37] Operation: 56-19=37
Exploring Operation: 56-49=7, Resulting Numbers: [19, 7]
Generated Node #0,2,2: 50:[19, 7] Operation: 56-49=7
Moving to Node #0,1,2
Current State: 50:[10, 2], Operations: ['56-39=17', '19-17=2']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[17, 9], Operations: ['56-39=17', '19-10=9']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,50 unequal: No Solution
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,50 unequal: No Solution
Moving to Node #0,1,0
Current State: 50:[19, 27], Operations: ['56-39=17', '10+17=27']
Exploring Operation: 19*27=513, Resulting Numbers: [513]
513,50 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[19, 7], Operations: ['39+10=49', '56-49=7']
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,50 unequal: No Solution
Exploring Operation: 19*7=133, Resulting Numbers: [133]
133,50 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Moving to Node #0,2,0
Current State: 50:[56, 30], Operations: ['39+10=49', '49-19=30']
Exploring Operation: 56*30=1680, Resulting Numbers: [1680]
1680,50 unequal: No Solution
Exploring Operation: 56+30=86, Resulting Numbers: [86]
86,50 unequal: No Solution
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,50 unequal: No Solution
Moving to Node #0,2,1
Current State: 50:[49, 37], Operations: ['39+10=49', '56-19=37']
Exploring Operation: 49*37=1813, Resulting Numbers: [1813]
1813,50 unequal: No Solution
Exploring Operation: 49+37=86, Resulting Numbers: [86]
86,50 unequal: No Solution
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,50 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
40,
17,
11,
14
] | 19 | [
"40+17=57",
"14-11=3",
"57/3=19"
] | Current State: 19:[40, 17, 11, 14], Operations: []
Exploring Operation: 40+17=57, Resulting Numbers: [11, 14, 57]
Generated Node #2: [11, 14, 57] from Operation: 40+17=57
Current State: 19:[11, 14, 57], Operations: ['40+17=57']
Exploring Operation: 14-11=3, Resulting Numbers: [57, 3]
Generated Node #3: [57, 3] from Operation: 14-11=3
Current State: 19:[57, 3], Operations: ['40+17=57', '14-11=3']
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[40, 17, 11, 14], Operations: []
Exploring Operation: 40-17=23, Resulting Numbers: [11, 14, 23]
Generated Node #0,0: 19:[11, 14, 23] Operation: 40-17=23
Moving to Node #0,0
Current State: 19:[11, 14, 23], Operations: ['40-17=23']
Exploring Operation: 11+14=25, Resulting Numbers: [23, 25]
Generated Node #0,0,0: 19:[23, 25] Operation: 11+14=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[23, 25], Operations: ['40-17=23', '11+14=25']
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,19 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 |
[
29,
68,
58,
39
] | 31 | [
"58/29=2",
"68-39=29",
"2+29=31"
] | Current State: 31:[29, 68, 58, 39], Operations: []
Exploring Operation: 58/29=2, Resulting Numbers: [68, 39, 2]
Generated Node #2: [68, 39, 2] from Operation: 58/29=2
Current State: 31:[68, 39, 2], Operations: ['58/29=2']
Exploring Operation: 68-39=29, Resulting Numbers: [2, 29]
Generated Node #3: [2, 29] from Operation: 68-39=29
Current State: 31:[2, 29], Operations: ['58/29=2', '68-39=29']
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[29, 68, 58, 39], Operations: []
Exploring Operation: 58-29=29, Resulting Numbers: [68, 39, 29]
Generated Node #0,0: 31:[68, 39, 29] Operation: 58-29=29
Exploring Operation: 58-39=19, Resulting Numbers: [29, 68, 19]
Generated Node #0,1: 31:[29, 68, 19] Operation: 58-39=19
Exploring Operation: 68-58=10, Resulting Numbers: [29, 39, 10]
Generated Node #0,2: 31:[29, 39, 10] Operation: 68-58=10
Exploring Operation: 68-29=39, Resulting Numbers: [58, 39, 39]
Generated Node #0,3: 31:[58, 39, 39] Operation: 68-29=39
Exploring Operation: 68-39=29, Resulting Numbers: [29, 58, 29]
Generated Node #0,4: 31:[29, 58, 29] Operation: 68-39=29
Moving to Node #0,2
Current State: 31:[29, 39, 10], Operations: ['68-58=10']
Exploring Operation: 39-29=10, Resulting Numbers: [10, 10]
Generated Node #0,2,0: 31:[10, 10] Operation: 39-29=10
Exploring Operation: 29-10=19, Resulting Numbers: [39, 19]
Generated Node #0,2,1: 31:[39, 19] Operation: 29-10=19
Exploring Operation: 39-10=29, Resulting Numbers: [29, 29]
Generated Node #0,2,2: 31:[29, 29] Operation: 39-10=29
Exploring Operation: 39+10=49, Resulting Numbers: [29, 49]
Generated Node #0,2,3: 31:[29, 49] Operation: 39+10=49
Exploring Operation: 29+10=39, Resulting Numbers: [39, 39]
Generated Node #0,2,4: 31:[39, 39] Operation: 29+10=39
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 31:[29, 29], Operations: ['68-58=10', '39-10=29']
Exploring Operation: 29/29=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Exploring Operation: 29*29=841, Resulting Numbers: [841]
841,31 unequal: No Solution
Exploring Operation: 29+29=58, Resulting Numbers: [58]
58,31 unequal: No Solution
Exploring Operation: 29-29=0, Resulting Numbers: [0]
0,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 31:[39, 39], Operations: ['68-58=10', '29+10=39']
Exploring Operation: 39/39=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Exploring Operation: 39-39=0, Resulting Numbers: [0]
0,31 unequal: No Solution
Exploring Operation: 39+39=78, Resulting Numbers: [78]
78,31 unequal: No Solution
Exploring Operation: 39*39=1521, Resulting Numbers: [1521]
1521,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 31:[39, 19], Operations: ['68-58=10', '29-10=19']
Exploring Operation: 39*19=741, Resulting Numbers: [741]
741,31 unequal: No Solution
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Exploring Operation: 39+19=58, Resulting Numbers: [58]
58,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 31:[29, 49], Operations: ['68-58=10', '39+10=49']
Exploring Operation: 29+49=78, Resulting Numbers: [78]
78,31 unequal: No Solution
Exploring Operation: 29*49=1421, Resulting Numbers: [1421]
1421,31 unequal: No Solution
Exploring Operation: 49-29=20, Resulting Numbers: [20]
20,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 31:[10, 10], Operations: ['68-58=10', '39-29=10']
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,31 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,31 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,31 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: 31:[29, 58, 29], Operations: ['68-39=29']
Exploring Operation: 29+29=58, Resulting Numbers: [58, 58]
Generated Node #0,4,0: 31:[58, 58] Operation: 29+29=58
Exploring Operation: 58/29=2, Resulting Numbers: [29, 2]
Generated Node #0,4,1: 31:[29, 2] Operation: 58/29=2
Exploring Operation: 58-29=29, Resulting Numbers: [29, 29]
Generated Node #0,4,2: 31:[29, 29] Operation: 58-29=29
Exploring Operation: 58-29=29, Resulting Numbers: [29, 29]
Generated Node #0,4,3: 31:[29, 29] Operation: 58-29=29
Exploring Operation: 58/29=2, Resulting Numbers: [29, 2]
Generated Node #0,4,4: 31:[29, 2] Operation: 58/29=2
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 31:[29, 29], Operations: ['68-39=29', '58-29=29']
Exploring Operation: 29-29=0, Resulting Numbers: [0]
0,31 unequal: No Solution
Exploring Operation: 29*29=841, Resulting Numbers: [841]
841,31 unequal: No Solution
Exploring Operation: 29+29=58, Resulting Numbers: [58]
58,31 unequal: No Solution
Exploring Operation: 29/29=1, Resulting Numbers: [1]
1,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 31:[29, 29], Operations: ['68-39=29', '58-29=29']
Exploring Operation: 29+29=58, Resulting Numbers: [58]
58,31 unequal: No Solution
Exploring Operation: 29*29=841, Resulting Numbers: [841]
841,31 unequal: No Solution
Exploring Operation: 29-29=0, Resulting Numbers: [0]
0,31 unequal: No Solution
Exploring Operation: 29/29=1, Resulting Numbers: [1]
1,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 31:[29, 2], Operations: ['68-39=29', '58/29=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,31 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,31 unequal: No Solution
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[29, 68, 58, 39], Operations: []
Exploring Operation: 68-39=29, Resulting Numbers: [29, 58, 29]
Generated Node #0,4: 31:[29, 58, 29] Operation: 68-39=29
Moving to Node #0,4
Current State: 31:[29, 58, 29], Operations: ['68-39=29']
Exploring Operation: 58/29=2, Resulting Numbers: [29, 2]
Generated Node #0,4,1: 31:[29, 2] Operation: 58/29=2
Moving to Node #0,4,1
Current State: 31:[29, 2], Operations: ['68-39=29', '58/29=2']
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.958333 | hs_5 | sum_heuristic |
[
36,
84,
7,
36
] | 76 | [
"36/36=1",
"84-7=77",
"77-1=76"
] | Current State: 76:[36, 84, 7, 36], Operations: []
Exploring Operation: 36/36=1, Resulting Numbers: [84, 7, 1]
Generated Node #2: [84, 7, 1] from Operation: 36/36=1
Current State: 76:[84, 7, 1], Operations: ['36/36=1']
Exploring Operation: 84-7=77, Resulting Numbers: [1, 77]
Generated Node #3: [1, 77] from Operation: 84-7=77
Current State: 76:[1, 77], Operations: ['36/36=1', '84-7=77']
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[36, 84, 7, 36], Operations: []
Exploring Operation: 36/36=1, Resulting Numbers: [84, 7, 1]
Generated Node #0,0: 76:[84, 7, 1] Operation: 36/36=1
Exploring Operation: 84-7=77, Resulting Numbers: [36, 36, 77]
Generated Node #0,1: 76:[36, 36, 77] Operation: 84-7=77
Exploring Operation: 36-36=0, Resulting Numbers: [84, 7, 0]
Generated Node #0,2: 76:[84, 7, 0] Operation: 36-36=0
Exploring Operation: 84/7=12, Resulting Numbers: [36, 36, 12]
Generated Node #0,3: 76:[36, 36, 12] Operation: 84/7=12
Exploring Operation: 84-36=48, Resulting Numbers: [7, 36, 48]
Generated Node #0,4: 76:[7, 36, 48] Operation: 84-36=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[36, 36, 77], Operations: ['84-7=77']
Exploring Operation: 77-36=41, Resulting Numbers: [36, 41]
Generated Node #0,1,0: 76:[36, 41] Operation: 77-36=41
Exploring Operation: 36/36=1, Resulting Numbers: [77, 1]
Generated Node #0,1,1: 76:[77, 1] Operation: 36/36=1
Exploring Operation: 77-36=41, Resulting Numbers: [36, 41]
Generated Node #0,1,2: 76:[36, 41] Operation: 77-36=41
Exploring Operation: 36-36=0, Resulting Numbers: [77, 0]
Generated Node #0,1,3: 76:[77, 0] Operation: 36-36=0
Exploring Operation: 36+36=72, Resulting Numbers: [77, 72]
Generated Node #0,1,4: 76:[77, 72] Operation: 36+36=72
Moving to Node #0,1,1
Current State: 76:[77, 1], Operations: ['84-7=77', '36/36=1']
Exploring Operation: 77/1=77, Resulting Numbers: [77]
77,76 unequal: No Solution
Exploring Operation: 77*1=77, Resulting Numbers: [77]
77,76 unequal: No Solution
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[36, 84, 7, 36], Operations: []
Exploring Operation: 84-7=77, Resulting Numbers: [36, 36, 77]
Generated Node #0,1: 76:[36, 36, 77] Operation: 84-7=77
Moving to Node #0,1
Current State: 76:[36, 36, 77], Operations: ['84-7=77']
Exploring Operation: 36/36=1, Resulting Numbers: [77, 1]
Generated Node #0,1,1: 76:[77, 1] Operation: 36/36=1
Moving to Node #0,1,1
Current State: 76:[77, 1], Operations: ['84-7=77', '36/36=1']
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
32,
76,
88,
23
] | 21 | [
"76-32=44",
"88-23=65",
"65-44=21"
] | Current State: 21:[32, 76, 88, 23], Operations: []
Exploring Operation: 76-32=44, Resulting Numbers: [88, 23, 44]
Generated Node #2: [88, 23, 44] from Operation: 76-32=44
Current State: 21:[88, 23, 44], Operations: ['76-32=44']
Exploring Operation: 88-23=65, Resulting Numbers: [44, 65]
Generated Node #3: [44, 65] from Operation: 88-23=65
Current State: 21:[44, 65], Operations: ['76-32=44', '88-23=65']
Exploring Operation: 65-44=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[32, 76, 88, 23], Operations: []
Exploring Operation: 88-32=56, Resulting Numbers: [76, 23, 56]
Generated Node #0,0: 21:[76, 23, 56] Operation: 88-32=56
Exploring Operation: 88-76=12, Resulting Numbers: [32, 23, 12]
Generated Node #0,1: 21:[32, 23, 12] Operation: 88-76=12
Exploring Operation: 76-32=44, Resulting Numbers: [88, 23, 44]
Generated Node #0,2: 21:[88, 23, 44] Operation: 76-32=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[32, 23, 12], Operations: ['88-76=12']
Exploring Operation: 32-23=9, Resulting Numbers: [12, 9]
Generated Node #0,1,0: 21:[12, 9] Operation: 32-23=9
Exploring Operation: 23-12=11, Resulting Numbers: [32, 11]
Generated Node #0,1,1: 21:[32, 11] Operation: 23-12=11
Exploring Operation: 32-12=20, Resulting Numbers: [23, 20]
Generated Node #0,1,2: 21:[23, 20] Operation: 32-12=20
Moving to Node #0,1,2
Current State: 21:[23, 20], Operations: ['88-76=12', '32-12=20']
Exploring Operation: 23+20=43, Resulting Numbers: [43]
43,21 unequal: No Solution
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 23*20=460, Resulting Numbers: [460]
460,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[12, 9], Operations: ['88-76=12', '32-23=9']
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[32, 76, 88, 23], Operations: []
Exploring Operation: 88-76=12, Resulting Numbers: [32, 23, 12]
Generated Node #0,1: 21:[32, 23, 12] Operation: 88-76=12
Moving to Node #0,1
Current State: 21:[32, 23, 12], Operations: ['88-76=12']
Exploring Operation: 32-23=9, Resulting Numbers: [12, 9]
Generated Node #0,1,0: 21:[12, 9] Operation: 32-23=9
Moving to Node #0,1,0
Current State: 21:[12, 9], Operations: ['88-76=12', '32-23=9']
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.