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 |
|---|---|---|---|---|---|---|---|---|
[
68,
40,
24,
36
] | 88 | [
"68-40=28",
"24+36=60",
"28+60=88"
] | Current State: 88:[68, 40, 24, 36], Operations: []
Exploring Operation: 68-40=28, Resulting Numbers: [24, 36, 28]
Generated Node #2: [24, 36, 28] from Operation: 68-40=28
Current State: 88:[24, 36, 28], Operations: ['68-40=28']
Exploring Operation: 24+36=60, Resulting Numbers: [28, 60]
Generated Node #3: [28, 60] from Operation: 24+36=60
Current State: 88:[28, 60], Operations: ['68-40=28', '24+36=60']
Exploring Operation: 28+60=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[68, 40, 24, 36], Operations: []
Exploring Operation: 68-24=44, Resulting Numbers: [40, 36, 44]
Generated Node #0,0: 88:[40, 36, 44] Operation: 68-24=44
Exploring Operation: 68-40=28, Resulting Numbers: [24, 36, 28]
Generated Node #0,1: 88:[24, 36, 28] Operation: 68-40=28
Exploring Operation: 68-36=32, Resulting Numbers: [40, 24, 32]
Generated Node #0,2: 88:[40, 24, 32] Operation: 68-36=32
Exploring Operation: 68+24=92, Resulting Numbers: [40, 36, 92]
Generated Node #0,3: 88:[40, 36, 92] Operation: 68+24=92
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[40, 36, 44], Operations: ['68-24=44']
Exploring Operation: 44-40=4, Resulting Numbers: [36, 4]
Generated Node #0,0,0: 88:[36, 4] Operation: 44-40=4
Exploring Operation: 44-36=8, Resulting Numbers: [40, 8]
Generated Node #0,0,1: 88:[40, 8] Operation: 44-36=8
Exploring Operation: 40-36=4, Resulting Numbers: [44, 4]
Generated Node #0,0,2: 88:[44, 4] Operation: 40-36=4
Exploring Operation: 40+36=76, Resulting Numbers: [44, 76]
Generated Node #0,0,3: 88:[44, 76] Operation: 40+36=76
Moving to Node #0,0,2
Current State: 88:[44, 4], Operations: ['68-24=44', '40-36=4']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 44*4=176, Resulting Numbers: [176]
176,88 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,88 unequal: No Solution
Exploring Operation: 44+4=48, Resulting Numbers: [48]
48,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[40, 8], Operations: ['68-24=44', '44-36=8']
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,88 unequal: No Solution
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 40*8=320, Resulting Numbers: [320]
320,88 unequal: No Solution
Exploring Operation: 40+8=48, Resulting Numbers: [48]
48,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[36, 4], Operations: ['68-24=44', '44-40=4']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,88 unequal: No Solution
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,88 unequal: No Solution
Exploring Operation: 36*4=144, Resulting Numbers: [144]
144,88 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Moving to Node #0,0,3
Current State: 88:[44, 76], Operations: ['68-24=44', '40+36=76']
Exploring Operation: 44*76=3344, Resulting Numbers: [3344]
3344,88 unequal: No Solution
Exploring Operation: 76-44=32, Resulting Numbers: [32]
32,88 unequal: No Solution
Exploring Operation: 44+76=120, Resulting Numbers: [120]
120,88 unequal: No Solution
No 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: 88:[24, 36, 28], Operations: ['68-40=28']
Exploring Operation: 24+28=52, Resulting Numbers: [36, 52]
Generated Node #0,1,0: 88:[36, 52] Operation: 24+28=52
Exploring Operation: 28-24=4, Resulting Numbers: [36, 4]
Generated Node #0,1,1: 88:[36, 4] Operation: 28-24=4
Exploring Operation: 36-28=8, Resulting Numbers: [24, 8]
Generated Node #0,1,2: 88:[24, 8] Operation: 36-28=8
Exploring Operation: 36-24=12, Resulting Numbers: [28, 12]
Generated Node #0,1,3: 88:[28, 12] Operation: 36-24=12
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 88:[24, 8], Operations: ['68-40=28', '36-28=8']
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,88 unequal: No Solution
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,88 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 24*8=192, Resulting Numbers: [192]
192,88 unequal: No Solution
No 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: 88:[28, 12], Operations: ['68-40=28', '36-24=12']
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,88 unequal: No Solution
Exploring Operation: 28*12=336, Resulting Numbers: [336]
336,88 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,88 unequal: No Solution
No 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: 88:[36, 4], Operations: ['68-40=28', '28-24=4']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,88 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 36*4=144, Resulting Numbers: [144]
144,88 unequal: No Solution
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,88 unequal: No Solution
No 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: 88:[36, 52], Operations: ['68-40=28', '24+28=52']
Exploring Operation: 36*52=1872, Resulting Numbers: [1872]
1872,88 unequal: No Solution
Exploring Operation: 36+52=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[68, 40, 24, 36], Operations: []
Exploring Operation: 68-40=28, Resulting Numbers: [24, 36, 28]
Generated Node #0,1: 88:[24, 36, 28] Operation: 68-40=28
Moving to Node #0,1
Current State: 88:[24, 36, 28], Operations: ['68-40=28']
Exploring Operation: 24+28=52, Resulting Numbers: [36, 52]
Generated Node #0,1,0: 88:[36, 52] Operation: 24+28=52
Moving to Node #0,1,0
Current State: 88:[36, 52], Operations: ['68-40=28', '24+28=52']
Exploring Operation: 36+52=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.961806 | hs_4 | sum_heuristic |
[
36,
74,
4,
63
] | 34 | [
"63-36=27",
"4*27=108",
"108-74=34"
] | Current State: 34:[36, 74, 4, 63], Operations: []
Exploring Operation: 63-36=27, Resulting Numbers: [74, 4, 27]
Generated Node #2: [74, 4, 27] from Operation: 63-36=27
Current State: 34:[74, 4, 27], Operations: ['63-36=27']
Exploring Operation: 4*27=108, Resulting Numbers: [74, 108]
Generated Node #3: [74, 108] from Operation: 4*27=108
Current State: 34:[74, 108], Operations: ['63-36=27', '4*27=108']
Exploring Operation: 108-74=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[36, 74, 4, 63], Operations: []
Exploring Operation: 74-63=11, Resulting Numbers: [36, 4, 11]
Generated Node #0,0: 34:[36, 4, 11] Operation: 74-63=11
Exploring Operation: 74-36=38, Resulting Numbers: [4, 63, 38]
Generated Node #0,1: 34:[4, 63, 38] Operation: 74-36=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[36, 4, 11], Operations: ['74-63=11']
Exploring Operation: 4+11=15, Resulting Numbers: [36, 15]
Generated Node #0,0,0: 34:[36, 15] Operation: 4+11=15
Exploring Operation: 11-4=7, Resulting Numbers: [36, 7]
Generated Node #0,0,1: 34:[36, 7] Operation: 11-4=7
Moving to Node #0,0,0
Current State: 34:[36, 15], Operations: ['74-63=11', '4+11=15']
Exploring Operation: 36+15=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[36, 7], Operations: ['74-63=11', '11-4=7']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,34 unequal: No Solution
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[4, 63, 38], Operations: ['74-36=38']
Exploring Operation: 63-4=59, Resulting Numbers: [38, 59]
Generated Node #0,1,0: 34:[38, 59] Operation: 63-4=59
Exploring Operation: 63-38=25, Resulting Numbers: [4, 25]
Generated Node #0,1,1: 34:[4, 25] Operation: 63-38=25
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[4, 25], Operations: ['74-36=38', '63-38=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,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,1,0
Current State: 34:[38, 59], Operations: ['74-36=38', '63-4=59']
Exploring Operation: 38+59=97, Resulting Numbers: [97]
97,34 unequal: No Solution
Exploring Operation: 59-38=21, Resulting Numbers: [21]
21,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
26,
38,
67,
2
] | 43 | [
"38-26=12",
"2*12=24",
"67-24=43"
] | Current State: 43:[26, 38, 67, 2], Operations: []
Exploring Operation: 38-26=12, Resulting Numbers: [67, 2, 12]
Generated Node #2: [67, 2, 12] from Operation: 38-26=12
Current State: 43:[67, 2, 12], Operations: ['38-26=12']
Exploring Operation: 2*12=24, Resulting Numbers: [67, 24]
Generated Node #3: [67, 24] from Operation: 2*12=24
Current State: 43:[67, 24], Operations: ['38-26=12', '2*12=24']
Exploring Operation: 67-24=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[26, 38, 67, 2], Operations: []
Exploring Operation: 26*2=52, Resulting Numbers: [38, 67, 52]
Generated Node #0,0: 43:[38, 67, 52] Operation: 26*2=52
Exploring Operation: 26+2=28, Resulting Numbers: [38, 67, 28]
Generated Node #0,1: 43:[38, 67, 28] Operation: 26+2=28
Moving to Node #0,0
Current State: 43:[38, 67, 52], Operations: ['26*2=52']
Exploring Operation: 67-38=29, Resulting Numbers: [52, 29]
Generated Node #0,0,0: 43:[52, 29] Operation: 67-38=29
Exploring Operation: 67-52=15, Resulting Numbers: [38, 15]
Generated Node #0,0,1: 43:[38, 15] Operation: 67-52=15
Moving to Node #0,1
Current State: 43:[38, 67, 28], Operations: ['26+2=28']
Exploring Operation: 67-38=29, Resulting Numbers: [28, 29]
Generated Node #0,1,0: 43:[28, 29] Operation: 67-38=29
Exploring Operation: 67-28=39, Resulting Numbers: [38, 39]
Generated Node #0,1,1: 43:[38, 39] Operation: 67-28=39
Moving to Node #0,1,1
Current State: 43:[38, 39], Operations: ['26+2=28', '67-28=39']
Exploring Operation: 38+39=77, Resulting Numbers: [77]
77,43 unequal: No Solution
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[52, 29], Operations: ['26*2=52', '67-38=29']
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 52+29=81, Resulting Numbers: [81]
81,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[28, 29], Operations: ['26+2=28', '67-38=29']
Exploring Operation: 28+29=57, Resulting Numbers: [57]
57,43 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[38, 15], Operations: ['26*2=52', '67-52=15']
Exploring Operation: 38+15=53, Resulting Numbers: [53]
53,43 unequal: No Solution
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,43 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
23,
13,
8,
20
] | 65 | [
"23-8=15",
"20-15=5",
"13*5=65"
] | Current State: 65:[23, 13, 8, 20], Operations: []
Exploring Operation: 23-8=15, Resulting Numbers: [13, 20, 15]
Generated Node #2: [13, 20, 15] from Operation: 23-8=15
Current State: 65:[13, 20, 15], Operations: ['23-8=15']
Exploring Operation: 20-15=5, Resulting Numbers: [13, 5]
Generated Node #3: [13, 5] from Operation: 20-15=5
Current State: 65:[13, 5], Operations: ['23-8=15', '20-15=5']
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[23, 13, 8, 20], Operations: []
Exploring Operation: 20-8=12, Resulting Numbers: [23, 13, 12]
Generated Node #0,0: 65:[23, 13, 12] Operation: 20-8=12
Exploring Operation: 23-8=15, Resulting Numbers: [13, 20, 15]
Generated Node #0,1: 65:[13, 20, 15] Operation: 23-8=15
Exploring Operation: 23-20=3, Resulting Numbers: [13, 8, 3]
Generated Node #0,2: 65:[13, 8, 3] Operation: 23-20=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[13, 8, 3], Operations: ['23-20=3']
Exploring Operation: 8+3=11, Resulting Numbers: [13, 11]
Generated Node #0,2,0: 65:[13, 11] Operation: 8+3=11
Exploring Operation: 13-8=5, Resulting Numbers: [3, 5]
Generated Node #0,2,1: 65:[3, 5] Operation: 13-8=5
Exploring Operation: 8-3=5, Resulting Numbers: [13, 5]
Generated Node #0,2,2: 65:[13, 5] Operation: 8-3=5
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 65:[13, 5], Operations: ['23-20=3', '8-3=5']
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[23, 13, 8, 20], Operations: []
Exploring Operation: 23-20=3, Resulting Numbers: [13, 8, 3]
Generated Node #0,2: 65:[13, 8, 3] Operation: 23-20=3
Moving to Node #0,2
Current State: 65:[13, 8, 3], Operations: ['23-20=3']
Exploring Operation: 8-3=5, Resulting Numbers: [13, 5]
Generated Node #0,2,2: 65:[13, 5] Operation: 8-3=5
Moving to Node #0,2,2
Current State: 65:[13, 5], Operations: ['23-20=3', '8-3=5']
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
67,
35,
6,
88
] | 91 | [
"88-67=21",
"6*21=126",
"126-35=91"
] | Current State: 91:[67, 35, 6, 88], Operations: []
Exploring Operation: 88-67=21, Resulting Numbers: [35, 6, 21]
Generated Node #2: [35, 6, 21] from Operation: 88-67=21
Current State: 91:[35, 6, 21], Operations: ['88-67=21']
Exploring Operation: 6*21=126, Resulting Numbers: [35, 126]
Generated Node #3: [35, 126] from Operation: 6*21=126
Current State: 91:[35, 126], Operations: ['88-67=21', '6*21=126']
Exploring Operation: 126-35=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[67, 35, 6, 88], Operations: []
Exploring Operation: 67+35=102, Resulting Numbers: [6, 88, 102]
Generated Node #0,0: 91:[6, 88, 102] Operation: 67+35=102
Exploring Operation: 67-35=32, Resulting Numbers: [6, 88, 32]
Generated Node #0,1: 91:[6, 88, 32] Operation: 67-35=32
Exploring Operation: 88-67=21, Resulting Numbers: [35, 6, 21]
Generated Node #0,2: 91:[35, 6, 21] Operation: 88-67=21
Moving to Node #0,0
Current State: 91:[6, 88, 102], Operations: ['67+35=102']
Exploring Operation: 102-6=96, Resulting Numbers: [88, 96]
Generated Node #0,0,0: 91:[88, 96] Operation: 102-6=96
Exploring Operation: 102/6=17, Resulting Numbers: [88, 17]
Generated Node #0,0,1: 91:[88, 17] Operation: 102/6=17
Exploring Operation: 102-88=14, Resulting Numbers: [6, 14]
Generated Node #0,0,2: 91:[6, 14] Operation: 102-88=14
Moving to Node #0,1
Current State: 91:[6, 88, 32], Operations: ['67-35=32']
Exploring Operation: 32-6=26, Resulting Numbers: [88, 26]
Generated Node #0,1,0: 91:[88, 26] Operation: 32-6=26
Exploring Operation: 88-6=82, Resulting Numbers: [32, 82]
Generated Node #0,1,1: 91:[32, 82] Operation: 88-6=82
Exploring Operation: 6+88=94, Resulting Numbers: [32, 94]
Generated Node #0,1,2: 91:[32, 94] Operation: 6+88=94
Moving to Node #0,2
Current State: 91:[35, 6, 21], Operations: ['88-67=21']
Exploring Operation: 35-21=14, Resulting Numbers: [6, 14]
Generated Node #0,2,0: 91:[6, 14] Operation: 35-21=14
Exploring Operation: 35-6=29, Resulting Numbers: [21, 29]
Generated Node #0,2,1: 91:[21, 29] Operation: 35-6=29
Exploring Operation: 21-6=15, Resulting Numbers: [35, 15]
Generated Node #0,2,2: 91:[35, 15] Operation: 21-6=15
Moving to Node #0,0,2
Current State: 91:[6, 14], Operations: ['67+35=102', '102-88=14']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,91 unequal: No Solution
Moving to Node #0,2,0
Current State: 91:[6, 14], Operations: ['88-67=21', '35-21=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,91 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[88, 17], Operations: ['67+35=102', '102/6=17']
Exploring Operation: 88*17=1496, Resulting Numbers: [1496]
1496,91 unequal: No Solution
Exploring Operation: 88-17=71, Resulting Numbers: [71]
71,91 unequal: No Solution
Exploring Operation: 88+17=105, Resulting Numbers: [105]
105,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[88, 96], Operations: ['67+35=102', '102-6=96']
Exploring Operation: 88+96=184, Resulting Numbers: [184]
184,91 unequal: No Solution
Exploring Operation: 88*96=8448, Resulting Numbers: [8448]
8448,91 unequal: No Solution
Exploring Operation: 96-88=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[88, 26], Operations: ['67-35=32', '32-6=26']
Exploring Operation: 88+26=114, Resulting Numbers: [114]
114,91 unequal: No Solution
Exploring Operation: 88*26=2288, Resulting Numbers: [2288]
2288,91 unequal: No Solution
Exploring Operation: 88-26=62, Resulting Numbers: [62]
62,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[32, 94], Operations: ['67-35=32', '6+88=94']
Exploring Operation: 32+94=126, Resulting Numbers: [126]
126,91 unequal: No Solution
Exploring Operation: 94-32=62, Resulting Numbers: [62]
62,91 unequal: No Solution
Exploring Operation: 32*94=3008, Resulting Numbers: [3008]
3008,91 unequal: No Solution
Moving to Node #0,2,2
Current State: 91:[35, 15], Operations: ['88-67=21', '21-6=15']
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 35*15=525, Resulting Numbers: [525]
525,91 unequal: No Solution
Exploring Operation: 35+15=50, Resulting Numbers: [50]
50,91 unequal: No Solution
Moving to Node #0,2,1
Current State: 91:[21, 29], Operations: ['88-67=21', '35-6=29']
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 21+29=50, Resulting Numbers: [50]
50,91 unequal: No Solution
Exploring Operation: 21*29=609, Resulting Numbers: [609]
609,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[32, 82], Operations: ['67-35=32', '88-6=82']
Exploring Operation: 32+82=114, Resulting Numbers: [114]
114,91 unequal: No Solution
Exploring Operation: 82-32=50, Resulting Numbers: [50]
50,91 unequal: No Solution
Exploring Operation: 32*82=2624, Resulting Numbers: [2624]
2624,91 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
19,
7,
65,
4
] | 14 | [
"19+65=84",
"84/4=21",
"21-7=14"
] | Current State: 14:[19, 7, 65, 4], Operations: []
Exploring Operation: 19+65=84, Resulting Numbers: [7, 4, 84]
Generated Node #2: [7, 4, 84] from Operation: 19+65=84
Current State: 14:[7, 4, 84], Operations: ['19+65=84']
Exploring Operation: 84/4=21, Resulting Numbers: [7, 21]
Generated Node #3: [7, 21] from Operation: 84/4=21
Current State: 14:[7, 21], Operations: ['19+65=84', '84/4=21']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[19, 7, 65, 4], Operations: []
Exploring Operation: 65-7=58, Resulting Numbers: [19, 4, 58]
Generated Node #0,0: 14:[19, 4, 58] Operation: 65-7=58
Exploring Operation: 65-19=46, Resulting Numbers: [7, 4, 46]
Generated Node #0,1: 14:[7, 4, 46] Operation: 65-19=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[7, 4, 46], Operations: ['65-19=46']
Exploring Operation: 46-7=39, Resulting Numbers: [4, 39]
Generated Node #0,1,0: 14:[4, 39] Operation: 46-7=39
Exploring Operation: 46-4=42, Resulting Numbers: [7, 42]
Generated Node #0,1,1: 14:[7, 42] Operation: 46-4=42
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 14:[4, 39], Operations: ['65-19=46', '46-7=39']
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,14 unequal: No Solution
No 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: 14:[7, 42], Operations: ['65-19=46', '46-4=42']
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,14 unequal: No Solution
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,14 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: 14:[19, 4, 58], Operations: ['65-7=58']
Exploring Operation: 19-4=15, Resulting Numbers: [58, 15]
Generated Node #0,0,0: 14:[58, 15] Operation: 19-4=15
Exploring Operation: 58-19=39, Resulting Numbers: [4, 39]
Generated Node #0,0,1: 14:[4, 39] Operation: 58-19=39
Moving to Node #0,0,1
Current State: 14:[4, 39], Operations: ['65-7=58', '58-19=39']
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[58, 15], Operations: ['65-7=58', '19-4=15']
Exploring Operation: 58+15=73, Resulting Numbers: [73]
73,14 unequal: No Solution
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,14 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 |
[
4,
94,
59,
5
] | 10 | [
"94-59=35",
"5+35=40",
"40/4=10"
] | Current State: 10:[4, 94, 59, 5], Operations: []
Exploring Operation: 94-59=35, Resulting Numbers: [4, 5, 35]
Generated Node #2: [4, 5, 35] from Operation: 94-59=35
Current State: 10:[4, 5, 35], Operations: ['94-59=35']
Exploring Operation: 5+35=40, Resulting Numbers: [4, 40]
Generated Node #3: [4, 40] from Operation: 5+35=40
Current State: 10:[4, 40], Operations: ['94-59=35', '5+35=40']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[4, 94, 59, 5], Operations: []
Exploring Operation: 94-59=35, Resulting Numbers: [4, 5, 35]
Generated Node #0,0: 10:[4, 5, 35] Operation: 94-59=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[4, 5, 35], Operations: ['94-59=35']
Exploring Operation: 35/5=7, Resulting Numbers: [4, 7]
Generated Node #0,0,0: 10:[4, 7] Operation: 35/5=7
Moving to Node #0,0,0
Current State: 10:[4, 7], Operations: ['94-59=35', '35/5=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
16,
63,
28,
20
] | 89 | [
"63*28=1764",
"16+1764=1780",
"1780/20=89"
] | Current State: 89:[16, 63, 28, 20], Operations: []
Exploring Operation: 63*28=1764, Resulting Numbers: [16, 20, 1764]
Generated Node #2: [16, 20, 1764] from Operation: 63*28=1764
Current State: 89:[16, 20, 1764], Operations: ['63*28=1764']
Exploring Operation: 16+1764=1780, Resulting Numbers: [20, 1780]
Generated Node #3: [20, 1780] from Operation: 16+1764=1780
Current State: 89:[20, 1780], Operations: ['63*28=1764', '16+1764=1780']
Exploring Operation: 1780/20=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[16, 63, 28, 20], Operations: []
Exploring Operation: 16+28=44, Resulting Numbers: [63, 20, 44]
Generated Node #0,0: 89:[63, 20, 44] Operation: 16+28=44
Exploring Operation: 16+63=79, Resulting Numbers: [28, 20, 79]
Generated Node #0,1: 89:[28, 20, 79] Operation: 16+63=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[63, 20, 44], Operations: ['16+28=44']
Exploring Operation: 20+44=64, Resulting Numbers: [63, 64]
Generated Node #0,0,0: 89:[63, 64] Operation: 20+44=64
Exploring Operation: 63+20=83, Resulting Numbers: [44, 83]
Generated Node #0,0,1: 89:[44, 83] Operation: 63+20=83
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[63, 64], Operations: ['16+28=44', '20+44=64']
Exploring Operation: 63+64=127, Resulting Numbers: [127]
127,89 unequal: No Solution
Exploring Operation: 64-63=1, Resulting Numbers: [1]
1,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[44, 83], Operations: ['16+28=44', '63+20=83']
Exploring Operation: 83-44=39, Resulting Numbers: [39]
39,89 unequal: No Solution
Exploring Operation: 44+83=127, Resulting Numbers: [127]
127,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[28, 20, 79], Operations: ['16+63=79']
Exploring Operation: 20+79=99, Resulting Numbers: [28, 99]
Generated Node #0,1,0: 89:[28, 99] Operation: 20+79=99
Exploring Operation: 28+20=48, Resulting Numbers: [79, 48]
Generated Node #0,1,1: 89:[79, 48] Operation: 28+20=48
Moving to Node #0,1,1
Current State: 89:[79, 48], Operations: ['16+63=79', '28+20=48']
Exploring Operation: 79-48=31, Resulting Numbers: [31]
31,89 unequal: No Solution
Exploring Operation: 79+48=127, Resulting Numbers: [127]
127,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[28, 99], Operations: ['16+63=79', '20+79=99']
Exploring Operation: 28+99=127, Resulting Numbers: [127]
127,89 unequal: No Solution
Exploring Operation: 99-28=71, Resulting Numbers: [71]
71,89 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 |
[
56,
5,
56,
48
] | 53 | [
"56+5=61",
"56-48=8",
"61-8=53"
] | Current State: 53:[56, 5, 56, 48], Operations: []
Exploring Operation: 56+5=61, Resulting Numbers: [48, 61]
Generated Node #2: [48, 61] from Operation: 56+5=61
Current State: 53:[48, 61], Operations: ['56+5=61']
Exploring Operation: 56-48=8, Resulting Numbers: [61, 8]
Generated Node #3: [61, 8] from Operation: 56-48=8
Current State: 53:[61, 8], Operations: ['56+5=61', '56-48=8']
Exploring Operation: 61-8=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[56, 5, 56, 48], Operations: []
Exploring Operation: 56-5=51, Resulting Numbers: [56, 48, 51]
Generated Node #0,0: 53:[56, 48, 51] Operation: 56-5=51
Exploring Operation: 5+48=53, Resulting Numbers: [56, 56, 53]
Generated Node #0,1: 53:[56, 56, 53] Operation: 5+48=53
Exploring Operation: 56-5=51, Resulting Numbers: [56, 48, 51]
Generated Node #0,2: 53:[56, 48, 51] Operation: 56-5=51
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[56, 56, 53], Operations: ['5+48=53']
Exploring Operation: 56/56=1, Resulting Numbers: [53, 1]
Generated Node #0,1,0: 53:[53, 1] Operation: 56/56=1
Exploring Operation: 56-53=3, Resulting Numbers: [56, 3]
Generated Node #0,1,1: 53:[56, 3] Operation: 56-53=3
Exploring Operation: 56-56=0, Resulting Numbers: [53, 0]
Generated Node #0,1,2: 53:[53, 0] Operation: 56-56=0
Moving to Node #0,1,0
Current State: 53:[53, 1], Operations: ['5+48=53', '56/56=1']
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[56, 5, 56, 48], Operations: []
Exploring Operation: 5+48=53, Resulting Numbers: [56, 56, 53]
Generated Node #0,1: 53:[56, 56, 53] Operation: 5+48=53
Moving to Node #0,1
Current State: 53:[56, 56, 53], Operations: ['5+48=53']
Exploring Operation: 56/56=1, Resulting Numbers: [53, 1]
Generated Node #0,1,0: 53:[53, 1] Operation: 56/56=1
Moving to Node #0,1,0
Current State: 53:[53, 1], Operations: ['5+48=53', '56/56=1']
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
76,
53,
97,
51
] | 69 | [
"76-53=23",
"97-51=46",
"23+46=69"
] | Current State: 69:[76, 53, 97, 51], Operations: []
Exploring Operation: 76-53=23, Resulting Numbers: [97, 51, 23]
Generated Node #2: [97, 51, 23] from Operation: 76-53=23
Current State: 69:[97, 51, 23], Operations: ['76-53=23']
Exploring Operation: 97-51=46, Resulting Numbers: [23, 46]
Generated Node #3: [23, 46] from Operation: 97-51=46
Current State: 69:[23, 46], Operations: ['76-53=23', '97-51=46']
Exploring Operation: 23+46=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[76, 53, 97, 51], Operations: []
Exploring Operation: 97-76=21, Resulting Numbers: [53, 51, 21]
Generated Node #0,0: 69:[53, 51, 21] Operation: 97-76=21
Exploring Operation: 76-53=23, Resulting Numbers: [97, 51, 23]
Generated Node #0,1: 69:[97, 51, 23] Operation: 76-53=23
Exploring Operation: 53-51=2, Resulting Numbers: [76, 97, 2]
Generated Node #0,2: 69:[76, 97, 2] Operation: 53-51=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[53, 51, 21], Operations: ['97-76=21']
Exploring Operation: 53+21=74, Resulting Numbers: [51, 74]
Generated Node #0,0,0: 69:[51, 74] Operation: 53+21=74
Exploring Operation: 53-51=2, Resulting Numbers: [21, 2]
Generated Node #0,0,1: 69:[21, 2] Operation: 53-51=2
Exploring Operation: 51+21=72, Resulting Numbers: [53, 72]
Generated Node #0,0,2: 69:[53, 72] Operation: 51+21=72
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 69:[21, 2], Operations: ['97-76=21', '53-51=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,69 unequal: No Solution
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,69 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,69 unequal: No Solution
No 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: 69:[53, 72], Operations: ['97-76=21', '51+21=72']
Exploring Operation: 72-53=19, Resulting Numbers: [19]
19,69 unequal: No Solution
Exploring Operation: 53*72=3816, Resulting Numbers: [3816]
3816,69 unequal: No Solution
Exploring Operation: 53+72=125, Resulting Numbers: [125]
125,69 unequal: No Solution
No 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: 69:[51, 74], Operations: ['97-76=21', '53+21=74']
Exploring Operation: 51+74=125, Resulting Numbers: [125]
125,69 unequal: No Solution
Exploring Operation: 74-51=23, Resulting Numbers: [23]
23,69 unequal: No Solution
Exploring Operation: 51*74=3774, Resulting Numbers: [3774]
3774,69 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: 69:[76, 97, 2], Operations: ['53-51=2']
Exploring Operation: 97-76=21, Resulting Numbers: [2, 21]
Generated Node #0,2,0: 69:[2, 21] Operation: 97-76=21
Exploring Operation: 76-2=74, Resulting Numbers: [97, 74]
Generated Node #0,2,1: 69:[97, 74] Operation: 76-2=74
Exploring Operation: 97-2=95, Resulting Numbers: [76, 95]
Generated Node #0,2,2: 69:[76, 95] Operation: 97-2=95
Moving to Node #0,2,0
Current State: 69:[2, 21], Operations: ['53-51=2', '97-76=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,69 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,69 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[97, 74], Operations: ['53-51=2', '76-2=74']
Exploring Operation: 97+74=171, Resulting Numbers: [171]
171,69 unequal: No Solution
Exploring Operation: 97-74=23, Resulting Numbers: [23]
23,69 unequal: No Solution
Exploring Operation: 97*74=7178, Resulting Numbers: [7178]
7178,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[76, 95], Operations: ['53-51=2', '97-2=95']
Exploring Operation: 76*95=7220, Resulting Numbers: [7220]
7220,69 unequal: No Solution
Exploring Operation: 95-76=19, Resulting Numbers: [19]
19,69 unequal: No Solution
Exploring Operation: 76+95=171, Resulting Numbers: [171]
171,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[97, 51, 23], Operations: ['76-53=23']
Exploring Operation: 97-51=46, Resulting Numbers: [23, 46]
Generated Node #0,1,0: 69:[23, 46] Operation: 97-51=46
Exploring Operation: 97-23=74, Resulting Numbers: [51, 74]
Generated Node #0,1,1: 69:[51, 74] Operation: 97-23=74
Exploring Operation: 51+23=74, Resulting Numbers: [97, 74]
Generated Node #0,1,2: 69:[97, 74] Operation: 51+23=74
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 69:[23, 46], Operations: ['76-53=23', '97-51=46']
Exploring Operation: 23+46=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[76, 53, 97, 51], Operations: []
Exploring Operation: 76-53=23, Resulting Numbers: [97, 51, 23]
Generated Node #0,1: 69:[97, 51, 23] Operation: 76-53=23
Moving to Node #0,1
Current State: 69:[97, 51, 23], Operations: ['76-53=23']
Exploring Operation: 97-51=46, Resulting Numbers: [23, 46]
Generated Node #0,1,0: 69:[23, 46] Operation: 97-51=46
Moving to Node #0,1,0
Current State: 69:[23, 46], Operations: ['76-53=23', '97-51=46']
Exploring Operation: 23+46=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_3 | mult_heuristic |
[
11,
2,
32,
90
] | 24 | [
"32-11=21",
"90/2=45",
"45-21=24"
] | Current State: 24:[11, 2, 32, 90], Operations: []
Exploring Operation: 32-11=21, Resulting Numbers: [2, 90, 21]
Generated Node #2: [2, 90, 21] from Operation: 32-11=21
Current State: 24:[2, 90, 21], Operations: ['32-11=21']
Exploring Operation: 90/2=45, Resulting Numbers: [21, 45]
Generated Node #3: [21, 45] from Operation: 90/2=45
Current State: 24:[21, 45], Operations: ['32-11=21', '90/2=45']
Exploring Operation: 45-21=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[11, 2, 32, 90], Operations: []
Exploring Operation: 90/2=45, Resulting Numbers: [11, 32, 45]
Generated Node #0,0: 24:[11, 32, 45] Operation: 90/2=45
Exploring Operation: 32-11=21, Resulting Numbers: [2, 90, 21]
Generated Node #0,1: 24:[2, 90, 21] Operation: 32-11=21
Exploring Operation: 32/2=16, Resulting Numbers: [11, 90, 16]
Generated Node #0,2: 24:[11, 90, 16] Operation: 32/2=16
Exploring Operation: 90-32=58, Resulting Numbers: [11, 2, 58]
Generated Node #0,3: 24:[11, 2, 58] Operation: 90-32=58
Exploring Operation: 90-11=79, Resulting Numbers: [2, 32, 79]
Generated Node #0,4: 24:[2, 32, 79] Operation: 90-11=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[11, 32, 45], Operations: ['90/2=45']
Exploring Operation: 11+45=56, Resulting Numbers: [32, 56]
Generated Node #0,0,0: 24:[32, 56] Operation: 11+45=56
Exploring Operation: 45-32=13, Resulting Numbers: [11, 13]
Generated Node #0,0,1: 24:[11, 13] Operation: 45-32=13
Exploring Operation: 32-11=21, Resulting Numbers: [45, 21]
Generated Node #0,0,2: 24:[45, 21] Operation: 32-11=21
Exploring Operation: 11+32=43, Resulting Numbers: [45, 43]
Generated Node #0,0,3: 24:[45, 43] Operation: 11+32=43
Exploring Operation: 45-11=34, Resulting Numbers: [32, 34]
Generated Node #0,0,4: 24:[32, 34] Operation: 45-11=34
Moving to Node #0,0,1
Current State: 24:[11, 13], Operations: ['90/2=45', '45-32=13']
Exploring Operation: 11*13=143, Resulting Numbers: [143]
143,24 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[11, 2, 32, 90], Operations: []
Exploring Operation: 90/2=45, Resulting Numbers: [11, 32, 45]
Generated Node #0,0: 24:[11, 32, 45] Operation: 90/2=45
Moving to Node #0,0
Current State: 24:[11, 32, 45], Operations: ['90/2=45']
Exploring Operation: 45-32=13, Resulting Numbers: [11, 13]
Generated Node #0,0,1: 24:[11, 13] Operation: 45-32=13
Moving to Node #0,0,1
Current State: 24:[11, 13], Operations: ['90/2=45', '45-32=13']
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
35,
73,
75,
22
] | 46 | [
"75-73=2",
"22/2=11",
"35+11=46"
] | Current State: 46:[35, 73, 75, 22], Operations: []
Exploring Operation: 75-73=2, Resulting Numbers: [35, 22, 2]
Generated Node #2: [35, 22, 2] from Operation: 75-73=2
Current State: 46:[35, 22, 2], Operations: ['75-73=2']
Exploring Operation: 22/2=11, Resulting Numbers: [35, 11]
Generated Node #3: [35, 11] from Operation: 22/2=11
Current State: 46:[35, 11], Operations: ['75-73=2', '22/2=11']
Exploring Operation: 35+11=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[35, 73, 75, 22], Operations: []
Exploring Operation: 75-73=2, Resulting Numbers: [35, 22, 2]
Generated Node #0,0: 46:[35, 22, 2] Operation: 75-73=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[35, 22, 2], Operations: ['75-73=2']
Exploring Operation: 35-22=13, Resulting Numbers: [2, 13]
Generated Node #0,0,0: 46:[2, 13] Operation: 35-22=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[2, 13], Operations: ['75-73=2', '35-22=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
14,
70,
87,
1
] | 31 | [
"70-14=56",
"87*1=87",
"87-56=31"
] | Current State: 31:[14, 70, 87, 1], Operations: []
Exploring Operation: 70-14=56, Resulting Numbers: [87, 1, 56]
Generated Node #2: [87, 1, 56] from Operation: 70-14=56
Current State: 31:[87, 1, 56], Operations: ['70-14=56']
Exploring Operation: 87*1=87, Resulting Numbers: [56, 87]
Generated Node #3: [56, 87] from Operation: 87*1=87
Current State: 31:[56, 87], Operations: ['70-14=56', '87*1=87']
Exploring Operation: 87-56=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[14, 70, 87, 1], Operations: []
Exploring Operation: 87-70=17, Resulting Numbers: [14, 1, 17]
Generated Node #0,0: 31:[14, 1, 17] Operation: 87-70=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[14, 1, 17], Operations: ['87-70=17']
Exploring Operation: 14+1=15, Resulting Numbers: [17, 15]
Generated Node #0,0,0: 31:[17, 15] Operation: 14+1=15
Moving to Node #0,0,0
Current State: 31:[17, 15], Operations: ['87-70=17', '14+1=15']
Exploring Operation: 17+15=32, Resulting Numbers: [32]
32,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 | sum_heuristic |
[
13,
6,
95,
96
] | 19 | [
"13+6=19",
"96-95=1",
"19*1=19"
] | Current State: 19:[13, 6, 95, 96], Operations: []
Exploring Operation: 13+6=19, Resulting Numbers: [95, 96, 19]
Generated Node #2: [95, 96, 19] from Operation: 13+6=19
Current State: 19:[95, 96, 19], Operations: ['13+6=19']
Exploring Operation: 96-95=1, Resulting Numbers: [19, 1]
Generated Node #3: [19, 1] from Operation: 96-95=1
Current State: 19:[19, 1], Operations: ['13+6=19', '96-95=1']
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[13, 6, 95, 96], Operations: []
Exploring Operation: 96-95=1, Resulting Numbers: [13, 6, 1]
Generated Node #0,0: 19:[13, 6, 1] Operation: 96-95=1
Exploring Operation: 96/6=16, Resulting Numbers: [13, 95, 16]
Generated Node #0,1: 19:[13, 95, 16] Operation: 96/6=16
Exploring Operation: 13+6=19, Resulting Numbers: [95, 96, 19]
Generated Node #0,2: 19:[95, 96, 19] Operation: 13+6=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[13, 6, 1], Operations: ['96-95=1']
Exploring Operation: 13+6=19, Resulting Numbers: [1, 19]
Generated Node #0,0,0: 19:[1, 19] Operation: 13+6=19
Exploring Operation: 13+1=14, Resulting Numbers: [6, 14]
Generated Node #0,0,1: 19:[6, 14] Operation: 13+1=14
Exploring Operation: 6+1=7, Resulting Numbers: [13, 7]
Generated Node #0,0,2: 19:[13, 7] Operation: 6+1=7
Moving to Node #0,0,0
Current State: 19:[1, 19], Operations: ['96-95=1', '13+6=19']
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[13, 6, 95, 96], Operations: []
Exploring Operation: 96-95=1, Resulting Numbers: [13, 6, 1]
Generated Node #0,0: 19:[13, 6, 1] Operation: 96-95=1
Moving to Node #0,0
Current State: 19:[13, 6, 1], Operations: ['96-95=1']
Exploring Operation: 13+6=19, Resulting Numbers: [1, 19]
Generated Node #0,0,0: 19:[1, 19] Operation: 13+6=19
Moving to Node #0,0,0
Current State: 19:[1, 19], Operations: ['96-95=1', '13+6=19']
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
19,
27,
10,
36
] | 33 | [
"19-10=9",
"27/9=3",
"36-3=33"
] | Current State: 33:[19, 27, 10, 36], Operations: []
Exploring Operation: 19-10=9, Resulting Numbers: [27, 36, 9]
Generated Node #2: [27, 36, 9] from Operation: 19-10=9
Current State: 33:[27, 36, 9], Operations: ['19-10=9']
Exploring Operation: 27/9=3, Resulting Numbers: [36, 3]
Generated Node #3: [36, 3] from Operation: 27/9=3
Current State: 33:[36, 3], Operations: ['19-10=9', '27/9=3']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[19, 27, 10, 36], Operations: []
Exploring Operation: 19+10=29, Resulting Numbers: [27, 36, 29]
Generated Node #0,0: 33:[27, 36, 29] Operation: 19+10=29
Exploring Operation: 36-19=17, Resulting Numbers: [27, 10, 17]
Generated Node #0,1: 33:[27, 10, 17] Operation: 36-19=17
Exploring Operation: 19-10=9, Resulting Numbers: [27, 36, 9]
Generated Node #0,2: 33:[27, 36, 9] Operation: 19-10=9
Exploring Operation: 27-19=8, Resulting Numbers: [10, 36, 8]
Generated Node #0,3: 33:[10, 36, 8] Operation: 27-19=8
Exploring Operation: 36-27=9, Resulting Numbers: [19, 10, 9]
Generated Node #0,4: 33:[19, 10, 9] Operation: 36-27=9
Start Sub Search at level 1: Moving to Node #0,3
Current State: 33:[10, 36, 8], Operations: ['27-19=8']
Exploring Operation: 10-8=2, Resulting Numbers: [36, 2]
Generated Node #0,3,0: 33:[36, 2] Operation: 10-8=2
Exploring Operation: 36+8=44, Resulting Numbers: [10, 44]
Generated Node #0,3,1: 33:[10, 44] Operation: 36+8=44
Exploring Operation: 36-10=26, Resulting Numbers: [8, 26]
Generated Node #0,3,2: 33:[8, 26] Operation: 36-10=26
Exploring Operation: 36-8=28, Resulting Numbers: [10, 28]
Generated Node #0,3,3: 33:[10, 28] Operation: 36-8=28
Exploring Operation: 10+8=18, Resulting Numbers: [36, 18]
Generated Node #0,3,4: 33:[36, 18] Operation: 10+8=18
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 33:[36, 2], Operations: ['27-19=8', '10-8=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,33 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 33:[10, 28], Operations: ['27-19=8', '36-8=28']
Exploring Operation: 10+28=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 10*28=280, Resulting Numbers: [280]
280,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 33:[8, 26], Operations: ['27-19=8', '36-10=26']
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,33 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 33:[36, 18], Operations: ['27-19=8', '10+8=18']
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 36*18=648, Resulting Numbers: [648]
648,33 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 36+18=54, Resulting Numbers: [54]
54,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 33:[10, 44], Operations: ['27-19=8', '36+8=44']
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 10+44=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 10*44=440, Resulting Numbers: [440]
440,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[27, 36, 9], Operations: ['19-10=9']
Exploring Operation: 36-27=9, Resulting Numbers: [9, 9]
Generated Node #0,2,0: 33:[9, 9] Operation: 36-27=9
Exploring Operation: 27+9=36, Resulting Numbers: [36, 36]
Generated Node #0,2,1: 33:[36, 36] Operation: 27+9=36
Exploring Operation: 27/9=3, Resulting Numbers: [36, 3]
Generated Node #0,2,2: 33:[36, 3] Operation: 27/9=3
Exploring Operation: 27-9=18, Resulting Numbers: [36, 18]
Generated Node #0,2,3: 33:[36, 18] Operation: 27-9=18
Exploring Operation: 36/9=4, Resulting Numbers: [27, 4]
Generated Node #0,2,4: 33:[27, 4] Operation: 36/9=4
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 33:[36, 3], Operations: ['19-10=9', '27/9=3']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[19, 27, 10, 36], Operations: []
Exploring Operation: 19-10=9, Resulting Numbers: [27, 36, 9]
Generated Node #0,2: 33:[27, 36, 9] Operation: 19-10=9
Moving to Node #0,2
Current State: 33:[27, 36, 9], Operations: ['19-10=9']
Exploring Operation: 27/9=3, Resulting Numbers: [36, 3]
Generated Node #0,2,2: 33:[36, 3] Operation: 27/9=3
Moving to Node #0,2,2
Current State: 33:[36, 3], Operations: ['19-10=9', '27/9=3']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
22,
93,
69,
71
] | 69 | [
"93-22=71",
"69+71=140",
"140-71=69"
] | Current State: 69:[22, 93, 69, 71], Operations: []
Exploring Operation: 93-22=71, Resulting Numbers: [69, 71, 71]
Generated Node #2: [69, 71, 71] from Operation: 93-22=71
Current State: 69:[69, 71, 71], Operations: ['93-22=71']
Exploring Operation: 69+71=140, Resulting Numbers: [140]
140,69 equal: Goal Reached
Exploring Operation: 140-71=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[22, 93, 69, 71], Operations: []
Exploring Operation: 93-22=71, Resulting Numbers: [69, 71, 71]
Generated Node #0,0: 69:[69, 71, 71] Operation: 93-22=71
Exploring Operation: 93-69=24, Resulting Numbers: [22, 71, 24]
Generated Node #0,1: 69:[22, 71, 24] Operation: 93-69=24
Exploring Operation: 93-71=22, Resulting Numbers: [22, 69, 22]
Generated Node #0,2: 69:[22, 69, 22] Operation: 93-71=22
Start Sub Search at level 1: Moving to Node #0,2
Current State: 69:[22, 69, 22], Operations: ['93-71=22']
Exploring Operation: 22-22=0, Resulting Numbers: [69, 0]
Generated Node #0,2,0: 69:[69, 0] Operation: 22-22=0
Exploring Operation: 22+22=44, Resulting Numbers: [69, 44]
Generated Node #0,2,1: 69:[69, 44] Operation: 22+22=44
Exploring Operation: 22/22=1, Resulting Numbers: [69, 1]
Generated Node #0,2,2: 69:[69, 1] Operation: 22/22=1
Moving to Node #0,2,2
Current State: 69:[69, 1], Operations: ['93-71=22', '22/22=1']
Exploring Operation: 69+1=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Exploring Operation: 69*1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[22, 93, 69, 71], Operations: []
Exploring Operation: 93-71=22, Resulting Numbers: [22, 69, 22]
Generated Node #0,2: 69:[22, 69, 22] Operation: 93-71=22
Moving to Node #0,2
Current State: 69:[22, 69, 22], Operations: ['93-71=22']
Exploring Operation: 22/22=1, Resulting Numbers: [69, 1]
Generated Node #0,2,2: 69:[69, 1] Operation: 22/22=1
Moving to Node #0,2,2
Current State: 69:[69, 1], Operations: ['93-71=22', '22/22=1']
Exploring Operation: 69*1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
19,
59,
33,
70
] | 64 | [
"33-19=14",
"70/14=5",
"59+5=64"
] | Current State: 64:[19, 59, 33, 70], Operations: []
Exploring Operation: 33-19=14, Resulting Numbers: [59, 70, 14]
Generated Node #2: [59, 70, 14] from Operation: 33-19=14
Current State: 64:[59, 70, 14], Operations: ['33-19=14']
Exploring Operation: 70/14=5, Resulting Numbers: [59, 5]
Generated Node #3: [59, 5] from Operation: 70/14=5
Current State: 64:[59, 5], Operations: ['33-19=14', '70/14=5']
Exploring Operation: 59+5=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[19, 59, 33, 70], Operations: []
Exploring Operation: 70-59=11, Resulting Numbers: [19, 33, 11]
Generated Node #0,0: 64:[19, 33, 11] Operation: 70-59=11
Exploring Operation: 33-19=14, Resulting Numbers: [59, 70, 14]
Generated Node #0,1: 64:[59, 70, 14] Operation: 33-19=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[19, 33, 11], Operations: ['70-59=11']
Exploring Operation: 19-11=8, Resulting Numbers: [33, 8]
Generated Node #0,0,0: 64:[33, 8] Operation: 19-11=8
Exploring Operation: 19+11=30, Resulting Numbers: [33, 30]
Generated Node #0,0,1: 64:[33, 30] Operation: 19+11=30
Moving to Node #0,0,0
Current State: 64:[33, 8], Operations: ['70-59=11', '19-11=8']
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[33, 30], Operations: ['70-59=11', '19+11=30']
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 33+30=63, Resulting Numbers: [63]
63,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[59, 70, 14], Operations: ['33-19=14']
Exploring Operation: 70/14=5, Resulting Numbers: [59, 5]
Generated Node #0,1,0: 64:[59, 5] Operation: 70/14=5
Exploring Operation: 70-59=11, Resulting Numbers: [14, 11]
Generated Node #0,1,1: 64:[14, 11] Operation: 70-59=11
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 64:[14, 11], Operations: ['33-19=14', '70-59=11']
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 64:[59, 5], Operations: ['33-19=14', '70/14=5']
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Exploring Operation: 59+5=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[19, 59, 33, 70], Operations: []
Exploring Operation: 33-19=14, Resulting Numbers: [59, 70, 14]
Generated Node #0,1: 64:[59, 70, 14] Operation: 33-19=14
Moving to Node #0,1
Current State: 64:[59, 70, 14], Operations: ['33-19=14']
Exploring Operation: 70/14=5, Resulting Numbers: [59, 5]
Generated Node #0,1,0: 64:[59, 5] Operation: 70/14=5
Moving to Node #0,1,0
Current State: 64:[59, 5], Operations: ['33-19=14', '70/14=5']
Exploring Operation: 59+5=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
35,
69,
73,
65
] | 34 | [
"35+69=104",
"73+65=138",
"138-104=34"
] | Current State: 34:[35, 69, 73, 65], Operations: []
Exploring Operation: 35+69=104, Resulting Numbers: [73, 65, 104]
Generated Node #2: [73, 65, 104] from Operation: 35+69=104
Current State: 34:[73, 65, 104], Operations: ['35+69=104']
Exploring Operation: 73+65=138, Resulting Numbers: [104, 138]
Generated Node #3: [104, 138] from Operation: 73+65=138
Current State: 34:[104, 138], Operations: ['35+69=104', '73+65=138']
Exploring Operation: 138-104=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[35, 69, 73, 65], Operations: []
Exploring Operation: 73-69=4, Resulting Numbers: [35, 65, 4]
Generated Node #0,0: 34:[35, 65, 4] Operation: 73-69=4
Exploring Operation: 73-65=8, Resulting Numbers: [35, 69, 8]
Generated Node #0,1: 34:[35, 69, 8] Operation: 73-65=8
Exploring Operation: 69-65=4, Resulting Numbers: [35, 73, 4]
Generated Node #0,2: 34:[35, 73, 4] Operation: 69-65=4
Moving to Node #0,0
Current State: 34:[35, 65, 4], Operations: ['73-69=4']
Exploring Operation: 65-4=61, Resulting Numbers: [35, 61]
Generated Node #0,0,0: 34:[35, 61] Operation: 65-4=61
Exploring Operation: 65-35=30, Resulting Numbers: [4, 30]
Generated Node #0,0,1: 34:[4, 30] Operation: 65-35=30
Exploring Operation: 35-4=31, Resulting Numbers: [65, 31]
Generated Node #0,0,2: 34:[65, 31] Operation: 35-4=31
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 34:[4, 30], Operations: ['73-69=4', '65-35=30']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[35, 69, 73, 65], Operations: []
Exploring Operation: 73-69=4, Resulting Numbers: [35, 65, 4]
Generated Node #0,0: 34:[35, 65, 4] Operation: 73-69=4
Moving to Node #0,0
Current State: 34:[35, 65, 4], Operations: ['73-69=4']
Exploring Operation: 65-35=30, Resulting Numbers: [4, 30]
Generated Node #0,0,1: 34:[4, 30] Operation: 65-35=30
Moving to Node #0,0,1
Current State: 34:[4, 30], Operations: ['73-69=4', '65-35=30']
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
95,
36,
61,
83
] | 91 | [
"61+83=144",
"144/36=4",
"95-4=91"
] | Current State: 91:[95, 36, 61, 83], Operations: []
Exploring Operation: 61+83=144, Resulting Numbers: [95, 36, 144]
Generated Node #2: [95, 36, 144] from Operation: 61+83=144
Current State: 91:[95, 36, 144], Operations: ['61+83=144']
Exploring Operation: 144/36=4, Resulting Numbers: [95, 4]
Generated Node #3: [95, 4] from Operation: 144/36=4
Current State: 91:[95, 4], Operations: ['61+83=144', '144/36=4']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[95, 36, 61, 83], Operations: []
Exploring Operation: 83-61=22, Resulting Numbers: [95, 36, 22]
Generated Node #0,0: 91:[95, 36, 22] Operation: 83-61=22
Exploring Operation: 61-36=25, Resulting Numbers: [95, 83, 25]
Generated Node #0,1: 91:[95, 83, 25] Operation: 61-36=25
Exploring Operation: 36+61=97, Resulting Numbers: [95, 83, 97]
Generated Node #0,2: 91:[95, 83, 97] Operation: 36+61=97
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[95, 83, 97], Operations: ['36+61=97']
Exploring Operation: 97-83=14, Resulting Numbers: [95, 14]
Generated Node #0,2,0: 91:[95, 14] Operation: 97-83=14
Exploring Operation: 95-83=12, Resulting Numbers: [97, 12]
Generated Node #0,2,1: 91:[97, 12] Operation: 95-83=12
Exploring Operation: 97-95=2, Resulting Numbers: [83, 2]
Generated Node #0,2,2: 91:[83, 2] Operation: 97-95=2
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 91:[95, 14], Operations: ['36+61=97', '97-83=14']
Exploring Operation: 95*14=1330, Resulting Numbers: [1330]
1330,91 unequal: No Solution
Exploring Operation: 95-14=81, Resulting Numbers: [81]
81,91 unequal: No Solution
Exploring Operation: 95+14=109, Resulting Numbers: [109]
109,91 unequal: No Solution
No 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: 91:[97, 12], Operations: ['36+61=97', '95-83=12']
Exploring Operation: 97+12=109, Resulting Numbers: [109]
109,91 unequal: No Solution
Exploring Operation: 97*12=1164, Resulting Numbers: [1164]
1164,91 unequal: No Solution
Exploring Operation: 97-12=85, Resulting Numbers: [85]
85,91 unequal: No Solution
No 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: 91:[83, 2], Operations: ['36+61=97', '97-95=2']
Exploring Operation: 83*2=166, Resulting Numbers: [166]
166,91 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,91 unequal: No Solution
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,91 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: 91:[95, 83, 25], Operations: ['61-36=25']
Exploring Operation: 95-83=12, Resulting Numbers: [25, 12]
Generated Node #0,1,0: 91:[25, 12] Operation: 95-83=12
Exploring Operation: 95-25=70, Resulting Numbers: [83, 70]
Generated Node #0,1,1: 91:[83, 70] Operation: 95-25=70
Exploring Operation: 83+25=108, Resulting Numbers: [95, 108]
Generated Node #0,1,2: 91:[95, 108] Operation: 83+25=108
Moving to Node #0,1,0
Current State: 91:[25, 12], Operations: ['61-36=25', '95-83=12']
Exploring Operation: 25+12=37, Resulting Numbers: [37]
37,91 unequal: No Solution
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 25*12=300, Resulting Numbers: [300]
300,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[95, 108], Operations: ['61-36=25', '83+25=108']
Exploring Operation: 95*108=10260, Resulting Numbers: [10260]
10260,91 unequal: No Solution
Exploring Operation: 108-95=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 95+108=203, Resulting Numbers: [203]
203,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[83, 70], Operations: ['61-36=25', '95-25=70']
Exploring Operation: 83-70=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 83*70=5810, Resulting Numbers: [5810]
5810,91 unequal: No Solution
Exploring Operation: 83+70=153, Resulting Numbers: [153]
153,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[95, 36, 22], Operations: ['83-61=22']
Exploring Operation: 36+22=58, Resulting Numbers: [95, 58]
Generated Node #0,0,0: 91:[95, 58] Operation: 36+22=58
Exploring Operation: 95-36=59, Resulting Numbers: [22, 59]
Generated Node #0,0,1: 91:[22, 59] Operation: 95-36=59
Exploring Operation: 36-22=14, Resulting Numbers: [95, 14]
Generated Node #0,0,2: 91:[95, 14] Operation: 36-22=14
Moving to Node #0,0,2
Current State: 91:[95, 14], Operations: ['83-61=22', '36-22=14']
Exploring Operation: 95-14=81, Resulting Numbers: [81]
81,91 unequal: No Solution
Exploring Operation: 95*14=1330, Resulting Numbers: [1330]
1330,91 unequal: No Solution
Exploring Operation: 95+14=109, Resulting Numbers: [109]
109,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[95, 58], Operations: ['83-61=22', '36+22=58']
Exploring Operation: 95+58=153, Resulting Numbers: [153]
153,91 unequal: No Solution
Exploring Operation: 95*58=5510, Resulting Numbers: [5510]
5510,91 unequal: No Solution
Exploring Operation: 95-58=37, Resulting Numbers: [37]
37,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[22, 59], Operations: ['83-61=22', '95-36=59']
Exploring Operation: 22*59=1298, Resulting Numbers: [1298]
1298,91 unequal: No Solution
Exploring Operation: 22+59=81, Resulting Numbers: [81]
81,91 unequal: No Solution
Exploring Operation: 59-22=37, Resulting Numbers: [37]
37,91 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 |
[
15,
1,
45,
52
] | 17 | [
"45/15=3",
"52-1=51",
"51/3=17"
] | Current State: 17:[15, 1, 45, 52], Operations: []
Exploring Operation: 45/15=3, Resulting Numbers: [1, 52, 3]
Generated Node #2: [1, 52, 3] from Operation: 45/15=3
Current State: 17:[1, 52, 3], Operations: ['45/15=3']
Exploring Operation: 52-1=51, Resulting Numbers: [3, 51]
Generated Node #3: [3, 51] from Operation: 52-1=51
Current State: 17:[3, 51], Operations: ['45/15=3', '52-1=51']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[15, 1, 45, 52], Operations: []
Exploring Operation: 52-45=7, Resulting Numbers: [15, 1, 7]
Generated Node #0,0: 17:[15, 1, 7] Operation: 52-45=7
Moving to Node #0,0
Current State: 17:[15, 1, 7], Operations: ['52-45=7']
Exploring Operation: 15+1=16, Resulting Numbers: [7, 16]
Generated Node #0,0,0: 17:[7, 16] Operation: 15+1=16
Moving to Node #0,0,0
Current State: 17:[7, 16], Operations: ['52-45=7', '15+1=16']
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,17 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
1,
55,
41,
64
] | 79 | [
"1+55=56",
"64-41=23",
"56+23=79"
] | Current State: 79:[1, 55, 41, 64], Operations: []
Exploring Operation: 1+55=56, Resulting Numbers: [41, 64, 56]
Generated Node #2: [41, 64, 56] from Operation: 1+55=56
Current State: 79:[41, 64, 56], Operations: ['1+55=56']
Exploring Operation: 64-41=23, Resulting Numbers: [56, 23]
Generated Node #3: [56, 23] from Operation: 64-41=23
Current State: 79:[56, 23], Operations: ['1+55=56', '64-41=23']
Exploring Operation: 56+23=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[1, 55, 41, 64], Operations: []
Exploring Operation: 1+55=56, Resulting Numbers: [41, 64, 56]
Generated Node #0,0: 79:[41, 64, 56] Operation: 1+55=56
Exploring Operation: 1+41=42, Resulting Numbers: [55, 64, 42]
Generated Node #0,1: 79:[55, 64, 42] Operation: 1+41=42
Exploring Operation: 1+64=65, Resulting Numbers: [55, 41, 65]
Generated Node #0,2: 79:[55, 41, 65] Operation: 1+64=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[41, 64, 56], Operations: ['1+55=56']
Exploring Operation: 64-41=23, Resulting Numbers: [56, 23]
Generated Node #0,0,0: 79:[56, 23] Operation: 64-41=23
Exploring Operation: 41+56=97, Resulting Numbers: [64, 97]
Generated Node #0,0,1: 79:[64, 97] Operation: 41+56=97
Exploring Operation: 41+64=105, Resulting Numbers: [56, 105]
Generated Node #0,0,2: 79:[56, 105] Operation: 41+64=105
Moving to Node #0,0,1
Current State: 79:[64, 97], Operations: ['1+55=56', '41+56=97']
Exploring Operation: 64+97=161, Resulting Numbers: [161]
161,79 unequal: No Solution
Exploring Operation: 97-64=33, Resulting Numbers: [33]
33,79 unequal: No Solution
Exploring Operation: 64*97=6208, Resulting Numbers: [6208]
6208,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[56, 105], Operations: ['1+55=56', '41+64=105']
Exploring Operation: 56+105=161, Resulting Numbers: [161]
161,79 unequal: No Solution
Exploring Operation: 105-56=49, Resulting Numbers: [49]
49,79 unequal: No Solution
Exploring Operation: 56*105=5880, Resulting Numbers: [5880]
5880,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[56, 23], Operations: ['1+55=56', '64-41=23']
Exploring Operation: 56*23=1288, Resulting Numbers: [1288]
1288,79 unequal: No Solution
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,79 unequal: No Solution
Exploring Operation: 56+23=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[1, 55, 41, 64], Operations: []
Exploring Operation: 1+55=56, Resulting Numbers: [41, 64, 56]
Generated Node #0,0: 79:[41, 64, 56] Operation: 1+55=56
Moving to Node #0,0
Current State: 79:[41, 64, 56], Operations: ['1+55=56']
Exploring Operation: 64-41=23, Resulting Numbers: [56, 23]
Generated Node #0,0,0: 79:[56, 23] Operation: 64-41=23
Moving to Node #0,0,0
Current State: 79:[56, 23], Operations: ['1+55=56', '64-41=23']
Exploring Operation: 56+23=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
27,
90,
61,
76
] | 50 | [
"76-61=15",
"90*15=1350",
"1350/27=50"
] | Current State: 50:[27, 90, 61, 76], Operations: []
Exploring Operation: 76-61=15, Resulting Numbers: [27, 90, 15]
Generated Node #2: [27, 90, 15] from Operation: 76-61=15
Current State: 50:[27, 90, 15], Operations: ['76-61=15']
Exploring Operation: 90*15=1350, Resulting Numbers: [27, 1350]
Generated Node #3: [27, 1350] from Operation: 90*15=1350
Current State: 50:[27, 1350], Operations: ['76-61=15', '90*15=1350']
Exploring Operation: 1350/27=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[27, 90, 61, 76], Operations: []
Exploring Operation: 90-76=14, Resulting Numbers: [27, 61, 14]
Generated Node #0,0: 50:[27, 61, 14] Operation: 90-76=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[27, 61, 14], Operations: ['90-76=14']
Exploring Operation: 61-14=47, Resulting Numbers: [27, 47]
Generated Node #0,0,0: 50:[27, 47] Operation: 61-14=47
Moving to Node #0,0,0
Current State: 50:[27, 47], Operations: ['90-76=14', '61-14=47']
Exploring Operation: 47-27=20, Resulting Numbers: [20]
20,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
49,
53,
22,
3
] | 77 | [
"49+53=102",
"22+3=25",
"102-25=77"
] | Current State: 77:[49, 53, 22, 3], Operations: []
Exploring Operation: 49+53=102, Resulting Numbers: [22, 3, 102]
Generated Node #2: [22, 3, 102] from Operation: 49+53=102
Current State: 77:[22, 3, 102], Operations: ['49+53=102']
Exploring Operation: 22+3=25, Resulting Numbers: [102, 25]
Generated Node #3: [102, 25] from Operation: 22+3=25
Current State: 77:[102, 25], Operations: ['49+53=102', '22+3=25']
Exploring Operation: 102-25=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[49, 53, 22, 3], Operations: []
Exploring Operation: 53-49=4, Resulting Numbers: [22, 3, 4]
Generated Node #0,0: 77:[22, 3, 4] Operation: 53-49=4
Moving to Node #0,0
Current State: 77:[22, 3, 4], Operations: ['53-49=4']
Exploring Operation: 22-3=19, Resulting Numbers: [4, 19]
Generated Node #0,0,0: 77:[4, 19] Operation: 22-3=19
Moving to Node #0,0,0
Current State: 77:[4, 19], Operations: ['53-49=4', '22-3=19']
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,77 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
69,
38,
12,
4
] | 71 | [
"69+12=81",
"38*4=152",
"152-81=71"
] | Current State: 71:[69, 38, 12, 4], Operations: []
Exploring Operation: 69+12=81, Resulting Numbers: [38, 4, 81]
Generated Node #2: [38, 4, 81] from Operation: 69+12=81
Current State: 71:[38, 4, 81], Operations: ['69+12=81']
Exploring Operation: 38*4=152, Resulting Numbers: [81, 152]
Generated Node #3: [81, 152] from Operation: 38*4=152
Current State: 71:[81, 152], Operations: ['69+12=81', '38*4=152']
Exploring Operation: 152-81=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[69, 38, 12, 4], Operations: []
Exploring Operation: 12+4=16, Resulting Numbers: [69, 38, 16]
Generated Node #0,0: 71:[69, 38, 16] Operation: 12+4=16
Exploring Operation: 12*4=48, Resulting Numbers: [69, 38, 48]
Generated Node #0,1: 71:[69, 38, 48] Operation: 12*4=48
Exploring Operation: 38+4=42, Resulting Numbers: [69, 12, 42]
Generated Node #0,2: 71:[69, 12, 42] Operation: 38+4=42
Exploring Operation: 38+12=50, Resulting Numbers: [69, 4, 50]
Generated Node #0,3: 71:[69, 4, 50] Operation: 38+12=50
Moving to Node #0,1
Current State: 71:[69, 38, 48], Operations: ['12*4=48']
Exploring Operation: 48-38=10, Resulting Numbers: [69, 10]
Generated Node #0,1,0: 71:[69, 10] Operation: 48-38=10
Exploring Operation: 38+48=86, Resulting Numbers: [69, 86]
Generated Node #0,1,1: 71:[69, 86] Operation: 38+48=86
Exploring Operation: 69+38=107, Resulting Numbers: [48, 107]
Generated Node #0,1,2: 71:[48, 107] Operation: 69+38=107
Exploring Operation: 69-38=31, Resulting Numbers: [48, 31]
Generated Node #0,1,3: 71:[48, 31] Operation: 69-38=31
Moving to Node #0,2
Current State: 71:[69, 12, 42], Operations: ['38+4=42']
Exploring Operation: 42-12=30, Resulting Numbers: [69, 30]
Generated Node #0,2,0: 71:[69, 30] Operation: 42-12=30
Exploring Operation: 69-12=57, Resulting Numbers: [42, 57]
Generated Node #0,2,1: 71:[42, 57] Operation: 69-12=57
Exploring Operation: 69+12=81, Resulting Numbers: [42, 81]
Generated Node #0,2,2: 71:[42, 81] Operation: 69+12=81
Exploring Operation: 12+42=54, Resulting Numbers: [69, 54]
Generated Node #0,2,3: 71:[69, 54] Operation: 12+42=54
Moving to Node #0,0
Current State: 71:[69, 38, 16], Operations: ['12+4=16']
Exploring Operation: 69+16=85, Resulting Numbers: [38, 85]
Generated Node #0,0,0: 71:[38, 85] Operation: 69+16=85
Exploring Operation: 38-16=22, Resulting Numbers: [69, 22]
Generated Node #0,0,1: 71:[69, 22] Operation: 38-16=22
Exploring Operation: 69-16=53, Resulting Numbers: [38, 53]
Generated Node #0,0,2: 71:[38, 53] Operation: 69-16=53
Exploring Operation: 38+16=54, Resulting Numbers: [69, 54]
Generated Node #0,0,3: 71:[69, 54] Operation: 38+16=54
Moving to Node #0,3
Current State: 71:[69, 4, 50], Operations: ['38+12=50']
Exploring Operation: 4+50=54, Resulting Numbers: [69, 54]
Generated Node #0,3,0: 71:[69, 54] Operation: 4+50=54
Exploring Operation: 50-4=46, Resulting Numbers: [69, 46]
Generated Node #0,3,1: 71:[69, 46] Operation: 50-4=46
Exploring Operation: 69-4=65, Resulting Numbers: [50, 65]
Generated Node #0,3,2: 71:[50, 65] Operation: 69-4=65
Exploring Operation: 69+4=73, Resulting Numbers: [50, 73]
Generated Node #0,3,3: 71:[50, 73] Operation: 69+4=73
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 71:[69, 54], Operations: ['38+12=50', '4+50=54']
Exploring Operation: 69-54=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Exploring Operation: 69+54=123, Resulting Numbers: [123]
123,71 unequal: No Solution
Exploring Operation: 69*54=3726, Resulting Numbers: [3726]
3726,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,3
Current State: 71:[50, 73], Operations: ['38+12=50', '69+4=73']
Exploring Operation: 73-50=23, Resulting Numbers: [23]
23,71 unequal: No Solution
Exploring Operation: 50+73=123, Resulting Numbers: [123]
123,71 unequal: No Solution
Exploring Operation: 50*73=3650, Resulting Numbers: [3650]
3650,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,1
Current State: 71:[69, 46], Operations: ['38+12=50', '50-4=46']
Exploring Operation: 69-46=23, Resulting Numbers: [23]
23,71 unequal: No Solution
Exploring Operation: 69+46=115, Resulting Numbers: [115]
115,71 unequal: No Solution
Exploring Operation: 69*46=3174, Resulting Numbers: [3174]
3174,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,2
Current State: 71:[50, 65], Operations: ['38+12=50', '69-4=65']
Exploring Operation: 65-50=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Exploring Operation: 50+65=115, Resulting Numbers: [115]
115,71 unequal: No Solution
Exploring Operation: 50*65=3250, Resulting Numbers: [3250]
3250,71 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: 71:[69, 86], Operations: ['12*4=48', '38+48=86']
Exploring Operation: 69*86=5934, Resulting Numbers: [5934]
5934,71 unequal: No Solution
Exploring Operation: 86-69=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 69+86=155, Resulting Numbers: [155]
155,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[69, 54], Operations: ['38+4=42', '12+42=54']
Exploring Operation: 69*54=3726, Resulting Numbers: [3726]
3726,71 unequal: No Solution
Exploring Operation: 69+54=123, Resulting Numbers: [123]
123,71 unequal: No Solution
Exploring Operation: 69-54=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[69, 54], Operations: ['12+4=16', '38+16=54']
Exploring Operation: 69*54=3726, Resulting Numbers: [3726]
3726,71 unequal: No Solution
Exploring Operation: 69-54=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Exploring Operation: 69+54=123, Resulting Numbers: [123]
123,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[42, 81], Operations: ['38+4=42', '69+12=81']
Exploring Operation: 42*81=3402, Resulting Numbers: [3402]
3402,71 unequal: No Solution
Exploring Operation: 81-42=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 42+81=123, Resulting Numbers: [123]
123,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[69, 30], Operations: ['38+4=42', '42-12=30']
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 69*30=2070, Resulting Numbers: [2070]
2070,71 unequal: No Solution
Exploring Operation: 69+30=99, Resulting Numbers: [99]
99,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[42, 57], Operations: ['38+4=42', '69-12=57']
Exploring Operation: 42*57=2394, Resulting Numbers: [2394]
2394,71 unequal: No Solution
Exploring Operation: 42+57=99, Resulting Numbers: [99]
99,71 unequal: No Solution
Exploring Operation: 57-42=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[38, 85], Operations: ['12+4=16', '69+16=85']
Exploring Operation: 85-38=47, Resulting Numbers: [47]
47,71 unequal: No Solution
Exploring Operation: 38*85=3230, Resulting Numbers: [3230]
3230,71 unequal: No Solution
Exploring Operation: 38+85=123, Resulting Numbers: [123]
123,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[38, 53], Operations: ['12+4=16', '69-16=53']
Exploring Operation: 38*53=2014, Resulting Numbers: [2014]
2014,71 unequal: No Solution
Exploring Operation: 38+53=91, Resulting Numbers: [91]
91,71 unequal: No Solution
Exploring Operation: 53-38=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[69, 22], Operations: ['12+4=16', '38-16=22']
Exploring Operation: 69+22=91, Resulting Numbers: [91]
91,71 unequal: No Solution
Exploring Operation: 69-22=47, Resulting Numbers: [47]
47,71 unequal: No Solution
Exploring Operation: 69*22=1518, Resulting Numbers: [1518]
1518,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[48, 107], Operations: ['12*4=48', '69+38=107']
Exploring Operation: 107-48=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 48*107=5136, Resulting Numbers: [5136]
5136,71 unequal: No Solution
Exploring Operation: 48+107=155, Resulting Numbers: [155]
155,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[48, 31], Operations: ['12*4=48', '69-38=31']
Exploring Operation: 48*31=1488, Resulting Numbers: [1488]
1488,71 unequal: No Solution
Exploring Operation: 48+31=79, Resulting Numbers: [79]
79,71 unequal: No Solution
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[69, 10], Operations: ['12*4=48', '48-38=10']
Exploring Operation: 69*10=690, Resulting Numbers: [690]
690,71 unequal: No Solution
Exploring Operation: 69+10=79, Resulting Numbers: [79]
79,71 unequal: No Solution
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,71 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
54,
3,
35,
2
] | 51 | [
"54/3=18",
"35-2=33",
"18+33=51"
] | Current State: 51:[54, 3, 35, 2], Operations: []
Exploring Operation: 54/3=18, Resulting Numbers: [35, 2, 18]
Generated Node #2: [35, 2, 18] from Operation: 54/3=18
Current State: 51:[35, 2, 18], Operations: ['54/3=18']
Exploring Operation: 35-2=33, Resulting Numbers: [18, 33]
Generated Node #3: [18, 33] from Operation: 35-2=33
Current State: 51:[18, 33], Operations: ['54/3=18', '35-2=33']
Exploring Operation: 18+33=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[54, 3, 35, 2], Operations: []
Exploring Operation: 54-35=19, Resulting Numbers: [3, 2, 19]
Generated Node #0,0: 51:[3, 2, 19] Operation: 54-35=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[3, 2, 19], Operations: ['54-35=19']
Exploring Operation: 19-2=17, Resulting Numbers: [3, 17]
Generated Node #0,0,0: 51:[3, 17] Operation: 19-2=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[3, 17], Operations: ['54-35=19', '19-2=17']
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[54, 3, 35, 2], Operations: []
Exploring Operation: 54-35=19, Resulting Numbers: [3, 2, 19]
Generated Node #0,0: 51:[3, 2, 19] Operation: 54-35=19
Moving to Node #0,0
Current State: 51:[3, 2, 19], Operations: ['54-35=19']
Exploring Operation: 19-2=17, Resulting Numbers: [3, 17]
Generated Node #0,0,0: 51:[3, 17] Operation: 19-2=17
Moving to Node #0,0,0
Current State: 51:[3, 17], Operations: ['54-35=19', '19-2=17']
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
43,
63,
17,
16
] | 53 | [
"63-43=20",
"17+16=33",
"20+33=53"
] | Current State: 53:[43, 63, 17, 16], Operations: []
Exploring Operation: 63-43=20, Resulting Numbers: [17, 16, 20]
Generated Node #2: [17, 16, 20] from Operation: 63-43=20
Current State: 53:[17, 16, 20], Operations: ['63-43=20']
Exploring Operation: 17+16=33, Resulting Numbers: [20, 33]
Generated Node #3: [20, 33] from Operation: 17+16=33
Current State: 53:[20, 33], Operations: ['63-43=20', '17+16=33']
Exploring Operation: 20+33=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[43, 63, 17, 16], Operations: []
Exploring Operation: 17+16=33, Resulting Numbers: [43, 63, 33]
Generated Node #0,0: 53:[43, 63, 33] Operation: 17+16=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[43, 63, 33], Operations: ['17+16=33']
Exploring Operation: 43+33=76, Resulting Numbers: [63, 76]
Generated Node #0,0,0: 53:[63, 76] Operation: 43+33=76
Moving to Node #0,0,0
Current State: 53:[63, 76], Operations: ['17+16=33', '43+33=76']
Exploring Operation: 76-63=13, Resulting Numbers: [13]
13,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
78,
29,
43,
5
] | 69 | [
"78+29=107",
"43-5=38",
"107-38=69"
] | Current State: 69:[78, 29, 43, 5], Operations: []
Exploring Operation: 78+29=107, Resulting Numbers: [43, 5, 107]
Generated Node #2: [43, 5, 107] from Operation: 78+29=107
Current State: 69:[43, 5, 107], Operations: ['78+29=107']
Exploring Operation: 43-5=38, Resulting Numbers: [107, 38]
Generated Node #3: [107, 38] from Operation: 43-5=38
Current State: 69:[107, 38], Operations: ['78+29=107', '43-5=38']
Exploring Operation: 107-38=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[78, 29, 43, 5], Operations: []
Exploring Operation: 29+43=72, Resulting Numbers: [78, 5, 72]
Generated Node #0,0: 69:[78, 5, 72] Operation: 29+43=72
Exploring Operation: 43-29=14, Resulting Numbers: [78, 5, 14]
Generated Node #0,1: 69:[78, 5, 14] Operation: 43-29=14
Exploring Operation: 78-5=73, Resulting Numbers: [29, 43, 73]
Generated Node #0,2: 69:[29, 43, 73] Operation: 78-5=73
Exploring Operation: 29-5=24, Resulting Numbers: [78, 43, 24]
Generated Node #0,3: 69:[78, 43, 24] Operation: 29-5=24
Exploring Operation: 78-43=35, Resulting Numbers: [29, 5, 35]
Generated Node #0,4: 69:[29, 5, 35] Operation: 78-43=35
Moving to Node #0,0
Current State: 69:[78, 5, 72], Operations: ['29+43=72']
Exploring Operation: 78+5=83, Resulting Numbers: [72, 83]
Generated Node #0,0,0: 69:[72, 83] Operation: 78+5=83
Exploring Operation: 78-5=73, Resulting Numbers: [72, 73]
Generated Node #0,0,1: 69:[72, 73] Operation: 78-5=73
Exploring Operation: 72-5=67, Resulting Numbers: [78, 67]
Generated Node #0,0,2: 69:[78, 67] Operation: 72-5=67
Exploring Operation: 5+72=77, Resulting Numbers: [78, 77]
Generated Node #0,0,3: 69:[78, 77] Operation: 5+72=77
Exploring Operation: 78-72=6, Resulting Numbers: [5, 6]
Generated Node #0,0,4: 69:[5, 6] Operation: 78-72=6
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 69:[5, 6], Operations: ['29+43=72', '78-72=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 69:[72, 73], Operations: ['29+43=72', '78-5=73']
Exploring Operation: 72+73=145, Resulting Numbers: [145]
145,69 unequal: No Solution
Exploring Operation: 73-72=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 72*73=5256, Resulting Numbers: [5256]
5256,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 69:[78, 67], Operations: ['29+43=72', '72-5=67']
Exploring Operation: 78*67=5226, Resulting Numbers: [5226]
5226,69 unequal: No Solution
Exploring Operation: 78-67=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Exploring Operation: 78+67=145, Resulting Numbers: [145]
145,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[72, 83], Operations: ['29+43=72', '78+5=83']
Exploring Operation: 72+83=155, Resulting Numbers: [155]
155,69 unequal: No Solution
Exploring Operation: 72*83=5976, Resulting Numbers: [5976]
5976,69 unequal: No Solution
Exploring Operation: 83-72=11, Resulting Numbers: [11]
11,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 69:[78, 77], Operations: ['29+43=72', '5+72=77']
Exploring Operation: 78*77=6006, Resulting Numbers: [6006]
6006,69 unequal: No Solution
Exploring Operation: 78-77=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 78+77=155, Resulting Numbers: [155]
155,69 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: 69:[29, 5, 35], Operations: ['78-43=35']
Exploring Operation: 35-5=30, Resulting Numbers: [29, 30]
Generated Node #0,4,0: 69:[29, 30] Operation: 35-5=30
Exploring Operation: 35/5=7, Resulting Numbers: [29, 7]
Generated Node #0,4,1: 69:[29, 7] Operation: 35/5=7
Exploring Operation: 29+35=64, Resulting Numbers: [5, 64]
Generated Node #0,4,2: 69:[5, 64] Operation: 29+35=64
Exploring Operation: 35-29=6, Resulting Numbers: [5, 6]
Generated Node #0,4,3: 69:[5, 6] Operation: 35-29=6
Exploring Operation: 29-5=24, Resulting Numbers: [35, 24]
Generated Node #0,4,4: 69:[35, 24] Operation: 29-5=24
Moving to Node #0,1
Current State: 69:[78, 5, 14], Operations: ['43-29=14']
Exploring Operation: 78-5=73, Resulting Numbers: [14, 73]
Generated Node #0,1,0: 69:[14, 73] Operation: 78-5=73
Exploring Operation: 78-14=64, Resulting Numbers: [5, 64]
Generated Node #0,1,1: 69:[5, 64] Operation: 78-14=64
Exploring Operation: 5*14=70, Resulting Numbers: [78, 70]
Generated Node #0,1,2: 69:[78, 70] Operation: 5*14=70
Exploring Operation: 5+14=19, Resulting Numbers: [78, 19]
Generated Node #0,1,3: 69:[78, 19] Operation: 5+14=19
Exploring Operation: 14-5=9, Resulting Numbers: [78, 9]
Generated Node #0,1,4: 69:[78, 9] Operation: 14-5=9
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 69:[5, 64], Operations: ['43-29=14', '78-14=64']
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,69 unequal: No Solution
Exploring Operation: 5+64=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[78, 29, 43, 5], Operations: []
Exploring Operation: 43-29=14, Resulting Numbers: [78, 5, 14]
Generated Node #0,1: 69:[78, 5, 14] Operation: 43-29=14
Moving to Node #0,1
Current State: 69:[78, 5, 14], Operations: ['43-29=14']
Exploring Operation: 78-14=64, Resulting Numbers: [5, 64]
Generated Node #0,1,1: 69:[5, 64] Operation: 78-14=64
Moving to Node #0,1,1
Current State: 69:[5, 64], Operations: ['43-29=14', '78-14=64']
Exploring Operation: 5+64=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | mult_heuristic |
[
25,
68,
69,
3
] | 70 | [
"25+68=93",
"69/3=23",
"93-23=70"
] | Current State: 70:[25, 68, 69, 3], Operations: []
Exploring Operation: 25+68=93, Resulting Numbers: [69, 3, 93]
Generated Node #2: [69, 3, 93] from Operation: 25+68=93
Current State: 70:[69, 3, 93], Operations: ['25+68=93']
Exploring Operation: 69/3=23, Resulting Numbers: [93, 23]
Generated Node #3: [93, 23] from Operation: 69/3=23
Current State: 70:[93, 23], Operations: ['25+68=93', '69/3=23']
Exploring Operation: 93-23=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[25, 68, 69, 3], Operations: []
Exploring Operation: 25*3=75, Resulting Numbers: [68, 69, 75]
Generated Node #0,0: 70:[68, 69, 75] Operation: 25*3=75
Exploring Operation: 25+3=28, Resulting Numbers: [68, 69, 28]
Generated Node #0,1: 70:[68, 69, 28] Operation: 25+3=28
Exploring Operation: 68-25=43, Resulting Numbers: [69, 3, 43]
Generated Node #0,2: 70:[69, 3, 43] Operation: 68-25=43
Exploring Operation: 69-25=44, Resulting Numbers: [68, 3, 44]
Generated Node #0,3: 70:[68, 3, 44] Operation: 69-25=44
Exploring Operation: 25-3=22, Resulting Numbers: [68, 69, 22]
Generated Node #0,4: 70:[68, 69, 22] Operation: 25-3=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[68, 69, 75], Operations: ['25*3=75']
Exploring Operation: 75-68=7, Resulting Numbers: [69, 7]
Generated Node #0,0,0: 70:[69, 7] Operation: 75-68=7
Exploring Operation: 68+69=137, Resulting Numbers: [75, 137]
Generated Node #0,0,1: 70:[75, 137] Operation: 68+69=137
Exploring Operation: 75-69=6, Resulting Numbers: [68, 6]
Generated Node #0,0,2: 70:[68, 6] Operation: 75-69=6
Exploring Operation: 69-68=1, Resulting Numbers: [75, 1]
Generated Node #0,0,3: 70:[75, 1] Operation: 69-68=1
Exploring Operation: 68+75=143, Resulting Numbers: [69, 143]
Generated Node #0,0,4: 70:[69, 143] Operation: 68+75=143
Moving to Node #0,0,0
Current State: 70:[69, 7], Operations: ['25*3=75', '75-68=7']
Exploring Operation: 69*7=483, Resulting Numbers: [483]
483,70 unequal: No Solution
Exploring Operation: 69-7=62, Resulting Numbers: [62]
62,70 unequal: No Solution
Exploring Operation: 69+7=76, Resulting Numbers: [76]
76,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[68, 6], Operations: ['25*3=75', '75-69=6']
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,70 unequal: No Solution
Exploring Operation: 68*6=408, Resulting Numbers: [408]
408,70 unequal: No Solution
Exploring Operation: 68+6=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Moving to Node #0,0,3
Current State: 70:[75, 1], Operations: ['25*3=75', '69-68=1']
Exploring Operation: 75*1=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 75+1=76, Resulting Numbers: [76]
76,70 unequal: No Solution
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[75, 137], Operations: ['25*3=75', '68+69=137']
Exploring Operation: 75+137=212, Resulting Numbers: [212]
212,70 unequal: No Solution
Exploring Operation: 137-75=62, Resulting Numbers: [62]
62,70 unequal: No Solution
Exploring Operation: 75*137=10275, Resulting Numbers: [10275]
10275,70 unequal: No Solution
Moving to Node #0,0,4
Current State: 70:[69, 143], Operations: ['25*3=75', '68+75=143']
Exploring Operation: 69+143=212, Resulting Numbers: [212]
212,70 unequal: No Solution
Exploring Operation: 143-69=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 69*143=9867, Resulting Numbers: [9867]
9867,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[68, 69, 28], Operations: ['25+3=28']
Exploring Operation: 68-28=40, Resulting Numbers: [69, 40]
Generated Node #0,1,0: 70:[69, 40] Operation: 68-28=40
Exploring Operation: 68+28=96, Resulting Numbers: [69, 96]
Generated Node #0,1,1: 70:[69, 96] Operation: 68+28=96
Exploring Operation: 69-68=1, Resulting Numbers: [28, 1]
Generated Node #0,1,2: 70:[28, 1] Operation: 69-68=1
Exploring Operation: 69+28=97, Resulting Numbers: [68, 97]
Generated Node #0,1,3: 70:[68, 97] Operation: 69+28=97
Exploring Operation: 69-28=41, Resulting Numbers: [68, 41]
Generated Node #0,1,4: 70:[68, 41] Operation: 69-28=41
Moving to Node #0,1,0
Current State: 70:[69, 40], Operations: ['25+3=28', '68-28=40']
Exploring Operation: 69*40=2760, Resulting Numbers: [2760]
2760,70 unequal: No Solution
Exploring Operation: 69+40=109, Resulting Numbers: [109]
109,70 unequal: No Solution
Exploring Operation: 69-40=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Moving to Node #0,1,4
Current State: 70:[68, 41], Operations: ['25+3=28', '69-28=41']
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,70 unequal: No Solution
Exploring Operation: 68+41=109, Resulting Numbers: [109]
109,70 unequal: No Solution
Exploring Operation: 68*41=2788, Resulting Numbers: [2788]
2788,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[28, 1], Operations: ['25+3=28', '69-68=1']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,70 unequal: No Solution
Exploring Operation: 28+1=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,70 unequal: No Solution
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[69, 96], Operations: ['25+3=28', '68+28=96']
Exploring Operation: 96-69=27, Resulting Numbers: [27]
27,70 unequal: No Solution
Exploring Operation: 69*96=6624, Resulting Numbers: [6624]
6624,70 unequal: No Solution
Exploring Operation: 69+96=165, Resulting Numbers: [165]
165,70 unequal: No Solution
Moving to Node #0,1,3
Current State: 70:[68, 97], Operations: ['25+3=28', '69+28=97']
Exploring Operation: 97-68=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 68*97=6596, Resulting Numbers: [6596]
6596,70 unequal: No Solution
Exploring Operation: 68+97=165, Resulting Numbers: [165]
165,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[69, 3, 43], Operations: ['68-25=43']
Exploring Operation: 43-3=40, Resulting Numbers: [69, 40]
Generated Node #0,2,0: 70:[69, 40] Operation: 43-3=40
Exploring Operation: 69-43=26, Resulting Numbers: [3, 26]
Generated Node #0,2,1: 70:[3, 26] Operation: 69-43=26
Exploring Operation: 3+43=46, Resulting Numbers: [69, 46]
Generated Node #0,2,2: 70:[69, 46] Operation: 3+43=46
Exploring Operation: 69+3=72, Resulting Numbers: [43, 72]
Generated Node #0,2,3: 70:[43, 72] Operation: 69+3=72
Exploring Operation: 69-3=66, Resulting Numbers: [43, 66]
Generated Node #0,2,4: 70:[43, 66] Operation: 69-3=66
Moving to Node #0,2,0
Current State: 70:[69, 40], Operations: ['68-25=43', '43-3=40']
Exploring Operation: 69*40=2760, Resulting Numbers: [2760]
2760,70 unequal: No Solution
Exploring Operation: 69+40=109, Resulting Numbers: [109]
109,70 unequal: No Solution
Exploring Operation: 69-40=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Moving to Node #0,2,3
Current State: 70:[43, 72], Operations: ['68-25=43', '69+3=72']
Exploring Operation: 43*72=3096, Resulting Numbers: [3096]
3096,70 unequal: No Solution
Exploring Operation: 43+72=115, Resulting Numbers: [115]
115,70 unequal: No Solution
Exploring Operation: 72-43=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Moving to Node #0,2,1
Current State: 70:[3, 26], Operations: ['68-25=43', '69-43=26']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,70 unequal: No Solution
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[69, 46], Operations: ['68-25=43', '3+43=46']
Exploring Operation: 69*46=3174, Resulting Numbers: [3174]
3174,70 unequal: No Solution
Exploring Operation: 69+46=115, Resulting Numbers: [115]
115,70 unequal: No Solution
Exploring Operation: 69-46=23, Resulting Numbers: [23]
23,70 unequal: No Solution
Moving to Node #0,2,4
Current State: 70:[43, 66], Operations: ['68-25=43', '69-3=66']
Exploring Operation: 66-43=23, Resulting Numbers: [23]
23,70 unequal: No Solution
Exploring Operation: 43+66=109, Resulting Numbers: [109]
109,70 unequal: No Solution
Exploring Operation: 43*66=2838, Resulting Numbers: [2838]
2838,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 70:[68, 69, 22], Operations: ['25-3=22']
Exploring Operation: 69+22=91, Resulting Numbers: [68, 91]
Generated Node #0,4,0: 70:[68, 91] Operation: 69+22=91
Exploring Operation: 69-22=47, Resulting Numbers: [68, 47]
Generated Node #0,4,1: 70:[68, 47] Operation: 69-22=47
Exploring Operation: 68+22=90, Resulting Numbers: [69, 90]
Generated Node #0,4,2: 70:[69, 90] Operation: 68+22=90
Exploring Operation: 69-68=1, Resulting Numbers: [22, 1]
Generated Node #0,4,3: 70:[22, 1] Operation: 69-68=1
Exploring Operation: 68-22=46, Resulting Numbers: [69, 46]
Generated Node #0,4,4: 70:[69, 46] Operation: 68-22=46
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 70:[22, 1], Operations: ['25-3=22', '69-68=1']
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 70:[69, 46], Operations: ['25-3=22', '68-22=46']
Exploring Operation: 69-46=23, Resulting Numbers: [23]
23,70 unequal: No Solution
Exploring Operation: 69+46=115, Resulting Numbers: [115]
115,70 unequal: No Solution
Exploring Operation: 69*46=3174, Resulting Numbers: [3174]
3174,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 70:[68, 47], Operations: ['25-3=22', '69-22=47']
Exploring Operation: 68*47=3196, Resulting Numbers: [3196]
3196,70 unequal: No Solution
Exploring Operation: 68-47=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Exploring Operation: 68+47=115, Resulting Numbers: [115]
115,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 70:[69, 90], Operations: ['25-3=22', '68+22=90']
Exploring Operation: 90-69=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Exploring Operation: 69*90=6210, Resulting Numbers: [6210]
6210,70 unequal: No Solution
Exploring Operation: 69+90=159, Resulting Numbers: [159]
159,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 70:[68, 91], Operations: ['25-3=22', '69+22=91']
Exploring Operation: 91-68=23, Resulting Numbers: [23]
23,70 unequal: No Solution
Exploring Operation: 68+91=159, Resulting Numbers: [159]
159,70 unequal: No Solution
Exploring Operation: 68*91=6188, Resulting Numbers: [6188]
6188,70 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: 70:[68, 3, 44], Operations: ['69-25=44']
Exploring Operation: 44-3=41, Resulting Numbers: [68, 41]
Generated Node #0,3,0: 70:[68, 41] Operation: 44-3=41
Exploring Operation: 68-44=24, Resulting Numbers: [3, 24]
Generated Node #0,3,1: 70:[3, 24] Operation: 68-44=24
Exploring Operation: 68+3=71, Resulting Numbers: [44, 71]
Generated Node #0,3,2: 70:[44, 71] Operation: 68+3=71
Exploring Operation: 68-3=65, Resulting Numbers: [44, 65]
Generated Node #0,3,3: 70:[44, 65] Operation: 68-3=65
Exploring Operation: 3+44=47, Resulting Numbers: [68, 47]
Generated Node #0,3,4: 70:[68, 47] Operation: 3+44=47
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 70:[68, 41], Operations: ['69-25=44', '44-3=41']
Exploring Operation: 68+41=109, Resulting Numbers: [109]
109,70 unequal: No Solution
Exploring Operation: 68*41=2788, Resulting Numbers: [2788]
2788,70 unequal: No Solution
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 70:[44, 71], Operations: ['69-25=44', '68+3=71']
Exploring Operation: 44*71=3124, Resulting Numbers: [3124]
3124,70 unequal: No Solution
Exploring Operation: 44+71=115, Resulting Numbers: [115]
115,70 unequal: No Solution
Exploring Operation: 71-44=27, Resulting Numbers: [27]
27,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 70:[3, 24], Operations: ['69-25=44', '68-44=24']
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,70 unequal: No Solution
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,70 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 70:[44, 65], Operations: ['69-25=44', '68-3=65']
Exploring Operation: 65-44=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Exploring Operation: 44+65=109, Resulting Numbers: [109]
109,70 unequal: No Solution
Exploring Operation: 44*65=2860, Resulting Numbers: [2860]
2860,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 70:[68, 47], Operations: ['69-25=44', '3+44=47']
Exploring Operation: 68-47=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Exploring Operation: 68+47=115, Resulting Numbers: [115]
115,70 unequal: No Solution
Exploring Operation: 68*47=3196, Resulting Numbers: [3196]
3196,70 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 |
[
28,
25,
55,
80
] | 27 | [
"25+55=80",
"80/80=1",
"28-1=27"
] | Current State: 27:[28, 25, 55, 80], Operations: []
Exploring Operation: 25+55=80, Resulting Numbers: [28, 80, 80]
Generated Node #2: [28, 80, 80] from Operation: 25+55=80
Current State: 27:[28, 80, 80], Operations: ['25+55=80']
Exploring Operation: 80/80=1, Resulting Numbers: [28, 1]
Generated Node #3: [28, 1] from Operation: 80/80=1
Current State: 27:[28, 1], Operations: ['25+55=80', '80/80=1']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[28, 25, 55, 80], Operations: []
Exploring Operation: 80-55=25, Resulting Numbers: [28, 25, 25]
Generated Node #0,0: 27:[28, 25, 25] Operation: 80-55=25
Moving to Node #0,0
Current State: 27:[28, 25, 25], Operations: ['80-55=25']
Exploring Operation: 28-25=3, Resulting Numbers: [25, 3]
Generated Node #0,0,0: 27:[25, 3] Operation: 28-25=3
Moving to Node #0,0,0
Current State: 27:[25, 3], Operations: ['80-55=25', '28-25=3']
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,27 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
94,
56,
38,
19
] | 75 | [
"94+56=150",
"38/19=2",
"150/2=75"
] | Current State: 75:[94, 56, 38, 19], Operations: []
Exploring Operation: 94+56=150, Resulting Numbers: [38, 19, 150]
Generated Node #2: [38, 19, 150] from Operation: 94+56=150
Current State: 75:[38, 19, 150], Operations: ['94+56=150']
Exploring Operation: 38/19=2, Resulting Numbers: [150, 2]
Generated Node #3: [150, 2] from Operation: 38/19=2
Current State: 75:[150, 2], Operations: ['94+56=150', '38/19=2']
Exploring Operation: 150/2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[94, 56, 38, 19], Operations: []
Exploring Operation: 56-38=18, Resulting Numbers: [94, 19, 18]
Generated Node #0,0: 75:[94, 19, 18] Operation: 56-38=18
Exploring Operation: 94-19=75, Resulting Numbers: [56, 38, 75]
Generated Node #0,1: 75:[56, 38, 75] Operation: 94-19=75
Exploring Operation: 94-56=38, Resulting Numbers: [38, 19, 38]
Generated Node #0,2: 75:[38, 19, 38] Operation: 94-56=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[94, 19, 18], Operations: ['56-38=18']
Exploring Operation: 94-19=75, Resulting Numbers: [18, 75]
Generated Node #0,0,0: 75:[18, 75] Operation: 94-19=75
Exploring Operation: 94-18=76, Resulting Numbers: [19, 76]
Generated Node #0,0,1: 75:[19, 76] Operation: 94-18=76
Exploring Operation: 19-18=1, Resulting Numbers: [94, 1]
Generated Node #0,0,2: 75:[94, 1] Operation: 19-18=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[18, 75], Operations: ['56-38=18', '94-19=75']
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,75 unequal: No Solution
Exploring Operation: 18*75=1350, Resulting Numbers: [1350]
1350,75 unequal: No Solution
Exploring Operation: 18+75=93, Resulting Numbers: [93]
93,75 unequal: No Solution
No 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: 75:[19, 76], Operations: ['56-38=18', '94-18=76']
Exploring Operation: 19+76=95, Resulting Numbers: [95]
95,75 unequal: No Solution
Exploring Operation: 76-19=57, Resulting Numbers: [57]
57,75 unequal: No Solution
Exploring Operation: 76/19=4, Resulting Numbers: [4]
4,75 unequal: No Solution
No 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: 75:[94, 1], Operations: ['56-38=18', '19-18=1']
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,75 unequal: No Solution
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,75 unequal: No Solution
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,75 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: 75:[38, 19, 38], Operations: ['94-56=38']
Exploring Operation: 38-38=0, Resulting Numbers: [19, 0]
Generated Node #0,2,0: 75:[19, 0] Operation: 38-38=0
Exploring Operation: 38+38=76, Resulting Numbers: [19, 76]
Generated Node #0,2,1: 75:[19, 76] Operation: 38+38=76
Exploring Operation: 38/38=1, Resulting Numbers: [19, 1]
Generated Node #0,2,2: 75:[19, 1] Operation: 38/38=1
Moving to Node #0,2,1
Current State: 75:[19, 76], Operations: ['94-56=38', '38+38=76']
Exploring Operation: 19+76=95, Resulting Numbers: [95]
95,75 unequal: No Solution
Exploring Operation: 76/19=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Exploring Operation: 76-19=57, Resulting Numbers: [57]
57,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[19, 1], Operations: ['94-56=38', '38/38=1']
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[19, 0], Operations: ['94-56=38', '38-38=0']
Exploring Operation: 19*0=0, Resulting Numbers: [0]
0,75 unequal: No Solution
Exploring Operation: 19-0=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 19+0=19, Resulting Numbers: [19]
19,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[56, 38, 75], Operations: ['94-19=75']
Exploring Operation: 56-38=18, Resulting Numbers: [75, 18]
Generated Node #0,1,0: 75:[75, 18] Operation: 56-38=18
Exploring Operation: 75-56=19, Resulting Numbers: [38, 19]
Generated Node #0,1,1: 75:[38, 19] Operation: 75-56=19
Exploring Operation: 56+38=94, Resulting Numbers: [75, 94]
Generated Node #0,1,2: 75:[75, 94] Operation: 56+38=94
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[75, 18], Operations: ['94-19=75', '56-38=18']
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,75 unequal: No Solution
Exploring Operation: 75+18=93, Resulting Numbers: [93]
93,75 unequal: No Solution
Exploring Operation: 75*18=1350, Resulting Numbers: [1350]
1350,75 unequal: No Solution
No 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: 75:[38, 19], Operations: ['94-19=75', '75-56=19']
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 38+19=57, Resulting Numbers: [57]
57,75 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,75 unequal: No Solution
No 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: 75:[75, 94], Operations: ['94-19=75', '56+38=94']
Exploring Operation: 75*94=7050, Resulting Numbers: [7050]
7050,75 unequal: No Solution
Exploring Operation: 94-75=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 75+94=169, Resulting Numbers: [169]
169,75 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 |
[
92,
61,
84,
81
] | 77 | [
"84-61=23",
"92/23=4",
"81-4=77"
] | Current State: 77:[92, 61, 84, 81], Operations: []
Exploring Operation: 84-61=23, Resulting Numbers: [92, 81, 23]
Generated Node #2: [92, 81, 23] from Operation: 84-61=23
Current State: 77:[92, 81, 23], Operations: ['84-61=23']
Exploring Operation: 92/23=4, Resulting Numbers: [81, 4]
Generated Node #3: [81, 4] from Operation: 92/23=4
Current State: 77:[81, 4], Operations: ['84-61=23', '92/23=4']
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[92, 61, 84, 81], Operations: []
Exploring Operation: 92-61=31, Resulting Numbers: [84, 81, 31]
Generated Node #0,0: 77:[84, 81, 31] Operation: 92-61=31
Exploring Operation: 92-81=11, Resulting Numbers: [61, 84, 11]
Generated Node #0,1: 77:[61, 84, 11] Operation: 92-81=11
Exploring Operation: 81-61=20, Resulting Numbers: [92, 84, 20]
Generated Node #0,2: 77:[92, 84, 20] Operation: 81-61=20
Exploring Operation: 92-84=8, Resulting Numbers: [61, 81, 8]
Generated Node #0,3: 77:[61, 81, 8] Operation: 92-84=8
Exploring Operation: 84-61=23, Resulting Numbers: [92, 81, 23]
Generated Node #0,4: 77:[92, 81, 23] Operation: 84-61=23
Moving to Node #0,3
Current State: 77:[61, 81, 8], Operations: ['92-84=8']
Exploring Operation: 81+8=89, Resulting Numbers: [61, 89]
Generated Node #0,3,0: 77:[61, 89] Operation: 81+8=89
Exploring Operation: 61+8=69, Resulting Numbers: [81, 69]
Generated Node #0,3,1: 77:[81, 69] Operation: 61+8=69
Exploring Operation: 61-8=53, Resulting Numbers: [81, 53]
Generated Node #0,3,2: 77:[81, 53] Operation: 61-8=53
Exploring Operation: 81-61=20, Resulting Numbers: [8, 20]
Generated Node #0,3,3: 77:[8, 20] Operation: 81-61=20
Exploring Operation: 81-8=73, Resulting Numbers: [61, 73]
Generated Node #0,3,4: 77:[61, 73] Operation: 81-8=73
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 77:[8, 20], Operations: ['92-84=8', '81-61=20']
Exploring Operation: 8*20=160, Resulting Numbers: [160]
160,77 unequal: No Solution
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 77:[81, 69], Operations: ['92-84=8', '61+8=69']
Exploring Operation: 81-69=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 81*69=5589, Resulting Numbers: [5589]
5589,77 unequal: No Solution
Exploring Operation: 81+69=150, Resulting Numbers: [150]
150,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 77:[61, 73], Operations: ['92-84=8', '81-8=73']
Exploring Operation: 61*73=4453, Resulting Numbers: [4453]
4453,77 unequal: No Solution
Exploring Operation: 61+73=134, Resulting Numbers: [134]
134,77 unequal: No Solution
Exploring Operation: 73-61=12, Resulting Numbers: [12]
12,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 77:[61, 89], Operations: ['92-84=8', '81+8=89']
Exploring Operation: 61*89=5429, Resulting Numbers: [5429]
5429,77 unequal: No Solution
Exploring Operation: 89-61=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 61+89=150, Resulting Numbers: [150]
150,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 77:[81, 53], Operations: ['92-84=8', '61-8=53']
Exploring Operation: 81+53=134, Resulting Numbers: [134]
134,77 unequal: No Solution
Exploring Operation: 81-53=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 81*53=4293, Resulting Numbers: [4293]
4293,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 77:[61, 84, 11], Operations: ['92-81=11']
Exploring Operation: 84+11=95, Resulting Numbers: [61, 95]
Generated Node #0,1,0: 77:[61, 95] Operation: 84+11=95
Exploring Operation: 84-61=23, Resulting Numbers: [11, 23]
Generated Node #0,1,1: 77:[11, 23] Operation: 84-61=23
Exploring Operation: 61-11=50, Resulting Numbers: [84, 50]
Generated Node #0,1,2: 77:[84, 50] Operation: 61-11=50
Exploring Operation: 84-11=73, Resulting Numbers: [61, 73]
Generated Node #0,1,3: 77:[61, 73] Operation: 84-11=73
Exploring Operation: 61+11=72, Resulting Numbers: [84, 72]
Generated Node #0,1,4: 77:[84, 72] Operation: 61+11=72
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 77:[11, 23], Operations: ['92-81=11', '84-61=23']
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 11*23=253, Resulting Numbers: [253]
253,77 unequal: No Solution
Exploring Operation: 11+23=34, Resulting Numbers: [34]
34,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 77:[84, 72], Operations: ['92-81=11', '61+11=72']
Exploring Operation: 84*72=6048, Resulting Numbers: [6048]
6048,77 unequal: No Solution
Exploring Operation: 84+72=156, Resulting Numbers: [156]
156,77 unequal: No Solution
Exploring Operation: 84-72=12, Resulting Numbers: [12]
12,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 77:[61, 73], Operations: ['92-81=11', '84-11=73']
Exploring Operation: 61+73=134, Resulting Numbers: [134]
134,77 unequal: No Solution
Exploring Operation: 61*73=4453, Resulting Numbers: [4453]
4453,77 unequal: No Solution
Exploring Operation: 73-61=12, Resulting Numbers: [12]
12,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 77:[61, 95], Operations: ['92-81=11', '84+11=95']
Exploring Operation: 61*95=5795, Resulting Numbers: [5795]
5795,77 unequal: No Solution
Exploring Operation: 61+95=156, Resulting Numbers: [156]
156,77 unequal: No Solution
Exploring Operation: 95-61=34, Resulting Numbers: [34]
34,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 77:[84, 50], Operations: ['92-81=11', '61-11=50']
Exploring Operation: 84*50=4200, Resulting Numbers: [4200]
4200,77 unequal: No Solution
Exploring Operation: 84+50=134, Resulting Numbers: [134]
134,77 unequal: No Solution
Exploring Operation: 84-50=34, Resulting Numbers: [34]
34,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 77:[84, 81, 31], Operations: ['92-61=31']
Exploring Operation: 84-81=3, Resulting Numbers: [31, 3]
Generated Node #0,0,0: 77:[31, 3] Operation: 84-81=3
Exploring Operation: 84+31=115, Resulting Numbers: [81, 115]
Generated Node #0,0,1: 77:[81, 115] Operation: 84+31=115
Exploring Operation: 81+31=112, Resulting Numbers: [84, 112]
Generated Node #0,0,2: 77:[84, 112] Operation: 81+31=112
Exploring Operation: 84-31=53, Resulting Numbers: [81, 53]
Generated Node #0,0,3: 77:[81, 53] Operation: 84-31=53
Exploring Operation: 81-31=50, Resulting Numbers: [84, 50]
Generated Node #0,0,4: 77:[84, 50] Operation: 81-31=50
Moving to Node #0,2
Current State: 77:[92, 84, 20], Operations: ['81-61=20']
Exploring Operation: 92-84=8, Resulting Numbers: [20, 8]
Generated Node #0,2,0: 77:[20, 8] Operation: 92-84=8
Exploring Operation: 84+20=104, Resulting Numbers: [92, 104]
Generated Node #0,2,1: 77:[92, 104] Operation: 84+20=104
Exploring Operation: 92+20=112, Resulting Numbers: [84, 112]
Generated Node #0,2,2: 77:[84, 112] Operation: 92+20=112
Exploring Operation: 84-20=64, Resulting Numbers: [92, 64]
Generated Node #0,2,3: 77:[92, 64] Operation: 84-20=64
Exploring Operation: 92-20=72, Resulting Numbers: [84, 72]
Generated Node #0,2,4: 77:[84, 72] Operation: 92-20=72
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 77:[20, 8], Operations: ['81-61=20', '92-84=8']
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,77 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 77:[84, 72], Operations: ['81-61=20', '92-20=72']
Exploring Operation: 84*72=6048, Resulting Numbers: [6048]
6048,77 unequal: No Solution
Exploring Operation: 84+72=156, Resulting Numbers: [156]
156,77 unequal: No Solution
Exploring Operation: 84-72=12, Resulting Numbers: [12]
12,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 77:[92, 64], Operations: ['81-61=20', '84-20=64']
Exploring Operation: 92-64=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 92+64=156, Resulting Numbers: [156]
156,77 unequal: No Solution
Exploring Operation: 92*64=5888, Resulting Numbers: [5888]
5888,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 77:[92, 104], Operations: ['81-61=20', '84+20=104']
Exploring Operation: 92+104=196, Resulting Numbers: [196]
196,77 unequal: No Solution
Exploring Operation: 104-92=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 92*104=9568, Resulting Numbers: [9568]
9568,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 77:[84, 112], Operations: ['81-61=20', '92+20=112']
Exploring Operation: 84+112=196, Resulting Numbers: [196]
196,77 unequal: No Solution
Exploring Operation: 84*112=9408, Resulting Numbers: [9408]
9408,77 unequal: No Solution
Exploring Operation: 112-84=28, Resulting Numbers: [28]
28,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 77:[92, 81, 23], Operations: ['84-61=23']
Exploring Operation: 92+23=115, Resulting Numbers: [81, 115]
Generated Node #0,4,0: 77:[81, 115] Operation: 92+23=115
Exploring Operation: 92/23=4, Resulting Numbers: [81, 4]
Generated Node #0,4,1: 77:[81, 4] Operation: 92/23=4
Exploring Operation: 81-23=58, Resulting Numbers: [92, 58]
Generated Node #0,4,2: 77:[92, 58] Operation: 81-23=58
Exploring Operation: 92-81=11, Resulting Numbers: [23, 11]
Generated Node #0,4,3: 77:[23, 11] Operation: 92-81=11
Exploring Operation: 92-23=69, Resulting Numbers: [81, 69]
Generated Node #0,4,4: 77:[81, 69] Operation: 92-23=69
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 77:[81, 4], Operations: ['84-61=23', '92/23=4']
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[92, 61, 84, 81], Operations: []
Exploring Operation: 84-61=23, Resulting Numbers: [92, 81, 23]
Generated Node #0,4: 77:[92, 81, 23] Operation: 84-61=23
Moving to Node #0,4
Current State: 77:[92, 81, 23], Operations: ['84-61=23']
Exploring Operation: 92/23=4, Resulting Numbers: [81, 4]
Generated Node #0,4,1: 77:[81, 4] Operation: 92/23=4
Moving to Node #0,4,1
Current State: 77:[81, 4], Operations: ['84-61=23', '92/23=4']
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.930556 | hs_5 | mult_heuristic |
[
16,
57,
41,
62
] | 30 | [
"16+57=73",
"41+62=103",
"103-73=30"
] | Current State: 30:[16, 57, 41, 62], Operations: []
Exploring Operation: 16+57=73, Resulting Numbers: [41, 62, 73]
Generated Node #2: [41, 62, 73] from Operation: 16+57=73
Current State: 30:[41, 62, 73], Operations: ['16+57=73']
Exploring Operation: 41+62=103, Resulting Numbers: [73, 103]
Generated Node #3: [73, 103] from Operation: 41+62=103
Current State: 30:[73, 103], Operations: ['16+57=73', '41+62=103']
Exploring Operation: 103-73=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[16, 57, 41, 62], Operations: []
Exploring Operation: 57-41=16, Resulting Numbers: [16, 62, 16]
Generated Node #0,0: 30:[16, 62, 16] Operation: 57-41=16
Exploring Operation: 62-57=5, Resulting Numbers: [16, 41, 5]
Generated Node #0,1: 30:[16, 41, 5] Operation: 62-57=5
Moving to Node #0,1
Current State: 30:[16, 41, 5], Operations: ['62-57=5']
Exploring Operation: 41-5=36, Resulting Numbers: [16, 36]
Generated Node #0,1,0: 30:[16, 36] Operation: 41-5=36
Exploring Operation: 41-16=25, Resulting Numbers: [5, 25]
Generated Node #0,1,1: 30:[5, 25] Operation: 41-16=25
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 30:[5, 25], Operations: ['62-57=5', '41-16=25']
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[16, 57, 41, 62], Operations: []
Exploring Operation: 62-57=5, Resulting Numbers: [16, 41, 5]
Generated Node #0,1: 30:[16, 41, 5] Operation: 62-57=5
Moving to Node #0,1
Current State: 30:[16, 41, 5], Operations: ['62-57=5']
Exploring Operation: 41-16=25, Resulting Numbers: [5, 25]
Generated Node #0,1,1: 30:[5, 25] Operation: 41-16=25
Moving to Node #0,1,1
Current State: 30:[5, 25], Operations: ['62-57=5', '41-16=25']
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
31,
91,
58,
50
] | 79 | [
"31*91=2821",
"58*50=2900",
"2900-2821=79"
] | Current State: 79:[31, 91, 58, 50], Operations: []
Exploring Operation: 31*91=2821, Resulting Numbers: [58, 50, 2821]
Generated Node #2: [58, 50, 2821] from Operation: 31*91=2821
Current State: 79:[58, 50, 2821], Operations: ['31*91=2821']
Exploring Operation: 58*50=2900, Resulting Numbers: [2821, 2900]
Generated Node #3: [2821, 2900] from Operation: 58*50=2900
Current State: 79:[2821, 2900], Operations: ['31*91=2821', '58*50=2900']
Exploring Operation: 2900-2821=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[31, 91, 58, 50], Operations: []
Exploring Operation: 31+50=81, Resulting Numbers: [91, 58, 81]
Generated Node #0,0: 79:[91, 58, 81] Operation: 31+50=81
Exploring Operation: 31+58=89, Resulting Numbers: [91, 50, 89]
Generated Node #0,1: 79:[91, 50, 89] Operation: 31+58=89
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[91, 58, 81], Operations: ['31+50=81']
Exploring Operation: 91-58=33, Resulting Numbers: [81, 33]
Generated Node #0,0,0: 79:[81, 33] Operation: 91-58=33
Exploring Operation: 81-58=23, Resulting Numbers: [91, 23]
Generated Node #0,0,1: 79:[91, 23] Operation: 81-58=23
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[81, 33], Operations: ['31+50=81', '91-58=33']
Exploring Operation: 81+33=114, Resulting Numbers: [114]
114,79 unequal: No Solution
Exploring Operation: 81-33=48, Resulting Numbers: [48]
48,79 unequal: No Solution
No 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: 79:[91, 23], Operations: ['31+50=81', '81-58=23']
Exploring Operation: 91-23=68, Resulting Numbers: [68]
68,79 unequal: No Solution
Exploring Operation: 91+23=114, Resulting Numbers: [114]
114,79 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: 79:[91, 50, 89], Operations: ['31+58=89']
Exploring Operation: 89-50=39, Resulting Numbers: [91, 39]
Generated Node #0,1,0: 79:[91, 39] Operation: 89-50=39
Exploring Operation: 91-50=41, Resulting Numbers: [89, 41]
Generated Node #0,1,1: 79:[89, 41] Operation: 91-50=41
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[89, 41], Operations: ['31+58=89', '91-50=41']
Exploring Operation: 89-41=48, Resulting Numbers: [48]
48,79 unequal: No Solution
Exploring Operation: 89+41=130, Resulting Numbers: [130]
130,79 unequal: No Solution
No 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: 79:[91, 39], Operations: ['31+58=89', '89-50=39']
Exploring Operation: 91+39=130, Resulting Numbers: [130]
130,79 unequal: No Solution
Exploring Operation: 91-39=52, Resulting Numbers: [52]
52,79 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 |
[
29,
84,
95,
16
] | 24 | [
"84-29=55",
"95-16=79",
"79-55=24"
] | Current State: 24:[29, 84, 95, 16], Operations: []
Exploring Operation: 84-29=55, Resulting Numbers: [95, 16, 55]
Generated Node #2: [95, 16, 55] from Operation: 84-29=55
Current State: 24:[95, 16, 55], Operations: ['84-29=55']
Exploring Operation: 95-16=79, Resulting Numbers: [55, 79]
Generated Node #3: [55, 79] from Operation: 95-16=79
Current State: 24:[55, 79], Operations: ['84-29=55', '95-16=79']
Exploring Operation: 79-55=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[29, 84, 95, 16], Operations: []
Exploring Operation: 84-16=68, Resulting Numbers: [29, 95, 68]
Generated Node #0,0: 24:[29, 95, 68] Operation: 84-16=68
Exploring Operation: 95-84=11, Resulting Numbers: [29, 16, 11]
Generated Node #0,1: 24:[29, 16, 11] Operation: 95-84=11
Exploring Operation: 84-29=55, Resulting Numbers: [95, 16, 55]
Generated Node #0,2: 24:[95, 16, 55] Operation: 84-29=55
Exploring Operation: 95-29=66, Resulting Numbers: [84, 16, 66]
Generated Node #0,3: 24:[84, 16, 66] Operation: 95-29=66
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[29, 16, 11], Operations: ['95-84=11']
Exploring Operation: 29-16=13, Resulting Numbers: [11, 13]
Generated Node #0,1,0: 24:[11, 13] Operation: 29-16=13
Exploring Operation: 29-11=18, Resulting Numbers: [16, 18]
Generated Node #0,1,1: 24:[16, 18] Operation: 29-11=18
Exploring Operation: 16-11=5, Resulting Numbers: [29, 5]
Generated Node #0,1,2: 24:[29, 5] Operation: 16-11=5
Exploring Operation: 16+11=27, Resulting Numbers: [29, 27]
Generated Node #0,1,3: 24:[29, 27] Operation: 16+11=27
Moving to Node #0,1,0
Current State: 24:[11, 13], Operations: ['95-84=11', '29-16=13']
Exploring Operation: 11*13=143, Resulting Numbers: [143]
143,24 unequal: No Solution
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[29, 84, 95, 16], Operations: []
Exploring Operation: 95-84=11, Resulting Numbers: [29, 16, 11]
Generated Node #0,1: 24:[29, 16, 11] Operation: 95-84=11
Moving to Node #0,1
Current State: 24:[29, 16, 11], Operations: ['95-84=11']
Exploring Operation: 29-16=13, Resulting Numbers: [11, 13]
Generated Node #0,1,0: 24:[11, 13] Operation: 29-16=13
Moving to Node #0,1,0
Current State: 24:[11, 13], Operations: ['95-84=11', '29-16=13']
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
31,
11,
1,
37
] | 56 | [
"31-11=20",
"37-1=36",
"20+36=56"
] | Current State: 56:[31, 11, 1, 37], Operations: []
Exploring Operation: 31-11=20, Resulting Numbers: [1, 37, 20]
Generated Node #2: [1, 37, 20] from Operation: 31-11=20
Current State: 56:[1, 37, 20], Operations: ['31-11=20']
Exploring Operation: 37-1=36, Resulting Numbers: [20, 36]
Generated Node #3: [20, 36] from Operation: 37-1=36
Current State: 56:[20, 36], Operations: ['31-11=20', '37-1=36']
Exploring Operation: 20+36=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[31, 11, 1, 37], Operations: []
Exploring Operation: 37-31=6, Resulting Numbers: [11, 1, 6]
Generated Node #0,0: 56:[11, 1, 6] Operation: 37-31=6
Moving to Node #0,0
Current State: 56:[11, 1, 6], Operations: ['37-31=6']
Exploring Operation: 11-6=5, Resulting Numbers: [1, 5]
Generated Node #0,0,0: 56:[1, 5] Operation: 11-6=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[1, 5], Operations: ['37-31=6', '11-6=5']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,56 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 |
[
28,
7,
33,
14
] | 80 | [
"28/14=2",
"7+33=40",
"2*40=80"
] | Current State: 80:[28, 7, 33, 14], Operations: []
Exploring Operation: 28/14=2, Resulting Numbers: [7, 33, 2]
Generated Node #2: [7, 33, 2] from Operation: 28/14=2
Current State: 80:[7, 33, 2], Operations: ['28/14=2']
Exploring Operation: 7+33=40, Resulting Numbers: [2, 40]
Generated Node #3: [2, 40] from Operation: 7+33=40
Current State: 80:[2, 40], Operations: ['28/14=2', '7+33=40']
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[28, 7, 33, 14], Operations: []
Exploring Operation: 33-28=5, Resulting Numbers: [7, 14, 5]
Generated Node #0,0: 80:[7, 14, 5] Operation: 33-28=5
Moving to Node #0,0
Current State: 80:[7, 14, 5], Operations: ['33-28=5']
Exploring Operation: 14/7=2, Resulting Numbers: [5, 2]
Generated Node #0,0,0: 80:[5, 2] Operation: 14/7=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[5, 2], Operations: ['33-28=5', '14/7=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,80 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 |
[
65,
46,
51,
85
] | 25 | [
"65+46=111",
"51+85=136",
"136-111=25"
] | Current State: 25:[65, 46, 51, 85], Operations: []
Exploring Operation: 65+46=111, Resulting Numbers: [51, 85, 111]
Generated Node #2: [51, 85, 111] from Operation: 65+46=111
Current State: 25:[51, 85, 111], Operations: ['65+46=111']
Exploring Operation: 51+85=136, Resulting Numbers: [111, 136]
Generated Node #3: [111, 136] from Operation: 51+85=136
Current State: 25:[111, 136], Operations: ['65+46=111', '51+85=136']
Exploring Operation: 136-111=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[65, 46, 51, 85], Operations: []
Exploring Operation: 65-51=14, Resulting Numbers: [46, 85, 14]
Generated Node #0,0: 25:[46, 85, 14] Operation: 65-51=14
Exploring Operation: 65-46=19, Resulting Numbers: [51, 85, 19]
Generated Node #0,1: 25:[51, 85, 19] Operation: 65-46=19
Exploring Operation: 85-51=34, Resulting Numbers: [65, 46, 34]
Generated Node #0,2: 25:[65, 46, 34] Operation: 85-51=34
Exploring Operation: 85-65=20, Resulting Numbers: [46, 51, 20]
Generated Node #0,3: 25:[46, 51, 20] Operation: 85-65=20
Exploring Operation: 85-46=39, Resulting Numbers: [65, 51, 39]
Generated Node #0,4: 25:[65, 51, 39] Operation: 85-46=39
Start Sub Search at level 1: Moving to Node #0,3
Current State: 25:[46, 51, 20], Operations: ['85-65=20']
Exploring Operation: 51+20=71, Resulting Numbers: [46, 71]
Generated Node #0,3,0: 25:[46, 71] Operation: 51+20=71
Exploring Operation: 51-46=5, Resulting Numbers: [20, 5]
Generated Node #0,3,1: 25:[20, 5] Operation: 51-46=5
Exploring Operation: 46-20=26, Resulting Numbers: [51, 26]
Generated Node #0,3,2: 25:[51, 26] Operation: 46-20=26
Exploring Operation: 51-20=31, Resulting Numbers: [46, 31]
Generated Node #0,3,3: 25:[46, 31] Operation: 51-20=31
Exploring Operation: 46+20=66, Resulting Numbers: [51, 66]
Generated Node #0,3,4: 25:[51, 66] Operation: 46+20=66
Moving to Node #0,3,1
Current State: 25:[20, 5], Operations: ['85-65=20', '51-46=5']
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,25 unequal: No Solution
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[65, 46, 51, 85], Operations: []
Exploring Operation: 85-65=20, Resulting Numbers: [46, 51, 20]
Generated Node #0,3: 25:[46, 51, 20] Operation: 85-65=20
Moving to Node #0,3
Current State: 25:[46, 51, 20], Operations: ['85-65=20']
Exploring Operation: 51-46=5, Resulting Numbers: [20, 5]
Generated Node #0,3,1: 25:[20, 5] Operation: 51-46=5
Moving to Node #0,3,1
Current State: 25:[20, 5], Operations: ['85-65=20', '51-46=5']
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
83,
15,
17,
10
] | 44 | [
"83-17=66",
"10*66=660",
"660/15=44"
] | Current State: 44:[83, 15, 17, 10], Operations: []
Exploring Operation: 83-17=66, Resulting Numbers: [15, 10, 66]
Generated Node #2: [15, 10, 66] from Operation: 83-17=66
Current State: 44:[15, 10, 66], Operations: ['83-17=66']
Exploring Operation: 10*66=660, Resulting Numbers: [15, 660]
Generated Node #3: [15, 660] from Operation: 10*66=660
Current State: 44:[15, 660], Operations: ['83-17=66', '10*66=660']
Exploring Operation: 660/15=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[83, 15, 17, 10], Operations: []
Exploring Operation: 17-15=2, Resulting Numbers: [83, 10, 2]
Generated Node #0,0: 44:[83, 10, 2] Operation: 17-15=2
Exploring Operation: 83-15=68, Resulting Numbers: [17, 10, 68]
Generated Node #0,1: 44:[17, 10, 68] Operation: 83-15=68
Exploring Operation: 83-10=73, Resulting Numbers: [15, 17, 73]
Generated Node #0,2: 44:[15, 17, 73] Operation: 83-10=73
Exploring Operation: 83-17=66, Resulting Numbers: [15, 10, 66]
Generated Node #0,3: 44:[15, 10, 66] Operation: 83-17=66
Start Sub Search at level 1: Moving to Node #0,3
Current State: 44:[15, 10, 66], Operations: ['83-17=66']
Exploring Operation: 15+10=25, Resulting Numbers: [66, 25]
Generated Node #0,3,0: 44:[66, 25] Operation: 15+10=25
Exploring Operation: 66-10=56, Resulting Numbers: [15, 56]
Generated Node #0,3,1: 44:[15, 56] Operation: 66-10=56
Exploring Operation: 15-10=5, Resulting Numbers: [66, 5]
Generated Node #0,3,2: 44:[66, 5] Operation: 15-10=5
Exploring Operation: 66-15=51, Resulting Numbers: [10, 51]
Generated Node #0,3,3: 44:[10, 51] Operation: 66-15=51
Moving to Node #0,3,3
Current State: 44:[10, 51], Operations: ['83-17=66', '66-15=51']
Exploring Operation: 10*51=510, Resulting Numbers: [510]
510,44 unequal: No Solution
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 10+51=61, Resulting Numbers: [61]
61,44 unequal: No Solution
Moving to Node #0,3,1
Current State: 44:[15, 56], Operations: ['83-17=66', '66-10=56']
Exploring Operation: 15*56=840, Resulting Numbers: [840]
840,44 unequal: No Solution
Exploring Operation: 15+56=71, Resulting Numbers: [71]
71,44 unequal: No Solution
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Moving to Node #0,3,2
Current State: 44:[66, 5], Operations: ['83-17=66', '15-10=5']
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,44 unequal: No Solution
Exploring Operation: 66*5=330, Resulting Numbers: [330]
330,44 unequal: No Solution
Exploring Operation: 66+5=71, Resulting Numbers: [71]
71,44 unequal: No Solution
Moving to Node #0,3,0
Current State: 44:[66, 25], Operations: ['83-17=66', '15+10=25']
Exploring Operation: 66*25=1650, Resulting Numbers: [1650]
1650,44 unequal: No Solution
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 66+25=91, Resulting Numbers: [91]
91,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[17, 10, 68], Operations: ['83-15=68']
Exploring Operation: 68-17=51, Resulting Numbers: [10, 51]
Generated Node #0,1,0: 44:[10, 51] Operation: 68-17=51
Exploring Operation: 17-10=7, Resulting Numbers: [68, 7]
Generated Node #0,1,1: 44:[68, 7] Operation: 17-10=7
Exploring Operation: 68/17=4, Resulting Numbers: [10, 4]
Generated Node #0,1,2: 44:[10, 4] Operation: 68/17=4
Exploring Operation: 68-10=58, Resulting Numbers: [17, 58]
Generated Node #0,1,3: 44:[17, 58] Operation: 68-10=58
Moving to Node #0,1,2
Current State: 44:[10, 4], Operations: ['83-15=68', '68/17=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,44 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,44 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[10, 51], Operations: ['83-15=68', '68-17=51']
Exploring Operation: 10+51=61, Resulting Numbers: [61]
61,44 unequal: No Solution
Exploring Operation: 10*51=510, Resulting Numbers: [510]
510,44 unequal: No Solution
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Moving to Node #0,1,3
Current State: 44:[17, 58], Operations: ['83-15=68', '68-10=58']
Exploring Operation: 17+58=75, Resulting Numbers: [75]
75,44 unequal: No Solution
Exploring Operation: 17*58=986, Resulting Numbers: [986]
986,44 unequal: No Solution
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Moving to Node #0,1,1
Current State: 44:[68, 7], Operations: ['83-15=68', '17-10=7']
Exploring Operation: 68+7=75, Resulting Numbers: [75]
75,44 unequal: No Solution
Exploring Operation: 68-7=61, Resulting Numbers: [61]
61,44 unequal: No Solution
Exploring Operation: 68*7=476, Resulting Numbers: [476]
476,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[15, 17, 73], Operations: ['83-10=73']
Exploring Operation: 17-15=2, Resulting Numbers: [73, 2]
Generated Node #0,2,0: 44:[73, 2] Operation: 17-15=2
Exploring Operation: 15+17=32, Resulting Numbers: [73, 32]
Generated Node #0,2,1: 44:[73, 32] Operation: 15+17=32
Exploring Operation: 73-17=56, Resulting Numbers: [15, 56]
Generated Node #0,2,2: 44:[15, 56] Operation: 73-17=56
Exploring Operation: 73-15=58, Resulting Numbers: [17, 58]
Generated Node #0,2,3: 44:[17, 58] Operation: 73-15=58
Moving to Node #0,2,2
Current State: 44:[15, 56], Operations: ['83-10=73', '73-17=56']
Exploring Operation: 15+56=71, Resulting Numbers: [71]
71,44 unequal: No Solution
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 15*56=840, Resulting Numbers: [840]
840,44 unequal: No Solution
Moving to Node #0,2,3
Current State: 44:[17, 58], Operations: ['83-10=73', '73-15=58']
Exploring Operation: 17*58=986, Resulting Numbers: [986]
986,44 unequal: No Solution
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 17+58=75, Resulting Numbers: [75]
75,44 unequal: No Solution
Moving to Node #0,2,0
Current State: 44:[73, 2], Operations: ['83-10=73', '17-15=2']
Exploring Operation: 73*2=146, Resulting Numbers: [146]
146,44 unequal: No Solution
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,44 unequal: No Solution
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,44 unequal: No Solution
Moving to Node #0,2,1
Current State: 44:[73, 32], Operations: ['83-10=73', '15+17=32']
Exploring Operation: 73-32=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 73*32=2336, Resulting Numbers: [2336]
2336,44 unequal: No Solution
Exploring Operation: 73+32=105, Resulting Numbers: [105]
105,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[83, 10, 2], Operations: ['17-15=2']
Exploring Operation: 83-2=81, Resulting Numbers: [10, 81]
Generated Node #0,0,0: 44:[10, 81] Operation: 83-2=81
Exploring Operation: 10/2=5, Resulting Numbers: [83, 5]
Generated Node #0,0,1: 44:[83, 5] Operation: 10/2=5
Exploring Operation: 83-10=73, Resulting Numbers: [2, 73]
Generated Node #0,0,2: 44:[2, 73] Operation: 83-10=73
Exploring Operation: 10+2=12, Resulting Numbers: [83, 12]
Generated Node #0,0,3: 44:[83, 12] Operation: 10+2=12
Moving to Node #0,0,2
Current State: 44:[2, 73], Operations: ['17-15=2', '83-10=73']
Exploring Operation: 2*73=146, Resulting Numbers: [146]
146,44 unequal: No Solution
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,44 unequal: No Solution
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[10, 81], Operations: ['17-15=2', '83-2=81']
Exploring Operation: 81-10=71, Resulting Numbers: [71]
71,44 unequal: No Solution
Exploring Operation: 10+81=91, Resulting Numbers: [91]
91,44 unequal: No Solution
Exploring Operation: 10*81=810, Resulting Numbers: [810]
810,44 unequal: No Solution
Moving to Node #0,0,3
Current State: 44:[83, 12], Operations: ['17-15=2', '10+2=12']
Exploring Operation: 83*12=996, Resulting Numbers: [996]
996,44 unequal: No Solution
Exploring Operation: 83-12=71, Resulting Numbers: [71]
71,44 unequal: No Solution
Exploring Operation: 83+12=95, Resulting Numbers: [95]
95,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[83, 5], Operations: ['17-15=2', '10/2=5']
Exploring Operation: 83*5=415, Resulting Numbers: [415]
415,44 unequal: No Solution
Exploring Operation: 83+5=88, Resulting Numbers: [88]
88,44 unequal: No Solution
Exploring Operation: 83-5=78, Resulting Numbers: [78]
78,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
10,
51,
17,
80
] | 56 | [
"51-10=41",
"17+80=97",
"97-41=56"
] | Current State: 56:[10, 51, 17, 80], Operations: []
Exploring Operation: 51-10=41, Resulting Numbers: [17, 80, 41]
Generated Node #2: [17, 80, 41] from Operation: 51-10=41
Current State: 56:[17, 80, 41], Operations: ['51-10=41']
Exploring Operation: 17+80=97, Resulting Numbers: [41, 97]
Generated Node #3: [41, 97] from Operation: 17+80=97
Current State: 56:[41, 97], Operations: ['51-10=41', '17+80=97']
Exploring Operation: 97-41=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[10, 51, 17, 80], Operations: []
Exploring Operation: 80-51=29, Resulting Numbers: [10, 17, 29]
Generated Node #0,0: 56:[10, 17, 29] Operation: 80-51=29
Exploring Operation: 80/10=8, Resulting Numbers: [51, 17, 8]
Generated Node #0,1: 56:[51, 17, 8] Operation: 80/10=8
Moving to Node #0,0
Current State: 56:[10, 17, 29], Operations: ['80-51=29']
Exploring Operation: 17-10=7, Resulting Numbers: [29, 7]
Generated Node #0,0,0: 56:[29, 7] Operation: 17-10=7
Exploring Operation: 10+17=27, Resulting Numbers: [29, 27]
Generated Node #0,0,1: 56:[29, 27] Operation: 10+17=27
Moving to Node #0,1
Current State: 56:[51, 17, 8], Operations: ['80/10=8']
Exploring Operation: 51-17=34, Resulting Numbers: [8, 34]
Generated Node #0,1,0: 56:[8, 34] Operation: 51-17=34
Exploring Operation: 51/17=3, Resulting Numbers: [8, 3]
Generated Node #0,1,1: 56:[8, 3] Operation: 51/17=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 56:[8, 3], Operations: ['80/10=8', '51/17=3']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 56:[8, 34], Operations: ['80/10=8', '51-17=34']
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,56 unequal: No Solution
Exploring Operation: 8+34=42, Resulting Numbers: [42]
42,56 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: 56:[29, 7], Operations: ['80-51=29', '17-10=7']
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[29, 27], Operations: ['80-51=29', '10+17=27']
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 29+27=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[10, 51, 17, 80], Operations: []
Exploring Operation: 80-51=29, Resulting Numbers: [10, 17, 29]
Generated Node #0,0: 56:[10, 17, 29] Operation: 80-51=29
Moving to Node #0,0
Current State: 56:[10, 17, 29], Operations: ['80-51=29']
Exploring Operation: 10+17=27, Resulting Numbers: [29, 27]
Generated Node #0,0,1: 56:[29, 27] Operation: 10+17=27
Moving to Node #0,0,1
Current State: 56:[29, 27], Operations: ['80-51=29', '10+17=27']
Exploring Operation: 29+27=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 0.984375 | hs_2 | mult_heuristic |
[
27,
6,
30,
25
] | 33 | [
"27-25=2",
"6/2=3",
"30+3=33"
] | Current State: 33:[27, 6, 30, 25], Operations: []
Exploring Operation: 27-25=2, Resulting Numbers: [6, 30, 2]
Generated Node #2: [6, 30, 2] from Operation: 27-25=2
Current State: 33:[6, 30, 2], Operations: ['27-25=2']
Exploring Operation: 6/2=3, Resulting Numbers: [30, 3]
Generated Node #3: [30, 3] from Operation: 6/2=3
Current State: 33:[30, 3], Operations: ['27-25=2', '6/2=3']
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[27, 6, 30, 25], Operations: []
Exploring Operation: 30-27=3, Resulting Numbers: [6, 25, 3]
Generated Node #0,0: 33:[6, 25, 3] Operation: 30-27=3
Exploring Operation: 27-25=2, Resulting Numbers: [6, 30, 2]
Generated Node #0,1: 33:[6, 30, 2] Operation: 27-25=2
Exploring Operation: 27+6=33, Resulting Numbers: [30, 25, 33]
Generated Node #0,2: 33:[30, 25, 33] Operation: 27+6=33
Moving to Node #0,1
Current State: 33:[6, 30, 2], Operations: ['27-25=2']
Exploring Operation: 6/2=3, Resulting Numbers: [30, 3]
Generated Node #0,1,0: 33:[30, 3] Operation: 6/2=3
Exploring Operation: 30/6=5, Resulting Numbers: [2, 5]
Generated Node #0,1,1: 33:[2, 5] Operation: 30/6=5
Exploring Operation: 6+30=36, Resulting Numbers: [2, 36]
Generated Node #0,1,2: 33:[2, 36] Operation: 6+30=36
Moving to Node #0,0
Current State: 33:[6, 25, 3], Operations: ['30-27=3']
Exploring Operation: 6+25=31, Resulting Numbers: [3, 31]
Generated Node #0,0,0: 33:[3, 31] Operation: 6+25=31
Exploring Operation: 25-6=19, Resulting Numbers: [3, 19]
Generated Node #0,0,1: 33:[3, 19] Operation: 25-6=19
Exploring Operation: 6-3=3, Resulting Numbers: [25, 3]
Generated Node #0,0,2: 33:[25, 3] Operation: 6-3=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[3, 31], Operations: ['30-27=3', '6+25=31']
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,33 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 33:[3, 19], Operations: ['30-27=3', '25-6=19']
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,33 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 33:[25, 3], Operations: ['30-27=3', '6-3=3']
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,33 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,33 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,33 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: 33:[30, 25, 33], Operations: ['27+6=33']
Exploring Operation: 33-30=3, Resulting Numbers: [25, 3]
Generated Node #0,2,0: 33:[25, 3] Operation: 33-30=3
Exploring Operation: 33-25=8, Resulting Numbers: [30, 8]
Generated Node #0,2,1: 33:[30, 8] Operation: 33-25=8
Exploring Operation: 30-25=5, Resulting Numbers: [33, 5]
Generated Node #0,2,2: 33:[33, 5] Operation: 30-25=5
Moving to Node #0,2,2
Current State: 33:[33, 5], Operations: ['27+6=33', '30-25=5']
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,33 unequal: No Solution
Exploring Operation: 33+5=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 33*5=165, Resulting Numbers: [165]
165,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[30, 3], Operations: ['27-25=2', '6/2=3']
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[27, 6, 30, 25], Operations: []
Exploring Operation: 27-25=2, Resulting Numbers: [6, 30, 2]
Generated Node #0,1: 33:[6, 30, 2] Operation: 27-25=2
Moving to Node #0,1
Current State: 33:[6, 30, 2], Operations: ['27-25=2']
Exploring Operation: 6/2=3, Resulting Numbers: [30, 3]
Generated Node #0,1,0: 33:[30, 3] Operation: 6/2=3
Moving to Node #0,1,0
Current State: 33:[30, 3], Operations: ['27-25=2', '6/2=3']
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 0.974826 | hs_3 | sum_heuristic |
[
78,
62,
6,
67
] | 78 | [
"62+6=68",
"68-67=1",
"78*1=78"
] | Current State: 78:[78, 62, 6, 67], Operations: []
Exploring Operation: 62+6=68, Resulting Numbers: [78, 67, 68]
Generated Node #2: [78, 67, 68] from Operation: 62+6=68
Current State: 78:[78, 67, 68], Operations: ['62+6=68']
Exploring Operation: 68-67=1, Resulting Numbers: [78, 1]
Generated Node #3: [78, 1] from Operation: 68-67=1
Current State: 78:[78, 1], Operations: ['62+6=68', '68-67=1']
Exploring Operation: 78*1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[78, 62, 6, 67], Operations: []
Exploring Operation: 67-62=5, Resulting Numbers: [78, 6, 5]
Generated Node #0,0: 78:[78, 6, 5] Operation: 67-62=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[78, 6, 5], Operations: ['67-62=5']
Exploring Operation: 78/6=13, Resulting Numbers: [5, 13]
Generated Node #0,0,0: 78:[5, 13] Operation: 78/6=13
Moving to Node #0,0,0
Current State: 78:[5, 13], Operations: ['67-62=5', '78/6=13']
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
15,
72,
17,
76
] | 80 | [
"17-15=2",
"76*2=152",
"152-72=80"
] | Current State: 80:[15, 72, 17, 76], Operations: []
Exploring Operation: 17-15=2, Resulting Numbers: [72, 76, 2]
Generated Node #2: [72, 76, 2] from Operation: 17-15=2
Current State: 80:[72, 76, 2], Operations: ['17-15=2']
Exploring Operation: 76*2=152, Resulting Numbers: [72, 152]
Generated Node #3: [72, 152] from Operation: 76*2=152
Current State: 80:[72, 152], Operations: ['17-15=2', '76*2=152']
Exploring Operation: 152-72=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[15, 72, 17, 76], Operations: []
Exploring Operation: 15+72=87, Resulting Numbers: [17, 76, 87]
Generated Node #0,0: 80:[17, 76, 87] Operation: 15+72=87
Exploring Operation: 76-72=4, Resulting Numbers: [15, 17, 4]
Generated Node #0,1: 80:[15, 17, 4] Operation: 76-72=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[15, 17, 4], Operations: ['76-72=4']
Exploring Operation: 17-15=2, Resulting Numbers: [4, 2]
Generated Node #0,1,0: 80:[4, 2] Operation: 17-15=2
Exploring Operation: 15+4=19, Resulting Numbers: [17, 19]
Generated Node #0,1,1: 80:[17, 19] Operation: 15+4=19
Moving to Node #0,1,0
Current State: 80:[4, 2], Operations: ['76-72=4', '17-15=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[17, 19], Operations: ['76-72=4', '15+4=19']
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,80 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[17, 76, 87], Operations: ['15+72=87']
Exploring Operation: 87-76=11, Resulting Numbers: [17, 11]
Generated Node #0,0,0: 80:[17, 11] Operation: 87-76=11
Exploring Operation: 87-17=70, Resulting Numbers: [76, 70]
Generated Node #0,0,1: 80:[76, 70] Operation: 87-17=70
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[17, 11], Operations: ['15+72=87', '87-76=11']
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,80 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,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:[76, 70], Operations: ['15+72=87', '87-17=70']
Exploring Operation: 76-70=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 76+70=146, Resulting Numbers: [146]
146,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_2 | sum_heuristic |
[
10,
35,
26,
44
] | 95 | [
"35-10=25",
"26+44=70",
"25+70=95"
] | Current State: 95:[10, 35, 26, 44], Operations: []
Exploring Operation: 35-10=25, Resulting Numbers: [26, 44, 25]
Generated Node #2: [26, 44, 25] from Operation: 35-10=25
Current State: 95:[26, 44, 25], Operations: ['35-10=25']
Exploring Operation: 26+44=70, Resulting Numbers: [25, 70]
Generated Node #3: [25, 70] from Operation: 26+44=70
Current State: 95:[25, 70], Operations: ['35-10=25', '26+44=70']
Exploring Operation: 25+70=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[10, 35, 26, 44], Operations: []
Exploring Operation: 35+44=79, Resulting Numbers: [10, 26, 79]
Generated Node #0,0: 95:[10, 26, 79] Operation: 35+44=79
Exploring Operation: 35-10=25, Resulting Numbers: [26, 44, 25]
Generated Node #0,1: 95:[26, 44, 25] Operation: 35-10=25
Exploring Operation: 35-26=9, Resulting Numbers: [10, 44, 9]
Generated Node #0,2: 95:[10, 44, 9] Operation: 35-26=9
Exploring Operation: 44-26=18, Resulting Numbers: [10, 35, 18]
Generated Node #0,3: 95:[10, 35, 18] Operation: 44-26=18
Exploring Operation: 44-35=9, Resulting Numbers: [10, 26, 9]
Generated Node #0,4: 95:[10, 26, 9] Operation: 44-35=9
Moving to Node #0,4
Current State: 95:[10, 26, 9], Operations: ['44-35=9']
Exploring Operation: 10*9=90, Resulting Numbers: [26, 90]
Generated Node #0,4,0: 95:[26, 90] Operation: 10*9=90
Exploring Operation: 26-9=17, Resulting Numbers: [10, 17]
Generated Node #0,4,1: 95:[10, 17] Operation: 26-9=17
Exploring Operation: 10-9=1, Resulting Numbers: [26, 1]
Generated Node #0,4,2: 95:[26, 1] Operation: 10-9=1
Exploring Operation: 10+9=19, Resulting Numbers: [26, 19]
Generated Node #0,4,3: 95:[26, 19] Operation: 10+9=19
Exploring Operation: 26-10=16, Resulting Numbers: [9, 16]
Generated Node #0,4,4: 95:[9, 16] Operation: 26-10=16
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 95:[10, 17], Operations: ['44-35=9', '26-9=17']
Exploring Operation: 10*17=170, Resulting Numbers: [170]
170,95 unequal: No Solution
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,95 unequal: No Solution
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 95:[26, 19], Operations: ['44-35=9', '10+9=19']
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,95 unequal: No Solution
Exploring Operation: 26*19=494, Resulting Numbers: [494]
494,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 95:[9, 16], Operations: ['44-35=9', '26-10=16']
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,95 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 95:[26, 1], Operations: ['44-35=9', '10-9=1']
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,95 unequal: No Solution
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,95 unequal: No Solution
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 95:[26, 90], Operations: ['44-35=9', '10*9=90']
Exploring Operation: 26+90=116, Resulting Numbers: [116]
116,95 unequal: No Solution
Exploring Operation: 26*90=2340, Resulting Numbers: [2340]
2340,95 unequal: No Solution
Exploring Operation: 90-26=64, Resulting Numbers: [64]
64,95 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: 95:[10, 35, 18], Operations: ['44-26=18']
Exploring Operation: 10+35=45, Resulting Numbers: [18, 45]
Generated Node #0,3,0: 95:[18, 45] Operation: 10+35=45
Exploring Operation: 10+18=28, Resulting Numbers: [35, 28]
Generated Node #0,3,1: 95:[35, 28] Operation: 10+18=28
Exploring Operation: 18-10=8, Resulting Numbers: [35, 8]
Generated Node #0,3,2: 95:[35, 8] Operation: 18-10=8
Exploring Operation: 35-10=25, Resulting Numbers: [18, 25]
Generated Node #0,3,3: 95:[18, 25] Operation: 35-10=25
Exploring Operation: 35-18=17, Resulting Numbers: [10, 17]
Generated Node #0,3,4: 95:[10, 17] Operation: 35-18=17
Moving to Node #0,0
Current State: 95:[10, 26, 79], Operations: ['35+44=79']
Exploring Operation: 26-10=16, Resulting Numbers: [79, 16]
Generated Node #0,0,0: 95:[79, 16] Operation: 26-10=16
Exploring Operation: 79-10=69, Resulting Numbers: [26, 69]
Generated Node #0,0,1: 95:[26, 69] Operation: 79-10=69
Exploring Operation: 10+79=89, Resulting Numbers: [26, 89]
Generated Node #0,0,2: 95:[26, 89] Operation: 10+79=89
Exploring Operation: 10+26=36, Resulting Numbers: [79, 36]
Generated Node #0,0,3: 95:[79, 36] Operation: 10+26=36
Exploring Operation: 26+79=105, Resulting Numbers: [10, 105]
Generated Node #0,0,4: 95:[10, 105] Operation: 26+79=105
Moving to Node #0,2
Current State: 95:[10, 44, 9], Operations: ['35-26=9']
Exploring Operation: 44-10=34, Resulting Numbers: [9, 34]
Generated Node #0,2,0: 95:[9, 34] Operation: 44-10=34
Exploring Operation: 44-9=35, Resulting Numbers: [10, 35]
Generated Node #0,2,1: 95:[10, 35] Operation: 44-9=35
Exploring Operation: 10*9=90, Resulting Numbers: [44, 90]
Generated Node #0,2,2: 95:[44, 90] Operation: 10*9=90
Exploring Operation: 10-9=1, Resulting Numbers: [44, 1]
Generated Node #0,2,3: 95:[44, 1] Operation: 10-9=1
Exploring Operation: 10+9=19, Resulting Numbers: [44, 19]
Generated Node #0,2,4: 95:[44, 19] Operation: 10+9=19
Moving to Node #0,1
Current State: 95:[26, 44, 25], Operations: ['35-10=25']
Exploring Operation: 26-25=1, Resulting Numbers: [44, 1]
Generated Node #0,1,0: 95:[44, 1] Operation: 26-25=1
Exploring Operation: 26+44=70, Resulting Numbers: [25, 70]
Generated Node #0,1,1: 95:[25, 70] Operation: 26+44=70
Exploring Operation: 44-25=19, Resulting Numbers: [26, 19]
Generated Node #0,1,2: 95:[26, 19] Operation: 44-25=19
Exploring Operation: 44-26=18, Resulting Numbers: [25, 18]
Generated Node #0,1,3: 95:[25, 18] Operation: 44-26=18
Exploring Operation: 44+25=69, Resulting Numbers: [26, 69]
Generated Node #0,1,4: 95:[26, 69] Operation: 44+25=69
Moving to Node #0,3,3
Current State: 95:[18, 25], Operations: ['44-26=18', '35-10=25']
Exploring Operation: 18+25=43, Resulting Numbers: [43]
43,95 unequal: No Solution
Exploring Operation: 18*25=450, Resulting Numbers: [450]
450,95 unequal: No Solution
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Moving to Node #0,3,4
Current State: 95:[10, 17], Operations: ['44-26=18', '35-18=17']
Exploring Operation: 10*17=170, Resulting Numbers: [170]
170,95 unequal: No Solution
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,95 unequal: No Solution
Moving to Node #0,1,2
Current State: 95:[26, 19], Operations: ['35-10=25', '44-25=19']
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,95 unequal: No Solution
Exploring Operation: 26*19=494, Resulting Numbers: [494]
494,95 unequal: No Solution
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Moving to Node #0,1,3
Current State: 95:[25, 18], Operations: ['35-10=25', '44-26=18']
Exploring Operation: 25*18=450, Resulting Numbers: [450]
450,95 unequal: No Solution
Exploring Operation: 25+18=43, Resulting Numbers: [43]
43,95 unequal: No Solution
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[26, 89], Operations: ['35+44=79', '10+79=89']
Exploring Operation: 26*89=2314, Resulting Numbers: [2314]
2314,95 unequal: No Solution
Exploring Operation: 89-26=63, Resulting Numbers: [63]
63,95 unequal: No Solution
Exploring Operation: 26+89=115, Resulting Numbers: [115]
115,95 unequal: No Solution
Moving to Node #0,0,4
Current State: 95:[10, 105], Operations: ['35+44=79', '26+79=105']
Exploring Operation: 105-10=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[10, 35, 26, 44], Operations: []
Exploring Operation: 35+44=79, Resulting Numbers: [10, 26, 79]
Generated Node #0,0: 95:[10, 26, 79] Operation: 35+44=79
Moving to Node #0,0
Current State: 95:[10, 26, 79], Operations: ['35+44=79']
Exploring Operation: 26+79=105, Resulting Numbers: [10, 105]
Generated Node #0,0,4: 95:[10, 105] Operation: 26+79=105
Moving to Node #0,0,4
Current State: 95:[10, 105], Operations: ['35+44=79', '26+79=105']
Exploring Operation: 105-10=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 0.942708 | hs_5 | sum_heuristic |
[
83,
34,
6,
9
] | 19 | [
"83+34=117",
"117/9=13",
"6+13=19"
] | Current State: 19:[83, 34, 6, 9], Operations: []
Exploring Operation: 83+34=117, Resulting Numbers: [6, 9, 117]
Generated Node #2: [6, 9, 117] from Operation: 83+34=117
Current State: 19:[6, 9, 117], Operations: ['83+34=117']
Exploring Operation: 117/9=13, Resulting Numbers: [6, 13]
Generated Node #3: [6, 13] from Operation: 117/9=13
Current State: 19:[6, 13], Operations: ['83+34=117', '117/9=13']
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[83, 34, 6, 9], Operations: []
Exploring Operation: 83-34=49, Resulting Numbers: [6, 9, 49]
Generated Node #0,0: 19:[6, 9, 49] Operation: 83-34=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[6, 9, 49], Operations: ['83-34=49']
Exploring Operation: 6+9=15, Resulting Numbers: [49, 15]
Generated Node #0,0,0: 19:[49, 15] Operation: 6+9=15
Moving to Node #0,0,0
Current State: 19:[49, 15], Operations: ['83-34=49', '6+9=15']
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
2,
19,
39,
37
] | 54 | [
"2*37=74",
"39-19=20",
"74-20=54"
] | Current State: 54:[2, 19, 39, 37], Operations: []
Exploring Operation: 2*37=74, Resulting Numbers: [19, 39, 74]
Generated Node #2: [19, 39, 74] from Operation: 2*37=74
Current State: 54:[19, 39, 74], Operations: ['2*37=74']
Exploring Operation: 39-19=20, Resulting Numbers: [74, 20]
Generated Node #3: [74, 20] from Operation: 39-19=20
Current State: 54:[74, 20], Operations: ['2*37=74', '39-19=20']
Exploring Operation: 74-20=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[2, 19, 39, 37], Operations: []
Exploring Operation: 37-19=18, Resulting Numbers: [2, 39, 18]
Generated Node #0,0: 54:[2, 39, 18] Operation: 37-19=18
Exploring Operation: 39-19=20, Resulting Numbers: [2, 37, 20]
Generated Node #0,1: 54:[2, 37, 20] Operation: 39-19=20
Exploring Operation: 39-37=2, Resulting Numbers: [2, 19, 2]
Generated Node #0,2: 54:[2, 19, 2] Operation: 39-37=2
Moving to Node #0,2
Current State: 54:[2, 19, 2], Operations: ['39-37=2']
Exploring Operation: 19-2=17, Resulting Numbers: [2, 17]
Generated Node #0,2,0: 54:[2, 17] Operation: 19-2=17
Exploring Operation: 19-2=17, Resulting Numbers: [2, 17]
Generated Node #0,2,1: 54:[2, 17] Operation: 19-2=17
Exploring Operation: 2+2=4, Resulting Numbers: [19, 4]
Generated Node #0,2,2: 54:[19, 4] Operation: 2+2=4
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 54:[2, 17], Operations: ['39-37=2', '19-2=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 54:[2, 17], Operations: ['39-37=2', '19-2=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,54 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 54:[19, 4], Operations: ['39-37=2', '2+2=4']
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,54 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,54 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: 54:[2, 39, 18], Operations: ['37-19=18']
Exploring Operation: 39-18=21, Resulting Numbers: [2, 21]
Generated Node #0,0,0: 54:[2, 21] Operation: 39-18=21
Exploring Operation: 39+18=57, Resulting Numbers: [2, 57]
Generated Node #0,0,1: 54:[2, 57] Operation: 39+18=57
Exploring Operation: 39-2=37, Resulting Numbers: [18, 37]
Generated Node #0,0,2: 54:[18, 37] Operation: 39-2=37
Moving to Node #0,1
Current State: 54:[2, 37, 20], Operations: ['39-19=20']
Exploring Operation: 37+20=57, Resulting Numbers: [2, 57]
Generated Node #0,1,0: 54:[2, 57] Operation: 37+20=57
Exploring Operation: 37-2=35, Resulting Numbers: [20, 35]
Generated Node #0,1,1: 54:[20, 35] Operation: 37-2=35
Exploring Operation: 37-20=17, Resulting Numbers: [2, 17]
Generated Node #0,1,2: 54:[2, 17] Operation: 37-20=17
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 54:[2, 17], Operations: ['39-19=20', '37-20=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,54 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[2, 57], Operations: ['39-19=20', '37+20=57']
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,54 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 54:[20, 35], Operations: ['39-19=20', '37-2=35']
Exploring Operation: 20*35=700, Resulting Numbers: [700]
700,54 unequal: No Solution
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 20+35=55, Resulting Numbers: [55]
55,54 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: 54:[2, 21], Operations: ['37-19=18', '39-18=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,54 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[2, 57], Operations: ['37-19=18', '39+18=57']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,54 unequal: No Solution
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[18, 37], Operations: ['37-19=18', '39-2=37']
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 18+37=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 18*37=666, Resulting Numbers: [666]
666,54 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
94,
5,
48,
87
] | 60 | [
"94+5=99",
"87-48=39",
"99-39=60"
] | Current State: 60:[94, 5, 48, 87], Operations: []
Exploring Operation: 94+5=99, Resulting Numbers: [48, 87, 99]
Generated Node #2: [48, 87, 99] from Operation: 94+5=99
Current State: 60:[48, 87, 99], Operations: ['94+5=99']
Exploring Operation: 87-48=39, Resulting Numbers: [99, 39]
Generated Node #3: [99, 39] from Operation: 87-48=39
Current State: 60:[99, 39], Operations: ['94+5=99', '87-48=39']
Exploring Operation: 99-39=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[94, 5, 48, 87], Operations: []
Exploring Operation: 94-87=7, Resulting Numbers: [5, 48, 7]
Generated Node #0,0: 60:[5, 48, 7] Operation: 94-87=7
Exploring Operation: 94-48=46, Resulting Numbers: [5, 87, 46]
Generated Node #0,1: 60:[5, 87, 46] Operation: 94-48=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[5, 48, 7], Operations: ['94-87=7']
Exploring Operation: 48+7=55, Resulting Numbers: [5, 55]
Generated Node #0,0,0: 60:[5, 55] Operation: 48+7=55
Exploring Operation: 5+48=53, Resulting Numbers: [7, 53]
Generated Node #0,0,1: 60:[7, 53] Operation: 5+48=53
Moving to Node #0,0,0
Current State: 60:[5, 55], Operations: ['94-87=7', '48+7=55']
Exploring Operation: 5+55=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[94, 5, 48, 87], Operations: []
Exploring Operation: 94-87=7, Resulting Numbers: [5, 48, 7]
Generated Node #0,0: 60:[5, 48, 7] Operation: 94-87=7
Moving to Node #0,0
Current State: 60:[5, 48, 7], Operations: ['94-87=7']
Exploring Operation: 48+7=55, Resulting Numbers: [5, 55]
Generated Node #0,0,0: 60:[5, 55] Operation: 48+7=55
Moving to Node #0,0,0
Current State: 60:[5, 55], Operations: ['94-87=7', '48+7=55']
Exploring Operation: 5+55=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
48,
10,
74,
2
] | 90 | [
"48+10=58",
"74*2=148",
"148-58=90"
] | Current State: 90:[48, 10, 74, 2], Operations: []
Exploring Operation: 48+10=58, Resulting Numbers: [74, 2, 58]
Generated Node #2: [74, 2, 58] from Operation: 48+10=58
Current State: 90:[74, 2, 58], Operations: ['48+10=58']
Exploring Operation: 74*2=148, Resulting Numbers: [58, 148]
Generated Node #3: [58, 148] from Operation: 74*2=148
Current State: 90:[58, 148], Operations: ['48+10=58', '74*2=148']
Exploring Operation: 148-58=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[48, 10, 74, 2], Operations: []
Exploring Operation: 74-48=26, Resulting Numbers: [10, 2, 26]
Generated Node #0,0: 90:[10, 2, 26] Operation: 74-48=26
Exploring Operation: 10+74=84, Resulting Numbers: [48, 2, 84]
Generated Node #0,1: 90:[48, 2, 84] Operation: 10+74=84
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[10, 2, 26], Operations: ['74-48=26']
Exploring Operation: 26-10=16, Resulting Numbers: [2, 16]
Generated Node #0,0,0: 90:[2, 16] Operation: 26-10=16
Exploring Operation: 2+26=28, Resulting Numbers: [10, 28]
Generated Node #0,0,1: 90:[10, 28] Operation: 2+26=28
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[2, 16], Operations: ['74-48=26', '26-10=16']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 90:[10, 28], Operations: ['74-48=26', '2+26=28']
Exploring Operation: 10+28=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[48, 2, 84], Operations: ['10+74=84']
Exploring Operation: 84/2=42, Resulting Numbers: [48, 42]
Generated Node #0,1,0: 90:[48, 42] Operation: 84/2=42
Exploring Operation: 84-48=36, Resulting Numbers: [2, 36]
Generated Node #0,1,1: 90:[2, 36] Operation: 84-48=36
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 90:[48, 42], Operations: ['10+74=84', '84/2=42']
Exploring Operation: 48-42=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 48+42=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[48, 10, 74, 2], Operations: []
Exploring Operation: 10+74=84, Resulting Numbers: [48, 2, 84]
Generated Node #0,1: 90:[48, 2, 84] Operation: 10+74=84
Moving to Node #0,1
Current State: 90:[48, 2, 84], Operations: ['10+74=84']
Exploring Operation: 84/2=42, Resulting Numbers: [48, 42]
Generated Node #0,1,0: 90:[48, 42] Operation: 84/2=42
Moving to Node #0,1,0
Current State: 90:[48, 42], Operations: ['10+74=84', '84/2=42']
Exploring Operation: 48+42=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
40,
20,
74,
72
] | 62 | [
"40+20=60",
"74-72=2",
"60+2=62"
] | Current State: 62:[40, 20, 74, 72], Operations: []
Exploring Operation: 40+20=60, Resulting Numbers: [74, 72, 60]
Generated Node #2: [74, 72, 60] from Operation: 40+20=60
Current State: 62:[74, 72, 60], Operations: ['40+20=60']
Exploring Operation: 74-72=2, Resulting Numbers: [60, 2]
Generated Node #3: [60, 2] from Operation: 74-72=2
Current State: 62:[60, 2], Operations: ['40+20=60', '74-72=2']
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[40, 20, 74, 72], Operations: []
Exploring Operation: 40/20=2, Resulting Numbers: [74, 72, 2]
Generated Node #0,0: 62:[74, 72, 2] Operation: 40/20=2
Exploring Operation: 74-72=2, Resulting Numbers: [40, 20, 2]
Generated Node #0,1: 62:[40, 20, 2] Operation: 74-72=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[40, 20, 2], Operations: ['74-72=2']
Exploring Operation: 40+20=60, Resulting Numbers: [2, 60]
Generated Node #0,1,0: 62:[2, 60] Operation: 40+20=60
Exploring Operation: 40/20=2, Resulting Numbers: [2, 2]
Generated Node #0,1,1: 62:[2, 2] Operation: 40/20=2
Moving to Node #0,1,1
Current State: 62:[2, 2], Operations: ['74-72=2', '40/20=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[2, 60], Operations: ['74-72=2', '40+20=60']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[40, 20, 74, 72], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [40, 20, 2]
Generated Node #0,1: 62:[40, 20, 2] Operation: 74-72=2
Moving to Node #0,1
Current State: 62:[40, 20, 2], Operations: ['74-72=2']
Exploring Operation: 40+20=60, Resulting Numbers: [2, 60]
Generated Node #0,1,0: 62:[2, 60] Operation: 40+20=60
Moving to Node #0,1,0
Current State: 62:[2, 60], Operations: ['74-72=2', '40+20=60']
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
78,
29,
23,
37
] | 11 | [
"78-29=49",
"23+37=60",
"60-49=11"
] | Current State: 11:[78, 29, 23, 37], Operations: []
Exploring Operation: 78-29=49, Resulting Numbers: [23, 37, 49]
Generated Node #2: [23, 37, 49] from Operation: 78-29=49
Current State: 11:[23, 37, 49], Operations: ['78-29=49']
Exploring Operation: 23+37=60, Resulting Numbers: [49, 60]
Generated Node #3: [49, 60] from Operation: 23+37=60
Current State: 11:[49, 60], Operations: ['78-29=49', '23+37=60']
Exploring Operation: 60-49=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[78, 29, 23, 37], Operations: []
Exploring Operation: 37-29=8, Resulting Numbers: [78, 23, 8]
Generated Node #0,0: 11:[78, 23, 8] Operation: 37-29=8
Exploring Operation: 78-29=49, Resulting Numbers: [23, 37, 49]
Generated Node #0,1: 11:[23, 37, 49] Operation: 78-29=49
Exploring Operation: 78-37=41, Resulting Numbers: [29, 23, 41]
Generated Node #0,2: 11:[29, 23, 41] Operation: 78-37=41
Moving to Node #0,2
Current State: 11:[29, 23, 41], Operations: ['78-37=41']
Exploring Operation: 41-23=18, Resulting Numbers: [29, 18]
Generated Node #0,2,0: 11:[29, 18] Operation: 41-23=18
Exploring Operation: 29-23=6, Resulting Numbers: [41, 6]
Generated Node #0,2,1: 11:[41, 6] Operation: 29-23=6
Exploring Operation: 41-29=12, Resulting Numbers: [23, 12]
Generated Node #0,2,2: 11:[23, 12] Operation: 41-29=12
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 11:[23, 12], Operations: ['78-37=41', '41-29=12']
Exploring Operation: 23+12=35, Resulting Numbers: [35]
35,11 unequal: No Solution
Exploring Operation: 23*12=276, Resulting Numbers: [276]
276,11 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[78, 29, 23, 37], Operations: []
Exploring Operation: 78-37=41, Resulting Numbers: [29, 23, 41]
Generated Node #0,2: 11:[29, 23, 41] Operation: 78-37=41
Moving to Node #0,2
Current State: 11:[29, 23, 41], Operations: ['78-37=41']
Exploring Operation: 41-29=12, Resulting Numbers: [23, 12]
Generated Node #0,2,2: 11:[23, 12] Operation: 41-29=12
Moving to Node #0,2,2
Current State: 11:[23, 12], Operations: ['78-37=41', '41-29=12']
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
41,
15,
46,
75
] | 10 | [
"46-41=5",
"75/15=5",
"5+5=10"
] | Current State: 10:[41, 15, 46, 75], Operations: []
Exploring Operation: 46-41=5, Resulting Numbers: [15, 75, 5]
Generated Node #2: [15, 75, 5] from Operation: 46-41=5
Current State: 10:[15, 75, 5], Operations: ['46-41=5']
Exploring Operation: 75/15=5, Resulting Numbers: [5, 5]
Generated Node #3: [5, 5] from Operation: 75/15=5
Current State: 10:[5, 5], Operations: ['46-41=5', '75/15=5']
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[41, 15, 46, 75], Operations: []
Exploring Operation: 75-46=29, Resulting Numbers: [41, 15, 29]
Generated Node #0,0: 10:[41, 15, 29] Operation: 75-46=29
Exploring Operation: 75-41=34, Resulting Numbers: [15, 46, 34]
Generated Node #0,1: 10:[15, 46, 34] Operation: 75-41=34
Moving to Node #0,0
Current State: 10:[41, 15, 29], Operations: ['75-46=29']
Exploring Operation: 41-15=26, Resulting Numbers: [29, 26]
Generated Node #0,0,0: 10:[29, 26] Operation: 41-15=26
Exploring Operation: 41-29=12, Resulting Numbers: [15, 12]
Generated Node #0,0,1: 10:[15, 12] Operation: 41-29=12
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 10:[15, 12], Operations: ['75-46=29', '41-29=12']
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[29, 26], Operations: ['75-46=29', '41-15=26']
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 29+26=55, Resulting Numbers: [55]
55,10 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: 10:[15, 46, 34], Operations: ['75-41=34']
Exploring Operation: 46-15=31, Resulting Numbers: [34, 31]
Generated Node #0,1,0: 10:[34, 31] Operation: 46-15=31
Exploring Operation: 46-34=12, Resulting Numbers: [15, 12]
Generated Node #0,1,1: 10:[15, 12] Operation: 46-34=12
Moving to Node #0,1,1
Current State: 10:[15, 12], Operations: ['75-41=34', '46-34=12']
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[34, 31], Operations: ['75-41=34', '46-15=31']
Exploring Operation: 34+31=65, Resulting Numbers: [65]
65,10 unequal: No Solution
Exploring Operation: 34-31=3, Resulting Numbers: [3]
3,10 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
65,
63,
92,
35
] | 71 | [
"65+63=128",
"92-35=57",
"128-57=71"
] | Current State: 71:[65, 63, 92, 35], Operations: []
Exploring Operation: 65+63=128, Resulting Numbers: [92, 35, 128]
Generated Node #2: [92, 35, 128] from Operation: 65+63=128
Current State: 71:[92, 35, 128], Operations: ['65+63=128']
Exploring Operation: 92-35=57, Resulting Numbers: [128, 57]
Generated Node #3: [128, 57] from Operation: 92-35=57
Current State: 71:[128, 57], Operations: ['65+63=128', '92-35=57']
Exploring Operation: 128-57=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[65, 63, 92, 35], Operations: []
Exploring Operation: 92-35=57, Resulting Numbers: [65, 63, 57]
Generated Node #0,0: 71:[65, 63, 57] Operation: 92-35=57
Moving to Node #0,0
Current State: 71:[65, 63, 57], Operations: ['92-35=57']
Exploring Operation: 63+57=120, Resulting Numbers: [65, 120]
Generated Node #0,0,0: 71:[65, 120] Operation: 63+57=120
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[65, 120], Operations: ['92-35=57', '63+57=120']
Exploring Operation: 120-65=55, Resulting Numbers: [55]
55,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
21,
46,
71,
26
] | 28 | [
"21+71=92",
"92/46=2",
"26+2=28"
] | Current State: 28:[21, 46, 71, 26], Operations: []
Exploring Operation: 21+71=92, Resulting Numbers: [46, 26, 92]
Generated Node #2: [46, 26, 92] from Operation: 21+71=92
Current State: 28:[46, 26, 92], Operations: ['21+71=92']
Exploring Operation: 92/46=2, Resulting Numbers: [26, 2]
Generated Node #3: [26, 2] from Operation: 92/46=2
Current State: 28:[26, 2], Operations: ['21+71=92', '92/46=2']
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[21, 46, 71, 26], Operations: []
Exploring Operation: 71-46=25, Resulting Numbers: [21, 26, 25]
Generated Node #0,0: 28:[21, 26, 25] Operation: 71-46=25
Exploring Operation: 71-21=50, Resulting Numbers: [46, 26, 50]
Generated Node #0,1: 28:[46, 26, 50] Operation: 71-21=50
Moving to Node #0,0
Current State: 28:[21, 26, 25], Operations: ['71-46=25']
Exploring Operation: 26-21=5, Resulting Numbers: [25, 5]
Generated Node #0,0,0: 28:[25, 5] Operation: 26-21=5
Exploring Operation: 25-21=4, Resulting Numbers: [26, 4]
Generated Node #0,0,1: 28:[26, 4] Operation: 25-21=4
Moving to Node #0,1
Current State: 28:[46, 26, 50], Operations: ['71-21=50']
Exploring Operation: 50-46=4, Resulting Numbers: [26, 4]
Generated Node #0,1,0: 28:[26, 4] Operation: 50-46=4
Exploring Operation: 50-26=24, Resulting Numbers: [46, 24]
Generated Node #0,1,1: 28:[46, 24] Operation: 50-26=24
Moving to Node #0,0,1
Current State: 28:[26, 4], Operations: ['71-46=25', '25-21=4']
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,28 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,28 unequal: No Solution
Moving to Node #0,1,0
Current State: 28:[26, 4], Operations: ['71-21=50', '50-46=4']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,28 unequal: No Solution
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[25, 5], Operations: ['71-46=25', '26-21=5']
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,28 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[46, 24], Operations: ['71-21=50', '50-26=24']
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,28 unequal: No Solution
Exploring Operation: 46+24=70, Resulting Numbers: [70]
70,28 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
55,
95,
39,
3
] | 11 | [
"55+95=150",
"150/3=50",
"50-39=11"
] | Current State: 11:[55, 95, 39, 3], Operations: []
Exploring Operation: 55+95=150, Resulting Numbers: [39, 3, 150]
Generated Node #2: [39, 3, 150] from Operation: 55+95=150
Current State: 11:[39, 3, 150], Operations: ['55+95=150']
Exploring Operation: 150/3=50, Resulting Numbers: [39, 50]
Generated Node #3: [39, 50] from Operation: 150/3=50
Current State: 11:[39, 50], Operations: ['55+95=150', '150/3=50']
Exploring Operation: 50-39=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[55, 95, 39, 3], Operations: []
Exploring Operation: 95-55=40, Resulting Numbers: [39, 3, 40]
Generated Node #0,0: 11:[39, 3, 40] Operation: 95-55=40
Moving to Node #0,0
Current State: 11:[39, 3, 40], Operations: ['95-55=40']
Exploring Operation: 40-39=1, Resulting Numbers: [3, 1]
Generated Node #0,0,0: 11:[3, 1] Operation: 40-39=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[3, 1], Operations: ['95-55=40', '40-39=1']
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
92,
20,
2,
23
] | 36 | [
"92/23=4",
"20*2=40",
"40-4=36"
] | Current State: 36:[92, 20, 2, 23], Operations: []
Exploring Operation: 92/23=4, Resulting Numbers: [20, 2, 4]
Generated Node #2: [20, 2, 4] from Operation: 92/23=4
Current State: 36:[20, 2, 4], Operations: ['92/23=4']
Exploring Operation: 20*2=40, Resulting Numbers: [4, 40]
Generated Node #3: [4, 40] from Operation: 20*2=40
Current State: 36:[4, 40], Operations: ['92/23=4', '20*2=40']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[92, 20, 2, 23], Operations: []
Exploring Operation: 92/23=4, Resulting Numbers: [20, 2, 4]
Generated Node #0,0: 36:[20, 2, 4] Operation: 92/23=4
Exploring Operation: 92/2=46, Resulting Numbers: [20, 23, 46]
Generated Node #0,1: 36:[20, 23, 46] Operation: 92/2=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[20, 2, 4], Operations: ['92/23=4']
Exploring Operation: 20-2=18, Resulting Numbers: [4, 18]
Generated Node #0,0,0: 36:[4, 18] Operation: 20-2=18
Exploring Operation: 20/2=10, Resulting Numbers: [4, 10]
Generated Node #0,0,1: 36:[4, 10] Operation: 20/2=10
Moving to Node #0,0,0
Current State: 36:[4, 18], Operations: ['92/23=4', '20-2=18']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[4, 10], Operations: ['92/23=4', '20/2=10']
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[20, 23, 46], Operations: ['92/2=46']
Exploring Operation: 46/23=2, Resulting Numbers: [20, 2]
Generated Node #0,1,0: 36:[20, 2] Operation: 46/23=2
Exploring Operation: 46-23=23, Resulting Numbers: [20, 23]
Generated Node #0,1,1: 36:[20, 23] Operation: 46-23=23
Moving to Node #0,1,0
Current State: 36:[20, 2], Operations: ['92/2=46', '46/23=2']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[20, 23], Operations: ['92/2=46', '46-23=23']
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 20+23=43, Resulting Numbers: [43]
43,36 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 |
[
70,
32,
44,
16
] | 24 | [
"70-44=26",
"32/16=2",
"26-2=24"
] | Current State: 24:[70, 32, 44, 16], Operations: []
Exploring Operation: 70-44=26, Resulting Numbers: [32, 16, 26]
Generated Node #2: [32, 16, 26] from Operation: 70-44=26
Current State: 24:[32, 16, 26], Operations: ['70-44=26']
Exploring Operation: 32/16=2, Resulting Numbers: [26, 2]
Generated Node #3: [26, 2] from Operation: 32/16=2
Current State: 24:[26, 2], Operations: ['70-44=26', '32/16=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[70, 32, 44, 16], Operations: []
Exploring Operation: 70-32=38, Resulting Numbers: [44, 16, 38]
Generated Node #0,0: 24:[44, 16, 38] Operation: 70-32=38
Exploring Operation: 44-32=12, Resulting Numbers: [70, 16, 12]
Generated Node #0,1: 24:[70, 16, 12] Operation: 44-32=12
Exploring Operation: 70-44=26, Resulting Numbers: [32, 16, 26]
Generated Node #0,2: 24:[32, 16, 26] Operation: 70-44=26
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[32, 16, 26], Operations: ['70-44=26']
Exploring Operation: 32-16=16, Resulting Numbers: [26, 16]
Generated Node #0,2,0: 24:[26, 16] Operation: 32-16=16
Exploring Operation: 32-26=6, Resulting Numbers: [16, 6]
Generated Node #0,2,1: 24:[16, 6] Operation: 32-26=6
Exploring Operation: 32/16=2, Resulting Numbers: [26, 2]
Generated Node #0,2,2: 24:[26, 2] Operation: 32/16=2
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 24:[26, 2], Operations: ['70-44=26', '32/16=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,24 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,24 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[70, 32, 44, 16], Operations: []
Exploring Operation: 70-44=26, Resulting Numbers: [32, 16, 26]
Generated Node #0,2: 24:[32, 16, 26] Operation: 70-44=26
Moving to Node #0,2
Current State: 24:[32, 16, 26], Operations: ['70-44=26']
Exploring Operation: 32/16=2, Resulting Numbers: [26, 2]
Generated Node #0,2,2: 24:[26, 2] Operation: 32/16=2
Moving to Node #0,2,2
Current State: 24:[26, 2], Operations: ['70-44=26', '32/16=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
72,
17,
43,
33
] | 13 | [
"72+17=89",
"43+33=76",
"89-76=13"
] | Current State: 13:[72, 17, 43, 33], Operations: []
Exploring Operation: 72+17=89, Resulting Numbers: [43, 33, 89]
Generated Node #2: [43, 33, 89] from Operation: 72+17=89
Current State: 13:[43, 33, 89], Operations: ['72+17=89']
Exploring Operation: 43+33=76, Resulting Numbers: [89, 76]
Generated Node #3: [89, 76] from Operation: 43+33=76
Current State: 13:[89, 76], Operations: ['72+17=89', '43+33=76']
Exploring Operation: 89-76=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[72, 17, 43, 33], Operations: []
Exploring Operation: 72-43=29, Resulting Numbers: [17, 33, 29]
Generated Node #0,0: 13:[17, 33, 29] Operation: 72-43=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[17, 33, 29], Operations: ['72-43=29']
Exploring Operation: 33-29=4, Resulting Numbers: [17, 4]
Generated Node #0,0,0: 13:[17, 4] Operation: 33-29=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[17, 4], Operations: ['72-43=29', '33-29=4']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[72, 17, 43, 33], Operations: []
Exploring Operation: 72-43=29, Resulting Numbers: [17, 33, 29]
Generated Node #0,0: 13:[17, 33, 29] Operation: 72-43=29
Moving to Node #0,0
Current State: 13:[17, 33, 29], Operations: ['72-43=29']
Exploring Operation: 33-29=4, Resulting Numbers: [17, 4]
Generated Node #0,0,0: 13:[17, 4] Operation: 33-29=4
Moving to Node #0,0,0
Current State: 13:[17, 4], Operations: ['72-43=29', '33-29=4']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
30,
33,
11,
21
] | 31 | [
"30+33=63",
"11+21=32",
"63-32=31"
] | Current State: 31:[30, 33, 11, 21], Operations: []
Exploring Operation: 30+33=63, Resulting Numbers: [11, 21, 63]
Generated Node #2: [11, 21, 63] from Operation: 30+33=63
Current State: 31:[11, 21, 63], Operations: ['30+33=63']
Exploring Operation: 11+21=32, Resulting Numbers: [63, 32]
Generated Node #3: [63, 32] from Operation: 11+21=32
Current State: 31:[63, 32], Operations: ['30+33=63', '11+21=32']
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[30, 33, 11, 21], Operations: []
Exploring Operation: 33-11=22, Resulting Numbers: [30, 21, 22]
Generated Node #0,0: 31:[30, 21, 22] Operation: 33-11=22
Exploring Operation: 11+21=32, Resulting Numbers: [30, 33, 32]
Generated Node #0,1: 31:[30, 33, 32] Operation: 11+21=32
Moving to Node #0,1
Current State: 31:[30, 33, 32], Operations: ['11+21=32']
Exploring Operation: 33-30=3, Resulting Numbers: [32, 3]
Generated Node #0,1,0: 31:[32, 3] Operation: 33-30=3
Exploring Operation: 32-30=2, Resulting Numbers: [33, 2]
Generated Node #0,1,1: 31:[33, 2] Operation: 32-30=2
Moving to Node #0,0
Current State: 31:[30, 21, 22], Operations: ['33-11=22']
Exploring Operation: 21+22=43, Resulting Numbers: [30, 43]
Generated Node #0,0,0: 31:[30, 43] Operation: 21+22=43
Exploring Operation: 30+21=51, Resulting Numbers: [22, 51]
Generated Node #0,0,1: 31:[22, 51] Operation: 30+21=51
Moving to Node #0,0,0
Current State: 31:[30, 43], Operations: ['33-11=22', '21+22=43']
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,31 unequal: No Solution
Exploring Operation: 30+43=73, Resulting Numbers: [73]
73,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[32, 3], Operations: ['11+21=32', '33-30=3']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[22, 51], Operations: ['33-11=22', '30+21=51']
Exploring Operation: 22+51=73, Resulting Numbers: [73]
73,31 unequal: No Solution
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[33, 2], Operations: ['11+21=32', '32-30=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[30, 33, 11, 21], Operations: []
Exploring Operation: 11+21=32, Resulting Numbers: [30, 33, 32]
Generated Node #0,1: 31:[30, 33, 32] Operation: 11+21=32
Moving to Node #0,1
Current State: 31:[30, 33, 32], Operations: ['11+21=32']
Exploring Operation: 32-30=2, Resulting Numbers: [33, 2]
Generated Node #0,1,1: 31:[33, 2] Operation: 32-30=2
Moving to Node #0,1,1
Current State: 31:[33, 2], Operations: ['11+21=32', '32-30=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 0.985243 | hs_2 | mult_heuristic |
[
67,
14,
88,
1
] | 35 | [
"67-14=53",
"88*1=88",
"88-53=35"
] | Current State: 35:[67, 14, 88, 1], Operations: []
Exploring Operation: 67-14=53, Resulting Numbers: [88, 1, 53]
Generated Node #2: [88, 1, 53] from Operation: 67-14=53
Current State: 35:[88, 1, 53], Operations: ['67-14=53']
Exploring Operation: 88*1=88, Resulting Numbers: [53, 88]
Generated Node #3: [53, 88] from Operation: 88*1=88
Current State: 35:[53, 88], Operations: ['67-14=53', '88*1=88']
Exploring Operation: 88-53=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[67, 14, 88, 1], Operations: []
Exploring Operation: 88-67=21, Resulting Numbers: [14, 1, 21]
Generated Node #0,0: 35:[14, 1, 21] Operation: 88-67=21
Exploring Operation: 67-14=53, Resulting Numbers: [88, 1, 53]
Generated Node #0,1: 35:[88, 1, 53] Operation: 67-14=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[14, 1, 21], Operations: ['88-67=21']
Exploring Operation: 21-14=7, Resulting Numbers: [1, 7]
Generated Node #0,0,0: 35:[1, 7] Operation: 21-14=7
Exploring Operation: 14+21=35, Resulting Numbers: [1, 35]
Generated Node #0,0,1: 35:[1, 35] Operation: 14+21=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 35:[1, 7], Operations: ['88-67=21', '21-14=7']
Exploring Operation: 1*7=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,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,0,1
Current State: 35:[1, 35], Operations: ['88-67=21', '14+21=35']
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[67, 14, 88, 1], Operations: []
Exploring Operation: 88-67=21, Resulting Numbers: [14, 1, 21]
Generated Node #0,0: 35:[14, 1, 21] Operation: 88-67=21
Moving to Node #0,0
Current State: 35:[14, 1, 21], Operations: ['88-67=21']
Exploring Operation: 14+21=35, Resulting Numbers: [1, 35]
Generated Node #0,0,1: 35:[1, 35] Operation: 14+21=35
Moving to Node #0,0,1
Current State: 35:[1, 35], Operations: ['88-67=21', '14+21=35']
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
87,
3,
60,
43
] | 52 | [
"87-60=27",
"27/3=9",
"43+9=52"
] | Current State: 52:[87, 3, 60, 43], Operations: []
Exploring Operation: 87-60=27, Resulting Numbers: [3, 43, 27]
Generated Node #2: [3, 43, 27] from Operation: 87-60=27
Current State: 52:[3, 43, 27], Operations: ['87-60=27']
Exploring Operation: 27/3=9, Resulting Numbers: [43, 9]
Generated Node #3: [43, 9] from Operation: 27/3=9
Current State: 52:[43, 9], Operations: ['87-60=27', '27/3=9']
Exploring Operation: 43+9=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[87, 3, 60, 43], Operations: []
Exploring Operation: 87/3=29, Resulting Numbers: [60, 43, 29]
Generated Node #0,0: 52:[60, 43, 29] Operation: 87/3=29
Exploring Operation: 87-3=84, Resulting Numbers: [60, 43, 84]
Generated Node #0,1: 52:[60, 43, 84] Operation: 87-3=84
Exploring Operation: 87-60=27, Resulting Numbers: [3, 43, 27]
Generated Node #0,2: 52:[3, 43, 27] Operation: 87-60=27
Exploring Operation: 60-43=17, Resulting Numbers: [87, 3, 17]
Generated Node #0,3: 52:[87, 3, 17] Operation: 60-43=17
Exploring Operation: 87-43=44, Resulting Numbers: [3, 60, 44]
Generated Node #0,4: 52:[3, 60, 44] Operation: 87-43=44
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[3, 43, 27], Operations: ['87-60=27']
Exploring Operation: 3+43=46, Resulting Numbers: [27, 46]
Generated Node #0,2,0: 52:[27, 46] Operation: 3+43=46
Exploring Operation: 3+27=30, Resulting Numbers: [43, 30]
Generated Node #0,2,1: 52:[43, 30] Operation: 3+27=30
Exploring Operation: 43-3=40, Resulting Numbers: [27, 40]
Generated Node #0,2,2: 52:[27, 40] Operation: 43-3=40
Exploring Operation: 43-27=16, Resulting Numbers: [3, 16]
Generated Node #0,2,3: 52:[3, 16] Operation: 43-27=16
Exploring Operation: 27-3=24, Resulting Numbers: [43, 24]
Generated Node #0,2,4: 52:[43, 24] Operation: 27-3=24
Moving to Node #0,2,3
Current State: 52:[3, 16], Operations: ['87-60=27', '43-27=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,52 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Moving to Node #0,2,0
Current State: 52:[27, 46], Operations: ['87-60=27', '3+43=46']
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 27+46=73, Resulting Numbers: [73]
73,52 unequal: No Solution
Exploring Operation: 27*46=1242, Resulting Numbers: [1242]
1242,52 unequal: No Solution
Moving to Node #0,2,4
Current State: 52:[43, 24], Operations: ['87-60=27', '27-3=24']
Exploring Operation: 43+24=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Exploring Operation: 43-24=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 43*24=1032, Resulting Numbers: [1032]
1032,52 unequal: No Solution
Moving to Node #0,2,1
Current State: 52:[43, 30], Operations: ['87-60=27', '3+27=30']
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 43*30=1290, Resulting Numbers: [1290]
1290,52 unequal: No Solution
Exploring Operation: 43+30=73, Resulting Numbers: [73]
73,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[27, 40], Operations: ['87-60=27', '43-3=40']
Exploring Operation: 27*40=1080, Resulting Numbers: [1080]
1080,52 unequal: No Solution
Exploring Operation: 40-27=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 27+40=67, Resulting Numbers: [67]
67,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 52:[3, 60, 44], Operations: ['87-43=44']
Exploring Operation: 3+44=47, Resulting Numbers: [60, 47]
Generated Node #0,4,0: 52:[60, 47] Operation: 3+44=47
Exploring Operation: 60-3=57, Resulting Numbers: [44, 57]
Generated Node #0,4,1: 52:[44, 57] Operation: 60-3=57
Exploring Operation: 60-44=16, Resulting Numbers: [3, 16]
Generated Node #0,4,2: 52:[3, 16] Operation: 60-44=16
Exploring Operation: 60/3=20, Resulting Numbers: [44, 20]
Generated Node #0,4,3: 52:[44, 20] Operation: 60/3=20
Exploring Operation: 3+60=63, Resulting Numbers: [44, 63]
Generated Node #0,4,4: 52:[44, 63] Operation: 3+60=63
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 52:[3, 16], Operations: ['87-43=44', '60-44=16']
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 52:[60, 47], Operations: ['87-43=44', '3+44=47']
Exploring Operation: 60*47=2820, Resulting Numbers: [2820]
2820,52 unequal: No Solution
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 60+47=107, Resulting Numbers: [107]
107,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 52:[44, 57], Operations: ['87-43=44', '60-3=57']
Exploring Operation: 44+57=101, Resulting Numbers: [101]
101,52 unequal: No Solution
Exploring Operation: 44*57=2508, Resulting Numbers: [2508]
2508,52 unequal: No Solution
Exploring Operation: 57-44=13, Resulting Numbers: [13]
13,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 52:[44, 20], Operations: ['87-43=44', '60/3=20']
Exploring Operation: 44+20=64, Resulting Numbers: [64]
64,52 unequal: No Solution
Exploring Operation: 44*20=880, Resulting Numbers: [880]
880,52 unequal: No Solution
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 52:[44, 63], Operations: ['87-43=44', '3+60=63']
Exploring Operation: 44+63=107, Resulting Numbers: [107]
107,52 unequal: No Solution
Exploring Operation: 63-44=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 44*63=2772, Resulting Numbers: [2772]
2772,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[60, 43, 29], Operations: ['87/3=29']
Exploring Operation: 43-29=14, Resulting Numbers: [60, 14]
Generated Node #0,0,0: 52:[60, 14] Operation: 43-29=14
Exploring Operation: 43+29=72, Resulting Numbers: [60, 72]
Generated Node #0,0,1: 52:[60, 72] Operation: 43+29=72
Exploring Operation: 60-43=17, Resulting Numbers: [29, 17]
Generated Node #0,0,2: 52:[29, 17] Operation: 60-43=17
Exploring Operation: 60-29=31, Resulting Numbers: [43, 31]
Generated Node #0,0,3: 52:[43, 31] Operation: 60-29=31
Exploring Operation: 60+29=89, Resulting Numbers: [43, 89]
Generated Node #0,0,4: 52:[43, 89] Operation: 60+29=89
Moving to Node #0,0,2
Current State: 52:[29, 17], Operations: ['87/3=29', '60-43=17']
Exploring Operation: 29+17=46, Resulting Numbers: [46]
46,52 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 29*17=493, Resulting Numbers: [493]
493,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[60, 14], Operations: ['87/3=29', '43-29=14']
Exploring Operation: 60-14=46, Resulting Numbers: [46]
46,52 unequal: No Solution
Exploring Operation: 60*14=840, Resulting Numbers: [840]
840,52 unequal: No Solution
Exploring Operation: 60+14=74, Resulting Numbers: [74]
74,52 unequal: No Solution
Moving to Node #0,0,3
Current State: 52:[43, 31], Operations: ['87/3=29', '60-29=31']
Exploring Operation: 43+31=74, Resulting Numbers: [74]
74,52 unequal: No Solution
Exploring Operation: 43-31=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 43*31=1333, Resulting Numbers: [1333]
1333,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[60, 72], Operations: ['87/3=29', '43+29=72']
Exploring Operation: 60+72=132, Resulting Numbers: [132]
132,52 unequal: No Solution
Exploring Operation: 72-60=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 60*72=4320, Resulting Numbers: [4320]
4320,52 unequal: No Solution
Moving to Node #0,0,4
Current State: 52:[43, 89], Operations: ['87/3=29', '60+29=89']
Exploring Operation: 43*89=3827, Resulting Numbers: [3827]
3827,52 unequal: No Solution
Exploring Operation: 43+89=132, Resulting Numbers: [132]
132,52 unequal: No Solution
Exploring Operation: 89-43=46, Resulting Numbers: [46]
46,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 52:[87, 3, 17], Operations: ['60-43=17']
Exploring Operation: 3*17=51, Resulting Numbers: [87, 51]
Generated Node #0,3,0: 52:[87, 51] Operation: 3*17=51
Exploring Operation: 87/3=29, Resulting Numbers: [17, 29]
Generated Node #0,3,1: 52:[17, 29] Operation: 87/3=29
Exploring Operation: 87-3=84, Resulting Numbers: [17, 84]
Generated Node #0,3,2: 52:[17, 84] Operation: 87-3=84
Exploring Operation: 17-3=14, Resulting Numbers: [87, 14]
Generated Node #0,3,3: 52:[87, 14] Operation: 17-3=14
Exploring Operation: 87-17=70, Resulting Numbers: [3, 70]
Generated Node #0,3,4: 52:[3, 70] Operation: 87-17=70
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 52:[17, 29], Operations: ['60-43=17', '87/3=29']
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 17*29=493, Resulting Numbers: [493]
493,52 unequal: No Solution
Exploring Operation: 17+29=46, Resulting Numbers: [46]
46,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 52:[3, 70], Operations: ['60-43=17', '87-17=70']
Exploring Operation: 3*70=210, Resulting Numbers: [210]
210,52 unequal: No Solution
Exploring Operation: 3+70=73, Resulting Numbers: [73]
73,52 unequal: No Solution
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 52:[87, 51], Operations: ['60-43=17', '3*17=51']
Exploring Operation: 87*51=4437, Resulting Numbers: [4437]
4437,52 unequal: No Solution
Exploring Operation: 87-51=36, Resulting Numbers: [36]
36,52 unequal: No Solution
Exploring Operation: 87+51=138, Resulting Numbers: [138]
138,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 52:[17, 84], Operations: ['60-43=17', '87-3=84']
Exploring Operation: 17+84=101, Resulting Numbers: [101]
101,52 unequal: No Solution
Exploring Operation: 84-17=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Exploring Operation: 17*84=1428, Resulting Numbers: [1428]
1428,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 52:[87, 14], Operations: ['60-43=17', '17-3=14']
Exploring Operation: 87+14=101, Resulting Numbers: [101]
101,52 unequal: No Solution
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,52 unequal: No Solution
Exploring Operation: 87*14=1218, Resulting Numbers: [1218]
1218,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[60, 43, 84], Operations: ['87-3=84']
Exploring Operation: 84-43=41, Resulting Numbers: [60, 41]
Generated Node #0,1,0: 52:[60, 41] Operation: 84-43=41
Exploring Operation: 84-60=24, Resulting Numbers: [43, 24]
Generated Node #0,1,1: 52:[43, 24] Operation: 84-60=24
Exploring Operation: 60-43=17, Resulting Numbers: [84, 17]
Generated Node #0,1,2: 52:[84, 17] Operation: 60-43=17
Exploring Operation: 43+84=127, Resulting Numbers: [60, 127]
Generated Node #0,1,3: 52:[60, 127] Operation: 43+84=127
Exploring Operation: 60+43=103, Resulting Numbers: [84, 103]
Generated Node #0,1,4: 52:[84, 103] Operation: 60+43=103
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 52:[43, 24], Operations: ['87-3=84', '84-60=24']
Exploring Operation: 43+24=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Exploring Operation: 43*24=1032, Resulting Numbers: [1032]
1032,52 unequal: No Solution
Exploring Operation: 43-24=19, Resulting Numbers: [19]
19,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 52:[60, 41], Operations: ['87-3=84', '84-43=41']
Exploring Operation: 60+41=101, Resulting Numbers: [101]
101,52 unequal: No Solution
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 60*41=2460, Resulting Numbers: [2460]
2460,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 52:[84, 17], Operations: ['87-3=84', '60-43=17']
Exploring Operation: 84*17=1428, Resulting Numbers: [1428]
1428,52 unequal: No Solution
Exploring Operation: 84+17=101, Resulting Numbers: [101]
101,52 unequal: No Solution
Exploring Operation: 84-17=67, Resulting Numbers: [67]
67,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 52:[60, 127], Operations: ['87-3=84', '43+84=127']
Exploring Operation: 60+127=187, Resulting Numbers: [187]
187,52 unequal: No Solution
Exploring Operation: 127-60=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Exploring Operation: 60*127=7620, Resulting Numbers: [7620]
7620,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 52:[84, 103], Operations: ['87-3=84', '60+43=103']
Exploring Operation: 84+103=187, Resulting Numbers: [187]
187,52 unequal: No Solution
Exploring Operation: 103-84=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 84*103=8652, Resulting Numbers: [8652]
8652,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
42,
2,
20,
32
] | 46 | [
"42+20=62",
"32/2=16",
"62-16=46"
] | Current State: 46:[42, 2, 20, 32], Operations: []
Exploring Operation: 42+20=62, Resulting Numbers: [2, 32, 62]
Generated Node #2: [2, 32, 62] from Operation: 42+20=62
Current State: 46:[2, 32, 62], Operations: ['42+20=62']
Exploring Operation: 32/2=16, Resulting Numbers: [62, 16]
Generated Node #3: [62, 16] from Operation: 32/2=16
Current State: 46:[62, 16], Operations: ['42+20=62', '32/2=16']
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[42, 2, 20, 32], Operations: []
Exploring Operation: 42+2=44, Resulting Numbers: [20, 32, 44]
Generated Node #0,0: 46:[20, 32, 44] Operation: 42+2=44
Exploring Operation: 42-20=22, Resulting Numbers: [2, 32, 22]
Generated Node #0,1: 46:[2, 32, 22] Operation: 42-20=22
Exploring Operation: 20+32=52, Resulting Numbers: [42, 2, 52]
Generated Node #0,2: 46:[42, 2, 52] Operation: 20+32=52
Exploring Operation: 42-32=10, Resulting Numbers: [2, 20, 10]
Generated Node #0,3: 46:[2, 20, 10] Operation: 42-32=10
Moving to Node #0,1
Current State: 46:[2, 32, 22], Operations: ['42-20=22']
Exploring Operation: 32+22=54, Resulting Numbers: [2, 54]
Generated Node #0,1,0: 46:[2, 54] Operation: 32+22=54
Exploring Operation: 32-2=30, Resulting Numbers: [22, 30]
Generated Node #0,1,1: 46:[22, 30] Operation: 32-2=30
Exploring Operation: 32/2=16, Resulting Numbers: [22, 16]
Generated Node #0,1,2: 46:[22, 16] Operation: 32/2=16
Exploring Operation: 32-22=10, Resulting Numbers: [2, 10]
Generated Node #0,1,3: 46:[2, 10] Operation: 32-22=10
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[2, 54], Operations: ['42-20=22', '32+22=54']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,46 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,46 unequal: No Solution
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,46 unequal: No Solution
Exploring Operation: 2*54=108, Resulting Numbers: [108]
108,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:[22, 30], Operations: ['42-20=22', '32-2=30']
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 22+30=52, Resulting Numbers: [52]
52,46 unequal: No Solution
Exploring Operation: 22*30=660, Resulting Numbers: [660]
660,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,2
Current State: 46:[22, 16], Operations: ['42-20=22', '32/2=16']
Exploring Operation: 22*16=352, Resulting Numbers: [352]
352,46 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,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:[2, 10], Operations: ['42-20=22', '32-22=10']
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,46 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,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:[42, 2, 52], Operations: ['20+32=52']
Exploring Operation: 52/2=26, Resulting Numbers: [42, 26]
Generated Node #0,2,0: 46:[42, 26] Operation: 52/2=26
Exploring Operation: 42/2=21, Resulting Numbers: [52, 21]
Generated Node #0,2,1: 46:[52, 21] Operation: 42/2=21
Exploring Operation: 52-42=10, Resulting Numbers: [2, 10]
Generated Node #0,2,2: 46:[2, 10] Operation: 52-42=10
Exploring Operation: 42+2=44, Resulting Numbers: [52, 44]
Generated Node #0,2,3: 46:[52, 44] Operation: 42+2=44
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 46:[42, 26], Operations: ['20+32=52', '52/2=26']
Exploring Operation: 42*26=1092, Resulting Numbers: [1092]
1092,46 unequal: No Solution
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 42+26=68, Resulting Numbers: [68]
68,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 46:[52, 21], Operations: ['20+32=52', '42/2=21']
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 52*21=1092, Resulting Numbers: [1092]
1092,46 unequal: No Solution
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 46:[2, 10], Operations: ['20+32=52', '52-42=10']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,46 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 46:[52, 44], Operations: ['20+32=52', '42+2=44']
Exploring Operation: 52-44=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 52+44=96, Resulting Numbers: [96]
96,46 unequal: No Solution
Exploring Operation: 52*44=2288, Resulting Numbers: [2288]
2288,46 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: 46:[2, 20, 10], Operations: ['42-32=10']
Exploring Operation: 20+10=30, Resulting Numbers: [2, 30]
Generated Node #0,3,0: 46:[2, 30] Operation: 20+10=30
Exploring Operation: 20/10=2, Resulting Numbers: [2, 2]
Generated Node #0,3,1: 46:[2, 2] Operation: 20/10=2
Exploring Operation: 10/2=5, Resulting Numbers: [20, 5]
Generated Node #0,3,2: 46:[20, 5] Operation: 10/2=5
Exploring Operation: 2*10=20, Resulting Numbers: [20, 20]
Generated Node #0,3,3: 46:[20, 20] Operation: 2*10=20
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 46:[2, 2], Operations: ['42-32=10', '20/10=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,46 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,46 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,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:[20, 5], Operations: ['42-32=10', '10/2=5']
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,46 unequal: No Solution
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,46 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,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:[20, 20], Operations: ['42-32=10', '2*10=20']
Exploring Operation: 20/20=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 20+20=40, Resulting Numbers: [40]
40,46 unequal: No Solution
Exploring Operation: 20*20=400, Resulting Numbers: [400]
400,46 unequal: No Solution
Exploring Operation: 20-20=0, Resulting Numbers: [0]
0,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,0
Current State: 46:[2, 30], Operations: ['42-32=10', '20+10=30']
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,46 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,46 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: 46:[20, 32, 44], Operations: ['42+2=44']
Exploring Operation: 44-20=24, Resulting Numbers: [32, 24]
Generated Node #0,0,0: 46:[32, 24] Operation: 44-20=24
Exploring Operation: 44-32=12, Resulting Numbers: [20, 12]
Generated Node #0,0,1: 46:[20, 12] Operation: 44-32=12
Exploring Operation: 32-20=12, Resulting Numbers: [44, 12]
Generated Node #0,0,2: 46:[44, 12] Operation: 32-20=12
Exploring Operation: 20+32=52, Resulting Numbers: [44, 52]
Generated Node #0,0,3: 46:[44, 52] Operation: 20+32=52
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 46:[44, 52], Operations: ['42+2=44', '20+32=52']
Exploring Operation: 52-44=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 44*52=2288, Resulting Numbers: [2288]
2288,46 unequal: No Solution
Exploring Operation: 44+52=96, Resulting Numbers: [96]
96,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,0,0
Current State: 46:[32, 24], Operations: ['42+2=44', '44-20=24']
Exploring Operation: 32+24=56, Resulting Numbers: [56]
56,46 unequal: No Solution
Exploring Operation: 32*24=768, Resulting Numbers: [768]
768,46 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,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,0,2
Current State: 46:[44, 12], Operations: ['42+2=44', '32-20=12']
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 44+12=56, Resulting Numbers: [56]
56,46 unequal: No Solution
Exploring Operation: 44*12=528, Resulting Numbers: [528]
528,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,0,1
Current State: 46:[20, 12], Operations: ['42+2=44', '44-32=12']
Exploring Operation: 20*12=240, Resulting Numbers: [240]
240,46 unequal: No Solution
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
32,
74,
18,
9
] | 52 | [
"32-18=14",
"9*14=126",
"126-74=52"
] | Current State: 52:[32, 74, 18, 9], Operations: []
Exploring Operation: 32-18=14, Resulting Numbers: [74, 9, 14]
Generated Node #2: [74, 9, 14] from Operation: 32-18=14
Current State: 52:[74, 9, 14], Operations: ['32-18=14']
Exploring Operation: 9*14=126, Resulting Numbers: [74, 126]
Generated Node #3: [74, 126] from Operation: 9*14=126
Current State: 52:[74, 126], Operations: ['32-18=14', '9*14=126']
Exploring Operation: 126-74=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[32, 74, 18, 9], Operations: []
Exploring Operation: 74-18=56, Resulting Numbers: [32, 9, 56]
Generated Node #0,0: 52:[32, 9, 56] Operation: 74-18=56
Exploring Operation: 74-32=42, Resulting Numbers: [18, 9, 42]
Generated Node #0,1: 52:[18, 9, 42] Operation: 74-32=42
Moving to Node #0,0
Current State: 52:[32, 9, 56], Operations: ['74-18=56']
Exploring Operation: 32-9=23, Resulting Numbers: [56, 23]
Generated Node #0,0,0: 52:[56, 23] Operation: 32-9=23
Exploring Operation: 56-32=24, Resulting Numbers: [9, 24]
Generated Node #0,0,1: 52:[9, 24] Operation: 56-32=24
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[9, 24], Operations: ['74-18=56', '56-32=24']
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,52 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[56, 23], Operations: ['74-18=56', '32-9=23']
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,52 unequal: No Solution
Exploring Operation: 56+23=79, Resulting Numbers: [79]
79,52 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: 52:[18, 9, 42], Operations: ['74-32=42']
Exploring Operation: 42-18=24, Resulting Numbers: [9, 24]
Generated Node #0,1,0: 52:[9, 24] Operation: 42-18=24
Exploring Operation: 9+42=51, Resulting Numbers: [18, 51]
Generated Node #0,1,1: 52:[18, 51] Operation: 9+42=51
Moving to Node #0,1,0
Current State: 52:[9, 24], Operations: ['74-32=42', '42-18=24']
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,52 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[18, 51], Operations: ['74-32=42', '9+42=51']
Exploring Operation: 18+51=69, Resulting Numbers: [69]
69,52 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,52 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
94,
52,
32,
44
] | 34 | [
"94-52=42",
"32+44=76",
"76-42=34"
] | Current State: 34:[94, 52, 32, 44], Operations: []
Exploring Operation: 94-52=42, Resulting Numbers: [32, 44, 42]
Generated Node #2: [32, 44, 42] from Operation: 94-52=42
Current State: 34:[32, 44, 42], Operations: ['94-52=42']
Exploring Operation: 32+44=76, Resulting Numbers: [42, 76]
Generated Node #3: [42, 76] from Operation: 32+44=76
Current State: 34:[42, 76], Operations: ['94-52=42', '32+44=76']
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[94, 52, 32, 44], Operations: []
Exploring Operation: 94-52=42, Resulting Numbers: [32, 44, 42]
Generated Node #0,0: 34:[32, 44, 42] Operation: 94-52=42
Exploring Operation: 94-44=50, Resulting Numbers: [52, 32, 50]
Generated Node #0,1: 34:[52, 32, 50] Operation: 94-44=50
Exploring Operation: 94-32=62, Resulting Numbers: [52, 44, 62]
Generated Node #0,2: 34:[52, 44, 62] Operation: 94-32=62
Moving to Node #0,0
Current State: 34:[32, 44, 42], Operations: ['94-52=42']
Exploring Operation: 44-42=2, Resulting Numbers: [32, 2]
Generated Node #0,0,0: 34:[32, 2] Operation: 44-42=2
Exploring Operation: 42-32=10, Resulting Numbers: [44, 10]
Generated Node #0,0,1: 34:[44, 10] Operation: 42-32=10
Exploring Operation: 44-32=12, Resulting Numbers: [42, 12]
Generated Node #0,0,2: 34:[42, 12] Operation: 44-32=12
Moving to Node #0,1
Current State: 34:[52, 32, 50], Operations: ['94-44=50']
Exploring Operation: 50-32=18, Resulting Numbers: [52, 18]
Generated Node #0,1,0: 34:[52, 18] Operation: 50-32=18
Exploring Operation: 52-32=20, Resulting Numbers: [50, 20]
Generated Node #0,1,1: 34:[50, 20] Operation: 52-32=20
Exploring Operation: 52-50=2, Resulting Numbers: [32, 2]
Generated Node #0,1,2: 34:[32, 2] Operation: 52-50=2
Moving to Node #0,2
Current State: 34:[52, 44, 62], Operations: ['94-32=62']
Exploring Operation: 62-52=10, Resulting Numbers: [44, 10]
Generated Node #0,2,0: 34:[44, 10] Operation: 62-52=10
Exploring Operation: 52-44=8, Resulting Numbers: [62, 8]
Generated Node #0,2,1: 34:[62, 8] Operation: 52-44=8
Exploring Operation: 62-44=18, Resulting Numbers: [52, 18]
Generated Node #0,2,2: 34:[52, 18] Operation: 62-44=18
Moving to Node #0,0,0
Current State: 34:[32, 2], Operations: ['94-52=42', '44-42=2']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,34 unequal: No Solution
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[94, 52, 32, 44], Operations: []
Exploring Operation: 94-52=42, Resulting Numbers: [32, 44, 42]
Generated Node #0,0: 34:[32, 44, 42] Operation: 94-52=42
Moving to Node #0,0
Current State: 34:[32, 44, 42], Operations: ['94-52=42']
Exploring Operation: 44-42=2, Resulting Numbers: [32, 2]
Generated Node #0,0,0: 34:[32, 2] Operation: 44-42=2
Moving to Node #0,0,0
Current State: 34:[32, 2], Operations: ['94-52=42', '44-42=2']
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 0.983507 | hs_3 | sum_heuristic |
[
9,
43,
16,
57
] | 60 | [
"43-16=27",
"27/9=3",
"57+3=60"
] | Current State: 60:[9, 43, 16, 57], Operations: []
Exploring Operation: 43-16=27, Resulting Numbers: [9, 57, 27]
Generated Node #2: [9, 57, 27] from Operation: 43-16=27
Current State: 60:[9, 57, 27], Operations: ['43-16=27']
Exploring Operation: 27/9=3, Resulting Numbers: [57, 3]
Generated Node #3: [57, 3] from Operation: 27/9=3
Current State: 60:[57, 3], Operations: ['43-16=27', '27/9=3']
Exploring Operation: 57+3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[9, 43, 16, 57], Operations: []
Exploring Operation: 57-43=14, Resulting Numbers: [9, 16, 14]
Generated Node #0,0: 60:[9, 16, 14] Operation: 57-43=14
Exploring Operation: 43+16=59, Resulting Numbers: [9, 57, 59]
Generated Node #0,1: 60:[9, 57, 59] Operation: 43+16=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[9, 16, 14], Operations: ['57-43=14']
Exploring Operation: 16+14=30, Resulting Numbers: [9, 30]
Generated Node #0,0,0: 60:[9, 30] Operation: 16+14=30
Exploring Operation: 14-9=5, Resulting Numbers: [16, 5]
Generated Node #0,0,1: 60:[16, 5] Operation: 14-9=5
Moving to Node #0,0,0
Current State: 60:[9, 30], Operations: ['57-43=14', '16+14=30']
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[16, 5], Operations: ['57-43=14', '14-9=5']
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,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, 57, 59], Operations: ['43+16=59']
Exploring Operation: 59-57=2, Resulting Numbers: [9, 2]
Generated Node #0,1,0: 60:[9, 2] Operation: 59-57=2
Exploring Operation: 9+57=66, Resulting Numbers: [59, 66]
Generated Node #0,1,1: 60:[59, 66] Operation: 9+57=66
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[9, 2], Operations: ['43+16=59', '59-57=2']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,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:[59, 66], Operations: ['43+16=59', '9+57=66']
Exploring Operation: 66-59=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 59+66=125, Resulting Numbers: [125]
125,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 | mult_heuristic |
[
65,
99,
51,
34
] | 17 | [
"99-65=34",
"51-34=17",
"34-17=17"
] | Current State: 17:[65, 99, 51, 34], Operations: []
Exploring Operation: 99-65=34, Resulting Numbers: [51, 34, 34]
Generated Node #2: [51, 34, 34] from Operation: 99-65=34
Current State: 17:[51, 34, 34], Operations: ['99-65=34']
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[65, 99, 51, 34], Operations: []
Exploring Operation: 99-51=48, Resulting Numbers: [65, 34, 48]
Generated Node #0,0: 17:[65, 34, 48] Operation: 99-51=48
Exploring Operation: 99-65=34, Resulting Numbers: [51, 34, 34]
Generated Node #0,1: 17:[51, 34, 34] Operation: 99-65=34
Moving to Node #0,1
Current State: 17:[51, 34, 34], Operations: ['99-65=34']
Exploring Operation: 51-34=17, Resulting Numbers: [34, 17]
Generated Node #0,1,0: 17:[34, 17] Operation: 51-34=17
Exploring Operation: 51-34=17, Resulting Numbers: [34, 17]
Generated Node #0,1,1: 17:[34, 17] Operation: 51-34=17
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 17:[34, 17], Operations: ['99-65=34', '51-34=17']
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[65, 99, 51, 34], Operations: []
Exploring Operation: 99-65=34, Resulting Numbers: [51, 34, 34]
Generated Node #0,1: 17:[51, 34, 34] Operation: 99-65=34
Moving to Node #0,1
Current State: 17:[51, 34, 34], Operations: ['99-65=34']
Exploring Operation: 51-34=17, Resulting Numbers: [34, 17]
Generated Node #0,1,0: 17:[34, 17] Operation: 51-34=17
Moving to Node #0,1,0
Current State: 17:[34, 17], Operations: ['99-65=34', '51-34=17']
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
90,
6,
84,
7
] | 48 | [
"90*6=540",
"84*7=588",
"588-540=48"
] | Current State: 48:[90, 6, 84, 7], Operations: []
Exploring Operation: 90*6=540, Resulting Numbers: [84, 7, 540]
Generated Node #2: [84, 7, 540] from Operation: 90*6=540
Current State: 48:[84, 7, 540], Operations: ['90*6=540']
Exploring Operation: 84*7=588, Resulting Numbers: [540, 588]
Generated Node #3: [540, 588] from Operation: 84*7=588
Current State: 48:[540, 588], Operations: ['90*6=540', '84*7=588']
Exploring Operation: 588-540=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[90, 6, 84, 7], Operations: []
Exploring Operation: 90-84=6, Resulting Numbers: [6, 7, 6]
Generated Node #0,0: 48:[6, 7, 6] Operation: 90-84=6
Exploring Operation: 90/6=15, Resulting Numbers: [84, 7, 15]
Generated Node #0,1: 48:[84, 7, 15] Operation: 90/6=15
Exploring Operation: 84/7=12, Resulting Numbers: [90, 6, 12]
Generated Node #0,2: 48:[90, 6, 12] Operation: 84/7=12
Exploring Operation: 84/6=14, Resulting Numbers: [90, 7, 14]
Generated Node #0,3: 48:[90, 7, 14] Operation: 84/6=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[6, 7, 6], Operations: ['90-84=6']
Exploring Operation: 7-6=1, Resulting Numbers: [6, 1]
Generated Node #0,0,0: 48:[6, 1] Operation: 7-6=1
Exploring Operation: 6+6=12, Resulting Numbers: [7, 12]
Generated Node #0,0,1: 48:[7, 12] Operation: 6+6=12
Exploring Operation: 6+7=13, Resulting Numbers: [6, 13]
Generated Node #0,0,2: 48:[6, 13] Operation: 6+7=13
Exploring Operation: 7+6=13, Resulting Numbers: [6, 13]
Generated Node #0,0,3: 48:[6, 13] Operation: 7+6=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[6, 1], Operations: ['90-84=6', '7-6=1']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,48 unequal: No Solution
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 48:[7, 12], Operations: ['90-84=6', '6+6=12']
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,48 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,48 unequal: No Solution
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 48:[6, 13], Operations: ['90-84=6', '6+7=13']
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,48 unequal: No Solution
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,48 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 48:[6, 13], Operations: ['90-84=6', '7+6=13']
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,48 unequal: No Solution
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,48 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[84, 7, 15], Operations: ['90/6=15']
Exploring Operation: 84-15=69, Resulting Numbers: [7, 69]
Generated Node #0,1,0: 48:[7, 69] Operation: 84-15=69
Exploring Operation: 84/7=12, Resulting Numbers: [15, 12]
Generated Node #0,1,1: 48:[15, 12] Operation: 84/7=12
Exploring Operation: 15-7=8, Resulting Numbers: [84, 8]
Generated Node #0,1,2: 48:[84, 8] Operation: 15-7=8
Exploring Operation: 84-7=77, Resulting Numbers: [15, 77]
Generated Node #0,1,3: 48:[15, 77] Operation: 84-7=77
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 48:[15, 12], Operations: ['90/6=15', '84/7=12']
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 48:[7, 69], Operations: ['90/6=15', '84-15=69']
Exploring Operation: 69-7=62, Resulting Numbers: [62]
62,48 unequal: No Solution
Exploring Operation: 7*69=483, Resulting Numbers: [483]
483,48 unequal: No Solution
Exploring Operation: 7+69=76, Resulting Numbers: [76]
76,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 48:[15, 77], Operations: ['90/6=15', '84-7=77']
Exploring Operation: 15+77=92, Resulting Numbers: [92]
92,48 unequal: No Solution
Exploring Operation: 15*77=1155, Resulting Numbers: [1155]
1155,48 unequal: No Solution
Exploring Operation: 77-15=62, Resulting Numbers: [62]
62,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 48:[84, 8], Operations: ['90/6=15', '15-7=8']
Exploring Operation: 84+8=92, Resulting Numbers: [92]
92,48 unequal: No Solution
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,48 unequal: No Solution
Exploring Operation: 84*8=672, Resulting Numbers: [672]
672,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[90, 6, 12], Operations: ['84/7=12']
Exploring Operation: 12-6=6, Resulting Numbers: [90, 6]
Generated Node #0,2,0: 48:[90, 6] Operation: 12-6=6
Exploring Operation: 90-6=84, Resulting Numbers: [12, 84]
Generated Node #0,2,1: 48:[12, 84] Operation: 90-6=84
Exploring Operation: 90-12=78, Resulting Numbers: [6, 78]
Generated Node #0,2,2: 48:[6, 78] Operation: 90-12=78
Exploring Operation: 90/6=15, Resulting Numbers: [12, 15]
Generated Node #0,2,3: 48:[12, 15] Operation: 90/6=15
Moving to Node #0,2,3
Current State: 48:[12, 15], Operations: ['84/7=12', '90/6=15']
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 12*15=180, Resulting Numbers: [180]
180,48 unequal: No Solution
Moving to Node #0,2,2
Current State: 48:[6, 78], Operations: ['84/7=12', '90-12=78']
Exploring Operation: 6*78=468, Resulting Numbers: [468]
468,48 unequal: No Solution
Exploring Operation: 6+78=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,48 unequal: No Solution
Moving to Node #0,2,1
Current State: 48:[12, 84], Operations: ['84/7=12', '90-6=84']
Exploring Operation: 84/12=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Exploring Operation: 12+84=96, Resulting Numbers: [96]
96,48 unequal: No Solution
Exploring Operation: 84-12=72, Resulting Numbers: [72]
72,48 unequal: No Solution
Exploring Operation: 12*84=1008, Resulting Numbers: [1008]
1008,48 unequal: No Solution
Moving to Node #0,2,0
Current State: 48:[90, 6], Operations: ['84/7=12', '12-6=6']
Exploring Operation: 90*6=540, Resulting Numbers: [540]
540,48 unequal: No Solution
Exploring Operation: 90-6=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 90+6=96, Resulting Numbers: [96]
96,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 48:[90, 7, 14], Operations: ['84/6=14']
Exploring Operation: 14-7=7, Resulting Numbers: [90, 7]
Generated Node #0,3,0: 48:[90, 7] Operation: 14-7=7
Exploring Operation: 14/7=2, Resulting Numbers: [90, 2]
Generated Node #0,3,1: 48:[90, 2] Operation: 14/7=2
Exploring Operation: 90-14=76, Resulting Numbers: [7, 76]
Generated Node #0,3,2: 48:[7, 76] Operation: 90-14=76
Exploring Operation: 90-7=83, Resulting Numbers: [14, 83]
Generated Node #0,3,3: 48:[14, 83] Operation: 90-7=83
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 48:[7, 76], Operations: ['84/6=14', '90-14=76']
Exploring Operation: 76-7=69, Resulting Numbers: [69]
69,48 unequal: No Solution
Exploring Operation: 7*76=532, Resulting Numbers: [532]
532,48 unequal: No Solution
Exploring Operation: 7+76=83, Resulting Numbers: [83]
83,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 48:[14, 83], Operations: ['84/6=14', '90-7=83']
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,48 unequal: No Solution
Exploring Operation: 14+83=97, Resulting Numbers: [97]
97,48 unequal: No Solution
Exploring Operation: 14*83=1162, Resulting Numbers: [1162]
1162,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 48:[90, 2], Operations: ['84/6=14', '14/7=2']
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,48 unequal: No Solution
Exploring Operation: 90*2=180, Resulting Numbers: [180]
180,48 unequal: No Solution
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,48 unequal: No Solution
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 48:[90, 7], Operations: ['84/6=14', '14-7=7']
Exploring Operation: 90+7=97, Resulting Numbers: [97]
97,48 unequal: No Solution
Exploring Operation: 90-7=83, Resulting Numbers: [83]
83,48 unequal: No Solution
Exploring Operation: 90*7=630, Resulting Numbers: [630]
630,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
86,
88,
12,
65
] | 79 | [
"88-86=2",
"12+65=77",
"2+77=79"
] | Current State: 79:[86, 88, 12, 65], Operations: []
Exploring Operation: 88-86=2, Resulting Numbers: [12, 65, 2]
Generated Node #2: [12, 65, 2] from Operation: 88-86=2
Current State: 79:[12, 65, 2], Operations: ['88-86=2']
Exploring Operation: 12+65=77, Resulting Numbers: [2, 77]
Generated Node #3: [2, 77] from Operation: 12+65=77
Current State: 79:[2, 77], Operations: ['88-86=2', '12+65=77']
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[86, 88, 12, 65], Operations: []
Exploring Operation: 12+65=77, Resulting Numbers: [86, 88, 77]
Generated Node #0,0: 79:[86, 88, 77] Operation: 12+65=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[86, 88, 77], Operations: ['12+65=77']
Exploring Operation: 88-77=11, Resulting Numbers: [86, 11]
Generated Node #0,0,0: 79:[86, 11] Operation: 88-77=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[86, 11], Operations: ['12+65=77', '88-77=11']
Exploring Operation: 86-11=75, Resulting Numbers: [75]
75,79 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 |
[
69,
60,
83,
27
] | 47 | [
"69-60=9",
"83-27=56",
"56-9=47"
] | Current State: 47:[69, 60, 83, 27], Operations: []
Exploring Operation: 69-60=9, Resulting Numbers: [83, 27, 9]
Generated Node #2: [83, 27, 9] from Operation: 69-60=9
Current State: 47:[83, 27, 9], Operations: ['69-60=9']
Exploring Operation: 83-27=56, Resulting Numbers: [9, 56]
Generated Node #3: [9, 56] from Operation: 83-27=56
Current State: 47:[9, 56], Operations: ['69-60=9', '83-27=56']
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[69, 60, 83, 27], Operations: []
Exploring Operation: 83-27=56, Resulting Numbers: [69, 60, 56]
Generated Node #0,0: 47:[69, 60, 56] Operation: 83-27=56
Exploring Operation: 69-27=42, Resulting Numbers: [60, 83, 42]
Generated Node #0,1: 47:[60, 83, 42] Operation: 69-27=42
Moving to Node #0,0
Current State: 47:[69, 60, 56], Operations: ['83-27=56']
Exploring Operation: 69-56=13, Resulting Numbers: [60, 13]
Generated Node #0,0,0: 47:[60, 13] Operation: 69-56=13
Exploring Operation: 69-60=9, Resulting Numbers: [56, 9]
Generated Node #0,0,1: 47:[56, 9] Operation: 69-60=9
Moving to Node #0,1
Current State: 47:[60, 83, 42], Operations: ['69-27=42']
Exploring Operation: 83-42=41, Resulting Numbers: [60, 41]
Generated Node #0,1,0: 47:[60, 41] Operation: 83-42=41
Exploring Operation: 83-60=23, Resulting Numbers: [42, 23]
Generated Node #0,1,1: 47:[42, 23] Operation: 83-60=23
Moving to Node #0,1,0
Current State: 47:[60, 41], Operations: ['69-27=42', '83-42=41']
Exploring Operation: 60+41=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[42, 23], Operations: ['69-27=42', '83-60=23']
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Exploring Operation: 42+23=65, Resulting Numbers: [65]
65,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[56, 9], Operations: ['83-27=56', '69-60=9']
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[69, 60, 83, 27], Operations: []
Exploring Operation: 83-27=56, Resulting Numbers: [69, 60, 56]
Generated Node #0,0: 47:[69, 60, 56] Operation: 83-27=56
Moving to Node #0,0
Current State: 47:[69, 60, 56], Operations: ['83-27=56']
Exploring Operation: 69-60=9, Resulting Numbers: [56, 9]
Generated Node #0,0,1: 47:[56, 9] Operation: 69-60=9
Moving to Node #0,0,1
Current State: 47:[56, 9], Operations: ['83-27=56', '69-60=9']
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
40,
74,
37,
61
] | 16 | [
"40+74=114",
"37+61=98",
"114-98=16"
] | Current State: 16:[40, 74, 37, 61], Operations: []
Exploring Operation: 40+74=114, Resulting Numbers: [37, 61, 114]
Generated Node #2: [37, 61, 114] from Operation: 40+74=114
Current State: 16:[37, 61, 114], Operations: ['40+74=114']
Exploring Operation: 37+61=98, Resulting Numbers: [114, 98]
Generated Node #3: [114, 98] from Operation: 37+61=98
Current State: 16:[114, 98], Operations: ['40+74=114', '37+61=98']
Exploring Operation: 114-98=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[40, 74, 37, 61], Operations: []
Exploring Operation: 74/37=2, Resulting Numbers: [40, 61, 2]
Generated Node #0,0: 16:[40, 61, 2] Operation: 74/37=2
Exploring Operation: 74-61=13, Resulting Numbers: [40, 37, 13]
Generated Node #0,1: 16:[40, 37, 13] Operation: 74-61=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[40, 37, 13], Operations: ['74-61=13']
Exploring Operation: 40-13=27, Resulting Numbers: [37, 27]
Generated Node #0,1,0: 16:[37, 27] Operation: 40-13=27
Exploring Operation: 40-37=3, Resulting Numbers: [13, 3]
Generated Node #0,1,1: 16:[13, 3] Operation: 40-37=3
Moving to Node #0,1,1
Current State: 16:[13, 3], Operations: ['74-61=13', '40-37=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[40, 74, 37, 61], Operations: []
Exploring Operation: 74-61=13, Resulting Numbers: [40, 37, 13]
Generated Node #0,1: 16:[40, 37, 13] Operation: 74-61=13
Moving to Node #0,1
Current State: 16:[40, 37, 13], Operations: ['74-61=13']
Exploring Operation: 40-37=3, Resulting Numbers: [13, 3]
Generated Node #0,1,1: 16:[13, 3] Operation: 40-37=3
Moving to Node #0,1,1
Current State: 16:[13, 3], Operations: ['74-61=13', '40-37=3']
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
82,
6,
21,
3
] | 63 | [
"82-21=61",
"6/3=2",
"61+2=63"
] | Current State: 63:[82, 6, 21, 3], Operations: []
Exploring Operation: 82-21=61, Resulting Numbers: [6, 3, 61]
Generated Node #2: [6, 3, 61] from Operation: 82-21=61
Current State: 63:[6, 3, 61], Operations: ['82-21=61']
Exploring Operation: 6/3=2, Resulting Numbers: [61, 2]
Generated Node #3: [61, 2] from Operation: 6/3=2
Current State: 63:[61, 2], Operations: ['82-21=61', '6/3=2']
Exploring Operation: 61+2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[82, 6, 21, 3], Operations: []
Exploring Operation: 82-21=61, Resulting Numbers: [6, 3, 61]
Generated Node #0,0: 63:[6, 3, 61] Operation: 82-21=61
Moving to Node #0,0
Current State: 63:[6, 3, 61], Operations: ['82-21=61']
Exploring Operation: 6+3=9, Resulting Numbers: [61, 9]
Generated Node #0,0,0: 63:[61, 9] Operation: 6+3=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[61, 9], Operations: ['82-21=61', '6+3=9']
Exploring Operation: 61+9=70, Resulting Numbers: [70]
70,63 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 |
[
81,
86,
64,
62
] | 41 | [
"81+86=167",
"64+62=126",
"167-126=41"
] | Current State: 41:[81, 86, 64, 62], Operations: []
Exploring Operation: 81+86=167, Resulting Numbers: [64, 62, 167]
Generated Node #2: [64, 62, 167] from Operation: 81+86=167
Current State: 41:[64, 62, 167], Operations: ['81+86=167']
Exploring Operation: 64+62=126, Resulting Numbers: [167, 126]
Generated Node #3: [167, 126] from Operation: 64+62=126
Current State: 41:[167, 126], Operations: ['81+86=167', '64+62=126']
Exploring Operation: 167-126=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[81, 86, 64, 62], Operations: []
Exploring Operation: 86-64=22, Resulting Numbers: [81, 62, 22]
Generated Node #0,0: 41:[81, 62, 22] Operation: 86-64=22
Exploring Operation: 86-81=5, Resulting Numbers: [64, 62, 5]
Generated Node #0,1: 41:[64, 62, 5] Operation: 86-81=5
Exploring Operation: 81-64=17, Resulting Numbers: [86, 62, 17]
Generated Node #0,2: 41:[86, 62, 17] Operation: 81-64=17
Exploring Operation: 81-62=19, Resulting Numbers: [86, 64, 19]
Generated Node #0,3: 41:[86, 64, 19] Operation: 81-62=19
Exploring Operation: 86-62=24, Resulting Numbers: [81, 64, 24]
Generated Node #0,4: 41:[81, 64, 24] Operation: 86-62=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[81, 62, 22], Operations: ['86-64=22']
Exploring Operation: 62-22=40, Resulting Numbers: [81, 40]
Generated Node #0,0,0: 41:[81, 40] Operation: 62-22=40
Exploring Operation: 81+22=103, Resulting Numbers: [62, 103]
Generated Node #0,0,1: 41:[62, 103] Operation: 81+22=103
Exploring Operation: 81-62=19, Resulting Numbers: [22, 19]
Generated Node #0,0,2: 41:[22, 19] Operation: 81-62=19
Exploring Operation: 62+22=84, Resulting Numbers: [81, 84]
Generated Node #0,0,3: 41:[81, 84] Operation: 62+22=84
Exploring Operation: 81-22=59, Resulting Numbers: [62, 59]
Generated Node #0,0,4: 41:[62, 59] Operation: 81-22=59
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 41:[62, 59], Operations: ['86-64=22', '81-22=59']
Exploring Operation: 62-59=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 62+59=121, Resulting Numbers: [121]
121,41 unequal: No Solution
Exploring Operation: 62*59=3658, Resulting Numbers: [3658]
3658,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,0,0
Current State: 41:[81, 40], Operations: ['86-64=22', '62-22=40']
Exploring Operation: 81*40=3240, Resulting Numbers: [3240]
3240,41 unequal: No Solution
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[81, 86, 64, 62], Operations: []
Exploring Operation: 86-64=22, Resulting Numbers: [81, 62, 22]
Generated Node #0,0: 41:[81, 62, 22] Operation: 86-64=22
Moving to Node #0,0
Current State: 41:[81, 62, 22], Operations: ['86-64=22']
Exploring Operation: 62-22=40, Resulting Numbers: [81, 40]
Generated Node #0,0,0: 41:[81, 40] Operation: 62-22=40
Moving to Node #0,0,0
Current State: 41:[81, 40], Operations: ['86-64=22', '62-22=40']
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
55,
2,
95,
4
] | 19 | [
"55*2=110",
"95-4=91",
"110-91=19"
] | Current State: 19:[55, 2, 95, 4], Operations: []
Exploring Operation: 55*2=110, Resulting Numbers: [95, 4, 110]
Generated Node #2: [95, 4, 110] from Operation: 55*2=110
Current State: 19:[95, 4, 110], Operations: ['55*2=110']
Exploring Operation: 95-4=91, Resulting Numbers: [110, 91]
Generated Node #3: [110, 91] from Operation: 95-4=91
Current State: 19:[110, 91], Operations: ['55*2=110', '95-4=91']
Exploring Operation: 110-91=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[55, 2, 95, 4], Operations: []
Exploring Operation: 95-2=93, Resulting Numbers: [55, 4, 93]
Generated Node #0,0: 19:[55, 4, 93] Operation: 95-2=93
Exploring Operation: 2*4=8, Resulting Numbers: [55, 95, 8]
Generated Node #0,1: 19:[55, 95, 8] Operation: 2*4=8
Exploring Operation: 55-4=51, Resulting Numbers: [2, 95, 51]
Generated Node #0,2: 19:[2, 95, 51] Operation: 55-4=51
Exploring Operation: 55-2=53, Resulting Numbers: [95, 4, 53]
Generated Node #0,3: 19:[95, 4, 53] Operation: 55-2=53
Exploring Operation: 95-55=40, Resulting Numbers: [2, 4, 40]
Generated Node #0,4: 19:[2, 4, 40] Operation: 95-55=40
Start Sub Search at level 1: Moving to Node #0,4
Current State: 19:[2, 4, 40], Operations: ['95-55=40']
Exploring Operation: 40/4=10, Resulting Numbers: [2, 10]
Generated Node #0,4,0: 19:[2, 10] Operation: 40/4=10
Exploring Operation: 40-2=38, Resulting Numbers: [4, 38]
Generated Node #0,4,1: 19:[4, 38] Operation: 40-2=38
Exploring Operation: 2+4=6, Resulting Numbers: [40, 6]
Generated Node #0,4,2: 19:[40, 6] Operation: 2+4=6
Exploring Operation: 40/2=20, Resulting Numbers: [4, 20]
Generated Node #0,4,3: 19:[4, 20] Operation: 40/2=20
Exploring Operation: 2*4=8, Resulting Numbers: [40, 8]
Generated Node #0,4,4: 19:[40, 8] Operation: 2*4=8
Moving to Node #0,4,3
Current State: 19:[4, 20], Operations: ['95-55=40', '40/2=20']
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Moving to Node #0,4,0
Current State: 19:[2, 10], Operations: ['95-55=40', '40/4=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Moving to Node #0,4,4
Current State: 19:[40, 8], Operations: ['95-55=40', '2*4=8']
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 40+8=48, Resulting Numbers: [48]
48,19 unequal: No Solution
Exploring Operation: 40*8=320, Resulting Numbers: [320]
320,19 unequal: No Solution
Moving to Node #0,4,1
Current State: 19:[4, 38], Operations: ['95-55=40', '40-2=38']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,19 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Moving to Node #0,4,2
Current State: 19:[40, 6], Operations: ['95-55=40', '2+4=6']
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[55, 95, 8], Operations: ['2*4=8']
Exploring Operation: 55+8=63, Resulting Numbers: [95, 63]
Generated Node #0,1,0: 19:[95, 63] Operation: 55+8=63
Exploring Operation: 95+8=103, Resulting Numbers: [55, 103]
Generated Node #0,1,1: 19:[55, 103] Operation: 95+8=103
Exploring Operation: 95-8=87, Resulting Numbers: [55, 87]
Generated Node #0,1,2: 19:[55, 87] Operation: 95-8=87
Exploring Operation: 55-8=47, Resulting Numbers: [95, 47]
Generated Node #0,1,3: 19:[95, 47] Operation: 55-8=47
Exploring Operation: 95-55=40, Resulting Numbers: [8, 40]
Generated Node #0,1,4: 19:[8, 40] Operation: 95-55=40
Moving to Node #0,1,4
Current State: 19:[8, 40], Operations: ['2*4=8', '95-55=40']
Exploring Operation: 8*40=320, Resulting Numbers: [320]
320,19 unequal: No Solution
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Exploring Operation: 8+40=48, Resulting Numbers: [48]
48,19 unequal: No Solution
Moving to Node #0,1,3
Current State: 19:[95, 47], Operations: ['2*4=8', '55-8=47']
Exploring Operation: 95*47=4465, Resulting Numbers: [4465]
4465,19 unequal: No Solution
Exploring Operation: 95-47=48, Resulting Numbers: [48]
48,19 unequal: No Solution
Exploring Operation: 95+47=142, Resulting Numbers: [142]
142,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[55, 87], Operations: ['2*4=8', '95-8=87']
Exploring Operation: 55*87=4785, Resulting Numbers: [4785]
4785,19 unequal: No Solution
Exploring Operation: 87-55=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Exploring Operation: 55+87=142, Resulting Numbers: [142]
142,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[95, 63], Operations: ['2*4=8', '55+8=63']
Exploring Operation: 95+63=158, Resulting Numbers: [158]
158,19 unequal: No Solution
Exploring Operation: 95*63=5985, Resulting Numbers: [5985]
5985,19 unequal: No Solution
Exploring Operation: 95-63=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[55, 103], Operations: ['2*4=8', '95+8=103']
Exploring Operation: 55+103=158, Resulting Numbers: [158]
158,19 unequal: No Solution
Exploring Operation: 55*103=5665, Resulting Numbers: [5665]
5665,19 unequal: No Solution
Exploring Operation: 103-55=48, Resulting Numbers: [48]
48,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[55, 4, 93], Operations: ['95-2=93']
Exploring Operation: 4+93=97, Resulting Numbers: [55, 97]
Generated Node #0,0,0: 19:[55, 97] Operation: 4+93=97
Exploring Operation: 55+4=59, Resulting Numbers: [93, 59]
Generated Node #0,0,1: 19:[93, 59] Operation: 55+4=59
Exploring Operation: 93-4=89, Resulting Numbers: [55, 89]
Generated Node #0,0,2: 19:[55, 89] Operation: 93-4=89
Exploring Operation: 93-55=38, Resulting Numbers: [4, 38]
Generated Node #0,0,3: 19:[4, 38] Operation: 93-55=38
Exploring Operation: 55-4=51, Resulting Numbers: [93, 51]
Generated Node #0,0,4: 19:[93, 51] Operation: 55-4=51
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 19:[4, 38], Operations: ['95-2=93', '93-55=38']
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,19 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,19 unequal: No Solution
No 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: 19:[55, 89], Operations: ['95-2=93', '93-4=89']
Exploring Operation: 89-55=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 55+89=144, Resulting Numbers: [144]
144,19 unequal: No Solution
Exploring Operation: 55*89=4895, Resulting Numbers: [4895]
4895,19 unequal: No Solution
No 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: 19:[93, 51], Operations: ['95-2=93', '55-4=51']
Exploring Operation: 93*51=4743, Resulting Numbers: [4743]
4743,19 unequal: No Solution
Exploring Operation: 93-51=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Exploring Operation: 93+51=144, Resulting Numbers: [144]
144,19 unequal: No Solution
No 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: 19:[55, 97], Operations: ['95-2=93', '4+93=97']
Exploring Operation: 55*97=5335, Resulting Numbers: [5335]
5335,19 unequal: No Solution
Exploring Operation: 55+97=152, Resulting Numbers: [152]
152,19 unequal: No Solution
Exploring Operation: 97-55=42, Resulting Numbers: [42]
42,19 unequal: No Solution
No 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: 19:[93, 59], Operations: ['95-2=93', '55+4=59']
Exploring Operation: 93+59=152, Resulting Numbers: [152]
152,19 unequal: No Solution
Exploring Operation: 93*59=5487, Resulting Numbers: [5487]
5487,19 unequal: No Solution
Exploring Operation: 93-59=34, Resulting Numbers: [34]
34,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[2, 95, 51], Operations: ['55-4=51']
Exploring Operation: 2+95=97, Resulting Numbers: [51, 97]
Generated Node #0,2,0: 19:[51, 97] Operation: 2+95=97
Exploring Operation: 51-2=49, Resulting Numbers: [95, 49]
Generated Node #0,2,1: 19:[95, 49] Operation: 51-2=49
Exploring Operation: 2+51=53, Resulting Numbers: [95, 53]
Generated Node #0,2,2: 19:[95, 53] Operation: 2+51=53
Exploring Operation: 95-51=44, Resulting Numbers: [2, 44]
Generated Node #0,2,3: 19:[2, 44] Operation: 95-51=44
Exploring Operation: 95-2=93, Resulting Numbers: [51, 93]
Generated Node #0,2,4: 19:[51, 93] Operation: 95-2=93
Moving to Node #0,2,3
Current State: 19:[2, 44], Operations: ['55-4=51', '95-51=44']
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,19 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,19 unequal: No Solution
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Moving to Node #0,2,4
Current State: 19:[51, 93], Operations: ['55-4=51', '95-2=93']
Exploring Operation: 51*93=4743, Resulting Numbers: [4743]
4743,19 unequal: No Solution
Exploring Operation: 93-51=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Exploring Operation: 51+93=144, Resulting Numbers: [144]
144,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[95, 49], Operations: ['55-4=51', '51-2=49']
Exploring Operation: 95+49=144, Resulting Numbers: [144]
144,19 unequal: No Solution
Exploring Operation: 95-49=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 95*49=4655, Resulting Numbers: [4655]
4655,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[51, 97], Operations: ['55-4=51', '2+95=97']
Exploring Operation: 97-51=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 51*97=4947, Resulting Numbers: [4947]
4947,19 unequal: No Solution
Exploring Operation: 51+97=148, Resulting Numbers: [148]
148,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[95, 53], Operations: ['55-4=51', '2+51=53']
Exploring Operation: 95-53=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Exploring Operation: 95+53=148, Resulting Numbers: [148]
148,19 unequal: No Solution
Exploring Operation: 95*53=5035, Resulting Numbers: [5035]
5035,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 19:[95, 4, 53], Operations: ['55-2=53']
Exploring Operation: 4+53=57, Resulting Numbers: [95, 57]
Generated Node #0,3,0: 19:[95, 57] Operation: 4+53=57
Exploring Operation: 95-53=42, Resulting Numbers: [4, 42]
Generated Node #0,3,1: 19:[4, 42] Operation: 95-53=42
Exploring Operation: 53-4=49, Resulting Numbers: [95, 49]
Generated Node #0,3,2: 19:[95, 49] Operation: 53-4=49
Exploring Operation: 95+4=99, Resulting Numbers: [53, 99]
Generated Node #0,3,3: 19:[53, 99] Operation: 95+4=99
Exploring Operation: 95-4=91, Resulting Numbers: [53, 91]
Generated Node #0,3,4: 19:[53, 91] Operation: 95-4=91
Moving to Node #0,3,1
Current State: 19:[4, 42], Operations: ['55-2=53', '95-53=42']
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 4+42=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 4*42=168, Resulting Numbers: [168]
168,19 unequal: No Solution
Moving to Node #0,3,4
Current State: 19:[53, 91], Operations: ['55-2=53', '95-4=91']
Exploring Operation: 53+91=144, Resulting Numbers: [144]
144,19 unequal: No Solution
Exploring Operation: 53*91=4823, Resulting Numbers: [4823]
4823,19 unequal: No Solution
Exploring Operation: 91-53=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Moving to Node #0,3,2
Current State: 19:[95, 49], Operations: ['55-2=53', '53-4=49']
Exploring Operation: 95-49=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 95+49=144, Resulting Numbers: [144]
144,19 unequal: No Solution
Exploring Operation: 95*49=4655, Resulting Numbers: [4655]
4655,19 unequal: No Solution
Moving to Node #0,3,0
Current State: 19:[95, 57], Operations: ['55-2=53', '4+53=57']
Exploring Operation: 95*57=5415, Resulting Numbers: [5415]
5415,19 unequal: No Solution
Exploring Operation: 95-57=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 95+57=152, Resulting Numbers: [152]
152,19 unequal: No Solution
Moving to Node #0,3,3
Current State: 19:[53, 99], Operations: ['55-2=53', '95+4=99']
Exploring Operation: 99-53=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 53*99=5247, Resulting Numbers: [5247]
5247,19 unequal: No Solution
Exploring Operation: 53+99=152, Resulting Numbers: [152]
152,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
57,
38,
29,
91
] | 33 | [
"57+38=95",
"91-29=62",
"95-62=33"
] | Current State: 33:[57, 38, 29, 91], Operations: []
Exploring Operation: 57+38=95, Resulting Numbers: [29, 91, 95]
Generated Node #2: [29, 91, 95] from Operation: 57+38=95
Current State: 33:[29, 91, 95], Operations: ['57+38=95']
Exploring Operation: 91-29=62, Resulting Numbers: [95, 62]
Generated Node #3: [95, 62] from Operation: 91-29=62
Current State: 33:[95, 62], Operations: ['57+38=95', '91-29=62']
Exploring Operation: 95-62=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[57, 38, 29, 91], Operations: []
Exploring Operation: 91-57=34, Resulting Numbers: [38, 29, 34]
Generated Node #0,0: 33:[38, 29, 34] Operation: 91-57=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[38, 29, 34], Operations: ['91-57=34']
Exploring Operation: 38-29=9, Resulting Numbers: [34, 9]
Generated Node #0,0,0: 33:[34, 9] Operation: 38-29=9
Moving to Node #0,0,0
Current State: 33:[34, 9], Operations: ['91-57=34', '38-29=9']
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,33 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 |
[
96,
71,
96,
32
] | 71 | [
"96-96=0",
"32*0=0",
"71+0=71"
] | Current State: 71:[96, 71, 96, 32], Operations: []
Exploring Operation: 96-96=0, Resulting Numbers: [71, 32, 0]
Generated Node #2: [71, 32, 0] from Operation: 96-96=0
Current State: 71:[71, 32, 0], Operations: ['96-96=0']
Exploring Operation: 32*0=0, Resulting Numbers: [71, 0]
Generated Node #3: [71, 0] from Operation: 32*0=0
Current State: 71:[71, 0], Operations: ['96-96=0', '32*0=0']
Exploring Operation: 71+0=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[96, 71, 96, 32], Operations: []
Exploring Operation: 96-32=64, Resulting Numbers: [71, 96, 64]
Generated Node #0,0: 71:[71, 96, 64] Operation: 96-32=64
Moving to Node #0,0
Current State: 71:[71, 96, 64], Operations: ['96-32=64']
Exploring Operation: 96-64=32, Resulting Numbers: [71, 32]
Generated Node #0,0,0: 71:[71, 32] Operation: 96-64=32
Moving to Node #0,0,0
Current State: 71:[71, 32], Operations: ['96-32=64', '96-64=32']
Exploring Operation: 71+32=103, Resulting Numbers: [103]
103,71 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
1,
10,
97,
59
] | 47 | [
"10-1=9",
"97-59=38",
"9+38=47"
] | Current State: 47:[1, 10, 97, 59], Operations: []
Exploring Operation: 10-1=9, Resulting Numbers: [97, 59, 9]
Generated Node #2: [97, 59, 9] from Operation: 10-1=9
Current State: 47:[97, 59, 9], Operations: ['10-1=9']
Exploring Operation: 97-59=38, Resulting Numbers: [9, 38]
Generated Node #3: [9, 38] from Operation: 97-59=38
Current State: 47:[9, 38], Operations: ['10-1=9', '97-59=38']
Exploring Operation: 9+38=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[1, 10, 97, 59], Operations: []
Exploring Operation: 97-1=96, Resulting Numbers: [10, 59, 96]
Generated Node #0,0: 47:[10, 59, 96] Operation: 97-1=96
Exploring Operation: 1+10=11, Resulting Numbers: [97, 59, 11]
Generated Node #0,1: 47:[97, 59, 11] Operation: 1+10=11
Exploring Operation: 59-1=58, Resulting Numbers: [10, 97, 58]
Generated Node #0,2: 47:[10, 97, 58] Operation: 59-1=58
Exploring Operation: 97-59=38, Resulting Numbers: [1, 10, 38]
Generated Node #0,3: 47:[1, 10, 38] Operation: 97-59=38
Start Sub Search at level 1: Moving to Node #0,3
Current State: 47:[1, 10, 38], Operations: ['97-59=38']
Exploring Operation: 10/1=10, Resulting Numbers: [38, 10]
Generated Node #0,3,0: 47:[38, 10] Operation: 10/1=10
Exploring Operation: 1+38=39, Resulting Numbers: [10, 39]
Generated Node #0,3,1: 47:[10, 39] Operation: 1+38=39
Exploring Operation: 1+10=11, Resulting Numbers: [38, 11]
Generated Node #0,3,2: 47:[38, 11] Operation: 1+10=11
Exploring Operation: 1*10=10, Resulting Numbers: [38, 10]
Generated Node #0,3,3: 47:[38, 10] Operation: 1*10=10
Moving to Node #0,3,1
Current State: 47:[10, 39], Operations: ['97-59=38', '1+38=39']
Exploring Operation: 10+39=49, Resulting Numbers: [49]
49,47 unequal: No Solution
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 10*39=390, Resulting Numbers: [390]
390,47 unequal: No Solution
Moving to Node #0,3,2
Current State: 47:[38, 11], Operations: ['97-59=38', '1+10=11']
Exploring Operation: 38*11=418, Resulting Numbers: [418]
418,47 unequal: No Solution
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,47 unequal: No Solution
Exploring Operation: 38+11=49, Resulting Numbers: [49]
49,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[38, 10], Operations: ['97-59=38', '1*10=10']
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,47 unequal: No Solution
Exploring Operation: 38*10=380, Resulting Numbers: [380]
380,47 unequal: No Solution
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Moving to Node #0,3,0
Current State: 47:[38, 10], Operations: ['97-59=38', '10/1=10']
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 38*10=380, Resulting Numbers: [380]
380,47 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[10, 59, 96], Operations: ['97-1=96']
Exploring Operation: 10+59=69, Resulting Numbers: [96, 69]
Generated Node #0,0,0: 47:[96, 69] Operation: 10+59=69
Exploring Operation: 96-10=86, Resulting Numbers: [59, 86]
Generated Node #0,0,1: 47:[59, 86] Operation: 96-10=86
Exploring Operation: 59-10=49, Resulting Numbers: [96, 49]
Generated Node #0,0,2: 47:[96, 49] Operation: 59-10=49
Exploring Operation: 96-59=37, Resulting Numbers: [10, 37]
Generated Node #0,0,3: 47:[10, 37] Operation: 96-59=37
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 47:[10, 37], Operations: ['97-1=96', '96-59=37']
Exploring Operation: 10+37=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[1, 10, 97, 59], Operations: []
Exploring Operation: 97-1=96, Resulting Numbers: [10, 59, 96]
Generated Node #0,0: 47:[10, 59, 96] Operation: 97-1=96
Moving to Node #0,0
Current State: 47:[10, 59, 96], Operations: ['97-1=96']
Exploring Operation: 96-59=37, Resulting Numbers: [10, 37]
Generated Node #0,0,3: 47:[10, 37] Operation: 96-59=37
Moving to Node #0,0,3
Current State: 47:[10, 37], Operations: ['97-1=96', '96-59=37']
Exploring Operation: 10+37=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 | hs_4 | mult_heuristic |
[
20,
23,
2,
75
] | 76 | [
"23-20=3",
"75-2=73",
"3+73=76"
] | Current State: 76:[20, 23, 2, 75], Operations: []
Exploring Operation: 23-20=3, Resulting Numbers: [2, 75, 3]
Generated Node #2: [2, 75, 3] from Operation: 23-20=3
Current State: 76:[2, 75, 3], Operations: ['23-20=3']
Exploring Operation: 75-2=73, Resulting Numbers: [3, 73]
Generated Node #3: [3, 73] from Operation: 75-2=73
Current State: 76:[3, 73], Operations: ['23-20=3', '75-2=73']
Exploring Operation: 3+73=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[20, 23, 2, 75], Operations: []
Exploring Operation: 23-2=21, Resulting Numbers: [20, 75, 21]
Generated Node #0,0: 76:[20, 75, 21] Operation: 23-2=21
Exploring Operation: 20+23=43, Resulting Numbers: [2, 75, 43]
Generated Node #0,1: 76:[2, 75, 43] Operation: 20+23=43
Exploring Operation: 23-20=3, Resulting Numbers: [2, 75, 3]
Generated Node #0,2: 76:[2, 75, 3] Operation: 23-20=3
Exploring Operation: 20-2=18, Resulting Numbers: [23, 75, 18]
Generated Node #0,3: 76:[23, 75, 18] Operation: 20-2=18
Exploring Operation: 2+75=77, Resulting Numbers: [20, 23, 77]
Generated Node #0,4: 76:[20, 23, 77] Operation: 2+75=77
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[2, 75, 3], Operations: ['23-20=3']
Exploring Operation: 2*3=6, Resulting Numbers: [75, 6]
Generated Node #0,2,0: 76:[75, 6] Operation: 2*3=6
Exploring Operation: 75+3=78, Resulting Numbers: [2, 78]
Generated Node #0,2,1: 76:[2, 78] Operation: 75+3=78
Exploring Operation: 3-2=1, Resulting Numbers: [75, 1]
Generated Node #0,2,2: 76:[75, 1] Operation: 3-2=1
Exploring Operation: 2+75=77, Resulting Numbers: [3, 77]
Generated Node #0,2,3: 76:[3, 77] Operation: 2+75=77
Exploring Operation: 2+3=5, Resulting Numbers: [75, 5]
Generated Node #0,2,4: 76:[75, 5] Operation: 2+3=5
Moving to Node #0,2,1
Current State: 76:[2, 78], Operations: ['23-20=3', '75+3=78']
Exploring Operation: 2*78=156, Resulting Numbers: [156]
156,76 unequal: No Solution
Exploring Operation: 2+78=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[20, 23, 2, 75], Operations: []
Exploring Operation: 23-20=3, Resulting Numbers: [2, 75, 3]
Generated Node #0,2: 76:[2, 75, 3] Operation: 23-20=3
Moving to Node #0,2
Current State: 76:[2, 75, 3], Operations: ['23-20=3']
Exploring Operation: 75+3=78, Resulting Numbers: [2, 78]
Generated Node #0,2,1: 76:[2, 78] Operation: 75+3=78
Moving to Node #0,2,1
Current State: 76:[2, 78], Operations: ['23-20=3', '75+3=78']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
44,
71,
68,
37
] | 67 | [
"71-68=3",
"37*3=111",
"111-44=67"
] | Current State: 67:[44, 71, 68, 37], Operations: []
Exploring Operation: 71-68=3, Resulting Numbers: [44, 37, 3]
Generated Node #2: [44, 37, 3] from Operation: 71-68=3
Current State: 67:[44, 37, 3], Operations: ['71-68=3']
Exploring Operation: 37*3=111, Resulting Numbers: [44, 111]
Generated Node #3: [44, 111] from Operation: 37*3=111
Current State: 67:[44, 111], Operations: ['71-68=3', '37*3=111']
Exploring Operation: 111-44=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[44, 71, 68, 37], Operations: []
Exploring Operation: 68-37=31, Resulting Numbers: [44, 71, 31]
Generated Node #0,0: 67:[44, 71, 31] Operation: 68-37=31
Exploring Operation: 44-37=7, Resulting Numbers: [71, 68, 7]
Generated Node #0,1: 67:[71, 68, 7] Operation: 44-37=7
Exploring Operation: 71-37=34, Resulting Numbers: [44, 68, 34]
Generated Node #0,2: 67:[44, 68, 34] Operation: 71-37=34
Exploring Operation: 44+37=81, Resulting Numbers: [71, 68, 81]
Generated Node #0,3: 67:[71, 68, 81] Operation: 44+37=81
Start Sub Search at level 1: Moving to Node #0,3
Current State: 67:[71, 68, 81], Operations: ['44+37=81']
Exploring Operation: 81-71=10, Resulting Numbers: [68, 10]
Generated Node #0,3,0: 67:[68, 10] Operation: 81-71=10
Exploring Operation: 71-68=3, Resulting Numbers: [81, 3]
Generated Node #0,3,1: 67:[81, 3] Operation: 71-68=3
Exploring Operation: 81-68=13, Resulting Numbers: [71, 13]
Generated Node #0,3,2: 67:[71, 13] Operation: 81-68=13
Exploring Operation: 71+68=139, Resulting Numbers: [81, 139]
Generated Node #0,3,3: 67:[81, 139] Operation: 71+68=139
Moving to Node #0,3,0
Current State: 67:[68, 10], Operations: ['44+37=81', '81-71=10']
Exploring Operation: 68*10=680, Resulting Numbers: [680]
680,67 unequal: No Solution
Exploring Operation: 68+10=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 68-10=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Moving to Node #0,3,2
Current State: 67:[71, 13], Operations: ['44+37=81', '81-68=13']
Exploring Operation: 71*13=923, Resulting Numbers: [923]
923,67 unequal: No Solution
Exploring Operation: 71+13=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 71-13=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[81, 3], Operations: ['44+37=81', '71-68=3']
Exploring Operation: 81*3=243, Resulting Numbers: [243]
243,67 unequal: No Solution
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,67 unequal: No Solution
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 81+3=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Moving to Node #0,3,3
Current State: 67:[81, 139], Operations: ['44+37=81', '71+68=139']
Exploring Operation: 81*139=11259, Resulting Numbers: [11259]
11259,67 unequal: No Solution
Exploring Operation: 81+139=220, Resulting Numbers: [220]
220,67 unequal: No Solution
Exploring Operation: 139-81=58, Resulting Numbers: [58]
58,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[44, 68, 34], Operations: ['71-37=34']
Exploring Operation: 44-34=10, Resulting Numbers: [68, 10]
Generated Node #0,2,0: 67:[68, 10] Operation: 44-34=10
Exploring Operation: 68-34=34, Resulting Numbers: [44, 34]
Generated Node #0,2,1: 67:[44, 34] Operation: 68-34=34
Exploring Operation: 68+34=102, Resulting Numbers: [44, 102]
Generated Node #0,2,2: 67:[44, 102] Operation: 68+34=102
Exploring Operation: 44+34=78, Resulting Numbers: [68, 78]
Generated Node #0,2,3: 67:[68, 78] Operation: 44+34=78
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 67:[68, 78], Operations: ['71-37=34', '44+34=78']
Exploring Operation: 68+78=146, Resulting Numbers: [146]
146,67 unequal: No Solution
Exploring Operation: 78-68=10, Resulting Numbers: [10]
10,67 unequal: No Solution
Exploring Operation: 68*78=5304, Resulting Numbers: [5304]
5304,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 67:[44, 34], Operations: ['71-37=34', '68-34=34']
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,67 unequal: No Solution
Exploring Operation: 44*34=1496, Resulting Numbers: [1496]
1496,67 unequal: No Solution
Exploring Operation: 44+34=78, Resulting Numbers: [78]
78,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 67:[68, 10], Operations: ['71-37=34', '44-34=10']
Exploring Operation: 68-10=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 68*10=680, Resulting Numbers: [680]
680,67 unequal: No Solution
Exploring Operation: 68+10=78, Resulting Numbers: [78]
78,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 67:[44, 102], Operations: ['71-37=34', '68+34=102']
Exploring Operation: 44*102=4488, Resulting Numbers: [4488]
4488,67 unequal: No Solution
Exploring Operation: 102-44=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 44+102=146, Resulting Numbers: [146]
146,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[44, 71, 31], Operations: ['68-37=31']
Exploring Operation: 71-31=40, Resulting Numbers: [44, 40]
Generated Node #0,0,0: 67:[44, 40] Operation: 71-31=40
Exploring Operation: 44+31=75, Resulting Numbers: [71, 75]
Generated Node #0,0,1: 67:[71, 75] Operation: 44+31=75
Exploring Operation: 44-31=13, Resulting Numbers: [71, 13]
Generated Node #0,0,2: 67:[71, 13] Operation: 44-31=13
Exploring Operation: 71+31=102, Resulting Numbers: [44, 102]
Generated Node #0,0,3: 67:[44, 102] Operation: 71+31=102
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 67:[71, 75], Operations: ['68-37=31', '44+31=75']
Exploring Operation: 71*75=5325, Resulting Numbers: [5325]
5325,67 unequal: No Solution
Exploring Operation: 71+75=146, Resulting Numbers: [146]
146,67 unequal: No Solution
Exploring Operation: 75-71=4, Resulting Numbers: [4]
4,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[44, 40], Operations: ['68-37=31', '71-31=40']
Exploring Operation: 44*40=1760, Resulting Numbers: [1760]
1760,67 unequal: No Solution
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 44+40=84, Resulting Numbers: [84]
84,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 67:[71, 13], Operations: ['68-37=31', '44-31=13']
Exploring Operation: 71-13=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 71+13=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 71*13=923, Resulting Numbers: [923]
923,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 67:[44, 102], Operations: ['68-37=31', '71+31=102']
Exploring Operation: 44+102=146, Resulting Numbers: [146]
146,67 unequal: No Solution
Exploring Operation: 102-44=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 44*102=4488, Resulting Numbers: [4488]
4488,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[71, 68, 7], Operations: ['44-37=7']
Exploring Operation: 68+7=75, Resulting Numbers: [71, 75]
Generated Node #0,1,0: 67:[71, 75] Operation: 68+7=75
Exploring Operation: 71-7=64, Resulting Numbers: [68, 64]
Generated Node #0,1,1: 67:[68, 64] Operation: 71-7=64
Exploring Operation: 71+7=78, Resulting Numbers: [68, 78]
Generated Node #0,1,2: 67:[68, 78] Operation: 71+7=78
Exploring Operation: 68-7=61, Resulting Numbers: [71, 61]
Generated Node #0,1,3: 67:[71, 61] Operation: 68-7=61
Moving to Node #0,1,1
Current State: 67:[68, 64], Operations: ['44-37=7', '71-7=64']
Exploring Operation: 68*64=4352, Resulting Numbers: [4352]
4352,67 unequal: No Solution
Exploring Operation: 68-64=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 68+64=132, Resulting Numbers: [132]
132,67 unequal: No Solution
Moving to Node #0,1,3
Current State: 67:[71, 61], Operations: ['44-37=7', '68-7=61']
Exploring Operation: 71+61=132, Resulting Numbers: [132]
132,67 unequal: No Solution
Exploring Operation: 71*61=4331, Resulting Numbers: [4331]
4331,67 unequal: No Solution
Exploring Operation: 71-61=10, Resulting Numbers: [10]
10,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[68, 78], Operations: ['44-37=7', '71+7=78']
Exploring Operation: 78-68=10, Resulting Numbers: [10]
10,67 unequal: No Solution
Exploring Operation: 68*78=5304, Resulting Numbers: [5304]
5304,67 unequal: No Solution
Exploring Operation: 68+78=146, Resulting Numbers: [146]
146,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[71, 75], Operations: ['44-37=7', '68+7=75']
Exploring Operation: 75-71=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 71*75=5325, Resulting Numbers: [5325]
5325,67 unequal: No Solution
Exploring Operation: 71+75=146, Resulting Numbers: [146]
146,67 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 |
[
69,
41,
18,
47
] | 45 | [
"69+41=110",
"18+47=65",
"110-65=45"
] | Current State: 45:[69, 41, 18, 47], Operations: []
Exploring Operation: 69+41=110, Resulting Numbers: [18, 47, 110]
Generated Node #2: [18, 47, 110] from Operation: 69+41=110
Current State: 45:[18, 47, 110], Operations: ['69+41=110']
Exploring Operation: 18+47=65, Resulting Numbers: [110, 65]
Generated Node #3: [110, 65] from Operation: 18+47=65
Current State: 45:[110, 65], Operations: ['69+41=110', '18+47=65']
Exploring Operation: 110-65=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[69, 41, 18, 47], Operations: []
Exploring Operation: 69-18=51, Resulting Numbers: [41, 47, 51]
Generated Node #0,0: 45:[41, 47, 51] Operation: 69-18=51
Moving to Node #0,0
Current State: 45:[41, 47, 51], Operations: ['69-18=51']
Exploring Operation: 51-41=10, Resulting Numbers: [47, 10]
Generated Node #0,0,0: 45:[47, 10] Operation: 51-41=10
Moving to Node #0,0,0
Current State: 45:[47, 10], Operations: ['69-18=51', '51-41=10']
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,45 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
26,
44,
43,
83
] | 30 | [
"26+44=70",
"83-43=40",
"70-40=30"
] | Current State: 30:[26, 44, 43, 83], Operations: []
Exploring Operation: 26+44=70, Resulting Numbers: [43, 83, 70]
Generated Node #2: [43, 83, 70] from Operation: 26+44=70
Current State: 30:[43, 83, 70], Operations: ['26+44=70']
Exploring Operation: 83-43=40, Resulting Numbers: [70, 40]
Generated Node #3: [70, 40] from Operation: 83-43=40
Current State: 30:[70, 40], Operations: ['26+44=70', '83-43=40']
Exploring Operation: 70-40=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[26, 44, 43, 83], Operations: []
Exploring Operation: 83-26=57, Resulting Numbers: [44, 43, 57]
Generated Node #0,0: 30:[44, 43, 57] Operation: 83-26=57
Exploring Operation: 83-43=40, Resulting Numbers: [26, 44, 40]
Generated Node #0,1: 30:[26, 44, 40] Operation: 83-43=40
Exploring Operation: 83-44=39, Resulting Numbers: [26, 43, 39]
Generated Node #0,2: 30:[26, 43, 39] Operation: 83-44=39
Exploring Operation: 44-43=1, Resulting Numbers: [26, 83, 1]
Generated Node #0,3: 30:[26, 83, 1] Operation: 44-43=1
Moving to Node #0,2
Current State: 30:[26, 43, 39], Operations: ['83-44=39']
Exploring Operation: 26+43=69, Resulting Numbers: [39, 69]
Generated Node #0,2,0: 30:[39, 69] Operation: 26+43=69
Exploring Operation: 43-39=4, Resulting Numbers: [26, 4]
Generated Node #0,2,1: 30:[26, 4] Operation: 43-39=4
Exploring Operation: 43-26=17, Resulting Numbers: [39, 17]
Generated Node #0,2,2: 30:[39, 17] Operation: 43-26=17
Exploring Operation: 39-26=13, Resulting Numbers: [43, 13]
Generated Node #0,2,3: 30:[43, 13] Operation: 39-26=13
Moving to Node #0,1
Current State: 30:[26, 44, 40], Operations: ['83-43=40']
Exploring Operation: 44-40=4, Resulting Numbers: [26, 4]
Generated Node #0,1,0: 30:[26, 4] Operation: 44-40=4
Exploring Operation: 44-26=18, Resulting Numbers: [40, 18]
Generated Node #0,1,1: 30:[40, 18] Operation: 44-26=18
Exploring Operation: 40-26=14, Resulting Numbers: [44, 14]
Generated Node #0,1,2: 30:[44, 14] Operation: 40-26=14
Exploring Operation: 26+44=70, Resulting Numbers: [40, 70]
Generated Node #0,1,3: 30:[40, 70] Operation: 26+44=70
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[26, 4], Operations: ['83-43=40', '44-40=4']
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[26, 44, 43, 83], Operations: []
Exploring Operation: 83-43=40, Resulting Numbers: [26, 44, 40]
Generated Node #0,1: 30:[26, 44, 40] Operation: 83-43=40
Moving to Node #0,1
Current State: 30:[26, 44, 40], Operations: ['83-43=40']
Exploring Operation: 44-40=4, Resulting Numbers: [26, 4]
Generated Node #0,1,0: 30:[26, 4] Operation: 44-40=4
Moving to Node #0,1,0
Current State: 30:[26, 4], Operations: ['83-43=40', '44-40=4']
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
73,
67,
13,
53
] | 74 | [
"73+67=140",
"13+53=66",
"140-66=74"
] | Current State: 74:[73, 67, 13, 53], Operations: []
Exploring Operation: 73+67=140, Resulting Numbers: [13, 53, 140]
Generated Node #2: [13, 53, 140] from Operation: 73+67=140
Current State: 74:[13, 53, 140], Operations: ['73+67=140']
Exploring Operation: 13+53=66, Resulting Numbers: [140, 66]
Generated Node #3: [140, 66] from Operation: 13+53=66
Current State: 74:[140, 66], Operations: ['73+67=140', '13+53=66']
Exploring Operation: 140-66=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[73, 67, 13, 53], Operations: []
Exploring Operation: 53-13=40, Resulting Numbers: [73, 67, 40]
Generated Node #0,0: 74:[73, 67, 40] Operation: 53-13=40
Moving to Node #0,0
Current State: 74:[73, 67, 40], Operations: ['53-13=40']
Exploring Operation: 73-67=6, Resulting Numbers: [40, 6]
Generated Node #0,0,0: 74:[40, 6] Operation: 73-67=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[40, 6], Operations: ['53-13=40', '73-67=6']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
7,
97,
33,
71
] | 66 | [
"7+97=104",
"71-33=38",
"104-38=66"
] | Current State: 66:[7, 97, 33, 71], Operations: []
Exploring Operation: 7+97=104, Resulting Numbers: [33, 71, 104]
Generated Node #2: [33, 71, 104] from Operation: 7+97=104
Current State: 66:[33, 71, 104], Operations: ['7+97=104']
Exploring Operation: 71-33=38, Resulting Numbers: [104, 38]
Generated Node #3: [104, 38] from Operation: 71-33=38
Current State: 66:[104, 38], Operations: ['7+97=104', '71-33=38']
Exploring Operation: 104-38=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[7, 97, 33, 71], Operations: []
Exploring Operation: 71-7=64, Resulting Numbers: [97, 33, 64]
Generated Node #0,0: 66:[97, 33, 64] Operation: 71-7=64
Exploring Operation: 97-7=90, Resulting Numbers: [33, 71, 90]
Generated Node #0,1: 66:[33, 71, 90] Operation: 97-7=90
Exploring Operation: 97-33=64, Resulting Numbers: [7, 71, 64]
Generated Node #0,2: 66:[7, 71, 64] Operation: 97-33=64
Exploring Operation: 71-33=38, Resulting Numbers: [7, 97, 38]
Generated Node #0,3: 66:[7, 97, 38] Operation: 71-33=38
Exploring Operation: 97-71=26, Resulting Numbers: [7, 33, 26]
Generated Node #0,4: 66:[7, 33, 26] Operation: 97-71=26
Start Sub Search at level 1: Moving to Node #0,4
Current State: 66:[7, 33, 26], Operations: ['97-71=26']
Exploring Operation: 33-7=26, Resulting Numbers: [26, 26]
Generated Node #0,4,0: 66:[26, 26] Operation: 33-7=26
Exploring Operation: 33-26=7, Resulting Numbers: [7, 7]
Generated Node #0,4,1: 66:[7, 7] Operation: 33-26=7
Exploring Operation: 26-7=19, Resulting Numbers: [33, 19]
Generated Node #0,4,2: 66:[33, 19] Operation: 26-7=19
Exploring Operation: 33+26=59, Resulting Numbers: [7, 59]
Generated Node #0,4,3: 66:[7, 59] Operation: 33+26=59
Exploring Operation: 7+26=33, Resulting Numbers: [33, 33]
Generated Node #0,4,4: 66:[33, 33] Operation: 7+26=33
Moving to Node #0,4,4
Current State: 66:[33, 33], Operations: ['97-71=26', '7+26=33']
Exploring Operation: 33-33=0, Resulting Numbers: [0]
0,66 unequal: No Solution
Exploring Operation: 33*33=1089, Resulting Numbers: [1089]
1089,66 unequal: No Solution
Exploring Operation: 33/33=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 33+33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[7, 97, 33, 71], Operations: []
Exploring Operation: 97-71=26, Resulting Numbers: [7, 33, 26]
Generated Node #0,4: 66:[7, 33, 26] Operation: 97-71=26
Moving to Node #0,4
Current State: 66:[7, 33, 26], Operations: ['97-71=26']
Exploring Operation: 7+26=33, Resulting Numbers: [33, 33]
Generated Node #0,4,4: 66:[33, 33] Operation: 7+26=33
Moving to Node #0,4,4
Current State: 66:[33, 33], Operations: ['97-71=26', '7+26=33']
Exploring Operation: 33+33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
5,
97,
39,
78
] | 98 | [
"78-39=39",
"5*39=195",
"195-97=98"
] | Current State: 98:[5, 97, 39, 78], Operations: []
Exploring Operation: 78-39=39, Resulting Numbers: [5, 97, 39]
Generated Node #2: [5, 97, 39] from Operation: 78-39=39
Current State: 98:[5, 97, 39], Operations: ['78-39=39']
Exploring Operation: 5*39=195, Resulting Numbers: [97, 195]
Generated Node #3: [97, 195] from Operation: 5*39=195
Current State: 98:[97, 195], Operations: ['78-39=39', '5*39=195']
Exploring Operation: 195-97=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[5, 97, 39, 78], Operations: []
Exploring Operation: 5+39=44, Resulting Numbers: [97, 78, 44]
Generated Node #0,0: 98:[97, 78, 44] Operation: 5+39=44
Exploring Operation: 78-39=39, Resulting Numbers: [5, 97, 39]
Generated Node #0,1: 98:[5, 97, 39] Operation: 78-39=39
Exploring Operation: 78/39=2, Resulting Numbers: [5, 97, 2]
Generated Node #0,2: 98:[5, 97, 2] Operation: 78/39=2
Exploring Operation: 39+78=117, Resulting Numbers: [5, 97, 117]
Generated Node #0,3: 98:[5, 97, 117] Operation: 39+78=117
Exploring Operation: 97-78=19, Resulting Numbers: [5, 39, 19]
Generated Node #0,4: 98:[5, 39, 19] Operation: 97-78=19
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[5, 97, 2], Operations: ['78/39=2']
Exploring Operation: 5-2=3, Resulting Numbers: [97, 3]
Generated Node #0,2,0: 98:[97, 3] Operation: 5-2=3
Exploring Operation: 5+2=7, Resulting Numbers: [97, 7]
Generated Node #0,2,1: 98:[97, 7] Operation: 5+2=7
Exploring Operation: 5*2=10, Resulting Numbers: [97, 10]
Generated Node #0,2,2: 98:[97, 10] Operation: 5*2=10
Exploring Operation: 97+2=99, Resulting Numbers: [5, 99]
Generated Node #0,2,3: 98:[5, 99] Operation: 97+2=99
Exploring Operation: 5+97=102, Resulting Numbers: [2, 102]
Generated Node #0,2,4: 98:[2, 102] Operation: 5+97=102
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 98:[97, 7], Operations: ['78/39=2', '5+2=7']
Exploring Operation: 97+7=104, Resulting Numbers: [104]
104,98 unequal: No Solution
Exploring Operation: 97-7=90, Resulting Numbers: [90]
90,98 unequal: No Solution
Exploring Operation: 97*7=679, Resulting Numbers: [679]
679,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 98:[97, 3], Operations: ['78/39=2', '5-2=3']
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,98 unequal: No Solution
Exploring Operation: 97*3=291, Resulting Numbers: [291]
291,98 unequal: No Solution
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 98:[5, 99], Operations: ['78/39=2', '97+2=99']
Exploring Operation: 5*99=495, Resulting Numbers: [495]
495,98 unequal: No Solution
Exploring Operation: 99-5=94, Resulting Numbers: [94]
94,98 unequal: No Solution
Exploring Operation: 5+99=104, Resulting Numbers: [104]
104,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 98:[97, 10], Operations: ['78/39=2', '5*2=10']
Exploring Operation: 97*10=970, Resulting Numbers: [970]
970,98 unequal: No Solution
Exploring Operation: 97-10=87, Resulting Numbers: [87]
87,98 unequal: No Solution
Exploring Operation: 97+10=107, Resulting Numbers: [107]
107,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 98:[2, 102], Operations: ['78/39=2', '5+97=102']
Exploring Operation: 2*102=204, Resulting Numbers: [204]
204,98 unequal: No Solution
Exploring Operation: 102-2=100, Resulting Numbers: [100]
100,98 unequal: No Solution
Exploring Operation: 102/2=51, Resulting Numbers: [51]
51,98 unequal: No Solution
Exploring Operation: 2+102=104, Resulting Numbers: [104]
104,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[5, 97, 39], Operations: ['78-39=39']
Exploring Operation: 39-5=34, Resulting Numbers: [97, 34]
Generated Node #0,1,0: 98:[97, 34] Operation: 39-5=34
Exploring Operation: 5+39=44, Resulting Numbers: [97, 44]
Generated Node #0,1,1: 98:[97, 44] Operation: 5+39=44
Exploring Operation: 97-5=92, Resulting Numbers: [39, 92]
Generated Node #0,1,2: 98:[39, 92] Operation: 97-5=92
Exploring Operation: 5+97=102, Resulting Numbers: [39, 102]
Generated Node #0,1,3: 98:[39, 102] Operation: 5+97=102
Exploring Operation: 97-39=58, Resulting Numbers: [5, 58]
Generated Node #0,1,4: 98:[5, 58] Operation: 97-39=58
Moving to Node #0,1,1
Current State: 98:[97, 44], Operations: ['78-39=39', '5+39=44']
Exploring Operation: 97-44=53, Resulting Numbers: [53]
53,98 unequal: No Solution
Exploring Operation: 97*44=4268, Resulting Numbers: [4268]
4268,98 unequal: No Solution
Exploring Operation: 97+44=141, Resulting Numbers: [141]
141,98 unequal: No Solution
Moving to Node #0,1,4
Current State: 98:[5, 58], Operations: ['78-39=39', '97-39=58']
Exploring Operation: 5+58=63, Resulting Numbers: [63]
63,98 unequal: No Solution
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,98 unequal: No Solution
Exploring Operation: 5*58=290, Resulting Numbers: [290]
290,98 unequal: No Solution
Moving to Node #0,1,3
Current State: 98:[39, 102], Operations: ['78-39=39', '5+97=102']
Exploring Operation: 39*102=3978, Resulting Numbers: [3978]
3978,98 unequal: No Solution
Exploring Operation: 39+102=141, Resulting Numbers: [141]
141,98 unequal: No Solution
Exploring Operation: 102-39=63, Resulting Numbers: [63]
63,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[97, 34], Operations: ['78-39=39', '39-5=34']
Exploring Operation: 97-34=63, Resulting Numbers: [63]
63,98 unequal: No Solution
Exploring Operation: 97*34=3298, Resulting Numbers: [3298]
3298,98 unequal: No Solution
Exploring Operation: 97+34=131, Resulting Numbers: [131]
131,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[39, 92], Operations: ['78-39=39', '97-5=92']
Exploring Operation: 39+92=131, Resulting Numbers: [131]
131,98 unequal: No Solution
Exploring Operation: 39*92=3588, Resulting Numbers: [3588]
3588,98 unequal: No Solution
Exploring Operation: 92-39=53, Resulting Numbers: [53]
53,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 98:[5, 39, 19], Operations: ['97-78=19']
Exploring Operation: 39+19=58, Resulting Numbers: [5, 58]
Generated Node #0,4,0: 98:[5, 58] Operation: 39+19=58
Exploring Operation: 39-19=20, Resulting Numbers: [5, 20]
Generated Node #0,4,1: 98:[5, 20] Operation: 39-19=20
Exploring Operation: 19-5=14, Resulting Numbers: [39, 14]
Generated Node #0,4,2: 98:[39, 14] Operation: 19-5=14
Exploring Operation: 5+39=44, Resulting Numbers: [19, 44]
Generated Node #0,4,3: 98:[19, 44] Operation: 5+39=44
Exploring Operation: 5*19=95, Resulting Numbers: [39, 95]
Generated Node #0,4,4: 98:[39, 95] Operation: 5*19=95
Moving to Node #0,4,1
Current State: 98:[5, 20], Operations: ['97-78=19', '39-19=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,98 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,98 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,98 unequal: No Solution
Moving to Node #0,4,3
Current State: 98:[19, 44], Operations: ['97-78=19', '5+39=44']
Exploring Operation: 19*44=836, Resulting Numbers: [836]
836,98 unequal: No Solution
Exploring Operation: 19+44=63, Resulting Numbers: [63]
63,98 unequal: No Solution
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,98 unequal: No Solution
Moving to Node #0,4,2
Current State: 98:[39, 14], Operations: ['97-78=19', '19-5=14']
Exploring Operation: 39*14=546, Resulting Numbers: [546]
546,98 unequal: No Solution
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,98 unequal: No Solution
Exploring Operation: 39+14=53, Resulting Numbers: [53]
53,98 unequal: No Solution
Moving to Node #0,4,0
Current State: 98:[5, 58], Operations: ['97-78=19', '39+19=58']
Exploring Operation: 5+58=63, Resulting Numbers: [63]
63,98 unequal: No Solution
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,98 unequal: No Solution
Exploring Operation: 5*58=290, Resulting Numbers: [290]
290,98 unequal: No Solution
Moving to Node #0,4,4
Current State: 98:[39, 95], Operations: ['97-78=19', '5*19=95']
Exploring Operation: 95-39=56, Resulting Numbers: [56]
56,98 unequal: No Solution
Exploring Operation: 39+95=134, Resulting Numbers: [134]
134,98 unequal: No Solution
Exploring Operation: 39*95=3705, Resulting Numbers: [3705]
3705,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 98:[5, 97, 117], Operations: ['39+78=117']
Exploring Operation: 97-5=92, Resulting Numbers: [117, 92]
Generated Node #0,3,0: 98:[117, 92] Operation: 97-5=92
Exploring Operation: 5+117=122, Resulting Numbers: [97, 122]
Generated Node #0,3,1: 98:[97, 122] Operation: 5+117=122
Exploring Operation: 5+97=102, Resulting Numbers: [117, 102]
Generated Node #0,3,2: 98:[117, 102] Operation: 5+97=102
Exploring Operation: 117-97=20, Resulting Numbers: [5, 20]
Generated Node #0,3,3: 98:[5, 20] Operation: 117-97=20
Exploring Operation: 117-5=112, Resulting Numbers: [97, 112]
Generated Node #0,3,4: 98:[97, 112] Operation: 117-5=112
Moving to Node #0,3,3
Current State: 98:[5, 20], Operations: ['39+78=117', '117-97=20']
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,98 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,98 unequal: No Solution
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,98 unequal: No Solution
Moving to Node #0,3,4
Current State: 98:[97, 112], Operations: ['39+78=117', '117-5=112']
Exploring Operation: 97+112=209, Resulting Numbers: [209]
209,98 unequal: No Solution
Exploring Operation: 97*112=10864, Resulting Numbers: [10864]
10864,98 unequal: No Solution
Exploring Operation: 112-97=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Moving to Node #0,3,2
Current State: 98:[117, 102], Operations: ['39+78=117', '5+97=102']
Exploring Operation: 117+102=219, Resulting Numbers: [219]
219,98 unequal: No Solution
Exploring Operation: 117-102=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Exploring Operation: 117*102=11934, Resulting Numbers: [11934]
11934,98 unequal: No Solution
Moving to Node #0,3,0
Current State: 98:[117, 92], Operations: ['39+78=117', '97-5=92']
Exploring Operation: 117-92=25, Resulting Numbers: [25]
25,98 unequal: No Solution
Exploring Operation: 117+92=209, Resulting Numbers: [209]
209,98 unequal: No Solution
Exploring Operation: 117*92=10764, Resulting Numbers: [10764]
10764,98 unequal: No Solution
Moving to Node #0,3,1
Current State: 98:[97, 122], Operations: ['39+78=117', '5+117=122']
Exploring Operation: 97*122=11834, Resulting Numbers: [11834]
11834,98 unequal: No Solution
Exploring Operation: 97+122=219, Resulting Numbers: [219]
219,98 unequal: No Solution
Exploring Operation: 122-97=25, Resulting Numbers: [25]
25,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[97, 78, 44], Operations: ['5+39=44']
Exploring Operation: 97+44=141, Resulting Numbers: [78, 141]
Generated Node #0,0,0: 98:[78, 141] Operation: 97+44=141
Exploring Operation: 97-78=19, Resulting Numbers: [44, 19]
Generated Node #0,0,1: 98:[44, 19] Operation: 97-78=19
Exploring Operation: 78+44=122, Resulting Numbers: [97, 122]
Generated Node #0,0,2: 98:[97, 122] Operation: 78+44=122
Exploring Operation: 97-44=53, Resulting Numbers: [78, 53]
Generated Node #0,0,3: 98:[78, 53] Operation: 97-44=53
Exploring Operation: 78-44=34, Resulting Numbers: [97, 34]
Generated Node #0,0,4: 98:[97, 34] Operation: 78-44=34
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 98:[44, 19], Operations: ['5+39=44', '97-78=19']
Exploring Operation: 44*19=836, Resulting Numbers: [836]
836,98 unequal: No Solution
Exploring Operation: 44+19=63, Resulting Numbers: [63]
63,98 unequal: No Solution
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 98:[97, 34], Operations: ['5+39=44', '78-44=34']
Exploring Operation: 97-34=63, Resulting Numbers: [63]
63,98 unequal: No Solution
Exploring Operation: 97+34=131, Resulting Numbers: [131]
131,98 unequal: No Solution
Exploring Operation: 97*34=3298, Resulting Numbers: [3298]
3298,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 98:[78, 53], Operations: ['5+39=44', '97-44=53']
Exploring Operation: 78-53=25, Resulting Numbers: [25]
25,98 unequal: No Solution
Exploring Operation: 78*53=4134, Resulting Numbers: [4134]
4134,98 unequal: No Solution
Exploring Operation: 78+53=131, Resulting Numbers: [131]
131,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 98:[97, 122], Operations: ['5+39=44', '78+44=122']
Exploring Operation: 122-97=25, Resulting Numbers: [25]
25,98 unequal: No Solution
Exploring Operation: 97*122=11834, Resulting Numbers: [11834]
11834,98 unequal: No Solution
Exploring Operation: 97+122=219, Resulting Numbers: [219]
219,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[78, 141], Operations: ['5+39=44', '97+44=141']
Exploring Operation: 78+141=219, Resulting Numbers: [219]
219,98 unequal: No Solution
Exploring Operation: 141-78=63, Resulting Numbers: [63]
63,98 unequal: No Solution
Exploring Operation: 78*141=10998, Resulting Numbers: [10998]
10998,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
47,
83,
12,
15
] | 58 | [
"15-12=3",
"47*3=141",
"141-83=58"
] | Current State: 58:[47, 83, 12, 15], Operations: []
Exploring Operation: 15-12=3, Resulting Numbers: [47, 83, 3]
Generated Node #2: [47, 83, 3] from Operation: 15-12=3
Current State: 58:[47, 83, 3], Operations: ['15-12=3']
Exploring Operation: 47*3=141, Resulting Numbers: [83, 141]
Generated Node #3: [83, 141] from Operation: 47*3=141
Current State: 58:[83, 141], Operations: ['15-12=3', '47*3=141']
Exploring Operation: 141-83=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[47, 83, 12, 15], Operations: []
Exploring Operation: 15-12=3, Resulting Numbers: [47, 83, 3]
Generated Node #0,0: 58:[47, 83, 3] Operation: 15-12=3
Exploring Operation: 83-12=71, Resulting Numbers: [47, 15, 71]
Generated Node #0,1: 58:[47, 15, 71] Operation: 83-12=71
Exploring Operation: 83-15=68, Resulting Numbers: [47, 12, 68]
Generated Node #0,2: 58:[47, 12, 68] Operation: 83-15=68
Exploring Operation: 83-47=36, Resulting Numbers: [12, 15, 36]
Generated Node #0,3: 58:[12, 15, 36] Operation: 83-47=36
Exploring Operation: 47-15=32, Resulting Numbers: [83, 12, 32]
Generated Node #0,4: 58:[83, 12, 32] Operation: 47-15=32
Moving to Node #0,3
Current State: 58:[12, 15, 36], Operations: ['83-47=36']
Exploring Operation: 36/12=3, Resulting Numbers: [15, 3]
Generated Node #0,3,0: 58:[15, 3] Operation: 36/12=3
Exploring Operation: 12+15=27, Resulting Numbers: [36, 27]
Generated Node #0,3,1: 58:[36, 27] Operation: 12+15=27
Exploring Operation: 15+36=51, Resulting Numbers: [12, 51]
Generated Node #0,3,2: 58:[12, 51] Operation: 15+36=51
Exploring Operation: 36-12=24, Resulting Numbers: [15, 24]
Generated Node #0,3,3: 58:[15, 24] Operation: 36-12=24
Exploring Operation: 15-12=3, Resulting Numbers: [36, 3]
Generated Node #0,3,4: 58:[36, 3] Operation: 15-12=3
Moving to Node #0,2
Current State: 58:[47, 12, 68], Operations: ['83-15=68']
Exploring Operation: 12+68=80, Resulting Numbers: [47, 80]
Generated Node #0,2,0: 58:[47, 80] Operation: 12+68=80
Exploring Operation: 68-47=21, Resulting Numbers: [12, 21]
Generated Node #0,2,1: 58:[12, 21] Operation: 68-47=21
Exploring Operation: 47+12=59, Resulting Numbers: [68, 59]
Generated Node #0,2,2: 58:[68, 59] Operation: 47+12=59
Exploring Operation: 47-12=35, Resulting Numbers: [68, 35]
Generated Node #0,2,3: 58:[68, 35] Operation: 47-12=35
Exploring Operation: 68-12=56, Resulting Numbers: [47, 56]
Generated Node #0,2,4: 58:[47, 56] Operation: 68-12=56
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 58:[68, 59], Operations: ['83-15=68', '47+12=59']
Exploring Operation: 68+59=127, Resulting Numbers: [127]
127,58 unequal: No Solution
Exploring Operation: 68*59=4012, Resulting Numbers: [4012]
4012,58 unequal: No Solution
Exploring Operation: 68-59=9, Resulting Numbers: [9]
9,58 unequal: No Solution
No 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: 58:[47, 56], Operations: ['83-15=68', '68-12=56']
Exploring Operation: 56-47=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 47*56=2632, Resulting Numbers: [2632]
2632,58 unequal: No Solution
Exploring Operation: 47+56=103, Resulting Numbers: [103]
103,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 58:[68, 35], Operations: ['83-15=68', '47-12=35']
Exploring Operation: 68*35=2380, Resulting Numbers: [2380]
2380,58 unequal: No Solution
Exploring Operation: 68-35=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 68+35=103, Resulting Numbers: [103]
103,58 unequal: No Solution
No 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: 58:[12, 21], Operations: ['83-15=68', '68-47=21']
Exploring Operation: 12*21=252, Resulting Numbers: [252]
252,58 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,58 unequal: No Solution
No 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: 58:[47, 80], Operations: ['83-15=68', '12+68=80']
Exploring Operation: 47*80=3760, Resulting Numbers: [3760]
3760,58 unequal: No Solution
Exploring Operation: 80-47=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 47+80=127, Resulting Numbers: [127]
127,58 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: 58:[47, 83, 3], Operations: ['15-12=3']
Exploring Operation: 47-3=44, Resulting Numbers: [83, 44]
Generated Node #0,0,0: 58:[83, 44] Operation: 47-3=44
Exploring Operation: 47+3=50, Resulting Numbers: [83, 50]
Generated Node #0,0,1: 58:[83, 50] Operation: 47+3=50
Exploring Operation: 83-47=36, Resulting Numbers: [3, 36]
Generated Node #0,0,2: 58:[3, 36] Operation: 83-47=36
Exploring Operation: 83+3=86, Resulting Numbers: [47, 86]
Generated Node #0,0,3: 58:[47, 86] Operation: 83+3=86
Exploring Operation: 83-3=80, Resulting Numbers: [47, 80]
Generated Node #0,0,4: 58:[47, 80] Operation: 83-3=80
Moving to Node #0,1
Current State: 58:[47, 15, 71], Operations: ['83-12=71']
Exploring Operation: 71-47=24, Resulting Numbers: [15, 24]
Generated Node #0,1,0: 58:[15, 24] Operation: 71-47=24
Exploring Operation: 47-15=32, Resulting Numbers: [71, 32]
Generated Node #0,1,1: 58:[71, 32] Operation: 47-15=32
Exploring Operation: 71-15=56, Resulting Numbers: [47, 56]
Generated Node #0,1,2: 58:[47, 56] Operation: 71-15=56
Exploring Operation: 47+15=62, Resulting Numbers: [71, 62]
Generated Node #0,1,3: 58:[71, 62] Operation: 47+15=62
Exploring Operation: 15+71=86, Resulting Numbers: [47, 86]
Generated Node #0,1,4: 58:[47, 86] Operation: 15+71=86
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 58:[47, 56], Operations: ['83-12=71', '71-15=56']
Exploring Operation: 47*56=2632, Resulting Numbers: [2632]
2632,58 unequal: No Solution
Exploring Operation: 56-47=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 47+56=103, Resulting Numbers: [103]
103,58 unequal: No Solution
No 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: 58:[71, 32], Operations: ['83-12=71', '47-15=32']
Exploring Operation: 71*32=2272, Resulting Numbers: [2272]
2272,58 unequal: No Solution
Exploring Operation: 71+32=103, Resulting Numbers: [103]
103,58 unequal: No Solution
Exploring Operation: 71-32=39, Resulting Numbers: [39]
39,58 unequal: No Solution
No 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: 58:[71, 62], Operations: ['83-12=71', '47+15=62']
Exploring Operation: 71-62=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 71*62=4402, Resulting Numbers: [4402]
4402,58 unequal: No Solution
Exploring Operation: 71+62=133, Resulting Numbers: [133]
133,58 unequal: No Solution
No 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: 58:[15, 24], Operations: ['83-12=71', '71-47=24']
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 15+24=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 15*24=360, Resulting Numbers: [360]
360,58 unequal: No Solution
No 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: 58:[47, 86], Operations: ['83-12=71', '15+71=86']
Exploring Operation: 47+86=133, Resulting Numbers: [133]
133,58 unequal: No Solution
Exploring Operation: 47*86=4042, Resulting Numbers: [4042]
4042,58 unequal: No Solution
Exploring Operation: 86-47=39, Resulting Numbers: [39]
39,58 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: 58:[83, 12, 32], Operations: ['47-15=32']
Exploring Operation: 83-32=51, Resulting Numbers: [12, 51]
Generated Node #0,4,0: 58:[12, 51] Operation: 83-32=51
Exploring Operation: 83+12=95, Resulting Numbers: [32, 95]
Generated Node #0,4,1: 58:[32, 95] Operation: 83+12=95
Exploring Operation: 12+32=44, Resulting Numbers: [83, 44]
Generated Node #0,4,2: 58:[83, 44] Operation: 12+32=44
Exploring Operation: 83-12=71, Resulting Numbers: [32, 71]
Generated Node #0,4,3: 58:[32, 71] Operation: 83-12=71
Exploring Operation: 32-12=20, Resulting Numbers: [83, 20]
Generated Node #0,4,4: 58:[83, 20] Operation: 32-12=20
Moving to Node #0,3,4
Current State: 58:[36, 3], Operations: ['83-47=36', '15-12=3']
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,58 unequal: No Solution
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 36*3=108, Resulting Numbers: [108]
108,58 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Moving to Node #0,0,2
Current State: 58:[3, 36], Operations: ['15-12=3', '83-47=36']
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,58 unequal: No Solution
Exploring Operation: 3*36=108, Resulting Numbers: [108]
108,58 unequal: No Solution
Moving to Node #0,3,1
Current State: 58:[36, 27], Operations: ['83-47=36', '12+15=27']
Exploring Operation: 36+27=63, Resulting Numbers: [63]
63,58 unequal: No Solution
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 36*27=972, Resulting Numbers: [972]
972,58 unequal: No Solution
Moving to Node #0,3,0
Current State: 58:[15, 3], Operations: ['83-47=36', '36/12=3']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,58 unequal: No Solution
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,58 unequal: No Solution
Moving to Node #0,4,3
Current State: 58:[32, 71], Operations: ['47-15=32', '83-12=71']
Exploring Operation: 71-32=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 32+71=103, Resulting Numbers: [103]
103,58 unequal: No Solution
Exploring Operation: 32*71=2272, Resulting Numbers: [2272]
2272,58 unequal: No Solution
Moving to Node #0,4,0
Current State: 58:[12, 51], Operations: ['47-15=32', '83-32=51']
Exploring Operation: 12*51=612, Resulting Numbers: [612]
612,58 unequal: No Solution
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 12+51=63, Resulting Numbers: [63]
63,58 unequal: No Solution
Moving to Node #0,3,2
Current State: 58:[12, 51], Operations: ['83-47=36', '15+36=51']
Exploring Operation: 12+51=63, Resulting Numbers: [63]
63,58 unequal: No Solution
Exploring Operation: 12*51=612, Resulting Numbers: [612]
612,58 unequal: No Solution
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Moving to Node #0,3,3
Current State: 58:[15, 24], Operations: ['83-47=36', '36-12=24']
Exploring Operation: 15*24=360, Resulting Numbers: [360]
360,58 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 15+24=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[83, 50], Operations: ['15-12=3', '47+3=50']
Exploring Operation: 83-50=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 83+50=133, Resulting Numbers: [133]
133,58 unequal: No Solution
Exploring Operation: 83*50=4150, Resulting Numbers: [4150]
4150,58 unequal: No Solution
Moving to Node #0,0,4
Current State: 58:[47, 80], Operations: ['15-12=3', '83-3=80']
Exploring Operation: 80-47=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 47+80=127, Resulting Numbers: [127]
127,58 unequal: No Solution
Exploring Operation: 47*80=3760, Resulting Numbers: [3760]
3760,58 unequal: No Solution
Moving to Node #0,4,4
Current State: 58:[83, 20], Operations: ['47-15=32', '32-12=20']
Exploring Operation: 83-20=63, Resulting Numbers: [63]
63,58 unequal: No Solution
Exploring Operation: 83*20=1660, Resulting Numbers: [1660]
1660,58 unequal: No Solution
Exploring Operation: 83+20=103, Resulting Numbers: [103]
103,58 unequal: No Solution
Moving to Node #0,0,3
Current State: 58:[47, 86], Operations: ['15-12=3', '83+3=86']
Exploring Operation: 86-47=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 47+86=133, Resulting Numbers: [133]
133,58 unequal: No Solution
Exploring Operation: 47*86=4042, Resulting Numbers: [4042]
4042,58 unequal: No Solution
Moving to Node #0,0,0
Current State: 58:[83, 44], Operations: ['15-12=3', '47-3=44']
Exploring Operation: 83+44=127, Resulting Numbers: [127]
127,58 unequal: No Solution
Exploring Operation: 83-44=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 83*44=3652, Resulting Numbers: [3652]
3652,58 unequal: No Solution
Moving to Node #0,4,2
Current State: 58:[83, 44], Operations: ['47-15=32', '12+32=44']
Exploring Operation: 83+44=127, Resulting Numbers: [127]
127,58 unequal: No Solution
Exploring Operation: 83-44=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 83*44=3652, Resulting Numbers: [3652]
3652,58 unequal: No Solution
Moving to Node #0,4,1
Current State: 58:[32, 95], Operations: ['47-15=32', '83+12=95']
Exploring Operation: 32+95=127, Resulting Numbers: [127]
127,58 unequal: No Solution
Exploring Operation: 95-32=63, Resulting Numbers: [63]
63,58 unequal: No Solution
Exploring Operation: 32*95=3040, Resulting Numbers: [3040]
3040,58 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
32,
53,
43,
76
] | 53 | [
"32+43=75",
"76-75=1",
"53*1=53"
] | Current State: 53:[32, 53, 43, 76], Operations: []
Exploring Operation: 32+43=75, Resulting Numbers: [53, 76, 75]
Generated Node #2: [53, 76, 75] from Operation: 32+43=75
Current State: 53:[53, 76, 75], Operations: ['32+43=75']
Exploring Operation: 76-75=1, Resulting Numbers: [53, 1]
Generated Node #3: [53, 1] from Operation: 76-75=1
Current State: 53:[53, 1], Operations: ['32+43=75', '76-75=1']
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[32, 53, 43, 76], Operations: []
Exploring Operation: 76-53=23, Resulting Numbers: [32, 43, 23]
Generated Node #0,0: 53:[32, 43, 23] Operation: 76-53=23
Exploring Operation: 32+43=75, Resulting Numbers: [53, 76, 75]
Generated Node #0,1: 53:[53, 76, 75] Operation: 32+43=75
Exploring Operation: 76-43=33, Resulting Numbers: [32, 53, 33]
Generated Node #0,2: 53:[32, 53, 33] Operation: 76-43=33
Exploring Operation: 76-32=44, Resulting Numbers: [53, 43, 44]
Generated Node #0,3: 53:[53, 43, 44] Operation: 76-32=44
Start Sub Search at level 1: Moving to Node #0,3
Current State: 53:[53, 43, 44], Operations: ['76-32=44']
Exploring Operation: 53+43=96, Resulting Numbers: [44, 96]
Generated Node #0,3,0: 53:[44, 96] Operation: 53+43=96
Exploring Operation: 43+44=87, Resulting Numbers: [53, 87]
Generated Node #0,3,1: 53:[53, 87] Operation: 43+44=87
Exploring Operation: 53-43=10, Resulting Numbers: [44, 10]
Generated Node #0,3,2: 53:[44, 10] Operation: 53-43=10
Exploring Operation: 44-43=1, Resulting Numbers: [53, 1]
Generated Node #0,3,3: 53:[53, 1] Operation: 44-43=1
Moving to Node #0,3,1
Current State: 53:[53, 87], Operations: ['76-32=44', '43+44=87']
Exploring Operation: 53+87=140, Resulting Numbers: [140]
140,53 unequal: No Solution
Exploring Operation: 53*87=4611, Resulting Numbers: [4611]
4611,53 unequal: No Solution
Exploring Operation: 87-53=34, Resulting Numbers: [34]
34,53 unequal: No Solution
Moving to Node #0,3,2
Current State: 53:[44, 10], Operations: ['76-32=44', '53-43=10']
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,53 unequal: No Solution
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,53 unequal: No Solution
Moving to Node #0,3,0
Current State: 53:[44, 96], Operations: ['76-32=44', '53+43=96']
Exploring Operation: 44*96=4224, Resulting Numbers: [4224]
4224,53 unequal: No Solution
Exploring Operation: 44+96=140, Resulting Numbers: [140]
140,53 unequal: No Solution
Exploring Operation: 96-44=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Moving to Node #0,3,3
Current State: 53:[53, 1], Operations: ['76-32=44', '44-43=1']
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[32, 53, 43, 76], Operations: []
Exploring Operation: 76-32=44, Resulting Numbers: [53, 43, 44]
Generated Node #0,3: 53:[53, 43, 44] Operation: 76-32=44
Moving to Node #0,3
Current State: 53:[53, 43, 44], Operations: ['76-32=44']
Exploring Operation: 44-43=1, Resulting Numbers: [53, 1]
Generated Node #0,3,3: 53:[53, 1] Operation: 44-43=1
Moving to Node #0,3,3
Current State: 53:[53, 1], Operations: ['76-32=44', '44-43=1']
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
84,
75,
45,
56
] | 99 | [
"84-75=9",
"56-45=11",
"9*11=99"
] | Current State: 99:[84, 75, 45, 56], Operations: []
Exploring Operation: 84-75=9, Resulting Numbers: [45, 56, 9]
Generated Node #2: [45, 56, 9] from Operation: 84-75=9
Current State: 99:[45, 56, 9], Operations: ['84-75=9']
Exploring Operation: 56-45=11, Resulting Numbers: [9, 11]
Generated Node #3: [9, 11] from Operation: 56-45=11
Current State: 99:[9, 11], Operations: ['84-75=9', '56-45=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[84, 75, 45, 56], Operations: []
Exploring Operation: 84-75=9, Resulting Numbers: [45, 56, 9]
Generated Node #0,0: 99:[45, 56, 9] Operation: 84-75=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[45, 56, 9], Operations: ['84-75=9']
Exploring Operation: 56-45=11, Resulting Numbers: [9, 11]
Generated Node #0,0,0: 99:[9, 11] Operation: 56-45=11
Moving to Node #0,0,0
Current State: 99:[9, 11], Operations: ['84-75=9', '56-45=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[84, 75, 45, 56], Operations: []
Exploring Operation: 84-75=9, Resulting Numbers: [45, 56, 9]
Generated Node #0,0: 99:[45, 56, 9] Operation: 84-75=9
Moving to Node #0,0
Current State: 99:[45, 56, 9], Operations: ['84-75=9']
Exploring Operation: 56-45=11, Resulting Numbers: [9, 11]
Generated Node #0,0,0: 99:[9, 11] Operation: 56-45=11
Moving to Node #0,0,0
Current State: 99:[9, 11], Operations: ['84-75=9', '56-45=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
88,
9,
15,
27
] | 67 | [
"88-9=79",
"27-15=12",
"79-12=67"
] | Current State: 67:[88, 9, 15, 27], Operations: []
Exploring Operation: 88-9=79, Resulting Numbers: [15, 27, 79]
Generated Node #2: [15, 27, 79] from Operation: 88-9=79
Current State: 67:[15, 27, 79], Operations: ['88-9=79']
Exploring Operation: 27-15=12, Resulting Numbers: [79, 12]
Generated Node #3: [79, 12] from Operation: 27-15=12
Current State: 67:[79, 12], Operations: ['88-9=79', '27-15=12']
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[88, 9, 15, 27], Operations: []
Exploring Operation: 9+15=24, Resulting Numbers: [88, 27, 24]
Generated Node #0,0: 67:[88, 27, 24] Operation: 9+15=24
Exploring Operation: 88-9=79, Resulting Numbers: [15, 27, 79]
Generated Node #0,1: 67:[15, 27, 79] Operation: 88-9=79
Exploring Operation: 9+27=36, Resulting Numbers: [88, 15, 36]
Generated Node #0,2: 67:[88, 15, 36] Operation: 9+27=36
Exploring Operation: 88-15=73, Resulting Numbers: [9, 27, 73]
Generated Node #0,3: 67:[9, 27, 73] Operation: 88-15=73
Exploring Operation: 15+27=42, Resulting Numbers: [88, 9, 42]
Generated Node #0,4: 67:[88, 9, 42] Operation: 15+27=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[88, 27, 24], Operations: ['9+15=24']
Exploring Operation: 27-24=3, Resulting Numbers: [88, 3]
Generated Node #0,0,0: 67:[88, 3] Operation: 27-24=3
Exploring Operation: 88-27=61, Resulting Numbers: [24, 61]
Generated Node #0,0,1: 67:[24, 61] Operation: 88-27=61
Exploring Operation: 27+24=51, Resulting Numbers: [88, 51]
Generated Node #0,0,2: 67:[88, 51] Operation: 27+24=51
Exploring Operation: 88+24=112, Resulting Numbers: [27, 112]
Generated Node #0,0,3: 67:[27, 112] Operation: 88+24=112
Exploring Operation: 88-24=64, Resulting Numbers: [27, 64]
Generated Node #0,0,4: 67:[27, 64] Operation: 88-24=64
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 67:[88, 51], Operations: ['9+15=24', '27+24=51']
Exploring Operation: 88*51=4488, Resulting Numbers: [4488]
4488,67 unequal: No Solution
Exploring Operation: 88+51=139, Resulting Numbers: [139]
139,67 unequal: No Solution
Exploring Operation: 88-51=37, Resulting Numbers: [37]
37,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 67:[27, 64], Operations: ['9+15=24', '88-24=64']
Exploring Operation: 27*64=1728, Resulting Numbers: [1728]
1728,67 unequal: No Solution
Exploring Operation: 27+64=91, Resulting Numbers: [91]
91,67 unequal: No Solution
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 67:[24, 61], Operations: ['9+15=24', '88-27=61']
Exploring Operation: 24*61=1464, Resulting Numbers: [1464]
1464,67 unequal: No Solution
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,67 unequal: No Solution
Exploring Operation: 24+61=85, Resulting Numbers: [85]
85,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[88, 3], Operations: ['9+15=24', '27-24=3']
Exploring Operation: 88+3=91, Resulting Numbers: [91]
91,67 unequal: No Solution
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,67 unequal: No Solution
Exploring Operation: 88*3=264, Resulting Numbers: [264]
264,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 67:[27, 112], Operations: ['9+15=24', '88+24=112']
Exploring Operation: 27+112=139, Resulting Numbers: [139]
139,67 unequal: No Solution
Exploring Operation: 112-27=85, Resulting Numbers: [85]
85,67 unequal: No Solution
Exploring Operation: 27*112=3024, Resulting Numbers: [3024]
3024,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[15, 27, 79], Operations: ['88-9=79']
Exploring Operation: 15+27=42, Resulting Numbers: [79, 42]
Generated Node #0,1,0: 67:[79, 42] Operation: 15+27=42
Exploring Operation: 15+79=94, Resulting Numbers: [27, 94]
Generated Node #0,1,1: 67:[27, 94] Operation: 15+79=94
Exploring Operation: 79-27=52, Resulting Numbers: [15, 52]
Generated Node #0,1,2: 67:[15, 52] Operation: 79-27=52
Exploring Operation: 27-15=12, Resulting Numbers: [79, 12]
Generated Node #0,1,3: 67:[79, 12] Operation: 27-15=12
Exploring Operation: 79-15=64, Resulting Numbers: [27, 64]
Generated Node #0,1,4: 67:[27, 64] Operation: 79-15=64
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[79, 42], Operations: ['88-9=79', '15+27=42']
Exploring Operation: 79*42=3318, Resulting Numbers: [3318]
3318,67 unequal: No Solution
Exploring Operation: 79+42=121, Resulting Numbers: [121]
121,67 unequal: No Solution
Exploring Operation: 79-42=37, Resulting Numbers: [37]
37,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 67:[27, 64], Operations: ['88-9=79', '79-15=64']
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,67 unequal: No Solution
Exploring Operation: 27+64=91, Resulting Numbers: [91]
91,67 unequal: No Solution
Exploring Operation: 27*64=1728, Resulting Numbers: [1728]
1728,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[27, 94], Operations: ['88-9=79', '15+79=94']
Exploring Operation: 94-27=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[88, 9, 15, 27], Operations: []
Exploring Operation: 88-9=79, Resulting Numbers: [15, 27, 79]
Generated Node #0,1: 67:[15, 27, 79] Operation: 88-9=79
Moving to Node #0,1
Current State: 67:[15, 27, 79], Operations: ['88-9=79']
Exploring Operation: 15+79=94, Resulting Numbers: [27, 94]
Generated Node #0,1,1: 67:[27, 94] Operation: 15+79=94
Moving to Node #0,1,1
Current State: 67:[27, 94], Operations: ['88-9=79', '15+79=94']
Exploring Operation: 94-27=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96441 | hs_5 | sum_heuristic |
[
54,
59,
3,
3
] | 15 | [
"54*3=162",
"59*3=177",
"177-162=15"
] | Current State: 15:[54, 59, 3, 3], Operations: []
Exploring Operation: 54*3=162, Resulting Numbers: [59, 162]
Generated Node #2: [59, 162] from Operation: 54*3=162
Current State: 15:[59, 162], Operations: ['54*3=162']
Exploring Operation: 59*3=177, Resulting Numbers: [162, 177]
Generated Node #3: [162, 177] from Operation: 59*3=177
Current State: 15:[162, 177], Operations: ['54*3=162', '59*3=177']
Exploring Operation: 177-162=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[54, 59, 3, 3], Operations: []
Exploring Operation: 59-54=5, Resulting Numbers: [3, 3, 5]
Generated Node #0,0: 15:[3, 3, 5] Operation: 59-54=5
Exploring Operation: 54/3=18, Resulting Numbers: [59, 3, 18]
Generated Node #0,1: 15:[59, 3, 18] Operation: 54/3=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[3, 3, 5], Operations: ['59-54=5']
Exploring Operation: 3*5=15, Resulting Numbers: [3, 15]
Generated Node #0,0,0: 15:[3, 15] Operation: 3*5=15
Exploring Operation: 3*5=15, Resulting Numbers: [3, 15]
Generated Node #0,0,1: 15:[3, 15] Operation: 3*5=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 15:[3, 15], Operations: ['59-54=5', '3*5=15']
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,15 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,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:[3, 15], Operations: ['59-54=5', '3*5=15']
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,15 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,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,1
Current State: 15:[59, 3, 18], Operations: ['54/3=18']
Exploring Operation: 59-3=56, Resulting Numbers: [18, 56]
Generated Node #0,1,0: 15:[18, 56] Operation: 59-3=56
Exploring Operation: 59-18=41, Resulting Numbers: [3, 41]
Generated Node #0,1,1: 15:[3, 41] Operation: 59-18=41
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 15:[3, 41], Operations: ['54/3=18', '59-18=41']
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,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:[18, 56], Operations: ['54/3=18', '59-3=56']
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,15 unequal: No Solution
Exploring Operation: 18+56=74, Resulting Numbers: [74]
74,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_2 | sum_heuristic |
[
40,
5,
80,
4
] | 65 | [
"40+5=45",
"80/4=20",
"45+20=65"
] | Current State: 65:[40, 5, 80, 4], Operations: []
Exploring Operation: 40+5=45, Resulting Numbers: [80, 4, 45]
Generated Node #2: [80, 4, 45] from Operation: 40+5=45
Current State: 65:[80, 4, 45], Operations: ['40+5=45']
Exploring Operation: 80/4=20, Resulting Numbers: [45, 20]
Generated Node #3: [45, 20] from Operation: 80/4=20
Current State: 65:[45, 20], Operations: ['40+5=45', '80/4=20']
Exploring Operation: 45+20=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[40, 5, 80, 4], Operations: []
Exploring Operation: 40/4=10, Resulting Numbers: [5, 80, 10]
Generated Node #0,0: 65:[5, 80, 10] Operation: 40/4=10
Exploring Operation: 80/40=2, Resulting Numbers: [5, 4, 2]
Generated Node #0,1: 65:[5, 4, 2] Operation: 80/40=2
Moving to Node #0,1
Current State: 65:[5, 4, 2], Operations: ['80/40=2']
Exploring Operation: 4+2=6, Resulting Numbers: [5, 6]
Generated Node #0,1,0: 65:[5, 6] Operation: 4+2=6
Exploring Operation: 5+2=7, Resulting Numbers: [4, 7]
Generated Node #0,1,1: 65:[4, 7] Operation: 5+2=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[5, 6], Operations: ['80/40=2', '4+2=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[4, 7], Operations: ['80/40=2', '5+2=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 65:[5, 80, 10], Operations: ['40/4=10']
Exploring Operation: 80-10=70, Resulting Numbers: [5, 70]
Generated Node #0,0,0: 65:[5, 70] Operation: 80-10=70
Exploring Operation: 80/10=8, Resulting Numbers: [5, 8]
Generated Node #0,0,1: 65:[5, 8] Operation: 80/10=8
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[5, 8], Operations: ['40/4=10', '80/10=8']
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[5, 70], Operations: ['40/4=10', '80-10=70']
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,65 unequal: No Solution
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[40, 5, 80, 4], Operations: []
Exploring Operation: 40/4=10, Resulting Numbers: [5, 80, 10]
Generated Node #0,0: 65:[5, 80, 10] Operation: 40/4=10
Moving to Node #0,0
Current State: 65:[5, 80, 10], Operations: ['40/4=10']
Exploring Operation: 80-10=70, Resulting Numbers: [5, 70]
Generated Node #0,0,0: 65:[5, 70] Operation: 80-10=70
Moving to Node #0,0,0
Current State: 65:[5, 70], Operations: ['40/4=10', '80-10=70']
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | mult_heuristic |
[
63,
52,
52,
3
] | 60 | [
"63+52=115",
"52+3=55",
"115-55=60"
] | Current State: 60:[63, 52, 52, 3], Operations: []
Exploring Operation: 63+52=115, Resulting Numbers: [3, 115]
Generated Node #2: [3, 115] from Operation: 63+52=115
Current State: 60:[3, 115], Operations: ['63+52=115']
Exploring Operation: 52+3=55, Resulting Numbers: [115, 55]
Generated Node #3: [115, 55] from Operation: 52+3=55
Current State: 60:[115, 55], Operations: ['63+52=115', '52+3=55']
Exploring Operation: 115-55=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[63, 52, 52, 3], Operations: []
Exploring Operation: 52/52=1, Resulting Numbers: [63, 3, 1]
Generated Node #0,0: 60:[63, 3, 1] Operation: 52/52=1
Exploring Operation: 52-52=0, Resulting Numbers: [63, 3, 0]
Generated Node #0,1: 60:[63, 3, 0] Operation: 52-52=0
Moving to Node #0,0
Current State: 60:[63, 3, 1], Operations: ['52/52=1']
Exploring Operation: 63-3=60, Resulting Numbers: [1, 60]
Generated Node #0,0,0: 60:[1, 60] Operation: 63-3=60
Exploring Operation: 63/3=21, Resulting Numbers: [1, 21]
Generated Node #0,0,1: 60:[1, 21] Operation: 63/3=21
Moving to Node #0,1
Current State: 60:[63, 3, 0], Operations: ['52-52=0']
Exploring Operation: 63*0=0, Resulting Numbers: [3, 0]
Generated Node #0,1,0: 60:[3, 0] Operation: 63*0=0
Exploring Operation: 63-3=60, Resulting Numbers: [0, 60]
Generated Node #0,1,1: 60:[0, 60] Operation: 63-3=60
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 60:[3, 0], Operations: ['52-52=0', '63*0=0']
Exploring Operation: 3-0=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 3+0=3, Resulting Numbers: [3]
3,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 60:[0, 60], Operations: ['52-52=0', '63-3=60']
Exploring Operation: 60-0=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[63, 52, 52, 3], Operations: []
Exploring Operation: 52-52=0, Resulting Numbers: [63, 3, 0]
Generated Node #0,1: 60:[63, 3, 0] Operation: 52-52=0
Moving to Node #0,1
Current State: 60:[63, 3, 0], Operations: ['52-52=0']
Exploring Operation: 63-3=60, Resulting Numbers: [0, 60]
Generated Node #0,1,1: 60:[0, 60] Operation: 63-3=60
Moving to Node #0,1,1
Current State: 60:[0, 60], Operations: ['52-52=0', '63-3=60']
Exploring Operation: 60-0=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_2 | mult_heuristic |
[
42,
16,
14,
60
] | 78 | [
"16-14=2",
"60*2=120",
"120-42=78"
] | Current State: 78:[42, 16, 14, 60], Operations: []
Exploring Operation: 16-14=2, Resulting Numbers: [42, 60, 2]
Generated Node #2: [42, 60, 2] from Operation: 16-14=2
Current State: 78:[42, 60, 2], Operations: ['16-14=2']
Exploring Operation: 60*2=120, Resulting Numbers: [42, 120]
Generated Node #3: [42, 120] from Operation: 60*2=120
Current State: 78:[42, 120], Operations: ['16-14=2', '60*2=120']
Exploring Operation: 120-42=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[42, 16, 14, 60], Operations: []
Exploring Operation: 16+60=76, Resulting Numbers: [42, 14, 76]
Generated Node #0,0: 78:[42, 14, 76] Operation: 16+60=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[42, 14, 76], Operations: ['16+60=76']
Exploring Operation: 42/14=3, Resulting Numbers: [76, 3]
Generated Node #0,0,0: 78:[76, 3] Operation: 42/14=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[76, 3], Operations: ['16+60=76', '42/14=3']
Exploring Operation: 76+3=79, Resulting Numbers: [79]
79,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_1 | mult_heuristic |
[
43,
93,
34,
3
] | 22 | [
"43-34=9",
"93/3=31",
"31-9=22"
] | Current State: 22:[43, 93, 34, 3], Operations: []
Exploring Operation: 43-34=9, Resulting Numbers: [93, 3, 9]
Generated Node #2: [93, 3, 9] from Operation: 43-34=9
Current State: 22:[93, 3, 9], Operations: ['43-34=9']
Exploring Operation: 93/3=31, Resulting Numbers: [9, 31]
Generated Node #3: [9, 31] from Operation: 93/3=31
Current State: 22:[9, 31], Operations: ['43-34=9', '93/3=31']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[43, 93, 34, 3], Operations: []
Exploring Operation: 93-43=50, Resulting Numbers: [34, 3, 50]
Generated Node #0,0: 22:[34, 3, 50] Operation: 93-43=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[34, 3, 50], Operations: ['93-43=50']
Exploring Operation: 50-34=16, Resulting Numbers: [3, 16]
Generated Node #0,0,0: 22:[3, 16] Operation: 50-34=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[3, 16], Operations: ['93-43=50', '50-34=16']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
24,
7,
20,
16
] | 84 | [
"24-20=4",
"16-4=12",
"7*12=84"
] | Current State: 84:[24, 7, 20, 16], Operations: []
Exploring Operation: 24-20=4, Resulting Numbers: [7, 16, 4]
Generated Node #2: [7, 16, 4] from Operation: 24-20=4
Current State: 84:[7, 16, 4], Operations: ['24-20=4']
Exploring Operation: 16-4=12, Resulting Numbers: [7, 12]
Generated Node #3: [7, 12] from Operation: 16-4=12
Current State: 84:[7, 12], Operations: ['24-20=4', '16-4=12']
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[24, 7, 20, 16], Operations: []
Exploring Operation: 24-20=4, Resulting Numbers: [7, 16, 4]
Generated Node #0,0: 84:[7, 16, 4] Operation: 24-20=4
Exploring Operation: 24+16=40, Resulting Numbers: [7, 20, 40]
Generated Node #0,1: 84:[7, 20, 40] Operation: 24+16=40
Exploring Operation: 24+20=44, Resulting Numbers: [7, 16, 44]
Generated Node #0,2: 84:[7, 16, 44] Operation: 24+20=44
Exploring Operation: 20-16=4, Resulting Numbers: [24, 7, 4]
Generated Node #0,3: 84:[24, 7, 4] Operation: 20-16=4
Exploring Operation: 24-16=8, Resulting Numbers: [7, 20, 8]
Generated Node #0,4: 84:[7, 20, 8] Operation: 24-16=8
Moving to Node #0,0
Current State: 84:[7, 16, 4], Operations: ['24-20=4']
Exploring Operation: 16/4=4, Resulting Numbers: [7, 4]
Generated Node #0,0,0: 84:[7, 4] Operation: 16/4=4
Exploring Operation: 16-7=9, Resulting Numbers: [4, 9]
Generated Node #0,0,1: 84:[4, 9] Operation: 16-7=9
Exploring Operation: 16+4=20, Resulting Numbers: [7, 20]
Generated Node #0,0,2: 84:[7, 20] Operation: 16+4=20
Exploring Operation: 7+16=23, Resulting Numbers: [4, 23]
Generated Node #0,0,3: 84:[4, 23] Operation: 7+16=23
Exploring Operation: 16-4=12, Resulting Numbers: [7, 12]
Generated Node #0,0,4: 84:[7, 12] Operation: 16-4=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[7, 4], Operations: ['24-20=4', '16/4=4']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,84 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,84 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 84:[7, 12], Operations: ['24-20=4', '16-4=12']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[24, 7, 20, 16], Operations: []
Exploring Operation: 24-20=4, Resulting Numbers: [7, 16, 4]
Generated Node #0,0: 84:[7, 16, 4] Operation: 24-20=4
Moving to Node #0,0
Current State: 84:[7, 16, 4], Operations: ['24-20=4']
Exploring Operation: 16-4=12, Resulting Numbers: [7, 12]
Generated Node #0,0,4: 84:[7, 12] Operation: 16-4=12
Moving to Node #0,0,4
Current State: 84:[7, 12], Operations: ['24-20=4', '16-4=12']
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
57,
2,
12,
85
] | 89 | [
"85-12=73",
"2*73=146",
"146-57=89"
] | Current State: 89:[57, 2, 12, 85], Operations: []
Exploring Operation: 85-12=73, Resulting Numbers: [57, 2, 73]
Generated Node #2: [57, 2, 73] from Operation: 85-12=73
Current State: 89:[57, 2, 73], Operations: ['85-12=73']
Exploring Operation: 2*73=146, Resulting Numbers: [57, 146]
Generated Node #3: [57, 146] from Operation: 2*73=146
Current State: 89:[57, 146], Operations: ['85-12=73', '2*73=146']
Exploring Operation: 146-57=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[57, 2, 12, 85], Operations: []
Exploring Operation: 57+2=59, Resulting Numbers: [12, 85, 59]
Generated Node #0,0: 89:[12, 85, 59] Operation: 57+2=59
Exploring Operation: 2+12=14, Resulting Numbers: [57, 85, 14]
Generated Node #0,1: 89:[57, 85, 14] Operation: 2+12=14
Exploring Operation: 57*2=114, Resulting Numbers: [12, 85, 114]
Generated Node #0,2: 89:[12, 85, 114] Operation: 57*2=114
Exploring Operation: 57+12=69, Resulting Numbers: [2, 85, 69]
Generated Node #0,3: 89:[2, 85, 69] Operation: 57+12=69
Exploring Operation: 2*12=24, Resulting Numbers: [57, 85, 24]
Generated Node #0,4: 89:[57, 85, 24] Operation: 2*12=24
Start Sub Search at level 1: Moving to Node #0,4
Current State: 89:[57, 85, 24], Operations: ['2*12=24']
Exploring Operation: 85-24=61, Resulting Numbers: [57, 61]
Generated Node #0,4,0: 89:[57, 61] Operation: 85-24=61
Exploring Operation: 85+24=109, Resulting Numbers: [57, 109]
Generated Node #0,4,1: 89:[57, 109] Operation: 85+24=109
Exploring Operation: 57+24=81, Resulting Numbers: [85, 81]
Generated Node #0,4,2: 89:[85, 81] Operation: 57+24=81
Exploring Operation: 57+85=142, Resulting Numbers: [24, 142]
Generated Node #0,4,3: 89:[24, 142] Operation: 57+85=142
Exploring Operation: 57-24=33, Resulting Numbers: [85, 33]
Generated Node #0,4,4: 89:[85, 33] Operation: 57-24=33
Moving to Node #0,4,2
Current State: 89:[85, 81], Operations: ['2*12=24', '57+24=81']
Exploring Operation: 85+81=166, Resulting Numbers: [166]
166,89 unequal: No Solution
Exploring Operation: 85-81=4, Resulting Numbers: [4]
4,89 unequal: No Solution
Exploring Operation: 85*81=6885, Resulting Numbers: [6885]
6885,89 unequal: No Solution
Moving to Node #0,4,1
Current State: 89:[57, 109], Operations: ['2*12=24', '85+24=109']
Exploring Operation: 109-57=52, Resulting Numbers: [52]
52,89 unequal: No Solution
Exploring Operation: 57+109=166, Resulting Numbers: [166]
166,89 unequal: No Solution
Exploring Operation: 57*109=6213, Resulting Numbers: [6213]
6213,89 unequal: No Solution
Moving to Node #0,4,0
Current State: 89:[57, 61], Operations: ['2*12=24', '85-24=61']
Exploring Operation: 61-57=4, Resulting Numbers: [4]
4,89 unequal: No Solution
Exploring Operation: 57+61=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Exploring Operation: 57*61=3477, Resulting Numbers: [3477]
3477,89 unequal: No Solution
Moving to Node #0,4,4
Current State: 89:[85, 33], Operations: ['2*12=24', '57-24=33']
Exploring Operation: 85-33=52, Resulting Numbers: [52]
52,89 unequal: No Solution
Exploring Operation: 85+33=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Exploring Operation: 85*33=2805, Resulting Numbers: [2805]
2805,89 unequal: No Solution
Moving to Node #0,4,3
Current State: 89:[24, 142], Operations: ['2*12=24', '57+85=142']
Exploring Operation: 24*142=3408, Resulting Numbers: [3408]
3408,89 unequal: No Solution
Exploring Operation: 24+142=166, Resulting Numbers: [166]
166,89 unequal: No Solution
Exploring Operation: 142-24=118, Resulting Numbers: [118]
118,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[12, 85, 114], Operations: ['57*2=114']
Exploring Operation: 114-12=102, Resulting Numbers: [85, 102]
Generated Node #0,2,0: 89:[85, 102] Operation: 114-12=102
Exploring Operation: 12+85=97, Resulting Numbers: [114, 97]
Generated Node #0,2,1: 89:[114, 97] Operation: 12+85=97
Exploring Operation: 85-12=73, Resulting Numbers: [114, 73]
Generated Node #0,2,2: 89:[114, 73] Operation: 85-12=73
Exploring Operation: 114-85=29, Resulting Numbers: [12, 29]
Generated Node #0,2,3: 89:[12, 29] Operation: 114-85=29
Exploring Operation: 12+114=126, Resulting Numbers: [85, 126]
Generated Node #0,2,4: 89:[85, 126] Operation: 12+114=126
Moving to Node #0,2,0
Current State: 89:[85, 102], Operations: ['57*2=114', '114-12=102']
Exploring Operation: 85+102=187, Resulting Numbers: [187]
187,89 unequal: No Solution
Exploring Operation: 102-85=17, Resulting Numbers: [17]
17,89 unequal: No Solution
Exploring Operation: 85*102=8670, Resulting Numbers: [8670]
8670,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[114, 97], Operations: ['57*2=114', '12+85=97']
Exploring Operation: 114-97=17, Resulting Numbers: [17]
17,89 unequal: No Solution
Exploring Operation: 114+97=211, Resulting Numbers: [211]
211,89 unequal: No Solution
Exploring Operation: 114*97=11058, Resulting Numbers: [11058]
11058,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[114, 73], Operations: ['57*2=114', '85-12=73']
Exploring Operation: 114*73=8322, Resulting Numbers: [8322]
8322,89 unequal: No Solution
Exploring Operation: 114-73=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Exploring Operation: 114+73=187, Resulting Numbers: [187]
187,89 unequal: No Solution
Moving to Node #0,2,4
Current State: 89:[85, 126], Operations: ['57*2=114', '12+114=126']
Exploring Operation: 85*126=10710, Resulting Numbers: [10710]
10710,89 unequal: No Solution
Exploring Operation: 126-85=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Exploring Operation: 85+126=211, Resulting Numbers: [211]
211,89 unequal: No Solution
Moving to Node #0,2,3
Current State: 89:[12, 29], Operations: ['57*2=114', '114-85=29']
Exploring Operation: 12+29=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,89 unequal: No Solution
Exploring Operation: 12*29=348, Resulting Numbers: [348]
348,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[12, 85, 59], Operations: ['57+2=59']
Exploring Operation: 85-12=73, Resulting Numbers: [59, 73]
Generated Node #0,0,0: 89:[59, 73] Operation: 85-12=73
Exploring Operation: 59-12=47, Resulting Numbers: [85, 47]
Generated Node #0,0,1: 89:[85, 47] Operation: 59-12=47
Exploring Operation: 12+85=97, Resulting Numbers: [59, 97]
Generated Node #0,0,2: 89:[59, 97] Operation: 12+85=97
Exploring Operation: 12+59=71, Resulting Numbers: [85, 71]
Generated Node #0,0,3: 89:[85, 71] Operation: 12+59=71
Exploring Operation: 85+59=144, Resulting Numbers: [12, 144]
Generated Node #0,0,4: 89:[12, 144] Operation: 85+59=144
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 89:[85, 71], Operations: ['57+2=59', '12+59=71']
Exploring Operation: 85-71=14, Resulting Numbers: [14]
14,89 unequal: No Solution
Exploring Operation: 85+71=156, Resulting Numbers: [156]
156,89 unequal: No Solution
Exploring Operation: 85*71=6035, Resulting Numbers: [6035]
6035,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 89:[59, 97], Operations: ['57+2=59', '12+85=97']
Exploring Operation: 97-59=38, Resulting Numbers: [38]
38,89 unequal: No Solution
Exploring Operation: 59+97=156, Resulting Numbers: [156]
156,89 unequal: No Solution
Exploring Operation: 59*97=5723, Resulting Numbers: [5723]
5723,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[59, 73], Operations: ['57+2=59', '85-12=73']
Exploring Operation: 59+73=132, Resulting Numbers: [132]
132,89 unequal: No Solution
Exploring Operation: 59*73=4307, Resulting Numbers: [4307]
4307,89 unequal: No Solution
Exploring Operation: 73-59=14, Resulting Numbers: [14]
14,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[85, 47], Operations: ['57+2=59', '59-12=47']
Exploring Operation: 85-47=38, Resulting Numbers: [38]
38,89 unequal: No Solution
Exploring Operation: 85+47=132, Resulting Numbers: [132]
132,89 unequal: No Solution
Exploring Operation: 85*47=3995, Resulting Numbers: [3995]
3995,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 89:[12, 144], Operations: ['57+2=59', '85+59=144']
Exploring Operation: 12*144=1728, Resulting Numbers: [1728]
1728,89 unequal: No Solution
Exploring Operation: 12+144=156, Resulting Numbers: [156]
156,89 unequal: No Solution
Exploring Operation: 144-12=132, Resulting Numbers: [132]
132,89 unequal: No Solution
Exploring Operation: 144/12=12, Resulting Numbers: [12]
12,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[57, 85, 14], Operations: ['2+12=14']
Exploring Operation: 85+14=99, Resulting Numbers: [57, 99]
Generated Node #0,1,0: 89:[57, 99] Operation: 85+14=99
Exploring Operation: 85-14=71, Resulting Numbers: [57, 71]
Generated Node #0,1,1: 89:[57, 71] Operation: 85-14=71
Exploring Operation: 57-14=43, Resulting Numbers: [85, 43]
Generated Node #0,1,2: 89:[85, 43] Operation: 57-14=43
Exploring Operation: 57+14=71, Resulting Numbers: [85, 71]
Generated Node #0,1,3: 89:[85, 71] Operation: 57+14=71
Exploring Operation: 57+85=142, Resulting Numbers: [14, 142]
Generated Node #0,1,4: 89:[14, 142] Operation: 57+85=142
Moving to Node #0,1,3
Current State: 89:[85, 71], Operations: ['2+12=14', '57+14=71']
Exploring Operation: 85*71=6035, Resulting Numbers: [6035]
6035,89 unequal: No Solution
Exploring Operation: 85+71=156, Resulting Numbers: [156]
156,89 unequal: No Solution
Exploring Operation: 85-71=14, Resulting Numbers: [14]
14,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[57, 99], Operations: ['2+12=14', '85+14=99']
Exploring Operation: 57*99=5643, Resulting Numbers: [5643]
5643,89 unequal: No Solution
Exploring Operation: 57+99=156, Resulting Numbers: [156]
156,89 unequal: No Solution
Exploring Operation: 99-57=42, Resulting Numbers: [42]
42,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[57, 71], Operations: ['2+12=14', '85-14=71']
Exploring Operation: 57+71=128, Resulting Numbers: [128]
128,89 unequal: No Solution
Exploring Operation: 71-57=14, Resulting Numbers: [14]
14,89 unequal: No Solution
Exploring Operation: 57*71=4047, Resulting Numbers: [4047]
4047,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[85, 43], Operations: ['2+12=14', '57-14=43']
Exploring Operation: 85*43=3655, Resulting Numbers: [3655]
3655,89 unequal: No Solution
Exploring Operation: 85+43=128, Resulting Numbers: [128]
128,89 unequal: No Solution
Exploring Operation: 85-43=42, Resulting Numbers: [42]
42,89 unequal: No Solution
Moving to Node #0,1,4
Current State: 89:[14, 142], Operations: ['2+12=14', '57+85=142']
Exploring Operation: 14*142=1988, Resulting Numbers: [1988]
1988,89 unequal: No Solution
Exploring Operation: 142-14=128, Resulting Numbers: [128]
128,89 unequal: No Solution
Exploring Operation: 14+142=156, Resulting Numbers: [156]
156,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 89:[2, 85, 69], Operations: ['57+12=69']
Exploring Operation: 69-2=67, Resulting Numbers: [85, 67]
Generated Node #0,3,0: 89:[85, 67] Operation: 69-2=67
Exploring Operation: 85-2=83, Resulting Numbers: [69, 83]
Generated Node #0,3,1: 89:[69, 83] Operation: 85-2=83
Exploring Operation: 2*69=138, Resulting Numbers: [85, 138]
Generated Node #0,3,2: 89:[85, 138] Operation: 2*69=138
Exploring Operation: 2+69=71, Resulting Numbers: [85, 71]
Generated Node #0,3,3: 89:[85, 71] Operation: 2+69=71
Exploring Operation: 2+85=87, Resulting Numbers: [69, 87]
Generated Node #0,3,4: 89:[69, 87] Operation: 2+85=87
Moving to Node #0,3,3
Current State: 89:[85, 71], Operations: ['57+12=69', '2+69=71']
Exploring Operation: 85+71=156, Resulting Numbers: [156]
156,89 unequal: No Solution
Exploring Operation: 85*71=6035, Resulting Numbers: [6035]
6035,89 unequal: No Solution
Exploring Operation: 85-71=14, Resulting Numbers: [14]
14,89 unequal: No Solution
Moving to Node #0,3,4
Current State: 89:[69, 87], Operations: ['57+12=69', '2+85=87']
Exploring Operation: 87-69=18, Resulting Numbers: [18]
18,89 unequal: No Solution
Exploring Operation: 69+87=156, Resulting Numbers: [156]
156,89 unequal: No Solution
Exploring Operation: 69*87=6003, Resulting Numbers: [6003]
6003,89 unequal: No Solution
Moving to Node #0,3,0
Current State: 89:[85, 67], Operations: ['57+12=69', '69-2=67']
Exploring Operation: 85-67=18, Resulting Numbers: [18]
18,89 unequal: No Solution
Exploring Operation: 85*67=5695, Resulting Numbers: [5695]
5695,89 unequal: No Solution
Exploring Operation: 85+67=152, Resulting Numbers: [152]
152,89 unequal: No Solution
Moving to Node #0,3,1
Current State: 89:[69, 83], Operations: ['57+12=69', '85-2=83']
Exploring Operation: 69*83=5727, Resulting Numbers: [5727]
5727,89 unequal: No Solution
Exploring Operation: 69+83=152, Resulting Numbers: [152]
152,89 unequal: No Solution
Exploring Operation: 83-69=14, Resulting Numbers: [14]
14,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[85, 138], Operations: ['57+12=69', '2*69=138']
Exploring Operation: 138-85=53, Resulting Numbers: [53]
53,89 unequal: No Solution
Exploring Operation: 85+138=223, Resulting Numbers: [223]
223,89 unequal: No Solution
Exploring Operation: 85*138=11730, Resulting Numbers: [11730]
11730,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
63,
91,
14,
44
] | 49 | [
"63+91=154",
"14*154=2156",
"2156/44=49"
] | Current State: 49:[63, 91, 14, 44], Operations: []
Exploring Operation: 63+91=154, Resulting Numbers: [14, 44, 154]
Generated Node #2: [14, 44, 154] from Operation: 63+91=154
Current State: 49:[14, 44, 154], Operations: ['63+91=154']
Exploring Operation: 14*154=2156, Resulting Numbers: [44, 2156]
Generated Node #3: [44, 2156] from Operation: 14*154=2156
Current State: 49:[44, 2156], Operations: ['63+91=154', '14*154=2156']
Exploring Operation: 2156/44=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[63, 91, 14, 44], Operations: []
Exploring Operation: 91-44=47, Resulting Numbers: [63, 14, 47]
Generated Node #0,0: 49:[63, 14, 47] Operation: 91-44=47
Moving to Node #0,0
Current State: 49:[63, 14, 47], Operations: ['91-44=47']
Exploring Operation: 63-14=49, Resulting Numbers: [47, 49]
Generated Node #0,0,0: 49:[47, 49] Operation: 63-14=49
Moving to Node #0,0,0
Current State: 49:[47, 49], Operations: ['91-44=47', '63-14=49']
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,49 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
98,
22,
45,
13
] | 18 | [
"98-22=76",
"45+13=58",
"76-58=18"
] | Current State: 18:[98, 22, 45, 13], Operations: []
Exploring Operation: 98-22=76, Resulting Numbers: [45, 13, 76]
Generated Node #2: [45, 13, 76] from Operation: 98-22=76
Current State: 18:[45, 13, 76], Operations: ['98-22=76']
Exploring Operation: 45+13=58, Resulting Numbers: [76, 58]
Generated Node #3: [76, 58] from Operation: 45+13=58
Current State: 18:[76, 58], Operations: ['98-22=76', '45+13=58']
Exploring Operation: 76-58=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[98, 22, 45, 13], Operations: []
Exploring Operation: 98-45=53, Resulting Numbers: [22, 13, 53]
Generated Node #0,0: 18:[22, 13, 53] Operation: 98-45=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[22, 13, 53], Operations: ['98-45=53']
Exploring Operation: 53-22=31, Resulting Numbers: [13, 31]
Generated Node #0,0,0: 18:[13, 31] Operation: 53-22=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 18:[13, 31], Operations: ['98-45=53', '53-22=31']
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[98, 22, 45, 13], Operations: []
Exploring Operation: 98-45=53, Resulting Numbers: [22, 13, 53]
Generated Node #0,0: 18:[22, 13, 53] Operation: 98-45=53
Moving to Node #0,0
Current State: 18:[22, 13, 53], Operations: ['98-45=53']
Exploring Operation: 53-22=31, Resulting Numbers: [13, 31]
Generated Node #0,0,0: 18:[13, 31] Operation: 53-22=31
Moving to Node #0,0,0
Current State: 18:[13, 31], Operations: ['98-45=53', '53-22=31']
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
90,
26,
38,
71
] | 97 | [
"90-26=64",
"71-38=33",
"64+33=97"
] | Current State: 97:[90, 26, 38, 71], Operations: []
Exploring Operation: 90-26=64, Resulting Numbers: [38, 71, 64]
Generated Node #2: [38, 71, 64] from Operation: 90-26=64
Current State: 97:[38, 71, 64], Operations: ['90-26=64']
Exploring Operation: 71-38=33, Resulting Numbers: [64, 33]
Generated Node #3: [64, 33] from Operation: 71-38=33
Current State: 97:[64, 33], Operations: ['90-26=64', '71-38=33']
Exploring Operation: 64+33=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[90, 26, 38, 71], Operations: []
Exploring Operation: 38+71=109, Resulting Numbers: [90, 26, 109]
Generated Node #0,0: 97:[90, 26, 109] Operation: 38+71=109
Exploring Operation: 26+71=97, Resulting Numbers: [90, 38, 97]
Generated Node #0,1: 97:[90, 38, 97] Operation: 26+71=97
Exploring Operation: 26+38=64, Resulting Numbers: [90, 71, 64]
Generated Node #0,2: 97:[90, 71, 64] Operation: 26+38=64
Moving to Node #0,1
Current State: 97:[90, 38, 97], Operations: ['26+71=97']
Exploring Operation: 90-38=52, Resulting Numbers: [97, 52]
Generated Node #0,1,0: 97:[97, 52] Operation: 90-38=52
Exploring Operation: 38+97=135, Resulting Numbers: [90, 135]
Generated Node #0,1,1: 97:[90, 135] Operation: 38+97=135
Exploring Operation: 90+38=128, Resulting Numbers: [97, 128]
Generated Node #0,1,2: 97:[97, 128] Operation: 90+38=128
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 97:[97, 128], Operations: ['26+71=97', '90+38=128']
Exploring Operation: 97*128=12416, Resulting Numbers: [12416]
12416,97 unequal: No Solution
Exploring Operation: 128-97=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Exploring Operation: 97+128=225, Resulting Numbers: [225]
225,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,0
Current State: 97:[97, 52], Operations: ['26+71=97', '90-38=52']
Exploring Operation: 97+52=149, Resulting Numbers: [149]
149,97 unequal: No Solution
Exploring Operation: 97*52=5044, Resulting Numbers: [5044]
5044,97 unequal: No Solution
Exploring Operation: 97-52=45, Resulting Numbers: [45]
45,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,1
Current State: 97:[90, 135], Operations: ['26+71=97', '38+97=135']
Exploring Operation: 135-90=45, Resulting Numbers: [45]
45,97 unequal: No Solution
Exploring Operation: 90+135=225, Resulting Numbers: [225]
225,97 unequal: No Solution
Exploring Operation: 90*135=12150, Resulting Numbers: [12150]
12150,97 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: 97:[90, 71, 64], Operations: ['26+38=64']
Exploring Operation: 90+71=161, Resulting Numbers: [64, 161]
Generated Node #0,2,0: 97:[64, 161] Operation: 90+71=161
Exploring Operation: 71+64=135, Resulting Numbers: [90, 135]
Generated Node #0,2,1: 97:[90, 135] Operation: 71+64=135
Exploring Operation: 90+64=154, Resulting Numbers: [71, 154]
Generated Node #0,2,2: 97:[71, 154] Operation: 90+64=154
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 97:[90, 135], Operations: ['26+38=64', '71+64=135']
Exploring Operation: 135-90=45, Resulting Numbers: [45]
45,97 unequal: No Solution
Exploring Operation: 90+135=225, Resulting Numbers: [225]
225,97 unequal: No Solution
Exploring Operation: 90*135=12150, Resulting Numbers: [12150]
12150,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,2,2
Current State: 97:[71, 154], Operations: ['26+38=64', '90+64=154']
Exploring Operation: 71*154=10934, Resulting Numbers: [10934]
10934,97 unequal: No Solution
Exploring Operation: 71+154=225, Resulting Numbers: [225]
225,97 unequal: No Solution
Exploring Operation: 154-71=83, Resulting Numbers: [83]
83,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,2,0
Current State: 97:[64, 161], Operations: ['26+38=64', '90+71=161']
Exploring Operation: 64+161=225, Resulting Numbers: [225]
225,97 unequal: No Solution
Exploring Operation: 161-64=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[90, 26, 38, 71], Operations: []
Exploring Operation: 26+38=64, Resulting Numbers: [90, 71, 64]
Generated Node #0,2: 97:[90, 71, 64] Operation: 26+38=64
Moving to Node #0,2
Current State: 97:[90, 71, 64], Operations: ['26+38=64']
Exploring Operation: 90+71=161, Resulting Numbers: [64, 161]
Generated Node #0,2,0: 97:[64, 161] Operation: 90+71=161
Moving to Node #0,2,0
Current State: 97:[64, 161], Operations: ['26+38=64', '90+71=161']
Exploring Operation: 161-64=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_3 | mult_heuristic |
[
1,
89,
91,
24
] | 24 | [
"1+89=90",
"91-90=1",
"24*1=24"
] | Current State: 24:[1, 89, 91, 24], Operations: []
Exploring Operation: 1+89=90, Resulting Numbers: [91, 24, 90]
Generated Node #2: [91, 24, 90] from Operation: 1+89=90
Current State: 24:[91, 24, 90], Operations: ['1+89=90']
Exploring Operation: 91-90=1, Resulting Numbers: [24, 1]
Generated Node #3: [24, 1] from Operation: 91-90=1
Current State: 24:[24, 1], Operations: ['1+89=90', '91-90=1']
Exploring Operation: 24*1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[1, 89, 91, 24], Operations: []
Exploring Operation: 91-89=2, Resulting Numbers: [1, 24, 2]
Generated Node #0,0: 24:[1, 24, 2] Operation: 91-89=2
Moving to Node #0,0
Current State: 24:[1, 24, 2], Operations: ['91-89=2']
Exploring Operation: 1*24=24, Resulting Numbers: [2, 24]
Generated Node #0,0,0: 24:[2, 24] Operation: 1*24=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[2, 24], Operations: ['91-89=2', '1*24=24']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,24 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 |
[
55,
65,
71,
8
] | 57 | [
"55+65=120",
"71-8=63",
"120-63=57"
] | Current State: 57:[55, 65, 71, 8], Operations: []
Exploring Operation: 55+65=120, Resulting Numbers: [71, 8, 120]
Generated Node #2: [71, 8, 120] from Operation: 55+65=120
Current State: 57:[71, 8, 120], Operations: ['55+65=120']
Exploring Operation: 71-8=63, Resulting Numbers: [120, 63]
Generated Node #3: [120, 63] from Operation: 71-8=63
Current State: 57:[120, 63], Operations: ['55+65=120', '71-8=63']
Exploring Operation: 120-63=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[55, 65, 71, 8], Operations: []
Exploring Operation: 71-65=6, Resulting Numbers: [55, 8, 6]
Generated Node #0,0: 57:[55, 8, 6] Operation: 71-65=6
Exploring Operation: 71-8=63, Resulting Numbers: [55, 65, 63]
Generated Node #0,1: 57:[55, 65, 63] Operation: 71-8=63
Exploring Operation: 65-8=57, Resulting Numbers: [55, 71, 57]
Generated Node #0,2: 57:[55, 71, 57] Operation: 65-8=57
Exploring Operation: 71-55=16, Resulting Numbers: [65, 8, 16]
Generated Node #0,3: 57:[65, 8, 16] Operation: 71-55=16
Exploring Operation: 65-55=10, Resulting Numbers: [71, 8, 10]
Generated Node #0,4: 57:[71, 8, 10] Operation: 65-55=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[55, 8, 6], Operations: ['71-65=6']
Exploring Operation: 55+6=61, Resulting Numbers: [8, 61]
Generated Node #0,0,0: 57:[8, 61] Operation: 55+6=61
Exploring Operation: 55+8=63, Resulting Numbers: [6, 63]
Generated Node #0,0,1: 57:[6, 63] Operation: 55+8=63
Exploring Operation: 8-6=2, Resulting Numbers: [55, 2]
Generated Node #0,0,2: 57:[55, 2] Operation: 8-6=2
Exploring Operation: 8+6=14, Resulting Numbers: [55, 14]
Generated Node #0,0,3: 57:[55, 14] Operation: 8+6=14
Exploring Operation: 8*6=48, Resulting Numbers: [55, 48]
Generated Node #0,0,4: 57:[55, 48] Operation: 8*6=48
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 57:[55, 2], Operations: ['71-65=6', '8-6=2']
Exploring Operation: 55*2=110, Resulting Numbers: [110]
110,57 unequal: No Solution
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[55, 65, 71, 8], Operations: []
Exploring Operation: 71-65=6, Resulting Numbers: [55, 8, 6]
Generated Node #0,0: 57:[55, 8, 6] Operation: 71-65=6
Moving to Node #0,0
Current State: 57:[55, 8, 6], Operations: ['71-65=6']
Exploring Operation: 8-6=2, Resulting Numbers: [55, 2]
Generated Node #0,0,2: 57:[55, 2] Operation: 8-6=2
Moving to Node #0,0,2
Current State: 57:[55, 2], Operations: ['71-65=6', '8-6=2']
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
63,
45,
1,
70
] | 53 | [
"63-45=18",
"1+70=71",
"71-18=53"
] | Current State: 53:[63, 45, 1, 70], Operations: []
Exploring Operation: 63-45=18, Resulting Numbers: [1, 70, 18]
Generated Node #2: [1, 70, 18] from Operation: 63-45=18
Current State: 53:[1, 70, 18], Operations: ['63-45=18']
Exploring Operation: 1+70=71, Resulting Numbers: [18, 71]
Generated Node #3: [18, 71] from Operation: 1+70=71
Current State: 53:[18, 71], Operations: ['63-45=18', '1+70=71']
Exploring Operation: 71-18=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[63, 45, 1, 70], Operations: []
Exploring Operation: 70-1=69, Resulting Numbers: [63, 45, 69]
Generated Node #0,0: 53:[63, 45, 69] Operation: 70-1=69
Exploring Operation: 45+1=46, Resulting Numbers: [63, 70, 46]
Generated Node #0,1: 53:[63, 70, 46] Operation: 45+1=46
Exploring Operation: 63-1=62, Resulting Numbers: [45, 70, 62]
Generated Node #0,2: 53:[45, 70, 62] Operation: 63-1=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[63, 45, 69], Operations: ['70-1=69']
Exploring Operation: 69-63=6, Resulting Numbers: [45, 6]
Generated Node #0,0,0: 53:[45, 6] Operation: 69-63=6
Exploring Operation: 69-45=24, Resulting Numbers: [63, 24]
Generated Node #0,0,1: 53:[63, 24] Operation: 69-45=24
Exploring Operation: 63-45=18, Resulting Numbers: [69, 18]
Generated Node #0,0,2: 53:[69, 18] Operation: 63-45=18
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 53:[63, 24], Operations: ['70-1=69', '69-45=24']
Exploring Operation: 63+24=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Exploring Operation: 63-24=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Exploring Operation: 63*24=1512, Resulting Numbers: [1512]
1512,53 unequal: No Solution
No 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: 53:[69, 18], Operations: ['70-1=69', '63-45=18']
Exploring Operation: 69*18=1242, Resulting Numbers: [1242]
1242,53 unequal: No Solution
Exploring Operation: 69+18=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Exploring Operation: 69-18=51, Resulting Numbers: [51]
51,53 unequal: No Solution
No 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: 53:[45, 6], Operations: ['70-1=69', '69-63=6']
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Exploring Operation: 45*6=270, Resulting Numbers: [270]
270,53 unequal: No Solution
Exploring Operation: 45+6=51, Resulting Numbers: [51]
51,53 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: 53:[63, 70, 46], Operations: ['45+1=46']
Exploring Operation: 63-46=17, Resulting Numbers: [70, 17]
Generated Node #0,1,0: 53:[70, 17] Operation: 63-46=17
Exploring Operation: 70-63=7, Resulting Numbers: [46, 7]
Generated Node #0,1,1: 53:[46, 7] Operation: 70-63=7
Exploring Operation: 70-46=24, Resulting Numbers: [63, 24]
Generated Node #0,1,2: 53:[63, 24] Operation: 70-46=24
Moving to Node #0,1,2
Current State: 53:[63, 24], Operations: ['45+1=46', '70-46=24']
Exploring Operation: 63-24=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Exploring Operation: 63*24=1512, Resulting Numbers: [1512]
1512,53 unequal: No Solution
Exploring Operation: 63+24=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[70, 17], Operations: ['45+1=46', '63-46=17']
Exploring Operation: 70+17=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Exploring Operation: 70*17=1190, Resulting Numbers: [1190]
1190,53 unequal: No Solution
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[63, 45, 1, 70], Operations: []
Exploring Operation: 45+1=46, Resulting Numbers: [63, 70, 46]
Generated Node #0,1: 53:[63, 70, 46] Operation: 45+1=46
Moving to Node #0,1
Current State: 53:[63, 70, 46], Operations: ['45+1=46']
Exploring Operation: 63-46=17, Resulting Numbers: [70, 17]
Generated Node #0,1,0: 53:[70, 17] Operation: 63-46=17
Moving to Node #0,1,0
Current State: 53:[70, 17], Operations: ['45+1=46', '63-46=17']
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_3 | sum_heuristic |
[
56,
63,
57,
12
] | 40 | [
"57-12=45",
"56*45=2520",
"2520/63=40"
] | Current State: 40:[56, 63, 57, 12], Operations: []
Exploring Operation: 57-12=45, Resulting Numbers: [56, 63, 45]
Generated Node #2: [56, 63, 45] from Operation: 57-12=45
Current State: 40:[56, 63, 45], Operations: ['57-12=45']
Exploring Operation: 56*45=2520, Resulting Numbers: [63, 2520]
Generated Node #3: [63, 2520] from Operation: 56*45=2520
Current State: 40:[63, 2520], Operations: ['57-12=45', '56*45=2520']
Exploring Operation: 2520/63=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[56, 63, 57, 12], Operations: []
Exploring Operation: 57-56=1, Resulting Numbers: [63, 12, 1]
Generated Node #0,0: 40:[63, 12, 1] Operation: 57-56=1
Exploring Operation: 63-57=6, Resulting Numbers: [56, 12, 6]
Generated Node #0,1: 40:[56, 12, 6] Operation: 63-57=6
Exploring Operation: 63-56=7, Resulting Numbers: [57, 12, 7]
Generated Node #0,2: 40:[57, 12, 7] Operation: 63-56=7
Exploring Operation: 63-12=51, Resulting Numbers: [56, 57, 51]
Generated Node #0,3: 40:[56, 57, 51] Operation: 63-12=51
Exploring Operation: 56-12=44, Resulting Numbers: [63, 57, 44]
Generated Node #0,4: 40:[63, 57, 44] Operation: 56-12=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[56, 12, 6], Operations: ['63-57=6']
Exploring Operation: 12+6=18, Resulting Numbers: [56, 18]
Generated Node #0,1,0: 40:[56, 18] Operation: 12+6=18
Exploring Operation: 12-6=6, Resulting Numbers: [56, 6]
Generated Node #0,1,1: 40:[56, 6] Operation: 12-6=6
Exploring Operation: 56-12=44, Resulting Numbers: [6, 44]
Generated Node #0,1,2: 40:[6, 44] Operation: 56-12=44
Exploring Operation: 12/6=2, Resulting Numbers: [56, 2]
Generated Node #0,1,3: 40:[56, 2] Operation: 12/6=2
Exploring Operation: 56-6=50, Resulting Numbers: [12, 50]
Generated Node #0,1,4: 40:[12, 50] Operation: 56-6=50
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 40:[6, 44], Operations: ['63-57=6', '56-12=44']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,40 unequal: No Solution
Exploring Operation: 6*44=264, Resulting Numbers: [264]
264,40 unequal: No Solution
No 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: 40:[12, 50], Operations: ['63-57=6', '56-6=50']
Exploring Operation: 12+50=62, Resulting Numbers: [62]
62,40 unequal: No Solution
Exploring Operation: 12*50=600, Resulting Numbers: [600]
600,40 unequal: No Solution
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,40 unequal: No Solution
No 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: 40:[56, 2], Operations: ['63-57=6', '12/6=2']
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,40 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 56*2=112, Resulting Numbers: [112]
112,40 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,40 unequal: No Solution
No 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: 40:[56, 6], Operations: ['63-57=6', '12-6=6']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,40 unequal: No Solution
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,40 unequal: No Solution
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,40 unequal: No Solution
No 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: 40:[56, 18], Operations: ['63-57=6', '12+6=18']
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,40 unequal: No Solution
Exploring Operation: 56*18=1008, Resulting Numbers: [1008]
1008,40 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: 40:[57, 12, 7], Operations: ['63-56=7']
Exploring Operation: 57+7=64, Resulting Numbers: [12, 64]
Generated Node #0,2,0: 40:[12, 64] Operation: 57+7=64
Exploring Operation: 57-12=45, Resulting Numbers: [7, 45]
Generated Node #0,2,1: 40:[7, 45] Operation: 57-12=45
Exploring Operation: 57-7=50, Resulting Numbers: [12, 50]
Generated Node #0,2,2: 40:[12, 50] Operation: 57-7=50
Exploring Operation: 12-7=5, Resulting Numbers: [57, 5]
Generated Node #0,2,3: 40:[57, 5] Operation: 12-7=5
Exploring Operation: 12+7=19, Resulting Numbers: [57, 19]
Generated Node #0,2,4: 40:[57, 19] Operation: 12+7=19
Moving to Node #0,2,1
Current State: 40:[7, 45], Operations: ['63-56=7', '57-12=45']
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,40 unequal: No Solution
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,40 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Moving to Node #0,2,2
Current State: 40:[12, 50], Operations: ['63-56=7', '57-7=50']
Exploring Operation: 12+50=62, Resulting Numbers: [62]
62,40 unequal: No Solution
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Exploring Operation: 12*50=600, Resulting Numbers: [600]
600,40 unequal: No Solution
Moving to Node #0,2,3
Current State: 40:[57, 5], Operations: ['63-56=7', '12-7=5']
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,40 unequal: No Solution
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,40 unequal: No Solution
Exploring Operation: 57*5=285, Resulting Numbers: [285]
285,40 unequal: No Solution
Moving to Node #0,2,4
Current State: 40:[57, 19], Operations: ['63-56=7', '12+7=19']
Exploring Operation: 57*19=1083, Resulting Numbers: [1083]
1083,40 unequal: No Solution
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Exploring Operation: 57+19=76, Resulting Numbers: [76]
76,40 unequal: No Solution
Moving to Node #0,2,0
Current State: 40:[12, 64], Operations: ['63-56=7', '57+7=64']
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,40 unequal: No Solution
Exploring Operation: 12*64=768, Resulting Numbers: [768]
768,40 unequal: No Solution
Exploring Operation: 12+64=76, Resulting Numbers: [76]
76,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,0
Current State: 40:[63, 12, 1], Operations: ['57-56=1']
Exploring Operation: 12-1=11, Resulting Numbers: [63, 11]
Generated Node #0,0,0: 40:[63, 11] Operation: 12-1=11
Exploring Operation: 63-1=62, Resulting Numbers: [12, 62]
Generated Node #0,0,1: 40:[12, 62] Operation: 63-1=62
Exploring Operation: 63*1=63, Resulting Numbers: [12, 63]
Generated Node #0,0,2: 40:[12, 63] Operation: 63*1=63
Exploring Operation: 63-12=51, Resulting Numbers: [1, 51]
Generated Node #0,0,3: 40:[1, 51] Operation: 63-12=51
Exploring Operation: 63/1=63, Resulting Numbers: [12, 63]
Generated Node #0,0,4: 40:[12, 63] Operation: 63/1=63
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 40:[1, 51], Operations: ['57-56=1', '63-12=51']
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,40 unequal: No Solution
Exploring Operation: 1+51=52, Resulting Numbers: [52]
52,40 unequal: No Solution
Exploring Operation: 1*51=51, Resulting Numbers: [51]
51,40 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,40 unequal: No Solution
No 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: 40:[63, 11], Operations: ['57-56=1', '12-1=11']
Exploring Operation: 63+11=74, Resulting Numbers: [74]
74,40 unequal: No Solution
Exploring Operation: 63*11=693, Resulting Numbers: [693]
693,40 unequal: No Solution
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,40 unequal: No Solution
No 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: 40:[12, 62], Operations: ['57-56=1', '63-1=62']
Exploring Operation: 12+62=74, Resulting Numbers: [74]
74,40 unequal: No Solution
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,40 unequal: No Solution
Exploring Operation: 12*62=744, Resulting Numbers: [744]
744,40 unequal: No Solution
No 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: 40:[12, 63], Operations: ['57-56=1', '63*1=63']
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,40 unequal: No Solution
Exploring Operation: 12+63=75, Resulting Numbers: [75]
75,40 unequal: No Solution
Exploring Operation: 12*63=756, Resulting Numbers: [756]
756,40 unequal: No Solution
No 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: 40:[12, 63], Operations: ['57-56=1', '63/1=63']
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,40 unequal: No Solution
Exploring Operation: 12*63=756, Resulting Numbers: [756]
756,40 unequal: No Solution
Exploring Operation: 12+63=75, Resulting Numbers: [75]
75,40 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: 40:[56, 57, 51], Operations: ['63-12=51']
Exploring Operation: 56+57=113, Resulting Numbers: [51, 113]
Generated Node #0,3,0: 40:[51, 113] Operation: 56+57=113
Exploring Operation: 57-51=6, Resulting Numbers: [56, 6]
Generated Node #0,3,1: 40:[56, 6] Operation: 57-51=6
Exploring Operation: 56-51=5, Resulting Numbers: [57, 5]
Generated Node #0,3,2: 40:[57, 5] Operation: 56-51=5
Exploring Operation: 57-56=1, Resulting Numbers: [51, 1]
Generated Node #0,3,3: 40:[51, 1] Operation: 57-56=1
Exploring Operation: 56+51=107, Resulting Numbers: [57, 107]
Generated Node #0,3,4: 40:[57, 107] Operation: 56+51=107
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 40:[51, 1], Operations: ['63-12=51', '57-56=1']
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,40 unequal: No Solution
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,40 unequal: No Solution
Exploring Operation: 51+1=52, Resulting Numbers: [52]
52,40 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,40 unequal: No Solution
No 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: 40:[56, 6], Operations: ['63-12=51', '57-51=6']
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,40 unequal: No Solution
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,40 unequal: No Solution
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,40 unequal: No Solution
No 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: 40:[57, 5], Operations: ['63-12=51', '56-51=5']
Exploring Operation: 57*5=285, Resulting Numbers: [285]
285,40 unequal: No Solution
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,40 unequal: No Solution
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,40 unequal: No Solution
No 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: 40:[51, 113], Operations: ['63-12=51', '56+57=113']
Exploring Operation: 51*113=5763, Resulting Numbers: [5763]
5763,40 unequal: No Solution
Exploring Operation: 51+113=164, Resulting Numbers: [164]
164,40 unequal: No Solution
Exploring Operation: 113-51=62, Resulting Numbers: [62]
62,40 unequal: No Solution
No 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: 40:[57, 107], Operations: ['63-12=51', '56+51=107']
Exploring Operation: 57*107=6099, Resulting Numbers: [6099]
6099,40 unequal: No Solution
Exploring Operation: 57+107=164, Resulting Numbers: [164]
164,40 unequal: No Solution
Exploring Operation: 107-57=50, Resulting Numbers: [50]
50,40 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: 40:[63, 57, 44], Operations: ['56-12=44']
Exploring Operation: 63+44=107, Resulting Numbers: [57, 107]
Generated Node #0,4,0: 40:[57, 107] Operation: 63+44=107
Exploring Operation: 57-44=13, Resulting Numbers: [63, 13]
Generated Node #0,4,1: 40:[63, 13] Operation: 57-44=13
Exploring Operation: 63-44=19, Resulting Numbers: [57, 19]
Generated Node #0,4,2: 40:[57, 19] Operation: 63-44=19
Exploring Operation: 63-57=6, Resulting Numbers: [44, 6]
Generated Node #0,4,3: 40:[44, 6] Operation: 63-57=6
Exploring Operation: 63+57=120, Resulting Numbers: [44, 120]
Generated Node #0,4,4: 40:[44, 120] Operation: 63+57=120
Moving to Node #0,4,3
Current State: 40:[44, 6], Operations: ['56-12=44', '63-57=6']
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,40 unequal: No Solution
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,40 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Moving to Node #0,4,2
Current State: 40:[57, 19], Operations: ['56-12=44', '63-44=19']
Exploring Operation: 57+19=76, Resulting Numbers: [76]
76,40 unequal: No Solution
Exploring Operation: 57*19=1083, Resulting Numbers: [1083]
1083,40 unequal: No Solution
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Moving to Node #0,4,1
Current State: 40:[63, 13], Operations: ['56-12=44', '57-44=13']
Exploring Operation: 63*13=819, Resulting Numbers: [819]
819,40 unequal: No Solution
Exploring Operation: 63+13=76, Resulting Numbers: [76]
76,40 unequal: No Solution
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,40 unequal: No Solution
Moving to Node #0,4,0
Current State: 40:[57, 107], Operations: ['56-12=44', '63+44=107']
Exploring Operation: 107-57=50, Resulting Numbers: [50]
50,40 unequal: No Solution
Exploring Operation: 57+107=164, Resulting Numbers: [164]
164,40 unequal: No Solution
Exploring Operation: 57*107=6099, Resulting Numbers: [6099]
6099,40 unequal: No Solution
Moving to Node #0,4,4
Current State: 40:[44, 120], Operations: ['56-12=44', '63+57=120']
Exploring Operation: 44+120=164, Resulting Numbers: [164]
164,40 unequal: No Solution
Exploring Operation: 44*120=5280, Resulting Numbers: [5280]
5280,40 unequal: No Solution
Exploring Operation: 120-44=76, Resulting Numbers: [76]
76,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
5,
49,
90,
22
] | 58 | [
"5+49=54",
"90+22=112",
"112-54=58"
] | Current State: 58:[5, 49, 90, 22], Operations: []
Exploring Operation: 5+49=54, Resulting Numbers: [90, 22, 54]
Generated Node #2: [90, 22, 54] from Operation: 5+49=54
Current State: 58:[90, 22, 54], Operations: ['5+49=54']
Exploring Operation: 90+22=112, Resulting Numbers: [54, 112]
Generated Node #3: [54, 112] from Operation: 90+22=112
Current State: 58:[54, 112], Operations: ['5+49=54', '90+22=112']
Exploring Operation: 112-54=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[5, 49, 90, 22], Operations: []
Exploring Operation: 90-22=68, Resulting Numbers: [5, 49, 68]
Generated Node #0,0: 58:[5, 49, 68] Operation: 90-22=68
Exploring Operation: 90/5=18, Resulting Numbers: [49, 22, 18]
Generated Node #0,1: 58:[49, 22, 18] Operation: 90/5=18
Exploring Operation: 49-22=27, Resulting Numbers: [5, 90, 27]
Generated Node #0,2: 58:[5, 90, 27] Operation: 49-22=27
Exploring Operation: 90-49=41, Resulting Numbers: [5, 22, 41]
Generated Node #0,3: 58:[5, 22, 41] Operation: 90-49=41
Moving to Node #0,0
Current State: 58:[5, 49, 68], Operations: ['90-22=68']
Exploring Operation: 5+49=54, Resulting Numbers: [68, 54]
Generated Node #0,0,0: 58:[68, 54] Operation: 5+49=54
Exploring Operation: 68-49=19, Resulting Numbers: [5, 19]
Generated Node #0,0,1: 58:[5, 19] Operation: 68-49=19
Exploring Operation: 68-5=63, Resulting Numbers: [49, 63]
Generated Node #0,0,2: 58:[49, 63] Operation: 68-5=63
Exploring Operation: 49-5=44, Resulting Numbers: [68, 44]
Generated Node #0,0,3: 58:[68, 44] Operation: 49-5=44
Moving to Node #0,3
Current State: 58:[5, 22, 41], Operations: ['90-49=41']
Exploring Operation: 5+22=27, Resulting Numbers: [41, 27]
Generated Node #0,3,0: 58:[41, 27] Operation: 5+22=27
Exploring Operation: 41-5=36, Resulting Numbers: [22, 36]
Generated Node #0,3,1: 58:[22, 36] Operation: 41-5=36
Exploring Operation: 41-22=19, Resulting Numbers: [5, 19]
Generated Node #0,3,2: 58:[5, 19] Operation: 41-22=19
Exploring Operation: 22+41=63, Resulting Numbers: [5, 63]
Generated Node #0,3,3: 58:[5, 63] Operation: 22+41=63
Moving to Node #0,1
Current State: 58:[49, 22, 18], Operations: ['90/5=18']
Exploring Operation: 49+18=67, Resulting Numbers: [22, 67]
Generated Node #0,1,0: 58:[22, 67] Operation: 49+18=67
Exploring Operation: 49-22=27, Resulting Numbers: [18, 27]
Generated Node #0,1,1: 58:[18, 27] Operation: 49-22=27
Exploring Operation: 22-18=4, Resulting Numbers: [49, 4]
Generated Node #0,1,2: 58:[49, 4] Operation: 22-18=4
Exploring Operation: 49-18=31, Resulting Numbers: [22, 31]
Generated Node #0,1,3: 58:[22, 31] Operation: 49-18=31
Moving to Node #0,2
Current State: 58:[5, 90, 27], Operations: ['49-22=27']
Exploring Operation: 90-5=85, Resulting Numbers: [27, 85]
Generated Node #0,2,0: 58:[27, 85] Operation: 90-5=85
Exploring Operation: 90/5=18, Resulting Numbers: [27, 18]
Generated Node #0,2,1: 58:[27, 18] Operation: 90/5=18
Exploring Operation: 90-27=63, Resulting Numbers: [5, 63]
Generated Node #0,2,2: 58:[5, 63] Operation: 90-27=63
Exploring Operation: 5+27=32, Resulting Numbers: [90, 32]
Generated Node #0,2,3: 58:[90, 32] Operation: 5+27=32
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 58:[5, 63], Operations: ['49-22=27', '90-27=63']
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[5, 49, 90, 22], Operations: []
Exploring Operation: 49-22=27, Resulting Numbers: [5, 90, 27]
Generated Node #0,2: 58:[5, 90, 27] Operation: 49-22=27
Moving to Node #0,2
Current State: 58:[5, 90, 27], Operations: ['49-22=27']
Exploring Operation: 90-27=63, Resulting Numbers: [5, 63]
Generated Node #0,2,2: 58:[5, 63] Operation: 90-27=63
Moving to Node #0,2,2
Current State: 58:[5, 63], Operations: ['49-22=27', '90-27=63']
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_4 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.