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 |
|---|---|---|---|---|---|---|---|---|
[
26,
31,
44,
44
] | 57 | [
"26+31=57",
"44-44=0",
"57+0=57"
] | Current State: 57:[26, 31, 44, 44], Operations: []
Exploring Operation: 26+31=57, Resulting Numbers: [44, 44, 57]
Generated Node #2: [44, 44, 57] from Operation: 26+31=57
Current State: 57:[44, 44, 57], Operations: ['26+31=57']
Exploring Operation: 44-44=0, Resulting Numbers: [57, 0]
Generated Node #3: [57, 0] from Operation: 44-44=0
Current State: 57:[57, 0], Operations: ['26+31=57', '44-44=0']
Exploring Operation: 57+0=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[26, 31, 44, 44], Operations: []
Exploring Operation: 44/44=1, Resulting Numbers: [26, 31, 1]
Generated Node #0,0: 57:[26, 31, 1] Operation: 44/44=1
Moving to Node #0,0
Current State: 57:[26, 31, 1], Operations: ['44/44=1']
Exploring Operation: 26+31=57, Resulting Numbers: [1, 57]
Generated Node #0,0,0: 57:[1, 57] Operation: 26+31=57
Moving to Node #0,0,0
Current State: 57:[1, 57], Operations: ['44/44=1', '26+31=57']
Exploring Operation: 1*57=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[26, 31, 44, 44], Operations: []
Exploring Operation: 44/44=1, Resulting Numbers: [26, 31, 1]
Generated Node #0,0: 57:[26, 31, 1] Operation: 44/44=1
Moving to Node #0,0
Current State: 57:[26, 31, 1], Operations: ['44/44=1']
Exploring Operation: 26+31=57, Resulting Numbers: [1, 57]
Generated Node #0,0,0: 57:[1, 57] Operation: 26+31=57
Moving to Node #0,0,0
Current State: 57:[1, 57], Operations: ['44/44=1', '26+31=57']
Exploring Operation: 1*57=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
21,
16,
81,
33
] | 53 | [
"21-16=5",
"81-33=48",
"5+48=53"
] | Current State: 53:[21, 16, 81, 33], Operations: []
Exploring Operation: 21-16=5, Resulting Numbers: [81, 33, 5]
Generated Node #2: [81, 33, 5] from Operation: 21-16=5
Current State: 53:[81, 33, 5], Operations: ['21-16=5']
Exploring Operation: 81-33=48, Resulting Numbers: [5, 48]
Generated Node #3: [5, 48] from Operation: 81-33=48
Current State: 53:[5, 48], Operations: ['21-16=5', '81-33=48']
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[21, 16, 81, 33], Operations: []
Exploring Operation: 21+16=37, Resulting Numbers: [81, 33, 37]
Generated Node #0,0: 53:[81, 33, 37] Operation: 21+16=37
Exploring Operation: 81-21=60, Resulting Numbers: [16, 33, 60]
Generated Node #0,1: 53:[16, 33, 60] Operation: 81-21=60
Moving to Node #0,0
Current State: 53:[81, 33, 37], Operations: ['21+16=37']
Exploring Operation: 81-37=44, Resulting Numbers: [33, 44]
Generated Node #0,0,0: 53:[33, 44] Operation: 81-37=44
Exploring Operation: 81-33=48, Resulting Numbers: [37, 48]
Generated Node #0,0,1: 53:[37, 48] Operation: 81-33=48
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[37, 48], Operations: ['21+16=37', '81-33=48']
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 37+48=85, Resulting Numbers: [85]
85,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[33, 44], Operations: ['21+16=37', '81-37=44']
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 33+44=77, Resulting Numbers: [77]
77,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 53:[16, 33, 60], Operations: ['81-21=60']
Exploring Operation: 60-16=44, Resulting Numbers: [33, 44]
Generated Node #0,1,0: 53:[33, 44] Operation: 60-16=44
Exploring Operation: 16+33=49, Resulting Numbers: [60, 49]
Generated Node #0,1,1: 53:[60, 49] Operation: 16+33=49
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[60, 49], Operations: ['81-21=60', '16+33=49']
Exploring Operation: 60+49=109, Resulting Numbers: [109]
109,53 unequal: No Solution
Exploring Operation: 60-49=11, Resulting Numbers: [11]
11,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[33, 44], Operations: ['81-21=60', '60-16=44']
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 33+44=77, Resulting Numbers: [77]
77,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
73,
63,
45,
16
] | 51 | [
"73-63=10",
"45+16=61",
"61-10=51"
] | Current State: 51:[73, 63, 45, 16], Operations: []
Exploring Operation: 73-63=10, Resulting Numbers: [45, 16, 10]
Generated Node #2: [45, 16, 10] from Operation: 73-63=10
Current State: 51:[45, 16, 10], Operations: ['73-63=10']
Exploring Operation: 45+16=61, Resulting Numbers: [10, 61]
Generated Node #3: [10, 61] from Operation: 45+16=61
Current State: 51:[10, 61], Operations: ['73-63=10', '45+16=61']
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[73, 63, 45, 16], Operations: []
Exploring Operation: 73-16=57, Resulting Numbers: [63, 45, 57]
Generated Node #0,0: 51:[63, 45, 57] Operation: 73-16=57
Exploring Operation: 73-63=10, Resulting Numbers: [45, 16, 10]
Generated Node #0,1: 51:[45, 16, 10] Operation: 73-63=10
Exploring Operation: 73-45=28, Resulting Numbers: [63, 16, 28]
Generated Node #0,2: 51:[63, 16, 28] Operation: 73-45=28
Moving to Node #0,1
Current State: 51:[45, 16, 10], Operations: ['73-63=10']
Exploring Operation: 16+10=26, Resulting Numbers: [45, 26]
Generated Node #0,1,0: 51:[45, 26] Operation: 16+10=26
Exploring Operation: 45+10=55, Resulting Numbers: [16, 55]
Generated Node #0,1,1: 51:[16, 55] Operation: 45+10=55
Exploring Operation: 16-10=6, Resulting Numbers: [45, 6]
Generated Node #0,1,2: 51:[45, 6] Operation: 16-10=6
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 51:[16, 55], Operations: ['73-63=10', '45+10=55']
Exploring Operation: 16*55=880, Resulting Numbers: [880]
880,51 unequal: No Solution
Exploring Operation: 16+55=71, Resulting Numbers: [71]
71,51 unequal: No Solution
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 51:[45, 6], Operations: ['73-63=10', '16-10=6']
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,51 unequal: No Solution
Exploring Operation: 45+6=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[73, 63, 45, 16], Operations: []
Exploring Operation: 73-63=10, Resulting Numbers: [45, 16, 10]
Generated Node #0,1: 51:[45, 16, 10] Operation: 73-63=10
Moving to Node #0,1
Current State: 51:[45, 16, 10], Operations: ['73-63=10']
Exploring Operation: 16-10=6, Resulting Numbers: [45, 6]
Generated Node #0,1,2: 51:[45, 6] Operation: 16-10=6
Moving to Node #0,1,2
Current State: 51:[45, 6], Operations: ['73-63=10', '16-10=6']
Exploring Operation: 45+6=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
45,
27,
87,
36
] | 84 | [
"45+36=81",
"81/27=3",
"87-3=84"
] | Current State: 84:[45, 27, 87, 36], Operations: []
Exploring Operation: 45+36=81, Resulting Numbers: [27, 87, 81]
Generated Node #2: [27, 87, 81] from Operation: 45+36=81
Current State: 84:[27, 87, 81], Operations: ['45+36=81']
Exploring Operation: 81/27=3, Resulting Numbers: [87, 3]
Generated Node #3: [87, 3] from Operation: 81/27=3
Current State: 84:[87, 3], Operations: ['45+36=81', '81/27=3']
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[45, 27, 87, 36], Operations: []
Exploring Operation: 45+36=81, Resulting Numbers: [27, 87, 81]
Generated Node #0,0: 84:[27, 87, 81] Operation: 45+36=81
Exploring Operation: 45-27=18, Resulting Numbers: [87, 36, 18]
Generated Node #0,1: 84:[87, 36, 18] Operation: 45-27=18
Exploring Operation: 45-36=9, Resulting Numbers: [27, 87, 9]
Generated Node #0,2: 84:[27, 87, 9] Operation: 45-36=9
Exploring Operation: 36-27=9, Resulting Numbers: [45, 87, 9]
Generated Node #0,3: 84:[45, 87, 9] Operation: 36-27=9
Exploring Operation: 87-45=42, Resulting Numbers: [27, 36, 42]
Generated Node #0,4: 84:[27, 36, 42] Operation: 87-45=42
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[27, 87, 9], Operations: ['45-36=9']
Exploring Operation: 87+9=96, Resulting Numbers: [27, 96]
Generated Node #0,2,0: 84:[27, 96] Operation: 87+9=96
Exploring Operation: 27/9=3, Resulting Numbers: [87, 3]
Generated Node #0,2,1: 84:[87, 3] Operation: 27/9=3
Exploring Operation: 27+9=36, Resulting Numbers: [87, 36]
Generated Node #0,2,2: 84:[87, 36] Operation: 27+9=36
Exploring Operation: 27-9=18, Resulting Numbers: [87, 18]
Generated Node #0,2,3: 84:[87, 18] Operation: 27-9=18
Exploring Operation: 87-9=78, Resulting Numbers: [27, 78]
Generated Node #0,2,4: 84:[27, 78] Operation: 87-9=78
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 84:[87, 3], Operations: ['45-36=9', '27/9=3']
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 87+3=90, Resulting Numbers: [90]
90,84 unequal: No Solution
Exploring Operation: 87*3=261, Resulting Numbers: [261]
261,84 unequal: No Solution
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[45, 27, 87, 36], Operations: []
Exploring Operation: 45-36=9, Resulting Numbers: [27, 87, 9]
Generated Node #0,2: 84:[27, 87, 9] Operation: 45-36=9
Moving to Node #0,2
Current State: 84:[27, 87, 9], Operations: ['45-36=9']
Exploring Operation: 27/9=3, Resulting Numbers: [87, 3]
Generated Node #0,2,1: 84:[87, 3] Operation: 27/9=3
Moving to Node #0,2,1
Current State: 84:[87, 3], Operations: ['45-36=9', '27/9=3']
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
90,
58,
36,
27
] | 85 | [
"90+58=148",
"36+27=63",
"148-63=85"
] | Current State: 85:[90, 58, 36, 27], Operations: []
Exploring Operation: 90+58=148, Resulting Numbers: [36, 27, 148]
Generated Node #2: [36, 27, 148] from Operation: 90+58=148
Current State: 85:[36, 27, 148], Operations: ['90+58=148']
Exploring Operation: 36+27=63, Resulting Numbers: [148, 63]
Generated Node #3: [148, 63] from Operation: 36+27=63
Current State: 85:[148, 63], Operations: ['90+58=148', '36+27=63']
Exploring Operation: 148-63=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[90, 58, 36, 27], Operations: []
Exploring Operation: 58+27=85, Resulting Numbers: [90, 36, 85]
Generated Node #0,0: 85:[90, 36, 85] Operation: 58+27=85
Exploring Operation: 36-27=9, Resulting Numbers: [90, 58, 9]
Generated Node #0,1: 85:[90, 58, 9] Operation: 36-27=9
Exploring Operation: 58+36=94, Resulting Numbers: [90, 27, 94]
Generated Node #0,2: 85:[90, 27, 94] Operation: 58+36=94
Exploring Operation: 58-36=22, Resulting Numbers: [90, 27, 22]
Generated Node #0,3: 85:[90, 27, 22] Operation: 58-36=22
Start Sub Search at level 1: Moving to Node #0,3
Current State: 85:[90, 27, 22], Operations: ['58-36=22']
Exploring Operation: 90-22=68, Resulting Numbers: [27, 68]
Generated Node #0,3,0: 85:[27, 68] Operation: 90-22=68
Exploring Operation: 90+27=117, Resulting Numbers: [22, 117]
Generated Node #0,3,1: 85:[22, 117] Operation: 90+27=117
Exploring Operation: 27-22=5, Resulting Numbers: [90, 5]
Generated Node #0,3,2: 85:[90, 5] Operation: 27-22=5
Exploring Operation: 90-27=63, Resulting Numbers: [22, 63]
Generated Node #0,3,3: 85:[22, 63] Operation: 90-27=63
Moving to Node #0,3,2
Current State: 85:[90, 5], Operations: ['58-36=22', '27-22=5']
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[90, 58, 36, 27], Operations: []
Exploring Operation: 58-36=22, Resulting Numbers: [90, 27, 22]
Generated Node #0,3: 85:[90, 27, 22] Operation: 58-36=22
Moving to Node #0,3
Current State: 85:[90, 27, 22], Operations: ['58-36=22']
Exploring Operation: 27-22=5, Resulting Numbers: [90, 5]
Generated Node #0,3,2: 85:[90, 5] Operation: 27-22=5
Moving to Node #0,3,2
Current State: 85:[90, 5], Operations: ['58-36=22', '27-22=5']
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
24,
60,
48,
70
] | 34 | [
"24+60=84",
"48+70=118",
"118-84=34"
] | Current State: 34:[24, 60, 48, 70], Operations: []
Exploring Operation: 24+60=84, Resulting Numbers: [48, 70, 84]
Generated Node #2: [48, 70, 84] from Operation: 24+60=84
Current State: 34:[48, 70, 84], Operations: ['24+60=84']
Exploring Operation: 48+70=118, Resulting Numbers: [84, 118]
Generated Node #3: [84, 118] from Operation: 48+70=118
Current State: 34:[84, 118], Operations: ['24+60=84', '48+70=118']
Exploring Operation: 118-84=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[24, 60, 48, 70], Operations: []
Exploring Operation: 70-60=10, Resulting Numbers: [24, 48, 10]
Generated Node #0,0: 34:[24, 48, 10] Operation: 70-60=10
Exploring Operation: 70-48=22, Resulting Numbers: [24, 60, 22]
Generated Node #0,1: 34:[24, 60, 22] Operation: 70-48=22
Exploring Operation: 70-24=46, Resulting Numbers: [60, 48, 46]
Generated Node #0,2: 34:[60, 48, 46] Operation: 70-24=46
Exploring Operation: 60-24=36, Resulting Numbers: [48, 70, 36]
Generated Node #0,3: 34:[48, 70, 36] Operation: 60-24=36
Exploring Operation: 60-48=12, Resulting Numbers: [24, 70, 12]
Generated Node #0,4: 34:[24, 70, 12] Operation: 60-48=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[24, 48, 10], Operations: ['70-60=10']
Exploring Operation: 24-10=14, Resulting Numbers: [48, 14]
Generated Node #0,0,0: 34:[48, 14] Operation: 24-10=14
Exploring Operation: 48-24=24, Resulting Numbers: [10, 24]
Generated Node #0,0,1: 34:[10, 24] Operation: 48-24=24
Exploring Operation: 24+10=34, Resulting Numbers: [48, 34]
Generated Node #0,0,2: 34:[48, 34] Operation: 24+10=34
Exploring Operation: 48-10=38, Resulting Numbers: [24, 38]
Generated Node #0,0,3: 34:[24, 38] Operation: 48-10=38
Exploring Operation: 48/24=2, Resulting Numbers: [10, 2]
Generated Node #0,0,4: 34:[10, 2] Operation: 48/24=2
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 34:[10, 2], Operations: ['70-60=10', '48/24=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,34 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 34:[24, 38], Operations: ['70-60=10', '48-10=38']
Exploring Operation: 24+38=62, Resulting Numbers: [62]
62,34 unequal: No Solution
Exploring Operation: 24*38=912, Resulting Numbers: [912]
912,34 unequal: No Solution
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 34:[10, 24], Operations: ['70-60=10', '48-24=24']
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[24, 60, 48, 70], Operations: []
Exploring Operation: 70-60=10, Resulting Numbers: [24, 48, 10]
Generated Node #0,0: 34:[24, 48, 10] Operation: 70-60=10
Moving to Node #0,0
Current State: 34:[24, 48, 10], Operations: ['70-60=10']
Exploring Operation: 48-24=24, Resulting Numbers: [10, 24]
Generated Node #0,0,1: 34:[10, 24] Operation: 48-24=24
Moving to Node #0,0,1
Current State: 34:[10, 24], Operations: ['70-60=10', '48-24=24']
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
81,
80,
60,
57
] | 32 | [
"81-57=24",
"80*24=1920",
"1920/60=32"
] | Current State: 32:[81, 80, 60, 57], Operations: []
Exploring Operation: 81-57=24, Resulting Numbers: [80, 60, 24]
Generated Node #2: [80, 60, 24] from Operation: 81-57=24
Current State: 32:[80, 60, 24], Operations: ['81-57=24']
Exploring Operation: 80*24=1920, Resulting Numbers: [60, 1920]
Generated Node #3: [60, 1920] from Operation: 80*24=1920
Current State: 32:[60, 1920], Operations: ['81-57=24', '80*24=1920']
Exploring Operation: 1920/60=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[81, 80, 60, 57], Operations: []
Exploring Operation: 81-60=21, Resulting Numbers: [80, 57, 21]
Generated Node #0,0: 32:[80, 57, 21] Operation: 81-60=21
Exploring Operation: 81-57=24, Resulting Numbers: [80, 60, 24]
Generated Node #0,1: 32:[80, 60, 24] Operation: 81-57=24
Exploring Operation: 81-80=1, Resulting Numbers: [60, 57, 1]
Generated Node #0,2: 32:[60, 57, 1] Operation: 81-80=1
Exploring Operation: 80-60=20, Resulting Numbers: [81, 57, 20]
Generated Node #0,3: 32:[81, 57, 20] Operation: 80-60=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[60, 57, 1], Operations: ['81-80=1']
Exploring Operation: 57-1=56, Resulting Numbers: [60, 56]
Generated Node #0,2,0: 32:[60, 56] Operation: 57-1=56
Exploring Operation: 60*1=60, Resulting Numbers: [57, 60]
Generated Node #0,2,1: 32:[57, 60] Operation: 60*1=60
Exploring Operation: 60-1=59, Resulting Numbers: [57, 59]
Generated Node #0,2,2: 32:[57, 59] Operation: 60-1=59
Exploring Operation: 60-57=3, Resulting Numbers: [1, 3]
Generated Node #0,2,3: 32:[1, 3] Operation: 60-57=3
Moving to Node #0,2,3
Current State: 32:[1, 3], Operations: ['81-80=1', '60-57=3']
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[57, 59], Operations: ['81-80=1', '60-1=59']
Exploring Operation: 57+59=116, Resulting Numbers: [116]
116,32 unequal: No Solution
Exploring Operation: 59-57=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 57*59=3363, Resulting Numbers: [3363]
3363,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[60, 56], Operations: ['81-80=1', '57-1=56']
Exploring Operation: 60-56=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 60*56=3360, Resulting Numbers: [3360]
3360,32 unequal: No Solution
Exploring Operation: 60+56=116, Resulting Numbers: [116]
116,32 unequal: No Solution
Moving to Node #0,2,1
Current State: 32:[57, 60], Operations: ['81-80=1', '60*1=60']
Exploring Operation: 57*60=3420, Resulting Numbers: [3420]
3420,32 unequal: No Solution
Exploring Operation: 57+60=117, Resulting Numbers: [117]
117,32 unequal: No Solution
Exploring Operation: 60-57=3, Resulting Numbers: [3]
3,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
Current State: 32:[80, 57, 21], Operations: ['81-60=21']
Exploring Operation: 80-21=59, Resulting Numbers: [57, 59]
Generated Node #0,0,0: 32:[57, 59] Operation: 80-21=59
Exploring Operation: 57-21=36, Resulting Numbers: [80, 36]
Generated Node #0,0,1: 32:[80, 36] Operation: 57-21=36
Exploring Operation: 80-57=23, Resulting Numbers: [21, 23]
Generated Node #0,0,2: 32:[21, 23] Operation: 80-57=23
Exploring Operation: 80+21=101, Resulting Numbers: [57, 101]
Generated Node #0,0,3: 32:[57, 101] Operation: 80+21=101
Moving to Node #0,0,2
Current State: 32:[21, 23], Operations: ['81-60=21', '80-57=23']
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 21*23=483, Resulting Numbers: [483]
483,32 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[80, 36], Operations: ['81-60=21', '57-21=36']
Exploring Operation: 80+36=116, Resulting Numbers: [116]
116,32 unequal: No Solution
Exploring Operation: 80*36=2880, Resulting Numbers: [2880]
2880,32 unequal: No Solution
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[57, 59], Operations: ['81-60=21', '80-21=59']
Exploring Operation: 59-57=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 57+59=116, Resulting Numbers: [116]
116,32 unequal: No Solution
Exploring Operation: 57*59=3363, Resulting Numbers: [3363]
3363,32 unequal: No Solution
Moving to Node #0,0,3
Current State: 32:[57, 101], Operations: ['81-60=21', '80+21=101']
Exploring Operation: 57+101=158, Resulting Numbers: [158]
158,32 unequal: No Solution
Exploring Operation: 101-57=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 57*101=5757, Resulting Numbers: [5757]
5757,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,3
Current State: 32:[81, 57, 20], Operations: ['80-60=20']
Exploring Operation: 81-20=61, Resulting Numbers: [57, 61]
Generated Node #0,3,0: 32:[57, 61] Operation: 81-20=61
Exploring Operation: 57-20=37, Resulting Numbers: [81, 37]
Generated Node #0,3,1: 32:[81, 37] Operation: 57-20=37
Exploring Operation: 81-57=24, Resulting Numbers: [20, 24]
Generated Node #0,3,2: 32:[20, 24] Operation: 81-57=24
Exploring Operation: 81+20=101, Resulting Numbers: [57, 101]
Generated Node #0,3,3: 32:[57, 101] Operation: 81+20=101
Moving to Node #0,3,2
Current State: 32:[20, 24], Operations: ['80-60=20', '81-57=24']
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 20*24=480, Resulting Numbers: [480]
480,32 unequal: No Solution
Moving to Node #0,3,1
Current State: 32:[81, 37], Operations: ['80-60=20', '57-20=37']
Exploring Operation: 81-37=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 81+37=118, Resulting Numbers: [118]
118,32 unequal: No Solution
Exploring Operation: 81*37=2997, Resulting Numbers: [2997]
2997,32 unequal: No Solution
Moving to Node #0,3,0
Current State: 32:[57, 61], Operations: ['80-60=20', '81-20=61']
Exploring Operation: 57+61=118, Resulting Numbers: [118]
118,32 unequal: No Solution
Exploring Operation: 61-57=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 57*61=3477, Resulting Numbers: [3477]
3477,32 unequal: No Solution
Moving to Node #0,3,3
Current State: 32:[57, 101], Operations: ['80-60=20', '81+20=101']
Exploring Operation: 57*101=5757, Resulting Numbers: [5757]
5757,32 unequal: No Solution
Exploring Operation: 101-57=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 57+101=158, Resulting Numbers: [158]
158,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:[80, 60, 24], Operations: ['81-57=24']
Exploring Operation: 60-24=36, Resulting Numbers: [80, 36]
Generated Node #0,1,0: 32:[80, 36] Operation: 60-24=36
Exploring Operation: 80-60=20, Resulting Numbers: [24, 20]
Generated Node #0,1,1: 32:[24, 20] Operation: 80-60=20
Exploring Operation: 80-24=56, Resulting Numbers: [60, 56]
Generated Node #0,1,2: 32:[60, 56] Operation: 80-24=56
Exploring Operation: 80+24=104, Resulting Numbers: [60, 104]
Generated Node #0,1,3: 32:[60, 104] Operation: 80+24=104
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 32:[24, 20], Operations: ['81-57=24', '80-60=20']
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,32 unequal: No Solution
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,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:[80, 36], Operations: ['81-57=24', '60-24=36']
Exploring Operation: 80+36=116, Resulting Numbers: [116]
116,32 unequal: No Solution
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 80*36=2880, Resulting Numbers: [2880]
2880,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:[60, 56], Operations: ['81-57=24', '80-24=56']
Exploring Operation: 60*56=3360, Resulting Numbers: [3360]
3360,32 unequal: No Solution
Exploring Operation: 60+56=116, Resulting Numbers: [116]
116,32 unequal: No Solution
Exploring Operation: 60-56=4, Resulting Numbers: [4]
4,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:[60, 104], Operations: ['81-57=24', '80+24=104']
Exploring Operation: 104-60=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 60+104=164, Resulting Numbers: [164]
164,32 unequal: No Solution
Exploring Operation: 60*104=6240, Resulting Numbers: [6240]
6240,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_4 | mult_heuristic |
[
1,
5,
7,
54
] | 56 | [
"1*5=5",
"7+54=61",
"61-5=56"
] | Current State: 56:[1, 5, 7, 54], Operations: []
Exploring Operation: 1*5=5, Resulting Numbers: [7, 54, 5]
Generated Node #2: [7, 54, 5] from Operation: 1*5=5
Current State: 56:[7, 54, 5], Operations: ['1*5=5']
Exploring Operation: 7+54=61, Resulting Numbers: [5, 61]
Generated Node #3: [5, 61] from Operation: 7+54=61
Current State: 56:[5, 61], Operations: ['1*5=5', '7+54=61']
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[1, 5, 7, 54], Operations: []
Exploring Operation: 5-1=4, Resulting Numbers: [7, 54, 4]
Generated Node #0,0: 56:[7, 54, 4] Operation: 5-1=4
Exploring Operation: 1+5=6, Resulting Numbers: [7, 54, 6]
Generated Node #0,1: 56:[7, 54, 6] Operation: 1+5=6
Exploring Operation: 1+54=55, Resulting Numbers: [5, 7, 55]
Generated Node #0,2: 56:[5, 7, 55] Operation: 1+54=55
Moving to Node #0,0
Current State: 56:[7, 54, 4], Operations: ['5-1=4']
Exploring Operation: 7-4=3, Resulting Numbers: [54, 3]
Generated Node #0,0,0: 56:[54, 3] Operation: 7-4=3
Exploring Operation: 7*4=28, Resulting Numbers: [54, 28]
Generated Node #0,0,1: 56:[54, 28] Operation: 7*4=28
Exploring Operation: 54+4=58, Resulting Numbers: [7, 58]
Generated Node #0,0,2: 56:[7, 58] Operation: 54+4=58
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 56:[54, 28], Operations: ['5-1=4', '7*4=28']
Exploring Operation: 54*28=1512, Resulting Numbers: [1512]
1512,56 unequal: No Solution
Exploring Operation: 54+28=82, Resulting Numbers: [82]
82,56 unequal: No Solution
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 56:[7, 58], Operations: ['5-1=4', '54+4=58']
Exploring Operation: 7+58=65, Resulting Numbers: [65]
65,56 unequal: No Solution
Exploring Operation: 7*58=406, Resulting Numbers: [406]
406,56 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[54, 3], Operations: ['5-1=4', '7-4=3']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,56 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,56 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: 56:[5, 7, 55], Operations: ['1+54=55']
Exploring Operation: 55/5=11, Resulting Numbers: [7, 11]
Generated Node #0,2,0: 56:[7, 11] Operation: 55/5=11
Exploring Operation: 5+7=12, Resulting Numbers: [55, 12]
Generated Node #0,2,1: 56:[55, 12] Operation: 5+7=12
Exploring Operation: 7-5=2, Resulting Numbers: [55, 2]
Generated Node #0,2,2: 56:[55, 2] Operation: 7-5=2
Moving to Node #0,1
Current State: 56:[7, 54, 6], Operations: ['1+5=6']
Exploring Operation: 7-6=1, Resulting Numbers: [54, 1]
Generated Node #0,1,0: 56:[54, 1] Operation: 7-6=1
Exploring Operation: 54/6=9, Resulting Numbers: [7, 9]
Generated Node #0,1,1: 56:[7, 9] Operation: 54/6=9
Exploring Operation: 7+6=13, Resulting Numbers: [54, 13]
Generated Node #0,1,2: 56:[54, 13] Operation: 7+6=13
Moving to Node #0,2,2
Current State: 56:[55, 2], Operations: ['1+54=55', '7-5=2']
Exploring Operation: 55*2=110, Resulting Numbers: [110]
110,56 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,56 unequal: No Solution
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[7, 9], Operations: ['1+5=6', '54/6=9']
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,56 unequal: No Solution
Moving to Node #0,2,1
Current State: 56:[55, 12], Operations: ['1+54=55', '5+7=12']
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,56 unequal: No Solution
Exploring Operation: 55*12=660, Resulting Numbers: [660]
660,56 unequal: No Solution
Exploring Operation: 55+12=67, Resulting Numbers: [67]
67,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[54, 13], Operations: ['1+5=6', '7+6=13']
Exploring Operation: 54*13=702, Resulting Numbers: [702]
702,56 unequal: No Solution
Exploring Operation: 54+13=67, Resulting Numbers: [67]
67,56 unequal: No Solution
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[54, 1], Operations: ['1+5=6', '7-6=1']
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,56 unequal: No Solution
Exploring Operation: 54*1=54, Resulting Numbers: [54]
54,56 unequal: No Solution
Exploring Operation: 54+1=55, Resulting Numbers: [55]
55,56 unequal: No Solution
Moving to Node #0,2,0
Current State: 56:[7, 11], Operations: ['1+54=55', '55/5=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,56 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,56 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
95,
52,
59,
79
] | 23 | [
"95-52=43",
"79-59=20",
"43-20=23"
] | Current State: 23:[95, 52, 59, 79], Operations: []
Exploring Operation: 95-52=43, Resulting Numbers: [59, 79, 43]
Generated Node #2: [59, 79, 43] from Operation: 95-52=43
Current State: 23:[59, 79, 43], Operations: ['95-52=43']
Exploring Operation: 79-59=20, Resulting Numbers: [43, 20]
Generated Node #3: [43, 20] from Operation: 79-59=20
Current State: 23:[43, 20], Operations: ['95-52=43', '79-59=20']
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[95, 52, 59, 79], Operations: []
Exploring Operation: 95-79=16, Resulting Numbers: [52, 59, 16]
Generated Node #0,0: 23:[52, 59, 16] Operation: 95-79=16
Exploring Operation: 79-59=20, Resulting Numbers: [95, 52, 20]
Generated Node #0,1: 23:[95, 52, 20] Operation: 79-59=20
Exploring Operation: 95-59=36, Resulting Numbers: [52, 79, 36]
Generated Node #0,2: 23:[52, 79, 36] Operation: 95-59=36
Exploring Operation: 79-52=27, Resulting Numbers: [95, 59, 27]
Generated Node #0,3: 23:[95, 59, 27] Operation: 79-52=27
Exploring Operation: 95-52=43, Resulting Numbers: [59, 79, 43]
Generated Node #0,4: 23:[59, 79, 43] Operation: 95-52=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[52, 59, 16], Operations: ['95-79=16']
Exploring Operation: 59-52=7, Resulting Numbers: [16, 7]
Generated Node #0,0,0: 23:[16, 7] Operation: 59-52=7
Exploring Operation: 52+16=68, Resulting Numbers: [59, 68]
Generated Node #0,0,1: 23:[59, 68] Operation: 52+16=68
Exploring Operation: 59+16=75, Resulting Numbers: [52, 75]
Generated Node #0,0,2: 23:[52, 75] Operation: 59+16=75
Exploring Operation: 59-16=43, Resulting Numbers: [52, 43]
Generated Node #0,0,3: 23:[52, 43] Operation: 59-16=43
Exploring Operation: 52-16=36, Resulting Numbers: [59, 36]
Generated Node #0,0,4: 23:[59, 36] Operation: 52-16=36
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[16, 7], Operations: ['95-79=16', '59-52=7']
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[95, 52, 59, 79], Operations: []
Exploring Operation: 95-79=16, Resulting Numbers: [52, 59, 16]
Generated Node #0,0: 23:[52, 59, 16] Operation: 95-79=16
Moving to Node #0,0
Current State: 23:[52, 59, 16], Operations: ['95-79=16']
Exploring Operation: 59-52=7, Resulting Numbers: [16, 7]
Generated Node #0,0,0: 23:[16, 7] Operation: 59-52=7
Moving to Node #0,0,0
Current State: 23:[16, 7], Operations: ['95-79=16', '59-52=7']
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
53,
93,
61,
71
] | 46 | [
"61*71=4331",
"4331-53=4278",
"4278/93=46"
] | Current State: 46:[53, 93, 61, 71], Operations: []
Exploring Operation: 61*71=4331, Resulting Numbers: [53, 93, 4331]
Generated Node #2: [53, 93, 4331] from Operation: 61*71=4331
Current State: 46:[53, 93, 4331], Operations: ['61*71=4331']
Exploring Operation: 4331-53=4278, Resulting Numbers: [93, 4278]
Generated Node #3: [93, 4278] from Operation: 4331-53=4278
Current State: 46:[93, 4278], Operations: ['61*71=4331', '4331-53=4278']
Exploring Operation: 4278/93=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[53, 93, 61, 71], Operations: []
Exploring Operation: 93-71=22, Resulting Numbers: [53, 61, 22]
Generated Node #0,0: 46:[53, 61, 22] Operation: 93-71=22
Moving to Node #0,0
Current State: 46:[53, 61, 22], Operations: ['93-71=22']
Exploring Operation: 61-53=8, Resulting Numbers: [22, 8]
Generated Node #0,0,0: 46:[22, 8] Operation: 61-53=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[22, 8], Operations: ['93-71=22', '61-53=8']
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,46 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 |
[
9,
11,
69,
25
] | 13 | [
"69-25=44",
"44/11=4",
"9+4=13"
] | Current State: 13:[9, 11, 69, 25], Operations: []
Exploring Operation: 69-25=44, Resulting Numbers: [9, 11, 44]
Generated Node #2: [9, 11, 44] from Operation: 69-25=44
Current State: 13:[9, 11, 44], Operations: ['69-25=44']
Exploring Operation: 44/11=4, Resulting Numbers: [9, 4]
Generated Node #3: [9, 4] from Operation: 44/11=4
Current State: 13:[9, 4], Operations: ['69-25=44', '44/11=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[9, 11, 69, 25], Operations: []
Exploring Operation: 69-25=44, Resulting Numbers: [9, 11, 44]
Generated Node #0,0: 13:[9, 11, 44] Operation: 69-25=44
Exploring Operation: 69-9=60, Resulting Numbers: [11, 25, 60]
Generated Node #0,1: 13:[11, 25, 60] Operation: 69-9=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[9, 11, 44], Operations: ['69-25=44']
Exploring Operation: 44-9=35, Resulting Numbers: [11, 35]
Generated Node #0,0,0: 13:[11, 35] Operation: 44-9=35
Exploring Operation: 44/11=4, Resulting Numbers: [9, 4]
Generated Node #0,0,1: 13:[9, 4] Operation: 44/11=4
Moving to Node #0,0,1
Current State: 13:[9, 4], Operations: ['69-25=44', '44/11=4']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[9, 11, 69, 25], Operations: []
Exploring Operation: 69-25=44, Resulting Numbers: [9, 11, 44]
Generated Node #0,0: 13:[9, 11, 44] Operation: 69-25=44
Moving to Node #0,0
Current State: 13:[9, 11, 44], Operations: ['69-25=44']
Exploring Operation: 44/11=4, Resulting Numbers: [9, 4]
Generated Node #0,0,1: 13:[9, 4] Operation: 44/11=4
Moving to Node #0,0,1
Current State: 13:[9, 4], Operations: ['69-25=44', '44/11=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
6,
47,
54,
5
] | 100 | [
"47-6=41",
"54+5=59",
"41+59=100"
] | Current State: 100:[6, 47, 54, 5], Operations: []
Exploring Operation: 47-6=41, Resulting Numbers: [54, 5, 41]
Generated Node #2: [54, 5, 41] from Operation: 47-6=41
Current State: 100:[54, 5, 41], Operations: ['47-6=41']
Exploring Operation: 54+5=59, Resulting Numbers: [41, 59]
Generated Node #3: [41, 59] from Operation: 54+5=59
Current State: 100:[41, 59], Operations: ['47-6=41', '54+5=59']
Exploring Operation: 41+59=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[6, 47, 54, 5], Operations: []
Exploring Operation: 54-6=48, Resulting Numbers: [47, 5, 48]
Generated Node #0,0: 100:[47, 5, 48] Operation: 54-6=48
Exploring Operation: 54/6=9, Resulting Numbers: [47, 5, 9]
Generated Node #0,1: 100:[47, 5, 9] Operation: 54/6=9
Exploring Operation: 47+54=101, Resulting Numbers: [6, 5, 101]
Generated Node #0,2: 100:[6, 5, 101] Operation: 47+54=101
Exploring Operation: 54-47=7, Resulting Numbers: [6, 5, 7]
Generated Node #0,3: 100:[6, 5, 7] Operation: 54-47=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[6, 5, 101], Operations: ['47+54=101']
Exploring Operation: 6-5=1, Resulting Numbers: [101, 1]
Generated Node #0,2,0: 100:[101, 1] Operation: 6-5=1
Exploring Operation: 101-6=95, Resulting Numbers: [5, 95]
Generated Node #0,2,1: 100:[5, 95] Operation: 101-6=95
Exploring Operation: 6+5=11, Resulting Numbers: [101, 11]
Generated Node #0,2,2: 100:[101, 11] Operation: 6+5=11
Exploring Operation: 101-5=96, Resulting Numbers: [6, 96]
Generated Node #0,2,3: 100:[6, 96] Operation: 101-5=96
Moving to Node #0,2,0
Current State: 100:[101, 1], Operations: ['47+54=101', '6-5=1']
Exploring Operation: 101/1=101, Resulting Numbers: [101]
101,100 unequal: No Solution
Exploring Operation: 101+1=102, Resulting Numbers: [102]
102,100 unequal: No Solution
Exploring Operation: 101*1=101, Resulting Numbers: [101]
101,100 unequal: No Solution
Exploring Operation: 101-1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[6, 47, 54, 5], Operations: []
Exploring Operation: 47+54=101, Resulting Numbers: [6, 5, 101]
Generated Node #0,2: 100:[6, 5, 101] Operation: 47+54=101
Moving to Node #0,2
Current State: 100:[6, 5, 101], Operations: ['47+54=101']
Exploring Operation: 6-5=1, Resulting Numbers: [101, 1]
Generated Node #0,2,0: 100:[101, 1] Operation: 6-5=1
Moving to Node #0,2,0
Current State: 100:[101, 1], Operations: ['47+54=101', '6-5=1']
Exploring Operation: 101-1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
39,
52,
8,
44
] | 65 | [
"52-39=13",
"8+44=52",
"13+52=65"
] | Current State: 65:[39, 52, 8, 44], Operations: []
Exploring Operation: 52-39=13, Resulting Numbers: [8, 44, 13]
Generated Node #2: [8, 44, 13] from Operation: 52-39=13
Current State: 65:[8, 44, 13], Operations: ['52-39=13']
Exploring Operation: 8+44=52, Resulting Numbers: [13, 52]
Generated Node #3: [13, 52] from Operation: 8+44=52
Current State: 65:[13, 52], Operations: ['52-39=13', '8+44=52']
Exploring Operation: 13+52=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[39, 52, 8, 44], Operations: []
Exploring Operation: 44-39=5, Resulting Numbers: [52, 8, 5]
Generated Node #0,0: 65:[52, 8, 5] Operation: 44-39=5
Moving to Node #0,0
Current State: 65:[52, 8, 5], Operations: ['44-39=5']
Exploring Operation: 52+8=60, Resulting Numbers: [5, 60]
Generated Node #0,0,0: 65:[5, 60] Operation: 52+8=60
Moving to Node #0,0,0
Current State: 65:[5, 60], Operations: ['44-39=5', '52+8=60']
Exploring Operation: 5+60=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[39, 52, 8, 44], Operations: []
Exploring Operation: 44-39=5, Resulting Numbers: [52, 8, 5]
Generated Node #0,0: 65:[52, 8, 5] Operation: 44-39=5
Moving to Node #0,0
Current State: 65:[52, 8, 5], Operations: ['44-39=5']
Exploring Operation: 52+8=60, Resulting Numbers: [5, 60]
Generated Node #0,0,0: 65:[5, 60] Operation: 52+8=60
Moving to Node #0,0,0
Current State: 65:[5, 60], Operations: ['44-39=5', '52+8=60']
Exploring Operation: 5+60=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
49,
18,
85,
53
] | 99 | [
"49+18=67",
"85-53=32",
"67+32=99"
] | Current State: 99:[49, 18, 85, 53], Operations: []
Exploring Operation: 49+18=67, Resulting Numbers: [85, 53, 67]
Generated Node #2: [85, 53, 67] from Operation: 49+18=67
Current State: 99:[85, 53, 67], Operations: ['49+18=67']
Exploring Operation: 85-53=32, Resulting Numbers: [67, 32]
Generated Node #3: [67, 32] from Operation: 85-53=32
Current State: 99:[67, 32], Operations: ['49+18=67', '85-53=32']
Exploring Operation: 67+32=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[49, 18, 85, 53], Operations: []
Exploring Operation: 49+53=102, Resulting Numbers: [18, 85, 102]
Generated Node #0,0: 99:[18, 85, 102] Operation: 49+53=102
Exploring Operation: 85-49=36, Resulting Numbers: [18, 53, 36]
Generated Node #0,1: 99:[18, 53, 36] Operation: 85-49=36
Exploring Operation: 53-49=4, Resulting Numbers: [18, 85, 4]
Generated Node #0,2: 99:[18, 85, 4] Operation: 53-49=4
Exploring Operation: 85-53=32, Resulting Numbers: [49, 18, 32]
Generated Node #0,3: 99:[49, 18, 32] Operation: 85-53=32
Moving to Node #0,2
Current State: 99:[18, 85, 4], Operations: ['53-49=4']
Exploring Operation: 85+4=89, Resulting Numbers: [18, 89]
Generated Node #0,2,0: 99:[18, 89] Operation: 85+4=89
Exploring Operation: 18-4=14, Resulting Numbers: [85, 14]
Generated Node #0,2,1: 99:[85, 14] Operation: 18-4=14
Exploring Operation: 18+4=22, Resulting Numbers: [85, 22]
Generated Node #0,2,2: 99:[85, 22] Operation: 18+4=22
Exploring Operation: 18+85=103, Resulting Numbers: [4, 103]
Generated Node #0,2,3: 99:[4, 103] Operation: 18+85=103
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 99:[4, 103], Operations: ['53-49=4', '18+85=103']
Exploring Operation: 4+103=107, Resulting Numbers: [107]
107,99 unequal: No Solution
Exploring Operation: 103-4=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[49, 18, 85, 53], Operations: []
Exploring Operation: 53-49=4, Resulting Numbers: [18, 85, 4]
Generated Node #0,2: 99:[18, 85, 4] Operation: 53-49=4
Moving to Node #0,2
Current State: 99:[18, 85, 4], Operations: ['53-49=4']
Exploring Operation: 18+85=103, Resulting Numbers: [4, 103]
Generated Node #0,2,3: 99:[4, 103] Operation: 18+85=103
Moving to Node #0,2,3
Current State: 99:[4, 103], Operations: ['53-49=4', '18+85=103']
Exploring Operation: 103-4=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
69,
36,
8,
21
] | 51 | [
"36-21=15",
"8*15=120",
"120-69=51"
] | Current State: 51:[69, 36, 8, 21], Operations: []
Exploring Operation: 36-21=15, Resulting Numbers: [69, 8, 15]
Generated Node #2: [69, 8, 15] from Operation: 36-21=15
Current State: 51:[69, 8, 15], Operations: ['36-21=15']
Exploring Operation: 8*15=120, Resulting Numbers: [69, 120]
Generated Node #3: [69, 120] from Operation: 8*15=120
Current State: 51:[69, 120], Operations: ['36-21=15', '8*15=120']
Exploring Operation: 120-69=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[69, 36, 8, 21], Operations: []
Exploring Operation: 69-8=61, Resulting Numbers: [36, 21, 61]
Generated Node #0,0: 51:[36, 21, 61] Operation: 69-8=61
Exploring Operation: 36+8=44, Resulting Numbers: [69, 21, 44]
Generated Node #0,1: 51:[69, 21, 44] Operation: 36+8=44
Exploring Operation: 36-21=15, Resulting Numbers: [69, 8, 15]
Generated Node #0,2: 51:[69, 8, 15] Operation: 36-21=15
Exploring Operation: 69-36=33, Resulting Numbers: [8, 21, 33]
Generated Node #0,3: 51:[8, 21, 33] Operation: 69-36=33
Exploring Operation: 69-21=48, Resulting Numbers: [36, 8, 48]
Generated Node #0,4: 51:[36, 8, 48] Operation: 69-21=48
Moving to Node #0,4
Current State: 51:[36, 8, 48], Operations: ['69-21=48']
Exploring Operation: 48-36=12, Resulting Numbers: [8, 12]
Generated Node #0,4,0: 51:[8, 12] Operation: 48-36=12
Exploring Operation: 36-8=28, Resulting Numbers: [48, 28]
Generated Node #0,4,1: 51:[48, 28] Operation: 36-8=28
Exploring Operation: 8+48=56, Resulting Numbers: [36, 56]
Generated Node #0,4,2: 51:[36, 56] Operation: 8+48=56
Exploring Operation: 36+8=44, Resulting Numbers: [48, 44]
Generated Node #0,4,3: 51:[48, 44] Operation: 36+8=44
Exploring Operation: 48/8=6, Resulting Numbers: [36, 6]
Generated Node #0,4,4: 51:[36, 6] Operation: 48/8=6
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 51:[8, 12], Operations: ['69-21=48', '48-36=12']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,51 unequal: No Solution
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 51:[48, 44], Operations: ['69-21=48', '36+8=44']
Exploring Operation: 48*44=2112, Resulting Numbers: [2112]
2112,51 unequal: No Solution
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 48+44=92, Resulting Numbers: [92]
92,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 51:[48, 28], Operations: ['69-21=48', '36-8=28']
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 48+28=76, Resulting Numbers: [76]
76,51 unequal: No Solution
Exploring Operation: 48*28=1344, Resulting Numbers: [1344]
1344,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 51:[36, 6], Operations: ['69-21=48', '48/8=6']
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Exploring Operation: 36*6=216, Resulting Numbers: [216]
216,51 unequal: No Solution
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 51:[36, 56], Operations: ['69-21=48', '8+48=56']
Exploring Operation: 36+56=92, Resulting Numbers: [92]
92,51 unequal: No Solution
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 36*56=2016, Resulting Numbers: [2016]
2016,51 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: 51:[8, 21, 33], Operations: ['69-36=33']
Exploring Operation: 33-8=25, Resulting Numbers: [21, 25]
Generated Node #0,3,0: 51:[21, 25] Operation: 33-8=25
Exploring Operation: 21+33=54, Resulting Numbers: [8, 54]
Generated Node #0,3,1: 51:[8, 54] Operation: 21+33=54
Exploring Operation: 21-8=13, Resulting Numbers: [33, 13]
Generated Node #0,3,2: 51:[33, 13] Operation: 21-8=13
Exploring Operation: 33-21=12, Resulting Numbers: [8, 12]
Generated Node #0,3,3: 51:[8, 12] Operation: 33-21=12
Exploring Operation: 8+33=41, Resulting Numbers: [21, 41]
Generated Node #0,3,4: 51:[21, 41] Operation: 8+33=41
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 51:[8, 54], Operations: ['69-36=33', '21+33=54']
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 8*54=432, Resulting Numbers: [432]
432,51 unequal: No Solution
Exploring Operation: 8+54=62, Resulting Numbers: [62]
62,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 51:[8, 12], Operations: ['69-36=33', '33-21=12']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,51 unequal: No Solution
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 51:[21, 25], Operations: ['69-36=33', '33-8=25']
Exploring Operation: 21*25=525, Resulting Numbers: [525]
525,51 unequal: No Solution
Exploring Operation: 21+25=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 51:[21, 41], Operations: ['69-36=33', '8+33=41']
Exploring Operation: 21+41=62, Resulting Numbers: [62]
62,51 unequal: No Solution
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 21*41=861, Resulting Numbers: [861]
861,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 51:[33, 13], Operations: ['69-36=33', '21-8=13']
Exploring Operation: 33-13=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 33+13=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 33*13=429, Resulting Numbers: [429]
429,51 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: 51:[69, 8, 15], Operations: ['36-21=15']
Exploring Operation: 8+15=23, Resulting Numbers: [69, 23]
Generated Node #0,2,0: 51:[69, 23] Operation: 8+15=23
Exploring Operation: 69+8=77, Resulting Numbers: [15, 77]
Generated Node #0,2,1: 51:[15, 77] Operation: 69+8=77
Exploring Operation: 69-15=54, Resulting Numbers: [8, 54]
Generated Node #0,2,2: 51:[8, 54] Operation: 69-15=54
Exploring Operation: 69-8=61, Resulting Numbers: [15, 61]
Generated Node #0,2,3: 51:[15, 61] Operation: 69-8=61
Exploring Operation: 15-8=7, Resulting Numbers: [69, 7]
Generated Node #0,2,4: 51:[69, 7] Operation: 15-8=7
Moving to Node #0,0
Current State: 51:[36, 21, 61], Operations: ['69-8=61']
Exploring Operation: 21+61=82, Resulting Numbers: [36, 82]
Generated Node #0,0,0: 51:[36, 82] Operation: 21+61=82
Exploring Operation: 61-36=25, Resulting Numbers: [21, 25]
Generated Node #0,0,1: 51:[21, 25] Operation: 61-36=25
Exploring Operation: 36-21=15, Resulting Numbers: [61, 15]
Generated Node #0,0,2: 51:[61, 15] Operation: 36-21=15
Exploring Operation: 61-21=40, Resulting Numbers: [36, 40]
Generated Node #0,0,3: 51:[36, 40] Operation: 61-21=40
Exploring Operation: 36+21=57, Resulting Numbers: [61, 57]
Generated Node #0,0,4: 51:[61, 57] Operation: 36+21=57
Moving to Node #0,1
Current State: 51:[69, 21, 44], Operations: ['36+8=44']
Exploring Operation: 69-44=25, Resulting Numbers: [21, 25]
Generated Node #0,1,0: 51:[21, 25] Operation: 69-44=25
Exploring Operation: 69+21=90, Resulting Numbers: [44, 90]
Generated Node #0,1,1: 51:[44, 90] Operation: 69+21=90
Exploring Operation: 69-21=48, Resulting Numbers: [44, 48]
Generated Node #0,1,2: 51:[44, 48] Operation: 69-21=48
Exploring Operation: 44-21=23, Resulting Numbers: [69, 23]
Generated Node #0,1,3: 51:[69, 23] Operation: 44-21=23
Exploring Operation: 21+44=65, Resulting Numbers: [69, 65]
Generated Node #0,1,4: 51:[69, 65] Operation: 21+44=65
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 51:[44, 48], Operations: ['36+8=44', '69-21=48']
Exploring Operation: 44*48=2112, Resulting Numbers: [2112]
2112,51 unequal: No Solution
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 44+48=92, Resulting Numbers: [92]
92,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 51:[21, 25], Operations: ['36+8=44', '69-44=25']
Exploring Operation: 21*25=525, Resulting Numbers: [525]
525,51 unequal: No Solution
Exploring Operation: 21+25=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 51:[69, 23], Operations: ['36+8=44', '44-21=23']
Exploring Operation: 69*23=1587, Resulting Numbers: [1587]
1587,51 unequal: No Solution
Exploring Operation: 69-23=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 69/23=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 69+23=92, Resulting Numbers: [92]
92,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 51:[69, 65], Operations: ['36+8=44', '21+44=65']
Exploring Operation: 69*65=4485, Resulting Numbers: [4485]
4485,51 unequal: No Solution
Exploring Operation: 69-65=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 69+65=134, Resulting Numbers: [134]
134,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 51:[44, 90], Operations: ['36+8=44', '69+21=90']
Exploring Operation: 44+90=134, Resulting Numbers: [134]
134,51 unequal: No Solution
Exploring Operation: 90-44=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 44*90=3960, Resulting Numbers: [3960]
3960,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 51:[8, 54], Operations: ['36-21=15', '69-15=54']
Exploring Operation: 8*54=432, Resulting Numbers: [432]
432,51 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 8+54=62, Resulting Numbers: [62]
62,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[21, 25], Operations: ['69-8=61', '61-36=25']
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 21+25=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 21*25=525, Resulting Numbers: [525]
525,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[61, 15], Operations: ['69-8=61', '36-21=15']
Exploring Operation: 61*15=915, Resulting Numbers: [915]
915,51 unequal: No Solution
Exploring Operation: 61+15=76, Resulting Numbers: [76]
76,51 unequal: No Solution
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Moving to Node #0,2,3
Current State: 51:[15, 61], Operations: ['36-21=15', '69-8=61']
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 15*61=915, Resulting Numbers: [915]
915,51 unequal: No Solution
Exploring Operation: 15+61=76, Resulting Numbers: [76]
76,51 unequal: No Solution
Moving to Node #0,0,4
Current State: 51:[61, 57], Operations: ['69-8=61', '36+21=57']
Exploring Operation: 61-57=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 61*57=3477, Resulting Numbers: [3477]
3477,51 unequal: No Solution
Exploring Operation: 61+57=118, Resulting Numbers: [118]
118,51 unequal: No Solution
Moving to Node #0,2,4
Current State: 51:[69, 7], Operations: ['36-21=15', '15-8=7']
Exploring Operation: 69+7=76, Resulting Numbers: [76]
76,51 unequal: No Solution
Exploring Operation: 69*7=483, Resulting Numbers: [483]
483,51 unequal: No Solution
Exploring Operation: 69-7=62, Resulting Numbers: [62]
62,51 unequal: No Solution
Moving to Node #0,2,0
Current State: 51:[69, 23], Operations: ['36-21=15', '8+15=23']
Exploring Operation: 69*23=1587, Resulting Numbers: [1587]
1587,51 unequal: No Solution
Exploring Operation: 69-23=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 69/23=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 69+23=92, Resulting Numbers: [92]
92,51 unequal: No Solution
Moving to Node #0,0,3
Current State: 51:[36, 40], Operations: ['69-8=61', '61-21=40']
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,51 unequal: No Solution
Exploring Operation: 36*40=1440, Resulting Numbers: [1440]
1440,51 unequal: No Solution
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[15, 77], Operations: ['36-21=15', '69+8=77']
Exploring Operation: 15+77=92, Resulting Numbers: [92]
92,51 unequal: No Solution
Exploring Operation: 15*77=1155, Resulting Numbers: [1155]
1155,51 unequal: No Solution
Exploring Operation: 77-15=62, Resulting Numbers: [62]
62,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[36, 82], Operations: ['69-8=61', '21+61=82']
Exploring Operation: 36*82=2952, Resulting Numbers: [2952]
2952,51 unequal: No Solution
Exploring Operation: 82-36=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 36+82=118, Resulting Numbers: [118]
118,51 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
2,
66,
83,
34
] | 68 | [
"83-66=17",
"2*17=34",
"34+34=68"
] | Current State: 68:[2, 66, 83, 34], Operations: []
Exploring Operation: 83-66=17, Resulting Numbers: [2, 34, 17]
Generated Node #2: [2, 34, 17] from Operation: 83-66=17
Current State: 68:[2, 34, 17], Operations: ['83-66=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34, 34]
Generated Node #3: [34, 34] from Operation: 2*17=34
Current State: 68:[34, 34], Operations: ['83-66=17', '2*17=34']
Exploring Operation: 34+34=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[2, 66, 83, 34], Operations: []
Exploring Operation: 2+66=68, Resulting Numbers: [83, 34, 68]
Generated Node #0,0: 68:[83, 34, 68] Operation: 2+66=68
Exploring Operation: 83-66=17, Resulting Numbers: [2, 34, 17]
Generated Node #0,1: 68:[2, 34, 17] Operation: 83-66=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[2, 34, 17], Operations: ['83-66=17']
Exploring Operation: 2*34=68, Resulting Numbers: [17, 68]
Generated Node #0,1,0: 68:[17, 68] Operation: 2*34=68
Exploring Operation: 34/2=17, Resulting Numbers: [17, 17]
Generated Node #0,1,1: 68:[17, 17] Operation: 34/2=17
Moving to Node #0,1,0
Current State: 68:[17, 68], Operations: ['83-66=17', '2*34=68']
Exploring Operation: 17+68=85, Resulting Numbers: [85]
85,68 unequal: No Solution
Exploring Operation: 68/17=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[17, 17], Operations: ['83-66=17', '34/2=17']
Exploring Operation: 17+17=34, Resulting Numbers: [34]
34,68 unequal: No Solution
Exploring Operation: 17/17=1, Resulting Numbers: [1]
1,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[83, 34, 68], Operations: ['2+66=68']
Exploring Operation: 83-34=49, Resulting Numbers: [68, 49]
Generated Node #0,0,0: 68:[68, 49] Operation: 83-34=49
Exploring Operation: 83-68=15, Resulting Numbers: [34, 15]
Generated Node #0,0,1: 68:[34, 15] Operation: 83-68=15
Moving to Node #0,0,1
Current State: 68:[34, 15], Operations: ['2+66=68', '83-68=15']
Exploring Operation: 34+15=49, Resulting Numbers: [49]
49,68 unequal: No Solution
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[68, 49], Operations: ['2+66=68', '83-34=49']
Exploring Operation: 68+49=117, Resulting Numbers: [117]
117,68 unequal: No Solution
Exploring Operation: 68-49=19, Resulting Numbers: [19]
19,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
83,
85,
29,
84
] | 55 | [
"83+85=168",
"29+84=113",
"168-113=55"
] | Current State: 55:[83, 85, 29, 84], Operations: []
Exploring Operation: 83+85=168, Resulting Numbers: [29, 84, 168]
Generated Node #2: [29, 84, 168] from Operation: 83+85=168
Current State: 55:[29, 84, 168], Operations: ['83+85=168']
Exploring Operation: 29+84=113, Resulting Numbers: [168, 113]
Generated Node #3: [168, 113] from Operation: 29+84=113
Current State: 55:[168, 113], Operations: ['83+85=168', '29+84=113']
Exploring Operation: 168-113=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[83, 85, 29, 84], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [29, 84, 2]
Generated Node #0,0: 55:[29, 84, 2] Operation: 85-83=2
Moving to Node #0,0
Current State: 55:[29, 84, 2], Operations: ['85-83=2']
Exploring Operation: 84-29=55, Resulting Numbers: [2, 55]
Generated Node #0,0,0: 55:[2, 55] Operation: 84-29=55
Moving to Node #0,0,0
Current State: 55:[2, 55], Operations: ['85-83=2', '84-29=55']
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,55 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
85,
82,
10,
8
] | 50 | [
"85-82=3",
"8-3=5",
"10*5=50"
] | Current State: 50:[85, 82, 10, 8], Operations: []
Exploring Operation: 85-82=3, Resulting Numbers: [10, 8, 3]
Generated Node #2: [10, 8, 3] from Operation: 85-82=3
Current State: 50:[10, 8, 3], Operations: ['85-82=3']
Exploring Operation: 8-3=5, Resulting Numbers: [10, 5]
Generated Node #3: [10, 5] from Operation: 8-3=5
Current State: 50:[10, 5], Operations: ['85-82=3', '8-3=5']
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[85, 82, 10, 8], Operations: []
Exploring Operation: 82-10=72, Resulting Numbers: [85, 8, 72]
Generated Node #0,0: 50:[85, 8, 72] Operation: 82-10=72
Exploring Operation: 85-10=75, Resulting Numbers: [82, 8, 75]
Generated Node #0,1: 50:[82, 8, 75] Operation: 85-10=75
Exploring Operation: 82-8=74, Resulting Numbers: [85, 10, 74]
Generated Node #0,2: 50:[85, 10, 74] Operation: 82-8=74
Exploring Operation: 85-82=3, Resulting Numbers: [10, 8, 3]
Generated Node #0,3: 50:[10, 8, 3] Operation: 85-82=3
Exploring Operation: 85-8=77, Resulting Numbers: [82, 10, 77]
Generated Node #0,4: 50:[82, 10, 77] Operation: 85-8=77
Moving to Node #0,3
Current State: 50:[10, 8, 3], Operations: ['85-82=3']
Exploring Operation: 10-3=7, Resulting Numbers: [8, 7]
Generated Node #0,3,0: 50:[8, 7] Operation: 10-3=7
Exploring Operation: 8+3=11, Resulting Numbers: [10, 11]
Generated Node #0,3,1: 50:[10, 11] Operation: 8+3=11
Exploring Operation: 10-8=2, Resulting Numbers: [3, 2]
Generated Node #0,3,2: 50:[3, 2] Operation: 10-8=2
Exploring Operation: 8*3=24, Resulting Numbers: [10, 24]
Generated Node #0,3,3: 50:[10, 24] Operation: 8*3=24
Exploring Operation: 8-3=5, Resulting Numbers: [10, 5]
Generated Node #0,3,4: 50:[10, 5] Operation: 8-3=5
Moving to Node #0,1
Current State: 50:[82, 8, 75], Operations: ['85-10=75']
Exploring Operation: 82-75=7, Resulting Numbers: [8, 7]
Generated Node #0,1,0: 50:[8, 7] Operation: 82-75=7
Exploring Operation: 75-8=67, Resulting Numbers: [82, 67]
Generated Node #0,1,1: 50:[82, 67] Operation: 75-8=67
Exploring Operation: 8+75=83, Resulting Numbers: [82, 83]
Generated Node #0,1,2: 50:[82, 83] Operation: 8+75=83
Exploring Operation: 82+8=90, Resulting Numbers: [75, 90]
Generated Node #0,1,3: 50:[75, 90] Operation: 82+8=90
Exploring Operation: 82-8=74, Resulting Numbers: [75, 74]
Generated Node #0,1,4: 50:[75, 74] Operation: 82-8=74
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 50:[8, 7], Operations: ['85-10=75', '82-75=7']
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,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,1
Current State: 50:[82, 67], Operations: ['85-10=75', '75-8=67']
Exploring Operation: 82+67=149, Resulting Numbers: [149]
149,50 unequal: No Solution
Exploring Operation: 82-67=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 82*67=5494, Resulting Numbers: [5494]
5494,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,4
Current State: 50:[75, 74], Operations: ['85-10=75', '82-8=74']
Exploring Operation: 75-74=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 75*74=5550, Resulting Numbers: [5550]
5550,50 unequal: No Solution
Exploring Operation: 75+74=149, Resulting Numbers: [149]
149,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:[82, 83], Operations: ['85-10=75', '8+75=83']
Exploring Operation: 82*83=6806, Resulting Numbers: [6806]
6806,50 unequal: No Solution
Exploring Operation: 82+83=165, Resulting Numbers: [165]
165,50 unequal: No Solution
Exploring Operation: 83-82=1, Resulting Numbers: [1]
1,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,3
Current State: 50:[75, 90], Operations: ['85-10=75', '82+8=90']
Exploring Operation: 90-75=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 75*90=6750, Resulting Numbers: [6750]
6750,50 unequal: No Solution
Exploring Operation: 75+90=165, Resulting Numbers: [165]
165,50 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: 50:[82, 10, 77], Operations: ['85-8=77']
Exploring Operation: 82-10=72, Resulting Numbers: [77, 72]
Generated Node #0,4,0: 50:[77, 72] Operation: 82-10=72
Exploring Operation: 10+77=87, Resulting Numbers: [82, 87]
Generated Node #0,4,1: 50:[82, 87] Operation: 10+77=87
Exploring Operation: 82+10=92, Resulting Numbers: [77, 92]
Generated Node #0,4,2: 50:[77, 92] Operation: 82+10=92
Exploring Operation: 82-77=5, Resulting Numbers: [10, 5]
Generated Node #0,4,3: 50:[10, 5] Operation: 82-77=5
Exploring Operation: 77-10=67, Resulting Numbers: [82, 67]
Generated Node #0,4,4: 50:[82, 67] Operation: 77-10=67
Moving to Node #0,0
Current State: 50:[85, 8, 72], Operations: ['82-10=72']
Exploring Operation: 72/8=9, Resulting Numbers: [85, 9]
Generated Node #0,0,0: 50:[85, 9] Operation: 72/8=9
Exploring Operation: 85+8=93, Resulting Numbers: [72, 93]
Generated Node #0,0,1: 50:[72, 93] Operation: 85+8=93
Exploring Operation: 85-8=77, Resulting Numbers: [72, 77]
Generated Node #0,0,2: 50:[72, 77] Operation: 85-8=77
Exploring Operation: 85-72=13, Resulting Numbers: [8, 13]
Generated Node #0,0,3: 50:[8, 13] Operation: 85-72=13
Exploring Operation: 72-8=64, Resulting Numbers: [85, 64]
Generated Node #0,0,4: 50:[85, 64] Operation: 72-8=64
Moving to Node #0,2
Current State: 50:[85, 10, 74], Operations: ['82-8=74']
Exploring Operation: 85+10=95, Resulting Numbers: [74, 95]
Generated Node #0,2,0: 50:[74, 95] Operation: 85+10=95
Exploring Operation: 74-10=64, Resulting Numbers: [85, 64]
Generated Node #0,2,1: 50:[85, 64] Operation: 74-10=64
Exploring Operation: 85-74=11, Resulting Numbers: [10, 11]
Generated Node #0,2,2: 50:[10, 11] Operation: 85-74=11
Exploring Operation: 85-10=75, Resulting Numbers: [74, 75]
Generated Node #0,2,3: 50:[74, 75] Operation: 85-10=75
Exploring Operation: 10+74=84, Resulting Numbers: [85, 84]
Generated Node #0,2,4: 50:[85, 84] Operation: 10+74=84
Moving to Node #0,3,4
Current State: 50:[10, 5], Operations: ['85-82=3', '8-3=5']
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[85, 82, 10, 8], Operations: []
Exploring Operation: 85-82=3, Resulting Numbers: [10, 8, 3]
Generated Node #0,3: 50:[10, 8, 3] Operation: 85-82=3
Moving to Node #0,3
Current State: 50:[10, 8, 3], Operations: ['85-82=3']
Exploring Operation: 8-3=5, Resulting Numbers: [10, 5]
Generated Node #0,3,4: 50:[10, 5] Operation: 8-3=5
Moving to Node #0,3,4
Current State: 50:[10, 5], Operations: ['85-82=3', '8-3=5']
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.955729 | hs_5 | mult_heuristic |
[
21,
70,
84,
95
] | 29 | [
"84/21=4",
"95-70=25",
"4+25=29"
] | Current State: 29:[21, 70, 84, 95], Operations: []
Exploring Operation: 84/21=4, Resulting Numbers: [70, 95, 4]
Generated Node #2: [70, 95, 4] from Operation: 84/21=4
Current State: 29:[70, 95, 4], Operations: ['84/21=4']
Exploring Operation: 95-70=25, Resulting Numbers: [4, 25]
Generated Node #3: [4, 25] from Operation: 95-70=25
Current State: 29:[4, 25], Operations: ['84/21=4', '95-70=25']
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[21, 70, 84, 95], Operations: []
Exploring Operation: 95-84=11, Resulting Numbers: [21, 70, 11]
Generated Node #0,0: 29:[21, 70, 11] Operation: 95-84=11
Exploring Operation: 84/21=4, Resulting Numbers: [70, 95, 4]
Generated Node #0,1: 29:[70, 95, 4] Operation: 84/21=4
Exploring Operation: 70-21=49, Resulting Numbers: [84, 95, 49]
Generated Node #0,2: 29:[84, 95, 49] Operation: 70-21=49
Exploring Operation: 84-70=14, Resulting Numbers: [21, 95, 14]
Generated Node #0,3: 29:[21, 95, 14] Operation: 84-70=14
Exploring Operation: 95-70=25, Resulting Numbers: [21, 84, 25]
Generated Node #0,4: 29:[21, 84, 25] Operation: 95-70=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[21, 70, 11], Operations: ['95-84=11']
Exploring Operation: 70-21=49, Resulting Numbers: [11, 49]
Generated Node #0,0,0: 29:[11, 49] Operation: 70-21=49
Exploring Operation: 21+11=32, Resulting Numbers: [70, 32]
Generated Node #0,0,1: 29:[70, 32] Operation: 21+11=32
Exploring Operation: 70-11=59, Resulting Numbers: [21, 59]
Generated Node #0,0,2: 29:[21, 59] Operation: 70-11=59
Exploring Operation: 21-11=10, Resulting Numbers: [70, 10]
Generated Node #0,0,3: 29:[70, 10] Operation: 21-11=10
Exploring Operation: 70+11=81, Resulting Numbers: [21, 81]
Generated Node #0,0,4: 29:[21, 81] Operation: 70+11=81
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[11, 49], Operations: ['95-84=11', '70-21=49']
Exploring Operation: 11+49=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Exploring Operation: 11*49=539, Resulting Numbers: [539]
539,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 29:[21, 59], Operations: ['95-84=11', '70-11=59']
Exploring Operation: 21*59=1239, Resulting Numbers: [1239]
1239,29 unequal: No Solution
Exploring Operation: 59-21=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Exploring Operation: 21+59=80, Resulting Numbers: [80]
80,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[70, 32], Operations: ['95-84=11', '21+11=32']
Exploring Operation: 70*32=2240, Resulting Numbers: [2240]
2240,29 unequal: No Solution
Exploring Operation: 70+32=102, Resulting Numbers: [102]
102,29 unequal: No Solution
Exploring Operation: 70-32=38, Resulting Numbers: [38]
38,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 29:[70, 10], Operations: ['95-84=11', '21-11=10']
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 70+10=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 70*10=700, Resulting Numbers: [700]
700,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 29:[21, 81], Operations: ['95-84=11', '70+11=81']
Exploring Operation: 21+81=102, Resulting Numbers: [102]
102,29 unequal: No Solution
Exploring Operation: 21*81=1701, Resulting Numbers: [1701]
1701,29 unequal: No Solution
Exploring Operation: 81-21=60, Resulting Numbers: [60]
60,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 29:[21, 84, 25], Operations: ['95-70=25']
Exploring Operation: 84/21=4, Resulting Numbers: [25, 4]
Generated Node #0,4,0: 29:[25, 4] Operation: 84/21=4
Exploring Operation: 84-21=63, Resulting Numbers: [25, 63]
Generated Node #0,4,1: 29:[25, 63] Operation: 84-21=63
Exploring Operation: 21+84=105, Resulting Numbers: [25, 105]
Generated Node #0,4,2: 29:[25, 105] Operation: 21+84=105
Exploring Operation: 21+25=46, Resulting Numbers: [84, 46]
Generated Node #0,4,3: 29:[84, 46] Operation: 21+25=46
Exploring Operation: 84-25=59, Resulting Numbers: [21, 59]
Generated Node #0,4,4: 29:[21, 59] Operation: 84-25=59
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 29:[25, 4], Operations: ['95-70=25', '84/21=4']
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,29 unequal: No Solution
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[21, 70, 84, 95], Operations: []
Exploring Operation: 95-70=25, Resulting Numbers: [21, 84, 25]
Generated Node #0,4: 29:[21, 84, 25] Operation: 95-70=25
Moving to Node #0,4
Current State: 29:[21, 84, 25], Operations: ['95-70=25']
Exploring Operation: 84/21=4, Resulting Numbers: [25, 4]
Generated Node #0,4,0: 29:[25, 4] Operation: 84/21=4
Moving to Node #0,4,0
Current State: 29:[25, 4], Operations: ['95-70=25', '84/21=4']
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
25,
56,
41,
30
] | 50 | [
"25*30=750",
"56-41=15",
"750/15=50"
] | Current State: 50:[25, 56, 41, 30], Operations: []
Exploring Operation: 25*30=750, Resulting Numbers: [56, 41, 750]
Generated Node #2: [56, 41, 750] from Operation: 25*30=750
Current State: 50:[56, 41, 750], Operations: ['25*30=750']
Exploring Operation: 56-41=15, Resulting Numbers: [750, 15]
Generated Node #3: [750, 15] from Operation: 56-41=15
Current State: 50:[750, 15], Operations: ['25*30=750', '56-41=15']
Exploring Operation: 750/15=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[25, 56, 41, 30], Operations: []
Exploring Operation: 41-30=11, Resulting Numbers: [25, 56, 11]
Generated Node #0,0: 50:[25, 56, 11] Operation: 41-30=11
Exploring Operation: 56-41=15, Resulting Numbers: [25, 30, 15]
Generated Node #0,1: 50:[25, 30, 15] Operation: 56-41=15
Moving to Node #0,0
Current State: 50:[25, 56, 11], Operations: ['41-30=11']
Exploring Operation: 56-11=45, Resulting Numbers: [25, 45]
Generated Node #0,0,0: 50:[25, 45] Operation: 56-11=45
Exploring Operation: 56-25=31, Resulting Numbers: [11, 31]
Generated Node #0,0,1: 50:[11, 31] Operation: 56-25=31
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[25, 45], Operations: ['41-30=11', '56-11=45']
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,50 unequal: No Solution
Exploring Operation: 25+45=70, Resulting Numbers: [70]
70,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:[11, 31], Operations: ['41-30=11', '56-25=31']
Exploring Operation: 11+31=42, Resulting Numbers: [42]
42,50 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,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:[25, 30, 15], Operations: ['56-41=15']
Exploring Operation: 30-25=5, Resulting Numbers: [15, 5]
Generated Node #0,1,0: 50:[15, 5] Operation: 30-25=5
Exploring Operation: 30/15=2, Resulting Numbers: [25, 2]
Generated Node #0,1,1: 50:[25, 2] Operation: 30/15=2
Moving to Node #0,1,1
Current State: 50:[25, 2], Operations: ['56-41=15', '30/15=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[25, 56, 41, 30], Operations: []
Exploring Operation: 56-41=15, Resulting Numbers: [25, 30, 15]
Generated Node #0,1: 50:[25, 30, 15] Operation: 56-41=15
Moving to Node #0,1
Current State: 50:[25, 30, 15], Operations: ['56-41=15']
Exploring Operation: 30/15=2, Resulting Numbers: [25, 2]
Generated Node #0,1,1: 50:[25, 2] Operation: 30/15=2
Moving to Node #0,1,1
Current State: 50:[25, 2], Operations: ['56-41=15', '30/15=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
77,
25,
72,
37
] | 32 | [
"77-72=5",
"25/5=5",
"37-5=32"
] | Current State: 32:[77, 25, 72, 37], Operations: []
Exploring Operation: 77-72=5, Resulting Numbers: [25, 37, 5]
Generated Node #2: [25, 37, 5] from Operation: 77-72=5
Current State: 32:[25, 37, 5], Operations: ['77-72=5']
Exploring Operation: 25/5=5, Resulting Numbers: [37, 5]
Generated Node #3: [37, 5] from Operation: 25/5=5
Current State: 32:[37, 5], Operations: ['77-72=5', '25/5=5']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[77, 25, 72, 37], Operations: []
Exploring Operation: 77-72=5, Resulting Numbers: [25, 37, 5]
Generated Node #0,0: 32:[25, 37, 5] Operation: 77-72=5
Exploring Operation: 77-37=40, Resulting Numbers: [25, 72, 40]
Generated Node #0,1: 32:[25, 72, 40] Operation: 77-37=40
Exploring Operation: 72-37=35, Resulting Numbers: [77, 25, 35]
Generated Node #0,2: 32:[77, 25, 35] Operation: 72-37=35
Moving to Node #0,0
Current State: 32:[25, 37, 5], Operations: ['77-72=5']
Exploring Operation: 25/5=5, Resulting Numbers: [37, 5]
Generated Node #0,0,0: 32:[37, 5] Operation: 25/5=5
Exploring Operation: 37-25=12, Resulting Numbers: [5, 12]
Generated Node #0,0,1: 32:[5, 12] Operation: 37-25=12
Exploring Operation: 25+5=30, Resulting Numbers: [37, 30]
Generated Node #0,0,2: 32:[37, 30] Operation: 25+5=30
Moving to Node #0,1
Current State: 32:[25, 72, 40], Operations: ['77-37=40']
Exploring Operation: 72-40=32, Resulting Numbers: [25, 32]
Generated Node #0,1,0: 32:[25, 32] Operation: 72-40=32
Exploring Operation: 72-25=47, Resulting Numbers: [40, 47]
Generated Node #0,1,1: 32:[40, 47] Operation: 72-25=47
Exploring Operation: 40-25=15, Resulting Numbers: [72, 15]
Generated Node #0,1,2: 32:[72, 15] Operation: 40-25=15
Moving to Node #0,2
Current State: 32:[77, 25, 35], Operations: ['72-37=35']
Exploring Operation: 77-35=42, Resulting Numbers: [25, 42]
Generated Node #0,2,0: 32:[25, 42] Operation: 77-35=42
Exploring Operation: 35-25=10, Resulting Numbers: [77, 10]
Generated Node #0,2,1: 32:[77, 10] Operation: 35-25=10
Exploring Operation: 77-25=52, Resulting Numbers: [35, 52]
Generated Node #0,2,2: 32:[35, 52] Operation: 77-25=52
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 32:[25, 42], Operations: ['72-37=35', '77-35=42']
Exploring Operation: 25+42=67, Resulting Numbers: [67]
67,32 unequal: No Solution
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 25*42=1050, Resulting Numbers: [1050]
1050,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 32:[35, 52], Operations: ['72-37=35', '77-25=52']
Exploring Operation: 35*52=1820, Resulting Numbers: [1820]
1820,32 unequal: No Solution
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 35+52=87, Resulting Numbers: [87]
87,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 32:[77, 10], Operations: ['72-37=35', '35-25=10']
Exploring Operation: 77*10=770, Resulting Numbers: [770]
770,32 unequal: No Solution
Exploring Operation: 77+10=87, Resulting Numbers: [87]
87,32 unequal: No Solution
Exploring Operation: 77-10=67, Resulting Numbers: [67]
67,32 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: 32:[5, 12], Operations: ['77-72=5', '37-25=12']
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,32 unequal: No Solution
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[37, 5], Operations: ['77-72=5', '25/5=5']
Exploring Operation: 37*5=185, Resulting Numbers: [185]
185,32 unequal: No Solution
Exploring Operation: 37+5=42, Resulting Numbers: [42]
42,32 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[77, 25, 72, 37], Operations: []
Exploring Operation: 77-72=5, Resulting Numbers: [25, 37, 5]
Generated Node #0,0: 32:[25, 37, 5] Operation: 77-72=5
Moving to Node #0,0
Current State: 32:[25, 37, 5], Operations: ['77-72=5']
Exploring Operation: 25/5=5, Resulting Numbers: [37, 5]
Generated Node #0,0,0: 32:[37, 5] Operation: 25/5=5
Moving to Node #0,0,0
Current State: 32:[37, 5], Operations: ['77-72=5', '25/5=5']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 0.97309 | hs_3 | sum_heuristic |
[
85,
2,
35,
69
] | 86 | [
"85-69=16",
"2*35=70",
"16+70=86"
] | Current State: 86:[85, 2, 35, 69], Operations: []
Exploring Operation: 85-69=16, Resulting Numbers: [2, 35, 16]
Generated Node #2: [2, 35, 16] from Operation: 85-69=16
Current State: 86:[2, 35, 16], Operations: ['85-69=16']
Exploring Operation: 2*35=70, Resulting Numbers: [16, 70]
Generated Node #3: [16, 70] from Operation: 2*35=70
Current State: 86:[16, 70], Operations: ['85-69=16', '2*35=70']
Exploring Operation: 16+70=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[85, 2, 35, 69], Operations: []
Exploring Operation: 69-35=34, Resulting Numbers: [85, 2, 34]
Generated Node #0,0: 86:[85, 2, 34] Operation: 69-35=34
Exploring Operation: 35+69=104, Resulting Numbers: [85, 2, 104]
Generated Node #0,1: 86:[85, 2, 104] Operation: 35+69=104
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[85, 2, 34], Operations: ['69-35=34']
Exploring Operation: 2+34=36, Resulting Numbers: [85, 36]
Generated Node #0,0,0: 86:[85, 36] Operation: 2+34=36
Exploring Operation: 85-34=51, Resulting Numbers: [2, 51]
Generated Node #0,0,1: 86:[2, 51] Operation: 85-34=51
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[85, 36], Operations: ['69-35=34', '2+34=36']
Exploring Operation: 85+36=121, Resulting Numbers: [121]
121,86 unequal: No Solution
Exploring Operation: 85-36=49, Resulting Numbers: [49]
49,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 86:[2, 51], Operations: ['69-35=34', '85-34=51']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,86 unequal: No Solution
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[85, 2, 104], Operations: ['35+69=104']
Exploring Operation: 104/2=52, Resulting Numbers: [85, 52]
Generated Node #0,1,0: 86:[85, 52] Operation: 104/2=52
Exploring Operation: 104-85=19, Resulting Numbers: [2, 19]
Generated Node #0,1,1: 86:[2, 19] Operation: 104-85=19
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 86:[85, 52], Operations: ['35+69=104', '104/2=52']
Exploring Operation: 85+52=137, Resulting Numbers: [137]
137,86 unequal: No Solution
Exploring Operation: 85-52=33, Resulting Numbers: [33]
33,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 86:[2, 19], Operations: ['35+69=104', '104-85=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,86 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
76,
60,
80,
54
] | 49 | [
"76-60=16",
"80/16=5",
"54-5=49"
] | Current State: 49:[76, 60, 80, 54], Operations: []
Exploring Operation: 76-60=16, Resulting Numbers: [80, 54, 16]
Generated Node #2: [80, 54, 16] from Operation: 76-60=16
Current State: 49:[80, 54, 16], Operations: ['76-60=16']
Exploring Operation: 80/16=5, Resulting Numbers: [54, 5]
Generated Node #3: [54, 5] from Operation: 80/16=5
Current State: 49:[54, 5], Operations: ['76-60=16', '80/16=5']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[76, 60, 80, 54], Operations: []
Exploring Operation: 80-76=4, Resulting Numbers: [60, 54, 4]
Generated Node #0,0: 49:[60, 54, 4] Operation: 80-76=4
Moving to Node #0,0
Current State: 49:[60, 54, 4], Operations: ['80-76=4']
Exploring Operation: 60-54=6, Resulting Numbers: [4, 6]
Generated Node #0,0,0: 49:[4, 6] Operation: 60-54=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[4, 6], Operations: ['80-76=4', '60-54=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
12,
33,
36,
27
] | 42 | [
"33-12=21",
"36+27=63",
"63-21=42"
] | Current State: 42:[12, 33, 36, 27], Operations: []
Exploring Operation: 33-12=21, Resulting Numbers: [36, 27, 21]
Generated Node #2: [36, 27, 21] from Operation: 33-12=21
Current State: 42:[36, 27, 21], Operations: ['33-12=21']
Exploring Operation: 36+27=63, Resulting Numbers: [21, 63]
Generated Node #3: [21, 63] from Operation: 36+27=63
Current State: 42:[21, 63], Operations: ['33-12=21', '36+27=63']
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[12, 33, 36, 27], Operations: []
Exploring Operation: 36-33=3, Resulting Numbers: [12, 27, 3]
Generated Node #0,0: 42:[12, 27, 3] Operation: 36-33=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[12, 27, 3], Operations: ['36-33=3']
Exploring Operation: 27-12=15, Resulting Numbers: [3, 15]
Generated Node #0,0,0: 42:[3, 15] Operation: 27-12=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[3, 15], Operations: ['36-33=3', '27-12=15']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,42 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 |
[
66,
6,
62,
9
] | 37 | [
"66/6=11",
"9*11=99",
"99-62=37"
] | Current State: 37:[66, 6, 62, 9], Operations: []
Exploring Operation: 66/6=11, Resulting Numbers: [62, 9, 11]
Generated Node #2: [62, 9, 11] from Operation: 66/6=11
Current State: 37:[62, 9, 11], Operations: ['66/6=11']
Exploring Operation: 9*11=99, Resulting Numbers: [62, 99]
Generated Node #3: [62, 99] from Operation: 9*11=99
Current State: 37:[62, 99], Operations: ['66/6=11', '9*11=99']
Exploring Operation: 99-62=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[66, 6, 62, 9], Operations: []
Exploring Operation: 66-6=60, Resulting Numbers: [62, 9, 60]
Generated Node #0,0: 37:[62, 9, 60] Operation: 66-6=60
Exploring Operation: 66-9=57, Resulting Numbers: [6, 62, 57]
Generated Node #0,1: 37:[6, 62, 57] Operation: 66-9=57
Exploring Operation: 62-6=56, Resulting Numbers: [66, 9, 56]
Generated Node #0,2: 37:[66, 9, 56] Operation: 62-6=56
Exploring Operation: 6+9=15, Resulting Numbers: [66, 62, 15]
Generated Node #0,3: 37:[66, 62, 15] Operation: 6+9=15
Exploring Operation: 6*9=54, Resulting Numbers: [66, 62, 54]
Generated Node #0,4: 37:[66, 62, 54] Operation: 6*9=54
Start Sub Search at level 1: Moving to Node #0,4
Current State: 37:[66, 62, 54], Operations: ['6*9=54']
Exploring Operation: 62-54=8, Resulting Numbers: [66, 8]
Generated Node #0,4,0: 37:[66, 8] Operation: 62-54=8
Exploring Operation: 66-62=4, Resulting Numbers: [54, 4]
Generated Node #0,4,1: 37:[54, 4] Operation: 66-62=4
Exploring Operation: 66+54=120, Resulting Numbers: [62, 120]
Generated Node #0,4,2: 37:[62, 120] Operation: 66+54=120
Exploring Operation: 66+62=128, Resulting Numbers: [54, 128]
Generated Node #0,4,3: 37:[54, 128] Operation: 66+62=128
Exploring Operation: 66-54=12, Resulting Numbers: [62, 12]
Generated Node #0,4,4: 37:[62, 12] Operation: 66-54=12
Moving to Node #0,4,1
Current State: 37:[54, 4], Operations: ['6*9=54', '66-62=4']
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,37 unequal: No Solution
Exploring Operation: 54*4=216, Resulting Numbers: [216]
216,37 unequal: No Solution
Moving to Node #0,4,4
Current State: 37:[62, 12], Operations: ['6*9=54', '66-54=12']
Exploring Operation: 62*12=744, Resulting Numbers: [744]
744,37 unequal: No Solution
Exploring Operation: 62+12=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,37 unequal: No Solution
Moving to Node #0,4,0
Current State: 37:[66, 8], Operations: ['6*9=54', '62-54=8']
Exploring Operation: 66*8=528, Resulting Numbers: [528]
528,37 unequal: No Solution
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 66+8=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Moving to Node #0,4,2
Current State: 37:[62, 120], Operations: ['6*9=54', '66+54=120']
Exploring Operation: 120-62=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 62+120=182, Resulting Numbers: [182]
182,37 unequal: No Solution
Exploring Operation: 62*120=7440, Resulting Numbers: [7440]
7440,37 unequal: No Solution
Moving to Node #0,4,3
Current State: 37:[54, 128], Operations: ['6*9=54', '66+62=128']
Exploring Operation: 54+128=182, Resulting Numbers: [182]
182,37 unequal: No Solution
Exploring Operation: 128-54=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Exploring Operation: 54*128=6912, Resulting Numbers: [6912]
6912,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[62, 9, 60], Operations: ['66-6=60']
Exploring Operation: 62+9=71, Resulting Numbers: [60, 71]
Generated Node #0,0,0: 37:[60, 71] Operation: 62+9=71
Exploring Operation: 9+60=69, Resulting Numbers: [62, 69]
Generated Node #0,0,1: 37:[62, 69] Operation: 9+60=69
Exploring Operation: 62-60=2, Resulting Numbers: [9, 2]
Generated Node #0,0,2: 37:[9, 2] Operation: 62-60=2
Exploring Operation: 60-9=51, Resulting Numbers: [62, 51]
Generated Node #0,0,3: 37:[62, 51] Operation: 60-9=51
Exploring Operation: 62-9=53, Resulting Numbers: [60, 53]
Generated Node #0,0,4: 37:[60, 53] Operation: 62-9=53
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 37:[62, 51], Operations: ['66-6=60', '60-9=51']
Exploring Operation: 62+51=113, Resulting Numbers: [113]
113,37 unequal: No Solution
Exploring Operation: 62*51=3162, Resulting Numbers: [3162]
3162,37 unequal: No Solution
Exploring Operation: 62-51=11, Resulting Numbers: [11]
11,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,4
Current State: 37:[60, 53], Operations: ['66-6=60', '62-9=53']
Exploring Operation: 60-53=7, Resulting Numbers: [7]
7,37 unequal: No Solution
Exploring Operation: 60*53=3180, Resulting Numbers: [3180]
3180,37 unequal: No Solution
Exploring Operation: 60+53=113, Resulting Numbers: [113]
113,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:[60, 71], Operations: ['66-6=60', '62+9=71']
Exploring Operation: 60*71=4260, Resulting Numbers: [4260]
4260,37 unequal: No Solution
Exploring Operation: 60+71=131, Resulting Numbers: [131]
131,37 unequal: No Solution
Exploring Operation: 71-60=11, Resulting Numbers: [11]
11,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 37:[62, 69], Operations: ['66-6=60', '9+60=69']
Exploring Operation: 62*69=4278, Resulting Numbers: [4278]
4278,37 unequal: No Solution
Exploring Operation: 69-62=7, Resulting Numbers: [7]
7,37 unequal: No Solution
Exploring Operation: 62+69=131, Resulting Numbers: [131]
131,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:[9, 2], Operations: ['66-6=60', '62-60=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,37 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,37 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,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,1
Current State: 37:[6, 62, 57], Operations: ['66-9=57']
Exploring Operation: 57-6=51, Resulting Numbers: [62, 51]
Generated Node #0,1,0: 37:[62, 51] Operation: 57-6=51
Exploring Operation: 62-6=56, Resulting Numbers: [57, 56]
Generated Node #0,1,1: 37:[57, 56] Operation: 62-6=56
Exploring Operation: 6+57=63, Resulting Numbers: [62, 63]
Generated Node #0,1,2: 37:[62, 63] Operation: 6+57=63
Exploring Operation: 6+62=68, Resulting Numbers: [57, 68]
Generated Node #0,1,3: 37:[57, 68] Operation: 6+62=68
Exploring Operation: 62-57=5, Resulting Numbers: [6, 5]
Generated Node #0,1,4: 37:[6, 5] Operation: 62-57=5
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[62, 51], Operations: ['66-9=57', '57-6=51']
Exploring Operation: 62+51=113, Resulting Numbers: [113]
113,37 unequal: No Solution
Exploring Operation: 62*51=3162, Resulting Numbers: [3162]
3162,37 unequal: No Solution
Exploring Operation: 62-51=11, Resulting Numbers: [11]
11,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:[57, 56], Operations: ['66-9=57', '62-6=56']
Exploring Operation: 57*56=3192, Resulting Numbers: [3192]
3192,37 unequal: No Solution
Exploring Operation: 57+56=113, Resulting Numbers: [113]
113,37 unequal: No Solution
Exploring Operation: 57-56=1, Resulting Numbers: [1]
1,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:[62, 63], Operations: ['66-9=57', '6+57=63']
Exploring Operation: 63-62=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 62+63=125, Resulting Numbers: [125]
125,37 unequal: No Solution
Exploring Operation: 62*63=3906, Resulting Numbers: [3906]
3906,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,3
Current State: 37:[57, 68], Operations: ['66-9=57', '6+62=68']
Exploring Operation: 57+68=125, Resulting Numbers: [125]
125,37 unequal: No Solution
Exploring Operation: 68-57=11, Resulting Numbers: [11]
11,37 unequal: No Solution
Exploring Operation: 57*68=3876, Resulting Numbers: [3876]
3876,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 37:[6, 5], Operations: ['66-9=57', '62-57=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,37 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,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:[66, 9, 56], Operations: ['62-6=56']
Exploring Operation: 66+9=75, Resulting Numbers: [56, 75]
Generated Node #0,2,0: 37:[56, 75] Operation: 66+9=75
Exploring Operation: 56-9=47, Resulting Numbers: [66, 47]
Generated Node #0,2,1: 37:[66, 47] Operation: 56-9=47
Exploring Operation: 66-56=10, Resulting Numbers: [9, 10]
Generated Node #0,2,2: 37:[9, 10] Operation: 66-56=10
Exploring Operation: 66-9=57, Resulting Numbers: [56, 57]
Generated Node #0,2,3: 37:[56, 57] Operation: 66-9=57
Exploring Operation: 9+56=65, Resulting Numbers: [66, 65]
Generated Node #0,2,4: 37:[66, 65] Operation: 9+56=65
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 37:[66, 47], Operations: ['62-6=56', '56-9=47']
Exploring Operation: 66*47=3102, Resulting Numbers: [3102]
3102,37 unequal: No Solution
Exploring Operation: 66-47=19, Resulting Numbers: [19]
19,37 unequal: No Solution
Exploring Operation: 66+47=113, Resulting Numbers: [113]
113,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:[56, 57], Operations: ['62-6=56', '66-9=57']
Exploring Operation: 56*57=3192, Resulting Numbers: [3192]
3192,37 unequal: No Solution
Exploring Operation: 56+57=113, Resulting Numbers: [113]
113,37 unequal: No Solution
Exploring Operation: 57-56=1, Resulting Numbers: [1]
1,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:[9, 10], Operations: ['62-6=56', '66-56=10']
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,37 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,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,0
Current State: 37:[56, 75], Operations: ['62-6=56', '66+9=75']
Exploring Operation: 56*75=4200, Resulting Numbers: [4200]
4200,37 unequal: No Solution
Exploring Operation: 56+75=131, Resulting Numbers: [131]
131,37 unequal: No Solution
Exploring Operation: 75-56=19, Resulting Numbers: [19]
19,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,4
Current State: 37:[66, 65], Operations: ['62-6=56', '9+56=65']
Exploring Operation: 66*65=4290, Resulting Numbers: [4290]
4290,37 unequal: No Solution
Exploring Operation: 66+65=131, Resulting Numbers: [131]
131,37 unequal: No Solution
Exploring Operation: 66-65=1, Resulting Numbers: [1]
1,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:[66, 62, 15], Operations: ['6+9=15']
Exploring Operation: 66-62=4, Resulting Numbers: [15, 4]
Generated Node #0,3,0: 37:[15, 4] Operation: 66-62=4
Exploring Operation: 66-15=51, Resulting Numbers: [62, 51]
Generated Node #0,3,1: 37:[62, 51] Operation: 66-15=51
Exploring Operation: 62+15=77, Resulting Numbers: [66, 77]
Generated Node #0,3,2: 37:[66, 77] Operation: 62+15=77
Exploring Operation: 66+15=81, Resulting Numbers: [62, 81]
Generated Node #0,3,3: 37:[62, 81] Operation: 66+15=81
Exploring Operation: 62-15=47, Resulting Numbers: [66, 47]
Generated Node #0,3,4: 37:[66, 47] Operation: 62-15=47
Moving to Node #0,3,1
Current State: 37:[62, 51], Operations: ['6+9=15', '66-15=51']
Exploring Operation: 62-51=11, Resulting Numbers: [11]
11,37 unequal: No Solution
Exploring Operation: 62*51=3162, Resulting Numbers: [3162]
3162,37 unequal: No Solution
Exploring Operation: 62+51=113, Resulting Numbers: [113]
113,37 unequal: No Solution
Moving to Node #0,3,4
Current State: 37:[66, 47], Operations: ['6+9=15', '62-15=47']
Exploring Operation: 66+47=113, Resulting Numbers: [113]
113,37 unequal: No Solution
Exploring Operation: 66-47=19, Resulting Numbers: [19]
19,37 unequal: No Solution
Exploring Operation: 66*47=3102, Resulting Numbers: [3102]
3102,37 unequal: No Solution
Moving to Node #0,3,0
Current State: 37:[15, 4], Operations: ['6+9=15', '66-62=4']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,37 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,37 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,37 unequal: No Solution
Moving to Node #0,3,2
Current State: 37:[66, 77], Operations: ['6+9=15', '62+15=77']
Exploring Operation: 66*77=5082, Resulting Numbers: [5082]
5082,37 unequal: No Solution
Exploring Operation: 66+77=143, Resulting Numbers: [143]
143,37 unequal: No Solution
Exploring Operation: 77-66=11, Resulting Numbers: [11]
11,37 unequal: No Solution
Moving to Node #0,3,3
Current State: 37:[62, 81], Operations: ['6+9=15', '66+15=81']
Exploring Operation: 62*81=5022, Resulting Numbers: [5022]
5022,37 unequal: No Solution
Exploring Operation: 81-62=19, Resulting Numbers: [19]
19,37 unequal: No Solution
Exploring Operation: 62+81=143, Resulting Numbers: [143]
143,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
82,
84,
76,
99
] | 61 | [
"84-82=2",
"76/2=38",
"99-38=61"
] | Current State: 61:[82, 84, 76, 99], Operations: []
Exploring Operation: 84-82=2, Resulting Numbers: [76, 99, 2]
Generated Node #2: [76, 99, 2] from Operation: 84-82=2
Current State: 61:[76, 99, 2], Operations: ['84-82=2']
Exploring Operation: 76/2=38, Resulting Numbers: [99, 38]
Generated Node #3: [99, 38] from Operation: 76/2=38
Current State: 61:[99, 38], Operations: ['84-82=2', '76/2=38']
Exploring Operation: 99-38=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[82, 84, 76, 99], Operations: []
Exploring Operation: 99-76=23, Resulting Numbers: [82, 84, 23]
Generated Node #0,0: 61:[82, 84, 23] Operation: 99-76=23
Exploring Operation: 99-84=15, Resulting Numbers: [82, 76, 15]
Generated Node #0,1: 61:[82, 76, 15] Operation: 99-84=15
Exploring Operation: 84-82=2, Resulting Numbers: [76, 99, 2]
Generated Node #0,2: 61:[76, 99, 2] Operation: 84-82=2
Exploring Operation: 99-82=17, Resulting Numbers: [84, 76, 17]
Generated Node #0,3: 61:[84, 76, 17] Operation: 99-82=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[82, 84, 23], Operations: ['99-76=23']
Exploring Operation: 84-23=61, Resulting Numbers: [82, 61]
Generated Node #0,0,0: 61:[82, 61] Operation: 84-23=61
Exploring Operation: 82+23=105, Resulting Numbers: [84, 105]
Generated Node #0,0,1: 61:[84, 105] Operation: 82+23=105
Exploring Operation: 82-23=59, Resulting Numbers: [84, 59]
Generated Node #0,0,2: 61:[84, 59] Operation: 82-23=59
Exploring Operation: 84+23=107, Resulting Numbers: [82, 107]
Generated Node #0,0,3: 61:[82, 107] Operation: 84+23=107
Moving to Node #0,0,0
Current State: 61:[82, 61], Operations: ['99-76=23', '84-23=61']
Exploring Operation: 82+61=143, Resulting Numbers: [143]
143,61 unequal: No Solution
Exploring Operation: 82-61=21, Resulting Numbers: [21]
21,61 unequal: No Solution
Exploring Operation: 82*61=5002, Resulting Numbers: [5002]
5002,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[84, 59], Operations: ['99-76=23', '82-23=59']
Exploring Operation: 84*59=4956, Resulting Numbers: [4956]
4956,61 unequal: No Solution
Exploring Operation: 84-59=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Exploring Operation: 84+59=143, Resulting Numbers: [143]
143,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[82, 107], Operations: ['99-76=23', '84+23=107']
Exploring Operation: 82+107=189, Resulting Numbers: [189]
189,61 unequal: No Solution
Exploring Operation: 82*107=8774, Resulting Numbers: [8774]
8774,61 unequal: No Solution
Exploring Operation: 107-82=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[84, 105], Operations: ['99-76=23', '82+23=105']
Exploring Operation: 84+105=189, Resulting Numbers: [189]
189,61 unequal: No Solution
Exploring Operation: 84*105=8820, Resulting Numbers: [8820]
8820,61 unequal: No Solution
Exploring Operation: 105-84=21, Resulting Numbers: [21]
21,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[82, 76, 15], Operations: ['99-84=15']
Exploring Operation: 82+15=97, Resulting Numbers: [76, 97]
Generated Node #0,1,0: 61:[76, 97] Operation: 82+15=97
Exploring Operation: 76+15=91, Resulting Numbers: [82, 91]
Generated Node #0,1,1: 61:[82, 91] Operation: 76+15=91
Exploring Operation: 76-15=61, Resulting Numbers: [82, 61]
Generated Node #0,1,2: 61:[82, 61] Operation: 76-15=61
Exploring Operation: 82-15=67, Resulting Numbers: [76, 67]
Generated Node #0,1,3: 61:[76, 67] Operation: 82-15=67
Moving to Node #0,1,2
Current State: 61:[82, 61], Operations: ['99-84=15', '76-15=61']
Exploring Operation: 82*61=5002, Resulting Numbers: [5002]
5002,61 unequal: No Solution
Exploring Operation: 82-61=21, Resulting Numbers: [21]
21,61 unequal: No Solution
Exploring Operation: 82+61=143, Resulting Numbers: [143]
143,61 unequal: No Solution
Moving to Node #0,1,3
Current State: 61:[76, 67], Operations: ['99-84=15', '82-15=67']
Exploring Operation: 76+67=143, Resulting Numbers: [143]
143,61 unequal: No Solution
Exploring Operation: 76-67=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Exploring Operation: 76*67=5092, Resulting Numbers: [5092]
5092,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[82, 91], Operations: ['99-84=15', '76+15=91']
Exploring Operation: 82*91=7462, Resulting Numbers: [7462]
7462,61 unequal: No Solution
Exploring Operation: 91-82=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Exploring Operation: 82+91=173, Resulting Numbers: [173]
173,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[76, 97], Operations: ['99-84=15', '82+15=97']
Exploring Operation: 97-76=21, Resulting Numbers: [21]
21,61 unequal: No Solution
Exploring Operation: 76+97=173, Resulting Numbers: [173]
173,61 unequal: No Solution
Exploring Operation: 76*97=7372, Resulting Numbers: [7372]
7372,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 61:[84, 76, 17], Operations: ['99-82=17']
Exploring Operation: 84+17=101, Resulting Numbers: [76, 101]
Generated Node #0,3,0: 61:[76, 101] Operation: 84+17=101
Exploring Operation: 76-17=59, Resulting Numbers: [84, 59]
Generated Node #0,3,1: 61:[84, 59] Operation: 76-17=59
Exploring Operation: 76+17=93, Resulting Numbers: [84, 93]
Generated Node #0,3,2: 61:[84, 93] Operation: 76+17=93
Exploring Operation: 84-17=67, Resulting Numbers: [76, 67]
Generated Node #0,3,3: 61:[76, 67] Operation: 84-17=67
Moving to Node #0,3,3
Current State: 61:[76, 67], Operations: ['99-82=17', '84-17=67']
Exploring Operation: 76-67=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Exploring Operation: 76+67=143, Resulting Numbers: [143]
143,61 unequal: No Solution
Exploring Operation: 76*67=5092, Resulting Numbers: [5092]
5092,61 unequal: No Solution
Moving to Node #0,3,1
Current State: 61:[84, 59], Operations: ['99-82=17', '76-17=59']
Exploring Operation: 84+59=143, Resulting Numbers: [143]
143,61 unequal: No Solution
Exploring Operation: 84*59=4956, Resulting Numbers: [4956]
4956,61 unequal: No Solution
Exploring Operation: 84-59=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[84, 93], Operations: ['99-82=17', '76+17=93']
Exploring Operation: 93-84=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Exploring Operation: 84*93=7812, Resulting Numbers: [7812]
7812,61 unequal: No Solution
Exploring Operation: 84+93=177, Resulting Numbers: [177]
177,61 unequal: No Solution
Moving to Node #0,3,0
Current State: 61:[76, 101], Operations: ['99-82=17', '84+17=101']
Exploring Operation: 76+101=177, Resulting Numbers: [177]
177,61 unequal: No Solution
Exploring Operation: 76*101=7676, Resulting Numbers: [7676]
7676,61 unequal: No Solution
Exploring Operation: 101-76=25, Resulting Numbers: [25]
25,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[76, 99, 2], Operations: ['84-82=2']
Exploring Operation: 99-2=97, Resulting Numbers: [76, 97]
Generated Node #0,2,0: 61:[76, 97] Operation: 99-2=97
Exploring Operation: 76+2=78, Resulting Numbers: [99, 78]
Generated Node #0,2,1: 61:[99, 78] Operation: 76+2=78
Exploring Operation: 99+2=101, Resulting Numbers: [76, 101]
Generated Node #0,2,2: 61:[76, 101] Operation: 99+2=101
Exploring Operation: 76-2=74, Resulting Numbers: [99, 74]
Generated Node #0,2,3: 61:[99, 74] Operation: 76-2=74
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 61:[76, 97], Operations: ['84-82=2', '99-2=97']
Exploring Operation: 76*97=7372, Resulting Numbers: [7372]
7372,61 unequal: No Solution
Exploring Operation: 97-76=21, Resulting Numbers: [21]
21,61 unequal: No Solution
Exploring Operation: 76+97=173, Resulting Numbers: [173]
173,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 61:[99, 74], Operations: ['84-82=2', '76-2=74']
Exploring Operation: 99-74=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Exploring Operation: 99*74=7326, Resulting Numbers: [7326]
7326,61 unequal: No Solution
Exploring Operation: 99+74=173, Resulting Numbers: [173]
173,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 61:[99, 78], Operations: ['84-82=2', '76+2=78']
Exploring Operation: 99+78=177, Resulting Numbers: [177]
177,61 unequal: No Solution
Exploring Operation: 99*78=7722, Resulting Numbers: [7722]
7722,61 unequal: No Solution
Exploring Operation: 99-78=21, Resulting Numbers: [21]
21,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 61:[76, 101], Operations: ['84-82=2', '99+2=101']
Exploring Operation: 76*101=7676, Resulting Numbers: [7676]
7676,61 unequal: No Solution
Exploring Operation: 101-76=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Exploring Operation: 76+101=177, Resulting Numbers: [177]
177,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
41,
33,
20,
79
] | 51 | [
"41-33=8",
"79-20=59",
"59-8=51"
] | Current State: 51:[41, 33, 20, 79], Operations: []
Exploring Operation: 41-33=8, Resulting Numbers: [20, 79, 8]
Generated Node #2: [20, 79, 8] from Operation: 41-33=8
Current State: 51:[20, 79, 8], Operations: ['41-33=8']
Exploring Operation: 79-20=59, Resulting Numbers: [8, 59]
Generated Node #3: [8, 59] from Operation: 79-20=59
Current State: 51:[8, 59], Operations: ['41-33=8', '79-20=59']
Exploring Operation: 59-8=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[41, 33, 20, 79], Operations: []
Exploring Operation: 79-33=46, Resulting Numbers: [41, 20, 46]
Generated Node #0,0: 51:[41, 20, 46] Operation: 79-33=46
Exploring Operation: 79-41=38, Resulting Numbers: [33, 20, 38]
Generated Node #0,1: 51:[33, 20, 38] Operation: 79-41=38
Moving to Node #0,0
Current State: 51:[41, 20, 46], Operations: ['79-33=46']
Exploring Operation: 46-41=5, Resulting Numbers: [20, 5]
Generated Node #0,0,0: 51:[20, 5] Operation: 46-41=5
Exploring Operation: 41-20=21, Resulting Numbers: [46, 21]
Generated Node #0,0,1: 51:[46, 21] Operation: 41-20=21
Moving to Node #0,1
Current State: 51:[33, 20, 38], Operations: ['79-41=38']
Exploring Operation: 38-33=5, Resulting Numbers: [20, 5]
Generated Node #0,1,0: 51:[20, 5] Operation: 38-33=5
Exploring Operation: 33+20=53, Resulting Numbers: [38, 53]
Generated Node #0,1,1: 51:[38, 53] Operation: 33+20=53
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 51:[20, 5], Operations: ['79-41=38', '38-33=5']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 51:[38, 53], Operations: ['79-41=38', '33+20=53']
Exploring Operation: 38+53=91, Resulting Numbers: [91]
91,51 unequal: No Solution
Exploring Operation: 53-38=15, Resulting Numbers: [15]
15,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 51:[20, 5], Operations: ['79-33=46', '46-41=5']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[46, 21], Operations: ['79-33=46', '41-20=21']
Exploring Operation: 46+21=67, Resulting Numbers: [67]
67,51 unequal: No Solution
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,51 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
59,
74,
15,
4
] | 37 | [
"59+74=133",
"15+133=148",
"148/4=37"
] | Current State: 37:[59, 74, 15, 4], Operations: []
Exploring Operation: 59+74=133, Resulting Numbers: [15, 4, 133]
Generated Node #2: [15, 4, 133] from Operation: 59+74=133
Current State: 37:[15, 4, 133], Operations: ['59+74=133']
Exploring Operation: 15+133=148, Resulting Numbers: [4, 148]
Generated Node #3: [4, 148] from Operation: 15+133=148
Current State: 37:[4, 148], Operations: ['59+74=133', '15+133=148']
Exploring Operation: 148/4=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[59, 74, 15, 4], Operations: []
Exploring Operation: 74-15=59, Resulting Numbers: [59, 4, 59]
Generated Node #0,0: 37:[59, 4, 59] Operation: 74-15=59
Exploring Operation: 59-4=55, Resulting Numbers: [74, 15, 55]
Generated Node #0,1: 37:[74, 15, 55] Operation: 59-4=55
Exploring Operation: 59-15=44, Resulting Numbers: [74, 4, 44]
Generated Node #0,2: 37:[74, 4, 44] Operation: 59-15=44
Exploring Operation: 74-59=15, Resulting Numbers: [15, 4, 15]
Generated Node #0,3: 37:[15, 4, 15] Operation: 74-59=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[59, 4, 59], Operations: ['74-15=59']
Exploring Operation: 59-4=55, Resulting Numbers: [59, 55]
Generated Node #0,0,0: 37:[59, 55] Operation: 59-4=55
Exploring Operation: 59-4=55, Resulting Numbers: [59, 55]
Generated Node #0,0,1: 37:[59, 55] Operation: 59-4=55
Exploring Operation: 59+4=63, Resulting Numbers: [59, 63]
Generated Node #0,0,2: 37:[59, 63] Operation: 59+4=63
Exploring Operation: 4+59=63, Resulting Numbers: [59, 63]
Generated Node #0,0,3: 37:[59, 63] Operation: 4+59=63
Moving to Node #0,0,0
Current State: 37:[59, 55], Operations: ['74-15=59', '59-4=55']
Exploring Operation: 59+55=114, Resulting Numbers: [114]
114,37 unequal: No Solution
Exploring Operation: 59-55=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 59*55=3245, Resulting Numbers: [3245]
3245,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[59, 55], Operations: ['74-15=59', '59-4=55']
Exploring Operation: 59-55=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 59+55=114, Resulting Numbers: [114]
114,37 unequal: No Solution
Exploring Operation: 59*55=3245, Resulting Numbers: [3245]
3245,37 unequal: No Solution
Moving to Node #0,0,3
Current State: 37:[59, 63], Operations: ['74-15=59', '4+59=63']
Exploring Operation: 59+63=122, Resulting Numbers: [122]
122,37 unequal: No Solution
Exploring Operation: 63-59=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 59*63=3717, Resulting Numbers: [3717]
3717,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[59, 63], Operations: ['74-15=59', '59+4=63']
Exploring Operation: 59+63=122, Resulting Numbers: [122]
122,37 unequal: No Solution
Exploring Operation: 59*63=3717, Resulting Numbers: [3717]
3717,37 unequal: No Solution
Exploring Operation: 63-59=4, Resulting Numbers: [4]
4,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:[74, 15, 55], Operations: ['59-4=55']
Exploring Operation: 74-15=59, Resulting Numbers: [55, 59]
Generated Node #0,1,0: 37:[55, 59] Operation: 74-15=59
Exploring Operation: 74-55=19, Resulting Numbers: [15, 19]
Generated Node #0,1,1: 37:[15, 19] Operation: 74-55=19
Exploring Operation: 74+15=89, Resulting Numbers: [55, 89]
Generated Node #0,1,2: 37:[55, 89] Operation: 74+15=89
Exploring Operation: 55-15=40, Resulting Numbers: [74, 40]
Generated Node #0,1,3: 37:[74, 40] Operation: 55-15=40
Moving to Node #0,1,0
Current State: 37:[55, 59], Operations: ['59-4=55', '74-15=59']
Exploring Operation: 59-55=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 55*59=3245, Resulting Numbers: [3245]
3245,37 unequal: No Solution
Exploring Operation: 55+59=114, Resulting Numbers: [114]
114,37 unequal: No Solution
Moving to Node #0,1,3
Current State: 37:[74, 40], Operations: ['59-4=55', '55-15=40']
Exploring Operation: 74+40=114, Resulting Numbers: [114]
114,37 unequal: No Solution
Exploring Operation: 74-40=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 74*40=2960, Resulting Numbers: [2960]
2960,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[15, 19], Operations: ['59-4=55', '74-55=19']
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 15*19=285, Resulting Numbers: [285]
285,37 unequal: No Solution
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[55, 89], Operations: ['59-4=55', '74+15=89']
Exploring Operation: 55+89=144, Resulting Numbers: [144]
144,37 unequal: No Solution
Exploring Operation: 55*89=4895, Resulting Numbers: [4895]
4895,37 unequal: No Solution
Exploring Operation: 89-55=34, Resulting Numbers: [34]
34,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,2
Current State: 37:[74, 4, 44], Operations: ['59-15=44']
Exploring Operation: 74+4=78, Resulting Numbers: [44, 78]
Generated Node #0,2,0: 37:[44, 78] Operation: 74+4=78
Exploring Operation: 74-4=70, Resulting Numbers: [44, 70]
Generated Node #0,2,1: 37:[44, 70] Operation: 74-4=70
Exploring Operation: 74-44=30, Resulting Numbers: [4, 30]
Generated Node #0,2,2: 37:[4, 30] Operation: 74-44=30
Exploring Operation: 44-4=40, Resulting Numbers: [74, 40]
Generated Node #0,2,3: 37:[74, 40] Operation: 44-4=40
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 37:[44, 70], Operations: ['59-15=44', '74-4=70']
Exploring Operation: 44*70=3080, Resulting Numbers: [3080]
3080,37 unequal: No Solution
Exploring Operation: 70-44=26, Resulting Numbers: [26]
26,37 unequal: No Solution
Exploring Operation: 44+70=114, Resulting Numbers: [114]
114,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:[4, 30], Operations: ['59-15=44', '74-44=30']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,37 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,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:[74, 40], Operations: ['59-15=44', '44-4=40']
Exploring Operation: 74+40=114, Resulting Numbers: [114]
114,37 unequal: No Solution
Exploring Operation: 74*40=2960, Resulting Numbers: [2960]
2960,37 unequal: No Solution
Exploring Operation: 74-40=34, Resulting Numbers: [34]
34,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,0
Current State: 37:[44, 78], Operations: ['59-15=44', '74+4=78']
Exploring Operation: 44*78=3432, Resulting Numbers: [3432]
3432,37 unequal: No Solution
Exploring Operation: 78-44=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 44+78=122, Resulting Numbers: [122]
122,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:[15, 4, 15], Operations: ['74-59=15']
Exploring Operation: 4+15=19, Resulting Numbers: [15, 19]
Generated Node #0,3,0: 37:[15, 19] Operation: 4+15=19
Exploring Operation: 15+4=19, Resulting Numbers: [15, 19]
Generated Node #0,3,1: 37:[15, 19] Operation: 15+4=19
Exploring Operation: 15*4=60, Resulting Numbers: [15, 60]
Generated Node #0,3,2: 37:[15, 60] Operation: 15*4=60
Exploring Operation: 15+15=30, Resulting Numbers: [4, 30]
Generated Node #0,3,3: 37:[4, 30] Operation: 15+15=30
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 37:[15, 19], Operations: ['74-59=15', '4+15=19']
Exploring Operation: 15*19=285, Resulting Numbers: [285]
285,37 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,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:[15, 19], Operations: ['74-59=15', '15+4=19']
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 15*19=285, Resulting Numbers: [285]
285,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:[4, 30], Operations: ['74-59=15', '15+15=30']
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,37 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,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,2
Current State: 37:[15, 60], Operations: ['74-59=15', '15*4=60']
Exploring Operation: 15+60=75, Resulting Numbers: [75]
75,37 unequal: No Solution
Exploring Operation: 60/15=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 15*60=900, Resulting Numbers: [900]
900,37 unequal: No Solution
Exploring Operation: 60-15=45, Resulting Numbers: [45]
45,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 | sum_heuristic |
[
2,
99,
10,
78
] | 41 | [
"2*10=20",
"99-78=21",
"20+21=41"
] | Current State: 41:[2, 99, 10, 78], Operations: []
Exploring Operation: 2*10=20, Resulting Numbers: [99, 78, 20]
Generated Node #2: [99, 78, 20] from Operation: 2*10=20
Current State: 41:[99, 78, 20], Operations: ['2*10=20']
Exploring Operation: 99-78=21, Resulting Numbers: [20, 21]
Generated Node #3: [20, 21] from Operation: 99-78=21
Current State: 41:[20, 21], Operations: ['2*10=20', '99-78=21']
Exploring Operation: 20+21=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[2, 99, 10, 78], Operations: []
Exploring Operation: 78/2=39, Resulting Numbers: [99, 10, 39]
Generated Node #0,0: 41:[99, 10, 39] Operation: 78/2=39
Exploring Operation: 99-78=21, Resulting Numbers: [2, 10, 21]
Generated Node #0,1: 41:[2, 10, 21] Operation: 99-78=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[2, 10, 21], Operations: ['99-78=21']
Exploring Operation: 2*10=20, Resulting Numbers: [21, 20]
Generated Node #0,1,0: 41:[21, 20] Operation: 2*10=20
Exploring Operation: 2*21=42, Resulting Numbers: [10, 42]
Generated Node #0,1,1: 41:[10, 42] Operation: 2*21=42
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[10, 42], Operations: ['99-78=21', '2*21=42']
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 10+42=52, Resulting Numbers: [52]
52,41 unequal: No Solution
No 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: 41:[21, 20], Operations: ['99-78=21', '2*10=20']
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,41 unequal: No Solution
Exploring Operation: 21+20=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[2, 99, 10, 78], Operations: []
Exploring Operation: 99-78=21, Resulting Numbers: [2, 10, 21]
Generated Node #0,1: 41:[2, 10, 21] Operation: 99-78=21
Moving to Node #0,1
Current State: 41:[2, 10, 21], Operations: ['99-78=21']
Exploring Operation: 2*10=20, Resulting Numbers: [21, 20]
Generated Node #0,1,0: 41:[21, 20] Operation: 2*10=20
Moving to Node #0,1,0
Current State: 41:[21, 20], Operations: ['99-78=21', '2*10=20']
Exploring Operation: 21+20=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
32,
27,
51,
19
] | 55 | [
"27-19=8",
"32/8=4",
"51+4=55"
] | Current State: 55:[32, 27, 51, 19], Operations: []
Exploring Operation: 27-19=8, Resulting Numbers: [32, 51, 8]
Generated Node #2: [32, 51, 8] from Operation: 27-19=8
Current State: 55:[32, 51, 8], Operations: ['27-19=8']
Exploring Operation: 32/8=4, Resulting Numbers: [51, 4]
Generated Node #3: [51, 4] from Operation: 32/8=4
Current State: 55:[51, 4], Operations: ['27-19=8', '32/8=4']
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[32, 27, 51, 19], Operations: []
Exploring Operation: 32-27=5, Resulting Numbers: [51, 19, 5]
Generated Node #0,0: 55:[51, 19, 5] Operation: 32-27=5
Exploring Operation: 32+27=59, Resulting Numbers: [51, 19, 59]
Generated Node #0,1: 55:[51, 19, 59] Operation: 32+27=59
Moving to Node #0,0
Current State: 55:[51, 19, 5], Operations: ['32-27=5']
Exploring Operation: 19-5=14, Resulting Numbers: [51, 14]
Generated Node #0,0,0: 55:[51, 14] Operation: 19-5=14
Exploring Operation: 51+5=56, Resulting Numbers: [19, 56]
Generated Node #0,0,1: 55:[19, 56] Operation: 51+5=56
Moving to Node #0,1
Current State: 55:[51, 19, 59], Operations: ['32+27=59']
Exploring Operation: 51+19=70, Resulting Numbers: [59, 70]
Generated Node #0,1,0: 55:[59, 70] Operation: 51+19=70
Exploring Operation: 59-51=8, Resulting Numbers: [19, 8]
Generated Node #0,1,1: 55:[19, 8] Operation: 59-51=8
Moving to Node #0,0,0
Current State: 55:[51, 14], Operations: ['32-27=5', '19-5=14']
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,55 unequal: No Solution
Exploring Operation: 51+14=65, Resulting Numbers: [65]
65,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[19, 56], Operations: ['32-27=5', '51+5=56']
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,55 unequal: No Solution
Exploring Operation: 19+56=75, Resulting Numbers: [75]
75,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[19, 8], Operations: ['32+27=59', '59-51=8']
Exploring Operation: 19+8=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,55 unequal: No Solution
Moving to Node #0,1,0
Current State: 55:[59, 70], Operations: ['32+27=59', '51+19=70']
Exploring Operation: 70-59=11, Resulting Numbers: [11]
11,55 unequal: No Solution
Exploring Operation: 59+70=129, Resulting Numbers: [129]
129,55 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
40,
79,
7,
65
] | 97 | [
"79-40=39",
"65-7=58",
"39+58=97"
] | Current State: 97:[40, 79, 7, 65], Operations: []
Exploring Operation: 79-40=39, Resulting Numbers: [7, 65, 39]
Generated Node #2: [7, 65, 39] from Operation: 79-40=39
Current State: 97:[7, 65, 39], Operations: ['79-40=39']
Exploring Operation: 65-7=58, Resulting Numbers: [39, 58]
Generated Node #3: [39, 58] from Operation: 65-7=58
Current State: 97:[39, 58], Operations: ['79-40=39', '65-7=58']
Exploring Operation: 39+58=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[40, 79, 7, 65], Operations: []
Exploring Operation: 79+7=86, Resulting Numbers: [40, 65, 86]
Generated Node #0,0: 97:[40, 65, 86] Operation: 79+7=86
Exploring Operation: 7+65=72, Resulting Numbers: [40, 79, 72]
Generated Node #0,1: 97:[40, 79, 72] Operation: 7+65=72
Exploring Operation: 40-7=33, Resulting Numbers: [79, 65, 33]
Generated Node #0,2: 97:[79, 65, 33] Operation: 40-7=33
Exploring Operation: 40+7=47, Resulting Numbers: [79, 65, 47]
Generated Node #0,3: 97:[79, 65, 47] Operation: 40+7=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[40, 65, 86], Operations: ['79+7=86']
Exploring Operation: 40+65=105, Resulting Numbers: [86, 105]
Generated Node #0,0,0: 97:[86, 105] Operation: 40+65=105
Exploring Operation: 40+86=126, Resulting Numbers: [65, 126]
Generated Node #0,0,1: 97:[65, 126] Operation: 40+86=126
Exploring Operation: 86-40=46, Resulting Numbers: [65, 46]
Generated Node #0,0,2: 97:[65, 46] Operation: 86-40=46
Exploring Operation: 65-40=25, Resulting Numbers: [86, 25]
Generated Node #0,0,3: 97:[86, 25] Operation: 65-40=25
Moving to Node #0,0,0
Current State: 97:[86, 105], Operations: ['79+7=86', '40+65=105']
Exploring Operation: 86+105=191, Resulting Numbers: [191]
191,97 unequal: No Solution
Exploring Operation: 105-86=19, Resulting Numbers: [19]
19,97 unequal: No Solution
Exploring Operation: 86*105=9030, Resulting Numbers: [9030]
9030,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[65, 126], Operations: ['79+7=86', '40+86=126']
Exploring Operation: 65+126=191, Resulting Numbers: [191]
191,97 unequal: No Solution
Exploring Operation: 65*126=8190, Resulting Numbers: [8190]
8190,97 unequal: No Solution
Exploring Operation: 126-65=61, Resulting Numbers: [61]
61,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[86, 25], Operations: ['79+7=86', '65-40=25']
Exploring Operation: 86-25=61, Resulting Numbers: [61]
61,97 unequal: No Solution
Exploring Operation: 86+25=111, Resulting Numbers: [111]
111,97 unequal: No Solution
Exploring Operation: 86*25=2150, Resulting Numbers: [2150]
2150,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[65, 46], Operations: ['79+7=86', '86-40=46']
Exploring Operation: 65-46=19, Resulting Numbers: [19]
19,97 unequal: No Solution
Exploring Operation: 65*46=2990, Resulting Numbers: [2990]
2990,97 unequal: No Solution
Exploring Operation: 65+46=111, Resulting Numbers: [111]
111,97 unequal: No Solution
No 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: 97:[40, 79, 72], Operations: ['7+65=72']
Exploring Operation: 40+79=119, Resulting Numbers: [72, 119]
Generated Node #0,1,0: 97:[72, 119] Operation: 40+79=119
Exploring Operation: 72-40=32, Resulting Numbers: [79, 32]
Generated Node #0,1,1: 97:[79, 32] Operation: 72-40=32
Exploring Operation: 79-40=39, Resulting Numbers: [72, 39]
Generated Node #0,1,2: 97:[72, 39] Operation: 79-40=39
Exploring Operation: 40+72=112, Resulting Numbers: [79, 112]
Generated Node #0,1,3: 97:[79, 112] Operation: 40+72=112
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 97:[79, 112], Operations: ['7+65=72', '40+72=112']
Exploring Operation: 79*112=8848, Resulting Numbers: [8848]
8848,97 unequal: No Solution
Exploring Operation: 79+112=191, Resulting Numbers: [191]
191,97 unequal: No Solution
Exploring Operation: 112-79=33, Resulting Numbers: [33]
33,97 unequal: No Solution
No 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: 97:[72, 119], Operations: ['7+65=72', '40+79=119']
Exploring Operation: 72+119=191, Resulting Numbers: [191]
191,97 unequal: No Solution
Exploring Operation: 119-72=47, Resulting Numbers: [47]
47,97 unequal: No Solution
Exploring Operation: 72*119=8568, Resulting Numbers: [8568]
8568,97 unequal: No Solution
No 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: 97:[79, 32], Operations: ['7+65=72', '72-40=32']
Exploring Operation: 79*32=2528, Resulting Numbers: [2528]
2528,97 unequal: No Solution
Exploring Operation: 79+32=111, Resulting Numbers: [111]
111,97 unequal: No Solution
Exploring Operation: 79-32=47, Resulting Numbers: [47]
47,97 unequal: No Solution
No 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: 97:[72, 39], Operations: ['7+65=72', '79-40=39']
Exploring Operation: 72+39=111, Resulting Numbers: [111]
111,97 unequal: No Solution
Exploring Operation: 72*39=2808, Resulting Numbers: [2808]
2808,97 unequal: No Solution
Exploring Operation: 72-39=33, Resulting Numbers: [33]
33,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
Start Sub Search at level 1: Moving to Node #0,3
Current State: 97:[79, 65, 47], Operations: ['40+7=47']
Exploring Operation: 79-47=32, Resulting Numbers: [65, 32]
Generated Node #0,3,0: 97:[65, 32] Operation: 79-47=32
Exploring Operation: 79+47=126, Resulting Numbers: [65, 126]
Generated Node #0,3,1: 97:[65, 126] Operation: 79+47=126
Exploring Operation: 79+65=144, Resulting Numbers: [47, 144]
Generated Node #0,3,2: 97:[47, 144] Operation: 79+65=144
Exploring Operation: 65+47=112, Resulting Numbers: [79, 112]
Generated Node #0,3,3: 97:[79, 112] Operation: 65+47=112
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 97:[79, 112], Operations: ['40+7=47', '65+47=112']
Exploring Operation: 79+112=191, Resulting Numbers: [191]
191,97 unequal: No Solution
Exploring Operation: 79*112=8848, Resulting Numbers: [8848]
8848,97 unequal: No Solution
Exploring Operation: 112-79=33, Resulting Numbers: [33]
33,97 unequal: No Solution
No 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: 97:[65, 126], Operations: ['40+7=47', '79+47=126']
Exploring Operation: 126-65=61, Resulting Numbers: [61]
61,97 unequal: No Solution
Exploring Operation: 65+126=191, Resulting Numbers: [191]
191,97 unequal: No Solution
Exploring Operation: 65*126=8190, Resulting Numbers: [8190]
8190,97 unequal: No Solution
No 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: 97:[65, 32], Operations: ['40+7=47', '79-47=32']
Exploring Operation: 65-32=33, Resulting Numbers: [33]
33,97 unequal: No Solution
Exploring Operation: 65*32=2080, Resulting Numbers: [2080]
2080,97 unequal: No Solution
Exploring Operation: 65+32=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[40, 79, 7, 65], Operations: []
Exploring Operation: 40+7=47, Resulting Numbers: [79, 65, 47]
Generated Node #0,3: 97:[79, 65, 47] Operation: 40+7=47
Moving to Node #0,3
Current State: 97:[79, 65, 47], Operations: ['40+7=47']
Exploring Operation: 79-47=32, Resulting Numbers: [65, 32]
Generated Node #0,3,0: 97:[65, 32] Operation: 79-47=32
Moving to Node #0,3,0
Current State: 97:[65, 32], Operations: ['40+7=47', '79-47=32']
Exploring Operation: 65+32=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.953993 | hs_4 | mult_heuristic |
[
23,
14,
66,
11
] | 31 | [
"23+14=37",
"66/11=6",
"37-6=31"
] | Current State: 31:[23, 14, 66, 11], Operations: []
Exploring Operation: 23+14=37, Resulting Numbers: [66, 11, 37]
Generated Node #2: [66, 11, 37] from Operation: 23+14=37
Current State: 31:[66, 11, 37], Operations: ['23+14=37']
Exploring Operation: 66/11=6, Resulting Numbers: [37, 6]
Generated Node #3: [37, 6] from Operation: 66/11=6
Current State: 31:[37, 6], Operations: ['23+14=37', '66/11=6']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[23, 14, 66, 11], Operations: []
Exploring Operation: 66-14=52, Resulting Numbers: [23, 11, 52]
Generated Node #0,0: 31:[23, 11, 52] Operation: 66-14=52
Exploring Operation: 66-23=43, Resulting Numbers: [14, 11, 43]
Generated Node #0,1: 31:[14, 11, 43] Operation: 66-23=43
Exploring Operation: 14+11=25, Resulting Numbers: [23, 66, 25]
Generated Node #0,2: 31:[23, 66, 25] Operation: 14+11=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[23, 11, 52], Operations: ['66-14=52']
Exploring Operation: 23+11=34, Resulting Numbers: [52, 34]
Generated Node #0,0,0: 31:[52, 34] Operation: 23+11=34
Exploring Operation: 52-11=41, Resulting Numbers: [23, 41]
Generated Node #0,0,1: 31:[23, 41] Operation: 52-11=41
Exploring Operation: 52-23=29, Resulting Numbers: [11, 29]
Generated Node #0,0,2: 31:[11, 29] Operation: 52-23=29
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 31:[23, 41], Operations: ['66-14=52', '52-11=41']
Exploring Operation: 23+41=64, Resulting Numbers: [64]
64,31 unequal: No Solution
Exploring Operation: 23*41=943, Resulting Numbers: [943]
943,31 unequal: No Solution
Exploring Operation: 41-23=18, Resulting Numbers: [18]
18,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 31:[11, 29], Operations: ['66-14=52', '52-23=29']
Exploring Operation: 11*29=319, Resulting Numbers: [319]
319,31 unequal: No Solution
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 11+29=40, Resulting Numbers: [40]
40,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[52, 34], Operations: ['66-14=52', '23+11=34']
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 52*34=1768, Resulting Numbers: [1768]
1768,31 unequal: No Solution
Exploring Operation: 52+34=86, Resulting Numbers: [86]
86,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[14, 11, 43], Operations: ['66-23=43']
Exploring Operation: 14+11=25, Resulting Numbers: [43, 25]
Generated Node #0,1,0: 31:[43, 25] Operation: 14+11=25
Exploring Operation: 43-11=32, Resulting Numbers: [14, 32]
Generated Node #0,1,1: 31:[14, 32] Operation: 43-11=32
Exploring Operation: 43-14=29, Resulting Numbers: [11, 29]
Generated Node #0,1,2: 31:[11, 29] Operation: 43-14=29
Moving to Node #0,1,0
Current State: 31:[43, 25], Operations: ['66-23=43', '14+11=25']
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 43*25=1075, Resulting Numbers: [1075]
1075,31 unequal: No Solution
Exploring Operation: 43+25=68, Resulting Numbers: [68]
68,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[14, 32], Operations: ['66-23=43', '43-11=32']
Exploring Operation: 14+32=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 14*32=448, Resulting Numbers: [448]
448,31 unequal: No Solution
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Moving to Node #0,1,2
Current State: 31:[11, 29], Operations: ['66-23=43', '43-14=29']
Exploring Operation: 11*29=319, Resulting Numbers: [319]
319,31 unequal: No Solution
Exploring Operation: 11+29=40, Resulting Numbers: [40]
40,31 unequal: No Solution
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,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
Current State: 31:[23, 66, 25], Operations: ['14+11=25']
Exploring Operation: 66-23=43, Resulting Numbers: [25, 43]
Generated Node #0,2,0: 31:[25, 43] Operation: 66-23=43
Exploring Operation: 66-25=41, Resulting Numbers: [23, 41]
Generated Node #0,2,1: 31:[23, 41] Operation: 66-25=41
Exploring Operation: 23+25=48, Resulting Numbers: [66, 48]
Generated Node #0,2,2: 31:[66, 48] Operation: 23+25=48
Moving to Node #0,2,0
Current State: 31:[25, 43], Operations: ['14+11=25', '66-23=43']
Exploring Operation: 25+43=68, Resulting Numbers: [68]
68,31 unequal: No Solution
Exploring Operation: 25*43=1075, Resulting Numbers: [1075]
1075,31 unequal: No Solution
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Moving to Node #0,2,1
Current State: 31:[23, 41], Operations: ['14+11=25', '66-25=41']
Exploring Operation: 23*41=943, Resulting Numbers: [943]
943,31 unequal: No Solution
Exploring Operation: 23+41=64, Resulting Numbers: [64]
64,31 unequal: No Solution
Exploring Operation: 41-23=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[66, 48], Operations: ['14+11=25', '23+25=48']
Exploring Operation: 66-48=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 66+48=114, Resulting Numbers: [114]
114,31 unequal: No Solution
Exploring Operation: 66*48=3168, Resulting Numbers: [3168]
3168,31 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 |
[
34,
52,
16,
17
] | 20 | [
"34*16=544",
"544/17=32",
"52-32=20"
] | Current State: 20:[34, 52, 16, 17], Operations: []
Exploring Operation: 34*16=544, Resulting Numbers: [52, 17, 544]
Generated Node #2: [52, 17, 544] from Operation: 34*16=544
Current State: 20:[52, 17, 544], Operations: ['34*16=544']
Exploring Operation: 544/17=32, Resulting Numbers: [52, 32]
Generated Node #3: [52, 32] from Operation: 544/17=32
Current State: 20:[52, 32], Operations: ['34*16=544', '544/17=32']
Exploring Operation: 52-32=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[34, 52, 16, 17], Operations: []
Exploring Operation: 34-16=18, Resulting Numbers: [52, 17, 18]
Generated Node #0,0: 20:[52, 17, 18] Operation: 34-16=18
Exploring Operation: 52-16=36, Resulting Numbers: [34, 17, 36]
Generated Node #0,1: 20:[34, 17, 36] Operation: 52-16=36
Exploring Operation: 52-17=35, Resulting Numbers: [34, 16, 35]
Generated Node #0,2: 20:[34, 16, 35] Operation: 52-17=35
Exploring Operation: 34/17=2, Resulting Numbers: [52, 16, 2]
Generated Node #0,3: 20:[52, 16, 2] Operation: 34/17=2
Exploring Operation: 52-34=18, Resulting Numbers: [16, 17, 18]
Generated Node #0,4: 20:[16, 17, 18] Operation: 52-34=18
Start Sub Search at level 1: Moving to Node #0,4
Current State: 20:[16, 17, 18], Operations: ['52-34=18']
Exploring Operation: 16+17=33, Resulting Numbers: [18, 33]
Generated Node #0,4,0: 20:[18, 33] Operation: 16+17=33
Exploring Operation: 18-17=1, Resulting Numbers: [16, 1]
Generated Node #0,4,1: 20:[16, 1] Operation: 18-17=1
Exploring Operation: 18-16=2, Resulting Numbers: [17, 2]
Generated Node #0,4,2: 20:[17, 2] Operation: 18-16=2
Exploring Operation: 17-16=1, Resulting Numbers: [18, 1]
Generated Node #0,4,3: 20:[18, 1] Operation: 17-16=1
Exploring Operation: 16+18=34, Resulting Numbers: [17, 34]
Generated Node #0,4,4: 20:[17, 34] Operation: 16+18=34
Moving to Node #0,4,2
Current State: 20:[17, 2], Operations: ['52-34=18', '18-16=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Moving to Node #0,4,3
Current State: 20:[18, 1], Operations: ['52-34=18', '17-16=1']
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,20 unequal: No Solution
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,20 unequal: No Solution
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Moving to Node #0,4,1
Current State: 20:[16, 1], Operations: ['52-34=18', '18-17=1']
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Moving to Node #0,4,0
Current State: 20:[18, 33], Operations: ['52-34=18', '16+17=33']
Exploring Operation: 18*33=594, Resulting Numbers: [594]
594,20 unequal: No Solution
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Exploring Operation: 18+33=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Moving to Node #0,4,4
Current State: 20:[17, 34], Operations: ['52-34=18', '16+18=34']
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 17+34=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 17*34=578, Resulting Numbers: [578]
578,20 unequal: No Solution
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,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:[34, 17, 36], Operations: ['52-16=36']
Exploring Operation: 36-17=19, Resulting Numbers: [34, 19]
Generated Node #0,1,0: 20:[34, 19] Operation: 36-17=19
Exploring Operation: 34-17=17, Resulting Numbers: [36, 17]
Generated Node #0,1,1: 20:[36, 17] Operation: 34-17=17
Exploring Operation: 34+17=51, Resulting Numbers: [36, 51]
Generated Node #0,1,2: 20:[36, 51] Operation: 34+17=51
Exploring Operation: 34/17=2, Resulting Numbers: [36, 2]
Generated Node #0,1,3: 20:[36, 2] Operation: 34/17=2
Exploring Operation: 36-34=2, Resulting Numbers: [17, 2]
Generated Node #0,1,4: 20:[17, 2] Operation: 36-34=2
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 20:[17, 2], Operations: ['52-16=36', '36-34=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,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,1,0
Current State: 20:[34, 19], Operations: ['52-16=36', '36-17=19']
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Exploring Operation: 34*19=646, Resulting Numbers: [646]
646,20 unequal: No Solution
Exploring Operation: 34+19=53, Resulting Numbers: [53]
53,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,1,3
Current State: 20:[36, 2], Operations: ['52-16=36', '34/17=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,20 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,20 unequal: No Solution
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,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,1,1
Current State: 20:[36, 17], Operations: ['52-16=36', '34-17=17']
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 36+17=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 36*17=612, Resulting Numbers: [612]
612,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,1,2
Current State: 20:[36, 51], Operations: ['52-16=36', '34+17=51']
Exploring Operation: 36+51=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Exploring Operation: 36*51=1836, Resulting Numbers: [1836]
1836,20 unequal: No Solution
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,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,2
Current State: 20:[34, 16, 35], Operations: ['52-17=35']
Exploring Operation: 16+35=51, Resulting Numbers: [34, 51]
Generated Node #0,2,0: 20:[34, 51] Operation: 16+35=51
Exploring Operation: 35-34=1, Resulting Numbers: [16, 1]
Generated Node #0,2,1: 20:[16, 1] Operation: 35-34=1
Exploring Operation: 35-16=19, Resulting Numbers: [34, 19]
Generated Node #0,2,2: 20:[34, 19] Operation: 35-16=19
Exploring Operation: 34-16=18, Resulting Numbers: [35, 18]
Generated Node #0,2,3: 20:[35, 18] Operation: 34-16=18
Exploring Operation: 34+16=50, Resulting Numbers: [35, 50]
Generated Node #0,2,4: 20:[35, 50] Operation: 34+16=50
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 20:[16, 1], Operations: ['52-17=35', '35-34=1']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,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,2,2
Current State: 20:[34, 19], Operations: ['52-17=35', '35-16=19']
Exploring Operation: 34+19=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Exploring Operation: 34*19=646, Resulting Numbers: [646]
646,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,2,3
Current State: 20:[35, 18], Operations: ['52-17=35', '34-16=18']
Exploring Operation: 35*18=630, Resulting Numbers: [630]
630,20 unequal: No Solution
Exploring Operation: 35+18=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,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,2,0
Current State: 20:[34, 51], Operations: ['52-17=35', '16+35=51']
Exploring Operation: 34*51=1734, Resulting Numbers: [1734]
1734,20 unequal: No Solution
Exploring Operation: 34+51=85, Resulting Numbers: [85]
85,20 unequal: No Solution
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,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,2,4
Current State: 20:[35, 50], Operations: ['52-17=35', '34+16=50']
Exploring Operation: 50-35=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Exploring Operation: 35+50=85, Resulting Numbers: [85]
85,20 unequal: No Solution
Exploring Operation: 35*50=1750, Resulting Numbers: [1750]
1750,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,3
Current State: 20:[52, 16, 2], Operations: ['34/17=2']
Exploring Operation: 52/2=26, Resulting Numbers: [16, 26]
Generated Node #0,3,0: 20:[16, 26] Operation: 52/2=26
Exploring Operation: 52-16=36, Resulting Numbers: [2, 36]
Generated Node #0,3,1: 20:[2, 36] Operation: 52-16=36
Exploring Operation: 52-2=50, Resulting Numbers: [16, 50]
Generated Node #0,3,2: 20:[16, 50] Operation: 52-2=50
Exploring Operation: 16+2=18, Resulting Numbers: [52, 18]
Generated Node #0,3,3: 20:[52, 18] Operation: 16+2=18
Exploring Operation: 16/2=8, Resulting Numbers: [52, 8]
Generated Node #0,3,4: 20:[52, 8] Operation: 16/2=8
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 20:[16, 26], Operations: ['34/17=2', '52/2=26']
Exploring Operation: 16+26=42, Resulting Numbers: [42]
42,20 unequal: No Solution
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Exploring Operation: 16*26=416, Resulting Numbers: [416]
416,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:[2, 36], Operations: ['34/17=2', '52-16=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,20 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,20 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,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,2
Current State: 20:[16, 50], Operations: ['34/17=2', '52-2=50']
Exploring Operation: 16+50=66, Resulting Numbers: [66]
66,20 unequal: No Solution
Exploring Operation: 16*50=800, Resulting Numbers: [800]
800,20 unequal: No Solution
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,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:[52, 18], Operations: ['34/17=2', '16+2=18']
Exploring Operation: 52-18=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 52*18=936, Resulting Numbers: [936]
936,20 unequal: No Solution
Exploring Operation: 52+18=70, Resulting Numbers: [70]
70,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,4
Current State: 20:[52, 8], Operations: ['34/17=2', '16/2=8']
Exploring Operation: 52+8=60, Resulting Numbers: [60]
60,20 unequal: No Solution
Exploring Operation: 52*8=416, Resulting Numbers: [416]
416,20 unequal: No Solution
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,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:[52, 17, 18], Operations: ['34-16=18']
Exploring Operation: 52-17=35, Resulting Numbers: [18, 35]
Generated Node #0,0,0: 20:[18, 35] Operation: 52-17=35
Exploring Operation: 52+17=69, Resulting Numbers: [18, 69]
Generated Node #0,0,1: 20:[18, 69] Operation: 52+17=69
Exploring Operation: 52-18=34, Resulting Numbers: [17, 34]
Generated Node #0,0,2: 20:[17, 34] Operation: 52-18=34
Exploring Operation: 18-17=1, Resulting Numbers: [52, 1]
Generated Node #0,0,3: 20:[52, 1] Operation: 18-17=1
Exploring Operation: 17+18=35, Resulting Numbers: [52, 35]
Generated Node #0,0,4: 20:[52, 35] Operation: 17+18=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[18, 35], Operations: ['34-16=18', '52-17=35']
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 18+35=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 18*35=630, Resulting Numbers: [630]
630,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,2
Current State: 20:[17, 34], Operations: ['34-16=18', '52-18=34']
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 17*34=578, Resulting Numbers: [578]
578,20 unequal: No Solution
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 17+34=51, Resulting Numbers: [51]
51,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:[52, 1], Operations: ['34-16=18', '18-17=1']
Exploring Operation: 52*1=52, Resulting Numbers: [52]
52,20 unequal: No Solution
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 52+1=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,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,4
Current State: 20:[52, 35], Operations: ['34-16=18', '17+18=35']
Exploring Operation: 52*35=1820, Resulting Numbers: [1820]
1820,20 unequal: No Solution
Exploring Operation: 52+35=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,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:[18, 69], Operations: ['34-16=18', '52+17=69']
Exploring Operation: 18*69=1242, Resulting Numbers: [1242]
1242,20 unequal: No Solution
Exploring Operation: 18+69=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Exploring Operation: 69-18=51, Resulting Numbers: [51]
51,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_5 | mult_heuristic |
[
10,
83,
97,
65
] | 91 | [
"97-83=14",
"65*14=910",
"910/10=91"
] | Current State: 91:[10, 83, 97, 65], Operations: []
Exploring Operation: 97-83=14, Resulting Numbers: [10, 65, 14]
Generated Node #2: [10, 65, 14] from Operation: 97-83=14
Current State: 91:[10, 65, 14], Operations: ['97-83=14']
Exploring Operation: 65*14=910, Resulting Numbers: [10, 910]
Generated Node #3: [10, 910] from Operation: 65*14=910
Current State: 91:[10, 910], Operations: ['97-83=14', '65*14=910']
Exploring Operation: 910/10=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[10, 83, 97, 65], Operations: []
Exploring Operation: 83-65=18, Resulting Numbers: [10, 97, 18]
Generated Node #0,0: 91:[10, 97, 18] Operation: 83-65=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[10, 97, 18], Operations: ['83-65=18']
Exploring Operation: 18-10=8, Resulting Numbers: [97, 8]
Generated Node #0,0,0: 91:[97, 8] Operation: 18-10=8
Moving to Node #0,0,0
Current State: 91:[97, 8], Operations: ['83-65=18', '18-10=8']
Exploring Operation: 97-8=89, Resulting Numbers: [89]
89,91 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 |
[
60,
62,
50,
35
] | 66 | [
"50-35=15",
"60/15=4",
"62+4=66"
] | Current State: 66:[60, 62, 50, 35], Operations: []
Exploring Operation: 50-35=15, Resulting Numbers: [60, 62, 15]
Generated Node #2: [60, 62, 15] from Operation: 50-35=15
Current State: 66:[60, 62, 15], Operations: ['50-35=15']
Exploring Operation: 60/15=4, Resulting Numbers: [62, 4]
Generated Node #3: [62, 4] from Operation: 60/15=4
Current State: 66:[62, 4], Operations: ['50-35=15', '60/15=4']
Exploring Operation: 62+4=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[60, 62, 50, 35], Operations: []
Exploring Operation: 62-50=12, Resulting Numbers: [60, 35, 12]
Generated Node #0,0: 66:[60, 35, 12] Operation: 62-50=12
Exploring Operation: 60-50=10, Resulting Numbers: [62, 35, 10]
Generated Node #0,1: 66:[62, 35, 10] Operation: 60-50=10
Exploring Operation: 50-35=15, Resulting Numbers: [60, 62, 15]
Generated Node #0,2: 66:[60, 62, 15] Operation: 50-35=15
Exploring Operation: 60-35=25, Resulting Numbers: [62, 50, 25]
Generated Node #0,3: 66:[62, 50, 25] Operation: 60-35=25
Exploring Operation: 62-60=2, Resulting Numbers: [50, 35, 2]
Generated Node #0,4: 66:[50, 35, 2] Operation: 62-60=2
Moving to Node #0,1
Current State: 66:[62, 35, 10], Operations: ['60-50=10']
Exploring Operation: 35-10=25, Resulting Numbers: [62, 25]
Generated Node #0,1,0: 66:[62, 25] Operation: 35-10=25
Exploring Operation: 35+10=45, Resulting Numbers: [62, 45]
Generated Node #0,1,1: 66:[62, 45] Operation: 35+10=45
Exploring Operation: 62-35=27, Resulting Numbers: [10, 27]
Generated Node #0,1,2: 66:[10, 27] Operation: 62-35=27
Exploring Operation: 62+10=72, Resulting Numbers: [35, 72]
Generated Node #0,1,3: 66:[35, 72] Operation: 62+10=72
Exploring Operation: 62-10=52, Resulting Numbers: [35, 52]
Generated Node #0,1,4: 66:[35, 52] Operation: 62-10=52
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 66:[10, 27], Operations: ['60-50=10', '62-35=27']
Exploring Operation: 10*27=270, Resulting Numbers: [270]
270,66 unequal: No Solution
Exploring Operation: 10+27=37, Resulting Numbers: [37]
37,66 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,66 unequal: No Solution
No 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: 66:[62, 25], Operations: ['60-50=10', '35-10=25']
Exploring Operation: 62+25=87, Resulting Numbers: [87]
87,66 unequal: No Solution
Exploring Operation: 62*25=1550, Resulting Numbers: [1550]
1550,66 unequal: No Solution
Exploring Operation: 62-25=37, Resulting Numbers: [37]
37,66 unequal: No Solution
No 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: 66:[35, 72], Operations: ['60-50=10', '62+10=72']
Exploring Operation: 35*72=2520, Resulting Numbers: [2520]
2520,66 unequal: No Solution
Exploring Operation: 35+72=107, Resulting Numbers: [107]
107,66 unequal: No Solution
Exploring Operation: 72-35=37, Resulting Numbers: [37]
37,66 unequal: No Solution
No 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: 66:[62, 45], Operations: ['60-50=10', '35+10=45']
Exploring Operation: 62+45=107, Resulting Numbers: [107]
107,66 unequal: No Solution
Exploring Operation: 62-45=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 62*45=2790, Resulting Numbers: [2790]
2790,66 unequal: No Solution
No 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: 66:[35, 52], Operations: ['60-50=10', '62-10=52']
Exploring Operation: 35+52=87, Resulting Numbers: [87]
87,66 unequal: No Solution
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 35*52=1820, Resulting Numbers: [1820]
1820,66 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: 66:[60, 35, 12], Operations: ['62-50=12']
Exploring Operation: 60/12=5, Resulting Numbers: [35, 5]
Generated Node #0,0,0: 66:[35, 5] Operation: 60/12=5
Exploring Operation: 35-12=23, Resulting Numbers: [60, 23]
Generated Node #0,0,1: 66:[60, 23] Operation: 35-12=23
Exploring Operation: 60-12=48, Resulting Numbers: [35, 48]
Generated Node #0,0,2: 66:[35, 48] Operation: 60-12=48
Exploring Operation: 60-35=25, Resulting Numbers: [12, 25]
Generated Node #0,0,3: 66:[12, 25] Operation: 60-35=25
Exploring Operation: 60+12=72, Resulting Numbers: [35, 72]
Generated Node #0,0,4: 66:[35, 72] Operation: 60+12=72
Moving to Node #0,2
Current State: 66:[60, 62, 15], Operations: ['50-35=15']
Exploring Operation: 60-15=45, Resulting Numbers: [62, 45]
Generated Node #0,2,0: 66:[62, 45] Operation: 60-15=45
Exploring Operation: 60/15=4, Resulting Numbers: [62, 4]
Generated Node #0,2,1: 66:[62, 4] Operation: 60/15=4
Exploring Operation: 62+15=77, Resulting Numbers: [60, 77]
Generated Node #0,2,2: 66:[60, 77] Operation: 62+15=77
Exploring Operation: 62-60=2, Resulting Numbers: [15, 2]
Generated Node #0,2,3: 66:[15, 2] Operation: 62-60=2
Exploring Operation: 60+15=75, Resulting Numbers: [62, 75]
Generated Node #0,2,4: 66:[62, 75] Operation: 60+15=75
Moving to Node #0,4
Current State: 66:[50, 35, 2], Operations: ['62-60=2']
Exploring Operation: 50+2=52, Resulting Numbers: [35, 52]
Generated Node #0,4,0: 66:[35, 52] Operation: 50+2=52
Exploring Operation: 50-35=15, Resulting Numbers: [2, 15]
Generated Node #0,4,1: 66:[2, 15] Operation: 50-35=15
Exploring Operation: 50/2=25, Resulting Numbers: [35, 25]
Generated Node #0,4,2: 66:[35, 25] Operation: 50/2=25
Exploring Operation: 35-2=33, Resulting Numbers: [50, 33]
Generated Node #0,4,3: 66:[50, 33] Operation: 35-2=33
Exploring Operation: 50-2=48, Resulting Numbers: [35, 48]
Generated Node #0,4,4: 66:[35, 48] Operation: 50-2=48
Moving to Node #0,3
Current State: 66:[62, 50, 25], Operations: ['60-35=25']
Exploring Operation: 62-25=37, Resulting Numbers: [50, 37]
Generated Node #0,3,0: 66:[50, 37] Operation: 62-25=37
Exploring Operation: 62-50=12, Resulting Numbers: [25, 12]
Generated Node #0,3,1: 66:[25, 12] Operation: 62-50=12
Exploring Operation: 50+25=75, Resulting Numbers: [62, 75]
Generated Node #0,3,2: 66:[62, 75] Operation: 50+25=75
Exploring Operation: 50-25=25, Resulting Numbers: [62, 25]
Generated Node #0,3,3: 66:[62, 25] Operation: 50-25=25
Exploring Operation: 50/25=2, Resulting Numbers: [62, 2]
Generated Node #0,3,4: 66:[62, 2] Operation: 50/25=2
Moving to Node #0,0,0
Current State: 66:[35, 5], Operations: ['62-50=12', '60/12=5']
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 35*5=175, Resulting Numbers: [175]
175,66 unequal: No Solution
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,66 unequal: No Solution
Moving to Node #0,2,3
Current State: 66:[15, 2], Operations: ['50-35=15', '62-60=2']
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,66 unequal: No Solution
Moving to Node #0,0,3
Current State: 66:[12, 25], Operations: ['62-50=12', '60-35=25']
Exploring Operation: 12*25=300, Resulting Numbers: [300]
300,66 unequal: No Solution
Exploring Operation: 12+25=37, Resulting Numbers: [37]
37,66 unequal: No Solution
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,66 unequal: No Solution
Moving to Node #0,4,1
Current State: 66:[2, 15], Operations: ['62-60=2', '50-35=15']
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,66 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Moving to Node #0,3,1
Current State: 66:[25, 12], Operations: ['60-35=25', '62-50=12']
Exploring Operation: 25*12=300, Resulting Numbers: [300]
300,66 unequal: No Solution
Exploring Operation: 25+12=37, Resulting Numbers: [37]
37,66 unequal: No Solution
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,66 unequal: No Solution
Moving to Node #0,3,4
Current State: 66:[62, 2], Operations: ['60-35=25', '50/25=2']
Exploring Operation: 62*2=124, Resulting Numbers: [124]
124,66 unequal: No Solution
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,66 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,66 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[62, 4], Operations: ['50-35=15', '60/15=4']
Exploring Operation: 62*4=248, Resulting Numbers: [248]
248,66 unequal: No Solution
Exploring Operation: 62+4=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[60, 62, 50, 35], Operations: []
Exploring Operation: 50-35=15, Resulting Numbers: [60, 62, 15]
Generated Node #0,2: 66:[60, 62, 15] Operation: 50-35=15
Moving to Node #0,2
Current State: 66:[60, 62, 15], Operations: ['50-35=15']
Exploring Operation: 60/15=4, Resulting Numbers: [62, 4]
Generated Node #0,2,1: 66:[62, 4] Operation: 60/15=4
Moving to Node #0,2,1
Current State: 66:[62, 4], Operations: ['50-35=15', '60/15=4']
Exploring Operation: 62+4=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 0.938368 | hs_5 | mult_heuristic |
[
42,
3,
18,
16
] | 90 | [
"42+3=45",
"18-16=2",
"45*2=90"
] | Current State: 90:[42, 3, 18, 16], Operations: []
Exploring Operation: 42+3=45, Resulting Numbers: [18, 16, 45]
Generated Node #2: [18, 16, 45] from Operation: 42+3=45
Current State: 90:[18, 16, 45], Operations: ['42+3=45']
Exploring Operation: 18-16=2, Resulting Numbers: [45, 2]
Generated Node #3: [45, 2] from Operation: 18-16=2
Current State: 90:[45, 2], Operations: ['42+3=45', '18-16=2']
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[42, 3, 18, 16], Operations: []
Exploring Operation: 42-16=26, Resulting Numbers: [3, 18, 26]
Generated Node #0,0: 90:[3, 18, 26] Operation: 42-16=26
Exploring Operation: 42+3=45, Resulting Numbers: [18, 16, 45]
Generated Node #0,1: 90:[18, 16, 45] Operation: 42+3=45
Exploring Operation: 18-16=2, Resulting Numbers: [42, 3, 2]
Generated Node #0,2: 90:[42, 3, 2] Operation: 18-16=2
Exploring Operation: 42/3=14, Resulting Numbers: [18, 16, 14]
Generated Node #0,3: 90:[18, 16, 14] Operation: 42/3=14
Exploring Operation: 18-3=15, Resulting Numbers: [42, 16, 15]
Generated Node #0,4: 90:[42, 16, 15] Operation: 18-3=15
Moving to Node #0,1
Current State: 90:[18, 16, 45], Operations: ['42+3=45']
Exploring Operation: 18+16=34, Resulting Numbers: [45, 34]
Generated Node #0,1,0: 90:[45, 34] Operation: 18+16=34
Exploring Operation: 45-18=27, Resulting Numbers: [16, 27]
Generated Node #0,1,1: 90:[16, 27] Operation: 45-18=27
Exploring Operation: 18-16=2, Resulting Numbers: [45, 2]
Generated Node #0,1,2: 90:[45, 2] Operation: 18-16=2
Exploring Operation: 16+45=61, Resulting Numbers: [18, 61]
Generated Node #0,1,3: 90:[18, 61] Operation: 16+45=61
Exploring Operation: 45-16=29, Resulting Numbers: [18, 29]
Generated Node #0,1,4: 90:[18, 29] Operation: 45-16=29
Moving to Node #0,3
Current State: 90:[18, 16, 14], Operations: ['42/3=14']
Exploring Operation: 18+14=32, Resulting Numbers: [16, 32]
Generated Node #0,3,0: 90:[16, 32] Operation: 18+14=32
Exploring Operation: 18-14=4, Resulting Numbers: [16, 4]
Generated Node #0,3,1: 90:[16, 4] Operation: 18-14=4
Exploring Operation: 16+14=30, Resulting Numbers: [18, 30]
Generated Node #0,3,2: 90:[18, 30] Operation: 16+14=30
Exploring Operation: 18-16=2, Resulting Numbers: [14, 2]
Generated Node #0,3,3: 90:[14, 2] Operation: 18-16=2
Exploring Operation: 16-14=2, Resulting Numbers: [18, 2]
Generated Node #0,3,4: 90:[18, 2] Operation: 16-14=2
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 90:[18, 30], Operations: ['42/3=14', '16+14=30']
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,90 unequal: No Solution
Exploring Operation: 18+30=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Exploring Operation: 18*30=540, Resulting Numbers: [540]
540,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 90:[18, 2], Operations: ['42/3=14', '16-14=2']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,90 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 90:[14, 2], Operations: ['42/3=14', '18-16=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,90 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,90 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 90:[16, 4], Operations: ['42/3=14', '18-14=4']
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,90 unequal: No Solution
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,90 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 90:[16, 32], Operations: ['42/3=14', '18+14=32']
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 16+32=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Exploring Operation: 16*32=512, Resulting Numbers: [512]
512,90 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: 90:[42, 3, 2], Operations: ['18-16=2']
Exploring Operation: 42/2=21, Resulting Numbers: [3, 21]
Generated Node #0,2,0: 90:[3, 21] Operation: 42/2=21
Exploring Operation: 42+3=45, Resulting Numbers: [2, 45]
Generated Node #0,2,1: 90:[2, 45] Operation: 42+3=45
Exploring Operation: 3+2=5, Resulting Numbers: [42, 5]
Generated Node #0,2,2: 90:[42, 5] Operation: 3+2=5
Exploring Operation: 42+2=44, Resulting Numbers: [3, 44]
Generated Node #0,2,3: 90:[3, 44] Operation: 42+2=44
Exploring Operation: 42/3=14, Resulting Numbers: [2, 14]
Generated Node #0,2,4: 90:[2, 14] Operation: 42/3=14
Moving to Node #0,0
Current State: 90:[3, 18, 26], Operations: ['42-16=26']
Exploring Operation: 18+26=44, Resulting Numbers: [3, 44]
Generated Node #0,0,0: 90:[3, 44] Operation: 18+26=44
Exploring Operation: 3+26=29, Resulting Numbers: [18, 29]
Generated Node #0,0,1: 90:[18, 29] Operation: 3+26=29
Exploring Operation: 18-3=15, Resulting Numbers: [26, 15]
Generated Node #0,0,2: 90:[26, 15] Operation: 18-3=15
Exploring Operation: 26-18=8, Resulting Numbers: [3, 8]
Generated Node #0,0,3: 90:[3, 8] Operation: 26-18=8
Exploring Operation: 18/3=6, Resulting Numbers: [26, 6]
Generated Node #0,0,4: 90:[26, 6] Operation: 18/3=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[3, 44], Operations: ['42-16=26', '18+26=44']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,90 unequal: No Solution
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,90 unequal: No Solution
Exploring Operation: 3*44=132, Resulting Numbers: [132]
132,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[18, 29], Operations: ['42-16=26', '3+26=29']
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 18*29=522, Resulting Numbers: [522]
522,90 unequal: No Solution
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 90:[3, 8], Operations: ['42-16=26', '26-18=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 90:[26, 15], Operations: ['42-16=26', '18-3=15']
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,90 unequal: No Solution
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,90 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 90:[26, 6], Operations: ['42-16=26', '18/3=6']
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,90 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,90 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: 90:[42, 16, 15], Operations: ['18-3=15']
Exploring Operation: 42-15=27, Resulting Numbers: [16, 27]
Generated Node #0,4,0: 90:[16, 27] Operation: 42-15=27
Exploring Operation: 16-15=1, Resulting Numbers: [42, 1]
Generated Node #0,4,1: 90:[42, 1] Operation: 16-15=1
Exploring Operation: 16+15=31, Resulting Numbers: [42, 31]
Generated Node #0,4,2: 90:[42, 31] Operation: 16+15=31
Exploring Operation: 42+16=58, Resulting Numbers: [15, 58]
Generated Node #0,4,3: 90:[15, 58] Operation: 42+16=58
Exploring Operation: 42-16=26, Resulting Numbers: [15, 26]
Generated Node #0,4,4: 90:[15, 26] Operation: 42-16=26
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 90:[16, 27], Operations: ['18-3=15', '42-15=27']
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 16*27=432, Resulting Numbers: [432]
432,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 90:[42, 1], Operations: ['18-3=15', '16-15=1']
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,90 unequal: No Solution
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,90 unequal: No Solution
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,90 unequal: No Solution
Exploring Operation: 42+1=43, Resulting Numbers: [43]
43,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 90:[42, 31], Operations: ['18-3=15', '16+15=31']
Exploring Operation: 42-31=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 42+31=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Exploring Operation: 42*31=1302, Resulting Numbers: [1302]
1302,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 90:[15, 26], Operations: ['18-3=15', '42-16=26']
Exploring Operation: 15+26=41, Resulting Numbers: [41]
41,90 unequal: No Solution
Exploring Operation: 15*26=390, Resulting Numbers: [390]
390,90 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 90:[15, 58], Operations: ['18-3=15', '42+16=58']
Exploring Operation: 15*58=870, Resulting Numbers: [870]
870,90 unequal: No Solution
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 15+58=73, Resulting Numbers: [73]
73,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 90:[45, 2], Operations: ['42+3=45', '18-16=2']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[42, 3, 18, 16], Operations: []
Exploring Operation: 42+3=45, Resulting Numbers: [18, 16, 45]
Generated Node #0,1: 90:[18, 16, 45] Operation: 42+3=45
Moving to Node #0,1
Current State: 90:[18, 16, 45], Operations: ['42+3=45']
Exploring Operation: 18-16=2, Resulting Numbers: [45, 2]
Generated Node #0,1,2: 90:[45, 2] Operation: 18-16=2
Moving to Node #0,1,2
Current State: 90:[45, 2], Operations: ['42+3=45', '18-16=2']
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.925347 | hs_5 | sum_heuristic |
[
40,
24,
85,
41
] | 96 | [
"85-40=45",
"45-41=4",
"24*4=96"
] | Current State: 96:[40, 24, 85, 41], Operations: []
Exploring Operation: 85-40=45, Resulting Numbers: [24, 41, 45]
Generated Node #2: [24, 41, 45] from Operation: 85-40=45
Current State: 96:[24, 41, 45], Operations: ['85-40=45']
Exploring Operation: 45-41=4, Resulting Numbers: [24, 4]
Generated Node #3: [24, 4] from Operation: 45-41=4
Current State: 96:[24, 4], Operations: ['85-40=45', '45-41=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[40, 24, 85, 41], Operations: []
Exploring Operation: 85-41=44, Resulting Numbers: [40, 24, 44]
Generated Node #0,0: 96:[40, 24, 44] Operation: 85-41=44
Exploring Operation: 85-40=45, Resulting Numbers: [24, 41, 45]
Generated Node #0,1: 96:[24, 41, 45] Operation: 85-40=45
Exploring Operation: 40-24=16, Resulting Numbers: [85, 41, 16]
Generated Node #0,2: 96:[85, 41, 16] Operation: 40-24=16
Exploring Operation: 41-40=1, Resulting Numbers: [24, 85, 1]
Generated Node #0,3: 96:[24, 85, 1] Operation: 41-40=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[24, 41, 45], Operations: ['85-40=45']
Exploring Operation: 41-24=17, Resulting Numbers: [45, 17]
Generated Node #0,1,0: 96:[45, 17] Operation: 41-24=17
Exploring Operation: 41+45=86, Resulting Numbers: [24, 86]
Generated Node #0,1,1: 96:[24, 86] Operation: 41+45=86
Exploring Operation: 45-24=21, Resulting Numbers: [41, 21]
Generated Node #0,1,2: 96:[41, 21] Operation: 45-24=21
Exploring Operation: 45-41=4, Resulting Numbers: [24, 4]
Generated Node #0,1,3: 96:[24, 4] Operation: 45-41=4
Moving to Node #0,1,3
Current State: 96:[24, 4], Operations: ['85-40=45', '45-41=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[40, 24, 85, 41], Operations: []
Exploring Operation: 85-40=45, Resulting Numbers: [24, 41, 45]
Generated Node #0,1: 96:[24, 41, 45] Operation: 85-40=45
Moving to Node #0,1
Current State: 96:[24, 41, 45], Operations: ['85-40=45']
Exploring Operation: 45-41=4, Resulting Numbers: [24, 4]
Generated Node #0,1,3: 96:[24, 4] Operation: 45-41=4
Moving to Node #0,1,3
Current State: 96:[24, 4], Operations: ['85-40=45', '45-41=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
82,
44,
54,
3
] | 69 | [
"82+44=126",
"54+3=57",
"126-57=69"
] | Current State: 69:[82, 44, 54, 3], Operations: []
Exploring Operation: 82+44=126, Resulting Numbers: [54, 3, 126]
Generated Node #2: [54, 3, 126] from Operation: 82+44=126
Current State: 69:[54, 3, 126], Operations: ['82+44=126']
Exploring Operation: 54+3=57, Resulting Numbers: [126, 57]
Generated Node #3: [126, 57] from Operation: 54+3=57
Current State: 69:[126, 57], Operations: ['82+44=126', '54+3=57']
Exploring Operation: 126-57=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[82, 44, 54, 3], Operations: []
Exploring Operation: 54-44=10, Resulting Numbers: [82, 3, 10]
Generated Node #0,0: 69:[82, 3, 10] Operation: 54-44=10
Exploring Operation: 82-54=28, Resulting Numbers: [44, 3, 28]
Generated Node #0,1: 69:[44, 3, 28] Operation: 82-54=28
Exploring Operation: 82-44=38, Resulting Numbers: [54, 3, 38]
Generated Node #0,2: 69:[54, 3, 38] Operation: 82-44=38
Moving to Node #0,0
Current State: 69:[82, 3, 10], Operations: ['54-44=10']
Exploring Operation: 10-3=7, Resulting Numbers: [82, 7]
Generated Node #0,0,0: 69:[82, 7] Operation: 10-3=7
Exploring Operation: 82-3=79, Resulting Numbers: [10, 79]
Generated Node #0,0,1: 69:[10, 79] Operation: 82-3=79
Exploring Operation: 82-10=72, Resulting Numbers: [3, 72]
Generated Node #0,0,2: 69:[3, 72] Operation: 82-10=72
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 69:[3, 72], Operations: ['54-44=10', '82-10=72']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[82, 44, 54, 3], Operations: []
Exploring Operation: 54-44=10, Resulting Numbers: [82, 3, 10]
Generated Node #0,0: 69:[82, 3, 10] Operation: 54-44=10
Moving to Node #0,0
Current State: 69:[82, 3, 10], Operations: ['54-44=10']
Exploring Operation: 82-10=72, Resulting Numbers: [3, 72]
Generated Node #0,0,2: 69:[3, 72] Operation: 82-10=72
Moving to Node #0,0,2
Current State: 69:[3, 72], Operations: ['54-44=10', '82-10=72']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
48,
43,
35,
13
] | 17 | [
"48-43=5",
"35-13=22",
"22-5=17"
] | Current State: 17:[48, 43, 35, 13], Operations: []
Exploring Operation: 48-43=5, Resulting Numbers: [35, 13, 5]
Generated Node #2: [35, 13, 5] from Operation: 48-43=5
Current State: 17:[35, 13, 5], Operations: ['48-43=5']
Exploring Operation: 35-13=22, Resulting Numbers: [5, 22]
Generated Node #3: [5, 22] from Operation: 35-13=22
Current State: 17:[5, 22], Operations: ['48-43=5', '35-13=22']
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[48, 43, 35, 13], Operations: []
Exploring Operation: 48-35=13, Resulting Numbers: [43, 13, 13]
Generated Node #0,0: 17:[43, 13, 13] Operation: 48-35=13
Exploring Operation: 48-43=5, Resulting Numbers: [35, 13, 5]
Generated Node #0,1: 17:[35, 13, 5] Operation: 48-43=5
Exploring Operation: 43-35=8, Resulting Numbers: [48, 13, 8]
Generated Node #0,2: 17:[48, 13, 8] Operation: 43-35=8
Moving to Node #0,0
Current State: 17:[43, 13, 13], Operations: ['48-35=13']
Exploring Operation: 43-13=30, Resulting Numbers: [13, 30]
Generated Node #0,0,0: 17:[13, 30] Operation: 43-13=30
Exploring Operation: 13+13=26, Resulting Numbers: [43, 26]
Generated Node #0,0,1: 17:[43, 26] Operation: 13+13=26
Exploring Operation: 43-13=30, Resulting Numbers: [13, 30]
Generated Node #0,0,2: 17:[13, 30] Operation: 43-13=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[13, 30], Operations: ['48-35=13', '43-13=30']
Exploring Operation: 13*30=390, Resulting Numbers: [390]
390,17 unequal: No Solution
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,17 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[48, 43, 35, 13], Operations: []
Exploring Operation: 48-35=13, Resulting Numbers: [43, 13, 13]
Generated Node #0,0: 17:[43, 13, 13] Operation: 48-35=13
Moving to Node #0,0
Current State: 17:[43, 13, 13], Operations: ['48-35=13']
Exploring Operation: 43-13=30, Resulting Numbers: [13, 30]
Generated Node #0,0,0: 17:[13, 30] Operation: 43-13=30
Moving to Node #0,0,0
Current State: 17:[13, 30], Operations: ['48-35=13', '43-13=30']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
75,
29,
90,
45
] | 23 | [
"75-29=46",
"90/45=2",
"46/2=23"
] | Current State: 23:[75, 29, 90, 45], Operations: []
Exploring Operation: 75-29=46, Resulting Numbers: [90, 45, 46]
Generated Node #2: [90, 45, 46] from Operation: 75-29=46
Current State: 23:[90, 45, 46], Operations: ['75-29=46']
Exploring Operation: 90/45=2, Resulting Numbers: [46, 2]
Generated Node #3: [46, 2] from Operation: 90/45=2
Current State: 23:[46, 2], Operations: ['75-29=46', '90/45=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[75, 29, 90, 45], Operations: []
Exploring Operation: 90-75=15, Resulting Numbers: [29, 45, 15]
Generated Node #0,0: 23:[29, 45, 15] Operation: 90-75=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[29, 45, 15], Operations: ['90-75=15']
Exploring Operation: 45-15=30, Resulting Numbers: [29, 30]
Generated Node #0,0,0: 23:[29, 30] Operation: 45-15=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[29, 30], Operations: ['90-75=15', '45-15=30']
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,23 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 |
[
25,
43,
68,
41
] | 41 | [
"25+43=68",
"68+41=109",
"109-68=41"
] | Current State: 41:[25, 43, 68, 41], Operations: []
Exploring Operation: 25+43=68, Resulting Numbers: [68, 41, 68]
Generated Node #2: [68, 41, 68] from Operation: 25+43=68
Current State: 41:[68, 41, 68], Operations: ['25+43=68']
Exploring Operation: 68+41=109, Resulting Numbers: [109]
109,41 equal: Goal Reached
Exploring Operation: 109-68=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[25, 43, 68, 41], Operations: []
Exploring Operation: 68-43=25, Resulting Numbers: [25, 41, 25]
Generated Node #0,0: 41:[25, 41, 25] Operation: 68-43=25
Exploring Operation: 68-41=27, Resulting Numbers: [25, 43, 27]
Generated Node #0,1: 41:[25, 43, 27] Operation: 68-41=27
Exploring Operation: 68-25=43, Resulting Numbers: [43, 41, 43]
Generated Node #0,2: 41:[43, 41, 43] Operation: 68-25=43
Moving to Node #0,2
Current State: 41:[43, 41, 43], Operations: ['68-25=43']
Exploring Operation: 43-43=0, Resulting Numbers: [41, 0]
Generated Node #0,2,0: 41:[41, 0] Operation: 43-43=0
Exploring Operation: 43-41=2, Resulting Numbers: [43, 2]
Generated Node #0,2,1: 41:[43, 2] Operation: 43-41=2
Exploring Operation: 43/43=1, Resulting Numbers: [41, 1]
Generated Node #0,2,2: 41:[41, 1] Operation: 43/43=1
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 41:[41, 1], Operations: ['68-25=43', '43/43=1']
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,41 unequal: No Solution
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[25, 43, 68, 41], Operations: []
Exploring Operation: 68-25=43, Resulting Numbers: [43, 41, 43]
Generated Node #0,2: 41:[43, 41, 43] Operation: 68-25=43
Moving to Node #0,2
Current State: 41:[43, 41, 43], Operations: ['68-25=43']
Exploring Operation: 43/43=1, Resulting Numbers: [41, 1]
Generated Node #0,2,2: 41:[41, 1] Operation: 43/43=1
Moving to Node #0,2,2
Current State: 41:[41, 1], Operations: ['68-25=43', '43/43=1']
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
88,
96,
58,
90
] | 36 | [
"88+96=184",
"58+90=148",
"184-148=36"
] | Current State: 36:[88, 96, 58, 90], Operations: []
Exploring Operation: 88+96=184, Resulting Numbers: [58, 90, 184]
Generated Node #2: [58, 90, 184] from Operation: 88+96=184
Current State: 36:[58, 90, 184], Operations: ['88+96=184']
Exploring Operation: 58+90=148, Resulting Numbers: [184, 148]
Generated Node #3: [184, 148] from Operation: 58+90=148
Current State: 36:[184, 148], Operations: ['88+96=184', '58+90=148']
Exploring Operation: 184-148=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[88, 96, 58, 90], Operations: []
Exploring Operation: 96-90=6, Resulting Numbers: [88, 58, 6]
Generated Node #0,0: 36:[88, 58, 6] Operation: 96-90=6
Exploring Operation: 96-88=8, Resulting Numbers: [58, 90, 8]
Generated Node #0,1: 36:[58, 90, 8] Operation: 96-88=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[88, 58, 6], Operations: ['96-90=6']
Exploring Operation: 88-58=30, Resulting Numbers: [6, 30]
Generated Node #0,0,0: 36:[6, 30] Operation: 88-58=30
Exploring Operation: 88-6=82, Resulting Numbers: [58, 82]
Generated Node #0,0,1: 36:[58, 82] Operation: 88-6=82
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[6, 30], Operations: ['96-90=6', '88-58=30']
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[88, 96, 58, 90], Operations: []
Exploring Operation: 96-90=6, Resulting Numbers: [88, 58, 6]
Generated Node #0,0: 36:[88, 58, 6] Operation: 96-90=6
Moving to Node #0,0
Current State: 36:[88, 58, 6], Operations: ['96-90=6']
Exploring Operation: 88-58=30, Resulting Numbers: [6, 30]
Generated Node #0,0,0: 36:[6, 30] Operation: 88-58=30
Moving to Node #0,0,0
Current State: 36:[6, 30], Operations: ['96-90=6', '88-58=30']
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
29,
5,
5,
18
] | 46 | [
"29+18=47",
"5/5=1",
"47-1=46"
] | Current State: 46:[29, 5, 5, 18], Operations: []
Exploring Operation: 29+18=47, Resulting Numbers: [5, 5, 47]
Generated Node #2: [5, 5, 47] from Operation: 29+18=47
Current State: 46:[5, 5, 47], Operations: ['29+18=47']
Exploring Operation: 5/5=1, Resulting Numbers: [47, 1]
Generated Node #3: [47, 1] from Operation: 5/5=1
Current State: 46:[47, 1], Operations: ['29+18=47', '5/5=1']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[29, 5, 5, 18], Operations: []
Exploring Operation: 5+18=23, Resulting Numbers: [29, 5, 23]
Generated Node #0,0: 46:[29, 5, 23] Operation: 5+18=23
Exploring Operation: 29+18=47, Resulting Numbers: [5, 5, 47]
Generated Node #0,1: 46:[5, 5, 47] Operation: 29+18=47
Exploring Operation: 29-5=24, Resulting Numbers: [5, 18, 24]
Generated Node #0,2: 46:[5, 18, 24] Operation: 29-5=24
Exploring Operation: 29-5=24, Resulting Numbers: [5, 18, 24]
Generated Node #0,3: 46:[5, 18, 24] Operation: 29-5=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[5, 5, 47], Operations: ['29+18=47']
Exploring Operation: 47-5=42, Resulting Numbers: [5, 42]
Generated Node #0,1,0: 46:[5, 42] Operation: 47-5=42
Exploring Operation: 5/5=1, Resulting Numbers: [47, 1]
Generated Node #0,1,1: 46:[47, 1] Operation: 5/5=1
Exploring Operation: 5*5=25, Resulting Numbers: [47, 25]
Generated Node #0,1,2: 46:[47, 25] Operation: 5*5=25
Exploring Operation: 5-5=0, Resulting Numbers: [47, 0]
Generated Node #0,1,3: 46:[47, 0] Operation: 5-5=0
Moving to Node #0,1,1
Current State: 46:[47, 1], Operations: ['29+18=47', '5/5=1']
Exploring Operation: 47*1=47, Resulting Numbers: [47]
47,46 unequal: No Solution
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,46 unequal: No Solution
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,46 unequal: No Solution
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[29, 5, 5, 18], Operations: []
Exploring Operation: 29+18=47, Resulting Numbers: [5, 5, 47]
Generated Node #0,1: 46:[5, 5, 47] Operation: 29+18=47
Moving to Node #0,1
Current State: 46:[5, 5, 47], Operations: ['29+18=47']
Exploring Operation: 5/5=1, Resulting Numbers: [47, 1]
Generated Node #0,1,1: 46:[47, 1] Operation: 5/5=1
Moving to Node #0,1,1
Current State: 46:[47, 1], Operations: ['29+18=47', '5/5=1']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
55,
20,
26,
49
] | 24 | [
"55+49=104",
"104/26=4",
"20+4=24"
] | Current State: 24:[55, 20, 26, 49], Operations: []
Exploring Operation: 55+49=104, Resulting Numbers: [20, 26, 104]
Generated Node #2: [20, 26, 104] from Operation: 55+49=104
Current State: 24:[20, 26, 104], Operations: ['55+49=104']
Exploring Operation: 104/26=4, Resulting Numbers: [20, 4]
Generated Node #3: [20, 4] from Operation: 104/26=4
Current State: 24:[20, 4], Operations: ['55+49=104', '104/26=4']
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[55, 20, 26, 49], Operations: []
Exploring Operation: 55-20=35, Resulting Numbers: [26, 49, 35]
Generated Node #0,0: 24:[26, 49, 35] Operation: 55-20=35
Exploring Operation: 55-26=29, Resulting Numbers: [20, 49, 29]
Generated Node #0,1: 24:[20, 49, 29] Operation: 55-26=29
Exploring Operation: 49-26=23, Resulting Numbers: [55, 20, 23]
Generated Node #0,2: 24:[55, 20, 23] Operation: 49-26=23
Exploring Operation: 55-49=6, Resulting Numbers: [20, 26, 6]
Generated Node #0,3: 24:[20, 26, 6] Operation: 55-49=6
Moving to Node #0,3
Current State: 24:[20, 26, 6], Operations: ['55-49=6']
Exploring Operation: 20-6=14, Resulting Numbers: [26, 14]
Generated Node #0,3,0: 24:[26, 14] Operation: 20-6=14
Exploring Operation: 26-20=6, Resulting Numbers: [6, 6]
Generated Node #0,3,1: 24:[6, 6] Operation: 26-20=6
Exploring Operation: 26-6=20, Resulting Numbers: [20, 20]
Generated Node #0,3,2: 24:[20, 20] Operation: 26-6=20
Exploring Operation: 20+6=26, Resulting Numbers: [26, 26]
Generated Node #0,3,3: 24:[26, 26] Operation: 20+6=26
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 24:[6, 6], Operations: ['55-49=6', '26-20=6']
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,24 unequal: No Solution
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,24 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 24:[26, 14], Operations: ['55-49=6', '20-6=14']
Exploring Operation: 26+14=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Exploring Operation: 26*14=364, Resulting Numbers: [364]
364,24 unequal: No Solution
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 24:[26, 26], Operations: ['55-49=6', '20+6=26']
Exploring Operation: 26/26=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 26*26=676, Resulting Numbers: [676]
676,24 unequal: No Solution
Exploring Operation: 26+26=52, Resulting Numbers: [52]
52,24 unequal: No Solution
Exploring Operation: 26-26=0, Resulting Numbers: [0]
0,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 24:[20, 20], Operations: ['55-49=6', '26-6=20']
Exploring Operation: 20-20=0, Resulting Numbers: [0]
0,24 unequal: No Solution
Exploring Operation: 20*20=400, Resulting Numbers: [400]
400,24 unequal: No Solution
Exploring Operation: 20+20=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Exploring Operation: 20/20=1, Resulting Numbers: [1]
1,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 24:[20, 49, 29], Operations: ['55-26=29']
Exploring Operation: 20+49=69, Resulting Numbers: [29, 69]
Generated Node #0,1,0: 24:[29, 69] Operation: 20+49=69
Exploring Operation: 49-29=20, Resulting Numbers: [20, 20]
Generated Node #0,1,1: 24:[20, 20] Operation: 49-29=20
Exploring Operation: 29-20=9, Resulting Numbers: [49, 9]
Generated Node #0,1,2: 24:[49, 9] Operation: 29-20=9
Exploring Operation: 49-20=29, Resulting Numbers: [29, 29]
Generated Node #0,1,3: 24:[29, 29] Operation: 49-20=29
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[20, 20], Operations: ['55-26=29', '49-29=20']
Exploring Operation: 20*20=400, Resulting Numbers: [400]
400,24 unequal: No Solution
Exploring Operation: 20+20=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Exploring Operation: 20-20=0, Resulting Numbers: [0]
0,24 unequal: No Solution
Exploring Operation: 20/20=1, Resulting Numbers: [1]
1,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 24:[29, 29], Operations: ['55-26=29', '49-20=29']
Exploring Operation: 29+29=58, Resulting Numbers: [58]
58,24 unequal: No Solution
Exploring Operation: 29*29=841, Resulting Numbers: [841]
841,24 unequal: No Solution
Exploring Operation: 29/29=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 29-29=0, Resulting Numbers: [0]
0,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 24:[49, 9], Operations: ['55-26=29', '29-20=9']
Exploring Operation: 49+9=58, Resulting Numbers: [58]
58,24 unequal: No Solution
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Exploring Operation: 49*9=441, Resulting Numbers: [441]
441,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[29, 69], Operations: ['55-26=29', '20+49=69']
Exploring Operation: 29*69=2001, Resulting Numbers: [2001]
2001,24 unequal: No Solution
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Exploring Operation: 29+69=98, Resulting Numbers: [98]
98,24 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: 24:[55, 20, 23], Operations: ['49-26=23']
Exploring Operation: 55-20=35, Resulting Numbers: [23, 35]
Generated Node #0,2,0: 24:[23, 35] Operation: 55-20=35
Exploring Operation: 55-23=32, Resulting Numbers: [20, 32]
Generated Node #0,2,1: 24:[20, 32] Operation: 55-23=32
Exploring Operation: 23-20=3, Resulting Numbers: [55, 3]
Generated Node #0,2,2: 24:[55, 3] Operation: 23-20=3
Exploring Operation: 20+23=43, Resulting Numbers: [55, 43]
Generated Node #0,2,3: 24:[55, 43] Operation: 20+23=43
Moving to Node #0,0
Current State: 24:[26, 49, 35], Operations: ['55-20=35']
Exploring Operation: 35-26=9, Resulting Numbers: [49, 9]
Generated Node #0,0,0: 24:[49, 9] Operation: 35-26=9
Exploring Operation: 26+49=75, Resulting Numbers: [35, 75]
Generated Node #0,0,1: 24:[35, 75] Operation: 26+49=75
Exploring Operation: 49-26=23, Resulting Numbers: [35, 23]
Generated Node #0,0,2: 24:[35, 23] Operation: 49-26=23
Exploring Operation: 49-35=14, Resulting Numbers: [26, 14]
Generated Node #0,0,3: 24:[26, 14] Operation: 49-35=14
Moving to Node #0,0,3
Current State: 24:[26, 14], Operations: ['55-20=35', '49-35=14']
Exploring Operation: 26*14=364, Resulting Numbers: [364]
364,24 unequal: No Solution
Exploring Operation: 26+14=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Moving to Node #0,0,2
Current State: 24:[35, 23], Operations: ['55-20=35', '49-26=23']
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 35*23=805, Resulting Numbers: [805]
805,24 unequal: No Solution
Exploring Operation: 35+23=58, Resulting Numbers: [58]
58,24 unequal: No Solution
Moving to Node #0,2,0
Current State: 24:[23, 35], Operations: ['49-26=23', '55-20=35']
Exploring Operation: 23*35=805, Resulting Numbers: [805]
805,24 unequal: No Solution
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 23+35=58, Resulting Numbers: [58]
58,24 unequal: No Solution
Moving to Node #0,2,1
Current State: 24:[20, 32], Operations: ['49-26=23', '55-23=32']
Exploring Operation: 20*32=640, Resulting Numbers: [640]
640,24 unequal: No Solution
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,24 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Moving to Node #0,0,0
Current State: 24:[49, 9], Operations: ['55-20=35', '35-26=9']
Exploring Operation: 49*9=441, Resulting Numbers: [441]
441,24 unequal: No Solution
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Exploring Operation: 49+9=58, Resulting Numbers: [58]
58,24 unequal: No Solution
Moving to Node #0,2,2
Current State: 24:[55, 3], Operations: ['49-26=23', '23-20=3']
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,24 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,24 unequal: No Solution
Exploring Operation: 55*3=165, Resulting Numbers: [165]
165,24 unequal: No Solution
Moving to Node #0,2,3
Current State: 24:[55, 43], Operations: ['49-26=23', '20+23=43']
Exploring Operation: 55+43=98, Resulting Numbers: [98]
98,24 unequal: No Solution
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 55*43=2365, Resulting Numbers: [2365]
2365,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[35, 75], Operations: ['55-20=35', '26+49=75']
Exploring Operation: 35+75=110, Resulting Numbers: [110]
110,24 unequal: No Solution
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Exploring Operation: 35*75=2625, Resulting Numbers: [2625]
2625,24 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
50,
77,
70,
82
] | 36 | [
"82-77=5",
"70/5=14",
"50-14=36"
] | Current State: 36:[50, 77, 70, 82], Operations: []
Exploring Operation: 82-77=5, Resulting Numbers: [50, 70, 5]
Generated Node #2: [50, 70, 5] from Operation: 82-77=5
Current State: 36:[50, 70, 5], Operations: ['82-77=5']
Exploring Operation: 70/5=14, Resulting Numbers: [50, 14]
Generated Node #3: [50, 14] from Operation: 70/5=14
Current State: 36:[50, 14], Operations: ['82-77=5', '70/5=14']
Exploring Operation: 50-14=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[50, 77, 70, 82], Operations: []
Exploring Operation: 82-77=5, Resulting Numbers: [50, 70, 5]
Generated Node #0,0: 36:[50, 70, 5] Operation: 82-77=5
Moving to Node #0,0
Current State: 36:[50, 70, 5], Operations: ['82-77=5']
Exploring Operation: 70-50=20, Resulting Numbers: [5, 20]
Generated Node #0,0,0: 36:[5, 20] Operation: 70-50=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[5, 20], Operations: ['82-77=5', '70-50=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,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 |
[
7,
32,
54,
26
] | 55 | [
"32-7=25",
"54+26=80",
"80-25=55"
] | Current State: 55:[7, 32, 54, 26], Operations: []
Exploring Operation: 32-7=25, Resulting Numbers: [54, 26, 25]
Generated Node #2: [54, 26, 25] from Operation: 32-7=25
Current State: 55:[54, 26, 25], Operations: ['32-7=25']
Exploring Operation: 54+26=80, Resulting Numbers: [25, 80]
Generated Node #3: [25, 80] from Operation: 54+26=80
Current State: 55:[25, 80], Operations: ['32-7=25', '54+26=80']
Exploring Operation: 80-25=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[7, 32, 54, 26], Operations: []
Exploring Operation: 54-32=22, Resulting Numbers: [7, 26, 22]
Generated Node #0,0: 55:[7, 26, 22] Operation: 54-32=22
Exploring Operation: 32-26=6, Resulting Numbers: [7, 54, 6]
Generated Node #0,1: 55:[7, 54, 6] Operation: 32-26=6
Exploring Operation: 32+26=58, Resulting Numbers: [7, 54, 58]
Generated Node #0,2: 55:[7, 54, 58] Operation: 32+26=58
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[7, 54, 6], Operations: ['32-26=6']
Exploring Operation: 54/6=9, Resulting Numbers: [7, 9]
Generated Node #0,1,0: 55:[7, 9] Operation: 54/6=9
Exploring Operation: 7-6=1, Resulting Numbers: [54, 1]
Generated Node #0,1,1: 55:[54, 1] Operation: 7-6=1
Exploring Operation: 7+6=13, Resulting Numbers: [54, 13]
Generated Node #0,1,2: 55:[54, 13] Operation: 7+6=13
Moving to Node #0,1,2
Current State: 55:[54, 13], Operations: ['32-26=6', '7+6=13']
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,55 unequal: No Solution
Exploring Operation: 54+13=67, Resulting Numbers: [67]
67,55 unequal: No Solution
Exploring Operation: 54*13=702, Resulting Numbers: [702]
702,55 unequal: No Solution
Moving to Node #0,1,0
Current State: 55:[7, 9], Operations: ['32-26=6', '54/6=9']
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[54, 1], Operations: ['32-26=6', '7-6=1']
Exploring Operation: 54+1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[7, 32, 54, 26], Operations: []
Exploring Operation: 32-26=6, Resulting Numbers: [7, 54, 6]
Generated Node #0,1: 55:[7, 54, 6] Operation: 32-26=6
Moving to Node #0,1
Current State: 55:[7, 54, 6], Operations: ['32-26=6']
Exploring Operation: 7-6=1, Resulting Numbers: [54, 1]
Generated Node #0,1,1: 55:[54, 1] Operation: 7-6=1
Moving to Node #0,1,1
Current State: 55:[54, 1], Operations: ['32-26=6', '7-6=1']
Exploring Operation: 54+1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
2,
66,
6,
26
] | 80 | [
"2*6=12",
"66+26=92",
"92-12=80"
] | Current State: 80:[2, 66, 6, 26], Operations: []
Exploring Operation: 2*6=12, Resulting Numbers: [66, 26, 12]
Generated Node #2: [66, 26, 12] from Operation: 2*6=12
Current State: 80:[66, 26, 12], Operations: ['2*6=12']
Exploring Operation: 66+26=92, Resulting Numbers: [12, 92]
Generated Node #3: [12, 92] from Operation: 66+26=92
Current State: 80:[12, 92], Operations: ['2*6=12', '66+26=92']
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[2, 66, 6, 26], Operations: []
Exploring Operation: 66-26=40, Resulting Numbers: [2, 6, 40]
Generated Node #0,0: 80:[2, 6, 40] Operation: 66-26=40
Exploring Operation: 66+26=92, Resulting Numbers: [2, 6, 92]
Generated Node #0,1: 80:[2, 6, 92] Operation: 66+26=92
Exploring Operation: 66/6=11, Resulting Numbers: [2, 26, 11]
Generated Node #0,2: 80:[2, 26, 11] Operation: 66/6=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[2, 6, 40], Operations: ['66-26=40']
Exploring Operation: 6-2=4, Resulting Numbers: [40, 4]
Generated Node #0,0,0: 80:[40, 4] Operation: 6-2=4
Exploring Operation: 2+6=8, Resulting Numbers: [40, 8]
Generated Node #0,0,1: 80:[40, 8] Operation: 2+6=8
Exploring Operation: 6/2=3, Resulting Numbers: [40, 3]
Generated Node #0,0,2: 80:[40, 3] Operation: 6/2=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[40, 4], Operations: ['66-26=40', '6-2=4']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,80 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 80:[40, 8], Operations: ['66-26=40', '2+6=8']
Exploring Operation: 40+8=48, Resulting Numbers: [48]
48,80 unequal: No Solution
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 80:[40, 3], Operations: ['66-26=40', '6/2=3']
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,80 unequal: No Solution
Exploring Operation: 40*3=120, Resulting Numbers: [120]
120,80 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 80:[2, 26, 11], Operations: ['66/6=11']
Exploring Operation: 26+11=37, Resulting Numbers: [2, 37]
Generated Node #0,2,0: 80:[2, 37] Operation: 26+11=37
Exploring Operation: 26-11=15, Resulting Numbers: [2, 15]
Generated Node #0,2,1: 80:[2, 15] Operation: 26-11=15
Exploring Operation: 26/2=13, Resulting Numbers: [11, 13]
Generated Node #0,2,2: 80:[11, 13] Operation: 26/2=13
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 80:[2, 15], Operations: ['66/6=11', '26-11=15']
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,80 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 80:[2, 37], Operations: ['66/6=11', '26+11=37']
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,80 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,80 unequal: No Solution
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 80:[11, 13], Operations: ['66/6=11', '26/2=13']
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 11*13=143, Resulting Numbers: [143]
143,80 unequal: No Solution
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[2, 6, 92], Operations: ['66+26=92']
Exploring Operation: 92-6=86, Resulting Numbers: [2, 86]
Generated Node #0,1,0: 80:[2, 86] Operation: 92-6=86
Exploring Operation: 92-2=90, Resulting Numbers: [6, 90]
Generated Node #0,1,1: 80:[6, 90] Operation: 92-2=90
Exploring Operation: 92/2=46, Resulting Numbers: [6, 46]
Generated Node #0,1,2: 80:[6, 46] Operation: 92/2=46
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[2, 86], Operations: ['66+26=92', '92-6=86']
Exploring Operation: 2+86=88, Resulting Numbers: [88]
88,80 unequal: No Solution
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,80 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 80:[6, 46], Operations: ['66+26=92', '92/2=46']
Exploring Operation: 6+46=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 6*46=276, Resulting Numbers: [276]
276,80 unequal: No Solution
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 80:[6, 90], Operations: ['66+26=92', '92-2=90']
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 6+90=96, Resulting Numbers: [96]
96,80 unequal: No Solution
Exploring Operation: 90-6=84, Resulting Numbers: [84]
84,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
48,
41,
81,
12
] | 76 | [
"48-41=7",
"81-12=69",
"7+69=76"
] | Current State: 76:[48, 41, 81, 12], Operations: []
Exploring Operation: 48-41=7, Resulting Numbers: [81, 12, 7]
Generated Node #2: [81, 12, 7] from Operation: 48-41=7
Current State: 76:[81, 12, 7], Operations: ['48-41=7']
Exploring Operation: 81-12=69, Resulting Numbers: [7, 69]
Generated Node #3: [7, 69] from Operation: 81-12=69
Current State: 76:[7, 69], Operations: ['48-41=7', '81-12=69']
Exploring Operation: 7+69=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[48, 41, 81, 12], Operations: []
Exploring Operation: 48-12=36, Resulting Numbers: [41, 81, 36]
Generated Node #0,0: 76:[41, 81, 36] Operation: 48-12=36
Exploring Operation: 81-48=33, Resulting Numbers: [41, 12, 33]
Generated Node #0,1: 76:[41, 12, 33] Operation: 81-48=33
Exploring Operation: 48/12=4, Resulting Numbers: [41, 81, 4]
Generated Node #0,2: 76:[41, 81, 4] Operation: 48/12=4
Exploring Operation: 48-41=7, Resulting Numbers: [81, 12, 7]
Generated Node #0,3: 76:[81, 12, 7] Operation: 48-41=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[41, 81, 4], Operations: ['48/12=4']
Exploring Operation: 81-4=77, Resulting Numbers: [41, 77]
Generated Node #0,2,0: 76:[41, 77] Operation: 81-4=77
Exploring Operation: 41-4=37, Resulting Numbers: [81, 37]
Generated Node #0,2,1: 76:[81, 37] Operation: 41-4=37
Exploring Operation: 81-41=40, Resulting Numbers: [4, 40]
Generated Node #0,2,2: 76:[4, 40] Operation: 81-41=40
Exploring Operation: 41+4=45, Resulting Numbers: [81, 45]
Generated Node #0,2,3: 76:[81, 45] Operation: 41+4=45
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 76:[4, 40], Operations: ['48/12=4', '81-41=40']
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,76 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 4*40=160, Resulting Numbers: [160]
160,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 76:[41, 77], Operations: ['48/12=4', '81-4=77']
Exploring Operation: 41+77=118, Resulting Numbers: [118]
118,76 unequal: No Solution
Exploring Operation: 41*77=3157, Resulting Numbers: [3157]
3157,76 unequal: No Solution
Exploring Operation: 77-41=36, Resulting Numbers: [36]
36,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 76:[81, 37], Operations: ['48/12=4', '41-4=37']
Exploring Operation: 81+37=118, Resulting Numbers: [118]
118,76 unequal: No Solution
Exploring Operation: 81-37=44, Resulting Numbers: [44]
44,76 unequal: No Solution
Exploring Operation: 81*37=2997, Resulting Numbers: [2997]
2997,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 76:[81, 45], Operations: ['48/12=4', '41+4=45']
Exploring Operation: 81+45=126, Resulting Numbers: [126]
126,76 unequal: No Solution
Exploring Operation: 81-45=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Exploring Operation: 81*45=3645, Resulting Numbers: [3645]
3645,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[41, 81, 36], Operations: ['48-12=36']
Exploring Operation: 81-41=40, Resulting Numbers: [36, 40]
Generated Node #0,0,0: 76:[36, 40] Operation: 81-41=40
Exploring Operation: 41-36=5, Resulting Numbers: [81, 5]
Generated Node #0,0,1: 76:[81, 5] Operation: 41-36=5
Exploring Operation: 41+36=77, Resulting Numbers: [81, 77]
Generated Node #0,0,2: 76:[81, 77] Operation: 41+36=77
Exploring Operation: 81-36=45, Resulting Numbers: [41, 45]
Generated Node #0,0,3: 76:[41, 45] Operation: 81-36=45
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[36, 40], Operations: ['48-12=36', '81-41=40']
Exploring Operation: 36*40=1440, Resulting Numbers: [1440]
1440,76 unequal: No Solution
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[48, 41, 81, 12], Operations: []
Exploring Operation: 48-12=36, Resulting Numbers: [41, 81, 36]
Generated Node #0,0: 76:[41, 81, 36] Operation: 48-12=36
Moving to Node #0,0
Current State: 76:[41, 81, 36], Operations: ['48-12=36']
Exploring Operation: 81-41=40, Resulting Numbers: [36, 40]
Generated Node #0,0,0: 76:[36, 40] Operation: 81-41=40
Moving to Node #0,0,0
Current State: 76:[36, 40], Operations: ['48-12=36', '81-41=40']
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.972222 | hs_4 | mult_heuristic |
[
9,
43,
1,
63
] | 49 | [
"63/9=7",
"43-1=42",
"7+42=49"
] | Current State: 49:[9, 43, 1, 63], Operations: []
Exploring Operation: 63/9=7, Resulting Numbers: [43, 1, 7]
Generated Node #2: [43, 1, 7] from Operation: 63/9=7
Current State: 49:[43, 1, 7], Operations: ['63/9=7']
Exploring Operation: 43-1=42, Resulting Numbers: [7, 42]
Generated Node #3: [7, 42] from Operation: 43-1=42
Current State: 49:[7, 42], Operations: ['63/9=7', '43-1=42']
Exploring Operation: 7+42=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[9, 43, 1, 63], Operations: []
Exploring Operation: 63/9=7, Resulting Numbers: [43, 1, 7]
Generated Node #0,0: 49:[43, 1, 7] Operation: 63/9=7
Exploring Operation: 9-1=8, Resulting Numbers: [43, 63, 8]
Generated Node #0,1: 49:[43, 63, 8] Operation: 9-1=8
Exploring Operation: 63-9=54, Resulting Numbers: [43, 1, 54]
Generated Node #0,2: 49:[43, 1, 54] Operation: 63-9=54
Exploring Operation: 43+1=44, Resulting Numbers: [9, 63, 44]
Generated Node #0,3: 49:[9, 63, 44] Operation: 43+1=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[43, 1, 7], Operations: ['63/9=7']
Exploring Operation: 1*7=7, Resulting Numbers: [43, 7]
Generated Node #0,0,0: 49:[43, 7] Operation: 1*7=7
Exploring Operation: 43+1=44, Resulting Numbers: [7, 44]
Generated Node #0,0,1: 49:[7, 44] Operation: 43+1=44
Exploring Operation: 43*1=43, Resulting Numbers: [7, 43]
Generated Node #0,0,2: 49:[7, 43] Operation: 43*1=43
Exploring Operation: 43/1=43, Resulting Numbers: [7, 43]
Generated Node #0,0,3: 49:[7, 43] Operation: 43/1=43
Moving to Node #0,0,1
Current State: 49:[7, 44], Operations: ['63/9=7', '43+1=44']
Exploring Operation: 7*44=308, Resulting Numbers: [308]
308,49 unequal: No Solution
Exploring Operation: 7+44=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[7, 43], Operations: ['63/9=7', '43*1=43']
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,49 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[43, 7], Operations: ['63/9=7', '1*7=7']
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 43*7=301, Resulting Numbers: [301]
301,49 unequal: No Solution
Exploring Operation: 43+7=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Moving to Node #0,0,3
Current State: 49:[7, 43], Operations: ['63/9=7', '43/1=43']
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,49 unequal: No Solution
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[43, 1, 54], Operations: ['63-9=54']
Exploring Operation: 54-1=53, Resulting Numbers: [43, 53]
Generated Node #0,2,0: 49:[43, 53] Operation: 54-1=53
Exploring Operation: 43+1=44, Resulting Numbers: [54, 44]
Generated Node #0,2,1: 49:[54, 44] Operation: 43+1=44
Exploring Operation: 43*1=43, Resulting Numbers: [54, 43]
Generated Node #0,2,2: 49:[54, 43] Operation: 43*1=43
Exploring Operation: 54-43=11, Resulting Numbers: [1, 11]
Generated Node #0,2,3: 49:[1, 11] Operation: 54-43=11
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 49:[43, 53], Operations: ['63-9=54', '54-1=53']
Exploring Operation: 43*53=2279, Resulting Numbers: [2279]
2279,49 unequal: No Solution
Exploring Operation: 43+53=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 53-43=10, Resulting Numbers: [10]
10,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 49:[54, 44], Operations: ['63-9=54', '43+1=44']
Exploring Operation: 54-44=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 54*44=2376, Resulting Numbers: [2376]
2376,49 unequal: No Solution
Exploring Operation: 54+44=98, Resulting Numbers: [98]
98,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 49:[1, 11], Operations: ['63-9=54', '54-43=11']
Exploring Operation: 1*11=11, Resulting Numbers: [11]
11,49 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,49 unequal: No Solution
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 49:[54, 43], Operations: ['63-9=54', '43*1=43']
Exploring Operation: 54*43=2322, Resulting Numbers: [2322]
2322,49 unequal: No Solution
Exploring Operation: 54+43=97, Resulting Numbers: [97]
97,49 unequal: No Solution
Exploring Operation: 54-43=11, Resulting Numbers: [11]
11,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[43, 63, 8], Operations: ['9-1=8']
Exploring Operation: 63-43=20, Resulting Numbers: [8, 20]
Generated Node #0,1,0: 49:[8, 20] Operation: 63-43=20
Exploring Operation: 43-8=35, Resulting Numbers: [63, 35]
Generated Node #0,1,1: 49:[63, 35] Operation: 43-8=35
Exploring Operation: 63-8=55, Resulting Numbers: [43, 55]
Generated Node #0,1,2: 49:[43, 55] Operation: 63-8=55
Exploring Operation: 43+8=51, Resulting Numbers: [63, 51]
Generated Node #0,1,3: 49:[63, 51] Operation: 43+8=51
Moving to Node #0,1,2
Current State: 49:[43, 55], Operations: ['9-1=8', '63-8=55']
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 43*55=2365, Resulting Numbers: [2365]
2365,49 unequal: No Solution
Exploring Operation: 43+55=98, Resulting Numbers: [98]
98,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[8, 20], Operations: ['9-1=8', '63-43=20']
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 8*20=160, Resulting Numbers: [160]
160,49 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Moving to Node #0,1,3
Current State: 49:[63, 51], Operations: ['9-1=8', '43+8=51']
Exploring Operation: 63-51=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 63+51=114, Resulting Numbers: [114]
114,49 unequal: No Solution
Exploring Operation: 63*51=3213, Resulting Numbers: [3213]
3213,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[63, 35], Operations: ['9-1=8', '43-8=35']
Exploring Operation: 63-35=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 63*35=2205, Resulting Numbers: [2205]
2205,49 unequal: No Solution
Exploring Operation: 63+35=98, Resulting Numbers: [98]
98,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 49:[9, 63, 44], Operations: ['43+1=44']
Exploring Operation: 9+44=53, Resulting Numbers: [63, 53]
Generated Node #0,3,0: 49:[63, 53] Operation: 9+44=53
Exploring Operation: 63-9=54, Resulting Numbers: [44, 54]
Generated Node #0,3,1: 49:[44, 54] Operation: 63-9=54
Exploring Operation: 63/9=7, Resulting Numbers: [44, 7]
Generated Node #0,3,2: 49:[44, 7] Operation: 63/9=7
Exploring Operation: 63-44=19, Resulting Numbers: [9, 19]
Generated Node #0,3,3: 49:[9, 19] Operation: 63-44=19
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 49:[44, 7], Operations: ['43+1=44', '63/9=7']
Exploring Operation: 44+7=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Exploring Operation: 44*7=308, Resulting Numbers: [308]
308,49 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 49:[44, 54], Operations: ['43+1=44', '63-9=54']
Exploring Operation: 44*54=2376, Resulting Numbers: [2376]
2376,49 unequal: No Solution
Exploring Operation: 54-44=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 44+54=98, Resulting Numbers: [98]
98,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 49:[9, 19], Operations: ['43+1=44', '63-44=19']
Exploring Operation: 9*19=171, Resulting Numbers: [171]
171,49 unequal: No Solution
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 49:[63, 53], Operations: ['43+1=44', '9+44=53']
Exploring Operation: 63*53=3339, Resulting Numbers: [3339]
3339,49 unequal: No Solution
Exploring Operation: 63-53=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 63+53=116, Resulting Numbers: [116]
116,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
25,
25,
9,
60
] | 60 | [
"25-25=0",
"9*0=0",
"60+0=60"
] | Current State: 60:[25, 25, 9, 60], Operations: []
Exploring Operation: 25-25=0, Resulting Numbers: [9, 60, 0]
Generated Node #2: [9, 60, 0] from Operation: 25-25=0
Current State: 60:[9, 60, 0], Operations: ['25-25=0']
Exploring Operation: 9*0=0, Resulting Numbers: [60, 0]
Generated Node #3: [60, 0] from Operation: 9*0=0
Current State: 60:[60, 0], Operations: ['25-25=0', '9*0=0']
Exploring Operation: 60+0=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[25, 25, 9, 60], Operations: []
Exploring Operation: 25/25=1, Resulting Numbers: [9, 60, 1]
Generated Node #0,0: 60:[9, 60, 1] Operation: 25/25=1
Exploring Operation: 25-25=0, Resulting Numbers: [9, 60, 0]
Generated Node #0,1: 60:[9, 60, 0] Operation: 25-25=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[9, 60, 1], Operations: ['25/25=1']
Exploring Operation: 9*1=9, Resulting Numbers: [60, 9]
Generated Node #0,0,0: 60:[60, 9] Operation: 9*1=9
Exploring Operation: 9+1=10, Resulting Numbers: [60, 10]
Generated Node #0,0,1: 60:[60, 10] Operation: 9+1=10
Moving to Node #0,0,1
Current State: 60:[60, 10], Operations: ['25/25=1', '9+1=10']
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 60+10=70, Resulting Numbers: [70]
70,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[60, 9], Operations: ['25/25=1', '9*1=9']
Exploring Operation: 60+9=69, Resulting Numbers: [69]
69,60 unequal: No Solution
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,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
Current State: 60:[9, 60, 0], Operations: ['25-25=0']
Exploring Operation: 9-0=9, Resulting Numbers: [60, 9]
Generated Node #0,1,0: 60:[60, 9] Operation: 9-0=9
Exploring Operation: 9+0=9, Resulting Numbers: [60, 9]
Generated Node #0,1,1: 60:[60, 9] Operation: 9+0=9
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[60, 9], Operations: ['25-25=0', '9-0=9']
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,60 unequal: No Solution
Exploring Operation: 60+9=69, Resulting Numbers: [69]
69,60 unequal: No Solution
No 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: 60:[60, 9], Operations: ['25-25=0', '9+0=9']
Exploring Operation: 60+9=69, Resulting Numbers: [69]
69,60 unequal: No Solution
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
34,
42,
58,
64
] | 50 | [
"42-34=8",
"64/8=8",
"58-8=50"
] | Current State: 50:[34, 42, 58, 64], Operations: []
Exploring Operation: 42-34=8, Resulting Numbers: [58, 64, 8]
Generated Node #2: [58, 64, 8] from Operation: 42-34=8
Current State: 50:[58, 64, 8], Operations: ['42-34=8']
Exploring Operation: 64/8=8, Resulting Numbers: [58, 8]
Generated Node #3: [58, 8] from Operation: 64/8=8
Current State: 50:[58, 8], Operations: ['42-34=8', '64/8=8']
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[34, 42, 58, 64], Operations: []
Exploring Operation: 64-42=22, Resulting Numbers: [34, 58, 22]
Generated Node #0,0: 50:[34, 58, 22] Operation: 64-42=22
Exploring Operation: 64-58=6, Resulting Numbers: [34, 42, 6]
Generated Node #0,1: 50:[34, 42, 6] Operation: 64-58=6
Moving to Node #0,1
Current State: 50:[34, 42, 6], Operations: ['64-58=6']
Exploring Operation: 42-34=8, Resulting Numbers: [6, 8]
Generated Node #0,1,0: 50:[6, 8] Operation: 42-34=8
Exploring Operation: 34-6=28, Resulting Numbers: [42, 28]
Generated Node #0,1,1: 50:[42, 28] Operation: 34-6=28
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 50:[6, 8], Operations: ['64-58=6', '42-34=8']
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,50 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,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,1
Current State: 50:[42, 28], Operations: ['64-58=6', '34-6=28']
Exploring Operation: 42+28=70, Resulting Numbers: [70]
70,50 unequal: No Solution
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,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:[34, 58, 22], Operations: ['64-42=22']
Exploring Operation: 34-22=12, Resulting Numbers: [58, 12]
Generated Node #0,0,0: 50:[58, 12] Operation: 34-22=12
Exploring Operation: 58-34=24, Resulting Numbers: [22, 24]
Generated Node #0,0,1: 50:[22, 24] Operation: 58-34=24
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[22, 24], Operations: ['64-42=22', '58-34=24']
Exploring Operation: 22+24=46, Resulting Numbers: [46]
46,50 unequal: No Solution
Exploring Operation: 24-22=2, Resulting Numbers: [2]
2,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,0
Current State: 50:[58, 12], Operations: ['64-42=22', '34-22=12']
Exploring Operation: 58+12=70, Resulting Numbers: [70]
70,50 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
62,
84,
36,
73
] | 59 | [
"84-62=22",
"73-36=37",
"22+37=59"
] | Current State: 59:[62, 84, 36, 73], Operations: []
Exploring Operation: 84-62=22, Resulting Numbers: [36, 73, 22]
Generated Node #2: [36, 73, 22] from Operation: 84-62=22
Current State: 59:[36, 73, 22], Operations: ['84-62=22']
Exploring Operation: 73-36=37, Resulting Numbers: [22, 37]
Generated Node #3: [22, 37] from Operation: 73-36=37
Current State: 59:[22, 37], Operations: ['84-62=22', '73-36=37']
Exploring Operation: 22+37=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[62, 84, 36, 73], Operations: []
Exploring Operation: 73-36=37, Resulting Numbers: [62, 84, 37]
Generated Node #0,0: 59:[62, 84, 37] Operation: 73-36=37
Exploring Operation: 84-36=48, Resulting Numbers: [62, 73, 48]
Generated Node #0,1: 59:[62, 73, 48] Operation: 84-36=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[62, 73, 48], Operations: ['84-36=48']
Exploring Operation: 73-48=25, Resulting Numbers: [62, 25]
Generated Node #0,1,0: 59:[62, 25] Operation: 73-48=25
Exploring Operation: 73-62=11, Resulting Numbers: [48, 11]
Generated Node #0,1,1: 59:[48, 11] Operation: 73-62=11
Moving to Node #0,1,0
Current State: 59:[62, 25], Operations: ['84-36=48', '73-48=25']
Exploring Operation: 62-25=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Exploring Operation: 62+25=87, Resulting Numbers: [87]
87,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[48, 11], Operations: ['84-36=48', '73-62=11']
Exploring Operation: 48+11=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[62, 84, 36, 73], Operations: []
Exploring Operation: 84-36=48, Resulting Numbers: [62, 73, 48]
Generated Node #0,1: 59:[62, 73, 48] Operation: 84-36=48
Moving to Node #0,1
Current State: 59:[62, 73, 48], Operations: ['84-36=48']
Exploring Operation: 73-62=11, Resulting Numbers: [48, 11]
Generated Node #0,1,1: 59:[48, 11] Operation: 73-62=11
Moving to Node #0,1,1
Current State: 59:[48, 11], Operations: ['84-36=48', '73-62=11']
Exploring Operation: 48+11=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
8,
41,
87,
33
] | 87 | [
"41-8=33",
"87+33=120",
"120-33=87"
] | Current State: 87:[8, 41, 87, 33], Operations: []
Exploring Operation: 41-8=33, Resulting Numbers: [87, 33, 33]
Generated Node #2: [87, 33, 33] from Operation: 41-8=33
Current State: 87:[87, 33, 33], Operations: ['41-8=33']
Exploring Operation: 87+33=120, Resulting Numbers: [120]
120,87 equal: Goal Reached
Exploring Operation: 120-33=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[8, 41, 87, 33], Operations: []
Exploring Operation: 41+33=74, Resulting Numbers: [8, 87, 74]
Generated Node #0,0: 87:[8, 87, 74] Operation: 41+33=74
Exploring Operation: 8+41=49, Resulting Numbers: [87, 33, 49]
Generated Node #0,1: 87:[87, 33, 49] Operation: 8+41=49
Exploring Operation: 41-33=8, Resulting Numbers: [8, 87, 8]
Generated Node #0,2: 87:[8, 87, 8] Operation: 41-33=8
Exploring Operation: 41-8=33, Resulting Numbers: [87, 33, 33]
Generated Node #0,3: 87:[87, 33, 33] Operation: 41-8=33
Exploring Operation: 33-8=25, Resulting Numbers: [41, 87, 25]
Generated Node #0,4: 87:[41, 87, 25] Operation: 33-8=25
Moving to Node #0,3
Current State: 87:[87, 33, 33], Operations: ['41-8=33']
Exploring Operation: 33+33=66, Resulting Numbers: [87, 66]
Generated Node #0,3,0: 87:[87, 66] Operation: 33+33=66
Exploring Operation: 87-33=54, Resulting Numbers: [33, 54]
Generated Node #0,3,1: 87:[33, 54] Operation: 87-33=54
Exploring Operation: 87-33=54, Resulting Numbers: [33, 54]
Generated Node #0,3,2: 87:[33, 54] Operation: 87-33=54
Exploring Operation: 33-33=0, Resulting Numbers: [87, 0]
Generated Node #0,3,3: 87:[87, 0] Operation: 33-33=0
Exploring Operation: 33/33=1, Resulting Numbers: [87, 1]
Generated Node #0,3,4: 87:[87, 1] Operation: 33/33=1
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 87:[87, 1], Operations: ['41-8=33', '33/33=1']
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,87 unequal: No Solution
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[8, 41, 87, 33], Operations: []
Exploring Operation: 41-8=33, Resulting Numbers: [87, 33, 33]
Generated Node #0,3: 87:[87, 33, 33] Operation: 41-8=33
Moving to Node #0,3
Current State: 87:[87, 33, 33], Operations: ['41-8=33']
Exploring Operation: 33/33=1, Resulting Numbers: [87, 1]
Generated Node #0,3,4: 87:[87, 1] Operation: 33/33=1
Moving to Node #0,3,4
Current State: 87:[87, 1], Operations: ['41-8=33', '33/33=1']
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
60,
4,
5,
93
] | 31 | [
"60/4=15",
"5*93=465",
"465/15=31"
] | Current State: 31:[60, 4, 5, 93], Operations: []
Exploring Operation: 60/4=15, Resulting Numbers: [5, 93, 15]
Generated Node #2: [5, 93, 15] from Operation: 60/4=15
Current State: 31:[5, 93, 15], Operations: ['60/4=15']
Exploring Operation: 5*93=465, Resulting Numbers: [15, 465]
Generated Node #3: [15, 465] from Operation: 5*93=465
Current State: 31:[15, 465], Operations: ['60/4=15', '5*93=465']
Exploring Operation: 465/15=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[60, 4, 5, 93], Operations: []
Exploring Operation: 93-60=33, Resulting Numbers: [4, 5, 33]
Generated Node #0,0: 31:[4, 5, 33] Operation: 93-60=33
Moving to Node #0,0
Current State: 31:[4, 5, 33], Operations: ['93-60=33']
Exploring Operation: 4*5=20, Resulting Numbers: [33, 20]
Generated Node #0,0,0: 31:[33, 20] Operation: 4*5=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[33, 20], Operations: ['93-60=33', '4*5=20']
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
79,
63,
40,
33
] | 50 | [
"63*33=2079",
"2079-79=2000",
"2000/40=50"
] | Current State: 50:[79, 63, 40, 33], Operations: []
Exploring Operation: 63*33=2079, Resulting Numbers: [79, 40, 2079]
Generated Node #2: [79, 40, 2079] from Operation: 63*33=2079
Current State: 50:[79, 40, 2079], Operations: ['63*33=2079']
Exploring Operation: 2079-79=2000, Resulting Numbers: [40, 2000]
Generated Node #3: [40, 2000] from Operation: 2079-79=2000
Current State: 50:[40, 2000], Operations: ['63*33=2079', '2079-79=2000']
Exploring Operation: 2000/40=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[79, 63, 40, 33], Operations: []
Exploring Operation: 63-40=23, Resulting Numbers: [79, 33, 23]
Generated Node #0,0: 50:[79, 33, 23] Operation: 63-40=23
Exploring Operation: 63-33=30, Resulting Numbers: [79, 40, 30]
Generated Node #0,1: 50:[79, 40, 30] Operation: 63-33=30
Exploring Operation: 79-33=46, Resulting Numbers: [63, 40, 46]
Generated Node #0,2: 50:[63, 40, 46] Operation: 79-33=46
Exploring Operation: 79-63=16, Resulting Numbers: [40, 33, 16]
Generated Node #0,3: 50:[40, 33, 16] Operation: 79-63=16
Exploring Operation: 79-40=39, Resulting Numbers: [63, 33, 39]
Generated Node #0,4: 50:[63, 33, 39] Operation: 79-40=39
Moving to Node #0,3
Current State: 50:[40, 33, 16], Operations: ['79-63=16']
Exploring Operation: 33-16=17, Resulting Numbers: [40, 17]
Generated Node #0,3,0: 50:[40, 17] Operation: 33-16=17
Exploring Operation: 40-33=7, Resulting Numbers: [16, 7]
Generated Node #0,3,1: 50:[16, 7] Operation: 40-33=7
Exploring Operation: 33+16=49, Resulting Numbers: [40, 49]
Generated Node #0,3,2: 50:[40, 49] Operation: 33+16=49
Exploring Operation: 40+16=56, Resulting Numbers: [33, 56]
Generated Node #0,3,3: 50:[33, 56] Operation: 40+16=56
Exploring Operation: 40-16=24, Resulting Numbers: [33, 24]
Generated Node #0,3,4: 50:[33, 24] Operation: 40-16=24
Moving to Node #0,2
Current State: 50:[63, 40, 46], Operations: ['79-33=46']
Exploring Operation: 63-46=17, Resulting Numbers: [40, 17]
Generated Node #0,2,0: 50:[40, 17] Operation: 63-46=17
Exploring Operation: 63-40=23, Resulting Numbers: [46, 23]
Generated Node #0,2,1: 50:[46, 23] Operation: 63-40=23
Exploring Operation: 63+40=103, Resulting Numbers: [46, 103]
Generated Node #0,2,2: 50:[46, 103] Operation: 63+40=103
Exploring Operation: 46-40=6, Resulting Numbers: [63, 6]
Generated Node #0,2,3: 50:[63, 6] Operation: 46-40=6
Exploring Operation: 40+46=86, Resulting Numbers: [63, 86]
Generated Node #0,2,4: 50:[63, 86] Operation: 40+46=86
Moving to Node #0,4
Current State: 50:[63, 33, 39], Operations: ['79-40=39']
Exploring Operation: 33+39=72, Resulting Numbers: [63, 72]
Generated Node #0,4,0: 50:[63, 72] Operation: 33+39=72
Exploring Operation: 39-33=6, Resulting Numbers: [63, 6]
Generated Node #0,4,1: 50:[63, 6] Operation: 39-33=6
Exploring Operation: 63-33=30, Resulting Numbers: [39, 30]
Generated Node #0,4,2: 50:[39, 30] Operation: 63-33=30
Exploring Operation: 63+33=96, Resulting Numbers: [39, 96]
Generated Node #0,4,3: 50:[39, 96] Operation: 63+33=96
Exploring Operation: 63-39=24, Resulting Numbers: [33, 24]
Generated Node #0,4,4: 50:[33, 24] Operation: 63-39=24
Moving to Node #0,0
Current State: 50:[79, 33, 23], Operations: ['63-40=23']
Exploring Operation: 79-23=56, Resulting Numbers: [33, 56]
Generated Node #0,0,0: 50:[33, 56] Operation: 79-23=56
Exploring Operation: 33-23=10, Resulting Numbers: [79, 10]
Generated Node #0,0,1: 50:[79, 10] Operation: 33-23=10
Exploring Operation: 79+23=102, Resulting Numbers: [33, 102]
Generated Node #0,0,2: 50:[33, 102] Operation: 79+23=102
Exploring Operation: 33+23=56, Resulting Numbers: [79, 56]
Generated Node #0,0,3: 50:[79, 56] Operation: 33+23=56
Exploring Operation: 79-33=46, Resulting Numbers: [23, 46]
Generated Node #0,0,4: 50:[23, 46] Operation: 79-33=46
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 50:[23, 46], Operations: ['63-40=23', '79-33=46']
Exploring Operation: 23+46=69, Resulting Numbers: [69]
69,50 unequal: No Solution
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 23*46=1058, Resulting Numbers: [1058]
1058,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,0
Current State: 50:[33, 56], Operations: ['63-40=23', '79-23=56']
Exploring Operation: 33+56=89, Resulting Numbers: [89]
89,50 unequal: No Solution
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Exploring Operation: 33*56=1848, Resulting Numbers: [1848]
1848,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:[79, 10], Operations: ['63-40=23', '33-23=10']
Exploring Operation: 79*10=790, Resulting Numbers: [790]
790,50 unequal: No Solution
Exploring Operation: 79+10=89, Resulting Numbers: [89]
89,50 unequal: No Solution
Exploring Operation: 79-10=69, Resulting Numbers: [69]
69,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,3
Current State: 50:[79, 56], Operations: ['63-40=23', '33+23=56']
Exploring Operation: 79*56=4424, Resulting Numbers: [4424]
4424,50 unequal: No Solution
Exploring Operation: 79+56=135, Resulting Numbers: [135]
135,50 unequal: No Solution
Exploring Operation: 79-56=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,0,2
Current State: 50:[33, 102], Operations: ['63-40=23', '79+23=102']
Exploring Operation: 33*102=3366, Resulting Numbers: [3366]
3366,50 unequal: No Solution
Exploring Operation: 102-33=69, Resulting Numbers: [69]
69,50 unequal: No Solution
Exploring Operation: 33+102=135, Resulting Numbers: [135]
135,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:[79, 40, 30], Operations: ['63-33=30']
Exploring Operation: 79-40=39, Resulting Numbers: [30, 39]
Generated Node #0,1,0: 50:[30, 39] Operation: 79-40=39
Exploring Operation: 40+30=70, Resulting Numbers: [79, 70]
Generated Node #0,1,1: 50:[79, 70] Operation: 40+30=70
Exploring Operation: 40-30=10, Resulting Numbers: [79, 10]
Generated Node #0,1,2: 50:[79, 10] Operation: 40-30=10
Exploring Operation: 79-30=49, Resulting Numbers: [40, 49]
Generated Node #0,1,3: 50:[40, 49] Operation: 79-30=49
Exploring Operation: 79+30=109, Resulting Numbers: [40, 109]
Generated Node #0,1,4: 50:[40, 109] Operation: 79+30=109
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 50:[40, 49], Operations: ['63-33=30', '79-30=49']
Exploring Operation: 40*49=1960, Resulting Numbers: [1960]
1960,50 unequal: No Solution
Exploring Operation: 40+49=89, Resulting Numbers: [89]
89,50 unequal: No Solution
Exploring Operation: 49-40=9, Resulting Numbers: [9]
9,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:[30, 39], Operations: ['63-33=30', '79-40=39']
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Exploring Operation: 30*39=1170, Resulting Numbers: [1170]
1170,50 unequal: No Solution
Exploring Operation: 30+39=69, Resulting Numbers: [69]
69,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:[79, 10], Operations: ['63-33=30', '40-30=10']
Exploring Operation: 79+10=89, Resulting Numbers: [89]
89,50 unequal: No Solution
Exploring Operation: 79-10=69, Resulting Numbers: [69]
69,50 unequal: No Solution
Exploring Operation: 79*10=790, Resulting Numbers: [790]
790,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,1
Current State: 50:[79, 70], Operations: ['63-33=30', '40+30=70']
Exploring Operation: 79*70=5530, Resulting Numbers: [5530]
5530,50 unequal: No Solution
Exploring Operation: 79+70=149, Resulting Numbers: [149]
149,50 unequal: No Solution
Exploring Operation: 79-70=9, Resulting Numbers: [9]
9,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,4
Current State: 50:[40, 109], Operations: ['63-33=30', '79+30=109']
Exploring Operation: 40+109=149, Resulting Numbers: [149]
149,50 unequal: No Solution
Exploring Operation: 40*109=4360, Resulting Numbers: [4360]
4360,50 unequal: No Solution
Exploring Operation: 109-40=69, Resulting Numbers: [69]
69,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 50:[46, 23], Operations: ['79-33=46', '63-40=23']
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Exploring Operation: 46+23=69, Resulting Numbers: [69]
69,50 unequal: No Solution
Exploring Operation: 46*23=1058, Resulting Numbers: [1058]
1058,50 unequal: No Solution
Moving to Node #0,3,1
Current State: 50:[16, 7], Operations: ['79-63=16', '40-33=7']
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,50 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Moving to Node #0,3,4
Current State: 50:[33, 24], Operations: ['79-63=16', '40-16=24']
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Exploring Operation: 33+24=57, Resulting Numbers: [57]
57,50 unequal: No Solution
Exploring Operation: 33*24=792, Resulting Numbers: [792]
792,50 unequal: No Solution
Moving to Node #0,4,4
Current State: 50:[33, 24], Operations: ['79-40=39', '63-39=24']
Exploring Operation: 33+24=57, Resulting Numbers: [57]
57,50 unequal: No Solution
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Exploring Operation: 33*24=792, Resulting Numbers: [792]
792,50 unequal: No Solution
Moving to Node #0,3,2
Current State: 50:[40, 49], Operations: ['79-63=16', '33+16=49']
Exploring Operation: 40+49=89, Resulting Numbers: [89]
89,50 unequal: No Solution
Exploring Operation: 40*49=1960, Resulting Numbers: [1960]
1960,50 unequal: No Solution
Exploring Operation: 49-40=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Moving to Node #0,2,3
Current State: 50:[63, 6], Operations: ['79-33=46', '46-40=6']
Exploring Operation: 63+6=69, Resulting Numbers: [69]
69,50 unequal: No Solution
Exploring Operation: 63*6=378, Resulting Numbers: [378]
378,50 unequal: No Solution
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,50 unequal: No Solution
Moving to Node #0,4,1
Current State: 50:[63, 6], Operations: ['79-40=39', '39-33=6']
Exploring Operation: 63+6=69, Resulting Numbers: [69]
69,50 unequal: No Solution
Exploring Operation: 63*6=378, Resulting Numbers: [378]
378,50 unequal: No Solution
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,50 unequal: No Solution
Moving to Node #0,3,3
Current State: 50:[33, 56], Operations: ['79-63=16', '40+16=56']
Exploring Operation: 33+56=89, Resulting Numbers: [89]
89,50 unequal: No Solution
Exploring Operation: 33*56=1848, Resulting Numbers: [1848]
1848,50 unequal: No Solution
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Moving to Node #0,4,2
Current State: 50:[39, 30], Operations: ['79-40=39', '63-33=30']
Exploring Operation: 39+30=69, Resulting Numbers: [69]
69,50 unequal: No Solution
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Exploring Operation: 39*30=1170, Resulting Numbers: [1170]
1170,50 unequal: No Solution
Moving to Node #0,3,0
Current State: 50:[40, 17], Operations: ['79-63=16', '33-16=17']
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Exploring Operation: 40*17=680, Resulting Numbers: [680]
680,50 unequal: No Solution
Exploring Operation: 40+17=57, Resulting Numbers: [57]
57,50 unequal: No Solution
Moving to Node #0,2,0
Current State: 50:[40, 17], Operations: ['79-33=46', '63-46=17']
Exploring Operation: 40*17=680, Resulting Numbers: [680]
680,50 unequal: No Solution
Exploring Operation: 40+17=57, Resulting Numbers: [57]
57,50 unequal: No Solution
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Moving to Node #0,4,0
Current State: 50:[63, 72], Operations: ['79-40=39', '33+39=72']
Exploring Operation: 63+72=135, Resulting Numbers: [135]
135,50 unequal: No Solution
Exploring Operation: 63*72=4536, Resulting Numbers: [4536]
4536,50 unequal: No Solution
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Moving to Node #0,2,4
Current State: 50:[63, 86], Operations: ['79-33=46', '40+46=86']
Exploring Operation: 86-63=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Exploring Operation: 63*86=5418, Resulting Numbers: [5418]
5418,50 unequal: No Solution
Exploring Operation: 63+86=149, Resulting Numbers: [149]
149,50 unequal: No Solution
Moving to Node #0,4,3
Current State: 50:[39, 96], Operations: ['79-40=39', '63+33=96']
Exploring Operation: 39*96=3744, Resulting Numbers: [3744]
3744,50 unequal: No Solution
Exploring Operation: 39+96=135, Resulting Numbers: [135]
135,50 unequal: No Solution
Exploring Operation: 96-39=57, Resulting Numbers: [57]
57,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[46, 103], Operations: ['79-33=46', '63+40=103']
Exploring Operation: 46*103=4738, Resulting Numbers: [4738]
4738,50 unequal: No Solution
Exploring Operation: 46+103=149, Resulting Numbers: [149]
149,50 unequal: No Solution
Exploring Operation: 103-46=57, Resulting Numbers: [57]
57,50 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
54,
18,
27,
99
] | 12 | [
"18*99=1782",
"1782/27=66",
"66-54=12"
] | Current State: 12:[54, 18, 27, 99], Operations: []
Exploring Operation: 18*99=1782, Resulting Numbers: [54, 27, 1782]
Generated Node #2: [54, 27, 1782] from Operation: 18*99=1782
Current State: 12:[54, 27, 1782], Operations: ['18*99=1782']
Exploring Operation: 1782/27=66, Resulting Numbers: [54, 66]
Generated Node #3: [54, 66] from Operation: 1782/27=66
Current State: 12:[54, 66], Operations: ['18*99=1782', '1782/27=66']
Exploring Operation: 66-54=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[54, 18, 27, 99], Operations: []
Exploring Operation: 99-54=45, Resulting Numbers: [18, 27, 45]
Generated Node #0,0: 12:[18, 27, 45] Operation: 99-54=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[18, 27, 45], Operations: ['99-54=45']
Exploring Operation: 45-27=18, Resulting Numbers: [18, 18]
Generated Node #0,0,0: 12:[18, 18] Operation: 45-27=18
Moving to Node #0,0,0
Current State: 12:[18, 18], Operations: ['99-54=45', '45-27=18']
Exploring Operation: 18/18=1, Resulting Numbers: [1]
1,12 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 |
[
21,
30,
3,
95
] | 15 | [
"3*95=285",
"30+285=315",
"315/21=15"
] | Current State: 15:[21, 30, 3, 95], Operations: []
Exploring Operation: 3*95=285, Resulting Numbers: [21, 30, 285]
Generated Node #2: [21, 30, 285] from Operation: 3*95=285
Current State: 15:[21, 30, 285], Operations: ['3*95=285']
Exploring Operation: 30+285=315, Resulting Numbers: [21, 315]
Generated Node #3: [21, 315] from Operation: 30+285=315
Current State: 15:[21, 315], Operations: ['3*95=285', '30+285=315']
Exploring Operation: 315/21=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[21, 30, 3, 95], Operations: []
Exploring Operation: 30-21=9, Resulting Numbers: [3, 95, 9]
Generated Node #0,0: 15:[3, 95, 9] Operation: 30-21=9
Exploring Operation: 95-30=65, Resulting Numbers: [21, 3, 65]
Generated Node #0,1: 15:[21, 3, 65] Operation: 95-30=65
Exploring Operation: 95-21=74, Resulting Numbers: [30, 3, 74]
Generated Node #0,2: 15:[30, 3, 74] Operation: 95-21=74
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[21, 3, 65], Operations: ['95-30=65']
Exploring Operation: 21/3=7, Resulting Numbers: [65, 7]
Generated Node #0,1,0: 15:[65, 7] Operation: 21/3=7
Exploring Operation: 65-21=44, Resulting Numbers: [3, 44]
Generated Node #0,1,1: 15:[3, 44] Operation: 65-21=44
Exploring Operation: 21-3=18, Resulting Numbers: [65, 18]
Generated Node #0,1,2: 15:[65, 18] Operation: 21-3=18
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 15:[3, 44], Operations: ['95-30=65', '65-21=44']
Exploring Operation: 3*44=132, Resulting Numbers: [132]
132,15 unequal: No Solution
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,15 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 15:[65, 7], Operations: ['95-30=65', '21/3=7']
Exploring Operation: 65*7=455, Resulting Numbers: [455]
455,15 unequal: No Solution
Exploring Operation: 65-7=58, Resulting Numbers: [58]
58,15 unequal: No Solution
Exploring Operation: 65+7=72, Resulting Numbers: [72]
72,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 15:[65, 18], Operations: ['95-30=65', '21-3=18']
Exploring Operation: 65-18=47, Resulting Numbers: [47]
47,15 unequal: No Solution
Exploring Operation: 65+18=83, Resulting Numbers: [83]
83,15 unequal: No Solution
Exploring Operation: 65*18=1170, Resulting Numbers: [1170]
1170,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 15:[30, 3, 74], Operations: ['95-21=74']
Exploring Operation: 74-30=44, Resulting Numbers: [3, 44]
Generated Node #0,2,0: 15:[3, 44] Operation: 74-30=44
Exploring Operation: 30-3=27, Resulting Numbers: [74, 27]
Generated Node #0,2,1: 15:[74, 27] Operation: 30-3=27
Exploring Operation: 30/3=10, Resulting Numbers: [74, 10]
Generated Node #0,2,2: 15:[74, 10] Operation: 30/3=10
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 15:[3, 44], Operations: ['95-21=74', '74-30=44']
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,15 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,15 unequal: No Solution
Exploring Operation: 3*44=132, Resulting Numbers: [132]
132,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 15:[74, 10], Operations: ['95-21=74', '30/3=10']
Exploring Operation: 74*10=740, Resulting Numbers: [740]
740,15 unequal: No Solution
Exploring Operation: 74-10=64, Resulting Numbers: [64]
64,15 unequal: No Solution
Exploring Operation: 74+10=84, Resulting Numbers: [84]
84,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 15:[74, 27], Operations: ['95-21=74', '30-3=27']
Exploring Operation: 74-27=47, Resulting Numbers: [47]
47,15 unequal: No Solution
Exploring Operation: 74*27=1998, Resulting Numbers: [1998]
1998,15 unequal: No Solution
Exploring Operation: 74+27=101, Resulting Numbers: [101]
101,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[3, 95, 9], Operations: ['30-21=9']
Exploring Operation: 95-3=92, Resulting Numbers: [9, 92]
Generated Node #0,0,0: 15:[9, 92] Operation: 95-3=92
Exploring Operation: 9/3=3, Resulting Numbers: [95, 3]
Generated Node #0,0,1: 15:[95, 3] Operation: 9/3=3
Exploring Operation: 95-9=86, Resulting Numbers: [3, 86]
Generated Node #0,0,2: 15:[3, 86] Operation: 95-9=86
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 15:[3, 86], Operations: ['30-21=9', '95-9=86']
Exploring Operation: 3*86=258, Resulting Numbers: [258]
258,15 unequal: No Solution
Exploring Operation: 3+86=89, Resulting Numbers: [89]
89,15 unequal: No Solution
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 15:[95, 3], Operations: ['30-21=9', '9/3=3']
Exploring Operation: 95*3=285, Resulting Numbers: [285]
285,15 unequal: No Solution
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,15 unequal: No Solution
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 15:[9, 92], Operations: ['30-21=9', '95-3=92']
Exploring Operation: 92-9=83, Resulting Numbers: [83]
83,15 unequal: No Solution
Exploring Operation: 9*92=828, Resulting Numbers: [828]
828,15 unequal: No Solution
Exploring Operation: 9+92=101, Resulting Numbers: [101]
101,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
27,
26,
75,
48
] | 80 | [
"27+26=53",
"75-48=27",
"53+27=80"
] | Current State: 80:[27, 26, 75, 48], Operations: []
Exploring Operation: 27+26=53, Resulting Numbers: [75, 48, 53]
Generated Node #2: [75, 48, 53] from Operation: 27+26=53
Current State: 80:[75, 48, 53], Operations: ['27+26=53']
Exploring Operation: 75-48=27, Resulting Numbers: [53, 27]
Generated Node #3: [53, 27] from Operation: 75-48=27
Current State: 80:[53, 27], Operations: ['27+26=53', '75-48=27']
Exploring Operation: 53+27=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[27, 26, 75, 48], Operations: []
Exploring Operation: 27-26=1, Resulting Numbers: [75, 48, 1]
Generated Node #0,0: 80:[75, 48, 1] Operation: 27-26=1
Exploring Operation: 27+48=75, Resulting Numbers: [26, 75, 75]
Generated Node #0,1: 80:[26, 75, 75] Operation: 27+48=75
Exploring Operation: 48-26=22, Resulting Numbers: [27, 75, 22]
Generated Node #0,2: 80:[27, 75, 22] Operation: 48-26=22
Exploring Operation: 48-27=21, Resulting Numbers: [26, 75, 21]
Generated Node #0,3: 80:[26, 75, 21] Operation: 48-27=21
Start Sub Search at level 1: Moving to Node #0,3
Current State: 80:[26, 75, 21], Operations: ['48-27=21']
Exploring Operation: 75-26=49, Resulting Numbers: [21, 49]
Generated Node #0,3,0: 80:[21, 49] Operation: 75-26=49
Exploring Operation: 26+21=47, Resulting Numbers: [75, 47]
Generated Node #0,3,1: 80:[75, 47] Operation: 26+21=47
Exploring Operation: 26-21=5, Resulting Numbers: [75, 5]
Generated Node #0,3,2: 80:[75, 5] Operation: 26-21=5
Exploring Operation: 75-21=54, Resulting Numbers: [26, 54]
Generated Node #0,3,3: 80:[26, 54] Operation: 75-21=54
Moving to Node #0,3,2
Current State: 80:[75, 5], Operations: ['48-27=21', '26-21=5']
Exploring Operation: 75*5=375, Resulting Numbers: [375]
375,80 unequal: No Solution
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,80 unequal: No Solution
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 75+5=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[27, 26, 75, 48], Operations: []
Exploring Operation: 48-27=21, Resulting Numbers: [26, 75, 21]
Generated Node #0,3: 80:[26, 75, 21] Operation: 48-27=21
Moving to Node #0,3
Current State: 80:[26, 75, 21], Operations: ['48-27=21']
Exploring Operation: 26-21=5, Resulting Numbers: [75, 5]
Generated Node #0,3,2: 80:[75, 5] Operation: 26-21=5
Moving to Node #0,3,2
Current State: 80:[75, 5], Operations: ['48-27=21', '26-21=5']
Exploring Operation: 75+5=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
84,
2,
78,
21
] | 57 | [
"84/2=42",
"78+21=99",
"99-42=57"
] | Current State: 57:[84, 2, 78, 21], Operations: []
Exploring Operation: 84/2=42, Resulting Numbers: [78, 21, 42]
Generated Node #2: [78, 21, 42] from Operation: 84/2=42
Current State: 57:[78, 21, 42], Operations: ['84/2=42']
Exploring Operation: 78+21=99, Resulting Numbers: [42, 99]
Generated Node #3: [42, 99] from Operation: 78+21=99
Current State: 57:[42, 99], Operations: ['84/2=42', '78+21=99']
Exploring Operation: 99-42=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[84, 2, 78, 21], Operations: []
Exploring Operation: 84-78=6, Resulting Numbers: [2, 21, 6]
Generated Node #0,0: 57:[2, 21, 6] Operation: 84-78=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[2, 21, 6], Operations: ['84-78=6']
Exploring Operation: 6/2=3, Resulting Numbers: [21, 3]
Generated Node #0,0,0: 57:[21, 3] Operation: 6/2=3
Moving to Node #0,0,0
Current State: 57:[21, 3], Operations: ['84-78=6', '6/2=3']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,57 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 |
[
44,
11,
84,
56
] | 70 | [
"44/11=4",
"56/4=14",
"84-14=70"
] | Current State: 70:[44, 11, 84, 56], Operations: []
Exploring Operation: 44/11=4, Resulting Numbers: [84, 56, 4]
Generated Node #2: [84, 56, 4] from Operation: 44/11=4
Current State: 70:[84, 56, 4], Operations: ['44/11=4']
Exploring Operation: 56/4=14, Resulting Numbers: [84, 14]
Generated Node #3: [84, 14] from Operation: 56/4=14
Current State: 70:[84, 14], Operations: ['44/11=4', '56/4=14']
Exploring Operation: 84-14=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[44, 11, 84, 56], Operations: []
Exploring Operation: 84-56=28, Resulting Numbers: [44, 11, 28]
Generated Node #0,0: 70:[44, 11, 28] Operation: 84-56=28
Exploring Operation: 56-44=12, Resulting Numbers: [11, 84, 12]
Generated Node #0,1: 70:[11, 84, 12] Operation: 56-44=12
Moving to Node #0,0
Current State: 70:[44, 11, 28], Operations: ['84-56=28']
Exploring Operation: 44+28=72, Resulting Numbers: [11, 72]
Generated Node #0,0,0: 70:[11, 72] Operation: 44+28=72
Exploring Operation: 44-28=16, Resulting Numbers: [11, 16]
Generated Node #0,0,1: 70:[11, 16] Operation: 44-28=16
Moving to Node #0,1
Current State: 70:[11, 84, 12], Operations: ['56-44=12']
Exploring Operation: 84/12=7, Resulting Numbers: [11, 7]
Generated Node #0,1,0: 70:[11, 7] Operation: 84/12=7
Exploring Operation: 84-12=72, Resulting Numbers: [11, 72]
Generated Node #0,1,1: 70:[11, 72] Operation: 84-12=72
Moving to Node #0,1,0
Current State: 70:[11, 7], Operations: ['56-44=12', '84/12=7']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[11, 72], Operations: ['84-56=28', '44+28=72']
Exploring Operation: 11+72=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[11, 16], Operations: ['84-56=28', '44-28=16']
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[11, 72], Operations: ['56-44=12', '84-12=72']
Exploring Operation: 11+72=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,70 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
50,
89,
83,
79
] | 78 | [
"89-79=10",
"50/10=5",
"83-5=78"
] | Current State: 78:[50, 89, 83, 79], Operations: []
Exploring Operation: 89-79=10, Resulting Numbers: [50, 83, 10]
Generated Node #2: [50, 83, 10] from Operation: 89-79=10
Current State: 78:[50, 83, 10], Operations: ['89-79=10']
Exploring Operation: 50/10=5, Resulting Numbers: [83, 5]
Generated Node #3: [83, 5] from Operation: 50/10=5
Current State: 78:[83, 5], Operations: ['89-79=10', '50/10=5']
Exploring Operation: 83-5=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[50, 89, 83, 79], Operations: []
Exploring Operation: 89-83=6, Resulting Numbers: [50, 79, 6]
Generated Node #0,0: 78:[50, 79, 6] Operation: 89-83=6
Exploring Operation: 89-50=39, Resulting Numbers: [83, 79, 39]
Generated Node #0,1: 78:[83, 79, 39] Operation: 89-50=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[83, 79, 39], Operations: ['89-50=39']
Exploring Operation: 83-39=44, Resulting Numbers: [79, 44]
Generated Node #0,1,0: 78:[79, 44] Operation: 83-39=44
Exploring Operation: 83-79=4, Resulting Numbers: [39, 4]
Generated Node #0,1,1: 78:[39, 4] Operation: 83-79=4
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 78:[39, 4], Operations: ['89-50=39', '83-79=4']
Exploring Operation: 39+4=43, Resulting Numbers: [43]
43,78 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 78:[79, 44], Operations: ['89-50=39', '83-39=44']
Exploring Operation: 79+44=123, Resulting Numbers: [123]
123,78 unequal: No Solution
Exploring Operation: 79-44=35, Resulting Numbers: [35]
35,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[50, 79, 6], Operations: ['89-83=6']
Exploring Operation: 50-6=44, Resulting Numbers: [79, 44]
Generated Node #0,0,0: 78:[79, 44] Operation: 50-6=44
Exploring Operation: 79-50=29, Resulting Numbers: [6, 29]
Generated Node #0,0,1: 78:[6, 29] Operation: 79-50=29
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 78:[6, 29], Operations: ['89-83=6', '79-50=29']
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[79, 44], Operations: ['89-83=6', '50-6=44']
Exploring Operation: 79-44=35, Resulting Numbers: [35]
35,78 unequal: No Solution
Exploring Operation: 79+44=123, Resulting Numbers: [123]
123,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
14,
50,
29,
42
] | 63 | [
"42/14=3",
"50-29=21",
"3*21=63"
] | Current State: 63:[14, 50, 29, 42], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [50, 29, 3]
Generated Node #2: [50, 29, 3] from Operation: 42/14=3
Current State: 63:[50, 29, 3], Operations: ['42/14=3']
Exploring Operation: 50-29=21, Resulting Numbers: [3, 21]
Generated Node #3: [3, 21] from Operation: 50-29=21
Current State: 63:[3, 21], Operations: ['42/14=3', '50-29=21']
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[14, 50, 29, 42], Operations: []
Exploring Operation: 50-42=8, Resulting Numbers: [14, 29, 8]
Generated Node #0,0: 63:[14, 29, 8] Operation: 50-42=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[14, 29, 8], Operations: ['50-42=8']
Exploring Operation: 29-8=21, Resulting Numbers: [14, 21]
Generated Node #0,0,0: 63:[14, 21] Operation: 29-8=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[14, 21], Operations: ['50-42=8', '29-8=21']
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
79,
46,
56,
49
] | 51 | [
"79-56=23",
"46/23=2",
"49+2=51"
] | Current State: 51:[79, 46, 56, 49], Operations: []
Exploring Operation: 79-56=23, Resulting Numbers: [46, 49, 23]
Generated Node #2: [46, 49, 23] from Operation: 79-56=23
Current State: 51:[46, 49, 23], Operations: ['79-56=23']
Exploring Operation: 46/23=2, Resulting Numbers: [49, 2]
Generated Node #3: [49, 2] from Operation: 46/23=2
Current State: 51:[49, 2], Operations: ['79-56=23', '46/23=2']
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[79, 46, 56, 49], Operations: []
Exploring Operation: 79-46=33, Resulting Numbers: [56, 49, 33]
Generated Node #0,0: 51:[56, 49, 33] Operation: 79-46=33
Exploring Operation: 79-56=23, Resulting Numbers: [46, 49, 23]
Generated Node #0,1: 51:[46, 49, 23] Operation: 79-56=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[46, 49, 23], Operations: ['79-56=23']
Exploring Operation: 49-46=3, Resulting Numbers: [23, 3]
Generated Node #0,1,0: 51:[23, 3] Operation: 49-46=3
Exploring Operation: 46/23=2, Resulting Numbers: [49, 2]
Generated Node #0,1,1: 51:[49, 2] Operation: 46/23=2
Moving to Node #0,1,1
Current State: 51:[49, 2], Operations: ['79-56=23', '46/23=2']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,51 unequal: No Solution
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[79, 46, 56, 49], Operations: []
Exploring Operation: 79-56=23, Resulting Numbers: [46, 49, 23]
Generated Node #0,1: 51:[46, 49, 23] Operation: 79-56=23
Moving to Node #0,1
Current State: 51:[46, 49, 23], Operations: ['79-56=23']
Exploring Operation: 46/23=2, Resulting Numbers: [49, 2]
Generated Node #0,1,1: 51:[49, 2] Operation: 46/23=2
Moving to Node #0,1,1
Current State: 51:[49, 2], Operations: ['79-56=23', '46/23=2']
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
27,
81,
36,
5
] | 21 | [
"81/27=3",
"5*3=15",
"36-15=21"
] | Current State: 21:[27, 81, 36, 5], Operations: []
Exploring Operation: 81/27=3, Resulting Numbers: [36, 5, 3]
Generated Node #2: [36, 5, 3] from Operation: 81/27=3
Current State: 21:[36, 5, 3], Operations: ['81/27=3']
Exploring Operation: 5*3=15, Resulting Numbers: [36, 15]
Generated Node #3: [36, 15] from Operation: 5*3=15
Current State: 21:[36, 15], Operations: ['81/27=3', '5*3=15']
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[27, 81, 36, 5], Operations: []
Exploring Operation: 81/27=3, Resulting Numbers: [36, 5, 3]
Generated Node #0,0: 21:[36, 5, 3] Operation: 81/27=3
Moving to Node #0,0
Current State: 21:[36, 5, 3], Operations: ['81/27=3']
Exploring Operation: 36/3=12, Resulting Numbers: [5, 12]
Generated Node #0,0,0: 21:[5, 12] Operation: 36/3=12
Moving to Node #0,0,0
Current State: 21:[5, 12], Operations: ['81/27=3', '36/3=12']
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,21 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
45,
25,
7,
94
] | 46 | [
"45-25=20",
"7*20=140",
"140-94=46"
] | Current State: 46:[45, 25, 7, 94], Operations: []
Exploring Operation: 45-25=20, Resulting Numbers: [7, 94, 20]
Generated Node #2: [7, 94, 20] from Operation: 45-25=20
Current State: 46:[7, 94, 20], Operations: ['45-25=20']
Exploring Operation: 7*20=140, Resulting Numbers: [94, 140]
Generated Node #3: [94, 140] from Operation: 7*20=140
Current State: 46:[94, 140], Operations: ['45-25=20', '7*20=140']
Exploring Operation: 140-94=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[45, 25, 7, 94], Operations: []
Exploring Operation: 94-7=87, Resulting Numbers: [45, 25, 87]
Generated Node #0,0: 46:[45, 25, 87] Operation: 94-7=87
Exploring Operation: 25-7=18, Resulting Numbers: [45, 94, 18]
Generated Node #0,1: 46:[45, 94, 18] Operation: 25-7=18
Exploring Operation: 94-25=69, Resulting Numbers: [45, 7, 69]
Generated Node #0,2: 46:[45, 7, 69] Operation: 94-25=69
Exploring Operation: 94-45=49, Resulting Numbers: [25, 7, 49]
Generated Node #0,3: 46:[25, 7, 49] Operation: 94-45=49
Moving to Node #0,3
Current State: 46:[25, 7, 49], Operations: ['94-45=49']
Exploring Operation: 49-25=24, Resulting Numbers: [7, 24]
Generated Node #0,3,0: 46:[7, 24] Operation: 49-25=24
Exploring Operation: 49-7=42, Resulting Numbers: [25, 42]
Generated Node #0,3,1: 46:[25, 42] Operation: 49-7=42
Exploring Operation: 25-7=18, Resulting Numbers: [49, 18]
Generated Node #0,3,2: 46:[49, 18] Operation: 25-7=18
Exploring Operation: 49/7=7, Resulting Numbers: [25, 7]
Generated Node #0,3,3: 46:[25, 7] Operation: 49/7=7
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 46:[7, 24], Operations: ['94-45=49', '49-25=24']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 46:[25, 42], Operations: ['94-45=49', '49-7=42']
Exploring Operation: 25*42=1050, Resulting Numbers: [1050]
1050,46 unequal: No Solution
Exploring Operation: 25+42=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 46:[25, 7], Operations: ['94-45=49', '49/7=7']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 25+7=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 25*7=175, Resulting Numbers: [175]
175,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 46:[49, 18], Operations: ['94-45=49', '25-7=18']
Exploring Operation: 49+18=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 49*18=882, Resulting Numbers: [882]
882,46 unequal: No Solution
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,46 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: 46:[45, 7, 69], Operations: ['94-25=69']
Exploring Operation: 45+7=52, Resulting Numbers: [69, 52]
Generated Node #0,2,0: 46:[69, 52] Operation: 45+7=52
Exploring Operation: 69-7=62, Resulting Numbers: [45, 62]
Generated Node #0,2,1: 46:[45, 62] Operation: 69-7=62
Exploring Operation: 45-7=38, Resulting Numbers: [69, 38]
Generated Node #0,2,2: 46:[69, 38] Operation: 45-7=38
Exploring Operation: 69-45=24, Resulting Numbers: [7, 24]
Generated Node #0,2,3: 46:[7, 24] Operation: 69-45=24
Moving to Node #0,0
Current State: 46:[45, 25, 87], Operations: ['94-7=87']
Exploring Operation: 87-45=42, Resulting Numbers: [25, 42]
Generated Node #0,0,0: 46:[25, 42] Operation: 87-45=42
Exploring Operation: 87-25=62, Resulting Numbers: [45, 62]
Generated Node #0,0,1: 46:[45, 62] Operation: 87-25=62
Exploring Operation: 45-25=20, Resulting Numbers: [87, 20]
Generated Node #0,0,2: 46:[87, 20] Operation: 45-25=20
Exploring Operation: 45+25=70, Resulting Numbers: [87, 70]
Generated Node #0,0,3: 46:[87, 70] Operation: 45+25=70
Moving to Node #0,1
Current State: 46:[45, 94, 18], Operations: ['25-7=18']
Exploring Operation: 94-18=76, Resulting Numbers: [45, 76]
Generated Node #0,1,0: 46:[45, 76] Operation: 94-18=76
Exploring Operation: 45-18=27, Resulting Numbers: [94, 27]
Generated Node #0,1,1: 46:[94, 27] Operation: 45-18=27
Exploring Operation: 94-45=49, Resulting Numbers: [18, 49]
Generated Node #0,1,2: 46:[18, 49] Operation: 94-45=49
Exploring Operation: 45+18=63, Resulting Numbers: [94, 63]
Generated Node #0,1,3: 46:[94, 63] Operation: 45+18=63
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 46:[18, 49], Operations: ['25-7=18', '94-45=49']
Exploring Operation: 18+49=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 18*49=882, Resulting Numbers: [882]
882,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[45, 76], Operations: ['25-7=18', '94-18=76']
Exploring Operation: 76-45=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 45+76=121, Resulting Numbers: [121]
121,46 unequal: No Solution
Exploring Operation: 45*76=3420, Resulting Numbers: [3420]
3420,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[94, 27], Operations: ['25-7=18', '45-18=27']
Exploring Operation: 94*27=2538, Resulting Numbers: [2538]
2538,46 unequal: No Solution
Exploring Operation: 94-27=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 94+27=121, Resulting Numbers: [121]
121,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 46:[94, 63], Operations: ['25-7=18', '45+18=63']
Exploring Operation: 94-63=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 94+63=157, Resulting Numbers: [157]
157,46 unequal: No Solution
Exploring Operation: 94*63=5922, Resulting Numbers: [5922]
5922,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 46:[7, 24], Operations: ['94-25=69', '69-45=24']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,46 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[25, 42], Operations: ['94-7=87', '87-45=42']
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 25+42=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 25*42=1050, Resulting Numbers: [1050]
1050,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[45, 62], Operations: ['94-7=87', '87-25=62']
Exploring Operation: 45*62=2790, Resulting Numbers: [2790]
2790,46 unequal: No Solution
Exploring Operation: 45+62=107, Resulting Numbers: [107]
107,46 unequal: No Solution
Exploring Operation: 62-45=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[45, 62], Operations: ['94-25=69', '69-7=62']
Exploring Operation: 45*62=2790, Resulting Numbers: [2790]
2790,46 unequal: No Solution
Exploring Operation: 45+62=107, Resulting Numbers: [107]
107,46 unequal: No Solution
Exploring Operation: 62-45=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Moving to Node #0,2,0
Current State: 46:[69, 52], Operations: ['94-25=69', '45+7=52']
Exploring Operation: 69+52=121, Resulting Numbers: [121]
121,46 unequal: No Solution
Exploring Operation: 69*52=3588, Resulting Numbers: [3588]
3588,46 unequal: No Solution
Exploring Operation: 69-52=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[69, 38], Operations: ['94-25=69', '45-7=38']
Exploring Operation: 69*38=2622, Resulting Numbers: [2622]
2622,46 unequal: No Solution
Exploring Operation: 69+38=107, Resulting Numbers: [107]
107,46 unequal: No Solution
Exploring Operation: 69-38=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Moving to Node #0,0,2
Current State: 46:[87, 20], Operations: ['94-7=87', '45-25=20']
Exploring Operation: 87+20=107, Resulting Numbers: [107]
107,46 unequal: No Solution
Exploring Operation: 87*20=1740, Resulting Numbers: [1740]
1740,46 unequal: No Solution
Exploring Operation: 87-20=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Moving to Node #0,0,3
Current State: 46:[87, 70], Operations: ['94-7=87', '45+25=70']
Exploring Operation: 87*70=6090, Resulting Numbers: [6090]
6090,46 unequal: No Solution
Exploring Operation: 87+70=157, Resulting Numbers: [157]
157,46 unequal: No Solution
Exploring Operation: 87-70=17, Resulting Numbers: [17]
17,46 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
28,
22,
8,
76
] | 35 | [
"28+76=104",
"104/8=13",
"22+13=35"
] | Current State: 35:[28, 22, 8, 76], Operations: []
Exploring Operation: 28+76=104, Resulting Numbers: [22, 8, 104]
Generated Node #2: [22, 8, 104] from Operation: 28+76=104
Current State: 35:[22, 8, 104], Operations: ['28+76=104']
Exploring Operation: 104/8=13, Resulting Numbers: [22, 13]
Generated Node #3: [22, 13] from Operation: 104/8=13
Current State: 35:[22, 13], Operations: ['28+76=104', '104/8=13']
Exploring Operation: 22+13=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[28, 22, 8, 76], Operations: []
Exploring Operation: 76-28=48, Resulting Numbers: [22, 8, 48]
Generated Node #0,0: 35:[22, 8, 48] Operation: 76-28=48
Exploring Operation: 22+8=30, Resulting Numbers: [28, 76, 30]
Generated Node #0,1: 35:[28, 76, 30] Operation: 22+8=30
Exploring Operation: 76-8=68, Resulting Numbers: [28, 22, 68]
Generated Node #0,2: 35:[28, 22, 68] Operation: 76-8=68
Exploring Operation: 76-22=54, Resulting Numbers: [28, 8, 54]
Generated Node #0,3: 35:[28, 8, 54] Operation: 76-22=54
Exploring Operation: 28-22=6, Resulting Numbers: [8, 76, 6]
Generated Node #0,4: 35:[8, 76, 6] Operation: 28-22=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[22, 8, 48], Operations: ['76-28=48']
Exploring Operation: 22+8=30, Resulting Numbers: [48, 30]
Generated Node #0,0,0: 35:[48, 30] Operation: 22+8=30
Exploring Operation: 48/8=6, Resulting Numbers: [22, 6]
Generated Node #0,0,1: 35:[22, 6] Operation: 48/8=6
Exploring Operation: 48-22=26, Resulting Numbers: [8, 26]
Generated Node #0,0,2: 35:[8, 26] Operation: 48-22=26
Exploring Operation: 48-8=40, Resulting Numbers: [22, 40]
Generated Node #0,0,3: 35:[22, 40] Operation: 48-8=40
Exploring Operation: 22-8=14, Resulting Numbers: [48, 14]
Generated Node #0,0,4: 35:[48, 14] Operation: 22-8=14
Moving to Node #0,0,2
Current State: 35:[8, 26], Operations: ['76-28=48', '48-22=26']
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,35 unequal: No Solution
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[22, 6], Operations: ['76-28=48', '48/8=6']
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,35 unequal: No Solution
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[48, 30], Operations: ['76-28=48', '22+8=30']
Exploring Operation: 48*30=1440, Resulting Numbers: [1440]
1440,35 unequal: No Solution
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 48+30=78, Resulting Numbers: [78]
78,35 unequal: No Solution
Moving to Node #0,0,3
Current State: 35:[22, 40], Operations: ['76-28=48', '48-8=40']
Exploring Operation: 22*40=880, Resulting Numbers: [880]
880,35 unequal: No Solution
Exploring Operation: 22+40=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Moving to Node #0,0,4
Current State: 35:[48, 14], Operations: ['76-28=48', '22-8=14']
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 48*14=672, Resulting Numbers: [672]
672,35 unequal: No Solution
Exploring Operation: 48+14=62, Resulting Numbers: [62]
62,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 35:[28, 8, 54], Operations: ['76-22=54']
Exploring Operation: 54-8=46, Resulting Numbers: [28, 46]
Generated Node #0,3,0: 35:[28, 46] Operation: 54-8=46
Exploring Operation: 8+54=62, Resulting Numbers: [28, 62]
Generated Node #0,3,1: 35:[28, 62] Operation: 8+54=62
Exploring Operation: 54-28=26, Resulting Numbers: [8, 26]
Generated Node #0,3,2: 35:[8, 26] Operation: 54-28=26
Exploring Operation: 28-8=20, Resulting Numbers: [54, 20]
Generated Node #0,3,3: 35:[54, 20] Operation: 28-8=20
Exploring Operation: 28+8=36, Resulting Numbers: [54, 36]
Generated Node #0,3,4: 35:[54, 36] Operation: 28+8=36
Moving to Node #0,3,2
Current State: 35:[8, 26], Operations: ['76-22=54', '54-28=26']
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,35 unequal: No Solution
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Moving to Node #0,3,0
Current State: 35:[28, 46], Operations: ['76-22=54', '54-8=46']
Exploring Operation: 28*46=1288, Resulting Numbers: [1288]
1288,35 unequal: No Solution
Exploring Operation: 28+46=74, Resulting Numbers: [74]
74,35 unequal: No Solution
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Moving to Node #0,3,4
Current State: 35:[54, 36], Operations: ['76-22=54', '28+8=36']
Exploring Operation: 54*36=1944, Resulting Numbers: [1944]
1944,35 unequal: No Solution
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 54+36=90, Resulting Numbers: [90]
90,35 unequal: No Solution
Moving to Node #0,3,3
Current State: 35:[54, 20], Operations: ['76-22=54', '28-8=20']
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 54+20=74, Resulting Numbers: [74]
74,35 unequal: No Solution
Exploring Operation: 54*20=1080, Resulting Numbers: [1080]
1080,35 unequal: No Solution
Moving to Node #0,3,1
Current State: 35:[28, 62], Operations: ['76-22=54', '8+54=62']
Exploring Operation: 28+62=90, Resulting Numbers: [90]
90,35 unequal: No Solution
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 28*62=1736, Resulting Numbers: [1736]
1736,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 35:[8, 76, 6], Operations: ['28-22=6']
Exploring Operation: 76-6=70, Resulting Numbers: [8, 70]
Generated Node #0,4,0: 35:[8, 70] Operation: 76-6=70
Exploring Operation: 8-6=2, Resulting Numbers: [76, 2]
Generated Node #0,4,1: 35:[76, 2] Operation: 8-6=2
Exploring Operation: 76+6=82, Resulting Numbers: [8, 82]
Generated Node #0,4,2: 35:[8, 82] Operation: 76+6=82
Exploring Operation: 76-8=68, Resulting Numbers: [6, 68]
Generated Node #0,4,3: 35:[6, 68] Operation: 76-8=68
Exploring Operation: 8+6=14, Resulting Numbers: [76, 14]
Generated Node #0,4,4: 35:[76, 14] Operation: 8+6=14
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 35:[6, 68], Operations: ['28-22=6', '76-8=68']
Exploring Operation: 6*68=408, Resulting Numbers: [408]
408,35 unequal: No Solution
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Exploring Operation: 6+68=74, Resulting Numbers: [74]
74,35 unequal: No Solution
No 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: 35:[8, 70], Operations: ['28-22=6', '76-6=70']
Exploring Operation: 70-8=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Exploring Operation: 8+70=78, Resulting Numbers: [78]
78,35 unequal: No Solution
Exploring Operation: 8*70=560, Resulting Numbers: [560]
560,35 unequal: No Solution
No 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: 35:[76, 2], Operations: ['28-22=6', '8-6=2']
Exploring Operation: 76*2=152, Resulting Numbers: [152]
152,35 unequal: No Solution
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,35 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 35:[8, 82], Operations: ['28-22=6', '76+6=82']
Exploring Operation: 8+82=90, Resulting Numbers: [90]
90,35 unequal: No Solution
Exploring Operation: 82-8=74, Resulting Numbers: [74]
74,35 unequal: No Solution
Exploring Operation: 8*82=656, Resulting Numbers: [656]
656,35 unequal: No Solution
No 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: 35:[76, 14], Operations: ['28-22=6', '8+6=14']
Exploring Operation: 76*14=1064, Resulting Numbers: [1064]
1064,35 unequal: No Solution
Exploring Operation: 76-14=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Exploring Operation: 76+14=90, Resulting Numbers: [90]
90,35 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: 35:[28, 76, 30], Operations: ['22+8=30']
Exploring Operation: 28+30=58, Resulting Numbers: [76, 58]
Generated Node #0,1,0: 35:[76, 58] Operation: 28+30=58
Exploring Operation: 76-30=46, Resulting Numbers: [28, 46]
Generated Node #0,1,1: 35:[28, 46] Operation: 76-30=46
Exploring Operation: 28+76=104, Resulting Numbers: [30, 104]
Generated Node #0,1,2: 35:[30, 104] Operation: 28+76=104
Exploring Operation: 76-28=48, Resulting Numbers: [30, 48]
Generated Node #0,1,3: 35:[30, 48] Operation: 76-28=48
Exploring Operation: 30-28=2, Resulting Numbers: [76, 2]
Generated Node #0,1,4: 35:[76, 2] Operation: 30-28=2
Moving to Node #0,1,1
Current State: 35:[28, 46], Operations: ['22+8=30', '76-30=46']
Exploring Operation: 28+46=74, Resulting Numbers: [74]
74,35 unequal: No Solution
Exploring Operation: 28*46=1288, Resulting Numbers: [1288]
1288,35 unequal: No Solution
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Moving to Node #0,1,3
Current State: 35:[30, 48], Operations: ['22+8=30', '76-28=48']
Exploring Operation: 30+48=78, Resulting Numbers: [78]
78,35 unequal: No Solution
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 30*48=1440, Resulting Numbers: [1440]
1440,35 unequal: No Solution
Moving to Node #0,1,4
Current State: 35:[76, 2], Operations: ['22+8=30', '30-28=2']
Exploring Operation: 76*2=152, Resulting Numbers: [152]
152,35 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,35 unequal: No Solution
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[76, 58], Operations: ['22+8=30', '28+30=58']
Exploring Operation: 76*58=4408, Resulting Numbers: [4408]
4408,35 unequal: No Solution
Exploring Operation: 76+58=134, Resulting Numbers: [134]
134,35 unequal: No Solution
Exploring Operation: 76-58=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[30, 104], Operations: ['22+8=30', '28+76=104']
Exploring Operation: 30+104=134, Resulting Numbers: [134]
134,35 unequal: No Solution
Exploring Operation: 30*104=3120, Resulting Numbers: [3120]
3120,35 unequal: No Solution
Exploring Operation: 104-30=74, Resulting Numbers: [74]
74,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[28, 22, 68], Operations: ['76-8=68']
Exploring Operation: 22+68=90, Resulting Numbers: [28, 90]
Generated Node #0,2,0: 35:[28, 90] Operation: 22+68=90
Exploring Operation: 68-28=40, Resulting Numbers: [22, 40]
Generated Node #0,2,1: 35:[22, 40] Operation: 68-28=40
Exploring Operation: 68-22=46, Resulting Numbers: [28, 46]
Generated Node #0,2,2: 35:[28, 46] Operation: 68-22=46
Exploring Operation: 28+22=50, Resulting Numbers: [68, 50]
Generated Node #0,2,3: 35:[68, 50] Operation: 28+22=50
Exploring Operation: 28-22=6, Resulting Numbers: [68, 6]
Generated Node #0,2,4: 35:[68, 6] Operation: 28-22=6
Moving to Node #0,2,1
Current State: 35:[22, 40], Operations: ['76-8=68', '68-28=40']
Exploring Operation: 22*40=880, Resulting Numbers: [880]
880,35 unequal: No Solution
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 22+40=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[28, 46], Operations: ['76-8=68', '68-22=46']
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 28+46=74, Resulting Numbers: [74]
74,35 unequal: No Solution
Exploring Operation: 28*46=1288, Resulting Numbers: [1288]
1288,35 unequal: No Solution
Moving to Node #0,2,4
Current State: 35:[68, 6], Operations: ['76-8=68', '28-22=6']
Exploring Operation: 68+6=74, Resulting Numbers: [74]
74,35 unequal: No Solution
Exploring Operation: 68*6=408, Resulting Numbers: [408]
408,35 unequal: No Solution
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Moving to Node #0,2,3
Current State: 35:[68, 50], Operations: ['76-8=68', '28+22=50']
Exploring Operation: 68+50=118, Resulting Numbers: [118]
118,35 unequal: No Solution
Exploring Operation: 68*50=3400, Resulting Numbers: [3400]
3400,35 unequal: No Solution
Exploring Operation: 68-50=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Moving to Node #0,2,0
Current State: 35:[28, 90], Operations: ['76-8=68', '22+68=90']
Exploring Operation: 28+90=118, Resulting Numbers: [118]
118,35 unequal: No Solution
Exploring Operation: 28*90=2520, Resulting Numbers: [2520]
2520,35 unequal: No Solution
Exploring Operation: 90-28=62, Resulting Numbers: [62]
62,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
92,
89,
60,
3
] | 60 | [
"92-89=3",
"60+3=63",
"63-3=60"
] | Current State: 60:[92, 89, 60, 3], Operations: []
Exploring Operation: 92-89=3, Resulting Numbers: [60, 3, 3]
Generated Node #2: [60, 3, 3] from Operation: 92-89=3
Current State: 60:[60, 3, 3], Operations: ['92-89=3']
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,60 equal: Goal Reached
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[92, 89, 60, 3], Operations: []
Exploring Operation: 92-60=32, Resulting Numbers: [89, 3, 32]
Generated Node #0,0: 60:[89, 3, 32] Operation: 92-60=32
Exploring Operation: 92-3=89, Resulting Numbers: [89, 60, 89]
Generated Node #0,1: 60:[89, 60, 89] Operation: 92-3=89
Exploring Operation: 92-89=3, Resulting Numbers: [60, 3, 3]
Generated Node #0,2: 60:[60, 3, 3] Operation: 92-89=3
Exploring Operation: 89-60=29, Resulting Numbers: [92, 3, 29]
Generated Node #0,3: 60:[92, 3, 29] Operation: 89-60=29
Moving to Node #0,2
Current State: 60:[60, 3, 3], Operations: ['92-89=3']
Exploring Operation: 3*3=9, Resulting Numbers: [60, 9]
Generated Node #0,2,0: 60:[60, 9] Operation: 3*3=9
Exploring Operation: 60/3=20, Resulting Numbers: [3, 20]
Generated Node #0,2,1: 60:[3, 20] Operation: 60/3=20
Exploring Operation: 3+3=6, Resulting Numbers: [60, 6]
Generated Node #0,2,2: 60:[60, 6] Operation: 3+3=6
Exploring Operation: 60/3=20, Resulting Numbers: [3, 20]
Generated Node #0,2,3: 60:[3, 20] Operation: 60/3=20
Moving to Node #0,0
Current State: 60:[89, 3, 32], Operations: ['92-60=32']
Exploring Operation: 89-3=86, Resulting Numbers: [32, 86]
Generated Node #0,0,0: 60:[32, 86] Operation: 89-3=86
Exploring Operation: 32-3=29, Resulting Numbers: [89, 29]
Generated Node #0,0,1: 60:[89, 29] Operation: 32-3=29
Exploring Operation: 89-32=57, Resulting Numbers: [3, 57]
Generated Node #0,0,2: 60:[3, 57] Operation: 89-32=57
Exploring Operation: 89+3=92, Resulting Numbers: [32, 92]
Generated Node #0,0,3: 60:[32, 92] Operation: 89+3=92
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 60:[3, 57], Operations: ['92-60=32', '89-32=57']
Exploring Operation: 3*57=171, Resulting Numbers: [171]
171,60 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Exploring Operation: 3+57=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[92, 89, 60, 3], Operations: []
Exploring Operation: 92-60=32, Resulting Numbers: [89, 3, 32]
Generated Node #0,0: 60:[89, 3, 32] Operation: 92-60=32
Moving to Node #0,0
Current State: 60:[89, 3, 32], Operations: ['92-60=32']
Exploring Operation: 89-32=57, Resulting Numbers: [3, 57]
Generated Node #0,0,2: 60:[3, 57] Operation: 89-32=57
Moving to Node #0,0,2
Current State: 60:[3, 57], Operations: ['92-60=32', '89-32=57']
Exploring Operation: 3+57=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
95,
53,
45,
28
] | 75 | [
"95+53=148",
"45+28=73",
"148-73=75"
] | Current State: 75:[95, 53, 45, 28], Operations: []
Exploring Operation: 95+53=148, Resulting Numbers: [45, 28, 148]
Generated Node #2: [45, 28, 148] from Operation: 95+53=148
Current State: 75:[45, 28, 148], Operations: ['95+53=148']
Exploring Operation: 45+28=73, Resulting Numbers: [148, 73]
Generated Node #3: [148, 73] from Operation: 45+28=73
Current State: 75:[148, 73], Operations: ['95+53=148', '45+28=73']
Exploring Operation: 148-73=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[95, 53, 45, 28], Operations: []
Exploring Operation: 45-28=17, Resulting Numbers: [95, 53, 17]
Generated Node #0,0: 75:[95, 53, 17] Operation: 45-28=17
Exploring Operation: 95-53=42, Resulting Numbers: [45, 28, 42]
Generated Node #0,1: 75:[45, 28, 42] Operation: 95-53=42
Exploring Operation: 45+28=73, Resulting Numbers: [95, 53, 73]
Generated Node #0,2: 75:[95, 53, 73] Operation: 45+28=73
Exploring Operation: 53-28=25, Resulting Numbers: [95, 45, 25]
Generated Node #0,3: 75:[95, 45, 25] Operation: 53-28=25
Exploring Operation: 53-45=8, Resulting Numbers: [95, 28, 8]
Generated Node #0,4: 75:[95, 28, 8] Operation: 53-45=8
Start Sub Search at level 1: Moving to Node #0,4
Current State: 75:[95, 28, 8], Operations: ['53-45=8']
Exploring Operation: 95-8=87, Resulting Numbers: [28, 87]
Generated Node #0,4,0: 75:[28, 87] Operation: 95-8=87
Exploring Operation: 28+8=36, Resulting Numbers: [95, 36]
Generated Node #0,4,1: 75:[95, 36] Operation: 28+8=36
Exploring Operation: 28-8=20, Resulting Numbers: [95, 20]
Generated Node #0,4,2: 75:[95, 20] Operation: 28-8=20
Exploring Operation: 95+8=103, Resulting Numbers: [28, 103]
Generated Node #0,4,3: 75:[28, 103] Operation: 95+8=103
Exploring Operation: 95-28=67, Resulting Numbers: [8, 67]
Generated Node #0,4,4: 75:[8, 67] Operation: 95-28=67
Moving to Node #0,4,4
Current State: 75:[8, 67], Operations: ['53-45=8', '95-28=67']
Exploring Operation: 8*67=536, Resulting Numbers: [536]
536,75 unequal: No Solution
Exploring Operation: 8+67=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[95, 53, 45, 28], Operations: []
Exploring Operation: 53-45=8, Resulting Numbers: [95, 28, 8]
Generated Node #0,4: 75:[95, 28, 8] Operation: 53-45=8
Moving to Node #0,4
Current State: 75:[95, 28, 8], Operations: ['53-45=8']
Exploring Operation: 95-28=67, Resulting Numbers: [8, 67]
Generated Node #0,4,4: 75:[8, 67] Operation: 95-28=67
Moving to Node #0,4,4
Current State: 75:[8, 67], Operations: ['53-45=8', '95-28=67']
Exploring Operation: 8+67=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
85,
77,
45,
54
] | 18 | [
"85+77=162",
"54-45=9",
"162/9=18"
] | Current State: 18:[85, 77, 45, 54], Operations: []
Exploring Operation: 85+77=162, Resulting Numbers: [45, 54, 162]
Generated Node #2: [45, 54, 162] from Operation: 85+77=162
Current State: 18:[45, 54, 162], Operations: ['85+77=162']
Exploring Operation: 54-45=9, Resulting Numbers: [162, 9]
Generated Node #3: [162, 9] from Operation: 54-45=9
Current State: 18:[162, 9], Operations: ['85+77=162', '54-45=9']
Exploring Operation: 162/9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[85, 77, 45, 54], Operations: []
Exploring Operation: 85-54=31, Resulting Numbers: [77, 45, 31]
Generated Node #0,0: 18:[77, 45, 31] Operation: 85-54=31
Exploring Operation: 85-77=8, Resulting Numbers: [45, 54, 8]
Generated Node #0,1: 18:[45, 54, 8] Operation: 85-77=8
Moving to Node #0,1
Current State: 18:[45, 54, 8], Operations: ['85-77=8']
Exploring Operation: 45-8=37, Resulting Numbers: [54, 37]
Generated Node #0,1,0: 18:[54, 37] Operation: 45-8=37
Exploring Operation: 54-45=9, Resulting Numbers: [8, 9]
Generated Node #0,1,1: 18:[8, 9] Operation: 54-45=9
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[8, 9], Operations: ['85-77=8', '54-45=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[54, 37], Operations: ['85-77=8', '45-8=37']
Exploring Operation: 54+37=91, Resulting Numbers: [91]
91,18 unequal: No Solution
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,18 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: 18:[77, 45, 31], Operations: ['85-54=31']
Exploring Operation: 77-45=32, Resulting Numbers: [31, 32]
Generated Node #0,0,0: 18:[31, 32] Operation: 77-45=32
Exploring Operation: 77-31=46, Resulting Numbers: [45, 46]
Generated Node #0,0,1: 18:[45, 46] Operation: 77-31=46
Moving to Node #0,0,0
Current State: 18:[31, 32], Operations: ['85-54=31', '77-45=32']
Exploring Operation: 31+32=63, Resulting Numbers: [63]
63,18 unequal: No Solution
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[45, 46], Operations: ['85-54=31', '77-31=46']
Exploring Operation: 46-45=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 45+46=91, Resulting Numbers: [91]
91,18 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
81,
75,
16,
49
] | 71 | [
"81-75=6",
"16+49=65",
"6+65=71"
] | Current State: 71:[81, 75, 16, 49], Operations: []
Exploring Operation: 81-75=6, Resulting Numbers: [16, 49, 6]
Generated Node #2: [16, 49, 6] from Operation: 81-75=6
Current State: 71:[16, 49, 6], Operations: ['81-75=6']
Exploring Operation: 16+49=65, Resulting Numbers: [6, 65]
Generated Node #3: [6, 65] from Operation: 16+49=65
Current State: 71:[6, 65], Operations: ['81-75=6', '16+49=65']
Exploring Operation: 6+65=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[81, 75, 16, 49], Operations: []
Exploring Operation: 81+16=97, Resulting Numbers: [75, 49, 97]
Generated Node #0,0: 71:[75, 49, 97] Operation: 81+16=97
Exploring Operation: 75-16=59, Resulting Numbers: [81, 49, 59]
Generated Node #0,1: 71:[81, 49, 59] Operation: 75-16=59
Exploring Operation: 75+16=91, Resulting Numbers: [81, 49, 91]
Generated Node #0,2: 71:[81, 49, 91] Operation: 75+16=91
Exploring Operation: 81-16=65, Resulting Numbers: [75, 49, 65]
Generated Node #0,3: 71:[75, 49, 65] Operation: 81-16=65
Exploring Operation: 16+49=65, Resulting Numbers: [81, 75, 65]
Generated Node #0,4: 71:[81, 75, 65] Operation: 16+49=65
Moving to Node #0,4
Current State: 71:[81, 75, 65], Operations: ['16+49=65']
Exploring Operation: 75-65=10, Resulting Numbers: [81, 10]
Generated Node #0,4,0: 71:[81, 10] Operation: 75-65=10
Exploring Operation: 75+65=140, Resulting Numbers: [81, 140]
Generated Node #0,4,1: 71:[81, 140] Operation: 75+65=140
Exploring Operation: 81+65=146, Resulting Numbers: [75, 146]
Generated Node #0,4,2: 71:[75, 146] Operation: 81+65=146
Exploring Operation: 81-65=16, Resulting Numbers: [75, 16]
Generated Node #0,4,3: 71:[75, 16] Operation: 81-65=16
Exploring Operation: 81-75=6, Resulting Numbers: [65, 6]
Generated Node #0,4,4: 71:[65, 6] Operation: 81-75=6
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 71:[75, 16], Operations: ['16+49=65', '81-65=16']
Exploring Operation: 75*16=1200, Resulting Numbers: [1200]
1200,71 unequal: No Solution
Exploring Operation: 75-16=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 75+16=91, Resulting Numbers: [91]
91,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 71:[81, 10], Operations: ['16+49=65', '75-65=10']
Exploring Operation: 81-10=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[81, 75, 16, 49], Operations: []
Exploring Operation: 16+49=65, Resulting Numbers: [81, 75, 65]
Generated Node #0,4: 71:[81, 75, 65] Operation: 16+49=65
Moving to Node #0,4
Current State: 71:[81, 75, 65], Operations: ['16+49=65']
Exploring Operation: 75-65=10, Resulting Numbers: [81, 10]
Generated Node #0,4,0: 71:[81, 10] Operation: 75-65=10
Moving to Node #0,4,0
Current State: 71:[81, 10], Operations: ['16+49=65', '75-65=10']
Exploring Operation: 81-10=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
34,
77,
27,
72
] | 61 | [
"34-27=7",
"77/7=11",
"72-11=61"
] | Current State: 61:[34, 77, 27, 72], Operations: []
Exploring Operation: 34-27=7, Resulting Numbers: [77, 72, 7]
Generated Node #2: [77, 72, 7] from Operation: 34-27=7
Current State: 61:[77, 72, 7], Operations: ['34-27=7']
Exploring Operation: 77/7=11, Resulting Numbers: [72, 11]
Generated Node #3: [72, 11] from Operation: 77/7=11
Current State: 61:[72, 11], Operations: ['34-27=7', '77/7=11']
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[34, 77, 27, 72], Operations: []
Exploring Operation: 34+27=61, Resulting Numbers: [77, 72, 61]
Generated Node #0,0: 61:[77, 72, 61] Operation: 34+27=61
Moving to Node #0,0
Current State: 61:[77, 72, 61], Operations: ['34+27=61']
Exploring Operation: 77-72=5, Resulting Numbers: [61, 5]
Generated Node #0,0,0: 61:[61, 5] Operation: 77-72=5
Moving to Node #0,0,0
Current State: 61:[61, 5], Operations: ['34+27=61', '77-72=5']
Exploring Operation: 61+5=66, Resulting Numbers: [66]
66,61 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
24,
80,
56,
32
] | 80 | [
"24+80=104",
"56-32=24",
"104-24=80"
] | Current State: 80:[24, 80, 56, 32], Operations: []
Exploring Operation: 24+80=104, Resulting Numbers: [56, 32, 104]
Generated Node #2: [56, 32, 104] from Operation: 24+80=104
Current State: 80:[56, 32, 104], Operations: ['24+80=104']
Exploring Operation: 56-32=24, Resulting Numbers: [104, 24]
Generated Node #3: [104, 24] from Operation: 56-32=24
Current State: 80:[104, 24], Operations: ['24+80=104', '56-32=24']
Exploring Operation: 104-24=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[24, 80, 56, 32], Operations: []
Exploring Operation: 56-24=32, Resulting Numbers: [80, 32, 32]
Generated Node #0,0: 80:[80, 32, 32] Operation: 56-24=32
Exploring Operation: 56-32=24, Resulting Numbers: [24, 80, 24]
Generated Node #0,1: 80:[24, 80, 24] Operation: 56-32=24
Exploring Operation: 24+56=80, Resulting Numbers: [80, 32, 80]
Generated Node #0,2: 80:[80, 32, 80] Operation: 24+56=80
Exploring Operation: 56+32=88, Resulting Numbers: [24, 80, 88]
Generated Node #0,3: 80:[24, 80, 88] Operation: 56+32=88
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[24, 80, 24], Operations: ['56-32=24']
Exploring Operation: 80-24=56, Resulting Numbers: [24, 56]
Generated Node #0,1,0: 80:[24, 56] Operation: 80-24=56
Exploring Operation: 24-24=0, Resulting Numbers: [80, 0]
Generated Node #0,1,1: 80:[80, 0] Operation: 24-24=0
Exploring Operation: 24/24=1, Resulting Numbers: [80, 1]
Generated Node #0,1,2: 80:[80, 1] Operation: 24/24=1
Exploring Operation: 24+24=48, Resulting Numbers: [80, 48]
Generated Node #0,1,3: 80:[80, 48] Operation: 24+24=48
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 80:[80, 1], Operations: ['56-32=24', '24/24=1']
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[24, 80, 56, 32], Operations: []
Exploring Operation: 56-32=24, Resulting Numbers: [24, 80, 24]
Generated Node #0,1: 80:[24, 80, 24] Operation: 56-32=24
Moving to Node #0,1
Current State: 80:[24, 80, 24], Operations: ['56-32=24']
Exploring Operation: 24/24=1, Resulting Numbers: [80, 1]
Generated Node #0,1,2: 80:[80, 1] Operation: 24/24=1
Moving to Node #0,1,2
Current State: 80:[80, 1], Operations: ['56-32=24', '24/24=1']
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
87,
73,
49,
70
] | 54 | [
"87-73=14",
"70/14=5",
"49+5=54"
] | Current State: 54:[87, 73, 49, 70], Operations: []
Exploring Operation: 87-73=14, Resulting Numbers: [49, 70, 14]
Generated Node #2: [49, 70, 14] from Operation: 87-73=14
Current State: 54:[49, 70, 14], Operations: ['87-73=14']
Exploring Operation: 70/14=5, Resulting Numbers: [49, 5]
Generated Node #3: [49, 5] from Operation: 70/14=5
Current State: 54:[49, 5], Operations: ['87-73=14', '70/14=5']
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[87, 73, 49, 70], Operations: []
Exploring Operation: 87-73=14, Resulting Numbers: [49, 70, 14]
Generated Node #0,0: 54:[49, 70, 14] Operation: 87-73=14
Moving to Node #0,0
Current State: 54:[49, 70, 14], Operations: ['87-73=14']
Exploring Operation: 70/14=5, Resulting Numbers: [49, 5]
Generated Node #0,0,0: 54:[49, 5] Operation: 70/14=5
Moving to Node #0,0,0
Current State: 54:[49, 5], Operations: ['87-73=14', '70/14=5']
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[87, 73, 49, 70], Operations: []
Exploring Operation: 87-73=14, Resulting Numbers: [49, 70, 14]
Generated Node #0,0: 54:[49, 70, 14] Operation: 87-73=14
Moving to Node #0,0
Current State: 54:[49, 70, 14], Operations: ['87-73=14']
Exploring Operation: 70/14=5, Resulting Numbers: [49, 5]
Generated Node #0,0,0: 54:[49, 5] Operation: 70/14=5
Moving to Node #0,0,0
Current State: 54:[49, 5], Operations: ['87-73=14', '70/14=5']
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
75,
99,
98,
17
] | 16 | [
"75+99=174",
"98+174=272",
"272/17=16"
] | Current State: 16:[75, 99, 98, 17], Operations: []
Exploring Operation: 75+99=174, Resulting Numbers: [98, 17, 174]
Generated Node #2: [98, 17, 174] from Operation: 75+99=174
Current State: 16:[98, 17, 174], Operations: ['75+99=174']
Exploring Operation: 98+174=272, Resulting Numbers: [17, 272]
Generated Node #3: [17, 272] from Operation: 98+174=272
Current State: 16:[17, 272], Operations: ['75+99=174', '98+174=272']
Exploring Operation: 272/17=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[75, 99, 98, 17], Operations: []
Exploring Operation: 99-98=1, Resulting Numbers: [75, 17, 1]
Generated Node #0,0: 16:[75, 17, 1] Operation: 99-98=1
Exploring Operation: 98-75=23, Resulting Numbers: [99, 17, 23]
Generated Node #0,1: 16:[99, 17, 23] Operation: 98-75=23
Exploring Operation: 99-17=82, Resulting Numbers: [75, 98, 82]
Generated Node #0,2: 16:[75, 98, 82] Operation: 99-17=82
Exploring Operation: 75-17=58, Resulting Numbers: [99, 98, 58]
Generated Node #0,3: 16:[99, 98, 58] Operation: 75-17=58
Exploring Operation: 99-75=24, Resulting Numbers: [98, 17, 24]
Generated Node #0,4: 16:[98, 17, 24] Operation: 99-75=24
Moving to Node #0,0
Current State: 16:[75, 17, 1], Operations: ['99-98=1']
Exploring Operation: 17-1=16, Resulting Numbers: [75, 16]
Generated Node #0,0,0: 16:[75, 16] Operation: 17-1=16
Exploring Operation: 75-17=58, Resulting Numbers: [1, 58]
Generated Node #0,0,1: 16:[1, 58] Operation: 75-17=58
Exploring Operation: 75*1=75, Resulting Numbers: [17, 75]
Generated Node #0,0,2: 16:[17, 75] Operation: 75*1=75
Exploring Operation: 75/1=75, Resulting Numbers: [17, 75]
Generated Node #0,0,3: 16:[17, 75] Operation: 75/1=75
Exploring Operation: 75-1=74, Resulting Numbers: [17, 74]
Generated Node #0,0,4: 16:[17, 74] Operation: 75-1=74
Moving to Node #0,4
Current State: 16:[98, 17, 24], Operations: ['99-75=24']
Exploring Operation: 98+24=122, Resulting Numbers: [17, 122]
Generated Node #0,4,0: 16:[17, 122] Operation: 98+24=122
Exploring Operation: 98+17=115, Resulting Numbers: [24, 115]
Generated Node #0,4,1: 16:[24, 115] Operation: 98+17=115
Exploring Operation: 98-17=81, Resulting Numbers: [24, 81]
Generated Node #0,4,2: 16:[24, 81] Operation: 98-17=81
Exploring Operation: 98-24=74, Resulting Numbers: [17, 74]
Generated Node #0,4,3: 16:[17, 74] Operation: 98-24=74
Exploring Operation: 24-17=7, Resulting Numbers: [98, 7]
Generated Node #0,4,4: 16:[98, 7] Operation: 24-17=7
Moving to Node #0,1
Current State: 16:[99, 17, 23], Operations: ['98-75=23']
Exploring Operation: 99-17=82, Resulting Numbers: [23, 82]
Generated Node #0,1,0: 16:[23, 82] Operation: 99-17=82
Exploring Operation: 99+23=122, Resulting Numbers: [17, 122]
Generated Node #0,1,1: 16:[17, 122] Operation: 99+23=122
Exploring Operation: 99+17=116, Resulting Numbers: [23, 116]
Generated Node #0,1,2: 16:[23, 116] Operation: 99+17=116
Exploring Operation: 99-23=76, Resulting Numbers: [17, 76]
Generated Node #0,1,3: 16:[17, 76] Operation: 99-23=76
Exploring Operation: 23-17=6, Resulting Numbers: [99, 6]
Generated Node #0,1,4: 16:[99, 6] Operation: 23-17=6
Moving to Node #0,2
Current State: 16:[75, 98, 82], Operations: ['99-17=82']
Exploring Operation: 98-75=23, Resulting Numbers: [82, 23]
Generated Node #0,2,0: 16:[82, 23] Operation: 98-75=23
Exploring Operation: 75+82=157, Resulting Numbers: [98, 157]
Generated Node #0,2,1: 16:[98, 157] Operation: 75+82=157
Exploring Operation: 75+98=173, Resulting Numbers: [82, 173]
Generated Node #0,2,2: 16:[82, 173] Operation: 75+98=173
Exploring Operation: 82-75=7, Resulting Numbers: [98, 7]
Generated Node #0,2,3: 16:[98, 7] Operation: 82-75=7
Exploring Operation: 98-82=16, Resulting Numbers: [75, 16]
Generated Node #0,2,4: 16:[75, 16] Operation: 98-82=16
Moving to Node #0,3
Current State: 16:[99, 98, 58], Operations: ['75-17=58']
Exploring Operation: 99+58=157, Resulting Numbers: [98, 157]
Generated Node #0,3,0: 16:[98, 157] Operation: 99+58=157
Exploring Operation: 99-98=1, Resulting Numbers: [58, 1]
Generated Node #0,3,1: 16:[58, 1] Operation: 99-98=1
Exploring Operation: 99-58=41, Resulting Numbers: [98, 41]
Generated Node #0,3,2: 16:[98, 41] Operation: 99-58=41
Exploring Operation: 99+98=197, Resulting Numbers: [58, 197]
Generated Node #0,3,3: 16:[58, 197] Operation: 99+98=197
Exploring Operation: 98-58=40, Resulting Numbers: [99, 40]
Generated Node #0,3,4: 16:[99, 40] Operation: 98-58=40
Moving to Node #0,0,1
Current State: 16:[1, 58], Operations: ['99-98=1', '75-17=58']
Exploring Operation: 1+58=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,16 unequal: No Solution
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,16 unequal: No Solution
Exploring Operation: 1*58=58, Resulting Numbers: [58]
58,16 unequal: No Solution
Moving to Node #0,3,1
Current State: 16:[58, 1], Operations: ['75-17=58', '99-98=1']
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,16 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,16 unequal: No Solution
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,16 unequal: No Solution
Moving to Node #0,0,4
Current State: 16:[17, 74], Operations: ['99-98=1', '75-1=74']
Exploring Operation: 17+74=91, Resulting Numbers: [91]
91,16 unequal: No Solution
Exploring Operation: 74-17=57, Resulting Numbers: [57]
57,16 unequal: No Solution
Exploring Operation: 17*74=1258, Resulting Numbers: [1258]
1258,16 unequal: No Solution
Moving to Node #0,4,3
Current State: 16:[17, 74], Operations: ['99-75=24', '98-24=74']
Exploring Operation: 17*74=1258, Resulting Numbers: [1258]
1258,16 unequal: No Solution
Exploring Operation: 17+74=91, Resulting Numbers: [91]
91,16 unequal: No Solution
Exploring Operation: 74-17=57, Resulting Numbers: [57]
57,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[75, 16], Operations: ['99-98=1', '17-1=16']
Exploring Operation: 75+16=91, Resulting Numbers: [91]
91,16 unequal: No Solution
Exploring Operation: 75-16=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 75*16=1200, Resulting Numbers: [1200]
1200,16 unequal: No Solution
Moving to Node #0,2,4
Current State: 16:[75, 16], Operations: ['99-17=82', '98-82=16']
Exploring Operation: 75*16=1200, Resulting Numbers: [1200]
1200,16 unequal: No Solution
Exploring Operation: 75-16=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 75+16=91, Resulting Numbers: [91]
91,16 unequal: No Solution
Moving to Node #0,0,3
Current State: 16:[17, 75], Operations: ['99-98=1', '75/1=75']
Exploring Operation: 17+75=92, Resulting Numbers: [92]
92,16 unequal: No Solution
Exploring Operation: 17*75=1275, Resulting Numbers: [1275]
1275,16 unequal: No Solution
Exploring Operation: 75-17=58, Resulting Numbers: [58]
58,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[17, 75], Operations: ['99-98=1', '75*1=75']
Exploring Operation: 17+75=92, Resulting Numbers: [92]
92,16 unequal: No Solution
Exploring Operation: 17*75=1275, Resulting Numbers: [1275]
1275,16 unequal: No Solution
Exploring Operation: 75-17=58, Resulting Numbers: [58]
58,16 unequal: No Solution
Moving to Node #0,1,3
Current State: 16:[17, 76], Operations: ['98-75=23', '99-23=76']
Exploring Operation: 17+76=93, Resulting Numbers: [93]
93,16 unequal: No Solution
Exploring Operation: 76-17=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 17*76=1292, Resulting Numbers: [1292]
1292,16 unequal: No Solution
Moving to Node #0,4,2
Current State: 16:[24, 81], Operations: ['99-75=24', '98-17=81']
Exploring Operation: 81-24=57, Resulting Numbers: [57]
57,16 unequal: No Solution
Exploring Operation: 24+81=105, Resulting Numbers: [105]
105,16 unequal: No Solution
Exploring Operation: 24*81=1944, Resulting Numbers: [1944]
1944,16 unequal: No Solution
Moving to Node #0,1,0
Current State: 16:[23, 82], Operations: ['98-75=23', '99-17=82']
Exploring Operation: 23*82=1886, Resulting Numbers: [1886]
1886,16 unequal: No Solution
Exploring Operation: 82-23=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 23+82=105, Resulting Numbers: [105]
105,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[82, 23], Operations: ['99-17=82', '98-75=23']
Exploring Operation: 82+23=105, Resulting Numbers: [105]
105,16 unequal: No Solution
Exploring Operation: 82-23=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 82*23=1886, Resulting Numbers: [1886]
1886,16 unequal: No Solution
Moving to Node #0,2,3
Current State: 16:[98, 7], Operations: ['99-17=82', '82-75=7']
Exploring Operation: 98*7=686, Resulting Numbers: [686]
686,16 unequal: No Solution
Exploring Operation: 98-7=91, Resulting Numbers: [91]
91,16 unequal: No Solution
Exploring Operation: 98+7=105, Resulting Numbers: [105]
105,16 unequal: No Solution
Exploring Operation: 98/7=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Moving to Node #0,4,4
Current State: 16:[98, 7], Operations: ['99-75=24', '24-17=7']
Exploring Operation: 98*7=686, Resulting Numbers: [686]
686,16 unequal: No Solution
Exploring Operation: 98+7=105, Resulting Numbers: [105]
105,16 unequal: No Solution
Exploring Operation: 98/7=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 98-7=91, Resulting Numbers: [91]
91,16 unequal: No Solution
Moving to Node #0,1,4
Current State: 16:[99, 6], Operations: ['98-75=23', '23-17=6']
Exploring Operation: 99*6=594, Resulting Numbers: [594]
594,16 unequal: No Solution
Exploring Operation: 99+6=105, Resulting Numbers: [105]
105,16 unequal: No Solution
Exploring Operation: 99-6=93, Resulting Numbers: [93]
93,16 unequal: No Solution
Moving to Node #0,1,2
Current State: 16:[23, 116], Operations: ['98-75=23', '99+17=116']
Exploring Operation: 23*116=2668, Resulting Numbers: [2668]
2668,16 unequal: No Solution
Exploring Operation: 116-23=93, Resulting Numbers: [93]
93,16 unequal: No Solution
Exploring Operation: 23+116=139, Resulting Numbers: [139]
139,16 unequal: No Solution
Moving to Node #0,3,2
Current State: 16:[98, 41], Operations: ['75-17=58', '99-58=41']
Exploring Operation: 98-41=57, Resulting Numbers: [57]
57,16 unequal: No Solution
Exploring Operation: 98+41=139, Resulting Numbers: [139]
139,16 unequal: No Solution
Exploring Operation: 98*41=4018, Resulting Numbers: [4018]
4018,16 unequal: No Solution
Moving to Node #0,4,1
Current State: 16:[24, 115], Operations: ['99-75=24', '98+17=115']
Exploring Operation: 24+115=139, Resulting Numbers: [139]
139,16 unequal: No Solution
Exploring Operation: 24*115=2760, Resulting Numbers: [2760]
2760,16 unequal: No Solution
Exploring Operation: 115-24=91, Resulting Numbers: [91]
91,16 unequal: No Solution
Moving to Node #0,4,0
Current State: 16:[17, 122], Operations: ['99-75=24', '98+24=122']
Exploring Operation: 17+122=139, Resulting Numbers: [139]
139,16 unequal: No Solution
Exploring Operation: 122-17=105, Resulting Numbers: [105]
105,16 unequal: No Solution
Exploring Operation: 17*122=2074, Resulting Numbers: [2074]
2074,16 unequal: No Solution
Moving to Node #0,3,4
Current State: 16:[99, 40], Operations: ['75-17=58', '98-58=40']
Exploring Operation: 99-40=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 99+40=139, Resulting Numbers: [139]
139,16 unequal: No Solution
Exploring Operation: 99*40=3960, Resulting Numbers: [3960]
3960,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[17, 122], Operations: ['98-75=23', '99+23=122']
Exploring Operation: 17*122=2074, Resulting Numbers: [2074]
2074,16 unequal: No Solution
Exploring Operation: 122-17=105, Resulting Numbers: [105]
105,16 unequal: No Solution
Exploring Operation: 17+122=139, Resulting Numbers: [139]
139,16 unequal: No Solution
Moving to Node #0,3,0
Current State: 16:[98, 157], Operations: ['75-17=58', '99+58=157']
Exploring Operation: 157-98=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 98+157=255, Resulting Numbers: [255]
255,16 unequal: No Solution
Exploring Operation: 98*157=15386, Resulting Numbers: [15386]
15386,16 unequal: No Solution
Moving to Node #0,2,2
Current State: 16:[82, 173], Operations: ['99-17=82', '75+98=173']
Exploring Operation: 173-82=91, Resulting Numbers: [91]
91,16 unequal: No Solution
Exploring Operation: 82*173=14186, Resulting Numbers: [14186]
14186,16 unequal: No Solution
Exploring Operation: 82+173=255, Resulting Numbers: [255]
255,16 unequal: No Solution
Moving to Node #0,3,3
Current State: 16:[58, 197], Operations: ['75-17=58', '99+98=197']
Exploring Operation: 58+197=255, Resulting Numbers: [255]
255,16 unequal: No Solution
Exploring Operation: 197-58=139, Resulting Numbers: [139]
139,16 unequal: No Solution
Exploring Operation: 58*197=11426, Resulting Numbers: [11426]
11426,16 unequal: No Solution
Moving to Node #0,2,1
Current State: 16:[98, 157], Operations: ['99-17=82', '75+82=157']
Exploring Operation: 98*157=15386, Resulting Numbers: [15386]
15386,16 unequal: No Solution
Exploring Operation: 157-98=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 98+157=255, Resulting Numbers: [255]
255,16 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
47,
9,
89,
88
] | 74 | [
"47+88=135",
"135/9=15",
"89-15=74"
] | Current State: 74:[47, 9, 89, 88], Operations: []
Exploring Operation: 47+88=135, Resulting Numbers: [9, 89, 135]
Generated Node #2: [9, 89, 135] from Operation: 47+88=135
Current State: 74:[9, 89, 135], Operations: ['47+88=135']
Exploring Operation: 135/9=15, Resulting Numbers: [89, 15]
Generated Node #3: [89, 15] from Operation: 135/9=15
Current State: 74:[89, 15], Operations: ['47+88=135', '135/9=15']
Exploring Operation: 89-15=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[47, 9, 89, 88], Operations: []
Exploring Operation: 89-88=1, Resulting Numbers: [47, 9, 1]
Generated Node #0,0: 74:[47, 9, 1] Operation: 89-88=1
Exploring Operation: 88-47=41, Resulting Numbers: [9, 89, 41]
Generated Node #0,1: 74:[9, 89, 41] Operation: 88-47=41
Exploring Operation: 89-47=42, Resulting Numbers: [9, 88, 42]
Generated Node #0,2: 74:[9, 88, 42] Operation: 89-47=42
Moving to Node #0,0
Current State: 74:[47, 9, 1], Operations: ['89-88=1']
Exploring Operation: 9-1=8, Resulting Numbers: [47, 8]
Generated Node #0,0,0: 74:[47, 8] Operation: 9-1=8
Exploring Operation: 47-1=46, Resulting Numbers: [9, 46]
Generated Node #0,0,1: 74:[9, 46] Operation: 47-1=46
Exploring Operation: 47-9=38, Resulting Numbers: [1, 38]
Generated Node #0,0,2: 74:[1, 38] Operation: 47-9=38
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 74:[1, 38], Operations: ['89-88=1', '47-9=38']
Exploring Operation: 1*38=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[47, 8], Operations: ['89-88=1', '9-1=8']
Exploring Operation: 47+8=55, Resulting Numbers: [55]
55,74 unequal: No Solution
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 47*8=376, Resulting Numbers: [376]
376,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 74:[9, 46], Operations: ['89-88=1', '47-1=46']
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 9+46=55, Resulting Numbers: [55]
55,74 unequal: No Solution
Exploring Operation: 9*46=414, Resulting Numbers: [414]
414,74 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: 74:[9, 89, 41], Operations: ['88-47=41']
Exploring Operation: 41-9=32, Resulting Numbers: [89, 32]
Generated Node #0,1,0: 74:[89, 32] Operation: 41-9=32
Exploring Operation: 89-9=80, Resulting Numbers: [41, 80]
Generated Node #0,1,1: 74:[41, 80] Operation: 89-9=80
Exploring Operation: 89-41=48, Resulting Numbers: [9, 48]
Generated Node #0,1,2: 74:[9, 48] Operation: 89-41=48
Moving to Node #0,2
Current State: 74:[9, 88, 42], Operations: ['89-47=42']
Exploring Operation: 42-9=33, Resulting Numbers: [88, 33]
Generated Node #0,2,0: 74:[88, 33] Operation: 42-9=33
Exploring Operation: 88-9=79, Resulting Numbers: [42, 79]
Generated Node #0,2,1: 74:[42, 79] Operation: 88-9=79
Exploring Operation: 88-42=46, Resulting Numbers: [9, 46]
Generated Node #0,2,2: 74:[9, 46] Operation: 88-42=46
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 74:[42, 79], Operations: ['89-47=42', '88-9=79']
Exploring Operation: 42*79=3318, Resulting Numbers: [3318]
3318,74 unequal: No Solution
Exploring Operation: 42+79=121, Resulting Numbers: [121]
121,74 unequal: No Solution
Exploring Operation: 79-42=37, Resulting Numbers: [37]
37,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 74:[9, 46], Operations: ['89-47=42', '88-42=46']
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 9*46=414, Resulting Numbers: [414]
414,74 unequal: No Solution
Exploring Operation: 9+46=55, Resulting Numbers: [55]
55,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 74:[88, 33], Operations: ['89-47=42', '42-9=33']
Exploring Operation: 88*33=2904, Resulting Numbers: [2904]
2904,74 unequal: No Solution
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,74 unequal: No Solution
Exploring Operation: 88+33=121, Resulting Numbers: [121]
121,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 74:[41, 80], Operations: ['88-47=41', '89-9=80']
Exploring Operation: 80-41=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 41+80=121, Resulting Numbers: [121]
121,74 unequal: No Solution
Exploring Operation: 41*80=3280, Resulting Numbers: [3280]
3280,74 unequal: No Solution
Moving to Node #0,1,2
Current State: 74:[9, 48], Operations: ['88-47=41', '89-41=48']
Exploring Operation: 9*48=432, Resulting Numbers: [432]
432,74 unequal: No Solution
Exploring Operation: 9+48=57, Resulting Numbers: [57]
57,74 unequal: No Solution
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[89, 32], Operations: ['88-47=41', '41-9=32']
Exploring Operation: 89*32=2848, Resulting Numbers: [2848]
2848,74 unequal: No Solution
Exploring Operation: 89-32=57, Resulting Numbers: [57]
57,74 unequal: No Solution
Exploring Operation: 89+32=121, Resulting Numbers: [121]
121,74 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
98,
70,
65,
35
] | 31 | [
"98-65=33",
"70/35=2",
"33-2=31"
] | Current State: 31:[98, 70, 65, 35], Operations: []
Exploring Operation: 98-65=33, Resulting Numbers: [70, 35, 33]
Generated Node #2: [70, 35, 33] from Operation: 98-65=33
Current State: 31:[70, 35, 33], Operations: ['98-65=33']
Exploring Operation: 70/35=2, Resulting Numbers: [33, 2]
Generated Node #3: [33, 2] from Operation: 70/35=2
Current State: 31:[33, 2], Operations: ['98-65=33', '70/35=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[98, 70, 65, 35], Operations: []
Exploring Operation: 98-65=33, Resulting Numbers: [70, 35, 33]
Generated Node #0,0: 31:[70, 35, 33] Operation: 98-65=33
Exploring Operation: 98-70=28, Resulting Numbers: [65, 35, 28]
Generated Node #0,1: 31:[65, 35, 28] Operation: 98-70=28
Exploring Operation: 70-35=35, Resulting Numbers: [98, 65, 35]
Generated Node #0,2: 31:[98, 65, 35] Operation: 70-35=35
Exploring Operation: 98-35=63, Resulting Numbers: [70, 65, 63]
Generated Node #0,3: 31:[70, 65, 63] Operation: 98-35=63
Exploring Operation: 70-65=5, Resulting Numbers: [98, 35, 5]
Generated Node #0,4: 31:[98, 35, 5] Operation: 70-65=5
Moving to Node #0,1
Current State: 31:[65, 35, 28], Operations: ['98-70=28']
Exploring Operation: 35-28=7, Resulting Numbers: [65, 7]
Generated Node #0,1,0: 31:[65, 7] Operation: 35-28=7
Exploring Operation: 65+28=93, Resulting Numbers: [35, 93]
Generated Node #0,1,1: 31:[35, 93] Operation: 65+28=93
Exploring Operation: 35+28=63, Resulting Numbers: [65, 63]
Generated Node #0,1,2: 31:[65, 63] Operation: 35+28=63
Exploring Operation: 65-35=30, Resulting Numbers: [28, 30]
Generated Node #0,1,3: 31:[28, 30] Operation: 65-35=30
Exploring Operation: 65-28=37, Resulting Numbers: [35, 37]
Generated Node #0,1,4: 31:[35, 37] Operation: 65-28=37
Moving to Node #0,0
Current State: 31:[70, 35, 33], Operations: ['98-65=33']
Exploring Operation: 35-33=2, Resulting Numbers: [70, 2]
Generated Node #0,0,0: 31:[70, 2] Operation: 35-33=2
Exploring Operation: 70-33=37, Resulting Numbers: [35, 37]
Generated Node #0,0,1: 31:[35, 37] Operation: 70-33=37
Exploring Operation: 70+35=105, Resulting Numbers: [33, 105]
Generated Node #0,0,2: 31:[33, 105] Operation: 70+35=105
Exploring Operation: 70/35=2, Resulting Numbers: [33, 2]
Generated Node #0,0,3: 31:[33, 2] Operation: 70/35=2
Exploring Operation: 70-35=35, Resulting Numbers: [33, 35]
Generated Node #0,0,4: 31:[33, 35] Operation: 70-35=35
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 31:[33, 35], Operations: ['98-65=33', '70-35=35']
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,31 unequal: No Solution
Exploring Operation: 33*35=1155, Resulting Numbers: [1155]
1155,31 unequal: No Solution
Exploring Operation: 35-33=2, Resulting Numbers: [2]
2,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,0,1
Current State: 31:[35, 37], Operations: ['98-65=33', '70-33=37']
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 35*37=1295, Resulting Numbers: [1295]
1295,31 unequal: No Solution
Exploring Operation: 35+37=72, Resulting Numbers: [72]
72,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,0,3
Current State: 31:[33, 2], Operations: ['98-65=33', '70/35=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,31 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[98, 70, 65, 35], Operations: []
Exploring Operation: 98-65=33, Resulting Numbers: [70, 35, 33]
Generated Node #0,0: 31:[70, 35, 33] Operation: 98-65=33
Moving to Node #0,0
Current State: 31:[70, 35, 33], Operations: ['98-65=33']
Exploring Operation: 70/35=2, Resulting Numbers: [33, 2]
Generated Node #0,0,3: 31:[33, 2] Operation: 70/35=2
Moving to Node #0,0,3
Current State: 31:[33, 2], Operations: ['98-65=33', '70/35=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | sum_heuristic |
[
3,
89,
67,
29
] | 23 | [
"89+67=156",
"156/3=52",
"52-29=23"
] | Current State: 23:[3, 89, 67, 29], Operations: []
Exploring Operation: 89+67=156, Resulting Numbers: [3, 29, 156]
Generated Node #2: [3, 29, 156] from Operation: 89+67=156
Current State: 23:[3, 29, 156], Operations: ['89+67=156']
Exploring Operation: 156/3=52, Resulting Numbers: [29, 52]
Generated Node #3: [29, 52] from Operation: 156/3=52
Current State: 23:[29, 52], Operations: ['89+67=156', '156/3=52']
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[3, 89, 67, 29], Operations: []
Exploring Operation: 89-3=86, Resulting Numbers: [67, 29, 86]
Generated Node #0,0: 23:[67, 29, 86] Operation: 89-3=86
Exploring Operation: 67-29=38, Resulting Numbers: [3, 89, 38]
Generated Node #0,1: 23:[3, 89, 38] Operation: 67-29=38
Exploring Operation: 89-67=22, Resulting Numbers: [3, 29, 22]
Generated Node #0,2: 23:[3, 29, 22] Operation: 89-67=22
Exploring Operation: 89-29=60, Resulting Numbers: [3, 67, 60]
Generated Node #0,3: 23:[3, 67, 60] Operation: 89-29=60
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[3, 29, 22], Operations: ['89-67=22']
Exploring Operation: 22-3=19, Resulting Numbers: [29, 19]
Generated Node #0,2,0: 23:[29, 19] Operation: 22-3=19
Exploring Operation: 3+29=32, Resulting Numbers: [22, 32]
Generated Node #0,2,1: 23:[22, 32] Operation: 3+29=32
Exploring Operation: 3+22=25, Resulting Numbers: [29, 25]
Generated Node #0,2,2: 23:[29, 25] Operation: 3+22=25
Exploring Operation: 29-3=26, Resulting Numbers: [22, 26]
Generated Node #0,2,3: 23:[22, 26] Operation: 29-3=26
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 23:[22, 26], Operations: ['89-67=22', '29-3=26']
Exploring Operation: 22*26=572, Resulting Numbers: [572]
572,23 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,23 unequal: No Solution
No 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: 23:[29, 25], Operations: ['89-67=22', '3+22=25']
Exploring Operation: 29-25=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 29*25=725, Resulting Numbers: [725]
725,23 unequal: No Solution
Exploring Operation: 29+25=54, Resulting Numbers: [54]
54,23 unequal: No Solution
No 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: 23:[29, 19], Operations: ['89-67=22', '22-3=19']
Exploring Operation: 29*19=551, Resulting Numbers: [551]
551,23 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Exploring Operation: 29+19=48, Resulting Numbers: [48]
48,23 unequal: No Solution
No 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: 23:[22, 32], Operations: ['89-67=22', '3+29=32']
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Exploring Operation: 22*32=704, Resulting Numbers: [704]
704,23 unequal: No Solution
Exploring Operation: 22+32=54, Resulting Numbers: [54]
54,23 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: 23:[3, 89, 38], Operations: ['67-29=38']
Exploring Operation: 38-3=35, Resulting Numbers: [89, 35]
Generated Node #0,1,0: 23:[89, 35] Operation: 38-3=35
Exploring Operation: 89-38=51, Resulting Numbers: [3, 51]
Generated Node #0,1,1: 23:[3, 51] Operation: 89-38=51
Exploring Operation: 3+89=92, Resulting Numbers: [38, 92]
Generated Node #0,1,2: 23:[38, 92] Operation: 3+89=92
Exploring Operation: 89-3=86, Resulting Numbers: [38, 86]
Generated Node #0,1,3: 23:[38, 86] Operation: 89-3=86
Moving to Node #0,1,1
Current State: 23:[3, 51], Operations: ['67-29=38', '89-38=51']
Exploring Operation: 3*51=153, Resulting Numbers: [153]
153,23 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Moving to Node #0,1,3
Current State: 23:[38, 86], Operations: ['67-29=38', '89-3=86']
Exploring Operation: 86-38=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 38*86=3268, Resulting Numbers: [3268]
3268,23 unequal: No Solution
Exploring Operation: 38+86=124, Resulting Numbers: [124]
124,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[89, 35], Operations: ['67-29=38', '38-3=35']
Exploring Operation: 89*35=3115, Resulting Numbers: [3115]
3115,23 unequal: No Solution
Exploring Operation: 89+35=124, Resulting Numbers: [124]
124,23 unequal: No Solution
Exploring Operation: 89-35=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[38, 92], Operations: ['67-29=38', '3+89=92']
Exploring Operation: 38+92=130, Resulting Numbers: [130]
130,23 unequal: No Solution
Exploring Operation: 92-38=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Exploring Operation: 38*92=3496, Resulting Numbers: [3496]
3496,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 23:[3, 67, 60], Operations: ['89-29=60']
Exploring Operation: 60-3=57, Resulting Numbers: [67, 57]
Generated Node #0,3,0: 23:[67, 57] Operation: 60-3=57
Exploring Operation: 60/3=20, Resulting Numbers: [67, 20]
Generated Node #0,3,1: 23:[67, 20] Operation: 60/3=20
Exploring Operation: 67-60=7, Resulting Numbers: [3, 7]
Generated Node #0,3,2: 23:[3, 7] Operation: 67-60=7
Exploring Operation: 67-3=64, Resulting Numbers: [60, 64]
Generated Node #0,3,3: 23:[60, 64] Operation: 67-3=64
Moving to Node #0,3,2
Current State: 23:[3, 7], Operations: ['89-29=60', '67-60=7']
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,23 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Moving to Node #0,3,1
Current State: 23:[67, 20], Operations: ['89-29=60', '60/3=20']
Exploring Operation: 67+20=87, Resulting Numbers: [87]
87,23 unequal: No Solution
Exploring Operation: 67*20=1340, Resulting Numbers: [1340]
1340,23 unequal: No Solution
Exploring Operation: 67-20=47, Resulting Numbers: [47]
47,23 unequal: No Solution
Moving to Node #0,3,3
Current State: 23:[60, 64], Operations: ['89-29=60', '67-3=64']
Exploring Operation: 60*64=3840, Resulting Numbers: [3840]
3840,23 unequal: No Solution
Exploring Operation: 60+64=124, Resulting Numbers: [124]
124,23 unequal: No Solution
Exploring Operation: 64-60=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Moving to Node #0,3,0
Current State: 23:[67, 57], Operations: ['89-29=60', '60-3=57']
Exploring Operation: 67-57=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Exploring Operation: 67+57=124, Resulting Numbers: [124]
124,23 unequal: No Solution
Exploring Operation: 67*57=3819, Resulting Numbers: [3819]
3819,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,0
Current State: 23:[67, 29, 86], Operations: ['89-3=86']
Exploring Operation: 86-67=19, Resulting Numbers: [29, 19]
Generated Node #0,0,0: 23:[29, 19] Operation: 86-67=19
Exploring Operation: 86-29=57, Resulting Numbers: [67, 57]
Generated Node #0,0,1: 23:[67, 57] Operation: 86-29=57
Exploring Operation: 67-29=38, Resulting Numbers: [86, 38]
Generated Node #0,0,2: 23:[86, 38] Operation: 67-29=38
Exploring Operation: 67+29=96, Resulting Numbers: [86, 96]
Generated Node #0,0,3: 23:[86, 96] Operation: 67+29=96
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[29, 19], Operations: ['89-3=86', '86-67=19']
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Exploring Operation: 29+19=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 29*19=551, Resulting Numbers: [551]
551,23 unequal: No Solution
No 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: 23:[67, 57], Operations: ['89-3=86', '86-29=57']
Exploring Operation: 67-57=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Exploring Operation: 67+57=124, Resulting Numbers: [124]
124,23 unequal: No Solution
Exploring Operation: 67*57=3819, Resulting Numbers: [3819]
3819,23 unequal: No Solution
No 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: 23:[86, 38], Operations: ['89-3=86', '67-29=38']
Exploring Operation: 86+38=124, Resulting Numbers: [124]
124,23 unequal: No Solution
Exploring Operation: 86-38=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 86*38=3268, Resulting Numbers: [3268]
3268,23 unequal: No Solution
No 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: 23:[86, 96], Operations: ['89-3=86', '67+29=96']
Exploring Operation: 86*96=8256, Resulting Numbers: [8256]
8256,23 unequal: No Solution
Exploring Operation: 96-86=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Exploring Operation: 86+96=182, Resulting Numbers: [182]
182,23 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 |
[
20,
3,
37,
35
] | 12 | [
"20*3=60",
"37+35=72",
"72-60=12"
] | Current State: 12:[20, 3, 37, 35], Operations: []
Exploring Operation: 20*3=60, Resulting Numbers: [37, 35, 60]
Generated Node #2: [37, 35, 60] from Operation: 20*3=60
Current State: 12:[37, 35, 60], Operations: ['20*3=60']
Exploring Operation: 37+35=72, Resulting Numbers: [60, 72]
Generated Node #3: [60, 72] from Operation: 37+35=72
Current State: 12:[60, 72], Operations: ['20*3=60', '37+35=72']
Exploring Operation: 72-60=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[20, 3, 37, 35], Operations: []
Exploring Operation: 37-35=2, Resulting Numbers: [20, 3, 2]
Generated Node #0,0: 12:[20, 3, 2] Operation: 37-35=2
Exploring Operation: 35-20=15, Resulting Numbers: [3, 37, 15]
Generated Node #0,1: 12:[3, 37, 15] Operation: 35-20=15
Exploring Operation: 37-20=17, Resulting Numbers: [3, 35, 17]
Generated Node #0,2: 12:[3, 35, 17] Operation: 37-20=17
Moving to Node #0,0
Current State: 12:[20, 3, 2], Operations: ['37-35=2']
Exploring Operation: 20-2=18, Resulting Numbers: [3, 18]
Generated Node #0,0,0: 12:[3, 18] Operation: 20-2=18
Exploring Operation: 20-3=17, Resulting Numbers: [2, 17]
Generated Node #0,0,1: 12:[2, 17] Operation: 20-3=17
Exploring Operation: 20/2=10, Resulting Numbers: [3, 10]
Generated Node #0,0,2: 12:[3, 10] Operation: 20/2=10
Moving to Node #0,1
Current State: 12:[3, 37, 15], Operations: ['35-20=15']
Exploring Operation: 15-3=12, Resulting Numbers: [37, 12]
Generated Node #0,1,0: 12:[37, 12] Operation: 15-3=12
Exploring Operation: 37-3=34, Resulting Numbers: [15, 34]
Generated Node #0,1,1: 12:[15, 34] Operation: 37-3=34
Exploring Operation: 37-15=22, Resulting Numbers: [3, 22]
Generated Node #0,1,2: 12:[3, 22] Operation: 37-15=22
Moving to Node #0,2
Current State: 12:[3, 35, 17], Operations: ['37-20=17']
Exploring Operation: 17-3=14, Resulting Numbers: [35, 14]
Generated Node #0,2,0: 12:[35, 14] Operation: 17-3=14
Exploring Operation: 35-17=18, Resulting Numbers: [3, 18]
Generated Node #0,2,1: 12:[3, 18] Operation: 35-17=18
Exploring Operation: 35-3=32, Resulting Numbers: [17, 32]
Generated Node #0,2,2: 12:[17, 32] Operation: 35-3=32
Moving to Node #0,0,2
Current State: 12:[3, 10], Operations: ['37-35=2', '20/2=10']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,12 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[2, 17], Operations: ['37-35=2', '20-3=17']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,12 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,12 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,12 unequal: No Solution
Moving to Node #0,0,0
Current State: 12:[3, 18], Operations: ['37-35=2', '20-2=18']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,12 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[3, 18], Operations: ['37-20=17', '35-17=18']
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,12 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,12 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Moving to Node #0,1,2
Current State: 12:[3, 22], Operations: ['35-20=15', '37-15=22']
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,12 unequal: No Solution
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[15, 34], Operations: ['35-20=15', '37-3=34']
Exploring Operation: 15*34=510, Resulting Numbers: [510]
510,12 unequal: No Solution
Exploring Operation: 15+34=49, Resulting Numbers: [49]
49,12 unequal: No Solution
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,12 unequal: No Solution
Moving to Node #0,2,2
Current State: 12:[17, 32], Operations: ['37-20=17', '35-3=32']
Exploring Operation: 17+32=49, Resulting Numbers: [49]
49,12 unequal: No Solution
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,12 unequal: No Solution
Exploring Operation: 17*32=544, Resulting Numbers: [544]
544,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[37, 12], Operations: ['35-20=15', '15-3=12']
Exploring Operation: 37*12=444, Resulting Numbers: [444]
444,12 unequal: No Solution
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 37+12=49, Resulting Numbers: [49]
49,12 unequal: No Solution
Moving to Node #0,2,0
Current State: 12:[35, 14], Operations: ['37-20=17', '17-3=14']
Exploring Operation: 35*14=490, Resulting Numbers: [490]
490,12 unequal: No Solution
Exploring Operation: 35-14=21, Resulting Numbers: [21]
21,12 unequal: No Solution
Exploring Operation: 35+14=49, Resulting Numbers: [49]
49,12 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
46,
86,
10,
13
] | 63 | [
"86-46=40",
"10+13=23",
"40+23=63"
] | Current State: 63:[46, 86, 10, 13], Operations: []
Exploring Operation: 86-46=40, Resulting Numbers: [10, 13, 40]
Generated Node #2: [10, 13, 40] from Operation: 86-46=40
Current State: 63:[10, 13, 40], Operations: ['86-46=40']
Exploring Operation: 10+13=23, Resulting Numbers: [40, 23]
Generated Node #3: [40, 23] from Operation: 10+13=23
Current State: 63:[40, 23], Operations: ['86-46=40', '10+13=23']
Exploring Operation: 40+23=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[46, 86, 10, 13], Operations: []
Exploring Operation: 86-46=40, Resulting Numbers: [10, 13, 40]
Generated Node #0,0: 63:[10, 13, 40] Operation: 86-46=40
Exploring Operation: 46+10=56, Resulting Numbers: [86, 13, 56]
Generated Node #0,1: 63:[86, 13, 56] Operation: 46+10=56
Exploring Operation: 86-10=76, Resulting Numbers: [46, 13, 76]
Generated Node #0,2: 63:[46, 13, 76] Operation: 86-10=76
Exploring Operation: 46+13=59, Resulting Numbers: [86, 10, 59]
Generated Node #0,3: 63:[86, 10, 59] Operation: 46+13=59
Exploring Operation: 86-13=73, Resulting Numbers: [46, 10, 73]
Generated Node #0,4: 63:[46, 10, 73] Operation: 86-13=73
Moving to Node #0,0
Current State: 63:[10, 13, 40], Operations: ['86-46=40']
Exploring Operation: 40-13=27, Resulting Numbers: [10, 27]
Generated Node #0,0,0: 63:[10, 27] Operation: 40-13=27
Exploring Operation: 13+40=53, Resulting Numbers: [10, 53]
Generated Node #0,0,1: 63:[10, 53] Operation: 13+40=53
Exploring Operation: 10+40=50, Resulting Numbers: [13, 50]
Generated Node #0,0,2: 63:[13, 50] Operation: 10+40=50
Exploring Operation: 40-10=30, Resulting Numbers: [13, 30]
Generated Node #0,0,3: 63:[13, 30] Operation: 40-10=30
Exploring Operation: 40/10=4, Resulting Numbers: [13, 4]
Generated Node #0,0,4: 63:[13, 4] Operation: 40/10=4
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 63:[13, 4], Operations: ['86-46=40', '40/10=4']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,63 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[10, 27], Operations: ['86-46=40', '40-13=27']
Exploring Operation: 10+27=37, Resulting Numbers: [37]
37,63 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,63 unequal: No Solution
Exploring Operation: 10*27=270, Resulting Numbers: [270]
270,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 63:[10, 53], Operations: ['86-46=40', '13+40=53']
Exploring Operation: 10*53=530, Resulting Numbers: [530]
530,63 unequal: No Solution
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,63 unequal: No Solution
Exploring Operation: 10+53=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[46, 86, 10, 13], Operations: []
Exploring Operation: 86-46=40, Resulting Numbers: [10, 13, 40]
Generated Node #0,0: 63:[10, 13, 40] Operation: 86-46=40
Moving to Node #0,0
Current State: 63:[10, 13, 40], Operations: ['86-46=40']
Exploring Operation: 13+40=53, Resulting Numbers: [10, 53]
Generated Node #0,0,1: 63:[10, 53] Operation: 13+40=53
Moving to Node #0,0,1
Current State: 63:[10, 53], Operations: ['86-46=40', '13+40=53']
Exploring Operation: 10+53=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | mult_heuristic |
[
51,
15,
45,
9
] | 26 | [
"51*15=765",
"765/45=17",
"9+17=26"
] | Current State: 26:[51, 15, 45, 9], Operations: []
Exploring Operation: 51*15=765, Resulting Numbers: [45, 9, 765]
Generated Node #2: [45, 9, 765] from Operation: 51*15=765
Current State: 26:[45, 9, 765], Operations: ['51*15=765']
Exploring Operation: 765/45=17, Resulting Numbers: [9, 17]
Generated Node #3: [9, 17] from Operation: 765/45=17
Current State: 26:[9, 17], Operations: ['51*15=765', '765/45=17']
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[51, 15, 45, 9], Operations: []
Exploring Operation: 45/15=3, Resulting Numbers: [51, 9, 3]
Generated Node #0,0: 26:[51, 9, 3] Operation: 45/15=3
Exploring Operation: 51-45=6, Resulting Numbers: [15, 9, 6]
Generated Node #0,1: 26:[15, 9, 6] Operation: 51-45=6
Exploring Operation: 45/9=5, Resulting Numbers: [51, 15, 5]
Generated Node #0,2: 26:[51, 15, 5] Operation: 45/9=5
Moving to Node #0,1
Current State: 26:[15, 9, 6], Operations: ['51-45=6']
Exploring Operation: 9+6=15, Resulting Numbers: [15, 15]
Generated Node #0,1,0: 26:[15, 15] Operation: 9+6=15
Exploring Operation: 15+9=24, Resulting Numbers: [6, 24]
Generated Node #0,1,1: 26:[6, 24] Operation: 15+9=24
Exploring Operation: 9-6=3, Resulting Numbers: [15, 3]
Generated Node #0,1,2: 26:[15, 3] Operation: 9-6=3
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 26:[15, 3], Operations: ['51-45=6', '9-6=3']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,26 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,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:[15, 15], Operations: ['51-45=6', '9+6=15']
Exploring Operation: 15/15=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 15-15=0, Resulting Numbers: [0]
0,26 unequal: No Solution
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,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:[6, 24], Operations: ['51-45=6', '15+9=24']
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,26 unequal: No Solution
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,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:[51, 9, 3], Operations: ['45/15=3']
Exploring Operation: 51/3=17, Resulting Numbers: [9, 17]
Generated Node #0,0,0: 26:[9, 17] Operation: 51/3=17
Exploring Operation: 51-9=42, Resulting Numbers: [3, 42]
Generated Node #0,0,1: 26:[3, 42] Operation: 51-9=42
Exploring Operation: 51-3=48, Resulting Numbers: [9, 48]
Generated Node #0,0,2: 26:[9, 48] Operation: 51-3=48
Moving to Node #0,2
Current State: 26:[51, 15, 5], Operations: ['45/9=5']
Exploring Operation: 51-15=36, Resulting Numbers: [5, 36]
Generated Node #0,2,0: 26:[5, 36] Operation: 51-15=36
Exploring Operation: 51-5=46, Resulting Numbers: [15, 46]
Generated Node #0,2,1: 26:[15, 46] Operation: 51-5=46
Exploring Operation: 15/5=3, Resulting Numbers: [51, 3]
Generated Node #0,2,2: 26:[51, 3] Operation: 15/5=3
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 26:[5, 36], Operations: ['45/9=5', '51-15=36']
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,26 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,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,2,1
Current State: 26:[15, 46], Operations: ['45/9=5', '51-5=46']
Exploring Operation: 15+46=61, Resulting Numbers: [61]
61,26 unequal: No Solution
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,26 unequal: No Solution
Exploring Operation: 15*46=690, Resulting Numbers: [690]
690,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,2,2
Current State: 26:[51, 3], Operations: ['45/9=5', '15/5=3']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,26 unequal: No Solution
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,26 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: 26:[9, 17], Operations: ['45/15=3', '51/3=17']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 9*17=153, Resulting Numbers: [153]
153,26 unequal: No Solution
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[51, 15, 45, 9], Operations: []
Exploring Operation: 45/15=3, Resulting Numbers: [51, 9, 3]
Generated Node #0,0: 26:[51, 9, 3] Operation: 45/15=3
Moving to Node #0,0
Current State: 26:[51, 9, 3], Operations: ['45/15=3']
Exploring Operation: 51/3=17, Resulting Numbers: [9, 17]
Generated Node #0,0,0: 26:[9, 17] Operation: 51/3=17
Moving to Node #0,0,0
Current State: 26:[9, 17], Operations: ['45/15=3', '51/3=17']
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.967882 | hs_3 | mult_heuristic |
[
31,
95,
61,
74
] | 51 | [
"95-31=64",
"74-61=13",
"64-13=51"
] | Current State: 51:[31, 95, 61, 74], Operations: []
Exploring Operation: 95-31=64, Resulting Numbers: [61, 74, 64]
Generated Node #2: [61, 74, 64] from Operation: 95-31=64
Current State: 51:[61, 74, 64], Operations: ['95-31=64']
Exploring Operation: 74-61=13, Resulting Numbers: [64, 13]
Generated Node #3: [64, 13] from Operation: 74-61=13
Current State: 51:[64, 13], Operations: ['95-31=64', '74-61=13']
Exploring Operation: 64-13=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[31, 95, 61, 74], Operations: []
Exploring Operation: 95-74=21, Resulting Numbers: [31, 61, 21]
Generated Node #0,0: 51:[31, 61, 21] Operation: 95-74=21
Moving to Node #0,0
Current State: 51:[31, 61, 21], Operations: ['95-74=21']
Exploring Operation: 31+21=52, Resulting Numbers: [61, 52]
Generated Node #0,0,0: 51:[61, 52] Operation: 31+21=52
Moving to Node #0,0,0
Current State: 51:[61, 52], Operations: ['95-74=21', '31+21=52']
Exploring Operation: 61-52=9, Resulting Numbers: [9]
9,51 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
73,
94,
61,
33
] | 73 | [
"73+94=167",
"61+33=94",
"167-94=73"
] | Current State: 73:[73, 94, 61, 33], Operations: []
Exploring Operation: 73+94=167, Resulting Numbers: [61, 33, 167]
Generated Node #2: [61, 33, 167] from Operation: 73+94=167
Current State: 73:[61, 33, 167], Operations: ['73+94=167']
Exploring Operation: 61+33=94, Resulting Numbers: [167, 94]
Generated Node #3: [167, 94] from Operation: 61+33=94
Current State: 73:[167, 94], Operations: ['73+94=167', '61+33=94']
Exploring Operation: 167-94=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[73, 94, 61, 33], Operations: []
Exploring Operation: 61+33=94, Resulting Numbers: [73, 94, 94]
Generated Node #0,0: 73:[73, 94, 94] Operation: 61+33=94
Exploring Operation: 94+33=127, Resulting Numbers: [73, 61, 127]
Generated Node #0,1: 73:[73, 61, 127] Operation: 94+33=127
Exploring Operation: 73-33=40, Resulting Numbers: [94, 61, 40]
Generated Node #0,2: 73:[94, 61, 40] Operation: 73-33=40
Exploring Operation: 94-33=61, Resulting Numbers: [73, 61, 61]
Generated Node #0,3: 73:[73, 61, 61] Operation: 94-33=61
Exploring Operation: 73+33=106, Resulting Numbers: [94, 61, 106]
Generated Node #0,4: 73:[94, 61, 106] Operation: 73+33=106
Start Sub Search at level 1: Moving to Node #0,3
Current State: 73:[73, 61, 61], Operations: ['94-33=61']
Exploring Operation: 61/61=1, Resulting Numbers: [73, 1]
Generated Node #0,3,0: 73:[73, 1] Operation: 61/61=1
Exploring Operation: 73-61=12, Resulting Numbers: [61, 12]
Generated Node #0,3,1: 73:[61, 12] Operation: 73-61=12
Exploring Operation: 73+61=134, Resulting Numbers: [61, 134]
Generated Node #0,3,2: 73:[61, 134] Operation: 73+61=134
Exploring Operation: 61+61=122, Resulting Numbers: [73, 122]
Generated Node #0,3,3: 73:[73, 122] Operation: 61+61=122
Exploring Operation: 73+61=134, Resulting Numbers: [61, 134]
Generated Node #0,3,4: 73:[61, 134] Operation: 73+61=134
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 73:[73, 122], Operations: ['94-33=61', '61+61=122']
Exploring Operation: 73*122=8906, Resulting Numbers: [8906]
8906,73 unequal: No Solution
Exploring Operation: 122-73=49, Resulting Numbers: [49]
49,73 unequal: No Solution
Exploring Operation: 73+122=195, Resulting Numbers: [195]
195,73 unequal: No Solution
No 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: 73:[73, 1], Operations: ['94-33=61', '61/61=1']
Exploring Operation: 73/1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[73, 94, 61, 33], Operations: []
Exploring Operation: 94-33=61, Resulting Numbers: [73, 61, 61]
Generated Node #0,3: 73:[73, 61, 61] Operation: 94-33=61
Moving to Node #0,3
Current State: 73:[73, 61, 61], Operations: ['94-33=61']
Exploring Operation: 61/61=1, Resulting Numbers: [73, 1]
Generated Node #0,3,0: 73:[73, 1] Operation: 61/61=1
Moving to Node #0,3,0
Current State: 73:[73, 1], Operations: ['94-33=61', '61/61=1']
Exploring Operation: 73/1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
8,
35,
8,
8
] | 43 | [
"8+35=43",
"8-8=0",
"43+0=43"
] | Current State: 43:[8, 35, 8, 8], Operations: []
Exploring Operation: 8+35=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exploring Operation: 8-8=0, Resulting Numbers: [43, 0]
Generated Node #2: [43, 0] from Operation: 8-8=0
Current State: 43:[43, 0], Operations: ['8-8=0']
Exploring Operation: 43+0=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[8, 35, 8, 8], Operations: []
Exploring Operation: 8*8=64, Resulting Numbers: [35, 8, 64]
Generated Node #0,0: 43:[35, 8, 64] Operation: 8*8=64
Moving to Node #0,0
Current State: 43:[35, 8, 64], Operations: ['8*8=64']
Exploring Operation: 35+8=43, Resulting Numbers: [64, 43]
Generated Node #0,0,0: 43:[64, 43] Operation: 35+8=43
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[64, 43], Operations: ['8*8=64', '35+8=43']
Exploring Operation: 64-43=21, Resulting Numbers: [21]
21,43 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 |
[
25,
56,
28,
28
] | 26 | [
"56-28=28",
"28/28=1",
"25+1=26"
] | Current State: 26:[25, 56, 28, 28], Operations: []
Exploring Operation: 56-28=28, Resulting Numbers: [25, 28]
Generated Node #2: [25, 28] from Operation: 56-28=28
Current State: 26:[25, 28], Operations: ['56-28=28']
Exploring Operation: 28/28=1, Resulting Numbers: [25, 1]
Generated Node #3: [25, 1] from Operation: 28/28=1
Current State: 26:[25, 1], Operations: ['56-28=28', '28/28=1']
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[25, 56, 28, 28], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [25, 28, 2]
Generated Node #0,0: 26:[25, 28, 2] Operation: 56/28=2
Moving to Node #0,0
Current State: 26:[25, 28, 2], Operations: ['56/28=2']
Exploring Operation: 28-25=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 26:[2, 3] Operation: 28-25=3
Moving to Node #0,0,0
Current State: 26:[2, 3], Operations: ['56/28=2', '28-25=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,26 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
21,
63,
90,
69
] | 64 | [
"90-21=69",
"69/69=1",
"63+1=64"
] | Current State: 64:[21, 63, 90, 69], Operations: []
Exploring Operation: 90-21=69, Resulting Numbers: [63, 69, 69]
Generated Node #2: [63, 69, 69] from Operation: 90-21=69
Current State: 64:[63, 69, 69], Operations: ['90-21=69']
Exploring Operation: 69/69=1, Resulting Numbers: [63, 1]
Generated Node #3: [63, 1] from Operation: 69/69=1
Current State: 64:[63, 1], Operations: ['90-21=69', '69/69=1']
Exploring Operation: 63+1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[21, 63, 90, 69], Operations: []
Exploring Operation: 90-69=21, Resulting Numbers: [21, 63, 21]
Generated Node #0,0: 64:[21, 63, 21] Operation: 90-69=21
Exploring Operation: 90-21=69, Resulting Numbers: [63, 69, 69]
Generated Node #0,1: 64:[63, 69, 69] Operation: 90-21=69
Exploring Operation: 90-63=27, Resulting Numbers: [21, 69, 27]
Generated Node #0,2: 64:[21, 69, 27] Operation: 90-63=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[21, 63, 21], Operations: ['90-69=21']
Exploring Operation: 21/21=1, Resulting Numbers: [63, 1]
Generated Node #0,0,0: 64:[63, 1] Operation: 21/21=1
Exploring Operation: 21-21=0, Resulting Numbers: [63, 0]
Generated Node #0,0,1: 64:[63, 0] Operation: 21-21=0
Exploring Operation: 63/21=3, Resulting Numbers: [21, 3]
Generated Node #0,0,2: 64:[21, 3] Operation: 63/21=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[63, 1], Operations: ['90-69=21', '21/21=1']
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,64 unequal: No Solution
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,64 unequal: No Solution
Exploring Operation: 63+1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[21, 63, 90, 69], Operations: []
Exploring Operation: 90-69=21, Resulting Numbers: [21, 63, 21]
Generated Node #0,0: 64:[21, 63, 21] Operation: 90-69=21
Moving to Node #0,0
Current State: 64:[21, 63, 21], Operations: ['90-69=21']
Exploring Operation: 21/21=1, Resulting Numbers: [63, 1]
Generated Node #0,0,0: 64:[63, 1] Operation: 21/21=1
Moving to Node #0,0,0
Current State: 64:[63, 1], Operations: ['90-69=21', '21/21=1']
Exploring Operation: 63+1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
2,
19,
26,
68
] | 73 | [
"2+19=21",
"26+68=94",
"94-21=73"
] | Current State: 73:[2, 19, 26, 68], Operations: []
Exploring Operation: 2+19=21, Resulting Numbers: [26, 68, 21]
Generated Node #2: [26, 68, 21] from Operation: 2+19=21
Current State: 73:[26, 68, 21], Operations: ['2+19=21']
Exploring Operation: 26+68=94, Resulting Numbers: [21, 94]
Generated Node #3: [21, 94] from Operation: 26+68=94
Current State: 73:[21, 94], Operations: ['2+19=21', '26+68=94']
Exploring Operation: 94-21=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[2, 19, 26, 68], Operations: []
Exploring Operation: 2+19=21, Resulting Numbers: [26, 68, 21]
Generated Node #0,0: 73:[26, 68, 21] Operation: 2+19=21
Exploring Operation: 2+68=70, Resulting Numbers: [19, 26, 70]
Generated Node #0,1: 73:[19, 26, 70] Operation: 2+68=70
Exploring Operation: 2*26=52, Resulting Numbers: [19, 68, 52]
Generated Node #0,2: 73:[19, 68, 52] Operation: 2*26=52
Exploring Operation: 2+26=28, Resulting Numbers: [19, 68, 28]
Generated Node #0,3: 73:[19, 68, 28] Operation: 2+26=28
Exploring Operation: 2*19=38, Resulting Numbers: [26, 68, 38]
Generated Node #0,4: 73:[26, 68, 38] Operation: 2*19=38
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[19, 68, 52], Operations: ['2*26=52']
Exploring Operation: 19+68=87, Resulting Numbers: [52, 87]
Generated Node #0,2,0: 73:[52, 87] Operation: 19+68=87
Exploring Operation: 19+52=71, Resulting Numbers: [68, 71]
Generated Node #0,2,1: 73:[68, 71] Operation: 19+52=71
Exploring Operation: 52-19=33, Resulting Numbers: [68, 33]
Generated Node #0,2,2: 73:[68, 33] Operation: 52-19=33
Exploring Operation: 68-19=49, Resulting Numbers: [52, 49]
Generated Node #0,2,3: 73:[52, 49] Operation: 68-19=49
Exploring Operation: 68+52=120, Resulting Numbers: [19, 120]
Generated Node #0,2,4: 73:[19, 120] Operation: 68+52=120
Moving to Node #0,2,1
Current State: 73:[68, 71], Operations: ['2*26=52', '19+52=71']
Exploring Operation: 71-68=3, Resulting Numbers: [3]
3,73 unequal: No Solution
Exploring Operation: 68*71=4828, Resulting Numbers: [4828]
4828,73 unequal: No Solution
Exploring Operation: 68+71=139, Resulting Numbers: [139]
139,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[52, 87], Operations: ['2*26=52', '19+68=87']
Exploring Operation: 52+87=139, Resulting Numbers: [139]
139,73 unequal: No Solution
Exploring Operation: 87-52=35, Resulting Numbers: [35]
35,73 unequal: No Solution
Exploring Operation: 52*87=4524, Resulting Numbers: [4524]
4524,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[68, 33], Operations: ['2*26=52', '52-19=33']
Exploring Operation: 68-33=35, Resulting Numbers: [35]
35,73 unequal: No Solution
Exploring Operation: 68+33=101, Resulting Numbers: [101]
101,73 unequal: No Solution
Exploring Operation: 68*33=2244, Resulting Numbers: [2244]
2244,73 unequal: No Solution
Moving to Node #0,2,3
Current State: 73:[52, 49], Operations: ['2*26=52', '68-19=49']
Exploring Operation: 52*49=2548, Resulting Numbers: [2548]
2548,73 unequal: No Solution
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,73 unequal: No Solution
Exploring Operation: 52+49=101, Resulting Numbers: [101]
101,73 unequal: No Solution
Moving to Node #0,2,4
Current State: 73:[19, 120], Operations: ['2*26=52', '68+52=120']
Exploring Operation: 120-19=101, Resulting Numbers: [101]
101,73 unequal: No Solution
Exploring Operation: 19+120=139, Resulting Numbers: [139]
139,73 unequal: No Solution
Exploring Operation: 19*120=2280, Resulting Numbers: [2280]
2280,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,4
Current State: 73:[26, 68, 38], Operations: ['2*19=38']
Exploring Operation: 26+38=64, Resulting Numbers: [68, 64]
Generated Node #0,4,0: 73:[68, 64] Operation: 26+38=64
Exploring Operation: 38-26=12, Resulting Numbers: [68, 12]
Generated Node #0,4,1: 73:[68, 12] Operation: 38-26=12
Exploring Operation: 26+68=94, Resulting Numbers: [38, 94]
Generated Node #0,4,2: 73:[38, 94] Operation: 26+68=94
Exploring Operation: 68+38=106, Resulting Numbers: [26, 106]
Generated Node #0,4,3: 73:[26, 106] Operation: 68+38=106
Exploring Operation: 68-26=42, Resulting Numbers: [38, 42]
Generated Node #0,4,4: 73:[38, 42] Operation: 68-26=42
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 73:[68, 64], Operations: ['2*19=38', '26+38=64']
Exploring Operation: 68*64=4352, Resulting Numbers: [4352]
4352,73 unequal: No Solution
Exploring Operation: 68-64=4, Resulting Numbers: [4]
4,73 unequal: No Solution
Exploring Operation: 68+64=132, Resulting Numbers: [132]
132,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 73:[38, 94], Operations: ['2*19=38', '26+68=94']
Exploring Operation: 38+94=132, Resulting Numbers: [132]
132,73 unequal: No Solution
Exploring Operation: 94-38=56, Resulting Numbers: [56]
56,73 unequal: No Solution
Exploring Operation: 38*94=3572, Resulting Numbers: [3572]
3572,73 unequal: No Solution
No 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: 73:[68, 12], Operations: ['2*19=38', '38-26=12']
Exploring Operation: 68+12=80, Resulting Numbers: [80]
80,73 unequal: No Solution
Exploring Operation: 68-12=56, Resulting Numbers: [56]
56,73 unequal: No Solution
Exploring Operation: 68*12=816, Resulting Numbers: [816]
816,73 unequal: No Solution
No 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: 73:[38, 42], Operations: ['2*19=38', '68-26=42']
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,73 unequal: No Solution
Exploring Operation: 38*42=1596, Resulting Numbers: [1596]
1596,73 unequal: No Solution
Exploring Operation: 38+42=80, Resulting Numbers: [80]
80,73 unequal: No Solution
No 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: 73:[26, 106], Operations: ['2*19=38', '68+38=106']
Exploring Operation: 26+106=132, Resulting Numbers: [132]
132,73 unequal: No Solution
Exploring Operation: 26*106=2756, Resulting Numbers: [2756]
2756,73 unequal: No Solution
Exploring Operation: 106-26=80, Resulting Numbers: [80]
80,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[26, 68, 21], Operations: ['2+19=21']
Exploring Operation: 26+21=47, Resulting Numbers: [68, 47]
Generated Node #0,0,0: 73:[68, 47] Operation: 26+21=47
Exploring Operation: 26+68=94, Resulting Numbers: [21, 94]
Generated Node #0,0,1: 73:[21, 94] Operation: 26+68=94
Exploring Operation: 26-21=5, Resulting Numbers: [68, 5]
Generated Node #0,0,2: 73:[68, 5] Operation: 26-21=5
Exploring Operation: 68-21=47, Resulting Numbers: [26, 47]
Generated Node #0,0,3: 73:[26, 47] Operation: 68-21=47
Exploring Operation: 68+21=89, Resulting Numbers: [26, 89]
Generated Node #0,0,4: 73:[26, 89] Operation: 68+21=89
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[68, 47], Operations: ['2+19=21', '26+21=47']
Exploring Operation: 68-47=21, Resulting Numbers: [21]
21,73 unequal: No Solution
Exploring Operation: 68*47=3196, Resulting Numbers: [3196]
3196,73 unequal: No Solution
Exploring Operation: 68+47=115, Resulting Numbers: [115]
115,73 unequal: No Solution
No 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: 73:[26, 89], Operations: ['2+19=21', '68+21=89']
Exploring Operation: 26+89=115, Resulting Numbers: [115]
115,73 unequal: No Solution
Exploring Operation: 26*89=2314, Resulting Numbers: [2314]
2314,73 unequal: No Solution
Exploring Operation: 89-26=63, Resulting Numbers: [63]
63,73 unequal: No Solution
No 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: 73:[21, 94], Operations: ['2+19=21', '26+68=94']
Exploring Operation: 21*94=1974, Resulting Numbers: [1974]
1974,73 unequal: No Solution
Exploring Operation: 21+94=115, Resulting Numbers: [115]
115,73 unequal: No Solution
Exploring Operation: 94-21=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[2, 19, 26, 68], Operations: []
Exploring Operation: 2+19=21, Resulting Numbers: [26, 68, 21]
Generated Node #0,0: 73:[26, 68, 21] Operation: 2+19=21
Moving to Node #0,0
Current State: 73:[26, 68, 21], Operations: ['2+19=21']
Exploring Operation: 26+68=94, Resulting Numbers: [21, 94]
Generated Node #0,0,1: 73:[21, 94] Operation: 26+68=94
Moving to Node #0,0,1
Current State: 73:[21, 94], Operations: ['2+19=21', '26+68=94']
Exploring Operation: 94-21=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.945313 | hs_5 | mult_heuristic |
[
11,
20,
60,
63
] | 53 | [
"20-11=9",
"63/9=7",
"60-7=53"
] | Current State: 53:[11, 20, 60, 63], Operations: []
Exploring Operation: 20-11=9, Resulting Numbers: [60, 63, 9]
Generated Node #2: [60, 63, 9] from Operation: 20-11=9
Current State: 53:[60, 63, 9], Operations: ['20-11=9']
Exploring Operation: 63/9=7, Resulting Numbers: [60, 7]
Generated Node #3: [60, 7] from Operation: 63/9=7
Current State: 53:[60, 7], Operations: ['20-11=9', '63/9=7']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[11, 20, 60, 63], Operations: []
Exploring Operation: 60-11=49, Resulting Numbers: [20, 63, 49]
Generated Node #0,0: 53:[20, 63, 49] Operation: 60-11=49
Exploring Operation: 63-11=52, Resulting Numbers: [20, 60, 52]
Generated Node #0,1: 53:[20, 60, 52] Operation: 63-11=52
Exploring Operation: 63-20=43, Resulting Numbers: [11, 60, 43]
Generated Node #0,2: 53:[11, 60, 43] Operation: 63-20=43
Exploring Operation: 11+20=31, Resulting Numbers: [60, 63, 31]
Generated Node #0,3: 53:[60, 63, 31] Operation: 11+20=31
Moving to Node #0,3
Current State: 53:[60, 63, 31], Operations: ['11+20=31']
Exploring Operation: 63+31=94, Resulting Numbers: [60, 94]
Generated Node #0,3,0: 53:[60, 94] Operation: 63+31=94
Exploring Operation: 60-31=29, Resulting Numbers: [63, 29]
Generated Node #0,3,1: 53:[63, 29] Operation: 60-31=29
Exploring Operation: 60+31=91, Resulting Numbers: [63, 91]
Generated Node #0,3,2: 53:[63, 91] Operation: 60+31=91
Exploring Operation: 63-31=32, Resulting Numbers: [60, 32]
Generated Node #0,3,3: 53:[60, 32] Operation: 63-31=32
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 53:[60, 32], Operations: ['11+20=31', '63-31=32']
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 60+32=92, Resulting Numbers: [92]
92,53 unequal: No Solution
Exploring Operation: 60*32=1920, Resulting Numbers: [1920]
1920,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 53:[63, 29], Operations: ['11+20=31', '60-31=29']
Exploring Operation: 63+29=92, Resulting Numbers: [92]
92,53 unequal: No Solution
Exploring Operation: 63*29=1827, Resulting Numbers: [1827]
1827,53 unequal: No Solution
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 53:[60, 94], Operations: ['11+20=31', '63+31=94']
Exploring Operation: 94-60=34, Resulting Numbers: [34]
34,53 unequal: No Solution
Exploring Operation: 60*94=5640, Resulting Numbers: [5640]
5640,53 unequal: No Solution
Exploring Operation: 60+94=154, Resulting Numbers: [154]
154,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 53:[63, 91], Operations: ['11+20=31', '60+31=91']
Exploring Operation: 63+91=154, Resulting Numbers: [154]
154,53 unequal: No Solution
Exploring Operation: 63*91=5733, Resulting Numbers: [5733]
5733,53 unequal: No Solution
Exploring Operation: 91-63=28, Resulting Numbers: [28]
28,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 53:[20, 60, 52], Operations: ['63-11=52']
Exploring Operation: 20+60=80, Resulting Numbers: [52, 80]
Generated Node #0,1,0: 53:[52, 80] Operation: 20+60=80
Exploring Operation: 60-20=40, Resulting Numbers: [52, 40]
Generated Node #0,1,1: 53:[52, 40] Operation: 60-20=40
Exploring Operation: 52-20=32, Resulting Numbers: [60, 32]
Generated Node #0,1,2: 53:[60, 32] Operation: 52-20=32
Exploring Operation: 20+52=72, Resulting Numbers: [60, 72]
Generated Node #0,1,3: 53:[60, 72] Operation: 20+52=72
Moving to Node #0,0
Current State: 53:[20, 63, 49], Operations: ['60-11=49']
Exploring Operation: 49-20=29, Resulting Numbers: [63, 29]
Generated Node #0,0,0: 53:[63, 29] Operation: 49-20=29
Exploring Operation: 20+63=83, Resulting Numbers: [49, 83]
Generated Node #0,0,1: 53:[49, 83] Operation: 20+63=83
Exploring Operation: 20+49=69, Resulting Numbers: [63, 69]
Generated Node #0,0,2: 53:[63, 69] Operation: 20+49=69
Exploring Operation: 63-20=43, Resulting Numbers: [49, 43]
Generated Node #0,0,3: 53:[49, 43] Operation: 63-20=43
Moving to Node #0,2
Current State: 53:[11, 60, 43], Operations: ['63-20=43']
Exploring Operation: 60-11=49, Resulting Numbers: [43, 49]
Generated Node #0,2,0: 53:[43, 49] Operation: 60-11=49
Exploring Operation: 11+43=54, Resulting Numbers: [60, 54]
Generated Node #0,2,1: 53:[60, 54] Operation: 11+43=54
Exploring Operation: 43-11=32, Resulting Numbers: [60, 32]
Generated Node #0,2,2: 53:[60, 32] Operation: 43-11=32
Exploring Operation: 11+60=71, Resulting Numbers: [43, 71]
Generated Node #0,2,3: 53:[43, 71] Operation: 11+60=71
Moving to Node #0,2,1
Current State: 53:[60, 54], Operations: ['63-20=43', '11+43=54']
Exploring Operation: 60+54=114, Resulting Numbers: [114]
114,53 unequal: No Solution
Exploring Operation: 60*54=3240, Resulting Numbers: [3240]
3240,53 unequal: No Solution
Exploring Operation: 60-54=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[52, 40], Operations: ['63-11=52', '60-20=40']
Exploring Operation: 52-40=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Exploring Operation: 52+40=92, Resulting Numbers: [92]
92,53 unequal: No Solution
Exploring Operation: 52*40=2080, Resulting Numbers: [2080]
2080,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[43, 49], Operations: ['63-20=43', '60-11=49']
Exploring Operation: 43*49=2107, Resulting Numbers: [2107]
2107,53 unequal: No Solution
Exploring Operation: 43+49=92, Resulting Numbers: [92]
92,53 unequal: No Solution
Exploring Operation: 49-43=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Moving to Node #0,0,3
Current State: 53:[49, 43], Operations: ['60-11=49', '63-20=43']
Exploring Operation: 49+43=92, Resulting Numbers: [92]
92,53 unequal: No Solution
Exploring Operation: 49*43=2107, Resulting Numbers: [2107]
2107,53 unequal: No Solution
Exploring Operation: 49-43=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[63, 69], Operations: ['60-11=49', '20+49=69']
Exploring Operation: 63+69=132, Resulting Numbers: [132]
132,53 unequal: No Solution
Exploring Operation: 69-63=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Exploring Operation: 63*69=4347, Resulting Numbers: [4347]
4347,53 unequal: No Solution
Moving to Node #0,1,3
Current State: 53:[60, 72], Operations: ['63-11=52', '20+52=72']
Exploring Operation: 72-60=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Exploring Operation: 60*72=4320, Resulting Numbers: [4320]
4320,53 unequal: No Solution
Exploring Operation: 60+72=132, Resulting Numbers: [132]
132,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[52, 80], Operations: ['63-11=52', '20+60=80']
Exploring Operation: 52*80=4160, Resulting Numbers: [4160]
4160,53 unequal: No Solution
Exploring Operation: 52+80=132, Resulting Numbers: [132]
132,53 unequal: No Solution
Exploring Operation: 80-52=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[60, 32], Operations: ['63-20=43', '43-11=32']
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 60*32=1920, Resulting Numbers: [1920]
1920,53 unequal: No Solution
Exploring Operation: 60+32=92, Resulting Numbers: [92]
92,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[43, 71], Operations: ['63-20=43', '11+60=71']
Exploring Operation: 71-43=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 43*71=3053, Resulting Numbers: [3053]
3053,53 unequal: No Solution
Exploring Operation: 43+71=114, Resulting Numbers: [114]
114,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[60, 32], Operations: ['63-11=52', '52-20=32']
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 60*32=1920, Resulting Numbers: [1920]
1920,53 unequal: No Solution
Exploring Operation: 60+32=92, Resulting Numbers: [92]
92,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[49, 83], Operations: ['60-11=49', '20+63=83']
Exploring Operation: 83-49=34, Resulting Numbers: [34]
34,53 unequal: No Solution
Exploring Operation: 49*83=4067, Resulting Numbers: [4067]
4067,53 unequal: No Solution
Exploring Operation: 49+83=132, Resulting Numbers: [132]
132,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[63, 29], Operations: ['60-11=49', '49-20=29']
Exploring Operation: 63+29=92, Resulting Numbers: [92]
92,53 unequal: No Solution
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,53 unequal: No Solution
Exploring Operation: 63*29=1827, Resulting Numbers: [1827]
1827,53 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
14,
20,
50,
44
] | 40 | [
"14+20=34",
"50-44=6",
"34+6=40"
] | Current State: 40:[14, 20, 50, 44], Operations: []
Exploring Operation: 14+20=34, Resulting Numbers: [50, 44, 34]
Generated Node #2: [50, 44, 34] from Operation: 14+20=34
Current State: 40:[50, 44, 34], Operations: ['14+20=34']
Exploring Operation: 50-44=6, Resulting Numbers: [34, 6]
Generated Node #3: [34, 6] from Operation: 50-44=6
Current State: 40:[34, 6], Operations: ['14+20=34', '50-44=6']
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[14, 20, 50, 44], Operations: []
Exploring Operation: 20-14=6, Resulting Numbers: [50, 44, 6]
Generated Node #0,0: 40:[50, 44, 6] Operation: 20-14=6
Exploring Operation: 50-44=6, Resulting Numbers: [14, 20, 6]
Generated Node #0,1: 40:[14, 20, 6] Operation: 50-44=6
Exploring Operation: 50-14=36, Resulting Numbers: [20, 44, 36]
Generated Node #0,2: 40:[20, 44, 36] Operation: 50-14=36
Moving to Node #0,1
Current State: 40:[14, 20, 6], Operations: ['50-44=6']
Exploring Operation: 14-6=8, Resulting Numbers: [20, 8]
Generated Node #0,1,0: 40:[20, 8] Operation: 14-6=8
Exploring Operation: 14+6=20, Resulting Numbers: [20, 20]
Generated Node #0,1,1: 40:[20, 20] Operation: 14+6=20
Exploring Operation: 20-14=6, Resulting Numbers: [6, 6]
Generated Node #0,1,2: 40:[6, 6] Operation: 20-14=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 40:[20, 8], Operations: ['50-44=6', '14-6=8']
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,40 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,40 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,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:[20, 20], Operations: ['50-44=6', '14+6=20']
Exploring Operation: 20/20=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 20+20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[14, 20, 50, 44], Operations: []
Exploring Operation: 50-44=6, Resulting Numbers: [14, 20, 6]
Generated Node #0,1: 40:[14, 20, 6] Operation: 50-44=6
Moving to Node #0,1
Current State: 40:[14, 20, 6], Operations: ['50-44=6']
Exploring Operation: 14+6=20, Resulting Numbers: [20, 20]
Generated Node #0,1,1: 40:[20, 20] Operation: 14+6=20
Moving to Node #0,1,1
Current State: 40:[20, 20], Operations: ['50-44=6', '14+6=20']
Exploring Operation: 20+20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
53,
54,
6,
96
] | 78 | [
"54+96=150",
"150/6=25",
"53+25=78"
] | Current State: 78:[53, 54, 6, 96], Operations: []
Exploring Operation: 54+96=150, Resulting Numbers: [53, 6, 150]
Generated Node #2: [53, 6, 150] from Operation: 54+96=150
Current State: 78:[53, 6, 150], Operations: ['54+96=150']
Exploring Operation: 150/6=25, Resulting Numbers: [53, 25]
Generated Node #3: [53, 25] from Operation: 150/6=25
Current State: 78:[53, 25], Operations: ['54+96=150', '150/6=25']
Exploring Operation: 53+25=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[53, 54, 6, 96], Operations: []
Exploring Operation: 96-53=43, Resulting Numbers: [54, 6, 43]
Generated Node #0,0: 78:[54, 6, 43] Operation: 96-53=43
Exploring Operation: 96-54=42, Resulting Numbers: [53, 6, 42]
Generated Node #0,1: 78:[53, 6, 42] Operation: 96-54=42
Exploring Operation: 96/6=16, Resulting Numbers: [53, 54, 16]
Generated Node #0,2: 78:[53, 54, 16] Operation: 96/6=16
Exploring Operation: 54-53=1, Resulting Numbers: [6, 96, 1]
Generated Node #0,3: 78:[6, 96, 1] Operation: 54-53=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[53, 6, 42], Operations: ['96-54=42']
Exploring Operation: 53-6=47, Resulting Numbers: [42, 47]
Generated Node #0,1,0: 78:[42, 47] Operation: 53-6=47
Exploring Operation: 53-42=11, Resulting Numbers: [6, 11]
Generated Node #0,1,1: 78:[6, 11] Operation: 53-42=11
Exploring Operation: 42/6=7, Resulting Numbers: [53, 7]
Generated Node #0,1,2: 78:[53, 7] Operation: 42/6=7
Exploring Operation: 53+42=95, Resulting Numbers: [6, 95]
Generated Node #0,1,3: 78:[6, 95] Operation: 53+42=95
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 78:[6, 11], Operations: ['96-54=42', '53-42=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,78 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 78:[42, 47], Operations: ['96-54=42', '53-6=47']
Exploring Operation: 42+47=89, Resulting Numbers: [89]
89,78 unequal: No Solution
Exploring Operation: 42*47=1974, Resulting Numbers: [1974]
1974,78 unequal: No Solution
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 78:[53, 7], Operations: ['96-54=42', '42/6=7']
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,78 unequal: No Solution
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,78 unequal: No Solution
Exploring Operation: 53*7=371, Resulting Numbers: [371]
371,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 78:[6, 95], Operations: ['96-54=42', '53+42=95']
Exploring Operation: 6*95=570, Resulting Numbers: [570]
570,78 unequal: No Solution
Exploring Operation: 6+95=101, Resulting Numbers: [101]
101,78 unequal: No Solution
Exploring Operation: 95-6=89, Resulting Numbers: [89]
89,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[54, 6, 43], Operations: ['96-53=43']
Exploring Operation: 54/6=9, Resulting Numbers: [43, 9]
Generated Node #0,0,0: 78:[43, 9] Operation: 54/6=9
Exploring Operation: 54-43=11, Resulting Numbers: [6, 11]
Generated Node #0,0,1: 78:[6, 11] Operation: 54-43=11
Exploring Operation: 54-6=48, Resulting Numbers: [43, 48]
Generated Node #0,0,2: 78:[43, 48] Operation: 54-6=48
Exploring Operation: 43-6=37, Resulting Numbers: [54, 37]
Generated Node #0,0,3: 78:[54, 37] Operation: 43-6=37
Moving to Node #0,0,1
Current State: 78:[6, 11], Operations: ['96-53=43', '54-43=11']
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,78 unequal: No Solution
Moving to Node #0,0,0
Current State: 78:[43, 9], Operations: ['96-53=43', '54/6=9']
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 43+9=52, Resulting Numbers: [52]
52,78 unequal: No Solution
Exploring Operation: 43*9=387, Resulting Numbers: [387]
387,78 unequal: No Solution
Moving to Node #0,0,2
Current State: 78:[43, 48], Operations: ['96-53=43', '54-6=48']
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 43*48=2064, Resulting Numbers: [2064]
2064,78 unequal: No Solution
Exploring Operation: 43+48=91, Resulting Numbers: [91]
91,78 unequal: No Solution
Moving to Node #0,0,3
Current State: 78:[54, 37], Operations: ['96-53=43', '43-6=37']
Exploring Operation: 54*37=1998, Resulting Numbers: [1998]
1998,78 unequal: No Solution
Exploring Operation: 54+37=91, Resulting Numbers: [91]
91,78 unequal: No Solution
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,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,3
Current State: 78:[6, 96, 1], Operations: ['54-53=1']
Exploring Operation: 96-6=90, Resulting Numbers: [1, 90]
Generated Node #0,3,0: 78:[1, 90] Operation: 96-6=90
Exploring Operation: 6*1=6, Resulting Numbers: [96, 6]
Generated Node #0,3,1: 78:[96, 6] Operation: 6*1=6
Exploring Operation: 96/6=16, Resulting Numbers: [1, 16]
Generated Node #0,3,2: 78:[1, 16] Operation: 96/6=16
Exploring Operation: 96-1=95, Resulting Numbers: [6, 95]
Generated Node #0,3,3: 78:[6, 95] Operation: 96-1=95
Moving to Node #0,3,2
Current State: 78:[1, 16], Operations: ['54-53=1', '96/6=16']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,78 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,78 unequal: No Solution
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,78 unequal: No Solution
Exploring Operation: 1+16=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Moving to Node #0,3,0
Current State: 78:[1, 90], Operations: ['54-53=1', '96-6=90']
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,78 unequal: No Solution
Exploring Operation: 90/1=90, Resulting Numbers: [90]
90,78 unequal: No Solution
Exploring Operation: 1*90=90, Resulting Numbers: [90]
90,78 unequal: No Solution
Exploring Operation: 1+90=91, Resulting Numbers: [91]
91,78 unequal: No Solution
Moving to Node #0,3,3
Current State: 78:[6, 95], Operations: ['54-53=1', '96-1=95']
Exploring Operation: 6+95=101, Resulting Numbers: [101]
101,78 unequal: No Solution
Exploring Operation: 95-6=89, Resulting Numbers: [89]
89,78 unequal: No Solution
Exploring Operation: 6*95=570, Resulting Numbers: [570]
570,78 unequal: No Solution
Moving to Node #0,3,1
Current State: 78:[96, 6], Operations: ['54-53=1', '6*1=6']
Exploring Operation: 96-6=90, Resulting Numbers: [90]
90,78 unequal: No Solution
Exploring Operation: 96*6=576, Resulting Numbers: [576]
576,78 unequal: No Solution
Exploring Operation: 96+6=102, Resulting Numbers: [102]
102,78 unequal: No Solution
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,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,2
Current State: 78:[53, 54, 16], Operations: ['96/6=16']
Exploring Operation: 54-16=38, Resulting Numbers: [53, 38]
Generated Node #0,2,0: 78:[53, 38] Operation: 54-16=38
Exploring Operation: 54-53=1, Resulting Numbers: [16, 1]
Generated Node #0,2,1: 78:[16, 1] Operation: 54-53=1
Exploring Operation: 54+16=70, Resulting Numbers: [53, 70]
Generated Node #0,2,2: 78:[53, 70] Operation: 54+16=70
Exploring Operation: 53-16=37, Resulting Numbers: [54, 37]
Generated Node #0,2,3: 78:[54, 37] Operation: 53-16=37
Moving to Node #0,2,1
Current State: 78:[16, 1], Operations: ['96/6=16', '54-53=1']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,78 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,78 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,78 unequal: No Solution
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Moving to Node #0,2,0
Current State: 78:[53, 38], Operations: ['96/6=16', '54-16=38']
Exploring Operation: 53-38=15, Resulting Numbers: [15]
15,78 unequal: No Solution
Exploring Operation: 53+38=91, Resulting Numbers: [91]
91,78 unequal: No Solution
Exploring Operation: 53*38=2014, Resulting Numbers: [2014]
2014,78 unequal: No Solution
Moving to Node #0,2,3
Current State: 78:[54, 37], Operations: ['96/6=16', '53-16=37']
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Exploring Operation: 54*37=1998, Resulting Numbers: [1998]
1998,78 unequal: No Solution
Exploring Operation: 54+37=91, Resulting Numbers: [91]
91,78 unequal: No Solution
Moving to Node #0,2,2
Current State: 78:[53, 70], Operations: ['96/6=16', '54+16=70']
Exploring Operation: 53*70=3710, Resulting Numbers: [3710]
3710,78 unequal: No Solution
Exploring Operation: 53+70=123, Resulting Numbers: [123]
123,78 unequal: No Solution
Exploring Operation: 70-53=17, Resulting Numbers: [17]
17,78 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 |
[
61,
67,
61,
84
] | 84 | [
"61-61=0",
"67*0=0",
"84+0=84"
] | Current State: 84:[61, 67, 61, 84], Operations: []
Exploring Operation: 61-61=0, Resulting Numbers: [67, 84, 0]
Generated Node #2: [67, 84, 0] from Operation: 61-61=0
Current State: 84:[67, 84, 0], Operations: ['61-61=0']
Exploring Operation: 67*0=0, Resulting Numbers: [84, 0]
Generated Node #3: [84, 0] from Operation: 67*0=0
Current State: 84:[84, 0], Operations: ['61-61=0', '67*0=0']
Exploring Operation: 84+0=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[61, 67, 61, 84], Operations: []
Exploring Operation: 61/61=1, Resulting Numbers: [67, 84, 1]
Generated Node #0,0: 84:[67, 84, 1] Operation: 61/61=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[67, 84, 1], Operations: ['61/61=1']
Exploring Operation: 84-67=17, Resulting Numbers: [1, 17]
Generated Node #0,0,0: 84:[1, 17] Operation: 84-67=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[1, 17], Operations: ['61/61=1', '84-67=17']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,84 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 |
[
5,
71,
34,
36
] | 57 | [
"71+34=105",
"105/5=21",
"36+21=57"
] | Current State: 57:[5, 71, 34, 36], Operations: []
Exploring Operation: 71+34=105, Resulting Numbers: [5, 36, 105]
Generated Node #2: [5, 36, 105] from Operation: 71+34=105
Current State: 57:[5, 36, 105], Operations: ['71+34=105']
Exploring Operation: 105/5=21, Resulting Numbers: [36, 21]
Generated Node #3: [36, 21] from Operation: 105/5=21
Current State: 57:[36, 21], Operations: ['71+34=105', '105/5=21']
Exploring Operation: 36+21=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[5, 71, 34, 36], Operations: []
Exploring Operation: 71-34=37, Resulting Numbers: [5, 36, 37]
Generated Node #0,0: 57:[5, 36, 37] Operation: 71-34=37
Exploring Operation: 71-5=66, Resulting Numbers: [34, 36, 66]
Generated Node #0,1: 57:[34, 36, 66] Operation: 71-5=66
Exploring Operation: 71-36=35, Resulting Numbers: [5, 34, 35]
Generated Node #0,2: 57:[5, 34, 35] Operation: 71-36=35
Exploring Operation: 34+36=70, Resulting Numbers: [5, 71, 70]
Generated Node #0,3: 57:[5, 71, 70] Operation: 34+36=70
Exploring Operation: 36-34=2, Resulting Numbers: [5, 71, 2]
Generated Node #0,4: 57:[5, 71, 2] Operation: 36-34=2
Moving to Node #0,4
Current State: 57:[5, 71, 2], Operations: ['36-34=2']
Exploring Operation: 5+2=7, Resulting Numbers: [71, 7]
Generated Node #0,4,0: 57:[71, 7] Operation: 5+2=7
Exploring Operation: 71-2=69, Resulting Numbers: [5, 69]
Generated Node #0,4,1: 57:[5, 69] Operation: 71-2=69
Exploring Operation: 71-5=66, Resulting Numbers: [2, 66]
Generated Node #0,4,2: 57:[2, 66] Operation: 71-5=66
Exploring Operation: 71+2=73, Resulting Numbers: [5, 73]
Generated Node #0,4,3: 57:[5, 73] Operation: 71+2=73
Exploring Operation: 5-2=3, Resulting Numbers: [71, 3]
Generated Node #0,4,4: 57:[71, 3] Operation: 5-2=3
Moving to Node #0,3
Current State: 57:[5, 71, 70], Operations: ['34+36=70']
Exploring Operation: 70/5=14, Resulting Numbers: [71, 14]
Generated Node #0,3,0: 57:[71, 14] Operation: 70/5=14
Exploring Operation: 71-5=66, Resulting Numbers: [70, 66]
Generated Node #0,3,1: 57:[70, 66] Operation: 71-5=66
Exploring Operation: 5+71=76, Resulting Numbers: [70, 76]
Generated Node #0,3,2: 57:[70, 76] Operation: 5+71=76
Exploring Operation: 71-70=1, Resulting Numbers: [5, 1]
Generated Node #0,3,3: 57:[5, 1] Operation: 71-70=1
Exploring Operation: 70-5=65, Resulting Numbers: [71, 65]
Generated Node #0,3,4: 57:[71, 65] Operation: 70-5=65
Moving to Node #0,2
Current State: 57:[5, 34, 35], Operations: ['71-36=35']
Exploring Operation: 34-5=29, Resulting Numbers: [35, 29]
Generated Node #0,2,0: 57:[35, 29] Operation: 34-5=29
Exploring Operation: 34+35=69, Resulting Numbers: [5, 69]
Generated Node #0,2,1: 57:[5, 69] Operation: 34+35=69
Exploring Operation: 35/5=7, Resulting Numbers: [34, 7]
Generated Node #0,2,2: 57:[34, 7] Operation: 35/5=7
Exploring Operation: 35-34=1, Resulting Numbers: [5, 1]
Generated Node #0,2,3: 57:[5, 1] Operation: 35-34=1
Exploring Operation: 35-5=30, Resulting Numbers: [34, 30]
Generated Node #0,2,4: 57:[34, 30] Operation: 35-5=30
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 57:[5, 1], Operations: ['71-36=35', '35-34=1']
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,57 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 57:[5, 69], Operations: ['71-36=35', '34+35=69']
Exploring Operation: 5+69=74, Resulting Numbers: [74]
74,57 unequal: No Solution
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 5*69=345, Resulting Numbers: [345]
345,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 57:[34, 7], Operations: ['71-36=35', '35/5=7']
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,57 unequal: No Solution
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,57 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 57:[35, 29], Operations: ['71-36=35', '34-5=29']
Exploring Operation: 35+29=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 35*29=1015, Resulting Numbers: [1015]
1015,57 unequal: No Solution
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 57:[34, 30], Operations: ['71-36=35', '35-5=30']
Exploring Operation: 34+30=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 34*30=1020, Resulting Numbers: [1020]
1020,57 unequal: No Solution
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 57:[5, 36, 37], Operations: ['71-34=37']
Exploring Operation: 36-5=31, Resulting Numbers: [37, 31]
Generated Node #0,0,0: 57:[37, 31] Operation: 36-5=31
Exploring Operation: 37-36=1, Resulting Numbers: [5, 1]
Generated Node #0,0,1: 57:[5, 1] Operation: 37-36=1
Exploring Operation: 37-5=32, Resulting Numbers: [36, 32]
Generated Node #0,0,2: 57:[36, 32] Operation: 37-5=32
Exploring Operation: 5+37=42, Resulting Numbers: [36, 42]
Generated Node #0,0,3: 57:[36, 42] Operation: 5+37=42
Exploring Operation: 36+37=73, Resulting Numbers: [5, 73]
Generated Node #0,0,4: 57:[5, 73] Operation: 36+37=73
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 57:[5, 1], Operations: ['71-34=37', '37-36=1']
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,57 unequal: No Solution
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 57:[5, 73], Operations: ['71-34=37', '36+37=73']
Exploring Operation: 5+73=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 5*73=365, Resulting Numbers: [365]
365,57 unequal: No Solution
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[37, 31], Operations: ['71-34=37', '36-5=31']
Exploring Operation: 37*31=1147, Resulting Numbers: [1147]
1147,57 unequal: No Solution
Exploring Operation: 37+31=68, Resulting Numbers: [68]
68,57 unequal: No Solution
Exploring Operation: 37-31=6, Resulting Numbers: [6]
6,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 57:[36, 32], Operations: ['71-34=37', '37-5=32']
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 36+32=68, Resulting Numbers: [68]
68,57 unequal: No Solution
Exploring Operation: 36*32=1152, Resulting Numbers: [1152]
1152,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 57:[36, 42], Operations: ['71-34=37', '5+37=42']
Exploring Operation: 42-36=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 36+42=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 36*42=1512, Resulting Numbers: [1512]
1512,57 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: 57:[34, 36, 66], Operations: ['71-5=66']
Exploring Operation: 36-34=2, Resulting Numbers: [66, 2]
Generated Node #0,1,0: 57:[66, 2] Operation: 36-34=2
Exploring Operation: 66-34=32, Resulting Numbers: [36, 32]
Generated Node #0,1,1: 57:[36, 32] Operation: 66-34=32
Exploring Operation: 34+66=100, Resulting Numbers: [36, 100]
Generated Node #0,1,2: 57:[36, 100] Operation: 34+66=100
Exploring Operation: 66-36=30, Resulting Numbers: [34, 30]
Generated Node #0,1,3: 57:[34, 30] Operation: 66-36=30
Exploring Operation: 34+36=70, Resulting Numbers: [66, 70]
Generated Node #0,1,4: 57:[66, 70] Operation: 34+36=70
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 57:[66, 2], Operations: ['71-5=66', '36-34=2']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,57 unequal: No Solution
Exploring Operation: 66*2=132, Resulting Numbers: [132]
132,57 unequal: No Solution
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 57:[66, 70], Operations: ['71-5=66', '34+36=70']
Exploring Operation: 70-66=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 66*70=4620, Resulting Numbers: [4620]
4620,57 unequal: No Solution
Exploring Operation: 66+70=136, Resulting Numbers: [136]
136,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 57:[34, 30], Operations: ['71-5=66', '66-36=30']
Exploring Operation: 34*30=1020, Resulting Numbers: [1020]
1020,57 unequal: No Solution
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 34+30=64, Resulting Numbers: [64]
64,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 57:[36, 32], Operations: ['71-5=66', '66-34=32']
Exploring Operation: 36+32=68, Resulting Numbers: [68]
68,57 unequal: No Solution
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 36*32=1152, Resulting Numbers: [1152]
1152,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 57:[36, 100], Operations: ['71-5=66', '34+66=100']
Exploring Operation: 100-36=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 36*100=3600, Resulting Numbers: [3600]
3600,57 unequal: No Solution
Exploring Operation: 36+100=136, Resulting Numbers: [136]
136,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 57:[5, 1], Operations: ['34+36=70', '71-70=1']
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,57 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,57 unequal: No Solution
Moving to Node #0,4,2
Current State: 57:[2, 66], Operations: ['36-34=2', '71-5=66']
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,57 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 2*66=132, Resulting Numbers: [132]
132,57 unequal: No Solution
Moving to Node #0,4,4
Current State: 57:[71, 3], Operations: ['36-34=2', '5-2=3']
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,57 unequal: No Solution
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,57 unequal: No Solution
Exploring Operation: 71*3=213, Resulting Numbers: [213]
213,57 unequal: No Solution
Moving to Node #0,4,1
Current State: 57:[5, 69], Operations: ['36-34=2', '71-2=69']
Exploring Operation: 5*69=345, Resulting Numbers: [345]
345,57 unequal: No Solution
Exploring Operation: 5+69=74, Resulting Numbers: [74]
74,57 unequal: No Solution
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Moving to Node #0,4,3
Current State: 57:[5, 73], Operations: ['36-34=2', '71+2=73']
Exploring Operation: 5+73=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 5*73=365, Resulting Numbers: [365]
365,57 unequal: No Solution
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,57 unequal: No Solution
Moving to Node #0,4,0
Current State: 57:[71, 7], Operations: ['36-34=2', '5+2=7']
Exploring Operation: 71*7=497, Resulting Numbers: [497]
497,57 unequal: No Solution
Exploring Operation: 71+7=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Moving to Node #0,3,0
Current State: 57:[71, 14], Operations: ['34+36=70', '70/5=14']
Exploring Operation: 71+14=85, Resulting Numbers: [85]
85,57 unequal: No Solution
Exploring Operation: 71-14=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[5, 71, 34, 36], Operations: []
Exploring Operation: 34+36=70, Resulting Numbers: [5, 71, 70]
Generated Node #0,3: 57:[5, 71, 70] Operation: 34+36=70
Moving to Node #0,3
Current State: 57:[5, 71, 70], Operations: ['34+36=70']
Exploring Operation: 70/5=14, Resulting Numbers: [71, 14]
Generated Node #0,3,0: 57:[71, 14] Operation: 70/5=14
Moving to Node #0,3,0
Current State: 57:[71, 14], Operations: ['34+36=70', '70/5=14']
Exploring Operation: 71-14=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.909722 | hs_5 | mult_heuristic |
[
83,
5,
45,
58
] | 16 | [
"83-58=25",
"45/5=9",
"25-9=16"
] | Current State: 16:[83, 5, 45, 58], Operations: []
Exploring Operation: 83-58=25, Resulting Numbers: [5, 45, 25]
Generated Node #2: [5, 45, 25] from Operation: 83-58=25
Current State: 16:[5, 45, 25], Operations: ['83-58=25']
Exploring Operation: 45/5=9, Resulting Numbers: [25, 9]
Generated Node #3: [25, 9] from Operation: 45/5=9
Current State: 16:[25, 9], Operations: ['83-58=25', '45/5=9']
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[83, 5, 45, 58], Operations: []
Exploring Operation: 83-58=25, Resulting Numbers: [5, 45, 25]
Generated Node #0,0: 16:[5, 45, 25] Operation: 83-58=25
Moving to Node #0,0
Current State: 16:[5, 45, 25], Operations: ['83-58=25']
Exploring Operation: 45-25=20, Resulting Numbers: [5, 20]
Generated Node #0,0,0: 16:[5, 20] Operation: 45-25=20
Moving to Node #0,0,0
Current State: 16:[5, 20], Operations: ['83-58=25', '45-25=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,16 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
39,
49,
14,
2
] | 22 | [
"49-39=10",
"14-2=12",
"10+12=22"
] | Current State: 22:[39, 49, 14, 2], Operations: []
Exploring Operation: 49-39=10, Resulting Numbers: [14, 2, 10]
Generated Node #2: [14, 2, 10] from Operation: 49-39=10
Current State: 22:[14, 2, 10], Operations: ['49-39=10']
Exploring Operation: 14-2=12, Resulting Numbers: [10, 12]
Generated Node #3: [10, 12] from Operation: 14-2=12
Current State: 22:[10, 12], Operations: ['49-39=10', '14-2=12']
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[39, 49, 14, 2], Operations: []
Exploring Operation: 49-14=35, Resulting Numbers: [39, 2, 35]
Generated Node #0,0: 22:[39, 2, 35] Operation: 49-14=35
Exploring Operation: 49-39=10, Resulting Numbers: [14, 2, 10]
Generated Node #0,1: 22:[14, 2, 10] Operation: 49-39=10
Exploring Operation: 49-2=47, Resulting Numbers: [39, 14, 47]
Generated Node #0,2: 22:[39, 14, 47] Operation: 49-2=47
Exploring Operation: 39-2=37, Resulting Numbers: [49, 14, 37]
Generated Node #0,3: 22:[49, 14, 37] Operation: 39-2=37
Exploring Operation: 39-14=25, Resulting Numbers: [49, 2, 25]
Generated Node #0,4: 22:[49, 2, 25] Operation: 39-14=25
Moving to Node #0,1
Current State: 22:[14, 2, 10], Operations: ['49-39=10']
Exploring Operation: 2+10=12, Resulting Numbers: [14, 12]
Generated Node #0,1,0: 22:[14, 12] Operation: 2+10=12
Exploring Operation: 14-2=12, Resulting Numbers: [10, 12]
Generated Node #0,1,1: 22:[10, 12] Operation: 14-2=12
Exploring Operation: 14+10=24, Resulting Numbers: [2, 24]
Generated Node #0,1,2: 22:[2, 24] Operation: 14+10=24
Exploring Operation: 14/2=7, Resulting Numbers: [10, 7]
Generated Node #0,1,3: 22:[10, 7] Operation: 14/2=7
Exploring Operation: 14-10=4, Resulting Numbers: [2, 4]
Generated Node #0,1,4: 22:[2, 4] Operation: 14-10=4
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 22:[10, 12], Operations: ['49-39=10', '14-2=12']
Exploring Operation: 10*12=120, Resulting Numbers: [120]
120,22 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[39, 49, 14, 2], Operations: []
Exploring Operation: 49-39=10, Resulting Numbers: [14, 2, 10]
Generated Node #0,1: 22:[14, 2, 10] Operation: 49-39=10
Moving to Node #0,1
Current State: 22:[14, 2, 10], Operations: ['49-39=10']
Exploring Operation: 14-2=12, Resulting Numbers: [10, 12]
Generated Node #0,1,1: 22:[10, 12] Operation: 14-2=12
Moving to Node #0,1,1
Current State: 22:[10, 12], Operations: ['49-39=10', '14-2=12']
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
91,
6,
15,
55
] | 55 | [
"6*15=90",
"91-90=1",
"55*1=55"
] | Current State: 55:[91, 6, 15, 55], Operations: []
Exploring Operation: 6*15=90, Resulting Numbers: [91, 55, 90]
Generated Node #2: [91, 55, 90] from Operation: 6*15=90
Current State: 55:[91, 55, 90], Operations: ['6*15=90']
Exploring Operation: 91-90=1, Resulting Numbers: [55, 1]
Generated Node #3: [55, 1] from Operation: 91-90=1
Current State: 55:[55, 1], Operations: ['6*15=90', '91-90=1']
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[91, 6, 15, 55], Operations: []
Exploring Operation: 91-55=36, Resulting Numbers: [6, 15, 36]
Generated Node #0,0: 55:[6, 15, 36] Operation: 91-55=36
Exploring Operation: 91-6=85, Resulting Numbers: [15, 55, 85]
Generated Node #0,1: 55:[15, 55, 85] Operation: 91-6=85
Exploring Operation: 91-15=76, Resulting Numbers: [6, 55, 76]
Generated Node #0,2: 55:[6, 55, 76] Operation: 91-15=76
Moving to Node #0,2
Current State: 55:[6, 55, 76], Operations: ['91-15=76']
Exploring Operation: 76-6=70, Resulting Numbers: [55, 70]
Generated Node #0,2,0: 55:[55, 70] Operation: 76-6=70
Exploring Operation: 6+55=61, Resulting Numbers: [76, 61]
Generated Node #0,2,1: 55:[76, 61] Operation: 6+55=61
Exploring Operation: 76-55=21, Resulting Numbers: [6, 21]
Generated Node #0,2,2: 55:[6, 21] Operation: 76-55=21
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 55:[6, 21], Operations: ['91-15=76', '76-55=21']
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Exploring Operation: 6*21=126, Resulting Numbers: [126]
126,55 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 55:[55, 70], Operations: ['91-15=76', '76-6=70']
Exploring Operation: 70-55=15, Resulting Numbers: [15]
15,55 unequal: No Solution
Exploring Operation: 55*70=3850, Resulting Numbers: [3850]
3850,55 unequal: No Solution
Exploring Operation: 55+70=125, Resulting Numbers: [125]
125,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 55:[76, 61], Operations: ['91-15=76', '6+55=61']
Exploring Operation: 76-61=15, Resulting Numbers: [15]
15,55 unequal: No Solution
Exploring Operation: 76*61=4636, Resulting Numbers: [4636]
4636,55 unequal: No Solution
Exploring Operation: 76+61=137, Resulting Numbers: [137]
137,55 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: 55:[6, 15, 36], Operations: ['91-55=36']
Exploring Operation: 36-15=21, Resulting Numbers: [6, 21]
Generated Node #0,0,0: 55:[6, 21] Operation: 36-15=21
Exploring Operation: 15+36=51, Resulting Numbers: [6, 51]
Generated Node #0,0,1: 55:[6, 51] Operation: 15+36=51
Exploring Operation: 36/6=6, Resulting Numbers: [15, 6]
Generated Node #0,0,2: 55:[15, 6] Operation: 36/6=6
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 55:[6, 51], Operations: ['91-55=36', '15+36=51']
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,55 unequal: No Solution
Exploring Operation: 6*51=306, Resulting Numbers: [306]
306,55 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 55:[15, 6], Operations: ['91-55=36', '36/6=6']
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,55 unequal: No Solution
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,55 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[6, 21], Operations: ['91-55=36', '36-15=21']
Exploring Operation: 6*21=126, Resulting Numbers: [126]
126,55 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,55 unequal: No Solution
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,55 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: 55:[15, 55, 85], Operations: ['91-6=85']
Exploring Operation: 15+55=70, Resulting Numbers: [85, 70]
Generated Node #0,1,0: 55:[85, 70] Operation: 15+55=70
Exploring Operation: 85-55=30, Resulting Numbers: [15, 30]
Generated Node #0,1,1: 55:[15, 30] Operation: 85-55=30
Exploring Operation: 85-15=70, Resulting Numbers: [55, 70]
Generated Node #0,1,2: 55:[55, 70] Operation: 85-15=70
Moving to Node #0,1,2
Current State: 55:[55, 70], Operations: ['91-6=85', '85-15=70']
Exploring Operation: 70-55=15, Resulting Numbers: [15]
15,55 unequal: No Solution
Exploring Operation: 55*70=3850, Resulting Numbers: [3850]
3850,55 unequal: No Solution
Exploring Operation: 55+70=125, Resulting Numbers: [125]
125,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[15, 30], Operations: ['91-6=85', '85-55=30']
Exploring Operation: 30-15=15, Resulting Numbers: [15]
15,55 unequal: No Solution
Exploring Operation: 30/15=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 15+30=45, Resulting Numbers: [45]
45,55 unequal: No Solution
Moving to Node #0,1,0
Current State: 55:[85, 70], Operations: ['91-6=85', '15+55=70']
Exploring Operation: 85-70=15, Resulting Numbers: [15]
15,55 unequal: No Solution
Exploring Operation: 85+70=155, Resulting Numbers: [155]
155,55 unequal: No Solution
Exploring Operation: 85*70=5950, Resulting Numbers: [5950]
5950,55 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
84,
16,
75,
55
] | 62 | [
"84-16=68",
"75+55=130",
"130-68=62"
] | Current State: 62:[84, 16, 75, 55], Operations: []
Exploring Operation: 84-16=68, Resulting Numbers: [75, 55, 68]
Generated Node #2: [75, 55, 68] from Operation: 84-16=68
Current State: 62:[75, 55, 68], Operations: ['84-16=68']
Exploring Operation: 75+55=130, Resulting Numbers: [68, 130]
Generated Node #3: [68, 130] from Operation: 75+55=130
Current State: 62:[68, 130], Operations: ['84-16=68', '75+55=130']
Exploring Operation: 130-68=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[84, 16, 75, 55], Operations: []
Exploring Operation: 75-16=59, Resulting Numbers: [84, 55, 59]
Generated Node #0,0: 62:[84, 55, 59] Operation: 75-16=59
Exploring Operation: 55-16=39, Resulting Numbers: [84, 75, 39]
Generated Node #0,1: 62:[84, 75, 39] Operation: 55-16=39
Exploring Operation: 84-55=29, Resulting Numbers: [16, 75, 29]
Generated Node #0,2: 62:[16, 75, 29] Operation: 84-55=29
Exploring Operation: 84-16=68, Resulting Numbers: [75, 55, 68]
Generated Node #0,3: 62:[75, 55, 68] Operation: 84-16=68
Exploring Operation: 84-75=9, Resulting Numbers: [16, 55, 9]
Generated Node #0,4: 62:[16, 55, 9] Operation: 84-75=9
Moving to Node #0,3
Current State: 62:[75, 55, 68], Operations: ['84-16=68']
Exploring Operation: 55+68=123, Resulting Numbers: [75, 123]
Generated Node #0,3,0: 62:[75, 123] Operation: 55+68=123
Exploring Operation: 75+55=130, Resulting Numbers: [68, 130]
Generated Node #0,3,1: 62:[68, 130] Operation: 75+55=130
Exploring Operation: 68-55=13, Resulting Numbers: [75, 13]
Generated Node #0,3,2: 62:[75, 13] Operation: 68-55=13
Exploring Operation: 75-55=20, Resulting Numbers: [68, 20]
Generated Node #0,3,3: 62:[68, 20] Operation: 75-55=20
Exploring Operation: 75-68=7, Resulting Numbers: [55, 7]
Generated Node #0,3,4: 62:[55, 7] Operation: 75-68=7
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 62:[55, 7], Operations: ['84-16=68', '75-68=7']
Exploring Operation: 55+7=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[84, 16, 75, 55], Operations: []
Exploring Operation: 84-16=68, Resulting Numbers: [75, 55, 68]
Generated Node #0,3: 62:[75, 55, 68] Operation: 84-16=68
Moving to Node #0,3
Current State: 62:[75, 55, 68], Operations: ['84-16=68']
Exploring Operation: 75-68=7, Resulting Numbers: [55, 7]
Generated Node #0,3,4: 62:[55, 7] Operation: 75-68=7
Moving to Node #0,3,4
Current State: 62:[55, 7], Operations: ['84-16=68', '75-68=7']
Exploring Operation: 55+7=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
36,
71,
77,
84
] | 28 | [
"71-36=35",
"84-77=7",
"35-7=28"
] | Current State: 28:[36, 71, 77, 84], Operations: []
Exploring Operation: 71-36=35, Resulting Numbers: [77, 84, 35]
Generated Node #2: [77, 84, 35] from Operation: 71-36=35
Current State: 28:[77, 84, 35], Operations: ['71-36=35']
Exploring Operation: 84-77=7, Resulting Numbers: [35, 7]
Generated Node #3: [35, 7] from Operation: 84-77=7
Current State: 28:[35, 7], Operations: ['71-36=35', '84-77=7']
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[36, 71, 77, 84], Operations: []
Exploring Operation: 84-71=13, Resulting Numbers: [36, 77, 13]
Generated Node #0,0: 28:[36, 77, 13] Operation: 84-71=13
Exploring Operation: 84-77=7, Resulting Numbers: [36, 71, 7]
Generated Node #0,1: 28:[36, 71, 7] Operation: 84-77=7
Exploring Operation: 71-36=35, Resulting Numbers: [77, 84, 35]
Generated Node #0,2: 28:[77, 84, 35] Operation: 71-36=35
Exploring Operation: 77-71=6, Resulting Numbers: [36, 84, 6]
Generated Node #0,3: 28:[36, 84, 6] Operation: 77-71=6
Exploring Operation: 77-36=41, Resulting Numbers: [71, 84, 41]
Generated Node #0,4: 28:[71, 84, 41] Operation: 77-36=41
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[36, 71, 7], Operations: ['84-77=7']
Exploring Operation: 71-7=64, Resulting Numbers: [36, 64]
Generated Node #0,1,0: 28:[36, 64] Operation: 71-7=64
Exploring Operation: 71+7=78, Resulting Numbers: [36, 78]
Generated Node #0,1,1: 28:[36, 78] Operation: 71+7=78
Exploring Operation: 36+7=43, Resulting Numbers: [71, 43]
Generated Node #0,1,2: 28:[71, 43] Operation: 36+7=43
Exploring Operation: 36-7=29, Resulting Numbers: [71, 29]
Generated Node #0,1,3: 28:[71, 29] Operation: 36-7=29
Exploring Operation: 71-36=35, Resulting Numbers: [7, 35]
Generated Node #0,1,4: 28:[7, 35] Operation: 71-36=35
Moving to Node #0,1,4
Current State: 28:[7, 35], Operations: ['84-77=7', '71-36=35']
Exploring Operation: 7*35=245, Resulting Numbers: [245]
245,28 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[36, 71, 77, 84], Operations: []
Exploring Operation: 84-77=7, Resulting Numbers: [36, 71, 7]
Generated Node #0,1: 28:[36, 71, 7] Operation: 84-77=7
Moving to Node #0,1
Current State: 28:[36, 71, 7], Operations: ['84-77=7']
Exploring Operation: 71-36=35, Resulting Numbers: [7, 35]
Generated Node #0,1,4: 28:[7, 35] Operation: 71-36=35
Moving to Node #0,1,4
Current State: 28:[7, 35], Operations: ['84-77=7', '71-36=35']
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
21,
58,
52,
2
] | 43 | [
"21+52=73",
"58*2=116",
"116-73=43"
] | Current State: 43:[21, 58, 52, 2], Operations: []
Exploring Operation: 21+52=73, Resulting Numbers: [58, 2, 73]
Generated Node #2: [58, 2, 73] from Operation: 21+52=73
Current State: 43:[58, 2, 73], Operations: ['21+52=73']
Exploring Operation: 58*2=116, Resulting Numbers: [73, 116]
Generated Node #3: [73, 116] from Operation: 58*2=116
Current State: 43:[73, 116], Operations: ['21+52=73', '58*2=116']
Exploring Operation: 116-73=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[21, 58, 52, 2], Operations: []
Exploring Operation: 58/2=29, Resulting Numbers: [21, 52, 29]
Generated Node #0,0: 43:[21, 52, 29] Operation: 58/2=29
Exploring Operation: 21+2=23, Resulting Numbers: [58, 52, 23]
Generated Node #0,1: 43:[58, 52, 23] Operation: 21+2=23
Exploring Operation: 58-2=56, Resulting Numbers: [21, 52, 56]
Generated Node #0,2: 43:[21, 52, 56] Operation: 58-2=56
Exploring Operation: 21*2=42, Resulting Numbers: [58, 52, 42]
Generated Node #0,3: 43:[58, 52, 42] Operation: 21*2=42
Exploring Operation: 52-2=50, Resulting Numbers: [21, 58, 50]
Generated Node #0,4: 43:[21, 58, 50] Operation: 52-2=50
Start Sub Search at level 1: Moving to Node #0,3
Current State: 43:[58, 52, 42], Operations: ['21*2=42']
Exploring Operation: 52+42=94, Resulting Numbers: [58, 94]
Generated Node #0,3,0: 43:[58, 94] Operation: 52+42=94
Exploring Operation: 58-52=6, Resulting Numbers: [42, 6]
Generated Node #0,3,1: 43:[42, 6] Operation: 58-52=6
Exploring Operation: 58-42=16, Resulting Numbers: [52, 16]
Generated Node #0,3,2: 43:[52, 16] Operation: 58-42=16
Exploring Operation: 58+42=100, Resulting Numbers: [52, 100]
Generated Node #0,3,3: 43:[52, 100] Operation: 58+42=100
Exploring Operation: 52-42=10, Resulting Numbers: [58, 10]
Generated Node #0,3,4: 43:[58, 10] Operation: 52-42=10
Moving to Node #0,3,2
Current State: 43:[52, 16], Operations: ['21*2=42', '58-42=16']
Exploring Operation: 52+16=68, Resulting Numbers: [68]
68,43 unequal: No Solution
Exploring Operation: 52*16=832, Resulting Numbers: [832]
832,43 unequal: No Solution
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Moving to Node #0,3,1
Current State: 43:[42, 6], Operations: ['21*2=42', '58-52=6']
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 42*6=252, Resulting Numbers: [252]
252,43 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,43 unequal: No Solution
Moving to Node #0,3,4
Current State: 43:[58, 10], Operations: ['21*2=42', '52-42=10']
Exploring Operation: 58*10=580, Resulting Numbers: [580]
580,43 unequal: No Solution
Exploring Operation: 58+10=68, Resulting Numbers: [68]
68,43 unequal: No Solution
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,43 unequal: No Solution
Moving to Node #0,3,0
Current State: 43:[58, 94], Operations: ['21*2=42', '52+42=94']
Exploring Operation: 94-58=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Exploring Operation: 58*94=5452, Resulting Numbers: [5452]
5452,43 unequal: No Solution
Exploring Operation: 58+94=152, Resulting Numbers: [152]
152,43 unequal: No Solution
Moving to Node #0,3,3
Current State: 43:[52, 100], Operations: ['21*2=42', '58+42=100']
Exploring Operation: 100-52=48, Resulting Numbers: [48]
48,43 unequal: No Solution
Exploring Operation: 52*100=5200, Resulting Numbers: [5200]
5200,43 unequal: No Solution
Exploring Operation: 52+100=152, Resulting Numbers: [152]
152,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:[58, 52, 23], Operations: ['21+2=23']
Exploring Operation: 58+23=81, Resulting Numbers: [52, 81]
Generated Node #0,1,0: 43:[52, 81] Operation: 58+23=81
Exploring Operation: 58-52=6, Resulting Numbers: [23, 6]
Generated Node #0,1,1: 43:[23, 6] Operation: 58-52=6
Exploring Operation: 52+23=75, Resulting Numbers: [58, 75]
Generated Node #0,1,2: 43:[58, 75] Operation: 52+23=75
Exploring Operation: 52-23=29, Resulting Numbers: [58, 29]
Generated Node #0,1,3: 43:[58, 29] Operation: 52-23=29
Exploring Operation: 58-23=35, Resulting Numbers: [52, 35]
Generated Node #0,1,4: 43:[52, 35] Operation: 58-23=35
Moving to Node #0,1,4
Current State: 43:[52, 35], Operations: ['21+2=23', '58-23=35']
Exploring Operation: 52*35=1820, Resulting Numbers: [1820]
1820,43 unequal: No Solution
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,43 unequal: No Solution
Exploring Operation: 52+35=87, Resulting Numbers: [87]
87,43 unequal: No Solution
Moving to Node #0,1,3
Current State: 43:[58, 29], Operations: ['21+2=23', '52-23=29']
Exploring Operation: 58-29=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Exploring Operation: 58/29=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 58*29=1682, Resulting Numbers: [1682]
1682,43 unequal: No Solution
Exploring Operation: 58+29=87, Resulting Numbers: [87]
87,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[52, 81], Operations: ['21+2=23', '58+23=81']
Exploring Operation: 52*81=4212, Resulting Numbers: [4212]
4212,43 unequal: No Solution
Exploring Operation: 52+81=133, Resulting Numbers: [133]
133,43 unequal: No Solution
Exploring Operation: 81-52=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[58, 75], Operations: ['21+2=23', '52+23=75']
Exploring Operation: 58+75=133, Resulting Numbers: [133]
133,43 unequal: No Solution
Exploring Operation: 75-58=17, Resulting Numbers: [17]
17,43 unequal: No Solution
Exploring Operation: 58*75=4350, Resulting Numbers: [4350]
4350,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[23, 6], Operations: ['21+2=23', '58-52=6']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,43 unequal: No Solution
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,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:[21, 52, 56], Operations: ['58-2=56']
Exploring Operation: 21+52=73, Resulting Numbers: [56, 73]
Generated Node #0,2,0: 43:[56, 73] Operation: 21+52=73
Exploring Operation: 56-21=35, Resulting Numbers: [52, 35]
Generated Node #0,2,1: 43:[52, 35] Operation: 56-21=35
Exploring Operation: 56-52=4, Resulting Numbers: [21, 4]
Generated Node #0,2,2: 43:[21, 4] Operation: 56-52=4
Exploring Operation: 21+56=77, Resulting Numbers: [52, 77]
Generated Node #0,2,3: 43:[52, 77] Operation: 21+56=77
Exploring Operation: 52-21=31, Resulting Numbers: [56, 31]
Generated Node #0,2,4: 43:[56, 31] Operation: 52-21=31
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 43:[52, 35], Operations: ['58-2=56', '56-21=35']
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
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,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,4
Current State: 43:[56, 31], Operations: ['58-2=56', '52-21=31']
Exploring Operation: 56*31=1736, Resulting Numbers: [1736]
1736,43 unequal: No Solution
Exploring Operation: 56-31=25, Resulting Numbers: [25]
25,43 unequal: No Solution
Exploring Operation: 56+31=87, Resulting Numbers: [87]
87,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:[56, 73], Operations: ['58-2=56', '21+52=73']
Exploring Operation: 73-56=17, Resulting Numbers: [17]
17,43 unequal: No Solution
Exploring Operation: 56+73=129, Resulting Numbers: [129]
129,43 unequal: No Solution
Exploring Operation: 56*73=4088, Resulting Numbers: [4088]
4088,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,3
Current State: 43:[52, 77], Operations: ['58-2=56', '21+56=77']
Exploring Operation: 52*77=4004, Resulting Numbers: [4004]
4004,43 unequal: No Solution
Exploring Operation: 77-52=25, Resulting Numbers: [25]
25,43 unequal: No Solution
Exploring Operation: 52+77=129, Resulting Numbers: [129]
129,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,2
Current State: 43:[21, 4], Operations: ['58-2=56', '56-52=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,43 unequal: No Solution
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,43 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,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,4
Current State: 43:[21, 58, 50], Operations: ['52-2=50']
Exploring Operation: 21+50=71, Resulting Numbers: [58, 71]
Generated Node #0,4,0: 43:[58, 71] Operation: 21+50=71
Exploring Operation: 50-21=29, Resulting Numbers: [58, 29]
Generated Node #0,4,1: 43:[58, 29] Operation: 50-21=29
Exploring Operation: 21+58=79, Resulting Numbers: [50, 79]
Generated Node #0,4,2: 43:[50, 79] Operation: 21+58=79
Exploring Operation: 58-21=37, Resulting Numbers: [50, 37]
Generated Node #0,4,3: 43:[50, 37] Operation: 58-21=37
Exploring Operation: 58-50=8, Resulting Numbers: [21, 8]
Generated Node #0,4,4: 43:[21, 8] Operation: 58-50=8
Moving to Node #0,4,3
Current State: 43:[50, 37], Operations: ['52-2=50', '58-21=37']
Exploring Operation: 50-37=13, Resulting Numbers: [13]
13,43 unequal: No Solution
Exploring Operation: 50+37=87, Resulting Numbers: [87]
87,43 unequal: No Solution
Exploring Operation: 50*37=1850, Resulting Numbers: [1850]
1850,43 unequal: No Solution
Moving to Node #0,4,1
Current State: 43:[58, 29], Operations: ['52-2=50', '50-21=29']
Exploring Operation: 58*29=1682, Resulting Numbers: [1682]
1682,43 unequal: No Solution
Exploring Operation: 58/29=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 58-29=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Exploring Operation: 58+29=87, Resulting Numbers: [87]
87,43 unequal: No Solution
Moving to Node #0,4,0
Current State: 43:[58, 71], Operations: ['52-2=50', '21+50=71']
Exploring Operation: 58*71=4118, Resulting Numbers: [4118]
4118,43 unequal: No Solution
Exploring Operation: 71-58=13, Resulting Numbers: [13]
13,43 unequal: No Solution
Exploring Operation: 58+71=129, Resulting Numbers: [129]
129,43 unequal: No Solution
Moving to Node #0,4,2
Current State: 43:[50, 79], Operations: ['52-2=50', '21+58=79']
Exploring Operation: 50+79=129, Resulting Numbers: [129]
129,43 unequal: No Solution
Exploring Operation: 50*79=3950, Resulting Numbers: [3950]
3950,43 unequal: No Solution
Exploring Operation: 79-50=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Moving to Node #0,4,4
Current State: 43:[21, 8], Operations: ['52-2=50', '58-50=8']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,43 unequal: No Solution
Exploring Operation: 21*8=168, Resulting Numbers: [168]
168,43 unequal: No Solution
Exploring Operation: 21+8=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,0
Current State: 43:[21, 52, 29], Operations: ['58/2=29']
Exploring Operation: 29-21=8, Resulting Numbers: [52, 8]
Generated Node #0,0,0: 43:[52, 8] Operation: 29-21=8
Exploring Operation: 21+52=73, Resulting Numbers: [29, 73]
Generated Node #0,0,1: 43:[29, 73] Operation: 21+52=73
Exploring Operation: 21+29=50, Resulting Numbers: [52, 50]
Generated Node #0,0,2: 43:[52, 50] Operation: 21+29=50
Exploring Operation: 52-21=31, Resulting Numbers: [29, 31]
Generated Node #0,0,3: 43:[29, 31] Operation: 52-21=31
Exploring Operation: 52-29=23, Resulting Numbers: [21, 23]
Generated Node #0,0,4: 43:[21, 23] Operation: 52-29=23
Moving to Node #0,0,2
Current State: 43:[52, 50], Operations: ['58/2=29', '21+29=50']
Exploring Operation: 52+50=102, Resulting Numbers: [102]
102,43 unequal: No Solution
Exploring Operation: 52*50=2600, Resulting Numbers: [2600]
2600,43 unequal: No Solution
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Moving to Node #0,0,3
Current State: 43:[29, 31], Operations: ['58/2=29', '52-21=31']
Exploring Operation: 29+31=60, Resulting Numbers: [60]
60,43 unequal: No Solution
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 29*31=899, Resulting Numbers: [899]
899,43 unequal: No Solution
Moving to Node #0,0,4
Current State: 43:[21, 23], Operations: ['58/2=29', '52-29=23']
Exploring Operation: 21*23=483, Resulting Numbers: [483]
483,43 unequal: No Solution
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[52, 8], Operations: ['58/2=29', '29-21=8']
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 52*8=416, Resulting Numbers: [416]
416,43 unequal: No Solution
Exploring Operation: 52+8=60, Resulting Numbers: [60]
60,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[29, 73], Operations: ['58/2=29', '21+52=73']
Exploring Operation: 29+73=102, Resulting Numbers: [102]
102,43 unequal: No Solution
Exploring Operation: 73-29=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 29*73=2117, Resulting Numbers: [2117]
2117,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
59,
15,
67,
25
] | 32 | [
"59+15=74",
"67-25=42",
"74-42=32"
] | Current State: 32:[59, 15, 67, 25], Operations: []
Exploring Operation: 59+15=74, Resulting Numbers: [67, 25, 74]
Generated Node #2: [67, 25, 74] from Operation: 59+15=74
Current State: 32:[67, 25, 74], Operations: ['59+15=74']
Exploring Operation: 67-25=42, Resulting Numbers: [74, 42]
Generated Node #3: [74, 42] from Operation: 67-25=42
Current State: 32:[74, 42], Operations: ['59+15=74', '67-25=42']
Exploring Operation: 74-42=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[59, 15, 67, 25], Operations: []
Exploring Operation: 59-15=44, Resulting Numbers: [67, 25, 44]
Generated Node #0,0: 32:[67, 25, 44] Operation: 59-15=44
Exploring Operation: 59-25=34, Resulting Numbers: [15, 67, 34]
Generated Node #0,1: 32:[15, 67, 34] Operation: 59-25=34
Exploring Operation: 67-59=8, Resulting Numbers: [15, 25, 8]
Generated Node #0,2: 32:[15, 25, 8] Operation: 67-59=8
Exploring Operation: 67-25=42, Resulting Numbers: [59, 15, 42]
Generated Node #0,3: 32:[59, 15, 42] Operation: 67-25=42
Moving to Node #0,2
Current State: 32:[15, 25, 8], Operations: ['67-59=8']
Exploring Operation: 25-15=10, Resulting Numbers: [8, 10]
Generated Node #0,2,0: 32:[8, 10] Operation: 25-15=10
Exploring Operation: 15+25=40, Resulting Numbers: [8, 40]
Generated Node #0,2,1: 32:[8, 40] Operation: 15+25=40
Exploring Operation: 25-8=17, Resulting Numbers: [15, 17]
Generated Node #0,2,2: 32:[15, 17] Operation: 25-8=17
Exploring Operation: 25+8=33, Resulting Numbers: [15, 33]
Generated Node #0,2,3: 32:[15, 33] Operation: 25+8=33
Moving to Node #0,3
Current State: 32:[59, 15, 42], Operations: ['67-25=42']
Exploring Operation: 59-15=44, Resulting Numbers: [42, 44]
Generated Node #0,3,0: 32:[42, 44] Operation: 59-15=44
Exploring Operation: 59+15=74, Resulting Numbers: [42, 74]
Generated Node #0,3,1: 32:[42, 74] Operation: 59+15=74
Exploring Operation: 59-42=17, Resulting Numbers: [15, 17]
Generated Node #0,3,2: 32:[15, 17] Operation: 59-42=17
Exploring Operation: 42-15=27, Resulting Numbers: [59, 27]
Generated Node #0,3,3: 32:[59, 27] Operation: 42-15=27
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 32:[15, 17], Operations: ['67-25=42', '59-42=17']
Exploring Operation: 15*17=255, Resulting Numbers: [255]
255,32 unequal: No Solution
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[59, 15, 67, 25], Operations: []
Exploring Operation: 67-25=42, Resulting Numbers: [59, 15, 42]
Generated Node #0,3: 32:[59, 15, 42] Operation: 67-25=42
Moving to Node #0,3
Current State: 32:[59, 15, 42], Operations: ['67-25=42']
Exploring Operation: 59-42=17, Resulting Numbers: [15, 17]
Generated Node #0,3,2: 32:[15, 17] Operation: 59-42=17
Moving to Node #0,3,2
Current State: 32:[15, 17], Operations: ['67-25=42', '59-42=17']
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
88,
80,
75,
75
] | 18 | [
"88+80=168",
"75+75=150",
"168-150=18"
] | Current State: 18:[88, 80, 75, 75], Operations: []
Exploring Operation: 88+80=168, Resulting Numbers: [75, 75, 168]
Generated Node #2: [75, 75, 168] from Operation: 88+80=168
Current State: 18:[75, 75, 168], Operations: ['88+80=168']
Exploring Operation: 75+75=150, Resulting Numbers: [168, 150]
Generated Node #3: [168, 150] from Operation: 75+75=150
Current State: 18:[168, 150], Operations: ['88+80=168', '75+75=150']
Exploring Operation: 168-150=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[88, 80, 75, 75], Operations: []
Exploring Operation: 88-80=8, Resulting Numbers: [75, 75, 8]
Generated Node #0,0: 18:[75, 75, 8] Operation: 88-80=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[75, 75, 8], Operations: ['88-80=8']
Exploring Operation: 75/75=1, Resulting Numbers: [8, 1]
Generated Node #0,0,0: 18:[8, 1] Operation: 75/75=1
Moving to Node #0,0,0
Current State: 18:[8, 1], Operations: ['88-80=8', '75/75=1']
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,18 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 |
[
4,
91,
84,
28
] | 71 | [
"4*91=364",
"364/28=13",
"84-13=71"
] | Current State: 71:[4, 91, 84, 28], Operations: []
Exploring Operation: 4*91=364, Resulting Numbers: [84, 28, 364]
Generated Node #2: [84, 28, 364] from Operation: 4*91=364
Current State: 71:[84, 28, 364], Operations: ['4*91=364']
Exploring Operation: 364/28=13, Resulting Numbers: [84, 13]
Generated Node #3: [84, 13] from Operation: 364/28=13
Current State: 71:[84, 13], Operations: ['4*91=364', '364/28=13']
Exploring Operation: 84-13=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[4, 91, 84, 28], Operations: []
Exploring Operation: 4+91=95, Resulting Numbers: [84, 28, 95]
Generated Node #0,0: 71:[84, 28, 95] Operation: 4+91=95
Exploring Operation: 4+28=32, Resulting Numbers: [91, 84, 32]
Generated Node #0,1: 71:[91, 84, 32] Operation: 4+28=32
Exploring Operation: 4*28=112, Resulting Numbers: [91, 84, 112]
Generated Node #0,2: 71:[91, 84, 112] Operation: 4*28=112
Exploring Operation: 84-4=80, Resulting Numbers: [91, 28, 80]
Generated Node #0,3: 71:[91, 28, 80] Operation: 84-4=80
Exploring Operation: 91-4=87, Resulting Numbers: [84, 28, 87]
Generated Node #0,4: 71:[84, 28, 87] Operation: 91-4=87
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[91, 84, 32], Operations: ['4+28=32']
Exploring Operation: 91-84=7, Resulting Numbers: [32, 7]
Generated Node #0,1,0: 71:[32, 7] Operation: 91-84=7
Exploring Operation: 84+32=116, Resulting Numbers: [91, 116]
Generated Node #0,1,1: 71:[91, 116] Operation: 84+32=116
Exploring Operation: 91-32=59, Resulting Numbers: [84, 59]
Generated Node #0,1,2: 71:[84, 59] Operation: 91-32=59
Exploring Operation: 84-32=52, Resulting Numbers: [91, 52]
Generated Node #0,1,3: 71:[91, 52] Operation: 84-32=52
Exploring Operation: 91+32=123, Resulting Numbers: [84, 123]
Generated Node #0,1,4: 71:[84, 123] Operation: 91+32=123
Moving to Node #0,1,2
Current State: 71:[84, 59], Operations: ['4+28=32', '91-32=59']
Exploring Operation: 84+59=143, Resulting Numbers: [143]
143,71 unequal: No Solution
Exploring Operation: 84-59=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 84*59=4956, Resulting Numbers: [4956]
4956,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[91, 52], Operations: ['4+28=32', '84-32=52']
Exploring Operation: 91*52=4732, Resulting Numbers: [4732]
4732,71 unequal: No Solution
Exploring Operation: 91+52=143, Resulting Numbers: [143]
143,71 unequal: No Solution
Exploring Operation: 91-52=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[91, 116], Operations: ['4+28=32', '84+32=116']
Exploring Operation: 116-91=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 91*116=10556, Resulting Numbers: [10556]
10556,71 unequal: No Solution
Exploring Operation: 91+116=207, Resulting Numbers: [207]
207,71 unequal: No Solution
Moving to Node #0,1,4
Current State: 71:[84, 123], Operations: ['4+28=32', '91+32=123']
Exploring Operation: 84+123=207, Resulting Numbers: [207]
207,71 unequal: No Solution
Exploring Operation: 84*123=10332, Resulting Numbers: [10332]
10332,71 unequal: No Solution
Exploring Operation: 123-84=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[32, 7], Operations: ['4+28=32', '91-84=7']
Exploring Operation: 32+7=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 32*7=224, Resulting Numbers: [224]
224,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 71:[91, 28, 80], Operations: ['84-4=80']
Exploring Operation: 91-28=63, Resulting Numbers: [80, 63]
Generated Node #0,3,0: 71:[80, 63] Operation: 91-28=63
Exploring Operation: 91+28=119, Resulting Numbers: [80, 119]
Generated Node #0,3,1: 71:[80, 119] Operation: 91+28=119
Exploring Operation: 91-80=11, Resulting Numbers: [28, 11]
Generated Node #0,3,2: 71:[28, 11] Operation: 91-80=11
Exploring Operation: 80-28=52, Resulting Numbers: [91, 52]
Generated Node #0,3,3: 71:[91, 52] Operation: 80-28=52
Exploring Operation: 28+80=108, Resulting Numbers: [91, 108]
Generated Node #0,3,4: 71:[91, 108] Operation: 28+80=108
Moving to Node #0,3,0
Current State: 71:[80, 63], Operations: ['84-4=80', '91-28=63']
Exploring Operation: 80*63=5040, Resulting Numbers: [5040]
5040,71 unequal: No Solution
Exploring Operation: 80-63=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 80+63=143, Resulting Numbers: [143]
143,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[91, 52], Operations: ['84-4=80', '80-28=52']
Exploring Operation: 91*52=4732, Resulting Numbers: [4732]
4732,71 unequal: No Solution
Exploring Operation: 91+52=143, Resulting Numbers: [143]
143,71 unequal: No Solution
Exploring Operation: 91-52=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[80, 119], Operations: ['84-4=80', '91+28=119']
Exploring Operation: 119-80=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 80*119=9520, Resulting Numbers: [9520]
9520,71 unequal: No Solution
Exploring Operation: 80+119=199, Resulting Numbers: [199]
199,71 unequal: No Solution
Moving to Node #0,3,4
Current State: 71:[91, 108], Operations: ['84-4=80', '28+80=108']
Exploring Operation: 91+108=199, Resulting Numbers: [199]
199,71 unequal: No Solution
Exploring Operation: 91*108=9828, Resulting Numbers: [9828]
9828,71 unequal: No Solution
Exploring Operation: 108-91=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[28, 11], Operations: ['84-4=80', '91-80=11']
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 28*11=308, Resulting Numbers: [308]
308,71 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 71:[84, 28, 87], Operations: ['91-4=87']
Exploring Operation: 84/28=3, Resulting Numbers: [87, 3]
Generated Node #0,4,0: 71:[87, 3] Operation: 84/28=3
Exploring Operation: 87-28=59, Resulting Numbers: [84, 59]
Generated Node #0,4,1: 71:[84, 59] Operation: 87-28=59
Exploring Operation: 84-28=56, Resulting Numbers: [87, 56]
Generated Node #0,4,2: 71:[87, 56] Operation: 84-28=56
Exploring Operation: 28+87=115, Resulting Numbers: [84, 115]
Generated Node #0,4,3: 71:[84, 115] Operation: 28+87=115
Exploring Operation: 84+28=112, Resulting Numbers: [87, 112]
Generated Node #0,4,4: 71:[87, 112] Operation: 84+28=112
Moving to Node #0,4,1
Current State: 71:[84, 59], Operations: ['91-4=87', '87-28=59']
Exploring Operation: 84*59=4956, Resulting Numbers: [4956]
4956,71 unequal: No Solution
Exploring Operation: 84+59=143, Resulting Numbers: [143]
143,71 unequal: No Solution
Exploring Operation: 84-59=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Moving to Node #0,4,2
Current State: 71:[87, 56], Operations: ['91-4=87', '84-28=56']
Exploring Operation: 87*56=4872, Resulting Numbers: [4872]
4872,71 unequal: No Solution
Exploring Operation: 87-56=31, Resulting Numbers: [31]
31,71 unequal: No Solution
Exploring Operation: 87+56=143, Resulting Numbers: [143]
143,71 unequal: No Solution
Moving to Node #0,4,3
Current State: 71:[84, 115], Operations: ['91-4=87', '28+87=115']
Exploring Operation: 115-84=31, Resulting Numbers: [31]
31,71 unequal: No Solution
Exploring Operation: 84*115=9660, Resulting Numbers: [9660]
9660,71 unequal: No Solution
Exploring Operation: 84+115=199, Resulting Numbers: [199]
199,71 unequal: No Solution
Moving to Node #0,4,4
Current State: 71:[87, 112], Operations: ['91-4=87', '84+28=112']
Exploring Operation: 87+112=199, Resulting Numbers: [199]
199,71 unequal: No Solution
Exploring Operation: 87*112=9744, Resulting Numbers: [9744]
9744,71 unequal: No Solution
Exploring Operation: 112-87=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Moving to Node #0,4,0
Current State: 71:[87, 3], Operations: ['91-4=87', '84/28=3']
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,71 unequal: No Solution
Exploring Operation: 87+3=90, Resulting Numbers: [90]
90,71 unequal: No Solution
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Exploring Operation: 87*3=261, Resulting Numbers: [261]
261,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[91, 84, 112], Operations: ['4*28=112']
Exploring Operation: 91+84=175, Resulting Numbers: [112, 175]
Generated Node #0,2,0: 71:[112, 175] Operation: 91+84=175
Exploring Operation: 91+112=203, Resulting Numbers: [84, 203]
Generated Node #0,2,1: 71:[84, 203] Operation: 91+112=203
Exploring Operation: 112-84=28, Resulting Numbers: [91, 28]
Generated Node #0,2,2: 71:[91, 28] Operation: 112-84=28
Exploring Operation: 112-91=21, Resulting Numbers: [84, 21]
Generated Node #0,2,3: 71:[84, 21] Operation: 112-91=21
Exploring Operation: 91-84=7, Resulting Numbers: [112, 7]
Generated Node #0,2,4: 71:[112, 7] Operation: 91-84=7
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 71:[91, 28], Operations: ['4*28=112', '112-84=28']
Exploring Operation: 91+28=119, Resulting Numbers: [119]
119,71 unequal: No Solution
Exploring Operation: 91*28=2548, Resulting Numbers: [2548]
2548,71 unequal: No Solution
Exploring Operation: 91-28=63, Resulting Numbers: [63]
63,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 71:[84, 21], Operations: ['4*28=112', '112-91=21']
Exploring Operation: 84*21=1764, Resulting Numbers: [1764]
1764,71 unequal: No Solution
Exploring Operation: 84/21=4, Resulting Numbers: [4]
4,71 unequal: No Solution
Exploring Operation: 84-21=63, Resulting Numbers: [63]
63,71 unequal: No Solution
Exploring Operation: 84+21=105, Resulting Numbers: [105]
105,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 71:[112, 7], Operations: ['4*28=112', '91-84=7']
Exploring Operation: 112*7=784, Resulting Numbers: [784]
784,71 unequal: No Solution
Exploring Operation: 112/7=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 112+7=119, Resulting Numbers: [119]
119,71 unequal: No Solution
Exploring Operation: 112-7=105, Resulting Numbers: [105]
105,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 71:[112, 175], Operations: ['4*28=112', '91+84=175']
Exploring Operation: 112+175=287, Resulting Numbers: [287]
287,71 unequal: No Solution
Exploring Operation: 175-112=63, Resulting Numbers: [63]
63,71 unequal: No Solution
Exploring Operation: 112*175=19600, Resulting Numbers: [19600]
19600,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 71:[84, 203], Operations: ['4*28=112', '91+112=203']
Exploring Operation: 203-84=119, Resulting Numbers: [119]
119,71 unequal: No Solution
Exploring Operation: 84+203=287, Resulting Numbers: [287]
287,71 unequal: No Solution
Exploring Operation: 84*203=17052, Resulting Numbers: [17052]
17052,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[84, 28, 95], Operations: ['4+91=95']
Exploring Operation: 84+28=112, Resulting Numbers: [95, 112]
Generated Node #0,0,0: 71:[95, 112] Operation: 84+28=112
Exploring Operation: 28+95=123, Resulting Numbers: [84, 123]
Generated Node #0,0,1: 71:[84, 123] Operation: 28+95=123
Exploring Operation: 95-28=67, Resulting Numbers: [84, 67]
Generated Node #0,0,2: 71:[84, 67] Operation: 95-28=67
Exploring Operation: 84/28=3, Resulting Numbers: [95, 3]
Generated Node #0,0,3: 71:[95, 3] Operation: 84/28=3
Exploring Operation: 84-28=56, Resulting Numbers: [95, 56]
Generated Node #0,0,4: 71:[95, 56] Operation: 84-28=56
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 71:[84, 67], Operations: ['4+91=95', '95-28=67']
Exploring Operation: 84+67=151, Resulting Numbers: [151]
151,71 unequal: No Solution
Exploring Operation: 84*67=5628, Resulting Numbers: [5628]
5628,71 unequal: No Solution
Exploring Operation: 84-67=17, Resulting Numbers: [17]
17,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 71:[95, 56], Operations: ['4+91=95', '84-28=56']
Exploring Operation: 95-56=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 95*56=5320, Resulting Numbers: [5320]
5320,71 unequal: No Solution
Exploring Operation: 95+56=151, Resulting Numbers: [151]
151,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[95, 112], Operations: ['4+91=95', '84+28=112']
Exploring Operation: 95*112=10640, Resulting Numbers: [10640]
10640,71 unequal: No Solution
Exploring Operation: 112-95=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 95+112=207, Resulting Numbers: [207]
207,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 71:[84, 123], Operations: ['4+91=95', '28+95=123']
Exploring Operation: 123-84=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 84+123=207, Resulting Numbers: [207]
207,71 unequal: No Solution
Exploring Operation: 84*123=10332, Resulting Numbers: [10332]
10332,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 71:[95, 3], Operations: ['4+91=95', '84/28=3']
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,71 unequal: No Solution
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,71 unequal: No Solution
Exploring Operation: 95*3=285, Resulting Numbers: [285]
285,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.