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 |
|---|---|---|---|---|---|---|---|---|
[
17,
10,
42,
34
] | 30 | [
"34/17=2",
"42-10=32",
"32-2=30"
] | Current State: 30:[17, 10, 42, 34], Operations: []
Exploring Operation: 34/17=2, Resulting Numbers: [10, 42, 2]
Generated Node #2: [10, 42, 2] from Operation: 34/17=2
Current State: 30:[10, 42, 2], Operations: ['34/17=2']
Exploring Operation: 42-10=32, Resulting Numbers: [2, 32]
Generated Node #3: [2, 32] from Operation: 42-10=32
Current State: 30:[2, 32], Operations: ['34/17=2', '42-10=32']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[17, 10, 42, 34], Operations: []
Exploring Operation: 42-34=8, Resulting Numbers: [17, 10, 8]
Generated Node #0,0: 30:[17, 10, 8] Operation: 42-34=8
Moving to Node #0,0
Current State: 30:[17, 10, 8], Operations: ['42-34=8']
Exploring Operation: 17-8=9, Resulting Numbers: [10, 9]
Generated Node #0,0,0: 30:[10, 9] Operation: 17-8=9
Moving to Node #0,0,0
Current State: 30:[10, 9], Operations: ['42-34=8', '17-8=9']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,30 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
25,
54,
39,
78
] | 88 | [
"54-25=29",
"39+78=117",
"117-29=88"
] | Current State: 88:[25, 54, 39, 78], Operations: []
Exploring Operation: 54-25=29, Resulting Numbers: [39, 78, 29]
Generated Node #2: [39, 78, 29] from Operation: 54-25=29
Current State: 88:[39, 78, 29], Operations: ['54-25=29']
Exploring Operation: 39+78=117, Resulting Numbers: [29, 117]
Generated Node #3: [29, 117] from Operation: 39+78=117
Current State: 88:[29, 117], Operations: ['54-25=29', '39+78=117']
Exploring Operation: 117-29=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[25, 54, 39, 78], Operations: []
Exploring Operation: 78/39=2, Resulting Numbers: [25, 54, 2]
Generated Node #0,0: 88:[25, 54, 2] Operation: 78/39=2
Exploring Operation: 54-39=15, Resulting Numbers: [25, 78, 15]
Generated Node #0,1: 88:[25, 78, 15] Operation: 54-39=15
Exploring Operation: 78-54=24, Resulting Numbers: [25, 39, 24]
Generated Node #0,2: 88:[25, 39, 24] Operation: 78-54=24
Exploring Operation: 78-39=39, Resulting Numbers: [25, 54, 39]
Generated Node #0,3: 88:[25, 54, 39] Operation: 78-39=39
Exploring Operation: 54+39=93, Resulting Numbers: [25, 78, 93]
Generated Node #0,4: 88:[25, 78, 93] Operation: 54+39=93
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[25, 39, 24], Operations: ['78-54=24']
Exploring Operation: 39-25=14, Resulting Numbers: [24, 14]
Generated Node #0,2,0: 88:[24, 14] Operation: 39-25=14
Exploring Operation: 25-24=1, Resulting Numbers: [39, 1]
Generated Node #0,2,1: 88:[39, 1] Operation: 25-24=1
Exploring Operation: 25+24=49, Resulting Numbers: [39, 49]
Generated Node #0,2,2: 88:[39, 49] Operation: 25+24=49
Exploring Operation: 39-24=15, Resulting Numbers: [25, 15]
Generated Node #0,2,3: 88:[25, 15] Operation: 39-24=15
Exploring Operation: 25+39=64, Resulting Numbers: [24, 64]
Generated Node #0,2,4: 88:[24, 64] Operation: 25+39=64
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 88:[24, 14], Operations: ['78-54=24', '39-25=14']
Exploring Operation: 24*14=336, Resulting Numbers: [336]
336,88 unequal: No Solution
Exploring Operation: 24+14=38, Resulting Numbers: [38]
38,88 unequal: No Solution
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,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,2,1
Current State: 88:[39, 1], Operations: ['78-54=24', '25-24=1']
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,88 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,88 unequal: No Solution
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,88 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,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,2,3
Current State: 88:[25, 15], Operations: ['78-54=24', '39-24=15']
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 25*15=375, Resulting Numbers: [375]
375,88 unequal: No Solution
Exploring Operation: 25+15=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,2,2
Current State: 88:[39, 49], Operations: ['78-54=24', '25+24=49']
Exploring Operation: 49-39=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 39*49=1911, Resulting Numbers: [1911]
1911,88 unequal: No Solution
Exploring Operation: 39+49=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[25, 54, 39, 78], Operations: []
Exploring Operation: 78-54=24, Resulting Numbers: [25, 39, 24]
Generated Node #0,2: 88:[25, 39, 24] Operation: 78-54=24
Moving to Node #0,2
Current State: 88:[25, 39, 24], Operations: ['78-54=24']
Exploring Operation: 25+24=49, Resulting Numbers: [39, 49]
Generated Node #0,2,2: 88:[39, 49] Operation: 25+24=49
Moving to Node #0,2,2
Current State: 88:[39, 49], Operations: ['78-54=24', '25+24=49']
Exploring Operation: 39+49=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.976563 | hs_5 | sum_heuristic |
[
76,
82,
14,
4
] | 77 | [
"76/4=19",
"82+14=96",
"96-19=77"
] | Current State: 77:[76, 82, 14, 4], Operations: []
Exploring Operation: 76/4=19, Resulting Numbers: [82, 14, 19]
Generated Node #2: [82, 14, 19] from Operation: 76/4=19
Current State: 77:[82, 14, 19], Operations: ['76/4=19']
Exploring Operation: 82+14=96, Resulting Numbers: [19, 96]
Generated Node #3: [19, 96] from Operation: 82+14=96
Current State: 77:[19, 96], Operations: ['76/4=19', '82+14=96']
Exploring Operation: 96-19=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[76, 82, 14, 4], Operations: []
Exploring Operation: 76-4=72, Resulting Numbers: [82, 14, 72]
Generated Node #0,0: 77:[82, 14, 72] Operation: 76-4=72
Exploring Operation: 76+4=80, Resulting Numbers: [82, 14, 80]
Generated Node #0,1: 77:[82, 14, 80] Operation: 76+4=80
Exploring Operation: 14-4=10, Resulting Numbers: [76, 82, 10]
Generated Node #0,2: 77:[76, 82, 10] Operation: 14-4=10
Exploring Operation: 82-76=6, Resulting Numbers: [14, 4, 6]
Generated Node #0,3: 77:[14, 4, 6] Operation: 82-76=6
Exploring Operation: 82-4=78, Resulting Numbers: [76, 14, 78]
Generated Node #0,4: 77:[76, 14, 78] Operation: 82-4=78
Moving to Node #0,4
Current State: 77:[76, 14, 78], Operations: ['82-4=78']
Exploring Operation: 78-14=64, Resulting Numbers: [76, 64]
Generated Node #0,4,0: 77:[76, 64] Operation: 78-14=64
Exploring Operation: 76+14=90, Resulting Numbers: [78, 90]
Generated Node #0,4,1: 77:[78, 90] Operation: 76+14=90
Exploring Operation: 76-14=62, Resulting Numbers: [78, 62]
Generated Node #0,4,2: 77:[78, 62] Operation: 76-14=62
Exploring Operation: 14+78=92, Resulting Numbers: [76, 92]
Generated Node #0,4,3: 77:[76, 92] Operation: 14+78=92
Exploring Operation: 78-76=2, Resulting Numbers: [14, 2]
Generated Node #0,4,4: 77:[14, 2] Operation: 78-76=2
Moving to Node #0,3
Current State: 77:[14, 4, 6], Operations: ['82-76=6']
Exploring Operation: 14-4=10, Resulting Numbers: [6, 10]
Generated Node #0,3,0: 77:[6, 10] Operation: 14-4=10
Exploring Operation: 6-4=2, Resulting Numbers: [14, 2]
Generated Node #0,3,1: 77:[14, 2] Operation: 6-4=2
Exploring Operation: 4+6=10, Resulting Numbers: [14, 10]
Generated Node #0,3,2: 77:[14, 10] Operation: 4+6=10
Exploring Operation: 14+4=18, Resulting Numbers: [6, 18]
Generated Node #0,3,3: 77:[6, 18] Operation: 14+4=18
Exploring Operation: 14-6=8, Resulting Numbers: [4, 8]
Generated Node #0,3,4: 77:[4, 8] Operation: 14-6=8
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 77:[6, 10], Operations: ['82-76=6', '14-4=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,77 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,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:[14, 10], Operations: ['82-76=6', '4+6=10']
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,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:[4, 8], Operations: ['82-76=6', '14-6=8']
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,77 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,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:[14, 2], Operations: ['82-76=6', '6-4=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,77 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 77:[6, 18], Operations: ['82-76=6', '14+4=18']
Exploring Operation: 6*18=108, Resulting Numbers: [108]
108,77 unequal: No Solution
Exploring Operation: 6+18=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,77 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,77 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: 77:[76, 82, 10], Operations: ['14-4=10']
Exploring Operation: 82+10=92, Resulting Numbers: [76, 92]
Generated Node #0,2,0: 77:[76, 92] Operation: 82+10=92
Exploring Operation: 76+10=86, Resulting Numbers: [82, 86]
Generated Node #0,2,1: 77:[82, 86] Operation: 76+10=86
Exploring Operation: 76-10=66, Resulting Numbers: [82, 66]
Generated Node #0,2,2: 77:[82, 66] Operation: 76-10=66
Exploring Operation: 82-76=6, Resulting Numbers: [10, 6]
Generated Node #0,2,3: 77:[10, 6] Operation: 82-76=6
Exploring Operation: 82-10=72, Resulting Numbers: [76, 72]
Generated Node #0,2,4: 77:[76, 72] Operation: 82-10=72
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 77:[10, 6], Operations: ['14-4=10', '82-76=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,77 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,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:[76, 72], Operations: ['14-4=10', '82-10=72']
Exploring Operation: 76-72=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 76*72=5472, Resulting Numbers: [5472]
5472,77 unequal: No Solution
Exploring Operation: 76+72=148, Resulting Numbers: [148]
148,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:[82, 86], Operations: ['14-4=10', '76+10=86']
Exploring Operation: 82*86=7052, Resulting Numbers: [7052]
7052,77 unequal: No Solution
Exploring Operation: 82+86=168, Resulting Numbers: [168]
168,77 unequal: No Solution
Exploring Operation: 86-82=4, Resulting Numbers: [4]
4,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 77:[76, 92], Operations: ['14-4=10', '82+10=92']
Exploring Operation: 76+92=168, Resulting Numbers: [168]
168,77 unequal: No Solution
Exploring Operation: 76*92=6992, Resulting Numbers: [6992]
6992,77 unequal: No Solution
Exploring Operation: 92-76=16, Resulting Numbers: [16]
16,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:[82, 66], Operations: ['14-4=10', '76-10=66']
Exploring Operation: 82*66=5412, Resulting Numbers: [5412]
5412,77 unequal: No Solution
Exploring Operation: 82+66=148, Resulting Numbers: [148]
148,77 unequal: No Solution
Exploring Operation: 82-66=16, Resulting Numbers: [16]
16,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:[82, 14, 80], Operations: ['76+4=80']
Exploring Operation: 82-80=2, Resulting Numbers: [14, 2]
Generated Node #0,1,0: 77:[14, 2] Operation: 82-80=2
Exploring Operation: 80-14=66, Resulting Numbers: [82, 66]
Generated Node #0,1,1: 77:[82, 66] Operation: 80-14=66
Exploring Operation: 14+80=94, Resulting Numbers: [82, 94]
Generated Node #0,1,2: 77:[82, 94] Operation: 14+80=94
Exploring Operation: 82+14=96, Resulting Numbers: [80, 96]
Generated Node #0,1,3: 77:[80, 96] Operation: 82+14=96
Exploring Operation: 82-14=68, Resulting Numbers: [80, 68]
Generated Node #0,1,4: 77:[80, 68] Operation: 82-14=68
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 77:[14, 2], Operations: ['76+4=80', '82-80=2']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,77 unequal: No Solution
Exploring Operation: 14-2=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,4
Current State: 77:[80, 68], Operations: ['76+4=80', '82-14=68']
Exploring Operation: 80+68=148, Resulting Numbers: [148]
148,77 unequal: No Solution
Exploring Operation: 80-68=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 80*68=5440, Resulting Numbers: [5440]
5440,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 77:[82, 66], Operations: ['76+4=80', '80-14=66']
Exploring Operation: 82+66=148, Resulting Numbers: [148]
148,77 unequal: No Solution
Exploring Operation: 82-66=16, Resulting Numbers: [16]
16,77 unequal: No Solution
Exploring Operation: 82*66=5412, Resulting Numbers: [5412]
5412,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:[82, 94], Operations: ['76+4=80', '14+80=94']
Exploring Operation: 94-82=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 82*94=7708, Resulting Numbers: [7708]
7708,77 unequal: No Solution
Exploring Operation: 82+94=176, Resulting Numbers: [176]
176,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:[80, 96], Operations: ['76+4=80', '82+14=96']
Exploring Operation: 96-80=16, Resulting Numbers: [16]
16,77 unequal: No Solution
Exploring Operation: 80*96=7680, Resulting Numbers: [7680]
7680,77 unequal: No Solution
Exploring Operation: 80+96=176, Resulting Numbers: [176]
176,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:[82, 14, 72], Operations: ['76-4=72']
Exploring Operation: 82+14=96, Resulting Numbers: [72, 96]
Generated Node #0,0,0: 77:[72, 96] Operation: 82+14=96
Exploring Operation: 72-14=58, Resulting Numbers: [82, 58]
Generated Node #0,0,1: 77:[82, 58] Operation: 72-14=58
Exploring Operation: 82-14=68, Resulting Numbers: [72, 68]
Generated Node #0,0,2: 77:[72, 68] Operation: 82-14=68
Exploring Operation: 82-72=10, Resulting Numbers: [14, 10]
Generated Node #0,0,3: 77:[14, 10] Operation: 82-72=10
Exploring Operation: 14+72=86, Resulting Numbers: [82, 86]
Generated Node #0,0,4: 77:[82, 86] Operation: 14+72=86
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 77:[14, 10], Operations: ['76-4=72', '82-72=10']
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,77 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 77:[72, 68], Operations: ['76-4=72', '82-14=68']
Exploring Operation: 72-68=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 72+68=140, Resulting Numbers: [140]
140,77 unequal: No Solution
Exploring Operation: 72*68=4896, Resulting Numbers: [4896]
4896,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 77:[82, 86], Operations: ['76-4=72', '14+72=86']
Exploring Operation: 86-82=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 82+86=168, Resulting Numbers: [168]
168,77 unequal: No Solution
Exploring Operation: 82*86=7052, Resulting Numbers: [7052]
7052,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[72, 96], Operations: ['76-4=72', '82+14=96']
Exploring Operation: 72*96=6912, Resulting Numbers: [6912]
6912,77 unequal: No Solution
Exploring Operation: 96-72=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 72+96=168, Resulting Numbers: [168]
168,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 77:[82, 58], Operations: ['76-4=72', '72-14=58']
Exploring Operation: 82-58=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 82*58=4756, Resulting Numbers: [4756]
4756,77 unequal: No Solution
Exploring Operation: 82+58=140, Resulting Numbers: [140]
140,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,4
Current State: 77:[14, 2], Operations: ['82-4=78', '78-76=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,77 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Moving to Node #0,4,1
Current State: 77:[78, 90], Operations: ['82-4=78', '76+14=90']
Exploring Operation: 78*90=7020, Resulting Numbers: [7020]
7020,77 unequal: No Solution
Exploring Operation: 78+90=168, Resulting Numbers: [168]
168,77 unequal: No Solution
Exploring Operation: 90-78=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Moving to Node #0,4,0
Current State: 77:[76, 64], Operations: ['82-4=78', '78-14=64']
Exploring Operation: 76-64=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 76+64=140, Resulting Numbers: [140]
140,77 unequal: No Solution
Exploring Operation: 76*64=4864, Resulting Numbers: [4864]
4864,77 unequal: No Solution
Moving to Node #0,4,2
Current State: 77:[78, 62], Operations: ['82-4=78', '76-14=62']
Exploring Operation: 78+62=140, Resulting Numbers: [140]
140,77 unequal: No Solution
Exploring Operation: 78-62=16, Resulting Numbers: [16]
16,77 unequal: No Solution
Exploring Operation: 78*62=4836, Resulting Numbers: [4836]
4836,77 unequal: No Solution
Moving to Node #0,4,3
Current State: 77:[76, 92], Operations: ['82-4=78', '14+78=92']
Exploring Operation: 76*92=6992, Resulting Numbers: [6992]
6992,77 unequal: No Solution
Exploring Operation: 92-76=16, Resulting Numbers: [16]
16,77 unequal: No Solution
Exploring Operation: 76+92=168, Resulting Numbers: [168]
168,77 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
44,
84,
38,
92
] | 48 | [
"44-38=6",
"92-84=8",
"6*8=48"
] | Current State: 48:[44, 84, 38, 92], Operations: []
Exploring Operation: 44-38=6, Resulting Numbers: [84, 92, 6]
Generated Node #2: [84, 92, 6] from Operation: 44-38=6
Current State: 48:[84, 92, 6], Operations: ['44-38=6']
Exploring Operation: 92-84=8, Resulting Numbers: [6, 8]
Generated Node #3: [6, 8] from Operation: 92-84=8
Current State: 48:[6, 8], Operations: ['44-38=6', '92-84=8']
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[44, 84, 38, 92], Operations: []
Exploring Operation: 92-44=48, Resulting Numbers: [84, 38, 48]
Generated Node #0,0: 48:[84, 38, 48] Operation: 92-44=48
Exploring Operation: 92-84=8, Resulting Numbers: [44, 38, 8]
Generated Node #0,1: 48:[44, 38, 8] Operation: 92-84=8
Moving to Node #0,1
Current State: 48:[44, 38, 8], Operations: ['92-84=8']
Exploring Operation: 38+8=46, Resulting Numbers: [44, 46]
Generated Node #0,1,0: 48:[44, 46] Operation: 38+8=46
Exploring Operation: 44-38=6, Resulting Numbers: [8, 6]
Generated Node #0,1,1: 48:[8, 6] Operation: 44-38=6
Moving to Node #0,0
Current State: 48:[84, 38, 48], Operations: ['92-44=48']
Exploring Operation: 84-38=46, Resulting Numbers: [48, 46]
Generated Node #0,0,0: 48:[48, 46] Operation: 84-38=46
Exploring Operation: 84-48=36, Resulting Numbers: [38, 36]
Generated Node #0,0,1: 48:[38, 36] Operation: 84-48=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[48, 46], Operations: ['92-44=48', '84-38=46']
Exploring Operation: 48+46=94, Resulting Numbers: [94]
94,48 unequal: No Solution
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,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,0,1
Current State: 48:[38, 36], Operations: ['92-44=48', '84-48=36']
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 38+36=74, Resulting Numbers: [74]
74,48 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: 48:[8, 6], Operations: ['92-84=8', '44-38=6']
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[44, 84, 38, 92], Operations: []
Exploring Operation: 92-84=8, Resulting Numbers: [44, 38, 8]
Generated Node #0,1: 48:[44, 38, 8] Operation: 92-84=8
Moving to Node #0,1
Current State: 48:[44, 38, 8], Operations: ['92-84=8']
Exploring Operation: 44-38=6, Resulting Numbers: [8, 6]
Generated Node #0,1,1: 48:[8, 6] Operation: 44-38=6
Moving to Node #0,1,1
Current State: 48:[8, 6], Operations: ['92-84=8', '44-38=6']
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
3,
73,
91,
39
] | 54 | [
"3+73=76",
"91+39=130",
"130-76=54"
] | Current State: 54:[3, 73, 91, 39], Operations: []
Exploring Operation: 3+73=76, Resulting Numbers: [91, 39, 76]
Generated Node #2: [91, 39, 76] from Operation: 3+73=76
Current State: 54:[91, 39, 76], Operations: ['3+73=76']
Exploring Operation: 91+39=130, Resulting Numbers: [76, 130]
Generated Node #3: [76, 130] from Operation: 91+39=130
Current State: 54:[76, 130], Operations: ['3+73=76', '91+39=130']
Exploring Operation: 130-76=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[3, 73, 91, 39], Operations: []
Exploring Operation: 91-39=52, Resulting Numbers: [3, 73, 52]
Generated Node #0,0: 54:[3, 73, 52] Operation: 91-39=52
Exploring Operation: 91-73=18, Resulting Numbers: [3, 39, 18]
Generated Node #0,1: 54:[3, 39, 18] Operation: 91-73=18
Exploring Operation: 39/3=13, Resulting Numbers: [73, 91, 13]
Generated Node #0,2: 54:[73, 91, 13] Operation: 39/3=13
Exploring Operation: 73-39=34, Resulting Numbers: [3, 91, 34]
Generated Node #0,3: 54:[3, 91, 34] Operation: 73-39=34
Moving to Node #0,1
Current State: 54:[3, 39, 18], Operations: ['91-73=18']
Exploring Operation: 39/3=13, Resulting Numbers: [18, 13]
Generated Node #0,1,0: 54:[18, 13] Operation: 39/3=13
Exploring Operation: 39-3=36, Resulting Numbers: [18, 36]
Generated Node #0,1,1: 54:[18, 36] Operation: 39-3=36
Exploring Operation: 39+18=57, Resulting Numbers: [3, 57]
Generated Node #0,1,2: 54:[3, 57] Operation: 39+18=57
Exploring Operation: 39-18=21, Resulting Numbers: [3, 21]
Generated Node #0,1,3: 54:[3, 21] Operation: 39-18=21
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 54:[3, 57], Operations: ['91-73=18', '39+18=57']
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[3, 73, 91, 39], Operations: []
Exploring Operation: 91-73=18, Resulting Numbers: [3, 39, 18]
Generated Node #0,1: 54:[3, 39, 18] Operation: 91-73=18
Moving to Node #0,1
Current State: 54:[3, 39, 18], Operations: ['91-73=18']
Exploring Operation: 39+18=57, Resulting Numbers: [3, 57]
Generated Node #0,1,2: 54:[3, 57] Operation: 39+18=57
Moving to Node #0,1,2
Current State: 54:[3, 57], Operations: ['91-73=18', '39+18=57']
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
9,
2,
24,
83
] | 41 | [
"9*2=18",
"83-24=59",
"59-18=41"
] | Current State: 41:[9, 2, 24, 83], Operations: []
Exploring Operation: 9*2=18, Resulting Numbers: [24, 83, 18]
Generated Node #2: [24, 83, 18] from Operation: 9*2=18
Current State: 41:[24, 83, 18], Operations: ['9*2=18']
Exploring Operation: 83-24=59, Resulting Numbers: [18, 59]
Generated Node #3: [18, 59] from Operation: 83-24=59
Current State: 41:[18, 59], Operations: ['9*2=18', '83-24=59']
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[9, 2, 24, 83], Operations: []
Exploring Operation: 2*24=48, Resulting Numbers: [9, 83, 48]
Generated Node #0,0: 41:[9, 83, 48] Operation: 2*24=48
Exploring Operation: 9+2=11, Resulting Numbers: [24, 83, 11]
Generated Node #0,1: 41:[24, 83, 11] Operation: 9+2=11
Exploring Operation: 9*2=18, Resulting Numbers: [24, 83, 18]
Generated Node #0,2: 41:[24, 83, 18] Operation: 9*2=18
Moving to Node #0,0
Current State: 41:[9, 83, 48], Operations: ['2*24=48']
Exploring Operation: 83-48=35, Resulting Numbers: [9, 35]
Generated Node #0,0,0: 41:[9, 35] Operation: 83-48=35
Exploring Operation: 48-9=39, Resulting Numbers: [83, 39]
Generated Node #0,0,1: 41:[83, 39] Operation: 48-9=39
Exploring Operation: 83-9=74, Resulting Numbers: [48, 74]
Generated Node #0,0,2: 41:[48, 74] Operation: 83-9=74
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[9, 35], Operations: ['2*24=48', '83-48=35']
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,41 unequal: No Solution
Exploring Operation: 9+35=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 9*35=315, Resulting Numbers: [315]
315,41 unequal: No Solution
No 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: 41:[48, 74], Operations: ['2*24=48', '83-9=74']
Exploring Operation: 74-48=26, Resulting Numbers: [26]
26,41 unequal: No Solution
Exploring Operation: 48*74=3552, Resulting Numbers: [3552]
3552,41 unequal: No Solution
Exploring Operation: 48+74=122, Resulting Numbers: [122]
122,41 unequal: No Solution
No 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: 41:[83, 39], Operations: ['2*24=48', '48-9=39']
Exploring Operation: 83-39=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 83+39=122, Resulting Numbers: [122]
122,41 unequal: No Solution
Exploring Operation: 83*39=3237, Resulting Numbers: [3237]
3237,41 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: 41:[24, 83, 18], Operations: ['9*2=18']
Exploring Operation: 83-24=59, Resulting Numbers: [18, 59]
Generated Node #0,2,0: 41:[18, 59] Operation: 83-24=59
Exploring Operation: 83-18=65, Resulting Numbers: [24, 65]
Generated Node #0,2,1: 41:[24, 65] Operation: 83-18=65
Exploring Operation: 24+18=42, Resulting Numbers: [83, 42]
Generated Node #0,2,2: 41:[83, 42] Operation: 24+18=42
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 41:[18, 59], Operations: ['9*2=18', '83-24=59']
Exploring Operation: 18+59=77, Resulting Numbers: [77]
77,41 unequal: No Solution
Exploring Operation: 18*59=1062, Resulting Numbers: [1062]
1062,41 unequal: No Solution
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[9, 2, 24, 83], Operations: []
Exploring Operation: 9*2=18, Resulting Numbers: [24, 83, 18]
Generated Node #0,2: 41:[24, 83, 18] Operation: 9*2=18
Moving to Node #0,2
Current State: 41:[24, 83, 18], Operations: ['9*2=18']
Exploring Operation: 83-24=59, Resulting Numbers: [18, 59]
Generated Node #0,2,0: 41:[18, 59] Operation: 83-24=59
Moving to Node #0,2,0
Current State: 41:[18, 59], Operations: ['9*2=18', '83-24=59']
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
10,
39,
31,
54
] | 61 | [
"39+31=70",
"70/10=7",
"54+7=61"
] | Current State: 61:[10, 39, 31, 54], Operations: []
Exploring Operation: 39+31=70, Resulting Numbers: [10, 54, 70]
Generated Node #2: [10, 54, 70] from Operation: 39+31=70
Current State: 61:[10, 54, 70], Operations: ['39+31=70']
Exploring Operation: 70/10=7, Resulting Numbers: [54, 7]
Generated Node #3: [54, 7] from Operation: 70/10=7
Current State: 61:[54, 7], Operations: ['39+31=70', '70/10=7']
Exploring Operation: 54+7=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[10, 39, 31, 54], Operations: []
Exploring Operation: 10+39=49, Resulting Numbers: [31, 54, 49]
Generated Node #0,0: 61:[31, 54, 49] Operation: 10+39=49
Exploring Operation: 10+31=41, Resulting Numbers: [39, 54, 41]
Generated Node #0,1: 61:[39, 54, 41] Operation: 10+31=41
Moving to Node #0,0
Current State: 61:[31, 54, 49], Operations: ['10+39=49']
Exploring Operation: 31+54=85, Resulting Numbers: [49, 85]
Generated Node #0,0,0: 61:[49, 85] Operation: 31+54=85
Exploring Operation: 31+49=80, Resulting Numbers: [54, 80]
Generated Node #0,0,1: 61:[54, 80] Operation: 31+49=80
Moving to Node #0,1
Current State: 61:[39, 54, 41], Operations: ['10+31=41']
Exploring Operation: 39+54=93, Resulting Numbers: [41, 93]
Generated Node #0,1,0: 61:[41, 93] Operation: 39+54=93
Exploring Operation: 39+41=80, Resulting Numbers: [54, 80]
Generated Node #0,1,1: 61:[54, 80] Operation: 39+41=80
Moving to Node #0,0,1
Current State: 61:[54, 80], Operations: ['10+39=49', '31+49=80']
Exploring Operation: 80-54=26, Resulting Numbers: [26]
26,61 unequal: No Solution
Exploring Operation: 54+80=134, Resulting Numbers: [134]
134,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[54, 80], Operations: ['10+31=41', '39+41=80']
Exploring Operation: 54+80=134, Resulting Numbers: [134]
134,61 unequal: No Solution
Exploring Operation: 80-54=26, Resulting Numbers: [26]
26,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[49, 85], Operations: ['10+39=49', '31+54=85']
Exploring Operation: 49+85=134, Resulting Numbers: [134]
134,61 unequal: No Solution
Exploring Operation: 85-49=36, Resulting Numbers: [36]
36,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[41, 93], Operations: ['10+31=41', '39+54=93']
Exploring Operation: 93-41=52, Resulting Numbers: [52]
52,61 unequal: No Solution
Exploring Operation: 41+93=134, Resulting Numbers: [134]
134,61 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
36,
21,
53,
72
] | 68 | [
"36+21=57",
"53+72=125",
"125-57=68"
] | Current State: 68:[36, 21, 53, 72], Operations: []
Exploring Operation: 36+21=57, Resulting Numbers: [53, 72, 57]
Generated Node #2: [53, 72, 57] from Operation: 36+21=57
Current State: 68:[53, 72, 57], Operations: ['36+21=57']
Exploring Operation: 53+72=125, Resulting Numbers: [57, 125]
Generated Node #3: [57, 125] from Operation: 53+72=125
Current State: 68:[57, 125], Operations: ['36+21=57', '53+72=125']
Exploring Operation: 125-57=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[36, 21, 53, 72], Operations: []
Exploring Operation: 53-36=17, Resulting Numbers: [21, 72, 17]
Generated Node #0,0: 68:[21, 72, 17] Operation: 53-36=17
Exploring Operation: 53-21=32, Resulting Numbers: [36, 72, 32]
Generated Node #0,1: 68:[36, 72, 32] Operation: 53-21=32
Moving to Node #0,0
Current State: 68:[21, 72, 17], Operations: ['53-36=17']
Exploring Operation: 21-17=4, Resulting Numbers: [72, 4]
Generated Node #0,0,0: 68:[72, 4] Operation: 21-17=4
Exploring Operation: 21+17=38, Resulting Numbers: [72, 38]
Generated Node #0,0,1: 68:[72, 38] Operation: 21+17=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[72, 4], Operations: ['53-36=17', '21-17=4']
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[36, 21, 53, 72], Operations: []
Exploring Operation: 53-36=17, Resulting Numbers: [21, 72, 17]
Generated Node #0,0: 68:[21, 72, 17] Operation: 53-36=17
Moving to Node #0,0
Current State: 68:[21, 72, 17], Operations: ['53-36=17']
Exploring Operation: 21-17=4, Resulting Numbers: [72, 4]
Generated Node #0,0,0: 68:[72, 4] Operation: 21-17=4
Moving to Node #0,0,0
Current State: 68:[72, 4], Operations: ['53-36=17', '21-17=4']
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
58,
47,
82,
87
] | 86 | [
"47+82=129",
"58*129=7482",
"7482/87=86"
] | Current State: 86:[58, 47, 82, 87], Operations: []
Exploring Operation: 47+82=129, Resulting Numbers: [58, 87, 129]
Generated Node #2: [58, 87, 129] from Operation: 47+82=129
Current State: 86:[58, 87, 129], Operations: ['47+82=129']
Exploring Operation: 58*129=7482, Resulting Numbers: [87, 7482]
Generated Node #3: [87, 7482] from Operation: 58*129=7482
Current State: 86:[87, 7482], Operations: ['47+82=129', '58*129=7482']
Exploring Operation: 7482/87=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[58, 47, 82, 87], Operations: []
Exploring Operation: 87-47=40, Resulting Numbers: [58, 82, 40]
Generated Node #0,0: 86:[58, 82, 40] Operation: 87-47=40
Exploring Operation: 87-58=29, Resulting Numbers: [47, 82, 29]
Generated Node #0,1: 86:[47, 82, 29] Operation: 87-58=29
Exploring Operation: 58-47=11, Resulting Numbers: [82, 87, 11]
Generated Node #0,2: 86:[82, 87, 11] Operation: 58-47=11
Moving to Node #0,2
Current State: 86:[82, 87, 11], Operations: ['58-47=11']
Exploring Operation: 87-11=76, Resulting Numbers: [82, 76]
Generated Node #0,2,0: 86:[82, 76] Operation: 87-11=76
Exploring Operation: 87-82=5, Resulting Numbers: [11, 5]
Generated Node #0,2,1: 86:[11, 5] Operation: 87-82=5
Exploring Operation: 82+11=93, Resulting Numbers: [87, 93]
Generated Node #0,2,2: 86:[87, 93] Operation: 82+11=93
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 86:[87, 93], Operations: ['58-47=11', '82+11=93']
Exploring Operation: 93-87=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 87*93=8091, Resulting Numbers: [8091]
8091,86 unequal: No Solution
Exploring Operation: 87+93=180, Resulting Numbers: [180]
180,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[11, 5], Operations: ['58-47=11', '87-82=5']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,86 unequal: No Solution
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 86:[82, 76], Operations: ['58-47=11', '87-11=76']
Exploring Operation: 82-76=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 82+76=158, Resulting Numbers: [158]
158,86 unequal: No Solution
Exploring Operation: 82*76=6232, Resulting Numbers: [6232]
6232,86 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: 86:[58, 82, 40], Operations: ['87-47=40']
Exploring Operation: 58-40=18, Resulting Numbers: [82, 18]
Generated Node #0,0,0: 86:[82, 18] Operation: 58-40=18
Exploring Operation: 58+40=98, Resulting Numbers: [82, 98]
Generated Node #0,0,1: 86:[82, 98] Operation: 58+40=98
Exploring Operation: 82-40=42, Resulting Numbers: [58, 42]
Generated Node #0,0,2: 86:[58, 42] Operation: 82-40=42
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[82, 98], Operations: ['87-47=40', '58+40=98']
Exploring Operation: 82+98=180, Resulting Numbers: [180]
180,86 unequal: No Solution
Exploring Operation: 82*98=8036, Resulting Numbers: [8036]
8036,86 unequal: No Solution
Exploring Operation: 98-82=16, Resulting Numbers: [16]
16,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 86:[58, 42], Operations: ['87-47=40', '82-40=42']
Exploring Operation: 58+42=100, Resulting Numbers: [100]
100,86 unequal: No Solution
Exploring Operation: 58-42=16, Resulting Numbers: [16]
16,86 unequal: No Solution
Exploring Operation: 58*42=2436, Resulting Numbers: [2436]
2436,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[82, 18], Operations: ['87-47=40', '58-40=18']
Exploring Operation: 82-18=64, Resulting Numbers: [64]
64,86 unequal: No Solution
Exploring Operation: 82*18=1476, Resulting Numbers: [1476]
1476,86 unequal: No Solution
Exploring Operation: 82+18=100, Resulting Numbers: [100]
100,86 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: 86:[47, 82, 29], Operations: ['87-58=29']
Exploring Operation: 47+29=76, Resulting Numbers: [82, 76]
Generated Node #0,1,0: 86:[82, 76] Operation: 47+29=76
Exploring Operation: 82-29=53, Resulting Numbers: [47, 53]
Generated Node #0,1,1: 86:[47, 53] Operation: 82-29=53
Exploring Operation: 47-29=18, Resulting Numbers: [82, 18]
Generated Node #0,1,2: 86:[82, 18] Operation: 47-29=18
Moving to Node #0,1,0
Current State: 86:[82, 76], Operations: ['87-58=29', '47+29=76']
Exploring Operation: 82+76=158, Resulting Numbers: [158]
158,86 unequal: No Solution
Exploring Operation: 82-76=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 82*76=6232, Resulting Numbers: [6232]
6232,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[47, 53], Operations: ['87-58=29', '82-29=53']
Exploring Operation: 47*53=2491, Resulting Numbers: [2491]
2491,86 unequal: No Solution
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 47+53=100, Resulting Numbers: [100]
100,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[82, 18], Operations: ['87-58=29', '47-29=18']
Exploring Operation: 82+18=100, Resulting Numbers: [100]
100,86 unequal: No Solution
Exploring Operation: 82*18=1476, Resulting Numbers: [1476]
1476,86 unequal: No Solution
Exploring Operation: 82-18=64, Resulting Numbers: [64]
64,86 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
37,
62,
95,
19
] | 51 | [
"62-37=25",
"95-19=76",
"76-25=51"
] | Current State: 51:[37, 62, 95, 19], Operations: []
Exploring Operation: 62-37=25, Resulting Numbers: [95, 19, 25]
Generated Node #2: [95, 19, 25] from Operation: 62-37=25
Current State: 51:[95, 19, 25], Operations: ['62-37=25']
Exploring Operation: 95-19=76, Resulting Numbers: [25, 76]
Generated Node #3: [25, 76] from Operation: 95-19=76
Current State: 51:[25, 76], Operations: ['62-37=25', '95-19=76']
Exploring Operation: 76-25=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[37, 62, 95, 19], Operations: []
Exploring Operation: 95/19=5, Resulting Numbers: [37, 62, 5]
Generated Node #0,0: 51:[37, 62, 5] Operation: 95/19=5
Exploring Operation: 95-37=58, Resulting Numbers: [62, 19, 58]
Generated Node #0,1: 51:[62, 19, 58] Operation: 95-37=58
Exploring Operation: 95-62=33, Resulting Numbers: [37, 19, 33]
Generated Node #0,2: 51:[37, 19, 33] Operation: 95-62=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[62, 19, 58], Operations: ['95-37=58']
Exploring Operation: 58-19=39, Resulting Numbers: [62, 39]
Generated Node #0,1,0: 51:[62, 39] Operation: 58-19=39
Exploring Operation: 62-58=4, Resulting Numbers: [19, 4]
Generated Node #0,1,1: 51:[19, 4] Operation: 62-58=4
Exploring Operation: 62-19=43, Resulting Numbers: [58, 43]
Generated Node #0,1,2: 51:[58, 43] Operation: 62-19=43
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[19, 4], Operations: ['95-37=58', '62-58=4']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,51 unequal: No Solution
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 51:[58, 43], Operations: ['95-37=58', '62-19=43']
Exploring Operation: 58+43=101, Resulting Numbers: [101]
101,51 unequal: No Solution
Exploring Operation: 58-43=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 58*43=2494, Resulting Numbers: [2494]
2494,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[62, 39], Operations: ['95-37=58', '58-19=39']
Exploring Operation: 62+39=101, Resulting Numbers: [101]
101,51 unequal: No Solution
Exploring Operation: 62*39=2418, Resulting Numbers: [2418]
2418,51 unequal: No Solution
Exploring Operation: 62-39=23, Resulting Numbers: [23]
23,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[37, 62, 5], Operations: ['95/19=5']
Exploring Operation: 62-37=25, Resulting Numbers: [5, 25]
Generated Node #0,0,0: 51:[5, 25] Operation: 62-37=25
Exploring Operation: 62-5=57, Resulting Numbers: [37, 57]
Generated Node #0,0,1: 51:[37, 57] Operation: 62-5=57
Exploring Operation: 37+5=42, Resulting Numbers: [62, 42]
Generated Node #0,0,2: 51:[62, 42] Operation: 37+5=42
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[5, 25], Operations: ['95/19=5', '62-37=25']
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[37, 57], Operations: ['95/19=5', '62-5=57']
Exploring Operation: 57-37=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 37*57=2109, Resulting Numbers: [2109]
2109,51 unequal: No Solution
Exploring Operation: 37+57=94, Resulting Numbers: [94]
94,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 51:[62, 42], Operations: ['95/19=5', '37+5=42']
Exploring Operation: 62*42=2604, Resulting Numbers: [2604]
2604,51 unequal: No Solution
Exploring Operation: 62+42=104, Resulting Numbers: [104]
104,51 unequal: No Solution
Exploring Operation: 62-42=20, Resulting Numbers: [20]
20,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[37, 19, 33], Operations: ['95-62=33']
Exploring Operation: 19+33=52, Resulting Numbers: [37, 52]
Generated Node #0,2,0: 51:[37, 52] Operation: 19+33=52
Exploring Operation: 37-33=4, Resulting Numbers: [19, 4]
Generated Node #0,2,1: 51:[19, 4] Operation: 37-33=4
Exploring Operation: 37-19=18, Resulting Numbers: [33, 18]
Generated Node #0,2,2: 51:[33, 18] Operation: 37-19=18
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 51:[19, 4], Operations: ['95-62=33', '37-33=4']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,51 unequal: No Solution
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 51:[37, 52], Operations: ['95-62=33', '19+33=52']
Exploring Operation: 37+52=89, Resulting Numbers: [89]
89,51 unequal: No Solution
Exploring Operation: 37*52=1924, Resulting Numbers: [1924]
1924,51 unequal: No Solution
Exploring Operation: 52-37=15, Resulting Numbers: [15]
15,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 51:[33, 18], Operations: ['95-62=33', '37-19=18']
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 33+18=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[37, 62, 95, 19], Operations: []
Exploring Operation: 95-62=33, Resulting Numbers: [37, 19, 33]
Generated Node #0,2: 51:[37, 19, 33] Operation: 95-62=33
Moving to Node #0,2
Current State: 51:[37, 19, 33], Operations: ['95-62=33']
Exploring Operation: 37-19=18, Resulting Numbers: [33, 18]
Generated Node #0,2,2: 51:[33, 18] Operation: 37-19=18
Moving to Node #0,2,2
Current State: 51:[33, 18], Operations: ['95-62=33', '37-19=18']
Exploring Operation: 33+18=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.963542 | hs_3 | sum_heuristic |
[
83,
70,
44,
72
] | 78 | [
"83-44=39",
"72-70=2",
"39*2=78"
] | Current State: 78:[83, 70, 44, 72], Operations: []
Exploring Operation: 83-44=39, Resulting Numbers: [70, 72, 39]
Generated Node #2: [70, 72, 39] from Operation: 83-44=39
Current State: 78:[70, 72, 39], Operations: ['83-44=39']
Exploring Operation: 72-70=2, Resulting Numbers: [39, 2]
Generated Node #3: [39, 2] from Operation: 72-70=2
Current State: 78:[39, 2], Operations: ['83-44=39', '72-70=2']
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[83, 70, 44, 72], Operations: []
Exploring Operation: 83-70=13, Resulting Numbers: [44, 72, 13]
Generated Node #0,0: 78:[44, 72, 13] Operation: 83-70=13
Exploring Operation: 72-70=2, Resulting Numbers: [83, 44, 2]
Generated Node #0,1: 78:[83, 44, 2] Operation: 72-70=2
Moving to Node #0,1
Current State: 78:[83, 44, 2], Operations: ['72-70=2']
Exploring Operation: 83-2=81, Resulting Numbers: [44, 81]
Generated Node #0,1,0: 78:[44, 81] Operation: 83-2=81
Exploring Operation: 83-44=39, Resulting Numbers: [2, 39]
Generated Node #0,1,1: 78:[2, 39] Operation: 83-44=39
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 78:[2, 39], Operations: ['72-70=2', '83-44=39']
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,78 unequal: No Solution
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[83, 70, 44, 72], Operations: []
Exploring Operation: 72-70=2, Resulting Numbers: [83, 44, 2]
Generated Node #0,1: 78:[83, 44, 2] Operation: 72-70=2
Moving to Node #0,1
Current State: 78:[83, 44, 2], Operations: ['72-70=2']
Exploring Operation: 83-44=39, Resulting Numbers: [2, 39]
Generated Node #0,1,1: 78:[2, 39] Operation: 83-44=39
Moving to Node #0,1,1
Current State: 78:[2, 39], Operations: ['72-70=2', '83-44=39']
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
4,
57,
84,
12
] | 47 | [
"12/4=3",
"57+84=141",
"141/3=47"
] | Current State: 47:[4, 57, 84, 12], Operations: []
Exploring Operation: 12/4=3, Resulting Numbers: [57, 84, 3]
Generated Node #2: [57, 84, 3] from Operation: 12/4=3
Current State: 47:[57, 84, 3], Operations: ['12/4=3']
Exploring Operation: 57+84=141, Resulting Numbers: [3, 141]
Generated Node #3: [3, 141] from Operation: 57+84=141
Current State: 47:[3, 141], Operations: ['12/4=3', '57+84=141']
Exploring Operation: 141/3=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[4, 57, 84, 12], Operations: []
Exploring Operation: 4+12=16, Resulting Numbers: [57, 84, 16]
Generated Node #0,0: 47:[57, 84, 16] Operation: 4+12=16
Exploring Operation: 84/4=21, Resulting Numbers: [57, 12, 21]
Generated Node #0,1: 47:[57, 12, 21] Operation: 84/4=21
Exploring Operation: 57-4=53, Resulting Numbers: [84, 12, 53]
Generated Node #0,2: 47:[84, 12, 53] Operation: 57-4=53
Exploring Operation: 4*12=48, Resulting Numbers: [57, 84, 48]
Generated Node #0,3: 47:[57, 84, 48] Operation: 4*12=48
Exploring Operation: 84-4=80, Resulting Numbers: [57, 12, 80]
Generated Node #0,4: 47:[57, 12, 80] Operation: 84-4=80
Start Sub Search at level 1: Moving to Node #0,3
Current State: 47:[57, 84, 48], Operations: ['4*12=48']
Exploring Operation: 84-57=27, Resulting Numbers: [48, 27]
Generated Node #0,3,0: 47:[48, 27] Operation: 84-57=27
Exploring Operation: 84-48=36, Resulting Numbers: [57, 36]
Generated Node #0,3,1: 47:[57, 36] Operation: 84-48=36
Exploring Operation: 57+48=105, Resulting Numbers: [84, 105]
Generated Node #0,3,2: 47:[84, 105] Operation: 57+48=105
Exploring Operation: 57+84=141, Resulting Numbers: [48, 141]
Generated Node #0,3,3: 47:[48, 141] Operation: 57+84=141
Exploring Operation: 57-48=9, Resulting Numbers: [84, 9]
Generated Node #0,3,4: 47:[84, 9] Operation: 57-48=9
Moving to Node #0,3,0
Current State: 47:[48, 27], Operations: ['4*12=48', '84-57=27']
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,47 unequal: No Solution
Exploring Operation: 48+27=75, Resulting Numbers: [75]
75,47 unequal: No Solution
Exploring Operation: 48*27=1296, Resulting Numbers: [1296]
1296,47 unequal: No Solution
Moving to Node #0,3,1
Current State: 47:[57, 36], Operations: ['4*12=48', '84-48=36']
Exploring Operation: 57*36=2052, Resulting Numbers: [2052]
2052,47 unequal: No Solution
Exploring Operation: 57+36=93, Resulting Numbers: [93]
93,47 unequal: No Solution
Exploring Operation: 57-36=21, Resulting Numbers: [21]
21,47 unequal: No Solution
Moving to Node #0,3,4
Current State: 47:[84, 9], Operations: ['4*12=48', '57-48=9']
Exploring Operation: 84*9=756, Resulting Numbers: [756]
756,47 unequal: No Solution
Exploring Operation: 84-9=75, Resulting Numbers: [75]
75,47 unequal: No Solution
Exploring Operation: 84+9=93, Resulting Numbers: [93]
93,47 unequal: No Solution
Moving to Node #0,3,2
Current State: 47:[84, 105], Operations: ['4*12=48', '57+48=105']
Exploring Operation: 84+105=189, Resulting Numbers: [189]
189,47 unequal: No Solution
Exploring Operation: 84*105=8820, Resulting Numbers: [8820]
8820,47 unequal: No Solution
Exploring Operation: 105-84=21, Resulting Numbers: [21]
21,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[48, 141], Operations: ['4*12=48', '57+84=141']
Exploring Operation: 141-48=93, Resulting Numbers: [93]
93,47 unequal: No Solution
Exploring Operation: 48+141=189, Resulting Numbers: [189]
189,47 unequal: No Solution
Exploring Operation: 48*141=6768, Resulting Numbers: [6768]
6768,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[57, 12, 21], Operations: ['84/4=21']
Exploring Operation: 21-12=9, Resulting Numbers: [57, 9]
Generated Node #0,1,0: 47:[57, 9] Operation: 21-12=9
Exploring Operation: 57-21=36, Resulting Numbers: [12, 36]
Generated Node #0,1,1: 47:[12, 36] Operation: 57-21=36
Exploring Operation: 57+12=69, Resulting Numbers: [21, 69]
Generated Node #0,1,2: 47:[21, 69] Operation: 57+12=69
Exploring Operation: 12+21=33, Resulting Numbers: [57, 33]
Generated Node #0,1,3: 47:[57, 33] Operation: 12+21=33
Exploring Operation: 57-12=45, Resulting Numbers: [21, 45]
Generated Node #0,1,4: 47:[21, 45] Operation: 57-12=45
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 47:[57, 33], Operations: ['84/4=21', '12+21=33']
Exploring Operation: 57*33=1881, Resulting Numbers: [1881]
1881,47 unequal: No Solution
Exploring Operation: 57-33=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 57+33=90, Resulting Numbers: [90]
90,47 unequal: No Solution
No 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: 47:[21, 45], Operations: ['84/4=21', '57-12=45']
Exploring Operation: 21+45=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 21*45=945, Resulting Numbers: [945]
945,47 unequal: No Solution
Exploring Operation: 45-21=24, Resulting Numbers: [24]
24,47 unequal: No Solution
No 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: 47:[12, 36], Operations: ['84/4=21', '57-21=36']
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 12+36=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 12*36=432, Resulting Numbers: [432]
432,47 unequal: No Solution
No 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: 47:[57, 9], Operations: ['84/4=21', '21-12=9']
Exploring Operation: 57+9=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 57-9=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 57*9=513, Resulting Numbers: [513]
513,47 unequal: No Solution
No 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: 47:[21, 69], Operations: ['84/4=21', '57+12=69']
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 21+69=90, Resulting Numbers: [90]
90,47 unequal: No Solution
Exploring Operation: 21*69=1449, Resulting Numbers: [1449]
1449,47 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: 47:[57, 84, 16], Operations: ['4+12=16']
Exploring Operation: 84+16=100, Resulting Numbers: [57, 100]
Generated Node #0,0,0: 47:[57, 100] Operation: 84+16=100
Exploring Operation: 57-16=41, Resulting Numbers: [84, 41]
Generated Node #0,0,1: 47:[84, 41] Operation: 57-16=41
Exploring Operation: 84-16=68, Resulting Numbers: [57, 68]
Generated Node #0,0,2: 47:[57, 68] Operation: 84-16=68
Exploring Operation: 57+16=73, Resulting Numbers: [84, 73]
Generated Node #0,0,3: 47:[84, 73] Operation: 57+16=73
Exploring Operation: 84-57=27, Resulting Numbers: [16, 27]
Generated Node #0,0,4: 47:[16, 27] Operation: 84-57=27
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 47:[57, 68], Operations: ['4+12=16', '84-16=68']
Exploring Operation: 57+68=125, Resulting Numbers: [125]
125,47 unequal: No Solution
Exploring Operation: 57*68=3876, Resulting Numbers: [3876]
3876,47 unequal: No Solution
Exploring Operation: 68-57=11, Resulting Numbers: [11]
11,47 unequal: No Solution
No 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: 47:[84, 41], Operations: ['4+12=16', '57-16=41']
Exploring Operation: 84-41=43, Resulting Numbers: [43]
43,47 unequal: No Solution
Exploring Operation: 84+41=125, Resulting Numbers: [125]
125,47 unequal: No Solution
Exploring Operation: 84*41=3444, Resulting Numbers: [3444]
3444,47 unequal: No Solution
No 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: 47:[16, 27], Operations: ['4+12=16', '84-57=27']
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,47 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Exploring Operation: 16*27=432, Resulting Numbers: [432]
432,47 unequal: No Solution
No 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: 47:[57, 100], Operations: ['4+12=16', '84+16=100']
Exploring Operation: 57*100=5700, Resulting Numbers: [5700]
5700,47 unequal: No Solution
Exploring Operation: 57+100=157, Resulting Numbers: [157]
157,47 unequal: No Solution
Exploring Operation: 100-57=43, Resulting Numbers: [43]
43,47 unequal: No Solution
No 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: 47:[84, 73], Operations: ['4+12=16', '57+16=73']
Exploring Operation: 84-73=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Exploring Operation: 84*73=6132, Resulting Numbers: [6132]
6132,47 unequal: No Solution
Exploring Operation: 84+73=157, Resulting Numbers: [157]
157,47 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: 47:[84, 12, 53], Operations: ['57-4=53']
Exploring Operation: 84+12=96, Resulting Numbers: [53, 96]
Generated Node #0,2,0: 47:[53, 96] Operation: 84+12=96
Exploring Operation: 84-53=31, Resulting Numbers: [12, 31]
Generated Node #0,2,1: 47:[12, 31] Operation: 84-53=31
Exploring Operation: 53-12=41, Resulting Numbers: [84, 41]
Generated Node #0,2,2: 47:[84, 41] Operation: 53-12=41
Exploring Operation: 84-12=72, Resulting Numbers: [53, 72]
Generated Node #0,2,3: 47:[53, 72] Operation: 84-12=72
Exploring Operation: 84/12=7, Resulting Numbers: [53, 7]
Generated Node #0,2,4: 47:[53, 7] Operation: 84/12=7
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 47:[53, 72], Operations: ['57-4=53', '84-12=72']
Exploring Operation: 72-53=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Exploring Operation: 53+72=125, Resulting Numbers: [125]
125,47 unequal: No Solution
Exploring Operation: 53*72=3816, Resulting Numbers: [3816]
3816,47 unequal: No Solution
No 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: 47:[84, 41], Operations: ['57-4=53', '53-12=41']
Exploring Operation: 84-41=43, Resulting Numbers: [43]
43,47 unequal: No Solution
Exploring Operation: 84*41=3444, Resulting Numbers: [3444]
3444,47 unequal: No Solution
Exploring Operation: 84+41=125, Resulting Numbers: [125]
125,47 unequal: No Solution
No 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: 47:[53, 7], Operations: ['57-4=53', '84/12=7']
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,47 unequal: No Solution
Exploring Operation: 53*7=371, Resulting Numbers: [371]
371,47 unequal: No Solution
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,47 unequal: No Solution
No 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: 47:[12, 31], Operations: ['57-4=53', '84-53=31']
Exploring Operation: 12*31=372, Resulting Numbers: [372]
372,47 unequal: No Solution
Exploring Operation: 12+31=43, Resulting Numbers: [43]
43,47 unequal: No Solution
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,47 unequal: No Solution
No 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: 47:[53, 96], Operations: ['57-4=53', '84+12=96']
Exploring Operation: 53+96=149, Resulting Numbers: [149]
149,47 unequal: No Solution
Exploring Operation: 96-53=43, Resulting Numbers: [43]
43,47 unequal: No Solution
Exploring Operation: 53*96=5088, Resulting Numbers: [5088]
5088,47 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: 47:[57, 12, 80], Operations: ['84-4=80']
Exploring Operation: 57-12=45, Resulting Numbers: [80, 45]
Generated Node #0,4,0: 47:[80, 45] Operation: 57-12=45
Exploring Operation: 80-57=23, Resulting Numbers: [12, 23]
Generated Node #0,4,1: 47:[12, 23] Operation: 80-57=23
Exploring Operation: 80-12=68, Resulting Numbers: [57, 68]
Generated Node #0,4,2: 47:[57, 68] Operation: 80-12=68
Exploring Operation: 12+80=92, Resulting Numbers: [57, 92]
Generated Node #0,4,3: 47:[57, 92] Operation: 12+80=92
Exploring Operation: 57+12=69, Resulting Numbers: [80, 69]
Generated Node #0,4,4: 47:[80, 69] Operation: 57+12=69
Moving to Node #0,4,2
Current State: 47:[57, 68], Operations: ['84-4=80', '80-12=68']
Exploring Operation: 68-57=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Exploring Operation: 57*68=3876, Resulting Numbers: [3876]
3876,47 unequal: No Solution
Exploring Operation: 57+68=125, Resulting Numbers: [125]
125,47 unequal: No Solution
Moving to Node #0,4,0
Current State: 47:[80, 45], Operations: ['84-4=80', '57-12=45']
Exploring Operation: 80-45=35, Resulting Numbers: [35]
35,47 unequal: No Solution
Exploring Operation: 80+45=125, Resulting Numbers: [125]
125,47 unequal: No Solution
Exploring Operation: 80*45=3600, Resulting Numbers: [3600]
3600,47 unequal: No Solution
Moving to Node #0,4,3
Current State: 47:[57, 92], Operations: ['84-4=80', '12+80=92']
Exploring Operation: 92-57=35, Resulting Numbers: [35]
35,47 unequal: No Solution
Exploring Operation: 57+92=149, Resulting Numbers: [149]
149,47 unequal: No Solution
Exploring Operation: 57*92=5244, Resulting Numbers: [5244]
5244,47 unequal: No Solution
Moving to Node #0,4,4
Current State: 47:[80, 69], Operations: ['84-4=80', '57+12=69']
Exploring Operation: 80*69=5520, Resulting Numbers: [5520]
5520,47 unequal: No Solution
Exploring Operation: 80+69=149, Resulting Numbers: [149]
149,47 unequal: No Solution
Exploring Operation: 80-69=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Moving to Node #0,4,1
Current State: 47:[12, 23], Operations: ['84-4=80', '80-57=23']
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Exploring Operation: 12*23=276, Resulting Numbers: [276]
276,47 unequal: No Solution
Exploring Operation: 12+23=35, Resulting Numbers: [35]
35,47 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 |
[
17,
2,
97,
54
] | 67 | [
"97-17=80",
"54+80=134",
"134/2=67"
] | Current State: 67:[17, 2, 97, 54], Operations: []
Exploring Operation: 97-17=80, Resulting Numbers: [2, 54, 80]
Generated Node #2: [2, 54, 80] from Operation: 97-17=80
Current State: 67:[2, 54, 80], Operations: ['97-17=80']
Exploring Operation: 54+80=134, Resulting Numbers: [2, 134]
Generated Node #3: [2, 134] from Operation: 54+80=134
Current State: 67:[2, 134], Operations: ['97-17=80', '54+80=134']
Exploring Operation: 134/2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[17, 2, 97, 54], Operations: []
Exploring Operation: 17+2=19, Resulting Numbers: [97, 54, 19]
Generated Node #0,0: 67:[97, 54, 19] Operation: 17+2=19
Exploring Operation: 97-17=80, Resulting Numbers: [2, 54, 80]
Generated Node #0,1: 67:[2, 54, 80] Operation: 97-17=80
Exploring Operation: 17*2=34, Resulting Numbers: [97, 54, 34]
Generated Node #0,2: 67:[97, 54, 34] Operation: 17*2=34
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[97, 54, 34], Operations: ['17*2=34']
Exploring Operation: 97-34=63, Resulting Numbers: [54, 63]
Generated Node #0,2,0: 67:[54, 63] Operation: 97-34=63
Exploring Operation: 97-54=43, Resulting Numbers: [34, 43]
Generated Node #0,2,1: 67:[34, 43] Operation: 97-54=43
Exploring Operation: 54+34=88, Resulting Numbers: [97, 88]
Generated Node #0,2,2: 67:[97, 88] Operation: 54+34=88
Moving to Node #0,2,0
Current State: 67:[54, 63], Operations: ['17*2=34', '97-34=63']
Exploring Operation: 54*63=3402, Resulting Numbers: [3402]
3402,67 unequal: No Solution
Exploring Operation: 54+63=117, Resulting Numbers: [117]
117,67 unequal: No Solution
Exploring Operation: 63-54=9, Resulting Numbers: [9]
9,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[97, 88], Operations: ['17*2=34', '54+34=88']
Exploring Operation: 97-88=9, Resulting Numbers: [9]
9,67 unequal: No Solution
Exploring Operation: 97*88=8536, Resulting Numbers: [8536]
8536,67 unequal: No Solution
Exploring Operation: 97+88=185, Resulting Numbers: [185]
185,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[34, 43], Operations: ['17*2=34', '97-54=43']
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,67 unequal: No Solution
Exploring Operation: 34*43=1462, Resulting Numbers: [1462]
1462,67 unequal: No Solution
Exploring Operation: 34+43=77, Resulting Numbers: [77]
77,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,0
Current State: 67:[97, 54, 19], Operations: ['17+2=19']
Exploring Operation: 97-19=78, Resulting Numbers: [54, 78]
Generated Node #0,0,0: 67:[54, 78] Operation: 97-19=78
Exploring Operation: 97+19=116, Resulting Numbers: [54, 116]
Generated Node #0,0,1: 67:[54, 116] Operation: 97+19=116
Exploring Operation: 54+19=73, Resulting Numbers: [97, 73]
Generated Node #0,0,2: 67:[97, 73] Operation: 54+19=73
Moving to Node #0,0,0
Current State: 67:[54, 78], Operations: ['17+2=19', '97-19=78']
Exploring Operation: 54+78=132, Resulting Numbers: [132]
132,67 unequal: No Solution
Exploring Operation: 54*78=4212, Resulting Numbers: [4212]
4212,67 unequal: No Solution
Exploring Operation: 78-54=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[97, 73], Operations: ['17+2=19', '54+19=73']
Exploring Operation: 97*73=7081, Resulting Numbers: [7081]
7081,67 unequal: No Solution
Exploring Operation: 97-73=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Exploring Operation: 97+73=170, Resulting Numbers: [170]
170,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[54, 116], Operations: ['17+2=19', '97+19=116']
Exploring Operation: 54+116=170, Resulting Numbers: [170]
170,67 unequal: No Solution
Exploring Operation: 116-54=62, Resulting Numbers: [62]
62,67 unequal: No Solution
Exploring Operation: 54*116=6264, Resulting Numbers: [6264]
6264,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,1
Current State: 67:[2, 54, 80], Operations: ['97-17=80']
Exploring Operation: 80-2=78, Resulting Numbers: [54, 78]
Generated Node #0,1,0: 67:[54, 78] Operation: 80-2=78
Exploring Operation: 54-2=52, Resulting Numbers: [80, 52]
Generated Node #0,1,1: 67:[80, 52] Operation: 54-2=52
Exploring Operation: 2+54=56, Resulting Numbers: [80, 56]
Generated Node #0,1,2: 67:[80, 56] Operation: 2+54=56
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[54, 78], Operations: ['97-17=80', '80-2=78']
Exploring Operation: 78-54=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Exploring Operation: 54+78=132, Resulting Numbers: [132]
132,67 unequal: No Solution
Exploring Operation: 54*78=4212, Resulting Numbers: [4212]
4212,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,2
Current State: 67:[80, 56], Operations: ['97-17=80', '2+54=56']
Exploring Operation: 80+56=136, Resulting Numbers: [136]
136,67 unequal: No Solution
Exploring Operation: 80-56=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Exploring Operation: 80*56=4480, Resulting Numbers: [4480]
4480,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:[80, 52], Operations: ['97-17=80', '54-2=52']
Exploring Operation: 80-52=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Exploring Operation: 80+52=132, Resulting Numbers: [132]
132,67 unequal: No Solution
Exploring Operation: 80*52=4160, Resulting Numbers: [4160]
4160,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
No solution found.
| 0 | hs_3 | sum_heuristic |
[
48,
67,
21,
77
] | 17 | [
"48+67=115",
"21+77=98",
"115-98=17"
] | Current State: 17:[48, 67, 21, 77], Operations: []
Exploring Operation: 48+67=115, Resulting Numbers: [21, 77, 115]
Generated Node #2: [21, 77, 115] from Operation: 48+67=115
Current State: 17:[21, 77, 115], Operations: ['48+67=115']
Exploring Operation: 21+77=98, Resulting Numbers: [115, 98]
Generated Node #3: [115, 98] from Operation: 21+77=98
Current State: 17:[115, 98], Operations: ['48+67=115', '21+77=98']
Exploring Operation: 115-98=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[48, 67, 21, 77], Operations: []
Exploring Operation: 77-67=10, Resulting Numbers: [48, 21, 10]
Generated Node #0,0: 17:[48, 21, 10] Operation: 77-67=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[48, 21, 10], Operations: ['77-67=10']
Exploring Operation: 48-21=27, Resulting Numbers: [10, 27]
Generated Node #0,0,0: 17:[10, 27] Operation: 48-21=27
Moving to Node #0,0,0
Current State: 17:[10, 27], Operations: ['77-67=10', '48-21=27']
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[48, 67, 21, 77], Operations: []
Exploring Operation: 77-67=10, Resulting Numbers: [48, 21, 10]
Generated Node #0,0: 17:[48, 21, 10] Operation: 77-67=10
Moving to Node #0,0
Current State: 17:[48, 21, 10], Operations: ['77-67=10']
Exploring Operation: 48-21=27, Resulting Numbers: [10, 27]
Generated Node #0,0,0: 17:[10, 27] Operation: 48-21=27
Moving to Node #0,0,0
Current State: 17:[10, 27], Operations: ['77-67=10', '48-21=27']
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
89,
62,
68,
15
] | 56 | [
"89-62=27",
"68+15=83",
"83-27=56"
] | Current State: 56:[89, 62, 68, 15], Operations: []
Exploring Operation: 89-62=27, Resulting Numbers: [68, 15, 27]
Generated Node #2: [68, 15, 27] from Operation: 89-62=27
Current State: 56:[68, 15, 27], Operations: ['89-62=27']
Exploring Operation: 68+15=83, Resulting Numbers: [27, 83]
Generated Node #3: [27, 83] from Operation: 68+15=83
Current State: 56:[27, 83], Operations: ['89-62=27', '68+15=83']
Exploring Operation: 83-27=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[89, 62, 68, 15], Operations: []
Exploring Operation: 68-15=53, Resulting Numbers: [89, 62, 53]
Generated Node #0,0: 56:[89, 62, 53] Operation: 68-15=53
Exploring Operation: 89-68=21, Resulting Numbers: [62, 15, 21]
Generated Node #0,1: 56:[62, 15, 21] Operation: 89-68=21
Exploring Operation: 89-15=74, Resulting Numbers: [62, 68, 74]
Generated Node #0,2: 56:[62, 68, 74] Operation: 89-15=74
Exploring Operation: 89-62=27, Resulting Numbers: [68, 15, 27]
Generated Node #0,3: 56:[68, 15, 27] Operation: 89-62=27
Exploring Operation: 68-62=6, Resulting Numbers: [89, 15, 6]
Generated Node #0,4: 56:[89, 15, 6] Operation: 68-62=6
Moving to Node #0,1
Current State: 56:[62, 15, 21], Operations: ['89-68=21']
Exploring Operation: 62-21=41, Resulting Numbers: [15, 41]
Generated Node #0,1,0: 56:[15, 41] Operation: 62-21=41
Exploring Operation: 21-15=6, Resulting Numbers: [62, 6]
Generated Node #0,1,1: 56:[62, 6] Operation: 21-15=6
Exploring Operation: 62-15=47, Resulting Numbers: [21, 47]
Generated Node #0,1,2: 56:[21, 47] Operation: 62-15=47
Exploring Operation: 62+15=77, Resulting Numbers: [21, 77]
Generated Node #0,1,3: 56:[21, 77] Operation: 62+15=77
Exploring Operation: 15+21=36, Resulting Numbers: [62, 36]
Generated Node #0,1,4: 56:[62, 36] Operation: 15+21=36
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 56:[62, 6], Operations: ['89-68=21', '21-15=6']
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,56 unequal: No Solution
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[89, 62, 68, 15], Operations: []
Exploring Operation: 89-68=21, Resulting Numbers: [62, 15, 21]
Generated Node #0,1: 56:[62, 15, 21] Operation: 89-68=21
Moving to Node #0,1
Current State: 56:[62, 15, 21], Operations: ['89-68=21']
Exploring Operation: 21-15=6, Resulting Numbers: [62, 6]
Generated Node #0,1,1: 56:[62, 6] Operation: 21-15=6
Moving to Node #0,1,1
Current State: 56:[62, 6], Operations: ['89-68=21', '21-15=6']
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
59,
11,
6,
55
] | 91 | [
"11*55=605",
"605-59=546",
"546/6=91"
] | Current State: 91:[59, 11, 6, 55], Operations: []
Exploring Operation: 11*55=605, Resulting Numbers: [59, 6, 605]
Generated Node #2: [59, 6, 605] from Operation: 11*55=605
Current State: 91:[59, 6, 605], Operations: ['11*55=605']
Exploring Operation: 605-59=546, Resulting Numbers: [6, 546]
Generated Node #3: [6, 546] from Operation: 605-59=546
Current State: 91:[6, 546], Operations: ['11*55=605', '605-59=546']
Exploring Operation: 546/6=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[59, 11, 6, 55], Operations: []
Exploring Operation: 59-55=4, Resulting Numbers: [11, 6, 4]
Generated Node #0,0: 91:[11, 6, 4] Operation: 59-55=4
Exploring Operation: 59+11=70, Resulting Numbers: [6, 55, 70]
Generated Node #0,1: 91:[6, 55, 70] Operation: 59+11=70
Exploring Operation: 55/11=5, Resulting Numbers: [59, 6, 5]
Generated Node #0,2: 91:[59, 6, 5] Operation: 55/11=5
Exploring Operation: 59+55=114, Resulting Numbers: [11, 6, 114]
Generated Node #0,3: 91:[11, 6, 114] Operation: 59+55=114
Exploring Operation: 11+55=66, Resulting Numbers: [59, 6, 66]
Generated Node #0,4: 91:[59, 6, 66] Operation: 11+55=66
Moving to Node #0,0
Current State: 91:[11, 6, 4], Operations: ['59-55=4']
Exploring Operation: 6+4=10, Resulting Numbers: [11, 10]
Generated Node #0,0,0: 91:[11, 10] Operation: 6+4=10
Exploring Operation: 11-4=7, Resulting Numbers: [6, 7]
Generated Node #0,0,1: 91:[6, 7] Operation: 11-4=7
Exploring Operation: 11-6=5, Resulting Numbers: [4, 5]
Generated Node #0,0,2: 91:[4, 5] Operation: 11-6=5
Exploring Operation: 11+6=17, Resulting Numbers: [4, 17]
Generated Node #0,0,3: 91:[4, 17] Operation: 11+6=17
Exploring Operation: 11+4=15, Resulting Numbers: [6, 15]
Generated Node #0,0,4: 91:[6, 15] Operation: 11+4=15
Moving to Node #0,3
Current State: 91:[11, 6, 114], Operations: ['59+55=114']
Exploring Operation: 114/6=19, Resulting Numbers: [11, 19]
Generated Node #0,3,0: 91:[11, 19] Operation: 114/6=19
Exploring Operation: 11+6=17, Resulting Numbers: [114, 17]
Generated Node #0,3,1: 91:[114, 17] Operation: 11+6=17
Exploring Operation: 114-6=108, Resulting Numbers: [11, 108]
Generated Node #0,3,2: 91:[11, 108] Operation: 114-6=108
Exploring Operation: 114-11=103, Resulting Numbers: [6, 103]
Generated Node #0,3,3: 91:[6, 103] Operation: 114-11=103
Exploring Operation: 11-6=5, Resulting Numbers: [114, 5]
Generated Node #0,3,4: 91:[114, 5] Operation: 11-6=5
Moving to Node #0,2
Current State: 91:[59, 6, 5], Operations: ['55/11=5']
Exploring Operation: 59-5=54, Resulting Numbers: [6, 54]
Generated Node #0,2,0: 91:[6, 54] Operation: 59-5=54
Exploring Operation: 59+5=64, Resulting Numbers: [6, 64]
Generated Node #0,2,1: 91:[6, 64] Operation: 59+5=64
Exploring Operation: 6-5=1, Resulting Numbers: [59, 1]
Generated Node #0,2,2: 91:[59, 1] Operation: 6-5=1
Exploring Operation: 6+5=11, Resulting Numbers: [59, 11]
Generated Node #0,2,3: 91:[59, 11] Operation: 6+5=11
Exploring Operation: 59+6=65, Resulting Numbers: [5, 65]
Generated Node #0,2,4: 91:[5, 65] Operation: 59+6=65
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[6, 64], Operations: ['55/11=5', '59+5=64']
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,91 unequal: No Solution
Exploring Operation: 6*64=384, Resulting Numbers: [384]
384,91 unequal: No Solution
Exploring Operation: 6+64=70, Resulting Numbers: [70]
70,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,2,4
Current State: 91:[5, 65], Operations: ['55/11=5', '59+6=65']
Exploring Operation: 5+65=70, Resulting Numbers: [70]
70,91 unequal: No Solution
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,91 unequal: No Solution
Exploring Operation: 5*65=325, Resulting Numbers: [325]
325,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,2,3
Current State: 91:[59, 11], Operations: ['55/11=5', '6+5=11']
Exploring Operation: 59+11=70, Resulting Numbers: [70]
70,91 unequal: No Solution
Exploring Operation: 59*11=649, Resulting Numbers: [649]
649,91 unequal: No Solution
Exploring Operation: 59-11=48, Resulting Numbers: [48]
48,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,2,0
Current State: 91:[6, 54], Operations: ['55/11=5', '59-5=54']
Exploring Operation: 6*54=324, Resulting Numbers: [324]
324,91 unequal: No Solution
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,91 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,91 unequal: No Solution
Exploring Operation: 6+54=60, Resulting Numbers: [60]
60,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,2,2
Current State: 91:[59, 1], Operations: ['55/11=5', '6-5=1']
Exploring Operation: 59/1=59, Resulting Numbers: [59]
59,91 unequal: No Solution
Exploring Operation: 59+1=60, Resulting Numbers: [60]
60,91 unequal: No Solution
Exploring Operation: 59*1=59, Resulting Numbers: [59]
59,91 unequal: No Solution
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,91 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: 91:[6, 55, 70], Operations: ['59+11=70']
Exploring Operation: 6+70=76, Resulting Numbers: [55, 76]
Generated Node #0,1,0: 91:[55, 76] Operation: 6+70=76
Exploring Operation: 55-6=49, Resulting Numbers: [70, 49]
Generated Node #0,1,1: 91:[70, 49] Operation: 55-6=49
Exploring Operation: 55+70=125, Resulting Numbers: [6, 125]
Generated Node #0,1,2: 91:[6, 125] Operation: 55+70=125
Exploring Operation: 70-55=15, Resulting Numbers: [6, 15]
Generated Node #0,1,3: 91:[6, 15] Operation: 70-55=15
Exploring Operation: 6+55=61, Resulting Numbers: [70, 61]
Generated Node #0,1,4: 91:[70, 61] Operation: 6+55=61
Moving to Node #0,4
Current State: 91:[59, 6, 66], Operations: ['11+55=66']
Exploring Operation: 66-59=7, Resulting Numbers: [6, 7]
Generated Node #0,4,0: 91:[6, 7] Operation: 66-59=7
Exploring Operation: 59+66=125, Resulting Numbers: [6, 125]
Generated Node #0,4,1: 91:[6, 125] Operation: 59+66=125
Exploring Operation: 6+66=72, Resulting Numbers: [59, 72]
Generated Node #0,4,2: 91:[59, 72] Operation: 6+66=72
Exploring Operation: 59+6=65, Resulting Numbers: [66, 65]
Generated Node #0,4,3: 91:[66, 65] Operation: 59+6=65
Exploring Operation: 66/6=11, Resulting Numbers: [59, 11]
Generated Node #0,4,4: 91:[59, 11] Operation: 66/6=11
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 91:[6, 7], Operations: ['11+55=66', '66-59=7']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,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,4,4
Current State: 91:[59, 11], Operations: ['11+55=66', '66/6=11']
Exploring Operation: 59*11=649, Resulting Numbers: [649]
649,91 unequal: No Solution
Exploring Operation: 59+11=70, Resulting Numbers: [70]
70,91 unequal: No Solution
Exploring Operation: 59-11=48, Resulting Numbers: [48]
48,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,4,1
Current State: 91:[6, 125], Operations: ['11+55=66', '59+66=125']
Exploring Operation: 6+125=131, Resulting Numbers: [131]
131,91 unequal: No Solution
Exploring Operation: 125-6=119, Resulting Numbers: [119]
119,91 unequal: No Solution
Exploring Operation: 6*125=750, Resulting Numbers: [750]
750,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,4,2
Current State: 91:[59, 72], Operations: ['11+55=66', '6+66=72']
Exploring Operation: 59+72=131, Resulting Numbers: [131]
131,91 unequal: No Solution
Exploring Operation: 72-59=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 59*72=4248, Resulting Numbers: [4248]
4248,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,4,3
Current State: 91:[66, 65], Operations: ['11+55=66', '59+6=65']
Exploring Operation: 66+65=131, Resulting Numbers: [131]
131,91 unequal: No Solution
Exploring Operation: 66*65=4290, Resulting Numbers: [4290]
4290,91 unequal: No Solution
Exploring Operation: 66-65=1, Resulting Numbers: [1]
1,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 91:[6, 7], Operations: ['59-55=4', '11-4=7']
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Moving to Node #0,0,4
Current State: 91:[6, 15], Operations: ['59-55=4', '11+4=15']
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,91 unequal: No Solution
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,91 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,91 unequal: No Solution
Moving to Node #0,1,3
Current State: 91:[6, 15], Operations: ['59+11=70', '70-55=15']
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,91 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,91 unequal: No Solution
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[11, 10], Operations: ['59-55=4', '6+4=10']
Exploring Operation: 11*10=110, Resulting Numbers: [110]
110,91 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[4, 5], Operations: ['59-55=4', '11-6=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,91 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Moving to Node #0,0,3
Current State: 91:[4, 17], Operations: ['59-55=4', '11+6=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,91 unequal: No Solution
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,91 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Moving to Node #0,3,0
Current State: 91:[11, 19], Operations: ['59+55=114', '114/6=19']
Exploring Operation: 11*19=209, Resulting Numbers: [209]
209,91 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 11+19=30, Resulting Numbers: [30]
30,91 unequal: No Solution
Moving to Node #0,3,3
Current State: 91:[6, 103], Operations: ['59+55=114', '114-11=103']
Exploring Operation: 103-6=97, Resulting Numbers: [97]
97,91 unequal: No Solution
Exploring Operation: 6*103=618, Resulting Numbers: [618]
618,91 unequal: No Solution
Exploring Operation: 6+103=109, Resulting Numbers: [109]
109,91 unequal: No Solution
Moving to Node #0,3,2
Current State: 91:[11, 108], Operations: ['59+55=114', '114-6=108']
Exploring Operation: 11+108=119, Resulting Numbers: [119]
119,91 unequal: No Solution
Exploring Operation: 11*108=1188, Resulting Numbers: [1188]
1188,91 unequal: No Solution
Exploring Operation: 108-11=97, Resulting Numbers: [97]
97,91 unequal: No Solution
Moving to Node #0,3,4
Current State: 91:[114, 5], Operations: ['59+55=114', '11-6=5']
Exploring Operation: 114+5=119, Resulting Numbers: [119]
119,91 unequal: No Solution
Exploring Operation: 114-5=109, Resulting Numbers: [109]
109,91 unequal: No Solution
Exploring Operation: 114*5=570, Resulting Numbers: [570]
570,91 unequal: No Solution
Moving to Node #0,3,1
Current State: 91:[114, 17], Operations: ['59+55=114', '11+6=17']
Exploring Operation: 114+17=131, Resulting Numbers: [131]
131,91 unequal: No Solution
Exploring Operation: 114*17=1938, Resulting Numbers: [1938]
1938,91 unequal: No Solution
Exploring Operation: 114-17=97, Resulting Numbers: [97]
97,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[6, 125], Operations: ['59+11=70', '55+70=125']
Exploring Operation: 6+125=131, Resulting Numbers: [131]
131,91 unequal: No Solution
Exploring Operation: 125-6=119, Resulting Numbers: [119]
119,91 unequal: No Solution
Exploring Operation: 6*125=750, Resulting Numbers: [750]
750,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[55, 76], Operations: ['59+11=70', '6+70=76']
Exploring Operation: 76-55=21, Resulting Numbers: [21]
21,91 unequal: No Solution
Exploring Operation: 55*76=4180, Resulting Numbers: [4180]
4180,91 unequal: No Solution
Exploring Operation: 55+76=131, Resulting Numbers: [131]
131,91 unequal: No Solution
Moving to Node #0,1,4
Current State: 91:[70, 61], Operations: ['59+11=70', '6+55=61']
Exploring Operation: 70*61=4270, Resulting Numbers: [4270]
4270,91 unequal: No Solution
Exploring Operation: 70+61=131, Resulting Numbers: [131]
131,91 unequal: No Solution
Exploring Operation: 70-61=9, Resulting Numbers: [9]
9,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[70, 49], Operations: ['59+11=70', '55-6=49']
Exploring Operation: 70*49=3430, Resulting Numbers: [3430]
3430,91 unequal: No Solution
Exploring Operation: 70-49=21, Resulting Numbers: [21]
21,91 unequal: No Solution
Exploring Operation: 70+49=119, Resulting Numbers: [119]
119,91 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
75,
30,
60,
32
] | 64 | [
"75-60=15",
"30*32=960",
"960/15=64"
] | Current State: 64:[75, 30, 60, 32], Operations: []
Exploring Operation: 75-60=15, Resulting Numbers: [30, 32, 15]
Generated Node #2: [30, 32, 15] from Operation: 75-60=15
Current State: 64:[30, 32, 15], Operations: ['75-60=15']
Exploring Operation: 30*32=960, Resulting Numbers: [15, 960]
Generated Node #3: [15, 960] from Operation: 30*32=960
Current State: 64:[15, 960], Operations: ['75-60=15', '30*32=960']
Exploring Operation: 960/15=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[75, 30, 60, 32], Operations: []
Exploring Operation: 75-60=15, Resulting Numbers: [30, 32, 15]
Generated Node #0,0: 64:[30, 32, 15] Operation: 75-60=15
Exploring Operation: 60/30=2, Resulting Numbers: [75, 32, 2]
Generated Node #0,1: 64:[75, 32, 2] Operation: 60/30=2
Exploring Operation: 60-30=30, Resulting Numbers: [75, 32, 30]
Generated Node #0,2: 64:[75, 32, 30] Operation: 60-30=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[30, 32, 15], Operations: ['75-60=15']
Exploring Operation: 30-15=15, Resulting Numbers: [32, 15]
Generated Node #0,0,0: 64:[32, 15] Operation: 30-15=15
Exploring Operation: 30/15=2, Resulting Numbers: [32, 2]
Generated Node #0,0,1: 64:[32, 2] Operation: 30/15=2
Exploring Operation: 32-30=2, Resulting Numbers: [15, 2]
Generated Node #0,0,2: 64:[15, 2] Operation: 32-30=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 64:[32, 2], Operations: ['75-60=15', '30/15=2']
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[75, 30, 60, 32], Operations: []
Exploring Operation: 75-60=15, Resulting Numbers: [30, 32, 15]
Generated Node #0,0: 64:[30, 32, 15] Operation: 75-60=15
Moving to Node #0,0
Current State: 64:[30, 32, 15], Operations: ['75-60=15']
Exploring Operation: 30/15=2, Resulting Numbers: [32, 2]
Generated Node #0,0,1: 64:[32, 2] Operation: 30/15=2
Moving to Node #0,0,1
Current State: 64:[32, 2], Operations: ['75-60=15', '30/15=2']
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
94,
73,
36,
46
] | 31 | [
"94-73=21",
"46-36=10",
"21+10=31"
] | Current State: 31:[94, 73, 36, 46], Operations: []
Exploring Operation: 94-73=21, Resulting Numbers: [36, 46, 21]
Generated Node #2: [36, 46, 21] from Operation: 94-73=21
Current State: 31:[36, 46, 21], Operations: ['94-73=21']
Exploring Operation: 46-36=10, Resulting Numbers: [21, 10]
Generated Node #3: [21, 10] from Operation: 46-36=10
Current State: 31:[21, 10], Operations: ['94-73=21', '46-36=10']
Exploring Operation: 21+10=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[94, 73, 36, 46], Operations: []
Exploring Operation: 94-73=21, Resulting Numbers: [36, 46, 21]
Generated Node #0,0: 31:[36, 46, 21] Operation: 94-73=21
Exploring Operation: 94-46=48, Resulting Numbers: [73, 36, 48]
Generated Node #0,1: 31:[73, 36, 48] Operation: 94-46=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[36, 46, 21], Operations: ['94-73=21']
Exploring Operation: 46-21=25, Resulting Numbers: [36, 25]
Generated Node #0,0,0: 31:[36, 25] Operation: 46-21=25
Exploring Operation: 46-36=10, Resulting Numbers: [21, 10]
Generated Node #0,0,1: 31:[21, 10] Operation: 46-36=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[36, 25], Operations: ['94-73=21', '46-21=25']
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,31 unequal: No Solution
Exploring Operation: 36+25=61, Resulting Numbers: [61]
61,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 31:[21, 10], Operations: ['94-73=21', '46-36=10']
Exploring Operation: 21+10=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[94, 73, 36, 46], Operations: []
Exploring Operation: 94-73=21, Resulting Numbers: [36, 46, 21]
Generated Node #0,0: 31:[36, 46, 21] Operation: 94-73=21
Moving to Node #0,0
Current State: 31:[36, 46, 21], Operations: ['94-73=21']
Exploring Operation: 46-36=10, Resulting Numbers: [21, 10]
Generated Node #0,0,1: 31:[21, 10] Operation: 46-36=10
Moving to Node #0,0,1
Current State: 31:[21, 10], Operations: ['94-73=21', '46-36=10']
Exploring Operation: 21+10=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
26,
63,
57,
78
] | 23 | [
"78-57=21",
"63/21=3",
"26-3=23"
] | Current State: 23:[26, 63, 57, 78], Operations: []
Exploring Operation: 78-57=21, Resulting Numbers: [26, 63, 21]
Generated Node #2: [26, 63, 21] from Operation: 78-57=21
Current State: 23:[26, 63, 21], Operations: ['78-57=21']
Exploring Operation: 63/21=3, Resulting Numbers: [26, 3]
Generated Node #3: [26, 3] from Operation: 63/21=3
Current State: 23:[26, 3], Operations: ['78-57=21', '63/21=3']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[26, 63, 57, 78], Operations: []
Exploring Operation: 78-63=15, Resulting Numbers: [26, 57, 15]
Generated Node #0,0: 23:[26, 57, 15] Operation: 78-63=15
Moving to Node #0,0
Current State: 23:[26, 57, 15], Operations: ['78-63=15']
Exploring Operation: 57-26=31, Resulting Numbers: [15, 31]
Generated Node #0,0,0: 23:[15, 31] Operation: 57-26=31
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[15, 31], Operations: ['78-63=15', '57-26=31']
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,23 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 |
[
50,
47,
78,
77
] | 58 | [
"50+47=97",
"78+77=155",
"155-97=58"
] | Current State: 58:[50, 47, 78, 77], Operations: []
Exploring Operation: 50+47=97, Resulting Numbers: [78, 77, 97]
Generated Node #2: [78, 77, 97] from Operation: 50+47=97
Current State: 58:[78, 77, 97], Operations: ['50+47=97']
Exploring Operation: 78+77=155, Resulting Numbers: [97, 155]
Generated Node #3: [97, 155] from Operation: 78+77=155
Current State: 58:[97, 155], Operations: ['50+47=97', '78+77=155']
Exploring Operation: 155-97=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[50, 47, 78, 77], Operations: []
Exploring Operation: 78-47=31, Resulting Numbers: [50, 77, 31]
Generated Node #0,0: 58:[50, 77, 31] Operation: 78-47=31
Exploring Operation: 78-77=1, Resulting Numbers: [50, 47, 1]
Generated Node #0,1: 58:[50, 47, 1] Operation: 78-77=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[50, 47, 1], Operations: ['78-77=1']
Exploring Operation: 50-47=3, Resulting Numbers: [1, 3]
Generated Node #0,1,0: 58:[1, 3] Operation: 50-47=3
Exploring Operation: 50+1=51, Resulting Numbers: [47, 51]
Generated Node #0,1,1: 58:[47, 51] Operation: 50+1=51
Moving to Node #0,1,0
Current State: 58:[1, 3], Operations: ['78-77=1', '50-47=3']
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[47, 51], Operations: ['78-77=1', '50+1=51']
Exploring Operation: 51-47=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Exploring Operation: 47+51=98, Resulting Numbers: [98]
98,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,0
Current State: 58:[50, 77, 31], Operations: ['78-47=31']
Exploring Operation: 77-50=27, Resulting Numbers: [31, 27]
Generated Node #0,0,0: 58:[31, 27] Operation: 77-50=27
Exploring Operation: 77-31=46, Resulting Numbers: [50, 46]
Generated Node #0,0,1: 58:[50, 46] Operation: 77-31=46
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[31, 27], Operations: ['78-47=31', '77-50=27']
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[50, 47, 78, 77], Operations: []
Exploring Operation: 78-47=31, Resulting Numbers: [50, 77, 31]
Generated Node #0,0: 58:[50, 77, 31] Operation: 78-47=31
Moving to Node #0,0
Current State: 58:[50, 77, 31], Operations: ['78-47=31']
Exploring Operation: 77-50=27, Resulting Numbers: [31, 27]
Generated Node #0,0,0: 58:[31, 27] Operation: 77-50=27
Moving to Node #0,0,0
Current State: 58:[31, 27], Operations: ['78-47=31', '77-50=27']
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
25,
4,
57,
3
] | 24 | [
"57-25=32",
"32/4=8",
"3*8=24"
] | Current State: 24:[25, 4, 57, 3], Operations: []
Exploring Operation: 57-25=32, Resulting Numbers: [4, 3, 32]
Generated Node #2: [4, 3, 32] from Operation: 57-25=32
Current State: 24:[4, 3, 32], Operations: ['57-25=32']
Exploring Operation: 32/4=8, Resulting Numbers: [3, 8]
Generated Node #3: [3, 8] from Operation: 32/4=8
Current State: 24:[3, 8], Operations: ['57-25=32', '32/4=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[25, 4, 57, 3], Operations: []
Exploring Operation: 57/3=19, Resulting Numbers: [25, 4, 19]
Generated Node #0,0: 24:[25, 4, 19] Operation: 57/3=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[25, 4, 19], Operations: ['57/3=19']
Exploring Operation: 25-19=6, Resulting Numbers: [4, 6]
Generated Node #0,0,0: 24:[4, 6] Operation: 25-19=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[4, 6], Operations: ['57/3=19', '25-19=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[25, 4, 57, 3], Operations: []
Exploring Operation: 57/3=19, Resulting Numbers: [25, 4, 19]
Generated Node #0,0: 24:[25, 4, 19] Operation: 57/3=19
Moving to Node #0,0
Current State: 24:[25, 4, 19], Operations: ['57/3=19']
Exploring Operation: 25-19=6, Resulting Numbers: [4, 6]
Generated Node #0,0,0: 24:[4, 6] Operation: 25-19=6
Moving to Node #0,0,0
Current State: 24:[4, 6], Operations: ['57/3=19', '25-19=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
17,
54,
46,
84
] | 33 | [
"17+54=71",
"84-46=38",
"71-38=33"
] | Current State: 33:[17, 54, 46, 84], Operations: []
Exploring Operation: 17+54=71, Resulting Numbers: [46, 84, 71]
Generated Node #2: [46, 84, 71] from Operation: 17+54=71
Current State: 33:[46, 84, 71], Operations: ['17+54=71']
Exploring Operation: 84-46=38, Resulting Numbers: [71, 38]
Generated Node #3: [71, 38] from Operation: 84-46=38
Current State: 33:[71, 38], Operations: ['17+54=71', '84-46=38']
Exploring Operation: 71-38=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[17, 54, 46, 84], Operations: []
Exploring Operation: 84-46=38, Resulting Numbers: [17, 54, 38]
Generated Node #0,0: 33:[17, 54, 38] Operation: 84-46=38
Exploring Operation: 84-17=67, Resulting Numbers: [54, 46, 67]
Generated Node #0,1: 33:[54, 46, 67] Operation: 84-17=67
Exploring Operation: 84-54=30, Resulting Numbers: [17, 46, 30]
Generated Node #0,2: 33:[17, 46, 30] Operation: 84-54=30
Exploring Operation: 54-17=37, Resulting Numbers: [46, 84, 37]
Generated Node #0,3: 33:[46, 84, 37] Operation: 54-17=37
Exploring Operation: 54-46=8, Resulting Numbers: [17, 84, 8]
Generated Node #0,4: 33:[17, 84, 8] Operation: 54-46=8
Moving to Node #0,2
Current State: 33:[17, 46, 30], Operations: ['84-54=30']
Exploring Operation: 17+46=63, Resulting Numbers: [30, 63]
Generated Node #0,2,0: 33:[30, 63] Operation: 17+46=63
Exploring Operation: 30-17=13, Resulting Numbers: [46, 13]
Generated Node #0,2,1: 33:[46, 13] Operation: 30-17=13
Exploring Operation: 17+30=47, Resulting Numbers: [46, 47]
Generated Node #0,2,2: 33:[46, 47] Operation: 17+30=47
Exploring Operation: 46-17=29, Resulting Numbers: [30, 29]
Generated Node #0,2,3: 33:[30, 29] Operation: 46-17=29
Exploring Operation: 46-30=16, Resulting Numbers: [17, 16]
Generated Node #0,2,4: 33:[17, 16] Operation: 46-30=16
Moving to Node #0,0
Current State: 33:[17, 54, 38], Operations: ['84-46=38']
Exploring Operation: 54-38=16, Resulting Numbers: [17, 16]
Generated Node #0,0,0: 33:[17, 16] Operation: 54-38=16
Exploring Operation: 17+38=55, Resulting Numbers: [54, 55]
Generated Node #0,0,1: 33:[54, 55] Operation: 17+38=55
Exploring Operation: 38-17=21, Resulting Numbers: [54, 21]
Generated Node #0,0,2: 33:[54, 21] Operation: 38-17=21
Exploring Operation: 54-17=37, Resulting Numbers: [38, 37]
Generated Node #0,0,3: 33:[38, 37] Operation: 54-17=37
Exploring Operation: 17+54=71, Resulting Numbers: [38, 71]
Generated Node #0,0,4: 33:[38, 71] Operation: 17+54=71
Moving to Node #0,4
Current State: 33:[17, 84, 8], Operations: ['54-46=8']
Exploring Operation: 84-17=67, Resulting Numbers: [8, 67]
Generated Node #0,4,0: 33:[8, 67] Operation: 84-17=67
Exploring Operation: 17+8=25, Resulting Numbers: [84, 25]
Generated Node #0,4,1: 33:[84, 25] Operation: 17+8=25
Exploring Operation: 17-8=9, Resulting Numbers: [84, 9]
Generated Node #0,4,2: 33:[84, 9] Operation: 17-8=9
Exploring Operation: 84+8=92, Resulting Numbers: [17, 92]
Generated Node #0,4,3: 33:[17, 92] Operation: 84+8=92
Exploring Operation: 84-8=76, Resulting Numbers: [17, 76]
Generated Node #0,4,4: 33:[17, 76] Operation: 84-8=76
Moving to Node #0,1
Current State: 33:[54, 46, 67], Operations: ['84-17=67']
Exploring Operation: 54-46=8, Resulting Numbers: [67, 8]
Generated Node #0,1,0: 33:[67, 8] Operation: 54-46=8
Exploring Operation: 67-54=13, Resulting Numbers: [46, 13]
Generated Node #0,1,1: 33:[46, 13] Operation: 67-54=13
Exploring Operation: 54+67=121, Resulting Numbers: [46, 121]
Generated Node #0,1,2: 33:[46, 121] Operation: 54+67=121
Exploring Operation: 54+46=100, Resulting Numbers: [67, 100]
Generated Node #0,1,3: 33:[67, 100] Operation: 54+46=100
Exploring Operation: 67-46=21, Resulting Numbers: [54, 21]
Generated Node #0,1,4: 33:[54, 21] Operation: 67-46=21
Moving to Node #0,3
Current State: 33:[46, 84, 37], Operations: ['54-17=37']
Exploring Operation: 84-37=47, Resulting Numbers: [46, 47]
Generated Node #0,3,0: 33:[46, 47] Operation: 84-37=47
Exploring Operation: 46+37=83, Resulting Numbers: [84, 83]
Generated Node #0,3,1: 33:[84, 83] Operation: 46+37=83
Exploring Operation: 46+84=130, Resulting Numbers: [37, 130]
Generated Node #0,3,2: 33:[37, 130] Operation: 46+84=130
Exploring Operation: 46-37=9, Resulting Numbers: [84, 9]
Generated Node #0,3,3: 33:[84, 9] Operation: 46-37=9
Exploring Operation: 84-46=38, Resulting Numbers: [37, 38]
Generated Node #0,3,4: 33:[37, 38] Operation: 84-46=38
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 33:[37, 38], Operations: ['54-17=37', '84-46=38']
Exploring Operation: 37*38=1406, Resulting Numbers: [1406]
1406,33 unequal: No Solution
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 37+38=75, Resulting Numbers: [75]
75,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,3,0
Current State: 33:[46, 47], Operations: ['54-17=37', '84-37=47']
Exploring Operation: 46+47=93, Resulting Numbers: [93]
93,33 unequal: No Solution
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 46*47=2162, Resulting Numbers: [2162]
2162,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,3,3
Current State: 33:[84, 9], Operations: ['54-17=37', '46-37=9']
Exploring Operation: 84-9=75, Resulting Numbers: [75]
75,33 unequal: No Solution
Exploring Operation: 84*9=756, Resulting Numbers: [756]
756,33 unequal: No Solution
Exploring Operation: 84+9=93, Resulting Numbers: [93]
93,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,3,1
Current State: 33:[84, 83], Operations: ['54-17=37', '46+37=83']
Exploring Operation: 84*83=6972, Resulting Numbers: [6972]
6972,33 unequal: No Solution
Exploring Operation: 84+83=167, Resulting Numbers: [167]
167,33 unequal: No Solution
Exploring Operation: 84-83=1, Resulting Numbers: [1]
1,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,3,2
Current State: 33:[37, 130], Operations: ['54-17=37', '46+84=130']
Exploring Operation: 130-37=93, Resulting Numbers: [93]
93,33 unequal: No Solution
Exploring Operation: 37+130=167, Resulting Numbers: [167]
167,33 unequal: No Solution
Exploring Operation: 37*130=4810, Resulting Numbers: [4810]
4810,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 33:[30, 29], Operations: ['84-54=30', '46-17=29']
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 30*29=870, Resulting Numbers: [870]
870,33 unequal: No Solution
Exploring Operation: 30+29=59, Resulting Numbers: [59]
59,33 unequal: No Solution
Moving to Node #0,0,3
Current State: 33:[38, 37], Operations: ['84-46=38', '54-17=37']
Exploring Operation: 38+37=75, Resulting Numbers: [75]
75,33 unequal: No Solution
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 38*37=1406, Resulting Numbers: [1406]
1406,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[17, 16], Operations: ['84-46=38', '54-38=16']
Exploring Operation: 17*16=272, Resulting Numbers: [272]
272,33 unequal: No Solution
Exploring Operation: 17+16=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[17, 54, 46, 84], Operations: []
Exploring Operation: 84-46=38, Resulting Numbers: [17, 54, 38]
Generated Node #0,0: 33:[17, 54, 38] Operation: 84-46=38
Moving to Node #0,0
Current State: 33:[17, 54, 38], Operations: ['84-46=38']
Exploring Operation: 54-38=16, Resulting Numbers: [17, 16]
Generated Node #0,0,0: 33:[17, 16] Operation: 54-38=16
Moving to Node #0,0,0
Current State: 33:[17, 16], Operations: ['84-46=38', '54-38=16']
Exploring Operation: 17+16=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 0.950521 | hs_5 | mult_heuristic |
[
42,
35,
44,
42
] | 78 | [
"42/42=1",
"35+44=79",
"79-1=78"
] | Current State: 78:[42, 35, 44, 42], Operations: []
Exploring Operation: 42/42=1, Resulting Numbers: [35, 44, 1]
Generated Node #2: [35, 44, 1] from Operation: 42/42=1
Current State: 78:[35, 44, 1], Operations: ['42/42=1']
Exploring Operation: 35+44=79, Resulting Numbers: [1, 79]
Generated Node #3: [1, 79] from Operation: 35+44=79
Current State: 78:[1, 79], Operations: ['42/42=1', '35+44=79']
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[42, 35, 44, 42], Operations: []
Exploring Operation: 42+35=77, Resulting Numbers: [44, 42, 77]
Generated Node #0,0: 78:[44, 42, 77] Operation: 42+35=77
Exploring Operation: 42-35=7, Resulting Numbers: [44, 42, 7]
Generated Node #0,1: 78:[44, 42, 7] Operation: 42-35=7
Exploring Operation: 35+44=79, Resulting Numbers: [42, 42, 79]
Generated Node #0,2: 78:[42, 42, 79] Operation: 35+44=79
Exploring Operation: 44-42=2, Resulting Numbers: [35, 42, 2]
Generated Node #0,3: 78:[35, 42, 2] Operation: 44-42=2
Exploring Operation: 44-42=2, Resulting Numbers: [42, 35, 2]
Generated Node #0,4: 78:[42, 35, 2] Operation: 44-42=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 78:[42, 42, 79], Operations: ['35+44=79']
Exploring Operation: 42/42=1, Resulting Numbers: [79, 1]
Generated Node #0,2,0: 78:[79, 1] Operation: 42/42=1
Exploring Operation: 42-42=0, Resulting Numbers: [79, 0]
Generated Node #0,2,1: 78:[79, 0] Operation: 42-42=0
Exploring Operation: 42+42=84, Resulting Numbers: [79, 84]
Generated Node #0,2,2: 78:[79, 84] Operation: 42+42=84
Exploring Operation: 79-42=37, Resulting Numbers: [42, 37]
Generated Node #0,2,3: 78:[42, 37] Operation: 79-42=37
Exploring Operation: 79-42=37, Resulting Numbers: [42, 37]
Generated Node #0,2,4: 78:[42, 37] Operation: 79-42=37
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 78:[79, 1], Operations: ['35+44=79', '42/42=1']
Exploring Operation: 79+1=80, Resulting Numbers: [80]
80,78 unequal: No Solution
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[42, 35, 44, 42], Operations: []
Exploring Operation: 35+44=79, Resulting Numbers: [42, 42, 79]
Generated Node #0,2: 78:[42, 42, 79] Operation: 35+44=79
Moving to Node #0,2
Current State: 78:[42, 42, 79], Operations: ['35+44=79']
Exploring Operation: 42/42=1, Resulting Numbers: [79, 1]
Generated Node #0,2,0: 78:[79, 1] Operation: 42/42=1
Moving to Node #0,2,0
Current State: 78:[79, 1], Operations: ['35+44=79', '42/42=1']
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
75,
57,
27,
4
] | 41 | [
"75-57=18",
"27-4=23",
"18+23=41"
] | Current State: 41:[75, 57, 27, 4], Operations: []
Exploring Operation: 75-57=18, Resulting Numbers: [27, 4, 18]
Generated Node #2: [27, 4, 18] from Operation: 75-57=18
Current State: 41:[27, 4, 18], Operations: ['75-57=18']
Exploring Operation: 27-4=23, Resulting Numbers: [18, 23]
Generated Node #3: [18, 23] from Operation: 27-4=23
Current State: 41:[18, 23], Operations: ['75-57=18', '27-4=23']
Exploring Operation: 18+23=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[75, 57, 27, 4], Operations: []
Exploring Operation: 75-4=71, Resulting Numbers: [57, 27, 71]
Generated Node #0,0: 41:[57, 27, 71] Operation: 75-4=71
Exploring Operation: 57-4=53, Resulting Numbers: [75, 27, 53]
Generated Node #0,1: 41:[75, 27, 53] Operation: 57-4=53
Exploring Operation: 75-27=48, Resulting Numbers: [57, 4, 48]
Generated Node #0,2: 41:[57, 4, 48] Operation: 75-27=48
Moving to Node #0,0
Current State: 41:[57, 27, 71], Operations: ['75-4=71']
Exploring Operation: 71-57=14, Resulting Numbers: [27, 14]
Generated Node #0,0,0: 41:[27, 14] Operation: 71-57=14
Exploring Operation: 57-27=30, Resulting Numbers: [71, 30]
Generated Node #0,0,1: 41:[71, 30] Operation: 57-27=30
Exploring Operation: 71-27=44, Resulting Numbers: [57, 44]
Generated Node #0,0,2: 41:[57, 44] Operation: 71-27=44
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 41:[57, 44], Operations: ['75-4=71', '71-27=44']
Exploring Operation: 57+44=101, Resulting Numbers: [101]
101,41 unequal: No Solution
Exploring Operation: 57-44=13, Resulting Numbers: [13]
13,41 unequal: No Solution
Exploring Operation: 57*44=2508, Resulting Numbers: [2508]
2508,41 unequal: No Solution
No 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: 41:[27, 14], Operations: ['75-4=71', '71-57=14']
Exploring Operation: 27*14=378, Resulting Numbers: [378]
378,41 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,41 unequal: No Solution
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[75, 57, 27, 4], Operations: []
Exploring Operation: 75-4=71, Resulting Numbers: [57, 27, 71]
Generated Node #0,0: 41:[57, 27, 71] Operation: 75-4=71
Moving to Node #0,0
Current State: 41:[57, 27, 71], Operations: ['75-4=71']
Exploring Operation: 71-57=14, Resulting Numbers: [27, 14]
Generated Node #0,0,0: 41:[27, 14] Operation: 71-57=14
Moving to Node #0,0,0
Current State: 41:[27, 14], Operations: ['75-4=71', '71-57=14']
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
13,
1,
74,
8
] | 68 | [
"13+1=14",
"74+8=82",
"82-14=68"
] | Current State: 68:[13, 1, 74, 8], Operations: []
Exploring Operation: 13+1=14, Resulting Numbers: [74, 8, 14]
Generated Node #2: [74, 8, 14] from Operation: 13+1=14
Current State: 68:[74, 8, 14], Operations: ['13+1=14']
Exploring Operation: 74+8=82, Resulting Numbers: [14, 82]
Generated Node #3: [14, 82] from Operation: 74+8=82
Current State: 68:[14, 82], Operations: ['13+1=14', '74+8=82']
Exploring Operation: 82-14=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[13, 1, 74, 8], Operations: []
Exploring Operation: 13+8=21, Resulting Numbers: [1, 74, 21]
Generated Node #0,0: 68:[1, 74, 21] Operation: 13+8=21
Exploring Operation: 74-13=61, Resulting Numbers: [1, 8, 61]
Generated Node #0,1: 68:[1, 8, 61] Operation: 74-13=61
Exploring Operation: 13-8=5, Resulting Numbers: [1, 74, 5]
Generated Node #0,2: 68:[1, 74, 5] Operation: 13-8=5
Exploring Operation: 74-8=66, Resulting Numbers: [13, 1, 66]
Generated Node #0,3: 68:[13, 1, 66] Operation: 74-8=66
Moving to Node #0,3
Current State: 68:[13, 1, 66], Operations: ['74-8=66']
Exploring Operation: 1+66=67, Resulting Numbers: [13, 67]
Generated Node #0,3,0: 68:[13, 67] Operation: 1+66=67
Exploring Operation: 13/1=13, Resulting Numbers: [66, 13]
Generated Node #0,3,1: 68:[66, 13] Operation: 13/1=13
Exploring Operation: 13+1=14, Resulting Numbers: [66, 14]
Generated Node #0,3,2: 68:[66, 14] Operation: 13+1=14
Exploring Operation: 13*1=13, Resulting Numbers: [66, 13]
Generated Node #0,3,3: 68:[66, 13] Operation: 13*1=13
Moving to Node #0,2
Current State: 68:[1, 74, 5], Operations: ['13-8=5']
Exploring Operation: 74-1=73, Resulting Numbers: [5, 73]
Generated Node #0,2,0: 68:[5, 73] Operation: 74-1=73
Exploring Operation: 1*74=74, Resulting Numbers: [5, 74]
Generated Node #0,2,1: 68:[5, 74] Operation: 1*74=74
Exploring Operation: 5-1=4, Resulting Numbers: [74, 4]
Generated Node #0,2,2: 68:[74, 4] Operation: 5-1=4
Exploring Operation: 74-5=69, Resulting Numbers: [1, 69]
Generated Node #0,2,3: 68:[1, 69] Operation: 74-5=69
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 68:[1, 69], Operations: ['13-8=5', '74-5=69']
Exploring Operation: 1+69=70, Resulting Numbers: [70]
70,68 unequal: No Solution
Exploring Operation: 1*69=69, Resulting Numbers: [69]
69,68 unequal: No Solution
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[13, 1, 74, 8], Operations: []
Exploring Operation: 13-8=5, Resulting Numbers: [1, 74, 5]
Generated Node #0,2: 68:[1, 74, 5] Operation: 13-8=5
Moving to Node #0,2
Current State: 68:[1, 74, 5], Operations: ['13-8=5']
Exploring Operation: 74-5=69, Resulting Numbers: [1, 69]
Generated Node #0,2,3: 68:[1, 69] Operation: 74-5=69
Moving to Node #0,2,3
Current State: 68:[1, 69], Operations: ['13-8=5', '74-5=69']
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
76,
26,
43,
74
] | 15 | [
"76+26=102",
"43+74=117",
"117-102=15"
] | Current State: 15:[76, 26, 43, 74], Operations: []
Exploring Operation: 76+26=102, Resulting Numbers: [43, 74, 102]
Generated Node #2: [43, 74, 102] from Operation: 76+26=102
Current State: 15:[43, 74, 102], Operations: ['76+26=102']
Exploring Operation: 43+74=117, Resulting Numbers: [102, 117]
Generated Node #3: [102, 117] from Operation: 43+74=117
Current State: 15:[102, 117], Operations: ['76+26=102', '43+74=117']
Exploring Operation: 117-102=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[76, 26, 43, 74], Operations: []
Exploring Operation: 74-43=31, Resulting Numbers: [76, 26, 31]
Generated Node #0,0: 15:[76, 26, 31] Operation: 74-43=31
Exploring Operation: 76-74=2, Resulting Numbers: [26, 43, 2]
Generated Node #0,1: 15:[26, 43, 2] Operation: 76-74=2
Exploring Operation: 76-26=50, Resulting Numbers: [43, 74, 50]
Generated Node #0,2: 15:[43, 74, 50] Operation: 76-26=50
Exploring Operation: 76-43=33, Resulting Numbers: [26, 74, 33]
Generated Node #0,3: 15:[26, 74, 33] Operation: 76-43=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[26, 43, 2], Operations: ['76-74=2']
Exploring Operation: 43-26=17, Resulting Numbers: [2, 17]
Generated Node #0,1,0: 15:[2, 17] Operation: 43-26=17
Exploring Operation: 26/2=13, Resulting Numbers: [43, 13]
Generated Node #0,1,1: 15:[43, 13] Operation: 26/2=13
Exploring Operation: 43-2=41, Resulting Numbers: [26, 41]
Generated Node #0,1,2: 15:[26, 41] Operation: 43-2=41
Exploring Operation: 26-2=24, Resulting Numbers: [43, 24]
Generated Node #0,1,3: 15:[43, 24] Operation: 26-2=24
Moving to Node #0,1,0
Current State: 15:[2, 17], Operations: ['76-74=2', '43-26=17']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[76, 26, 43, 74], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [26, 43, 2]
Generated Node #0,1: 15:[26, 43, 2] Operation: 76-74=2
Moving to Node #0,1
Current State: 15:[26, 43, 2], Operations: ['76-74=2']
Exploring Operation: 43-26=17, Resulting Numbers: [2, 17]
Generated Node #0,1,0: 15:[2, 17] Operation: 43-26=17
Moving to Node #0,1,0
Current State: 15:[2, 17], Operations: ['76-74=2', '43-26=17']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
77,
66,
41,
43
] | 88 | [
"43-41=2",
"77*2=154",
"154-66=88"
] | Current State: 88:[77, 66, 41, 43], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [77, 66, 2]
Generated Node #2: [77, 66, 2] from Operation: 43-41=2
Current State: 88:[77, 66, 2], Operations: ['43-41=2']
Exploring Operation: 77*2=154, Resulting Numbers: [66, 154]
Generated Node #3: [66, 154] from Operation: 77*2=154
Current State: 88:[66, 154], Operations: ['43-41=2', '77*2=154']
Exploring Operation: 154-66=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[77, 66, 41, 43], Operations: []
Exploring Operation: 77-66=11, Resulting Numbers: [41, 43, 11]
Generated Node #0,0: 88:[41, 43, 11] Operation: 77-66=11
Moving to Node #0,0
Current State: 88:[41, 43, 11], Operations: ['77-66=11']
Exploring Operation: 43-41=2, Resulting Numbers: [11, 2]
Generated Node #0,0,0: 88:[11, 2] Operation: 43-41=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[11, 2], Operations: ['77-66=11', '43-41=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,88 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 |
[
21,
59,
10,
4
] | 44 | [
"59-21=38",
"10-4=6",
"38+6=44"
] | Current State: 44:[21, 59, 10, 4], Operations: []
Exploring Operation: 59-21=38, Resulting Numbers: [10, 4, 38]
Generated Node #2: [10, 4, 38] from Operation: 59-21=38
Current State: 44:[10, 4, 38], Operations: ['59-21=38']
Exploring Operation: 10-4=6, Resulting Numbers: [38, 6]
Generated Node #3: [38, 6] from Operation: 10-4=6
Current State: 44:[38, 6], Operations: ['59-21=38', '10-4=6']
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[21, 59, 10, 4], Operations: []
Exploring Operation: 59-21=38, Resulting Numbers: [10, 4, 38]
Generated Node #0,0: 44:[10, 4, 38] Operation: 59-21=38
Exploring Operation: 59-10=49, Resulting Numbers: [21, 4, 49]
Generated Node #0,1: 44:[21, 4, 49] Operation: 59-10=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[21, 4, 49], Operations: ['59-10=49']
Exploring Operation: 49-21=28, Resulting Numbers: [4, 28]
Generated Node #0,1,0: 44:[4, 28] Operation: 49-21=28
Exploring Operation: 49-4=45, Resulting Numbers: [21, 45]
Generated Node #0,1,1: 44:[21, 45] Operation: 49-4=45
Moving to Node #0,1,1
Current State: 44:[21, 45], Operations: ['59-10=49', '49-4=45']
Exploring Operation: 21+45=66, Resulting Numbers: [66]
66,44 unequal: No Solution
Exploring Operation: 45-21=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[4, 28], Operations: ['59-10=49', '49-21=28']
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,44 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,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:[10, 4, 38], Operations: ['59-21=38']
Exploring Operation: 4+38=42, Resulting Numbers: [10, 42]
Generated Node #0,0,0: 44:[10, 42] Operation: 4+38=42
Exploring Operation: 10+38=48, Resulting Numbers: [4, 48]
Generated Node #0,0,1: 44:[4, 48] Operation: 10+38=48
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 44:[10, 42], Operations: ['59-21=38', '4+38=42']
Exploring Operation: 10+42=52, Resulting Numbers: [52]
52,44 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,44 unequal: No Solution
No 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: 44:[4, 48], Operations: ['59-21=38', '10+38=48']
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,44 unequal: No Solution
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[21, 59, 10, 4], Operations: []
Exploring Operation: 59-21=38, Resulting Numbers: [10, 4, 38]
Generated Node #0,0: 44:[10, 4, 38] Operation: 59-21=38
Moving to Node #0,0
Current State: 44:[10, 4, 38], Operations: ['59-21=38']
Exploring Operation: 10+38=48, Resulting Numbers: [4, 48]
Generated Node #0,0,1: 44:[4, 48] Operation: 10+38=48
Moving to Node #0,0,1
Current State: 44:[4, 48], Operations: ['59-21=38', '10+38=48']
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
24,
22,
5,
3
] | 71 | [
"22-3=19",
"5*19=95",
"95-24=71"
] | Current State: 71:[24, 22, 5, 3], Operations: []
Exploring Operation: 22-3=19, Resulting Numbers: [24, 5, 19]
Generated Node #2: [24, 5, 19] from Operation: 22-3=19
Current State: 71:[24, 5, 19], Operations: ['22-3=19']
Exploring Operation: 5*19=95, Resulting Numbers: [24, 95]
Generated Node #3: [24, 95] from Operation: 5*19=95
Current State: 71:[24, 95], Operations: ['22-3=19', '5*19=95']
Exploring Operation: 95-24=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[24, 22, 5, 3], Operations: []
Exploring Operation: 24*3=72, Resulting Numbers: [22, 5, 72]
Generated Node #0,0: 71:[22, 5, 72] Operation: 24*3=72
Exploring Operation: 22*3=66, Resulting Numbers: [24, 5, 66]
Generated Node #0,1: 71:[24, 5, 66] Operation: 22*3=66
Exploring Operation: 5*3=15, Resulting Numbers: [24, 22, 15]
Generated Node #0,2: 71:[24, 22, 15] Operation: 5*3=15
Exploring Operation: 22*5=110, Resulting Numbers: [24, 3, 110]
Generated Node #0,3: 71:[24, 3, 110] Operation: 22*5=110
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[22, 5, 72], Operations: ['24*3=72']
Exploring Operation: 22+5=27, Resulting Numbers: [72, 27]
Generated Node #0,0,0: 71:[72, 27] Operation: 22+5=27
Exploring Operation: 72-5=67, Resulting Numbers: [22, 67]
Generated Node #0,0,1: 71:[22, 67] Operation: 72-5=67
Exploring Operation: 22-5=17, Resulting Numbers: [72, 17]
Generated Node #0,0,2: 71:[72, 17] Operation: 22-5=17
Exploring Operation: 22*5=110, Resulting Numbers: [72, 110]
Generated Node #0,0,3: 71:[72, 110] Operation: 22*5=110
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 71:[72, 110], Operations: ['24*3=72', '22*5=110']
Exploring Operation: 72*110=7920, Resulting Numbers: [7920]
7920,71 unequal: No Solution
Exploring Operation: 110-72=38, Resulting Numbers: [38]
38,71 unequal: No Solution
Exploring Operation: 72+110=182, Resulting Numbers: [182]
182,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[72, 27], Operations: ['24*3=72', '22+5=27']
Exploring Operation: 72-27=45, Resulting Numbers: [45]
45,71 unequal: No Solution
Exploring Operation: 72+27=99, Resulting Numbers: [99]
99,71 unequal: No Solution
Exploring Operation: 72*27=1944, Resulting Numbers: [1944]
1944,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 71:[22, 67], Operations: ['24*3=72', '72-5=67']
Exploring Operation: 22*67=1474, Resulting Numbers: [1474]
1474,71 unequal: No Solution
Exploring Operation: 67-22=45, Resulting Numbers: [45]
45,71 unequal: No Solution
Exploring Operation: 22+67=89, Resulting Numbers: [89]
89,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 71:[72, 17], Operations: ['24*3=72', '22-5=17']
Exploring Operation: 72*17=1224, Resulting Numbers: [1224]
1224,71 unequal: No Solution
Exploring Operation: 72+17=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Exploring Operation: 72-17=55, Resulting Numbers: [55]
55,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[24, 5, 66], Operations: ['22*3=66']
Exploring Operation: 24*5=120, Resulting Numbers: [66, 120]
Generated Node #0,1,0: 71:[66, 120] Operation: 24*5=120
Exploring Operation: 24+5=29, Resulting Numbers: [66, 29]
Generated Node #0,1,1: 71:[66, 29] Operation: 24+5=29
Exploring Operation: 24-5=19, Resulting Numbers: [66, 19]
Generated Node #0,1,2: 71:[66, 19] Operation: 24-5=19
Exploring Operation: 5+66=71, Resulting Numbers: [24, 71]
Generated Node #0,1,3: 71:[24, 71] Operation: 5+66=71
Moving to Node #0,1,1
Current State: 71:[66, 29], Operations: ['22*3=66', '24+5=29']
Exploring Operation: 66*29=1914, Resulting Numbers: [1914]
1914,71 unequal: No Solution
Exploring Operation: 66+29=95, Resulting Numbers: [95]
95,71 unequal: No Solution
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[24, 71], Operations: ['22*3=66', '5+66=71']
Exploring Operation: 24+71=95, Resulting Numbers: [95]
95,71 unequal: No Solution
Exploring Operation: 71-24=47, Resulting Numbers: [47]
47,71 unequal: No Solution
Exploring Operation: 24*71=1704, Resulting Numbers: [1704]
1704,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[66, 120], Operations: ['22*3=66', '24*5=120']
Exploring Operation: 66+120=186, Resulting Numbers: [186]
186,71 unequal: No Solution
Exploring Operation: 66*120=7920, Resulting Numbers: [7920]
7920,71 unequal: No Solution
Exploring Operation: 120-66=54, Resulting Numbers: [54]
54,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[66, 19], Operations: ['22*3=66', '24-5=19']
Exploring Operation: 66-19=47, Resulting Numbers: [47]
47,71 unequal: No Solution
Exploring Operation: 66+19=85, Resulting Numbers: [85]
85,71 unequal: No Solution
Exploring Operation: 66*19=1254, Resulting Numbers: [1254]
1254,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[24, 22, 15], Operations: ['5*3=15']
Exploring Operation: 24+22=46, Resulting Numbers: [15, 46]
Generated Node #0,2,0: 71:[15, 46] Operation: 24+22=46
Exploring Operation: 24+15=39, Resulting Numbers: [22, 39]
Generated Node #0,2,1: 71:[22, 39] Operation: 24+15=39
Exploring Operation: 22+15=37, Resulting Numbers: [24, 37]
Generated Node #0,2,2: 71:[24, 37] Operation: 22+15=37
Exploring Operation: 24-15=9, Resulting Numbers: [22, 9]
Generated Node #0,2,3: 71:[22, 9] Operation: 24-15=9
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 71:[15, 46], Operations: ['5*3=15', '24+22=46']
Exploring Operation: 15*46=690, Resulting Numbers: [690]
690,71 unequal: No Solution
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,71 unequal: No Solution
Exploring Operation: 15+46=61, Resulting Numbers: [61]
61,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 71:[22, 39], Operations: ['5*3=15', '24+15=39']
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 22*39=858, Resulting Numbers: [858]
858,71 unequal: No Solution
Exploring Operation: 22+39=61, Resulting Numbers: [61]
61,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 71:[24, 37], Operations: ['5*3=15', '22+15=37']
Exploring Operation: 24*37=888, Resulting Numbers: [888]
888,71 unequal: No Solution
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 24+37=61, Resulting Numbers: [61]
61,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 71:[22, 9], Operations: ['5*3=15', '24-15=9']
Exploring Operation: 22*9=198, Resulting Numbers: [198]
198,71 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 22+9=31, Resulting Numbers: [31]
31,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 71:[24, 3, 110], Operations: ['22*5=110']
Exploring Operation: 110-24=86, Resulting Numbers: [3, 86]
Generated Node #0,3,0: 71:[3, 86] Operation: 110-24=86
Exploring Operation: 110-3=107, Resulting Numbers: [24, 107]
Generated Node #0,3,1: 71:[24, 107] Operation: 110-3=107
Exploring Operation: 24*3=72, Resulting Numbers: [110, 72]
Generated Node #0,3,2: 71:[110, 72] Operation: 24*3=72
Exploring Operation: 24+3=27, Resulting Numbers: [110, 27]
Generated Node #0,3,3: 71:[110, 27] Operation: 24+3=27
Moving to Node #0,3,2
Current State: 71:[110, 72], Operations: ['22*5=110', '24*3=72']
Exploring Operation: 110-72=38, Resulting Numbers: [38]
38,71 unequal: No Solution
Exploring Operation: 110*72=7920, Resulting Numbers: [7920]
7920,71 unequal: No Solution
Exploring Operation: 110+72=182, Resulting Numbers: [182]
182,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[24, 107], Operations: ['22*5=110', '110-3=107']
Exploring Operation: 107-24=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 24+107=131, Resulting Numbers: [131]
131,71 unequal: No Solution
Exploring Operation: 24*107=2568, Resulting Numbers: [2568]
2568,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[3, 86], Operations: ['22*5=110', '110-24=86']
Exploring Operation: 3*86=258, Resulting Numbers: [258]
258,71 unequal: No Solution
Exploring Operation: 3+86=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[110, 27], Operations: ['22*5=110', '24+3=27']
Exploring Operation: 110*27=2970, Resulting Numbers: [2970]
2970,71 unequal: No Solution
Exploring Operation: 110-27=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 110+27=137, Resulting Numbers: [137]
137,71 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 |
[
33,
20,
97,
64
] | 19 | [
"97-33=64",
"64/64=1",
"20-1=19"
] | Current State: 19:[33, 20, 97, 64], Operations: []
Exploring Operation: 97-33=64, Resulting Numbers: [20, 64, 64]
Generated Node #2: [20, 64, 64] from Operation: 97-33=64
Current State: 19:[20, 64, 64], Operations: ['97-33=64']
Exploring Operation: 64/64=1, Resulting Numbers: [20, 1]
Generated Node #3: [20, 1] from Operation: 64/64=1
Current State: 19:[20, 1], Operations: ['97-33=64', '64/64=1']
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[33, 20, 97, 64], Operations: []
Exploring Operation: 97-33=64, Resulting Numbers: [20, 64, 64]
Generated Node #0,0: 19:[20, 64, 64] Operation: 97-33=64
Exploring Operation: 97-64=33, Resulting Numbers: [33, 20, 33]
Generated Node #0,1: 19:[33, 20, 33] Operation: 97-64=33
Moving to Node #0,1
Current State: 19:[33, 20, 33], Operations: ['97-64=33']
Exploring Operation: 33/33=1, Resulting Numbers: [20, 1]
Generated Node #0,1,0: 19:[20, 1] Operation: 33/33=1
Exploring Operation: 33-20=13, Resulting Numbers: [33, 13]
Generated Node #0,1,1: 19:[33, 13] Operation: 33-20=13
Moving to Node #0,0
Current State: 19:[20, 64, 64], Operations: ['97-33=64']
Exploring Operation: 64-64=0, Resulting Numbers: [20, 0]
Generated Node #0,0,0: 19:[20, 0] Operation: 64-64=0
Exploring Operation: 64/64=1, Resulting Numbers: [20, 1]
Generated Node #0,0,1: 19:[20, 1] Operation: 64/64=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[20, 1], Operations: ['97-33=64', '64/64=1']
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[33, 20, 97, 64], Operations: []
Exploring Operation: 97-33=64, Resulting Numbers: [20, 64, 64]
Generated Node #0,0: 19:[20, 64, 64] Operation: 97-33=64
Moving to Node #0,0
Current State: 19:[20, 64, 64], Operations: ['97-33=64']
Exploring Operation: 64/64=1, Resulting Numbers: [20, 1]
Generated Node #0,0,1: 19:[20, 1] Operation: 64/64=1
Moving to Node #0,0,1
Current State: 19:[20, 1], Operations: ['97-33=64', '64/64=1']
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
42,
49,
44,
72
] | 25 | [
"42+49=91",
"44+72=116",
"116-91=25"
] | Current State: 25:[42, 49, 44, 72], Operations: []
Exploring Operation: 42+49=91, Resulting Numbers: [44, 72, 91]
Generated Node #2: [44, 72, 91] from Operation: 42+49=91
Current State: 25:[44, 72, 91], Operations: ['42+49=91']
Exploring Operation: 44+72=116, Resulting Numbers: [91, 116]
Generated Node #3: [91, 116] from Operation: 44+72=116
Current State: 25:[91, 116], Operations: ['42+49=91', '44+72=116']
Exploring Operation: 116-91=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[42, 49, 44, 72], Operations: []
Exploring Operation: 72-49=23, Resulting Numbers: [42, 44, 23]
Generated Node #0,0: 25:[42, 44, 23] Operation: 72-49=23
Moving to Node #0,0
Current State: 25:[42, 44, 23], Operations: ['72-49=23']
Exploring Operation: 44-42=2, Resulting Numbers: [23, 2]
Generated Node #0,0,0: 25:[23, 2] Operation: 44-42=2
Moving to Node #0,0,0
Current State: 25:[23, 2], Operations: ['72-49=23', '44-42=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[42, 49, 44, 72], Operations: []
Exploring Operation: 72-49=23, Resulting Numbers: [42, 44, 23]
Generated Node #0,0: 25:[42, 44, 23] Operation: 72-49=23
Moving to Node #0,0
Current State: 25:[42, 44, 23], Operations: ['72-49=23']
Exploring Operation: 44-42=2, Resulting Numbers: [23, 2]
Generated Node #0,0,0: 25:[23, 2] Operation: 44-42=2
Moving to Node #0,0,0
Current State: 25:[23, 2], Operations: ['72-49=23', '44-42=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
5,
24,
61,
41
] | 96 | [
"61-41=20",
"20/5=4",
"24*4=96"
] | Current State: 96:[5, 24, 61, 41], Operations: []
Exploring Operation: 61-41=20, Resulting Numbers: [5, 24, 20]
Generated Node #2: [5, 24, 20] from Operation: 61-41=20
Current State: 96:[5, 24, 20], Operations: ['61-41=20']
Exploring Operation: 20/5=4, Resulting Numbers: [24, 4]
Generated Node #3: [24, 4] from Operation: 20/5=4
Current State: 96:[24, 4], Operations: ['61-41=20', '20/5=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[5, 24, 61, 41], Operations: []
Exploring Operation: 61-5=56, Resulting Numbers: [24, 41, 56]
Generated Node #0,0: 96:[24, 41, 56] Operation: 61-5=56
Exploring Operation: 61-24=37, Resulting Numbers: [5, 41, 37]
Generated Node #0,1: 96:[5, 41, 37] Operation: 61-24=37
Exploring Operation: 5+41=46, Resulting Numbers: [24, 61, 46]
Generated Node #0,2: 96:[24, 61, 46] Operation: 5+41=46
Exploring Operation: 61+41=102, Resulting Numbers: [5, 24, 102]
Generated Node #0,3: 96:[5, 24, 102] Operation: 61+41=102
Exploring Operation: 61-41=20, Resulting Numbers: [5, 24, 20]
Generated Node #0,4: 96:[5, 24, 20] Operation: 61-41=20
Start Sub Search at level 1: Moving to Node #0,4
Current State: 96:[5, 24, 20], Operations: ['61-41=20']
Exploring Operation: 20/5=4, Resulting Numbers: [24, 4]
Generated Node #0,4,0: 96:[24, 4] Operation: 20/5=4
Exploring Operation: 5+20=25, Resulting Numbers: [24, 25]
Generated Node #0,4,1: 96:[24, 25] Operation: 5+20=25
Exploring Operation: 20-5=15, Resulting Numbers: [24, 15]
Generated Node #0,4,2: 96:[24, 15] Operation: 20-5=15
Exploring Operation: 5*20=100, Resulting Numbers: [24, 100]
Generated Node #0,4,3: 96:[24, 100] Operation: 5*20=100
Exploring Operation: 24-20=4, Resulting Numbers: [5, 4]
Generated Node #0,4,4: 96:[5, 4] Operation: 24-20=4
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 96:[24, 4], Operations: ['61-41=20', '20/5=4']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,96 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[5, 24, 61, 41], Operations: []
Exploring Operation: 61-41=20, Resulting Numbers: [5, 24, 20]
Generated Node #0,4: 96:[5, 24, 20] Operation: 61-41=20
Moving to Node #0,4
Current State: 96:[5, 24, 20], Operations: ['61-41=20']
Exploring Operation: 20/5=4, Resulting Numbers: [24, 4]
Generated Node #0,4,0: 96:[24, 4] Operation: 20/5=4
Moving to Node #0,4,0
Current State: 96:[24, 4], Operations: ['61-41=20', '20/5=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
99,
58,
4,
82
] | 48 | [
"58*82=4756",
"4756-4=4752",
"4752/99=48"
] | Current State: 48:[99, 58, 4, 82], Operations: []
Exploring Operation: 58*82=4756, Resulting Numbers: [99, 4, 4756]
Generated Node #2: [99, 4, 4756] from Operation: 58*82=4756
Current State: 48:[99, 4, 4756], Operations: ['58*82=4756']
Exploring Operation: 4756-4=4752, Resulting Numbers: [99, 4752]
Generated Node #3: [99, 4752] from Operation: 4756-4=4752
Current State: 48:[99, 4752], Operations: ['58*82=4756', '4756-4=4752']
Exploring Operation: 4752/99=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[99, 58, 4, 82], Operations: []
Exploring Operation: 99-82=17, Resulting Numbers: [58, 4, 17]
Generated Node #0,0: 48:[58, 4, 17] Operation: 99-82=17
Exploring Operation: 99-58=41, Resulting Numbers: [4, 82, 41]
Generated Node #0,1: 48:[4, 82, 41] Operation: 99-58=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[58, 4, 17], Operations: ['99-82=17']
Exploring Operation: 58-17=41, Resulting Numbers: [4, 41]
Generated Node #0,0,0: 48:[4, 41] Operation: 58-17=41
Exploring Operation: 58-4=54, Resulting Numbers: [17, 54]
Generated Node #0,0,1: 48:[17, 54] Operation: 58-4=54
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[4, 41], Operations: ['99-82=17', '58-17=41']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,48 unequal: No Solution
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,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:[17, 54], Operations: ['99-82=17', '58-4=54']
Exploring Operation: 17+54=71, Resulting Numbers: [71]
71,48 unequal: No Solution
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,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:[4, 82, 41], Operations: ['99-58=41']
Exploring Operation: 82/41=2, Resulting Numbers: [4, 2]
Generated Node #0,1,0: 48:[4, 2] Operation: 82/41=2
Exploring Operation: 82-41=41, Resulting Numbers: [4, 41]
Generated Node #0,1,1: 48:[4, 41] Operation: 82-41=41
Moving to Node #0,1,0
Current State: 48:[4, 2], Operations: ['99-58=41', '82/41=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[4, 41], Operations: ['99-58=41', '82-41=41']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,48 unequal: No Solution
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
83,
85,
38,
52
] | 66 | [
"85-83=2",
"52*2=104",
"104-38=66"
] | Current State: 66:[83, 85, 38, 52], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [38, 52, 2]
Generated Node #2: [38, 52, 2] from Operation: 85-83=2
Current State: 66:[38, 52, 2], Operations: ['85-83=2']
Exploring Operation: 52*2=104, Resulting Numbers: [38, 104]
Generated Node #3: [38, 104] from Operation: 52*2=104
Current State: 66:[38, 104], Operations: ['85-83=2', '52*2=104']
Exploring Operation: 104-38=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[83, 85, 38, 52], Operations: []
Exploring Operation: 52-38=14, Resulting Numbers: [83, 85, 14]
Generated Node #0,0: 66:[83, 85, 14] Operation: 52-38=14
Exploring Operation: 83-38=45, Resulting Numbers: [85, 52, 45]
Generated Node #0,1: 66:[85, 52, 45] Operation: 83-38=45
Exploring Operation: 83-52=31, Resulting Numbers: [85, 38, 31]
Generated Node #0,2: 66:[85, 38, 31] Operation: 83-52=31
Exploring Operation: 85-83=2, Resulting Numbers: [38, 52, 2]
Generated Node #0,3: 66:[38, 52, 2] Operation: 85-83=2
Exploring Operation: 85-52=33, Resulting Numbers: [83, 38, 33]
Generated Node #0,4: 66:[83, 38, 33] Operation: 85-52=33
Moving to Node #0,3
Current State: 66:[38, 52, 2], Operations: ['85-83=2']
Exploring Operation: 52+2=54, Resulting Numbers: [38, 54]
Generated Node #0,3,0: 66:[38, 54] Operation: 52+2=54
Exploring Operation: 52/2=26, Resulting Numbers: [38, 26]
Generated Node #0,3,1: 66:[38, 26] Operation: 52/2=26
Exploring Operation: 52-38=14, Resulting Numbers: [2, 14]
Generated Node #0,3,2: 66:[2, 14] Operation: 52-38=14
Exploring Operation: 38/2=19, Resulting Numbers: [52, 19]
Generated Node #0,3,3: 66:[52, 19] Operation: 38/2=19
Exploring Operation: 38-2=36, Resulting Numbers: [52, 36]
Generated Node #0,3,4: 66:[52, 36] Operation: 38-2=36
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 66:[2, 14], Operations: ['85-83=2', '52-38=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,66 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 66:[38, 26], Operations: ['85-83=2', '52/2=26']
Exploring Operation: 38*26=988, Resulting Numbers: [988]
988,66 unequal: No Solution
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 38+26=64, Resulting Numbers: [64]
64,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 66:[38, 54], Operations: ['85-83=2', '52+2=54']
Exploring Operation: 54-38=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 38+54=92, Resulting Numbers: [92]
92,66 unequal: No Solution
Exploring Operation: 38*54=2052, Resulting Numbers: [2052]
2052,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 66:[52, 19], Operations: ['85-83=2', '38/2=19']
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 52*19=988, Resulting Numbers: [988]
988,66 unequal: No Solution
Exploring Operation: 52+19=71, Resulting Numbers: [71]
71,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 66:[52, 36], Operations: ['85-83=2', '38-2=36']
Exploring Operation: 52-36=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 52*36=1872, Resulting Numbers: [1872]
1872,66 unequal: No Solution
Exploring Operation: 52+36=88, Resulting Numbers: [88]
88,66 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: 66:[83, 38, 33], Operations: ['85-52=33']
Exploring Operation: 83-33=50, Resulting Numbers: [38, 50]
Generated Node #0,4,0: 66:[38, 50] Operation: 83-33=50
Exploring Operation: 83+38=121, Resulting Numbers: [33, 121]
Generated Node #0,4,1: 66:[33, 121] Operation: 83+38=121
Exploring Operation: 83-38=45, Resulting Numbers: [33, 45]
Generated Node #0,4,2: 66:[33, 45] Operation: 83-38=45
Exploring Operation: 38-33=5, Resulting Numbers: [83, 5]
Generated Node #0,4,3: 66:[83, 5] Operation: 38-33=5
Exploring Operation: 38+33=71, Resulting Numbers: [83, 71]
Generated Node #0,4,4: 66:[83, 71] Operation: 38+33=71
Moving to Node #0,2
Current State: 66:[85, 38, 31], Operations: ['83-52=31']
Exploring Operation: 85+31=116, Resulting Numbers: [38, 116]
Generated Node #0,2,0: 66:[38, 116] Operation: 85+31=116
Exploring Operation: 85-31=54, Resulting Numbers: [38, 54]
Generated Node #0,2,1: 66:[38, 54] Operation: 85-31=54
Exploring Operation: 38+31=69, Resulting Numbers: [85, 69]
Generated Node #0,2,2: 66:[85, 69] Operation: 38+31=69
Exploring Operation: 85-38=47, Resulting Numbers: [31, 47]
Generated Node #0,2,3: 66:[31, 47] Operation: 85-38=47
Exploring Operation: 38-31=7, Resulting Numbers: [85, 7]
Generated Node #0,2,4: 66:[85, 7] Operation: 38-31=7
Moving to Node #0,0
Current State: 66:[83, 85, 14], Operations: ['52-38=14']
Exploring Operation: 83+14=97, Resulting Numbers: [85, 97]
Generated Node #0,0,0: 66:[85, 97] Operation: 83+14=97
Exploring Operation: 83-14=69, Resulting Numbers: [85, 69]
Generated Node #0,0,1: 66:[85, 69] Operation: 83-14=69
Exploring Operation: 85+14=99, Resulting Numbers: [83, 99]
Generated Node #0,0,2: 66:[83, 99] Operation: 85+14=99
Exploring Operation: 85-14=71, Resulting Numbers: [83, 71]
Generated Node #0,0,3: 66:[83, 71] Operation: 85-14=71
Exploring Operation: 85-83=2, Resulting Numbers: [14, 2]
Generated Node #0,0,4: 66:[14, 2] Operation: 85-83=2
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 66:[14, 2], Operations: ['52-38=14', '85-83=2']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[85, 69], Operations: ['52-38=14', '83-14=69']
Exploring Operation: 85*69=5865, Resulting Numbers: [5865]
5865,66 unequal: No Solution
Exploring Operation: 85+69=154, Resulting Numbers: [154]
154,66 unequal: No Solution
Exploring Operation: 85-69=16, Resulting Numbers: [16]
16,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 66:[83, 71], Operations: ['52-38=14', '85-14=71']
Exploring Operation: 83*71=5893, Resulting Numbers: [5893]
5893,66 unequal: No Solution
Exploring Operation: 83-71=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 83+71=154, Resulting Numbers: [154]
154,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[85, 97], Operations: ['52-38=14', '83+14=97']
Exploring Operation: 85*97=8245, Resulting Numbers: [8245]
8245,66 unequal: No Solution
Exploring Operation: 97-85=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 85+97=182, Resulting Numbers: [182]
182,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 66:[83, 99], Operations: ['52-38=14', '85+14=99']
Exploring Operation: 83+99=182, Resulting Numbers: [182]
182,66 unequal: No Solution
Exploring Operation: 83*99=8217, Resulting Numbers: [8217]
8217,66 unequal: No Solution
Exploring Operation: 99-83=16, Resulting Numbers: [16]
16,66 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: 66:[85, 52, 45], Operations: ['83-38=45']
Exploring Operation: 85-52=33, Resulting Numbers: [45, 33]
Generated Node #0,1,0: 66:[45, 33] Operation: 85-52=33
Exploring Operation: 85+45=130, Resulting Numbers: [52, 130]
Generated Node #0,1,1: 66:[52, 130] Operation: 85+45=130
Exploring Operation: 85-45=40, Resulting Numbers: [52, 40]
Generated Node #0,1,2: 66:[52, 40] Operation: 85-45=40
Exploring Operation: 52-45=7, Resulting Numbers: [85, 7]
Generated Node #0,1,3: 66:[85, 7] Operation: 52-45=7
Exploring Operation: 52+45=97, Resulting Numbers: [85, 97]
Generated Node #0,1,4: 66:[85, 97] Operation: 52+45=97
Moving to Node #0,4,2
Current State: 66:[33, 45], Operations: ['85-52=33', '83-38=45']
Exploring Operation: 45-33=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 33*45=1485, Resulting Numbers: [1485]
1485,66 unequal: No Solution
Exploring Operation: 33+45=78, Resulting Numbers: [78]
78,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[45, 33], Operations: ['83-38=45', '85-52=33']
Exploring Operation: 45-33=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 45+33=78, Resulting Numbers: [78]
78,66 unequal: No Solution
Exploring Operation: 45*33=1485, Resulting Numbers: [1485]
1485,66 unequal: No Solution
Moving to Node #0,2,3
Current State: 66:[31, 47], Operations: ['83-52=31', '85-38=47']
Exploring Operation: 31*47=1457, Resulting Numbers: [1457]
1457,66 unequal: No Solution
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 31+47=78, Resulting Numbers: [78]
78,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[38, 54], Operations: ['83-52=31', '85-31=54']
Exploring Operation: 54-38=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 38+54=92, Resulting Numbers: [92]
92,66 unequal: No Solution
Exploring Operation: 38*54=2052, Resulting Numbers: [2052]
2052,66 unequal: No Solution
Moving to Node #0,4,3
Current State: 66:[83, 5], Operations: ['85-52=33', '38-33=5']
Exploring Operation: 83*5=415, Resulting Numbers: [415]
415,66 unequal: No Solution
Exploring Operation: 83+5=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Exploring Operation: 83-5=78, Resulting Numbers: [78]
78,66 unequal: No Solution
Moving to Node #0,1,3
Current State: 66:[85, 7], Operations: ['83-38=45', '52-45=7']
Exploring Operation: 85-7=78, Resulting Numbers: [78]
78,66 unequal: No Solution
Exploring Operation: 85*7=595, Resulting Numbers: [595]
595,66 unequal: No Solution
Exploring Operation: 85+7=92, Resulting Numbers: [92]
92,66 unequal: No Solution
Moving to Node #0,2,4
Current State: 66:[85, 7], Operations: ['83-52=31', '38-31=7']
Exploring Operation: 85-7=78, Resulting Numbers: [78]
78,66 unequal: No Solution
Exploring Operation: 85*7=595, Resulting Numbers: [595]
595,66 unequal: No Solution
Exploring Operation: 85+7=92, Resulting Numbers: [92]
92,66 unequal: No Solution
Moving to Node #0,4,0
Current State: 66:[38, 50], Operations: ['85-52=33', '83-33=50']
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 38+50=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Exploring Operation: 38*50=1900, Resulting Numbers: [1900]
1900,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[52, 40], Operations: ['83-38=45', '85-45=40']
Exploring Operation: 52*40=2080, Resulting Numbers: [2080]
2080,66 unequal: No Solution
Exploring Operation: 52-40=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 52+40=92, Resulting Numbers: [92]
92,66 unequal: No Solution
Moving to Node #0,2,2
Current State: 66:[85, 69], Operations: ['83-52=31', '38+31=69']
Exploring Operation: 85+69=154, Resulting Numbers: [154]
154,66 unequal: No Solution
Exploring Operation: 85*69=5865, Resulting Numbers: [5865]
5865,66 unequal: No Solution
Exploring Operation: 85-69=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Moving to Node #0,4,4
Current State: 66:[83, 71], Operations: ['85-52=33', '38+33=71']
Exploring Operation: 83-71=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 83*71=5893, Resulting Numbers: [5893]
5893,66 unequal: No Solution
Exploring Operation: 83+71=154, Resulting Numbers: [154]
154,66 unequal: No Solution
Moving to Node #0,1,4
Current State: 66:[85, 97], Operations: ['83-38=45', '52+45=97']
Exploring Operation: 97-85=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 85+97=182, Resulting Numbers: [182]
182,66 unequal: No Solution
Exploring Operation: 85*97=8245, Resulting Numbers: [8245]
8245,66 unequal: No Solution
Moving to Node #0,4,1
Current State: 66:[33, 121], Operations: ['85-52=33', '83+38=121']
Exploring Operation: 33+121=154, Resulting Numbers: [154]
154,66 unequal: No Solution
Exploring Operation: 33*121=3993, Resulting Numbers: [3993]
3993,66 unequal: No Solution
Exploring Operation: 121-33=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Moving to Node #0,2,0
Current State: 66:[38, 116], Operations: ['83-52=31', '85+31=116']
Exploring Operation: 116-38=78, Resulting Numbers: [78]
78,66 unequal: No Solution
Exploring Operation: 38*116=4408, Resulting Numbers: [4408]
4408,66 unequal: No Solution
Exploring Operation: 38+116=154, Resulting Numbers: [154]
154,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[52, 130], Operations: ['83-38=45', '85+45=130']
Exploring Operation: 130-52=78, Resulting Numbers: [78]
78,66 unequal: No Solution
Exploring Operation: 52+130=182, Resulting Numbers: [182]
182,66 unequal: No Solution
Exploring Operation: 52*130=6760, Resulting Numbers: [6760]
6760,66 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
48,
39,
63,
79
] | 77 | [
"63-39=24",
"48/24=2",
"79-2=77"
] | Current State: 77:[48, 39, 63, 79], Operations: []
Exploring Operation: 63-39=24, Resulting Numbers: [48, 79, 24]
Generated Node #2: [48, 79, 24] from Operation: 63-39=24
Current State: 77:[48, 79, 24], Operations: ['63-39=24']
Exploring Operation: 48/24=2, Resulting Numbers: [79, 2]
Generated Node #3: [79, 2] from Operation: 48/24=2
Current State: 77:[79, 2], Operations: ['63-39=24', '48/24=2']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[48, 39, 63, 79], Operations: []
Exploring Operation: 48+39=87, Resulting Numbers: [63, 79, 87]
Generated Node #0,0: 77:[63, 79, 87] Operation: 48+39=87
Exploring Operation: 48-39=9, Resulting Numbers: [63, 79, 9]
Generated Node #0,1: 77:[63, 79, 9] Operation: 48-39=9
Moving to Node #0,1
Current State: 77:[63, 79, 9], Operations: ['48-39=9']
Exploring Operation: 63/9=7, Resulting Numbers: [79, 7]
Generated Node #0,1,0: 77:[79, 7] Operation: 63/9=7
Exploring Operation: 79-63=16, Resulting Numbers: [9, 16]
Generated Node #0,1,1: 77:[9, 16] Operation: 79-63=16
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 77:[79, 7], Operations: ['48-39=9', '63/9=7']
Exploring Operation: 79+7=86, Resulting Numbers: [86]
86,77 unequal: No Solution
Exploring Operation: 79-7=72, Resulting Numbers: [72]
72,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 77:[9, 16], Operations: ['48-39=9', '79-63=16']
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,77 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,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:[63, 79, 87], Operations: ['48+39=87']
Exploring Operation: 79-63=16, Resulting Numbers: [87, 16]
Generated Node #0,0,0: 77:[87, 16] Operation: 79-63=16
Exploring Operation: 87-63=24, Resulting Numbers: [79, 24]
Generated Node #0,0,1: 77:[79, 24] Operation: 87-63=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[87, 16], Operations: ['48+39=87', '79-63=16']
Exploring Operation: 87+16=103, Resulting Numbers: [103]
103,77 unequal: No Solution
Exploring Operation: 87-16=71, Resulting Numbers: [71]
71,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 77:[79, 24], Operations: ['48+39=87', '87-63=24']
Exploring Operation: 79-24=55, Resulting Numbers: [55]
55,77 unequal: No Solution
Exploring Operation: 79+24=103, Resulting Numbers: [103]
103,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
22,
83,
21,
81
] | 65 | [
"83-81=2",
"22*2=44",
"21+44=65"
] | Current State: 65:[22, 83, 21, 81], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [22, 21, 2]
Generated Node #2: [22, 21, 2] from Operation: 83-81=2
Current State: 65:[22, 21, 2], Operations: ['83-81=2']
Exploring Operation: 22*2=44, Resulting Numbers: [21, 44]
Generated Node #3: [21, 44] from Operation: 22*2=44
Current State: 65:[21, 44], Operations: ['83-81=2', '22*2=44']
Exploring Operation: 21+44=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[22, 83, 21, 81], Operations: []
Exploring Operation: 81-21=60, Resulting Numbers: [22, 83, 60]
Generated Node #0,0: 65:[22, 83, 60] Operation: 81-21=60
Exploring Operation: 81-22=59, Resulting Numbers: [83, 21, 59]
Generated Node #0,1: 65:[83, 21, 59] Operation: 81-22=59
Exploring Operation: 83-21=62, Resulting Numbers: [22, 81, 62]
Generated Node #0,2: 65:[22, 81, 62] Operation: 83-21=62
Exploring Operation: 83-81=2, Resulting Numbers: [22, 21, 2]
Generated Node #0,3: 65:[22, 21, 2] Operation: 83-81=2
Exploring Operation: 83-22=61, Resulting Numbers: [21, 81, 61]
Generated Node #0,4: 65:[21, 81, 61] Operation: 83-22=61
Start Sub Search at level 1: Moving to Node #0,3
Current State: 65:[22, 21, 2], Operations: ['83-81=2']
Exploring Operation: 21-2=19, Resulting Numbers: [22, 19]
Generated Node #0,3,0: 65:[22, 19] Operation: 21-2=19
Exploring Operation: 22/2=11, Resulting Numbers: [21, 11]
Generated Node #0,3,1: 65:[21, 11] Operation: 22/2=11
Exploring Operation: 22-2=20, Resulting Numbers: [21, 20]
Generated Node #0,3,2: 65:[21, 20] Operation: 22-2=20
Exploring Operation: 22-21=1, Resulting Numbers: [2, 1]
Generated Node #0,3,3: 65:[2, 1] Operation: 22-21=1
Exploring Operation: 22+2=24, Resulting Numbers: [21, 24]
Generated Node #0,3,4: 65:[21, 24] Operation: 22+2=24
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 65:[2, 1], Operations: ['83-81=2', '22-21=1']
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 65:[21, 11], Operations: ['83-81=2', '22/2=11']
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,65 unequal: No Solution
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,65 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 65:[22, 19], Operations: ['83-81=2', '21-2=19']
Exploring Operation: 22+19=41, Resulting Numbers: [41]
41,65 unequal: No Solution
Exploring Operation: 22*19=418, Resulting Numbers: [418]
418,65 unequal: No Solution
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 65:[21, 20], Operations: ['83-81=2', '22-2=20']
Exploring Operation: 21+20=41, Resulting Numbers: [41]
41,65 unequal: No Solution
Exploring Operation: 21*20=420, Resulting Numbers: [420]
420,65 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 65:[21, 24], Operations: ['83-81=2', '22+2=24']
Exploring Operation: 21+24=45, Resulting Numbers: [45]
45,65 unequal: No Solution
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 21*24=504, Resulting Numbers: [504]
504,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[22, 81, 62], Operations: ['83-21=62']
Exploring Operation: 62-22=40, Resulting Numbers: [81, 40]
Generated Node #0,2,0: 65:[81, 40] Operation: 62-22=40
Exploring Operation: 81-22=59, Resulting Numbers: [62, 59]
Generated Node #0,2,1: 65:[62, 59] Operation: 81-22=59
Exploring Operation: 81-62=19, Resulting Numbers: [22, 19]
Generated Node #0,2,2: 65:[22, 19] Operation: 81-62=19
Exploring Operation: 22+81=103, Resulting Numbers: [62, 103]
Generated Node #0,2,3: 65:[62, 103] Operation: 22+81=103
Exploring Operation: 22+62=84, Resulting Numbers: [81, 84]
Generated Node #0,2,4: 65:[81, 84] Operation: 22+62=84
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 65:[62, 59], Operations: ['83-21=62', '81-22=59']
Exploring Operation: 62+59=121, Resulting Numbers: [121]
121,65 unequal: No Solution
Exploring Operation: 62*59=3658, Resulting Numbers: [3658]
3658,65 unequal: No Solution
Exploring Operation: 62-59=3, Resulting Numbers: [3]
3,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 65:[22, 19], Operations: ['83-21=62', '81-62=19']
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 22+19=41, Resulting Numbers: [41]
41,65 unequal: No Solution
Exploring Operation: 22*19=418, Resulting Numbers: [418]
418,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 65:[81, 84], Operations: ['83-21=62', '22+62=84']
Exploring Operation: 84-81=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 81+84=165, Resulting Numbers: [165]
165,65 unequal: No Solution
Exploring Operation: 81*84=6804, Resulting Numbers: [6804]
6804,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 65:[81, 40], Operations: ['83-21=62', '62-22=40']
Exploring Operation: 81+40=121, Resulting Numbers: [121]
121,65 unequal: No Solution
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,65 unequal: No Solution
Exploring Operation: 81*40=3240, Resulting Numbers: [3240]
3240,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 65:[62, 103], Operations: ['83-21=62', '22+81=103']
Exploring Operation: 62*103=6386, Resulting Numbers: [6386]
6386,65 unequal: No Solution
Exploring Operation: 103-62=41, Resulting Numbers: [41]
41,65 unequal: No Solution
Exploring Operation: 62+103=165, Resulting Numbers: [165]
165,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 65:[21, 81, 61], Operations: ['83-22=61']
Exploring Operation: 21+81=102, Resulting Numbers: [61, 102]
Generated Node #0,4,0: 65:[61, 102] Operation: 21+81=102
Exploring Operation: 61-21=40, Resulting Numbers: [81, 40]
Generated Node #0,4,1: 65:[81, 40] Operation: 61-21=40
Exploring Operation: 21+61=82, Resulting Numbers: [81, 82]
Generated Node #0,4,2: 65:[81, 82] Operation: 21+61=82
Exploring Operation: 81-21=60, Resulting Numbers: [61, 60]
Generated Node #0,4,3: 65:[61, 60] Operation: 81-21=60
Exploring Operation: 81-61=20, Resulting Numbers: [21, 20]
Generated Node #0,4,4: 65:[21, 20] Operation: 81-61=20
Moving to Node #0,4,3
Current State: 65:[61, 60], Operations: ['83-22=61', '81-21=60']
Exploring Operation: 61+60=121, Resulting Numbers: [121]
121,65 unequal: No Solution
Exploring Operation: 61*60=3660, Resulting Numbers: [3660]
3660,65 unequal: No Solution
Exploring Operation: 61-60=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Moving to Node #0,4,4
Current State: 65:[21, 20], Operations: ['83-22=61', '81-61=20']
Exploring Operation: 21+20=41, Resulting Numbers: [41]
41,65 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 21*20=420, Resulting Numbers: [420]
420,65 unequal: No Solution
Moving to Node #0,4,2
Current State: 65:[81, 82], Operations: ['83-22=61', '21+61=82']
Exploring Operation: 81*82=6642, Resulting Numbers: [6642]
6642,65 unequal: No Solution
Exploring Operation: 81+82=163, Resulting Numbers: [163]
163,65 unequal: No Solution
Exploring Operation: 82-81=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Moving to Node #0,4,0
Current State: 65:[61, 102], Operations: ['83-22=61', '21+81=102']
Exploring Operation: 102-61=41, Resulting Numbers: [41]
41,65 unequal: No Solution
Exploring Operation: 61+102=163, Resulting Numbers: [163]
163,65 unequal: No Solution
Exploring Operation: 61*102=6222, Resulting Numbers: [6222]
6222,65 unequal: No Solution
Moving to Node #0,4,1
Current State: 65:[81, 40], Operations: ['83-22=61', '61-21=40']
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,65 unequal: No Solution
Exploring Operation: 81+40=121, Resulting Numbers: [121]
121,65 unequal: No Solution
Exploring Operation: 81*40=3240, Resulting Numbers: [3240]
3240,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
Current State: 65:[22, 83, 60], Operations: ['81-21=60']
Exploring Operation: 60-22=38, Resulting Numbers: [83, 38]
Generated Node #0,0,0: 65:[83, 38] Operation: 60-22=38
Exploring Operation: 22+60=82, Resulting Numbers: [83, 82]
Generated Node #0,0,1: 65:[83, 82] Operation: 22+60=82
Exploring Operation: 22+83=105, Resulting Numbers: [60, 105]
Generated Node #0,0,2: 65:[60, 105] Operation: 22+83=105
Exploring Operation: 83-22=61, Resulting Numbers: [60, 61]
Generated Node #0,0,3: 65:[60, 61] Operation: 83-22=61
Exploring Operation: 83-60=23, Resulting Numbers: [22, 23]
Generated Node #0,0,4: 65:[22, 23] Operation: 83-60=23
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 65:[60, 61], Operations: ['81-21=60', '83-22=61']
Exploring Operation: 60*61=3660, Resulting Numbers: [3660]
3660,65 unequal: No Solution
Exploring Operation: 61-60=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 60+61=121, Resulting Numbers: [121]
121,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 65:[22, 23], Operations: ['81-21=60', '83-60=23']
Exploring Operation: 22+23=45, Resulting Numbers: [45]
45,65 unequal: No Solution
Exploring Operation: 22*23=506, Resulting Numbers: [506]
506,65 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 65:[83, 82], Operations: ['81-21=60', '22+60=82']
Exploring Operation: 83+82=165, Resulting Numbers: [165]
165,65 unequal: No Solution
Exploring Operation: 83*82=6806, Resulting Numbers: [6806]
6806,65 unequal: No Solution
Exploring Operation: 83-82=1, Resulting Numbers: [1]
1,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[83, 38], Operations: ['81-21=60', '60-22=38']
Exploring Operation: 83-38=45, Resulting Numbers: [45]
45,65 unequal: No Solution
Exploring Operation: 83+38=121, Resulting Numbers: [121]
121,65 unequal: No Solution
Exploring Operation: 83*38=3154, Resulting Numbers: [3154]
3154,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 65:[60, 105], Operations: ['81-21=60', '22+83=105']
Exploring Operation: 60*105=6300, Resulting Numbers: [6300]
6300,65 unequal: No Solution
Exploring Operation: 60+105=165, Resulting Numbers: [165]
165,65 unequal: No Solution
Exploring Operation: 105-60=45, Resulting Numbers: [45]
45,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[83, 21, 59], Operations: ['81-22=59']
Exploring Operation: 83-21=62, Resulting Numbers: [59, 62]
Generated Node #0,1,0: 65:[59, 62] Operation: 83-21=62
Exploring Operation: 83+21=104, Resulting Numbers: [59, 104]
Generated Node #0,1,1: 65:[59, 104] Operation: 83+21=104
Exploring Operation: 21+59=80, Resulting Numbers: [83, 80]
Generated Node #0,1,2: 65:[83, 80] Operation: 21+59=80
Exploring Operation: 59-21=38, Resulting Numbers: [83, 38]
Generated Node #0,1,3: 65:[83, 38] Operation: 59-21=38
Exploring Operation: 83-59=24, Resulting Numbers: [21, 24]
Generated Node #0,1,4: 65:[21, 24] Operation: 83-59=24
Moving to Node #0,1,0
Current State: 65:[59, 62], Operations: ['81-22=59', '83-21=62']
Exploring Operation: 59+62=121, Resulting Numbers: [121]
121,65 unequal: No Solution
Exploring Operation: 59*62=3658, Resulting Numbers: [3658]
3658,65 unequal: No Solution
Exploring Operation: 62-59=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Moving to Node #0,1,4
Current State: 65:[21, 24], Operations: ['81-22=59', '83-59=24']
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 21+24=45, Resulting Numbers: [45]
45,65 unequal: No Solution
Exploring Operation: 21*24=504, Resulting Numbers: [504]
504,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[83, 80], Operations: ['81-22=59', '21+59=80']
Exploring Operation: 83-80=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 83+80=163, Resulting Numbers: [163]
163,65 unequal: No Solution
Exploring Operation: 83*80=6640, Resulting Numbers: [6640]
6640,65 unequal: No Solution
Moving to Node #0,1,3
Current State: 65:[83, 38], Operations: ['81-22=59', '59-21=38']
Exploring Operation: 83*38=3154, Resulting Numbers: [3154]
3154,65 unequal: No Solution
Exploring Operation: 83-38=45, Resulting Numbers: [45]
45,65 unequal: No Solution
Exploring Operation: 83+38=121, Resulting Numbers: [121]
121,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[59, 104], Operations: ['81-22=59', '83+21=104']
Exploring Operation: 59*104=6136, Resulting Numbers: [6136]
6136,65 unequal: No Solution
Exploring Operation: 59+104=163, Resulting Numbers: [163]
163,65 unequal: No Solution
Exploring Operation: 104-59=45, Resulting Numbers: [45]
45,65 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 |
[
81,
4,
31,
11
] | 68 | [
"81+31=112",
"4*11=44",
"112-44=68"
] | Current State: 68:[81, 4, 31, 11], Operations: []
Exploring Operation: 81+31=112, Resulting Numbers: [4, 11, 112]
Generated Node #2: [4, 11, 112] from Operation: 81+31=112
Current State: 68:[4, 11, 112], Operations: ['81+31=112']
Exploring Operation: 4*11=44, Resulting Numbers: [112, 44]
Generated Node #3: [112, 44] from Operation: 4*11=44
Current State: 68:[112, 44], Operations: ['81+31=112', '4*11=44']
Exploring Operation: 112-44=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[81, 4, 31, 11], Operations: []
Exploring Operation: 4+11=15, Resulting Numbers: [81, 31, 15]
Generated Node #0,0: 68:[81, 31, 15] Operation: 4+11=15
Exploring Operation: 31-11=20, Resulting Numbers: [81, 4, 20]
Generated Node #0,1: 68:[81, 4, 20] Operation: 31-11=20
Exploring Operation: 81-4=77, Resulting Numbers: [31, 11, 77]
Generated Node #0,2: 68:[31, 11, 77] Operation: 81-4=77
Exploring Operation: 81-11=70, Resulting Numbers: [4, 31, 70]
Generated Node #0,3: 68:[4, 31, 70] Operation: 81-11=70
Moving to Node #0,3
Current State: 68:[4, 31, 70], Operations: ['81-11=70']
Exploring Operation: 31-4=27, Resulting Numbers: [70, 27]
Generated Node #0,3,0: 68:[70, 27] Operation: 31-4=27
Exploring Operation: 4+31=35, Resulting Numbers: [70, 35]
Generated Node #0,3,1: 68:[70, 35] Operation: 4+31=35
Exploring Operation: 70-31=39, Resulting Numbers: [4, 39]
Generated Node #0,3,2: 68:[4, 39] Operation: 70-31=39
Exploring Operation: 70-4=66, Resulting Numbers: [31, 66]
Generated Node #0,3,3: 68:[31, 66] Operation: 70-4=66
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 68:[70, 35], Operations: ['81-11=70', '4+31=35']
Exploring Operation: 70+35=105, Resulting Numbers: [105]
105,68 unequal: No Solution
Exploring Operation: 70-35=35, Resulting Numbers: [35]
35,68 unequal: No Solution
Exploring Operation: 70*35=2450, Resulting Numbers: [2450]
2450,68 unequal: No Solution
Exploring Operation: 70/35=2, Resulting Numbers: [2]
2,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 68:[4, 39], Operations: ['81-11=70', '70-31=39']
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,68 unequal: No Solution
Exploring Operation: 4*39=156, Resulting Numbers: [156]
156,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 68:[31, 66], Operations: ['81-11=70', '70-4=66']
Exploring Operation: 31*66=2046, Resulting Numbers: [2046]
2046,68 unequal: No Solution
Exploring Operation: 31+66=97, Resulting Numbers: [97]
97,68 unequal: No Solution
Exploring Operation: 66-31=35, Resulting Numbers: [35]
35,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 68:[70, 27], Operations: ['81-11=70', '31-4=27']
Exploring Operation: 70*27=1890, Resulting Numbers: [1890]
1890,68 unequal: No Solution
Exploring Operation: 70+27=97, Resulting Numbers: [97]
97,68 unequal: No Solution
Exploring Operation: 70-27=43, Resulting Numbers: [43]
43,68 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: 68:[81, 4, 20], Operations: ['31-11=20']
Exploring Operation: 81-4=77, Resulting Numbers: [20, 77]
Generated Node #0,1,0: 68:[20, 77] Operation: 81-4=77
Exploring Operation: 81-20=61, Resulting Numbers: [4, 61]
Generated Node #0,1,1: 68:[4, 61] Operation: 81-20=61
Exploring Operation: 20/4=5, Resulting Numbers: [81, 5]
Generated Node #0,1,2: 68:[81, 5] Operation: 20/4=5
Exploring Operation: 20-4=16, Resulting Numbers: [81, 16]
Generated Node #0,1,3: 68:[81, 16] Operation: 20-4=16
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[4, 61], Operations: ['31-11=20', '81-20=61']
Exploring Operation: 4+61=65, Resulting Numbers: [65]
65,68 unequal: No Solution
Exploring Operation: 4*61=244, Resulting Numbers: [244]
244,68 unequal: No Solution
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[20, 77], Operations: ['31-11=20', '81-4=77']
Exploring Operation: 20+77=97, Resulting Numbers: [97]
97,68 unequal: No Solution
Exploring Operation: 20*77=1540, Resulting Numbers: [1540]
1540,68 unequal: No Solution
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 68:[81, 5], Operations: ['31-11=20', '20/4=5']
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,68 unequal: No Solution
Exploring Operation: 81*5=405, Resulting Numbers: [405]
405,68 unequal: No Solution
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 68:[81, 16], Operations: ['31-11=20', '20-4=16']
Exploring Operation: 81*16=1296, Resulting Numbers: [1296]
1296,68 unequal: No Solution
Exploring Operation: 81+16=97, Resulting Numbers: [97]
97,68 unequal: No Solution
Exploring Operation: 81-16=65, Resulting Numbers: [65]
65,68 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: 68:[31, 11, 77], Operations: ['81-4=77']
Exploring Operation: 31-11=20, Resulting Numbers: [77, 20]
Generated Node #0,2,0: 68:[77, 20] Operation: 31-11=20
Exploring Operation: 77/11=7, Resulting Numbers: [31, 7]
Generated Node #0,2,1: 68:[31, 7] Operation: 77/11=7
Exploring Operation: 77-11=66, Resulting Numbers: [31, 66]
Generated Node #0,2,2: 68:[31, 66] Operation: 77-11=66
Exploring Operation: 31+11=42, Resulting Numbers: [77, 42]
Generated Node #0,2,3: 68:[77, 42] Operation: 31+11=42
Moving to Node #0,0
Current State: 68:[81, 31, 15], Operations: ['4+11=15']
Exploring Operation: 81-31=50, Resulting Numbers: [15, 50]
Generated Node #0,0,0: 68:[15, 50] Operation: 81-31=50
Exploring Operation: 31-15=16, Resulting Numbers: [81, 16]
Generated Node #0,0,1: 68:[81, 16] Operation: 31-15=16
Exploring Operation: 31+15=46, Resulting Numbers: [81, 46]
Generated Node #0,0,2: 68:[81, 46] Operation: 31+15=46
Exploring Operation: 81-15=66, Resulting Numbers: [31, 66]
Generated Node #0,0,3: 68:[31, 66] Operation: 81-15=66
Moving to Node #0,2,2
Current State: 68:[31, 66], Operations: ['81-4=77', '77-11=66']
Exploring Operation: 31+66=97, Resulting Numbers: [97]
97,68 unequal: No Solution
Exploring Operation: 66-31=35, Resulting Numbers: [35]
35,68 unequal: No Solution
Exploring Operation: 31*66=2046, Resulting Numbers: [2046]
2046,68 unequal: No Solution
Moving to Node #0,0,3
Current State: 68:[31, 66], Operations: ['4+11=15', '81-15=66']
Exploring Operation: 66-31=35, Resulting Numbers: [35]
35,68 unequal: No Solution
Exploring Operation: 31*66=2046, Resulting Numbers: [2046]
2046,68 unequal: No Solution
Exploring Operation: 31+66=97, Resulting Numbers: [97]
97,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[31, 7], Operations: ['81-4=77', '77/11=7']
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,68 unequal: No Solution
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,68 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Moving to Node #0,2,0
Current State: 68:[77, 20], Operations: ['81-4=77', '31-11=20']
Exploring Operation: 77*20=1540, Resulting Numbers: [1540]
1540,68 unequal: No Solution
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,68 unequal: No Solution
Exploring Operation: 77+20=97, Resulting Numbers: [97]
97,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[81, 16], Operations: ['4+11=15', '31-15=16']
Exploring Operation: 81-16=65, Resulting Numbers: [65]
65,68 unequal: No Solution
Exploring Operation: 81*16=1296, Resulting Numbers: [1296]
1296,68 unequal: No Solution
Exploring Operation: 81+16=97, Resulting Numbers: [97]
97,68 unequal: No Solution
Moving to Node #0,2,3
Current State: 68:[77, 42], Operations: ['81-4=77', '31+11=42']
Exploring Operation: 77+42=119, Resulting Numbers: [119]
119,68 unequal: No Solution
Exploring Operation: 77*42=3234, Resulting Numbers: [3234]
3234,68 unequal: No Solution
Exploring Operation: 77-42=35, Resulting Numbers: [35]
35,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[15, 50], Operations: ['4+11=15', '81-31=50']
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,68 unequal: No Solution
Exploring Operation: 15+50=65, Resulting Numbers: [65]
65,68 unequal: No Solution
Exploring Operation: 15*50=750, Resulting Numbers: [750]
750,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[81, 46], Operations: ['4+11=15', '31+15=46']
Exploring Operation: 81-46=35, Resulting Numbers: [35]
35,68 unequal: No Solution
Exploring Operation: 81*46=3726, Resulting Numbers: [3726]
3726,68 unequal: No Solution
Exploring Operation: 81+46=127, Resulting Numbers: [127]
127,68 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
25,
22,
48,
96
] | 94 | [
"25+22=47",
"96/48=2",
"47*2=94"
] | Current State: 94:[25, 22, 48, 96], Operations: []
Exploring Operation: 25+22=47, Resulting Numbers: [48, 96, 47]
Generated Node #2: [48, 96, 47] from Operation: 25+22=47
Current State: 94:[48, 96, 47], Operations: ['25+22=47']
Exploring Operation: 96/48=2, Resulting Numbers: [47, 2]
Generated Node #3: [47, 2] from Operation: 96/48=2
Current State: 94:[47, 2], Operations: ['25+22=47', '96/48=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[25, 22, 48, 96], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [25, 22, 2]
Generated Node #0,0: 94:[25, 22, 2] Operation: 96/48=2
Exploring Operation: 25+22=47, Resulting Numbers: [48, 96, 47]
Generated Node #0,1: 94:[48, 96, 47] Operation: 25+22=47
Exploring Operation: 25+48=73, Resulting Numbers: [22, 96, 73]
Generated Node #0,2: 94:[22, 96, 73] Operation: 25+48=73
Exploring Operation: 48-25=23, Resulting Numbers: [22, 96, 23]
Generated Node #0,3: 94:[22, 96, 23] Operation: 48-25=23
Exploring Operation: 25-22=3, Resulting Numbers: [48, 96, 3]
Generated Node #0,4: 94:[48, 96, 3] Operation: 25-22=3
Moving to Node #0,1
Current State: 94:[48, 96, 47], Operations: ['25+22=47']
Exploring Operation: 48+47=95, Resulting Numbers: [96, 95]
Generated Node #0,1,0: 94:[96, 95] Operation: 48+47=95
Exploring Operation: 96-48=48, Resulting Numbers: [47, 48]
Generated Node #0,1,1: 94:[47, 48] Operation: 96-48=48
Exploring Operation: 48-47=1, Resulting Numbers: [96, 1]
Generated Node #0,1,2: 94:[96, 1] Operation: 48-47=1
Exploring Operation: 96-47=49, Resulting Numbers: [48, 49]
Generated Node #0,1,3: 94:[48, 49] Operation: 96-47=49
Exploring Operation: 96/48=2, Resulting Numbers: [47, 2]
Generated Node #0,1,4: 94:[47, 2] Operation: 96/48=2
Moving to Node #0,4
Current State: 94:[48, 96, 3], Operations: ['25-22=3']
Exploring Operation: 96-3=93, Resulting Numbers: [48, 93]
Generated Node #0,4,0: 94:[48, 93] Operation: 96-3=93
Exploring Operation: 48+3=51, Resulting Numbers: [96, 51]
Generated Node #0,4,1: 94:[96, 51] Operation: 48+3=51
Exploring Operation: 96-48=48, Resulting Numbers: [3, 48]
Generated Node #0,4,2: 94:[3, 48] Operation: 96-48=48
Exploring Operation: 96/48=2, Resulting Numbers: [3, 2]
Generated Node #0,4,3: 94:[3, 2] Operation: 96/48=2
Exploring Operation: 48-3=45, Resulting Numbers: [96, 45]
Generated Node #0,4,4: 94:[96, 45] Operation: 48-3=45
Moving to Node #0,0
Current State: 94:[25, 22, 2], Operations: ['96/48=2']
Exploring Operation: 25*2=50, Resulting Numbers: [22, 50]
Generated Node #0,0,0: 94:[22, 50] Operation: 25*2=50
Exploring Operation: 22/2=11, Resulting Numbers: [25, 11]
Generated Node #0,0,1: 94:[25, 11] Operation: 22/2=11
Exploring Operation: 22*2=44, Resulting Numbers: [25, 44]
Generated Node #0,0,2: 94:[25, 44] Operation: 22*2=44
Exploring Operation: 25-22=3, Resulting Numbers: [2, 3]
Generated Node #0,0,3: 94:[2, 3] Operation: 25-22=3
Exploring Operation: 25+22=47, Resulting Numbers: [2, 47]
Generated Node #0,0,4: 94:[2, 47] Operation: 25+22=47
Moving to Node #0,2
Current State: 94:[22, 96, 73], Operations: ['25+48=73']
Exploring Operation: 73-22=51, Resulting Numbers: [96, 51]
Generated Node #0,2,0: 94:[96, 51] Operation: 73-22=51
Exploring Operation: 96-73=23, Resulting Numbers: [22, 23]
Generated Node #0,2,1: 94:[22, 23] Operation: 96-73=23
Exploring Operation: 22+96=118, Resulting Numbers: [73, 118]
Generated Node #0,2,2: 94:[73, 118] Operation: 22+96=118
Exploring Operation: 22+73=95, Resulting Numbers: [96, 95]
Generated Node #0,2,3: 94:[96, 95] Operation: 22+73=95
Exploring Operation: 96-22=74, Resulting Numbers: [73, 74]
Generated Node #0,2,4: 94:[73, 74] Operation: 96-22=74
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 94:[96, 95], Operations: ['25+48=73', '22+73=95']
Exploring Operation: 96-95=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 96*95=9120, Resulting Numbers: [9120]
9120,94 unequal: No Solution
Exploring Operation: 96+95=191, Resulting Numbers: [191]
191,94 unequal: No Solution
No 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: 94:[96, 51], Operations: ['25+48=73', '73-22=51']
Exploring Operation: 96+51=147, Resulting Numbers: [147]
147,94 unequal: No Solution
Exploring Operation: 96*51=4896, Resulting Numbers: [4896]
4896,94 unequal: No Solution
Exploring Operation: 96-51=45, Resulting Numbers: [45]
45,94 unequal: No Solution
No 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: 94:[22, 23], Operations: ['25+48=73', '96-73=23']
Exploring Operation: 22+23=45, Resulting Numbers: [45]
45,94 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 22*23=506, Resulting Numbers: [506]
506,94 unequal: No Solution
No 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: 94:[73, 74], Operations: ['25+48=73', '96-22=74']
Exploring Operation: 73+74=147, Resulting Numbers: [147]
147,94 unequal: No Solution
Exploring Operation: 73*74=5402, Resulting Numbers: [5402]
5402,94 unequal: No Solution
Exploring Operation: 74-73=1, Resulting Numbers: [1]
1,94 unequal: No Solution
No 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: 94:[73, 118], Operations: ['25+48=73', '22+96=118']
Exploring Operation: 73+118=191, Resulting Numbers: [191]
191,94 unequal: No Solution
Exploring Operation: 118-73=45, Resulting Numbers: [45]
45,94 unequal: No Solution
Exploring Operation: 73*118=8614, Resulting Numbers: [8614]
8614,94 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: 94:[22, 96, 23], Operations: ['48-25=23']
Exploring Operation: 23-22=1, Resulting Numbers: [96, 1]
Generated Node #0,3,0: 94:[96, 1] Operation: 23-22=1
Exploring Operation: 96-23=73, Resulting Numbers: [22, 73]
Generated Node #0,3,1: 94:[22, 73] Operation: 96-23=73
Exploring Operation: 96-22=74, Resulting Numbers: [23, 74]
Generated Node #0,3,2: 94:[23, 74] Operation: 96-22=74
Exploring Operation: 22+96=118, Resulting Numbers: [23, 118]
Generated Node #0,3,3: 94:[23, 118] Operation: 22+96=118
Exploring Operation: 22+23=45, Resulting Numbers: [96, 45]
Generated Node #0,3,4: 94:[96, 45] Operation: 22+23=45
Moving to Node #0,1,4
Current State: 94:[47, 2], Operations: ['25+22=47', '96/48=2']
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[25, 22, 48, 96], Operations: []
Exploring Operation: 25+22=47, Resulting Numbers: [48, 96, 47]
Generated Node #0,1: 94:[48, 96, 47] Operation: 25+22=47
Moving to Node #0,1
Current State: 94:[48, 96, 47], Operations: ['25+22=47']
Exploring Operation: 96/48=2, Resulting Numbers: [47, 2]
Generated Node #0,1,4: 94:[47, 2] Operation: 96/48=2
Moving to Node #0,1,4
Current State: 94:[47, 2], Operations: ['25+22=47', '96/48=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.955729 | hs_5 | sum_heuristic |
[
51,
16,
4,
96
] | 61 | [
"51+4=55",
"96/16=6",
"55+6=61"
] | Current State: 61:[51, 16, 4, 96], Operations: []
Exploring Operation: 51+4=55, Resulting Numbers: [16, 96, 55]
Generated Node #2: [16, 96, 55] from Operation: 51+4=55
Current State: 61:[16, 96, 55], Operations: ['51+4=55']
Exploring Operation: 96/16=6, Resulting Numbers: [55, 6]
Generated Node #3: [55, 6] from Operation: 96/16=6
Current State: 61:[55, 6], Operations: ['51+4=55', '96/16=6']
Exploring Operation: 55+6=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[51, 16, 4, 96], Operations: []
Exploring Operation: 16*4=64, Resulting Numbers: [51, 96, 64]
Generated Node #0,0: 61:[51, 96, 64] Operation: 16*4=64
Exploring Operation: 96-16=80, Resulting Numbers: [51, 4, 80]
Generated Node #0,1: 61:[51, 4, 80] Operation: 96-16=80
Exploring Operation: 51+4=55, Resulting Numbers: [16, 96, 55]
Generated Node #0,2: 61:[16, 96, 55] Operation: 51+4=55
Exploring Operation: 16+4=20, Resulting Numbers: [51, 96, 20]
Generated Node #0,3: 61:[51, 96, 20] Operation: 16+4=20
Moving to Node #0,0
Current State: 61:[51, 96, 64], Operations: ['16*4=64']
Exploring Operation: 51+96=147, Resulting Numbers: [64, 147]
Generated Node #0,0,0: 61:[64, 147] Operation: 51+96=147
Exploring Operation: 96-51=45, Resulting Numbers: [64, 45]
Generated Node #0,0,1: 61:[64, 45] Operation: 96-51=45
Exploring Operation: 96-64=32, Resulting Numbers: [51, 32]
Generated Node #0,0,2: 61:[51, 32] Operation: 96-64=32
Exploring Operation: 64-51=13, Resulting Numbers: [96, 13]
Generated Node #0,0,3: 61:[96, 13] Operation: 64-51=13
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[64, 45], Operations: ['16*4=64', '96-51=45']
Exploring Operation: 64-45=19, Resulting Numbers: [19]
19,61 unequal: No Solution
Exploring Operation: 64*45=2880, Resulting Numbers: [2880]
2880,61 unequal: No Solution
Exploring Operation: 64+45=109, Resulting Numbers: [109]
109,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 61:[51, 32], Operations: ['16*4=64', '96-64=32']
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,61 unequal: No Solution
Exploring Operation: 51+32=83, Resulting Numbers: [83]
83,61 unequal: No Solution
Exploring Operation: 51*32=1632, Resulting Numbers: [1632]
1632,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 61:[96, 13], Operations: ['16*4=64', '64-51=13']
Exploring Operation: 96+13=109, Resulting Numbers: [109]
109,61 unequal: No Solution
Exploring Operation: 96-13=83, Resulting Numbers: [83]
83,61 unequal: No Solution
Exploring Operation: 96*13=1248, Resulting Numbers: [1248]
1248,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[64, 147], Operations: ['16*4=64', '51+96=147']
Exploring Operation: 64*147=9408, Resulting Numbers: [9408]
9408,61 unequal: No Solution
Exploring Operation: 147-64=83, Resulting Numbers: [83]
83,61 unequal: No Solution
Exploring Operation: 64+147=211, Resulting Numbers: [211]
211,61 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: 61:[16, 96, 55], Operations: ['51+4=55']
Exploring Operation: 16+55=71, Resulting Numbers: [96, 71]
Generated Node #0,2,0: 61:[96, 71] Operation: 16+55=71
Exploring Operation: 55-16=39, Resulting Numbers: [96, 39]
Generated Node #0,2,1: 61:[96, 39] Operation: 55-16=39
Exploring Operation: 16+96=112, Resulting Numbers: [55, 112]
Generated Node #0,2,2: 61:[55, 112] Operation: 16+96=112
Exploring Operation: 96-16=80, Resulting Numbers: [55, 80]
Generated Node #0,2,3: 61:[55, 80] Operation: 96-16=80
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 61:[55, 80], Operations: ['51+4=55', '96-16=80']
Exploring Operation: 80-55=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Exploring Operation: 55+80=135, Resulting Numbers: [135]
135,61 unequal: No Solution
Exploring Operation: 55*80=4400, Resulting Numbers: [4400]
4400,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 61:[96, 71], Operations: ['51+4=55', '16+55=71']
Exploring Operation: 96*71=6816, Resulting Numbers: [6816]
6816,61 unequal: No Solution
Exploring Operation: 96-71=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Exploring Operation: 96+71=167, Resulting Numbers: [167]
167,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 61:[96, 39], Operations: ['51+4=55', '55-16=39']
Exploring Operation: 96+39=135, Resulting Numbers: [135]
135,61 unequal: No Solution
Exploring Operation: 96*39=3744, Resulting Numbers: [3744]
3744,61 unequal: No Solution
Exploring Operation: 96-39=57, Resulting Numbers: [57]
57,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 61:[55, 112], Operations: ['51+4=55', '16+96=112']
Exploring Operation: 55*112=6160, Resulting Numbers: [6160]
6160,61 unequal: No Solution
Exploring Operation: 55+112=167, Resulting Numbers: [167]
167,61 unequal: No Solution
Exploring Operation: 112-55=57, Resulting Numbers: [57]
57,61 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: 61:[51, 4, 80], Operations: ['96-16=80']
Exploring Operation: 51-4=47, Resulting Numbers: [80, 47]
Generated Node #0,1,0: 61:[80, 47] Operation: 51-4=47
Exploring Operation: 80-4=76, Resulting Numbers: [51, 76]
Generated Node #0,1,1: 61:[51, 76] Operation: 80-4=76
Exploring Operation: 4+80=84, Resulting Numbers: [51, 84]
Generated Node #0,1,2: 61:[51, 84] Operation: 4+80=84
Exploring Operation: 51+4=55, Resulting Numbers: [80, 55]
Generated Node #0,1,3: 61:[80, 55] Operation: 51+4=55
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[51, 76], Operations: ['96-16=80', '80-4=76']
Exploring Operation: 76-51=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Exploring Operation: 51*76=3876, Resulting Numbers: [3876]
3876,61 unequal: No Solution
Exploring Operation: 51+76=127, Resulting Numbers: [127]
127,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 61:[80, 55], Operations: ['96-16=80', '51+4=55']
Exploring Operation: 80+55=135, Resulting Numbers: [135]
135,61 unequal: No Solution
Exploring Operation: 80-55=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Exploring Operation: 80*55=4400, Resulting Numbers: [4400]
4400,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[80, 47], Operations: ['96-16=80', '51-4=47']
Exploring Operation: 80-47=33, Resulting Numbers: [33]
33,61 unequal: No Solution
Exploring Operation: 80+47=127, Resulting Numbers: [127]
127,61 unequal: No Solution
Exploring Operation: 80*47=3760, Resulting Numbers: [3760]
3760,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 61:[51, 84], Operations: ['96-16=80', '4+80=84']
Exploring Operation: 84-51=33, Resulting Numbers: [33]
33,61 unequal: No Solution
Exploring Operation: 51*84=4284, Resulting Numbers: [4284]
4284,61 unequal: No Solution
Exploring Operation: 51+84=135, Resulting Numbers: [135]
135,61 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: 61:[51, 96, 20], Operations: ['16+4=20']
Exploring Operation: 96-51=45, Resulting Numbers: [20, 45]
Generated Node #0,3,0: 61:[20, 45] Operation: 96-51=45
Exploring Operation: 96-20=76, Resulting Numbers: [51, 76]
Generated Node #0,3,1: 61:[51, 76] Operation: 96-20=76
Exploring Operation: 51+20=71, Resulting Numbers: [96, 71]
Generated Node #0,3,2: 61:[96, 71] Operation: 51+20=71
Exploring Operation: 51-20=31, Resulting Numbers: [96, 31]
Generated Node #0,3,3: 61:[96, 31] Operation: 51-20=31
Moving to Node #0,3,1
Current State: 61:[51, 76], Operations: ['16+4=20', '96-20=76']
Exploring Operation: 51*76=3876, Resulting Numbers: [3876]
3876,61 unequal: No Solution
Exploring Operation: 76-51=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Exploring Operation: 51+76=127, Resulting Numbers: [127]
127,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[96, 71], Operations: ['16+4=20', '51+20=71']
Exploring Operation: 96+71=167, Resulting Numbers: [167]
167,61 unequal: No Solution
Exploring Operation: 96*71=6816, Resulting Numbers: [6816]
6816,61 unequal: No Solution
Exploring Operation: 96-71=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Moving to Node #0,3,0
Current State: 61:[20, 45], Operations: ['16+4=20', '96-51=45']
Exploring Operation: 45-20=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Exploring Operation: 20+45=65, Resulting Numbers: [65]
65,61 unequal: No Solution
Exploring Operation: 20*45=900, Resulting Numbers: [900]
900,61 unequal: No Solution
Moving to Node #0,3,3
Current State: 61:[96, 31], Operations: ['16+4=20', '51-20=31']
Exploring Operation: 96-31=65, Resulting Numbers: [65]
65,61 unequal: No Solution
Exploring Operation: 96*31=2976, Resulting Numbers: [2976]
2976,61 unequal: No Solution
Exploring Operation: 96+31=127, Resulting Numbers: [127]
127,61 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
1,
96,
3,
91
] | 62 | [
"96-1=95",
"91+95=186",
"186/3=62"
] | Current State: 62:[1, 96, 3, 91], Operations: []
Exploring Operation: 96-1=95, Resulting Numbers: [3, 91, 95]
Generated Node #2: [3, 91, 95] from Operation: 96-1=95
Current State: 62:[3, 91, 95], Operations: ['96-1=95']
Exploring Operation: 91+95=186, Resulting Numbers: [3, 186]
Generated Node #3: [3, 186] from Operation: 91+95=186
Current State: 62:[3, 186], Operations: ['96-1=95', '91+95=186']
Exploring Operation: 186/3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[1, 96, 3, 91], Operations: []
Exploring Operation: 96/3=32, Resulting Numbers: [1, 91, 32]
Generated Node #0,0: 62:[1, 91, 32] Operation: 96/3=32
Exploring Operation: 96-91=5, Resulting Numbers: [1, 3, 5]
Generated Node #0,1: 62:[1, 3, 5] Operation: 96-91=5
Exploring Operation: 96-3=93, Resulting Numbers: [1, 91, 93]
Generated Node #0,2: 62:[1, 91, 93] Operation: 96-3=93
Exploring Operation: 91-3=88, Resulting Numbers: [1, 96, 88]
Generated Node #0,3: 62:[1, 96, 88] Operation: 91-3=88
Exploring Operation: 96-1=95, Resulting Numbers: [3, 91, 95]
Generated Node #0,4: 62:[3, 91, 95] Operation: 96-1=95
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[1, 3, 5], Operations: ['96-91=5']
Exploring Operation: 3/1=3, Resulting Numbers: [5, 3]
Generated Node #0,1,0: 62:[5, 3] Operation: 3/1=3
Exploring Operation: 1*3=3, Resulting Numbers: [5, 3]
Generated Node #0,1,1: 62:[5, 3] Operation: 1*3=3
Exploring Operation: 5-3=2, Resulting Numbers: [1, 2]
Generated Node #0,1,2: 62:[1, 2] Operation: 5-3=2
Exploring Operation: 5-1=4, Resulting Numbers: [3, 4]
Generated Node #0,1,3: 62:[3, 4] Operation: 5-1=4
Exploring Operation: 3-1=2, Resulting Numbers: [5, 2]
Generated Node #0,1,4: 62:[5, 2] Operation: 3-1=2
Moving to Node #0,1,2
Current State: 62:[1, 2], Operations: ['96-91=5', '5-3=2']
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Moving to Node #0,1,4
Current State: 62:[5, 2], Operations: ['96-91=5', '3-1=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,62 unequal: No Solution
Moving to Node #0,1,3
Current State: 62:[3, 4], Operations: ['96-91=5', '5-1=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[5, 3], Operations: ['96-91=5', '3/1=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[5, 3], Operations: ['96-91=5', '1*3=3']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[1, 91, 32], Operations: ['96/3=32']
Exploring Operation: 91/1=91, Resulting Numbers: [32, 91]
Generated Node #0,0,0: 62:[32, 91] Operation: 91/1=91
Exploring Operation: 1*91=91, Resulting Numbers: [32, 91]
Generated Node #0,0,1: 62:[32, 91] Operation: 1*91=91
Exploring Operation: 91-32=59, Resulting Numbers: [1, 59]
Generated Node #0,0,2: 62:[1, 59] Operation: 91-32=59
Exploring Operation: 32-1=31, Resulting Numbers: [91, 31]
Generated Node #0,0,3: 62:[91, 31] Operation: 32-1=31
Exploring Operation: 91-1=90, Resulting Numbers: [32, 90]
Generated Node #0,0,4: 62:[32, 90] Operation: 91-1=90
Moving to Node #0,0,2
Current State: 62:[1, 59], Operations: ['96/3=32', '91-32=59']
Exploring Operation: 59/1=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 1+59=60, Resulting Numbers: [60]
60,62 unequal: No Solution
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,62 unequal: No Solution
Exploring Operation: 1*59=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Moving to Node #0,0,4
Current State: 62:[32, 90], Operations: ['96/3=32', '91-1=90']
Exploring Operation: 32*90=2880, Resulting Numbers: [2880]
2880,62 unequal: No Solution
Exploring Operation: 32+90=122, Resulting Numbers: [122]
122,62 unequal: No Solution
Exploring Operation: 90-32=58, Resulting Numbers: [58]
58,62 unequal: No Solution
Moving to Node #0,0,3
Current State: 62:[91, 31], Operations: ['96/3=32', '32-1=31']
Exploring Operation: 91*31=2821, Resulting Numbers: [2821]
2821,62 unequal: No Solution
Exploring Operation: 91+31=122, Resulting Numbers: [122]
122,62 unequal: No Solution
Exploring Operation: 91-31=60, Resulting Numbers: [60]
60,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[32, 91], Operations: ['96/3=32', '91/1=91']
Exploring Operation: 91-32=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 32*91=2912, Resulting Numbers: [2912]
2912,62 unequal: No Solution
Exploring Operation: 32+91=123, Resulting Numbers: [123]
123,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[32, 91], Operations: ['96/3=32', '1*91=91']
Exploring Operation: 32*91=2912, Resulting Numbers: [2912]
2912,62 unequal: No Solution
Exploring Operation: 91-32=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 32+91=123, Resulting Numbers: [123]
123,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 62:[1, 91, 93], Operations: ['96-3=93']
Exploring Operation: 93-91=2, Resulting Numbers: [1, 2]
Generated Node #0,2,0: 62:[1, 2] Operation: 93-91=2
Exploring Operation: 93-1=92, Resulting Numbers: [91, 92]
Generated Node #0,2,1: 62:[91, 92] Operation: 93-1=92
Exploring Operation: 1*91=91, Resulting Numbers: [93, 91]
Generated Node #0,2,2: 62:[93, 91] Operation: 1*91=91
Exploring Operation: 91-1=90, Resulting Numbers: [93, 90]
Generated Node #0,2,3: 62:[93, 90] Operation: 91-1=90
Exploring Operation: 91/1=91, Resulting Numbers: [93, 91]
Generated Node #0,2,4: 62:[93, 91] Operation: 91/1=91
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 62:[1, 2], Operations: ['96-3=93', '93-91=2']
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 62:[91, 92], Operations: ['96-3=93', '93-1=92']
Exploring Operation: 91*92=8372, Resulting Numbers: [8372]
8372,62 unequal: No Solution
Exploring Operation: 92-91=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 91+92=183, Resulting Numbers: [183]
183,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 62:[93, 90], Operations: ['96-3=93', '91-1=90']
Exploring Operation: 93-90=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 93*90=8370, Resulting Numbers: [8370]
8370,62 unequal: No Solution
Exploring Operation: 93+90=183, Resulting Numbers: [183]
183,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 62:[93, 91], Operations: ['96-3=93', '1*91=91']
Exploring Operation: 93+91=184, Resulting Numbers: [184]
184,62 unequal: No Solution
Exploring Operation: 93*91=8463, Resulting Numbers: [8463]
8463,62 unequal: No Solution
Exploring Operation: 93-91=2, Resulting Numbers: [2]
2,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 62:[93, 91], Operations: ['96-3=93', '91/1=91']
Exploring Operation: 93-91=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 93*91=8463, Resulting Numbers: [8463]
8463,62 unequal: No Solution
Exploring Operation: 93+91=184, Resulting Numbers: [184]
184,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 62:[1, 96, 88], Operations: ['91-3=88']
Exploring Operation: 96/1=96, Resulting Numbers: [88, 96]
Generated Node #0,3,0: 62:[88, 96] Operation: 96/1=96
Exploring Operation: 96-88=8, Resulting Numbers: [1, 8]
Generated Node #0,3,1: 62:[1, 8] Operation: 96-88=8
Exploring Operation: 1*96=96, Resulting Numbers: [88, 96]
Generated Node #0,3,2: 62:[88, 96] Operation: 1*96=96
Exploring Operation: 96-1=95, Resulting Numbers: [88, 95]
Generated Node #0,3,3: 62:[88, 95] Operation: 96-1=95
Exploring Operation: 88-1=87, Resulting Numbers: [96, 87]
Generated Node #0,3,4: 62:[96, 87] Operation: 88-1=87
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 62:[1, 8], Operations: ['91-3=88', '96-88=8']
Exploring Operation: 1+8=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 62:[88, 95], Operations: ['91-3=88', '96-1=95']
Exploring Operation: 95-88=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 88+95=183, Resulting Numbers: [183]
183,62 unequal: No Solution
Exploring Operation: 88*95=8360, Resulting Numbers: [8360]
8360,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 62:[96, 87], Operations: ['91-3=88', '88-1=87']
Exploring Operation: 96*87=8352, Resulting Numbers: [8352]
8352,62 unequal: No Solution
Exploring Operation: 96+87=183, Resulting Numbers: [183]
183,62 unequal: No Solution
Exploring Operation: 96-87=9, Resulting Numbers: [9]
9,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 62:[88, 96], Operations: ['91-3=88', '96/1=96']
Exploring Operation: 88*96=8448, Resulting Numbers: [8448]
8448,62 unequal: No Solution
Exploring Operation: 96-88=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 88+96=184, Resulting Numbers: [184]
184,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 62:[88, 96], Operations: ['91-3=88', '1*96=96']
Exploring Operation: 88+96=184, Resulting Numbers: [184]
184,62 unequal: No Solution
Exploring Operation: 96-88=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 88*96=8448, Resulting Numbers: [8448]
8448,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 62:[3, 91, 95], Operations: ['96-1=95']
Exploring Operation: 91-3=88, Resulting Numbers: [95, 88]
Generated Node #0,4,0: 62:[95, 88] Operation: 91-3=88
Exploring Operation: 95-91=4, Resulting Numbers: [3, 4]
Generated Node #0,4,1: 62:[3, 4] Operation: 95-91=4
Exploring Operation: 95-3=92, Resulting Numbers: [91, 92]
Generated Node #0,4,2: 62:[91, 92] Operation: 95-3=92
Exploring Operation: 3+91=94, Resulting Numbers: [95, 94]
Generated Node #0,4,3: 62:[95, 94] Operation: 3+91=94
Exploring Operation: 3+95=98, Resulting Numbers: [91, 98]
Generated Node #0,4,4: 62:[91, 98] Operation: 3+95=98
Moving to Node #0,4,1
Current State: 62:[3, 4], Operations: ['96-1=95', '95-91=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,62 unequal: No Solution
Moving to Node #0,4,2
Current State: 62:[91, 92], Operations: ['96-1=95', '95-3=92']
Exploring Operation: 91+92=183, Resulting Numbers: [183]
183,62 unequal: No Solution
Exploring Operation: 91*92=8372, Resulting Numbers: [8372]
8372,62 unequal: No Solution
Exploring Operation: 92-91=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Moving to Node #0,4,0
Current State: 62:[95, 88], Operations: ['96-1=95', '91-3=88']
Exploring Operation: 95-88=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 95*88=8360, Resulting Numbers: [8360]
8360,62 unequal: No Solution
Exploring Operation: 95+88=183, Resulting Numbers: [183]
183,62 unequal: No Solution
Moving to Node #0,4,3
Current State: 62:[95, 94], Operations: ['96-1=95', '3+91=94']
Exploring Operation: 95-94=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 95*94=8930, Resulting Numbers: [8930]
8930,62 unequal: No Solution
Exploring Operation: 95+94=189, Resulting Numbers: [189]
189,62 unequal: No Solution
Moving to Node #0,4,4
Current State: 62:[91, 98], Operations: ['96-1=95', '3+95=98']
Exploring Operation: 91+98=189, Resulting Numbers: [189]
189,62 unequal: No Solution
Exploring Operation: 98-91=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 91*98=8918, Resulting Numbers: [8918]
8918,62 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 |
[
97,
11,
7,
76
] | 96 | [
"97+76=173",
"11*7=77",
"173-77=96"
] | Current State: 96:[97, 11, 7, 76], Operations: []
Exploring Operation: 97+76=173, Resulting Numbers: [11, 7, 173]
Generated Node #2: [11, 7, 173] from Operation: 97+76=173
Current State: 96:[11, 7, 173], Operations: ['97+76=173']
Exploring Operation: 11*7=77, Resulting Numbers: [173, 77]
Generated Node #3: [173, 77] from Operation: 11*7=77
Current State: 96:[173, 77], Operations: ['97+76=173', '11*7=77']
Exploring Operation: 173-77=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[97, 11, 7, 76], Operations: []
Exploring Operation: 76-11=65, Resulting Numbers: [97, 7, 65]
Generated Node #0,0: 96:[97, 7, 65] Operation: 76-11=65
Exploring Operation: 11+76=87, Resulting Numbers: [97, 7, 87]
Generated Node #0,1: 96:[97, 7, 87] Operation: 11+76=87
Exploring Operation: 7+76=83, Resulting Numbers: [97, 11, 83]
Generated Node #0,2: 96:[97, 11, 83] Operation: 7+76=83
Exploring Operation: 97-76=21, Resulting Numbers: [11, 7, 21]
Generated Node #0,3: 96:[11, 7, 21] Operation: 97-76=21
Moving to Node #0,3
Current State: 96:[11, 7, 21], Operations: ['97-76=21']
Exploring Operation: 21-11=10, Resulting Numbers: [7, 10]
Generated Node #0,3,0: 96:[7, 10] Operation: 21-11=10
Exploring Operation: 11+21=32, Resulting Numbers: [7, 32]
Generated Node #0,3,1: 96:[7, 32] Operation: 11+21=32
Exploring Operation: 11-7=4, Resulting Numbers: [21, 4]
Generated Node #0,3,2: 96:[21, 4] Operation: 11-7=4
Exploring Operation: 21/7=3, Resulting Numbers: [11, 3]
Generated Node #0,3,3: 96:[11, 3] Operation: 21/7=3
Moving to Node #0,1
Current State: 96:[97, 7, 87], Operations: ['11+76=87']
Exploring Operation: 7+87=94, Resulting Numbers: [97, 94]
Generated Node #0,1,0: 96:[97, 94] Operation: 7+87=94
Exploring Operation: 97-87=10, Resulting Numbers: [7, 10]
Generated Node #0,1,1: 96:[7, 10] Operation: 97-87=10
Exploring Operation: 97+7=104, Resulting Numbers: [87, 104]
Generated Node #0,1,2: 96:[87, 104] Operation: 97+7=104
Exploring Operation: 97-7=90, Resulting Numbers: [87, 90]
Generated Node #0,1,3: 96:[87, 90] Operation: 97-7=90
Moving to Node #0,2
Current State: 96:[97, 11, 83], Operations: ['7+76=83']
Exploring Operation: 97+11=108, Resulting Numbers: [83, 108]
Generated Node #0,2,0: 96:[83, 108] Operation: 97+11=108
Exploring Operation: 97-11=86, Resulting Numbers: [83, 86]
Generated Node #0,2,1: 96:[83, 86] Operation: 97-11=86
Exploring Operation: 11+83=94, Resulting Numbers: [97, 94]
Generated Node #0,2,2: 96:[97, 94] Operation: 11+83=94
Exploring Operation: 97-83=14, Resulting Numbers: [11, 14]
Generated Node #0,2,3: 96:[11, 14] Operation: 97-83=14
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 96:[97, 94], Operations: ['7+76=83', '11+83=94']
Exploring Operation: 97-94=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 97*94=9118, Resulting Numbers: [9118]
9118,96 unequal: No Solution
Exploring Operation: 97+94=191, Resulting Numbers: [191]
191,96 unequal: No Solution
No 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: 96:[11, 14], Operations: ['7+76=83', '97-83=14']
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,96 unequal: No Solution
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,96 unequal: No Solution
No 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: 96:[83, 86], Operations: ['7+76=83', '97-11=86']
Exploring Operation: 86-83=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 83*86=7138, Resulting Numbers: [7138]
7138,96 unequal: No Solution
Exploring Operation: 83+86=169, Resulting Numbers: [169]
169,96 unequal: No Solution
No 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: 96:[83, 108], Operations: ['7+76=83', '97+11=108']
Exploring Operation: 83*108=8964, Resulting Numbers: [8964]
8964,96 unequal: No Solution
Exploring Operation: 83+108=191, Resulting Numbers: [191]
191,96 unequal: No Solution
Exploring Operation: 108-83=25, Resulting Numbers: [25]
25,96 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: 96:[97, 7, 65], Operations: ['76-11=65']
Exploring Operation: 65-7=58, Resulting Numbers: [97, 58]
Generated Node #0,0,0: 96:[97, 58] Operation: 65-7=58
Exploring Operation: 97-65=32, Resulting Numbers: [7, 32]
Generated Node #0,0,1: 96:[7, 32] Operation: 97-65=32
Exploring Operation: 97-7=90, Resulting Numbers: [65, 90]
Generated Node #0,0,2: 96:[65, 90] Operation: 97-7=90
Exploring Operation: 97+7=104, Resulting Numbers: [65, 104]
Generated Node #0,0,3: 96:[65, 104] Operation: 97+7=104
Moving to Node #0,3,1
Current State: 96:[7, 32], Operations: ['97-76=21', '11+21=32']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 7*32=224, Resulting Numbers: [224]
224,96 unequal: No Solution
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Moving to Node #0,3,3
Current State: 96:[11, 3], Operations: ['97-76=21', '21/7=3']
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,96 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[7, 32], Operations: ['76-11=65', '97-65=32']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 7*32=224, Resulting Numbers: [224]
224,96 unequal: No Solution
Moving to Node #0,3,0
Current State: 96:[7, 10], Operations: ['97-76=21', '21-11=10']
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,96 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Moving to Node #0,1,1
Current State: 96:[7, 10], Operations: ['11+76=87', '97-87=10']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[97, 94], Operations: ['11+76=87', '7+87=94']
Exploring Operation: 97*94=9118, Resulting Numbers: [9118]
9118,96 unequal: No Solution
Exploring Operation: 97-94=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 97+94=191, Resulting Numbers: [191]
191,96 unequal: No Solution
Moving to Node #0,3,2
Current State: 96:[21, 4], Operations: ['97-76=21', '11-7=4']
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[97, 58], Operations: ['76-11=65', '65-7=58']
Exploring Operation: 97-58=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 97+58=155, Resulting Numbers: [155]
155,96 unequal: No Solution
Exploring Operation: 97*58=5626, Resulting Numbers: [5626]
5626,96 unequal: No Solution
Moving to Node #0,1,3
Current State: 96:[87, 90], Operations: ['11+76=87', '97-7=90']
Exploring Operation: 87+90=177, Resulting Numbers: [177]
177,96 unequal: No Solution
Exploring Operation: 90-87=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 87*90=7830, Resulting Numbers: [7830]
7830,96 unequal: No Solution
Moving to Node #0,1,2
Current State: 96:[87, 104], Operations: ['11+76=87', '97+7=104']
Exploring Operation: 104-87=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 87*104=9048, Resulting Numbers: [9048]
9048,96 unequal: No Solution
Exploring Operation: 87+104=191, Resulting Numbers: [191]
191,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[65, 90], Operations: ['76-11=65', '97-7=90']
Exploring Operation: 65*90=5850, Resulting Numbers: [5850]
5850,96 unequal: No Solution
Exploring Operation: 90-65=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 65+90=155, Resulting Numbers: [155]
155,96 unequal: No Solution
Moving to Node #0,0,3
Current State: 96:[65, 104], Operations: ['76-11=65', '97+7=104']
Exploring Operation: 65+104=169, Resulting Numbers: [169]
169,96 unequal: No Solution
Exploring Operation: 104-65=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 65*104=6760, Resulting Numbers: [6760]
6760,96 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
99,
34,
12,
17
] | 71 | [
"99+34=133",
"12*17=204",
"204-133=71"
] | Current State: 71:[99, 34, 12, 17], Operations: []
Exploring Operation: 99+34=133, Resulting Numbers: [12, 17, 133]
Generated Node #2: [12, 17, 133] from Operation: 99+34=133
Current State: 71:[12, 17, 133], Operations: ['99+34=133']
Exploring Operation: 12*17=204, Resulting Numbers: [133, 204]
Generated Node #3: [133, 204] from Operation: 12*17=204
Current State: 71:[133, 204], Operations: ['99+34=133', '12*17=204']
Exploring Operation: 204-133=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[99, 34, 12, 17], Operations: []
Exploring Operation: 99-12=87, Resulting Numbers: [34, 17, 87]
Generated Node #0,0: 71:[34, 17, 87] Operation: 99-12=87
Exploring Operation: 34+12=46, Resulting Numbers: [99, 17, 46]
Generated Node #0,1: 71:[99, 17, 46] Operation: 34+12=46
Exploring Operation: 99-17=82, Resulting Numbers: [34, 12, 82]
Generated Node #0,2: 71:[34, 12, 82] Operation: 99-17=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[34, 17, 87], Operations: ['99-12=87']
Exploring Operation: 34-17=17, Resulting Numbers: [87, 17]
Generated Node #0,0,0: 71:[87, 17] Operation: 34-17=17
Exploring Operation: 87-17=70, Resulting Numbers: [34, 70]
Generated Node #0,0,1: 71:[34, 70] Operation: 87-17=70
Exploring Operation: 34+17=51, Resulting Numbers: [87, 51]
Generated Node #0,0,2: 71:[87, 51] Operation: 34+17=51
Moving to Node #0,0,2
Current State: 71:[87, 51], Operations: ['99-12=87', '34+17=51']
Exploring Operation: 87+51=138, Resulting Numbers: [138]
138,71 unequal: No Solution
Exploring Operation: 87*51=4437, Resulting Numbers: [4437]
4437,71 unequal: No Solution
Exploring Operation: 87-51=36, Resulting Numbers: [36]
36,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[34, 70], Operations: ['99-12=87', '87-17=70']
Exploring Operation: 70-34=36, Resulting Numbers: [36]
36,71 unequal: No Solution
Exploring Operation: 34*70=2380, Resulting Numbers: [2380]
2380,71 unequal: No Solution
Exploring Operation: 34+70=104, Resulting Numbers: [104]
104,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[87, 17], Operations: ['99-12=87', '34-17=17']
Exploring Operation: 87*17=1479, Resulting Numbers: [1479]
1479,71 unequal: No Solution
Exploring Operation: 87-17=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 87+17=104, Resulting Numbers: [104]
104,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[99, 17, 46], Operations: ['34+12=46']
Exploring Operation: 99+17=116, Resulting Numbers: [46, 116]
Generated Node #0,1,0: 71:[46, 116] Operation: 99+17=116
Exploring Operation: 99-17=82, Resulting Numbers: [46, 82]
Generated Node #0,1,1: 71:[46, 82] Operation: 99-17=82
Exploring Operation: 17+46=63, Resulting Numbers: [99, 63]
Generated Node #0,1,2: 71:[99, 63] Operation: 17+46=63
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 71:[46, 82], Operations: ['34+12=46', '99-17=82']
Exploring Operation: 46*82=3772, Resulting Numbers: [3772]
3772,71 unequal: No Solution
Exploring Operation: 82-46=36, Resulting Numbers: [36]
36,71 unequal: No Solution
Exploring Operation: 46+82=128, Resulting Numbers: [128]
128,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 71:[99, 63], Operations: ['34+12=46', '17+46=63']
Exploring Operation: 99*63=6237, Resulting Numbers: [6237]
6237,71 unequal: No Solution
Exploring Operation: 99+63=162, Resulting Numbers: [162]
162,71 unequal: No Solution
Exploring Operation: 99-63=36, Resulting Numbers: [36]
36,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 71:[46, 116], Operations: ['34+12=46', '99+17=116']
Exploring Operation: 46+116=162, Resulting Numbers: [162]
162,71 unequal: No Solution
Exploring Operation: 116-46=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 46*116=5336, Resulting Numbers: [5336]
5336,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[34, 12, 82], Operations: ['99-17=82']
Exploring Operation: 34-12=22, Resulting Numbers: [82, 22]
Generated Node #0,2,0: 71:[82, 22] Operation: 34-12=22
Exploring Operation: 34+12=46, Resulting Numbers: [82, 46]
Generated Node #0,2,1: 71:[82, 46] Operation: 34+12=46
Exploring Operation: 82-12=70, Resulting Numbers: [34, 70]
Generated Node #0,2,2: 71:[34, 70] Operation: 82-12=70
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 71:[82, 46], Operations: ['99-17=82', '34+12=46']
Exploring Operation: 82-46=36, Resulting Numbers: [36]
36,71 unequal: No Solution
Exploring Operation: 82*46=3772, Resulting Numbers: [3772]
3772,71 unequal: No Solution
Exploring Operation: 82+46=128, Resulting Numbers: [128]
128,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 71:[34, 70], Operations: ['99-17=82', '82-12=70']
Exploring Operation: 70-34=36, Resulting Numbers: [36]
36,71 unequal: No Solution
Exploring Operation: 34*70=2380, Resulting Numbers: [2380]
2380,71 unequal: No Solution
Exploring Operation: 34+70=104, Resulting Numbers: [104]
104,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 71:[82, 22], Operations: ['99-17=82', '34-12=22']
Exploring Operation: 82*22=1804, Resulting Numbers: [1804]
1804,71 unequal: No Solution
Exploring Operation: 82+22=104, Resulting Numbers: [104]
104,71 unequal: No Solution
Exploring Operation: 82-22=60, Resulting Numbers: [60]
60,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
12,
95,
67,
79
] | 39 | [
"12+95=107",
"67+79=146",
"146-107=39"
] | Current State: 39:[12, 95, 67, 79], Operations: []
Exploring Operation: 12+95=107, Resulting Numbers: [67, 79, 107]
Generated Node #2: [67, 79, 107] from Operation: 12+95=107
Current State: 39:[67, 79, 107], Operations: ['12+95=107']
Exploring Operation: 67+79=146, Resulting Numbers: [107, 146]
Generated Node #3: [107, 146] from Operation: 67+79=146
Current State: 39:[107, 146], Operations: ['12+95=107', '67+79=146']
Exploring Operation: 146-107=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[12, 95, 67, 79], Operations: []
Exploring Operation: 95-67=28, Resulting Numbers: [12, 79, 28]
Generated Node #0,0: 39:[12, 79, 28] Operation: 95-67=28
Exploring Operation: 95-79=16, Resulting Numbers: [12, 67, 16]
Generated Node #0,1: 39:[12, 67, 16] Operation: 95-79=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[12, 67, 16], Operations: ['95-79=16']
Exploring Operation: 67-16=51, Resulting Numbers: [12, 51]
Generated Node #0,1,0: 39:[12, 51] Operation: 67-16=51
Exploring Operation: 67-12=55, Resulting Numbers: [16, 55]
Generated Node #0,1,1: 39:[16, 55] Operation: 67-12=55
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 39:[12, 51], Operations: ['95-79=16', '67-16=51']
Exploring Operation: 12+51=63, Resulting Numbers: [63]
63,39 unequal: No Solution
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[12, 95, 67, 79], Operations: []
Exploring Operation: 95-79=16, Resulting Numbers: [12, 67, 16]
Generated Node #0,1: 39:[12, 67, 16] Operation: 95-79=16
Moving to Node #0,1
Current State: 39:[12, 67, 16], Operations: ['95-79=16']
Exploring Operation: 67-16=51, Resulting Numbers: [12, 51]
Generated Node #0,1,0: 39:[12, 51] Operation: 67-16=51
Moving to Node #0,1,0
Current State: 39:[12, 51], Operations: ['95-79=16', '67-16=51']
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
28,
50,
22,
61
] | 17 | [
"50-28=22",
"61-22=39",
"39-22=17"
] | Current State: 17:[28, 50, 22, 61], Operations: []
Exploring Operation: 50-28=22, Resulting Numbers: [22, 61, 22]
Generated Node #2: [22, 61, 22] from Operation: 50-28=22
Current State: 17:[22, 61, 22], Operations: ['50-28=22']
Exploring Operation: 61-22=39, Resulting Numbers: [39]
39,17 equal: Goal Reached
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[28, 50, 22, 61], Operations: []
Exploring Operation: 61-50=11, Resulting Numbers: [28, 22, 11]
Generated Node #0,0: 17:[28, 22, 11] Operation: 61-50=11
Exploring Operation: 50-28=22, Resulting Numbers: [22, 61, 22]
Generated Node #0,1: 17:[22, 61, 22] Operation: 50-28=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[28, 22, 11], Operations: ['61-50=11']
Exploring Operation: 28-11=17, Resulting Numbers: [22, 17]
Generated Node #0,0,0: 17:[22, 17] Operation: 28-11=17
Exploring Operation: 28-22=6, Resulting Numbers: [11, 6]
Generated Node #0,0,1: 17:[11, 6] Operation: 28-22=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[22, 17], Operations: ['61-50=11', '28-11=17']
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,17 unequal: No Solution
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 17:[11, 6], Operations: ['61-50=11', '28-22=6']
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,17 unequal: No Solution
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[28, 50, 22, 61], Operations: []
Exploring Operation: 61-50=11, Resulting Numbers: [28, 22, 11]
Generated Node #0,0: 17:[28, 22, 11] Operation: 61-50=11
Moving to Node #0,0
Current State: 17:[28, 22, 11], Operations: ['61-50=11']
Exploring Operation: 28-22=6, Resulting Numbers: [11, 6]
Generated Node #0,0,1: 17:[11, 6] Operation: 28-22=6
Moving to Node #0,0,1
Current State: 17:[11, 6], Operations: ['61-50=11', '28-22=6']
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
65,
17,
69,
60
] | 73 | [
"65+17=82",
"69-60=9",
"82-9=73"
] | Current State: 73:[65, 17, 69, 60], Operations: []
Exploring Operation: 65+17=82, Resulting Numbers: [69, 60, 82]
Generated Node #2: [69, 60, 82] from Operation: 65+17=82
Current State: 73:[69, 60, 82], Operations: ['65+17=82']
Exploring Operation: 69-60=9, Resulting Numbers: [82, 9]
Generated Node #3: [82, 9] from Operation: 69-60=9
Current State: 73:[82, 9], Operations: ['65+17=82', '69-60=9']
Exploring Operation: 82-9=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[65, 17, 69, 60], Operations: []
Exploring Operation: 69-17=52, Resulting Numbers: [65, 60, 52]
Generated Node #0,0: 73:[65, 60, 52] Operation: 69-17=52
Exploring Operation: 65-17=48, Resulting Numbers: [69, 60, 48]
Generated Node #0,1: 73:[69, 60, 48] Operation: 65-17=48
Exploring Operation: 17+60=77, Resulting Numbers: [65, 69, 77]
Generated Node #0,2: 73:[65, 69, 77] Operation: 17+60=77
Exploring Operation: 65+17=82, Resulting Numbers: [69, 60, 82]
Generated Node #0,3: 73:[69, 60, 82] Operation: 65+17=82
Exploring Operation: 17+69=86, Resulting Numbers: [65, 60, 86]
Generated Node #0,4: 73:[65, 60, 86] Operation: 17+69=86
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[65, 69, 77], Operations: ['17+60=77']
Exploring Operation: 69-65=4, Resulting Numbers: [77, 4]
Generated Node #0,2,0: 73:[77, 4] Operation: 69-65=4
Exploring Operation: 65+77=142, Resulting Numbers: [69, 142]
Generated Node #0,2,1: 73:[69, 142] Operation: 65+77=142
Exploring Operation: 77-69=8, Resulting Numbers: [65, 8]
Generated Node #0,2,2: 73:[65, 8] Operation: 77-69=8
Exploring Operation: 65+69=134, Resulting Numbers: [77, 134]
Generated Node #0,2,3: 73:[77, 134] Operation: 65+69=134
Exploring Operation: 77-65=12, Resulting Numbers: [69, 12]
Generated Node #0,2,4: 73:[69, 12] Operation: 77-65=12
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 73:[77, 134], Operations: ['17+60=77', '65+69=134']
Exploring Operation: 77*134=10318, Resulting Numbers: [10318]
10318,73 unequal: No Solution
Exploring Operation: 134-77=57, Resulting Numbers: [57]
57,73 unequal: No Solution
Exploring Operation: 77+134=211, Resulting Numbers: [211]
211,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 73:[69, 12], Operations: ['17+60=77', '77-65=12']
Exploring Operation: 69-12=57, Resulting Numbers: [57]
57,73 unequal: No Solution
Exploring Operation: 69*12=828, Resulting Numbers: [828]
828,73 unequal: No Solution
Exploring Operation: 69+12=81, Resulting Numbers: [81]
81,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 73:[77, 4], Operations: ['17+60=77', '69-65=4']
Exploring Operation: 77*4=308, Resulting Numbers: [308]
308,73 unequal: No Solution
Exploring Operation: 77+4=81, Resulting Numbers: [81]
81,73 unequal: No Solution
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[65, 17, 69, 60], Operations: []
Exploring Operation: 17+60=77, Resulting Numbers: [65, 69, 77]
Generated Node #0,2: 73:[65, 69, 77] Operation: 17+60=77
Moving to Node #0,2
Current State: 73:[65, 69, 77], Operations: ['17+60=77']
Exploring Operation: 69-65=4, Resulting Numbers: [77, 4]
Generated Node #0,2,0: 73:[77, 4] Operation: 69-65=4
Moving to Node #0,2,0
Current State: 73:[77, 4], Operations: ['17+60=77', '69-65=4']
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_5 | mult_heuristic |
[
86,
95,
16,
27
] | 93 | [
"16+27=43",
"86/43=2",
"95-2=93"
] | Current State: 93:[86, 95, 16, 27], Operations: []
Exploring Operation: 16+27=43, Resulting Numbers: [86, 95, 43]
Generated Node #2: [86, 95, 43] from Operation: 16+27=43
Current State: 93:[86, 95, 43], Operations: ['16+27=43']
Exploring Operation: 86/43=2, Resulting Numbers: [95, 2]
Generated Node #3: [95, 2] from Operation: 86/43=2
Current State: 93:[95, 2], Operations: ['16+27=43', '86/43=2']
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[86, 95, 16, 27], Operations: []
Exploring Operation: 95-16=79, Resulting Numbers: [86, 27, 79]
Generated Node #0,0: 93:[86, 27, 79] Operation: 95-16=79
Exploring Operation: 16+27=43, Resulting Numbers: [86, 95, 43]
Generated Node #0,1: 93:[86, 95, 43] Operation: 16+27=43
Exploring Operation: 95-86=9, Resulting Numbers: [16, 27, 9]
Generated Node #0,2: 93:[16, 27, 9] Operation: 95-86=9
Exploring Operation: 86+16=102, Resulting Numbers: [95, 27, 102]
Generated Node #0,3: 93:[95, 27, 102] Operation: 86+16=102
Exploring Operation: 27-16=11, Resulting Numbers: [86, 95, 11]
Generated Node #0,4: 93:[86, 95, 11] Operation: 27-16=11
Start Sub Search at level 1: Moving to Node #0,3
Current State: 93:[95, 27, 102], Operations: ['86+16=102']
Exploring Operation: 95-27=68, Resulting Numbers: [102, 68]
Generated Node #0,3,0: 93:[102, 68] Operation: 95-27=68
Exploring Operation: 102-95=7, Resulting Numbers: [27, 7]
Generated Node #0,3,1: 93:[27, 7] Operation: 102-95=7
Exploring Operation: 27+102=129, Resulting Numbers: [95, 129]
Generated Node #0,3,2: 93:[95, 129] Operation: 27+102=129
Exploring Operation: 95+27=122, Resulting Numbers: [102, 122]
Generated Node #0,3,3: 93:[102, 122] Operation: 95+27=122
Exploring Operation: 102-27=75, Resulting Numbers: [95, 75]
Generated Node #0,3,4: 93:[95, 75] Operation: 102-27=75
Moving to Node #0,3,1
Current State: 93:[27, 7], Operations: ['86+16=102', '102-95=7']
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,93 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,93 unequal: No Solution
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,93 unequal: No Solution
Moving to Node #0,3,4
Current State: 93:[95, 75], Operations: ['86+16=102', '102-27=75']
Exploring Operation: 95-75=20, Resulting Numbers: [20]
20,93 unequal: No Solution
Exploring Operation: 95+75=170, Resulting Numbers: [170]
170,93 unequal: No Solution
Exploring Operation: 95*75=7125, Resulting Numbers: [7125]
7125,93 unequal: No Solution
Moving to Node #0,3,0
Current State: 93:[102, 68], Operations: ['86+16=102', '95-27=68']
Exploring Operation: 102+68=170, Resulting Numbers: [170]
170,93 unequal: No Solution
Exploring Operation: 102*68=6936, Resulting Numbers: [6936]
6936,93 unequal: No Solution
Exploring Operation: 102-68=34, Resulting Numbers: [34]
34,93 unequal: No Solution
Moving to Node #0,3,2
Current State: 93:[95, 129], Operations: ['86+16=102', '27+102=129']
Exploring Operation: 129-95=34, Resulting Numbers: [34]
34,93 unequal: No Solution
Exploring Operation: 95+129=224, Resulting Numbers: [224]
224,93 unequal: No Solution
Exploring Operation: 95*129=12255, Resulting Numbers: [12255]
12255,93 unequal: No Solution
Moving to Node #0,3,3
Current State: 93:[102, 122], Operations: ['86+16=102', '95+27=122']
Exploring Operation: 102*122=12444, Resulting Numbers: [12444]
12444,93 unequal: No Solution
Exploring Operation: 102+122=224, Resulting Numbers: [224]
224,93 unequal: No Solution
Exploring Operation: 122-102=20, Resulting Numbers: [20]
20,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 93:[86, 95, 11], Operations: ['27-16=11']
Exploring Operation: 95-86=9, Resulting Numbers: [11, 9]
Generated Node #0,4,0: 93:[11, 9] Operation: 95-86=9
Exploring Operation: 95+11=106, Resulting Numbers: [86, 106]
Generated Node #0,4,1: 93:[86, 106] Operation: 95+11=106
Exploring Operation: 95-11=84, Resulting Numbers: [86, 84]
Generated Node #0,4,2: 93:[86, 84] Operation: 95-11=84
Exploring Operation: 86+11=97, Resulting Numbers: [95, 97]
Generated Node #0,4,3: 93:[95, 97] Operation: 86+11=97
Exploring Operation: 86-11=75, Resulting Numbers: [95, 75]
Generated Node #0,4,4: 93:[95, 75] Operation: 86-11=75
Moving to Node #0,4,3
Current State: 93:[95, 97], Operations: ['27-16=11', '86+11=97']
Exploring Operation: 97-95=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 95*97=9215, Resulting Numbers: [9215]
9215,93 unequal: No Solution
Exploring Operation: 95+97=192, Resulting Numbers: [192]
192,93 unequal: No Solution
Moving to Node #0,4,0
Current State: 93:[11, 9], Operations: ['27-16=11', '95-86=9']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,93 unequal: No Solution
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,93 unequal: No Solution
Moving to Node #0,4,2
Current State: 93:[86, 84], Operations: ['27-16=11', '95-11=84']
Exploring Operation: 86+84=170, Resulting Numbers: [170]
170,93 unequal: No Solution
Exploring Operation: 86-84=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 86*84=7224, Resulting Numbers: [7224]
7224,93 unequal: No Solution
Moving to Node #0,4,1
Current State: 93:[86, 106], Operations: ['27-16=11', '95+11=106']
Exploring Operation: 106-86=20, Resulting Numbers: [20]
20,93 unequal: No Solution
Exploring Operation: 86+106=192, Resulting Numbers: [192]
192,93 unequal: No Solution
Exploring Operation: 86*106=9116, Resulting Numbers: [9116]
9116,93 unequal: No Solution
Moving to Node #0,4,4
Current State: 93:[95, 75], Operations: ['27-16=11', '86-11=75']
Exploring Operation: 95*75=7125, Resulting Numbers: [7125]
7125,93 unequal: No Solution
Exploring Operation: 95+75=170, Resulting Numbers: [170]
170,93 unequal: No Solution
Exploring Operation: 95-75=20, Resulting Numbers: [20]
20,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[86, 95, 43], Operations: ['16+27=43']
Exploring Operation: 95-43=52, Resulting Numbers: [86, 52]
Generated Node #0,1,0: 93:[86, 52] Operation: 95-43=52
Exploring Operation: 86+43=129, Resulting Numbers: [95, 129]
Generated Node #0,1,1: 93:[95, 129] Operation: 86+43=129
Exploring Operation: 86/43=2, Resulting Numbers: [95, 2]
Generated Node #0,1,2: 93:[95, 2] Operation: 86/43=2
Exploring Operation: 86-43=43, Resulting Numbers: [95, 43]
Generated Node #0,1,3: 93:[95, 43] Operation: 86-43=43
Exploring Operation: 95-86=9, Resulting Numbers: [43, 9]
Generated Node #0,1,4: 93:[43, 9] Operation: 95-86=9
Moving to Node #0,1,2
Current State: 93:[95, 2], Operations: ['16+27=43', '86/43=2']
Exploring Operation: 95+2=97, Resulting Numbers: [97]
97,93 unequal: No Solution
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[86, 95, 16, 27], Operations: []
Exploring Operation: 16+27=43, Resulting Numbers: [86, 95, 43]
Generated Node #0,1: 93:[86, 95, 43] Operation: 16+27=43
Moving to Node #0,1
Current State: 93:[86, 95, 43], Operations: ['16+27=43']
Exploring Operation: 86/43=2, Resulting Numbers: [95, 2]
Generated Node #0,1,2: 93:[95, 2] Operation: 86/43=2
Moving to Node #0,1,2
Current State: 93:[95, 2], Operations: ['16+27=43', '86/43=2']
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.951389 | hs_5 | sum_heuristic |
[
9,
17,
55,
57
] | 16 | [
"17-9=8",
"57-55=2",
"8*2=16"
] | Current State: 16:[9, 17, 55, 57], Operations: []
Exploring Operation: 17-9=8, Resulting Numbers: [55, 57, 8]
Generated Node #2: [55, 57, 8] from Operation: 17-9=8
Current State: 16:[55, 57, 8], Operations: ['17-9=8']
Exploring Operation: 57-55=2, Resulting Numbers: [8, 2]
Generated Node #3: [8, 2] from Operation: 57-55=2
Current State: 16:[8, 2], Operations: ['17-9=8', '57-55=2']
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[9, 17, 55, 57], Operations: []
Exploring Operation: 55-17=38, Resulting Numbers: [9, 57, 38]
Generated Node #0,0: 16:[9, 57, 38] Operation: 55-17=38
Exploring Operation: 55-9=46, Resulting Numbers: [17, 57, 46]
Generated Node #0,1: 16:[17, 57, 46] Operation: 55-9=46
Exploring Operation: 57-9=48, Resulting Numbers: [17, 55, 48]
Generated Node #0,2: 16:[17, 55, 48] Operation: 57-9=48
Exploring Operation: 57-55=2, Resulting Numbers: [9, 17, 2]
Generated Node #0,3: 16:[9, 17, 2] Operation: 57-55=2
Exploring Operation: 57-17=40, Resulting Numbers: [9, 55, 40]
Generated Node #0,4: 16:[9, 55, 40] Operation: 57-17=40
Start Sub Search at level 1: Moving to Node #0,3
Current State: 16:[9, 17, 2], Operations: ['57-55=2']
Exploring Operation: 9*2=18, Resulting Numbers: [17, 18]
Generated Node #0,3,0: 16:[17, 18] Operation: 9*2=18
Exploring Operation: 17-2=15, Resulting Numbers: [9, 15]
Generated Node #0,3,1: 16:[9, 15] Operation: 17-2=15
Exploring Operation: 9+2=11, Resulting Numbers: [17, 11]
Generated Node #0,3,2: 16:[17, 11] Operation: 9+2=11
Exploring Operation: 9-2=7, Resulting Numbers: [17, 7]
Generated Node #0,3,3: 16:[17, 7] Operation: 9-2=7
Exploring Operation: 17-9=8, Resulting Numbers: [2, 8]
Generated Node #0,3,4: 16:[2, 8] Operation: 17-9=8
Moving to Node #0,3,4
Current State: 16:[2, 8], Operations: ['57-55=2', '17-9=8']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[9, 17, 55, 57], Operations: []
Exploring Operation: 57-55=2, Resulting Numbers: [9, 17, 2]
Generated Node #0,3: 16:[9, 17, 2] Operation: 57-55=2
Moving to Node #0,3
Current State: 16:[9, 17, 2], Operations: ['57-55=2']
Exploring Operation: 17-9=8, Resulting Numbers: [2, 8]
Generated Node #0,3,4: 16:[2, 8] Operation: 17-9=8
Moving to Node #0,3,4
Current State: 16:[2, 8], Operations: ['57-55=2', '17-9=8']
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
70,
2,
28,
62
] | 67 | [
"70*2=140",
"140/28=5",
"62+5=67"
] | Current State: 67:[70, 2, 28, 62], Operations: []
Exploring Operation: 70*2=140, Resulting Numbers: [28, 62, 140]
Generated Node #2: [28, 62, 140] from Operation: 70*2=140
Current State: 67:[28, 62, 140], Operations: ['70*2=140']
Exploring Operation: 140/28=5, Resulting Numbers: [62, 5]
Generated Node #3: [62, 5] from Operation: 140/28=5
Current State: 67:[62, 5], Operations: ['70*2=140', '140/28=5']
Exploring Operation: 62+5=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[70, 2, 28, 62], Operations: []
Exploring Operation: 2*28=56, Resulting Numbers: [70, 62, 56]
Generated Node #0,0: 67:[70, 62, 56] Operation: 2*28=56
Moving to Node #0,0
Current State: 67:[70, 62, 56], Operations: ['2*28=56']
Exploring Operation: 62+56=118, Resulting Numbers: [70, 118]
Generated Node #0,0,0: 67:[70, 118] Operation: 62+56=118
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[70, 118], Operations: ['2*28=56', '62+56=118']
Exploring Operation: 118-70=48, Resulting Numbers: [48]
48,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
98,
62,
31,
12
] | 88 | [
"98-12=86",
"62/31=2",
"86+2=88"
] | Current State: 88:[98, 62, 31, 12], Operations: []
Exploring Operation: 98-12=86, Resulting Numbers: [62, 31, 86]
Generated Node #2: [62, 31, 86] from Operation: 98-12=86
Current State: 88:[62, 31, 86], Operations: ['98-12=86']
Exploring Operation: 62/31=2, Resulting Numbers: [86, 2]
Generated Node #3: [86, 2] from Operation: 62/31=2
Current State: 88:[86, 2], Operations: ['98-12=86', '62/31=2']
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[98, 62, 31, 12], Operations: []
Exploring Operation: 62+31=93, Resulting Numbers: [98, 12, 93]
Generated Node #0,0: 88:[98, 12, 93] Operation: 62+31=93
Exploring Operation: 62/31=2, Resulting Numbers: [98, 12, 2]
Generated Node #0,1: 88:[98, 12, 2] Operation: 62/31=2
Moving to Node #0,1
Current State: 88:[98, 12, 2], Operations: ['62/31=2']
Exploring Operation: 98-12=86, Resulting Numbers: [2, 86]
Generated Node #0,1,0: 88:[2, 86] Operation: 98-12=86
Exploring Operation: 98/2=49, Resulting Numbers: [12, 49]
Generated Node #0,1,1: 88:[12, 49] Operation: 98/2=49
Moving to Node #0,0
Current State: 88:[98, 12, 93], Operations: ['62+31=93']
Exploring Operation: 98-12=86, Resulting Numbers: [93, 86]
Generated Node #0,0,0: 88:[93, 86] Operation: 98-12=86
Exploring Operation: 98-93=5, Resulting Numbers: [12, 5]
Generated Node #0,0,1: 88:[12, 5] Operation: 98-93=5
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[12, 5], Operations: ['62+31=93', '98-93=5']
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,88 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,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,0,0
Current State: 88:[93, 86], Operations: ['62+31=93', '98-12=86']
Exploring Operation: 93-86=7, Resulting Numbers: [7]
7,88 unequal: No Solution
Exploring Operation: 93+86=179, Resulting Numbers: [179]
179,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 88:[2, 86], Operations: ['62/31=2', '98-12=86']
Exploring Operation: 2+86=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[98, 62, 31, 12], Operations: []
Exploring Operation: 62/31=2, Resulting Numbers: [98, 12, 2]
Generated Node #0,1: 88:[98, 12, 2] Operation: 62/31=2
Moving to Node #0,1
Current State: 88:[98, 12, 2], Operations: ['62/31=2']
Exploring Operation: 98-12=86, Resulting Numbers: [2, 86]
Generated Node #0,1,0: 88:[2, 86] Operation: 98-12=86
Moving to Node #0,1,0
Current State: 88:[2, 86], Operations: ['62/31=2', '98-12=86']
Exploring Operation: 2+86=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
31,
2,
15,
3
] | 32 | [
"31+3=34",
"34/2=17",
"15+17=32"
] | Current State: 32:[31, 2, 15, 3], Operations: []
Exploring Operation: 31+3=34, Resulting Numbers: [2, 15, 34]
Generated Node #2: [2, 15, 34] from Operation: 31+3=34
Current State: 32:[2, 15, 34], Operations: ['31+3=34']
Exploring Operation: 34/2=17, Resulting Numbers: [15, 17]
Generated Node #3: [15, 17] from Operation: 34/2=17
Current State: 32:[15, 17], Operations: ['31+3=34', '34/2=17']
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[31, 2, 15, 3], Operations: []
Exploring Operation: 31-15=16, Resulting Numbers: [2, 3, 16]
Generated Node #0,0: 32:[2, 3, 16] Operation: 31-15=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[2, 3, 16], Operations: ['31-15=16']
Exploring Operation: 2+3=5, Resulting Numbers: [16, 5]
Generated Node #0,0,0: 32:[16, 5] Operation: 2+3=5
Moving to Node #0,0,0
Current State: 32:[16, 5], Operations: ['31-15=16', '2+3=5']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
17,
40,
3,
41
] | 50 | [
"17*3=51",
"41-40=1",
"51-1=50"
] | Current State: 50:[17, 40, 3, 41], Operations: []
Exploring Operation: 17*3=51, Resulting Numbers: [40, 41, 51]
Generated Node #2: [40, 41, 51] from Operation: 17*3=51
Current State: 50:[40, 41, 51], Operations: ['17*3=51']
Exploring Operation: 41-40=1, Resulting Numbers: [51, 1]
Generated Node #3: [51, 1] from Operation: 41-40=1
Current State: 50:[51, 1], Operations: ['17*3=51', '41-40=1']
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[17, 40, 3, 41], Operations: []
Exploring Operation: 41-40=1, Resulting Numbers: [17, 3, 1]
Generated Node #0,0: 50:[17, 3, 1] Operation: 41-40=1
Exploring Operation: 40-17=23, Resulting Numbers: [3, 41, 23]
Generated Node #0,1: 50:[3, 41, 23] Operation: 40-17=23
Moving to Node #0,0
Current State: 50:[17, 3, 1], Operations: ['41-40=1']
Exploring Operation: 17*3=51, Resulting Numbers: [1, 51]
Generated Node #0,0,0: 50:[1, 51] Operation: 17*3=51
Exploring Operation: 17-3=14, Resulting Numbers: [1, 14]
Generated Node #0,0,1: 50:[1, 14] Operation: 17-3=14
Moving to Node #0,1
Current State: 50:[3, 41, 23], Operations: ['40-17=23']
Exploring Operation: 41-23=18, Resulting Numbers: [3, 18]
Generated Node #0,1,0: 50:[3, 18] Operation: 41-23=18
Exploring Operation: 3+41=44, Resulting Numbers: [23, 44]
Generated Node #0,1,1: 50:[23, 44] Operation: 3+41=44
Moving to Node #0,0,0
Current State: 50:[1, 51], Operations: ['41-40=1', '17*3=51']
Exploring Operation: 1*51=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[17, 40, 3, 41], Operations: []
Exploring Operation: 41-40=1, Resulting Numbers: [17, 3, 1]
Generated Node #0,0: 50:[17, 3, 1] Operation: 41-40=1
Moving to Node #0,0
Current State: 50:[17, 3, 1], Operations: ['41-40=1']
Exploring Operation: 17*3=51, Resulting Numbers: [1, 51]
Generated Node #0,0,0: 50:[1, 51] Operation: 17*3=51
Moving to Node #0,0,0
Current State: 50:[1, 51], Operations: ['41-40=1', '17*3=51']
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
31,
38,
24,
19
] | 76 | [
"31-19=12",
"38*24=912",
"912/12=76"
] | Current State: 76:[31, 38, 24, 19], Operations: []
Exploring Operation: 31-19=12, Resulting Numbers: [38, 24, 12]
Generated Node #2: [38, 24, 12] from Operation: 31-19=12
Current State: 76:[38, 24, 12], Operations: ['31-19=12']
Exploring Operation: 38*24=912, Resulting Numbers: [12, 912]
Generated Node #3: [12, 912] from Operation: 38*24=912
Current State: 76:[12, 912], Operations: ['31-19=12', '38*24=912']
Exploring Operation: 912/12=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[31, 38, 24, 19], Operations: []
Exploring Operation: 38-31=7, Resulting Numbers: [24, 19, 7]
Generated Node #0,0: 76:[24, 19, 7] Operation: 38-31=7
Exploring Operation: 31-24=7, Resulting Numbers: [38, 19, 7]
Generated Node #0,1: 76:[38, 19, 7] Operation: 31-24=7
Exploring Operation: 24-19=5, Resulting Numbers: [31, 38, 5]
Generated Node #0,2: 76:[31, 38, 5] Operation: 24-19=5
Exploring Operation: 31+38=69, Resulting Numbers: [24, 19, 69]
Generated Node #0,3: 76:[24, 19, 69] Operation: 31+38=69
Exploring Operation: 31-19=12, Resulting Numbers: [38, 24, 12]
Generated Node #0,4: 76:[38, 24, 12] Operation: 31-19=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[38, 19, 7], Operations: ['31-24=7']
Exploring Operation: 38+7=45, Resulting Numbers: [19, 45]
Generated Node #0,1,0: 76:[19, 45] Operation: 38+7=45
Exploring Operation: 19+7=26, Resulting Numbers: [38, 26]
Generated Node #0,1,1: 76:[38, 26] Operation: 19+7=26
Exploring Operation: 38-7=31, Resulting Numbers: [19, 31]
Generated Node #0,1,2: 76:[19, 31] Operation: 38-7=31
Exploring Operation: 38-19=19, Resulting Numbers: [7, 19]
Generated Node #0,1,3: 76:[7, 19] Operation: 38-19=19
Exploring Operation: 38/19=2, Resulting Numbers: [7, 2]
Generated Node #0,1,4: 76:[7, 2] Operation: 38/19=2
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 76:[7, 19], Operations: ['31-24=7', '38-19=19']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 7*19=133, Resulting Numbers: [133]
133,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 76:[7, 2], Operations: ['31-24=7', '38/19=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,76 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[19, 45], Operations: ['31-24=7', '38+7=45']
Exploring Operation: 19*45=855, Resulting Numbers: [855]
855,76 unequal: No Solution
Exploring Operation: 19+45=64, Resulting Numbers: [64]
64,76 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[38, 26], Operations: ['31-24=7', '19+7=26']
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Exploring Operation: 38*26=988, Resulting Numbers: [988]
988,76 unequal: No Solution
Exploring Operation: 38+26=64, Resulting Numbers: [64]
64,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 76:[19, 31], Operations: ['31-24=7', '38-7=31']
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Exploring Operation: 19*31=589, Resulting Numbers: [589]
589,76 unequal: No Solution
Exploring Operation: 19+31=50, Resulting Numbers: [50]
50,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[24, 19, 7], Operations: ['38-31=7']
Exploring Operation: 24+7=31, Resulting Numbers: [19, 31]
Generated Node #0,0,0: 76:[19, 31] Operation: 24+7=31
Exploring Operation: 24-19=5, Resulting Numbers: [7, 5]
Generated Node #0,0,1: 76:[7, 5] Operation: 24-19=5
Exploring Operation: 19+7=26, Resulting Numbers: [24, 26]
Generated Node #0,0,2: 76:[24, 26] Operation: 19+7=26
Exploring Operation: 24+19=43, Resulting Numbers: [7, 43]
Generated Node #0,0,3: 76:[7, 43] Operation: 24+19=43
Exploring Operation: 24-7=17, Resulting Numbers: [19, 17]
Generated Node #0,0,4: 76:[19, 17] Operation: 24-7=17
Moving to Node #0,0,4
Current State: 76:[19, 17], Operations: ['38-31=7', '24-7=17']
Exploring Operation: 19*17=323, Resulting Numbers: [323]
323,76 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[7, 5], Operations: ['38-31=7', '24-19=5']
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[19, 31], Operations: ['38-31=7', '24+7=31']
Exploring Operation: 19*31=589, Resulting Numbers: [589]
589,76 unequal: No Solution
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Exploring Operation: 19+31=50, Resulting Numbers: [50]
50,76 unequal: No Solution
Moving to Node #0,0,3
Current State: 76:[7, 43], Operations: ['38-31=7', '24+19=43']
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,76 unequal: No Solution
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,76 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[24, 26], Operations: ['38-31=7', '19+7=26']
Exploring Operation: 24+26=50, Resulting Numbers: [50]
50,76 unequal: No Solution
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 24*26=624, Resulting Numbers: [624]
624,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[31, 38, 5], Operations: ['24-19=5']
Exploring Operation: 31-5=26, Resulting Numbers: [38, 26]
Generated Node #0,2,0: 76:[38, 26] Operation: 31-5=26
Exploring Operation: 38-31=7, Resulting Numbers: [5, 7]
Generated Node #0,2,1: 76:[5, 7] Operation: 38-31=7
Exploring Operation: 31+5=36, Resulting Numbers: [38, 36]
Generated Node #0,2,2: 76:[38, 36] Operation: 31+5=36
Exploring Operation: 31+38=69, Resulting Numbers: [5, 69]
Generated Node #0,2,3: 76:[5, 69] Operation: 31+38=69
Exploring Operation: 38+5=43, Resulting Numbers: [31, 43]
Generated Node #0,2,4: 76:[31, 43] Operation: 38+5=43
Moving to Node #0,2,2
Current State: 76:[38, 36], Operations: ['24-19=5', '31+5=36']
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 38+36=74, Resulting Numbers: [74]
74,76 unequal: No Solution
Exploring Operation: 38*36=1368, Resulting Numbers: [1368]
1368,76 unequal: No Solution
Moving to Node #0,2,1
Current State: 76:[5, 7], Operations: ['24-19=5', '38-31=7']
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,76 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Moving to Node #0,2,0
Current State: 76:[38, 26], Operations: ['24-19=5', '31-5=26']
Exploring Operation: 38*26=988, Resulting Numbers: [988]
988,76 unequal: No Solution
Exploring Operation: 38+26=64, Resulting Numbers: [64]
64,76 unequal: No Solution
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Moving to Node #0,2,3
Current State: 76:[5, 69], Operations: ['24-19=5', '31+38=69']
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,76 unequal: No Solution
Exploring Operation: 5*69=345, Resulting Numbers: [345]
345,76 unequal: No Solution
Exploring Operation: 5+69=74, Resulting Numbers: [74]
74,76 unequal: No Solution
Moving to Node #0,2,4
Current State: 76:[31, 43], Operations: ['24-19=5', '38+5=43']
Exploring Operation: 31*43=1333, Resulting Numbers: [1333]
1333,76 unequal: No Solution
Exploring Operation: 43-31=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Exploring Operation: 31+43=74, Resulting Numbers: [74]
74,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 76:[24, 19, 69], Operations: ['31+38=69']
Exploring Operation: 24-19=5, Resulting Numbers: [69, 5]
Generated Node #0,3,0: 76:[69, 5] Operation: 24-19=5
Exploring Operation: 19+69=88, Resulting Numbers: [24, 88]
Generated Node #0,3,1: 76:[24, 88] Operation: 19+69=88
Exploring Operation: 24+19=43, Resulting Numbers: [69, 43]
Generated Node #0,3,2: 76:[69, 43] Operation: 24+19=43
Exploring Operation: 69-24=45, Resulting Numbers: [19, 45]
Generated Node #0,3,3: 76:[19, 45] Operation: 69-24=45
Exploring Operation: 24+69=93, Resulting Numbers: [19, 93]
Generated Node #0,3,4: 76:[19, 93] Operation: 24+69=93
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 76:[19, 45], Operations: ['31+38=69', '69-24=45']
Exploring Operation: 19*45=855, Resulting Numbers: [855]
855,76 unequal: No Solution
Exploring Operation: 19+45=64, Resulting Numbers: [64]
64,76 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 76:[69, 5], Operations: ['31+38=69', '24-19=5']
Exploring Operation: 69+5=74, Resulting Numbers: [74]
74,76 unequal: No Solution
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,76 unequal: No Solution
Exploring Operation: 69*5=345, Resulting Numbers: [345]
345,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 76:[69, 43], Operations: ['31+38=69', '24+19=43']
Exploring Operation: 69-43=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 69*43=2967, Resulting Numbers: [2967]
2967,76 unequal: No Solution
Exploring Operation: 69+43=112, Resulting Numbers: [112]
112,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 76:[24, 88], Operations: ['31+38=69', '19+69=88']
Exploring Operation: 24+88=112, Resulting Numbers: [112]
112,76 unequal: No Solution
Exploring Operation: 24*88=2112, Resulting Numbers: [2112]
2112,76 unequal: No Solution
Exploring Operation: 88-24=64, Resulting Numbers: [64]
64,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 76:[19, 93], Operations: ['31+38=69', '24+69=93']
Exploring Operation: 19*93=1767, Resulting Numbers: [1767]
1767,76 unequal: No Solution
Exploring Operation: 19+93=112, Resulting Numbers: [112]
112,76 unequal: No Solution
Exploring Operation: 93-19=74, Resulting Numbers: [74]
74,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 76:[38, 24, 12], Operations: ['31-19=12']
Exploring Operation: 24/12=2, Resulting Numbers: [38, 2]
Generated Node #0,4,0: 76:[38, 2] Operation: 24/12=2
Exploring Operation: 24+12=36, Resulting Numbers: [38, 36]
Generated Node #0,4,1: 76:[38, 36] Operation: 24+12=36
Exploring Operation: 38-12=26, Resulting Numbers: [24, 26]
Generated Node #0,4,2: 76:[24, 26] Operation: 38-12=26
Exploring Operation: 38-24=14, Resulting Numbers: [12, 14]
Generated Node #0,4,3: 76:[12, 14] Operation: 38-24=14
Exploring Operation: 24-12=12, Resulting Numbers: [38, 12]
Generated Node #0,4,4: 76:[38, 12] Operation: 24-12=12
Moving to Node #0,4,0
Current State: 76:[38, 2], Operations: ['31-19=12', '24/12=2']
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[31, 38, 24, 19], Operations: []
Exploring Operation: 31-19=12, Resulting Numbers: [38, 24, 12]
Generated Node #0,4: 76:[38, 24, 12] Operation: 31-19=12
Moving to Node #0,4
Current State: 76:[38, 24, 12], Operations: ['31-19=12']
Exploring Operation: 24/12=2, Resulting Numbers: [38, 2]
Generated Node #0,4,0: 76:[38, 2] Operation: 24/12=2
Moving to Node #0,4,0
Current State: 76:[38, 2], Operations: ['31-19=12', '24/12=2']
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.917535 | hs_5 | sum_heuristic |
[
60,
58,
75,
33
] | 54 | [
"60-58=2",
"75+33=108",
"108/2=54"
] | Current State: 54:[60, 58, 75, 33], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [75, 33, 2]
Generated Node #2: [75, 33, 2] from Operation: 60-58=2
Current State: 54:[75, 33, 2], Operations: ['60-58=2']
Exploring Operation: 75+33=108, Resulting Numbers: [2, 108]
Generated Node #3: [2, 108] from Operation: 75+33=108
Current State: 54:[2, 108], Operations: ['60-58=2', '75+33=108']
Exploring Operation: 108/2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[60, 58, 75, 33], Operations: []
Exploring Operation: 75-60=15, Resulting Numbers: [58, 33, 15]
Generated Node #0,0: 54:[58, 33, 15] Operation: 75-60=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[58, 33, 15], Operations: ['75-60=15']
Exploring Operation: 33-15=18, Resulting Numbers: [58, 18]
Generated Node #0,0,0: 54:[58, 18] Operation: 33-15=18
Moving to Node #0,0,0
Current State: 54:[58, 18], Operations: ['75-60=15', '33-15=18']
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,54 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 |
[
57,
13,
48,
66
] | 26 | [
"57-13=44",
"66-48=18",
"44-18=26"
] | Current State: 26:[57, 13, 48, 66], Operations: []
Exploring Operation: 57-13=44, Resulting Numbers: [48, 66, 44]
Generated Node #2: [48, 66, 44] from Operation: 57-13=44
Current State: 26:[48, 66, 44], Operations: ['57-13=44']
Exploring Operation: 66-48=18, Resulting Numbers: [44, 18]
Generated Node #3: [44, 18] from Operation: 66-48=18
Current State: 26:[44, 18], Operations: ['57-13=44', '66-48=18']
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[57, 13, 48, 66], Operations: []
Exploring Operation: 57-48=9, Resulting Numbers: [13, 66, 9]
Generated Node #0,0: 26:[13, 66, 9] Operation: 57-48=9
Exploring Operation: 66-57=9, Resulting Numbers: [13, 48, 9]
Generated Node #0,1: 26:[13, 48, 9] Operation: 66-57=9
Exploring Operation: 57-13=44, Resulting Numbers: [48, 66, 44]
Generated Node #0,2: 26:[48, 66, 44] Operation: 57-13=44
Exploring Operation: 66-48=18, Resulting Numbers: [57, 13, 18]
Generated Node #0,3: 26:[57, 13, 18] Operation: 66-48=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[13, 48, 9], Operations: ['66-57=9']
Exploring Operation: 48-9=39, Resulting Numbers: [13, 39]
Generated Node #0,1,0: 26:[13, 39] Operation: 48-9=39
Exploring Operation: 48-13=35, Resulting Numbers: [9, 35]
Generated Node #0,1,1: 26:[9, 35] Operation: 48-13=35
Exploring Operation: 13-9=4, Resulting Numbers: [48, 4]
Generated Node #0,1,2: 26:[48, 4] Operation: 13-9=4
Exploring Operation: 13+9=22, Resulting Numbers: [48, 22]
Generated Node #0,1,3: 26:[48, 22] Operation: 13+9=22
Moving to Node #0,1,0
Current State: 26:[13, 39], Operations: ['66-57=9', '48-9=39']
Exploring Operation: 13+39=52, Resulting Numbers: [52]
52,26 unequal: No Solution
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[57, 13, 48, 66], Operations: []
Exploring Operation: 66-57=9, Resulting Numbers: [13, 48, 9]
Generated Node #0,1: 26:[13, 48, 9] Operation: 66-57=9
Moving to Node #0,1
Current State: 26:[13, 48, 9], Operations: ['66-57=9']
Exploring Operation: 48-9=39, Resulting Numbers: [13, 39]
Generated Node #0,1,0: 26:[13, 39] Operation: 48-9=39
Moving to Node #0,1,0
Current State: 26:[13, 39], Operations: ['66-57=9', '48-9=39']
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
76,
48,
12,
70
] | 30 | [
"76-48=28",
"12*70=840",
"840/28=30"
] | Current State: 30:[76, 48, 12, 70], Operations: []
Exploring Operation: 76-48=28, Resulting Numbers: [12, 70, 28]
Generated Node #2: [12, 70, 28] from Operation: 76-48=28
Current State: 30:[12, 70, 28], Operations: ['76-48=28']
Exploring Operation: 12*70=840, Resulting Numbers: [28, 840]
Generated Node #3: [28, 840] from Operation: 12*70=840
Current State: 30:[28, 840], Operations: ['76-48=28', '12*70=840']
Exploring Operation: 840/28=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[76, 48, 12, 70], Operations: []
Exploring Operation: 76-70=6, Resulting Numbers: [48, 12, 6]
Generated Node #0,0: 30:[48, 12, 6] Operation: 76-70=6
Exploring Operation: 48/12=4, Resulting Numbers: [76, 70, 4]
Generated Node #0,1: 30:[76, 70, 4] Operation: 48/12=4
Exploring Operation: 76-48=28, Resulting Numbers: [12, 70, 28]
Generated Node #0,2: 30:[12, 70, 28] Operation: 76-48=28
Exploring Operation: 70-48=22, Resulting Numbers: [76, 12, 22]
Generated Node #0,3: 30:[76, 12, 22] Operation: 70-48=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[48, 12, 6], Operations: ['76-70=6']
Exploring Operation: 48/12=4, Resulting Numbers: [6, 4]
Generated Node #0,0,0: 30:[6, 4] Operation: 48/12=4
Exploring Operation: 48/6=8, Resulting Numbers: [12, 8]
Generated Node #0,0,1: 30:[12, 8] Operation: 48/6=8
Exploring Operation: 48-6=42, Resulting Numbers: [12, 42]
Generated Node #0,0,2: 30:[12, 42] Operation: 48-6=42
Exploring Operation: 48-12=36, Resulting Numbers: [6, 36]
Generated Node #0,0,3: 30:[6, 36] Operation: 48-12=36
Moving to Node #0,0,0
Current State: 30:[6, 4], Operations: ['76-70=6', '48/12=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,30 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[12, 8], Operations: ['76-70=6', '48/6=8']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,30 unequal: No Solution
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,30 unequal: No Solution
Moving to Node #0,0,3
Current State: 30:[6, 36], Operations: ['76-70=6', '48-12=36']
Exploring Operation: 6*36=216, Resulting Numbers: [216]
216,30 unequal: No Solution
Exploring Operation: 6+36=42, Resulting Numbers: [42]
42,30 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[76, 48, 12, 70], Operations: []
Exploring Operation: 76-70=6, Resulting Numbers: [48, 12, 6]
Generated Node #0,0: 30:[48, 12, 6] Operation: 76-70=6
Moving to Node #0,0
Current State: 30:[48, 12, 6], Operations: ['76-70=6']
Exploring Operation: 48-12=36, Resulting Numbers: [6, 36]
Generated Node #0,0,3: 30:[6, 36] Operation: 48-12=36
Moving to Node #0,0,3
Current State: 30:[6, 36], Operations: ['76-70=6', '48-12=36']
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
23,
51,
23,
92
] | 47 | [
"23*51=1173",
"1173-92=1081",
"1081/23=47"
] | Current State: 47:[23, 51, 23, 92], Operations: []
Exploring Operation: 23*51=1173, Resulting Numbers: [92, 1173]
Generated Node #2: [92, 1173] from Operation: 23*51=1173
Current State: 47:[92, 1173], Operations: ['23*51=1173']
Exploring Operation: 1173-92=1081, Resulting Numbers: [1081]
1081,47 equal: Goal Reached
Exploring Operation: 1081/23=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[23, 51, 23, 92], Operations: []
Exploring Operation: 92/23=4, Resulting Numbers: [51, 23, 4]
Generated Node #0,0: 47:[51, 23, 4] Operation: 92/23=4
Exploring Operation: 92-51=41, Resulting Numbers: [23, 23, 41]
Generated Node #0,1: 47:[23, 23, 41] Operation: 92-51=41
Exploring Operation: 23+23=46, Resulting Numbers: [51, 92, 46]
Generated Node #0,2: 47:[51, 92, 46] Operation: 23+23=46
Exploring Operation: 92-23=69, Resulting Numbers: [23, 51, 69]
Generated Node #0,3: 47:[23, 51, 69] Operation: 92-23=69
Exploring Operation: 92-23=69, Resulting Numbers: [51, 23, 69]
Generated Node #0,4: 47:[51, 23, 69] Operation: 92-23=69
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[51, 92, 46], Operations: ['23+23=46']
Exploring Operation: 51+46=97, Resulting Numbers: [92, 97]
Generated Node #0,2,0: 47:[92, 97] Operation: 51+46=97
Exploring Operation: 92/46=2, Resulting Numbers: [51, 2]
Generated Node #0,2,1: 47:[51, 2] Operation: 92/46=2
Exploring Operation: 92-46=46, Resulting Numbers: [51, 46]
Generated Node #0,2,2: 47:[51, 46] Operation: 92-46=46
Exploring Operation: 92-51=41, Resulting Numbers: [46, 41]
Generated Node #0,2,3: 47:[46, 41] Operation: 92-51=41
Exploring Operation: 51-46=5, Resulting Numbers: [92, 5]
Generated Node #0,2,4: 47:[92, 5] Operation: 51-46=5
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 47:[51, 46], Operations: ['23+23=46', '92-46=46']
Exploring Operation: 51+46=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Exploring Operation: 51*46=2346, Resulting Numbers: [2346]
2346,47 unequal: No Solution
Exploring Operation: 51-46=5, Resulting Numbers: [5]
5,47 unequal: No Solution
No 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: 47:[46, 41], Operations: ['23+23=46', '92-51=41']
Exploring Operation: 46*41=1886, Resulting Numbers: [1886]
1886,47 unequal: No Solution
Exploring Operation: 46+41=87, Resulting Numbers: [87]
87,47 unequal: No Solution
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,47 unequal: No Solution
No 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: 47:[51, 2], Operations: ['23+23=46', '92/46=2']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,47 unequal: No Solution
Exploring Operation: 51*2=102, Resulting Numbers: [102]
102,47 unequal: No Solution
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,47 unequal: No Solution
No 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: 47:[92, 5], Operations: ['23+23=46', '51-46=5']
Exploring Operation: 92-5=87, Resulting Numbers: [87]
87,47 unequal: No Solution
Exploring Operation: 92+5=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Exploring Operation: 92*5=460, Resulting Numbers: [460]
460,47 unequal: No Solution
No 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: 47:[92, 97], Operations: ['23+23=46', '51+46=97']
Exploring Operation: 92*97=8924, Resulting Numbers: [8924]
8924,47 unequal: No Solution
Exploring Operation: 97-92=5, Resulting Numbers: [5]
5,47 unequal: No Solution
Exploring Operation: 92+97=189, Resulting Numbers: [189]
189,47 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: 47:[23, 51, 69], Operations: ['92-23=69']
Exploring Operation: 23+51=74, Resulting Numbers: [69, 74]
Generated Node #0,3,0: 47:[69, 74] Operation: 23+51=74
Exploring Operation: 69/23=3, Resulting Numbers: [51, 3]
Generated Node #0,3,1: 47:[51, 3] Operation: 69/23=3
Exploring Operation: 69-23=46, Resulting Numbers: [51, 46]
Generated Node #0,3,2: 47:[51, 46] Operation: 69-23=46
Exploring Operation: 23+69=92, Resulting Numbers: [51, 92]
Generated Node #0,3,3: 47:[51, 92] Operation: 23+69=92
Exploring Operation: 51-23=28, Resulting Numbers: [69, 28]
Generated Node #0,3,4: 47:[69, 28] Operation: 51-23=28
Moving to Node #0,3,2
Current State: 47:[51, 46], Operations: ['92-23=69', '69-23=46']
Exploring Operation: 51-46=5, Resulting Numbers: [5]
5,47 unequal: No Solution
Exploring Operation: 51+46=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Exploring Operation: 51*46=2346, Resulting Numbers: [2346]
2346,47 unequal: No Solution
Moving to Node #0,3,4
Current State: 47:[69, 28], Operations: ['92-23=69', '51-23=28']
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 69+28=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Exploring Operation: 69*28=1932, Resulting Numbers: [1932]
1932,47 unequal: No Solution
Moving to Node #0,3,1
Current State: 47:[51, 3], Operations: ['92-23=69', '69/23=3']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 51*3=153, Resulting Numbers: [153]
153,47 unequal: No Solution
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,47 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Moving to Node #0,3,0
Current State: 47:[69, 74], Operations: ['92-23=69', '23+51=74']
Exploring Operation: 74-69=5, Resulting Numbers: [5]
5,47 unequal: No Solution
Exploring Operation: 69*74=5106, Resulting Numbers: [5106]
5106,47 unequal: No Solution
Exploring Operation: 69+74=143, Resulting Numbers: [143]
143,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[51, 92], Operations: ['92-23=69', '23+69=92']
Exploring Operation: 92-51=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 51*92=4692, Resulting Numbers: [4692]
4692,47 unequal: No Solution
Exploring Operation: 51+92=143, Resulting Numbers: [143]
143,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,4
Current State: 47:[51, 23, 69], Operations: ['92-23=69']
Exploring Operation: 51+23=74, Resulting Numbers: [69, 74]
Generated Node #0,4,0: 47:[69, 74] Operation: 51+23=74
Exploring Operation: 69/23=3, Resulting Numbers: [51, 3]
Generated Node #0,4,1: 47:[51, 3] Operation: 69/23=3
Exploring Operation: 51-23=28, Resulting Numbers: [69, 28]
Generated Node #0,4,2: 47:[69, 28] Operation: 51-23=28
Exploring Operation: 23+69=92, Resulting Numbers: [51, 92]
Generated Node #0,4,3: 47:[51, 92] Operation: 23+69=92
Exploring Operation: 69-23=46, Resulting Numbers: [51, 46]
Generated Node #0,4,4: 47:[51, 46] Operation: 69-23=46
Moving to Node #0,4,4
Current State: 47:[51, 46], Operations: ['92-23=69', '69-23=46']
Exploring Operation: 51-46=5, Resulting Numbers: [5]
5,47 unequal: No Solution
Exploring Operation: 51*46=2346, Resulting Numbers: [2346]
2346,47 unequal: No Solution
Exploring Operation: 51+46=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Moving to Node #0,4,2
Current State: 47:[69, 28], Operations: ['92-23=69', '51-23=28']
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 69*28=1932, Resulting Numbers: [1932]
1932,47 unequal: No Solution
Exploring Operation: 69+28=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Moving to Node #0,4,1
Current State: 47:[51, 3], Operations: ['92-23=69', '69/23=3']
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,47 unequal: No Solution
Exploring Operation: 51*3=153, Resulting Numbers: [153]
153,47 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Moving to Node #0,4,0
Current State: 47:[69, 74], Operations: ['92-23=69', '51+23=74']
Exploring Operation: 69+74=143, Resulting Numbers: [143]
143,47 unequal: No Solution
Exploring Operation: 69*74=5106, Resulting Numbers: [5106]
5106,47 unequal: No Solution
Exploring Operation: 74-69=5, Resulting Numbers: [5]
5,47 unequal: No Solution
Moving to Node #0,4,3
Current State: 47:[51, 92], Operations: ['92-23=69', '23+69=92']
Exploring Operation: 92-51=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 51+92=143, Resulting Numbers: [143]
143,47 unequal: No Solution
Exploring Operation: 51*92=4692, Resulting Numbers: [4692]
4692,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[23, 23, 41], Operations: ['92-51=41']
Exploring Operation: 23+23=46, Resulting Numbers: [41, 46]
Generated Node #0,1,0: 47:[41, 46] Operation: 23+23=46
Exploring Operation: 23+41=64, Resulting Numbers: [23, 64]
Generated Node #0,1,1: 47:[23, 64] Operation: 23+41=64
Exploring Operation: 23-23=0, Resulting Numbers: [41, 0]
Generated Node #0,1,2: 47:[41, 0] Operation: 23-23=0
Exploring Operation: 23+41=64, Resulting Numbers: [23, 64]
Generated Node #0,1,3: 47:[23, 64] Operation: 23+41=64
Exploring Operation: 23/23=1, Resulting Numbers: [41, 1]
Generated Node #0,1,4: 47:[41, 1] Operation: 23/23=1
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[41, 46], Operations: ['92-51=41', '23+23=46']
Exploring Operation: 41*46=1886, Resulting Numbers: [1886]
1886,47 unequal: No Solution
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,47 unequal: No Solution
Exploring Operation: 41+46=87, Resulting Numbers: [87]
87,47 unequal: No Solution
No 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: 47:[23, 64], Operations: ['92-51=41', '23+41=64']
Exploring Operation: 64-23=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 23+64=87, Resulting Numbers: [87]
87,47 unequal: No Solution
Exploring Operation: 23*64=1472, Resulting Numbers: [1472]
1472,47 unequal: No Solution
No 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: 47:[23, 64], Operations: ['92-51=41', '23+41=64']
Exploring Operation: 23*64=1472, Resulting Numbers: [1472]
1472,47 unequal: No Solution
Exploring Operation: 64-23=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 23+64=87, Resulting Numbers: [87]
87,47 unequal: No Solution
No 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: 47:[41, 1], Operations: ['92-51=41', '23/23=1']
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,47 unequal: No Solution
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,47 unequal: No Solution
No 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: 47:[41, 0], Operations: ['92-51=41', '23-23=0']
Exploring Operation: 41-0=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 41+0=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 41*0=0, Resulting Numbers: [0]
0,47 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: 47:[51, 23, 4], Operations: ['92/23=4']
Exploring Operation: 51+4=55, Resulting Numbers: [23, 55]
Generated Node #0,0,0: 47:[23, 55] Operation: 51+4=55
Exploring Operation: 23*4=92, Resulting Numbers: [51, 92]
Generated Node #0,0,1: 47:[51, 92] Operation: 23*4=92
Exploring Operation: 23-4=19, Resulting Numbers: [51, 19]
Generated Node #0,0,2: 47:[51, 19] Operation: 23-4=19
Exploring Operation: 23+4=27, Resulting Numbers: [51, 27]
Generated Node #0,0,3: 47:[51, 27] Operation: 23+4=27
Exploring Operation: 51-4=47, Resulting Numbers: [23, 47]
Generated Node #0,0,4: 47:[23, 47] Operation: 51-4=47
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 47:[51, 27], Operations: ['92/23=4', '23+4=27']
Exploring Operation: 51*27=1377, Resulting Numbers: [1377]
1377,47 unequal: No Solution
Exploring Operation: 51-27=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 51+27=78, Resulting Numbers: [78]
78,47 unequal: No Solution
No 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: 47:[23, 47], Operations: ['92/23=4', '51-4=47']
Exploring Operation: 23*47=1081, Resulting Numbers: [1081]
1081,47 unequal: No Solution
Exploring Operation: 23+47=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,47 unequal: No Solution
No 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: 47:[23, 55], Operations: ['92/23=4', '51+4=55']
Exploring Operation: 23+55=78, Resulting Numbers: [78]
78,47 unequal: No Solution
Exploring Operation: 23*55=1265, Resulting Numbers: [1265]
1265,47 unequal: No Solution
Exploring Operation: 55-23=32, Resulting Numbers: [32]
32,47 unequal: No Solution
No 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: 47:[51, 19], Operations: ['92/23=4', '23-4=19']
Exploring Operation: 51*19=969, Resulting Numbers: [969]
969,47 unequal: No Solution
Exploring Operation: 51+19=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,47 unequal: No Solution
No 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: 47:[51, 92], Operations: ['92/23=4', '23*4=92']
Exploring Operation: 51*92=4692, Resulting Numbers: [4692]
4692,47 unequal: No Solution
Exploring Operation: 51+92=143, Resulting Numbers: [143]
143,47 unequal: No Solution
Exploring Operation: 92-51=41, Resulting Numbers: [41]
41,47 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 |
[
27,
19,
23,
10
] | 49 | [
"27*19=513",
"513-23=490",
"490/10=49"
] | Current State: 49:[27, 19, 23, 10], Operations: []
Exploring Operation: 27*19=513, Resulting Numbers: [23, 10, 513]
Generated Node #2: [23, 10, 513] from Operation: 27*19=513
Current State: 49:[23, 10, 513], Operations: ['27*19=513']
Exploring Operation: 513-23=490, Resulting Numbers: [10, 490]
Generated Node #3: [10, 490] from Operation: 513-23=490
Current State: 49:[10, 490], Operations: ['27*19=513', '513-23=490']
Exploring Operation: 490/10=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[27, 19, 23, 10], Operations: []
Exploring Operation: 27+23=50, Resulting Numbers: [19, 10, 50]
Generated Node #0,0: 49:[19, 10, 50] Operation: 27+23=50
Exploring Operation: 23-19=4, Resulting Numbers: [27, 10, 4]
Generated Node #0,1: 49:[27, 10, 4] Operation: 23-19=4
Exploring Operation: 27+19=46, Resulting Numbers: [23, 10, 46]
Generated Node #0,2: 49:[23, 10, 46] Operation: 27+19=46
Exploring Operation: 27-19=8, Resulting Numbers: [23, 10, 8]
Generated Node #0,3: 49:[23, 10, 8] Operation: 27-19=8
Exploring Operation: 27-23=4, Resulting Numbers: [19, 10, 4]
Generated Node #0,4: 49:[19, 10, 4] Operation: 27-23=4
Moving to Node #0,0
Current State: 49:[19, 10, 50], Operations: ['27+23=50']
Exploring Operation: 19+10=29, Resulting Numbers: [50, 29]
Generated Node #0,0,0: 49:[50, 29] Operation: 19+10=29
Exploring Operation: 50-19=31, Resulting Numbers: [10, 31]
Generated Node #0,0,1: 49:[10, 31] Operation: 50-19=31
Exploring Operation: 50-10=40, Resulting Numbers: [19, 40]
Generated Node #0,0,2: 49:[19, 40] Operation: 50-10=40
Exploring Operation: 19-10=9, Resulting Numbers: [50, 9]
Generated Node #0,0,3: 49:[50, 9] Operation: 19-10=9
Exploring Operation: 50/10=5, Resulting Numbers: [19, 5]
Generated Node #0,0,4: 49:[19, 5] Operation: 50/10=5
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 49:[50, 9], Operations: ['27+23=50', '19-10=9']
Exploring Operation: 50*9=450, Resulting Numbers: [450]
450,49 unequal: No Solution
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 50+9=59, Resulting Numbers: [59]
59,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 49:[19, 5], Operations: ['27+23=50', '50/10=5']
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,49 unequal: No Solution
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,49 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[50, 29], Operations: ['27+23=50', '19+10=29']
Exploring Operation: 50-29=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 50*29=1450, Resulting Numbers: [1450]
1450,49 unequal: No Solution
Exploring Operation: 50+29=79, Resulting Numbers: [79]
79,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 49:[10, 31], Operations: ['27+23=50', '50-19=31']
Exploring Operation: 10+31=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 10*31=310, Resulting Numbers: [310]
310,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 49:[19, 40], Operations: ['27+23=50', '50-10=40']
Exploring Operation: 19+40=59, Resulting Numbers: [59]
59,49 unequal: No Solution
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 19*40=760, Resulting Numbers: [760]
760,49 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: 49:[19, 10, 4], Operations: ['27-23=4']
Exploring Operation: 10-4=6, Resulting Numbers: [19, 6]
Generated Node #0,4,0: 49:[19, 6] Operation: 10-4=6
Exploring Operation: 19-4=15, Resulting Numbers: [10, 15]
Generated Node #0,4,1: 49:[10, 15] Operation: 19-4=15
Exploring Operation: 10+4=14, Resulting Numbers: [19, 14]
Generated Node #0,4,2: 49:[19, 14] Operation: 10+4=14
Exploring Operation: 19-10=9, Resulting Numbers: [4, 9]
Generated Node #0,4,3: 49:[4, 9] Operation: 19-10=9
Exploring Operation: 19+4=23, Resulting Numbers: [10, 23]
Generated Node #0,4,4: 49:[10, 23] Operation: 19+4=23
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 49:[4, 9], Operations: ['27-23=4', '19-10=9']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 49:[10, 15], Operations: ['27-23=4', '19-4=15']
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 10*15=150, Resulting Numbers: [150]
150,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 49:[19, 6], Operations: ['27-23=4', '10-4=6']
Exploring Operation: 19*6=114, Resulting Numbers: [114]
114,49 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 49:[19, 14], Operations: ['27-23=4', '10+4=14']
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 19+14=33, Resulting Numbers: [33]
33,49 unequal: No Solution
Exploring Operation: 19*14=266, Resulting Numbers: [266]
266,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 49:[10, 23], Operations: ['27-23=4', '19+4=23']
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Exploring Operation: 10+23=33, Resulting Numbers: [33]
33,49 unequal: No Solution
Exploring Operation: 10*23=230, Resulting Numbers: [230]
230,49 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: 49:[23, 10, 8], Operations: ['27-19=8']
Exploring Operation: 23+10=33, Resulting Numbers: [8, 33]
Generated Node #0,3,0: 49:[8, 33] Operation: 23+10=33
Exploring Operation: 23-10=13, Resulting Numbers: [8, 13]
Generated Node #0,3,1: 49:[8, 13] Operation: 23-10=13
Exploring Operation: 23-8=15, Resulting Numbers: [10, 15]
Generated Node #0,3,2: 49:[10, 15] Operation: 23-8=15
Exploring Operation: 10-8=2, Resulting Numbers: [23, 2]
Generated Node #0,3,3: 49:[23, 2] Operation: 10-8=2
Exploring Operation: 23+8=31, Resulting Numbers: [10, 31]
Generated Node #0,3,4: 49:[10, 31] Operation: 23+8=31
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 49:[8, 13], Operations: ['27-19=8', '23-10=13']
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 8*13=104, Resulting Numbers: [104]
104,49 unequal: No Solution
Exploring Operation: 8+13=21, Resulting Numbers: [21]
21,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 49:[10, 15], Operations: ['27-19=8', '23-8=15']
Exploring Operation: 10*15=150, Resulting Numbers: [150]
150,49 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 49:[8, 33], Operations: ['27-19=8', '23+10=33']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,49 unequal: No Solution
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 49:[23, 2], Operations: ['27-19=8', '10-8=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,49 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 49:[10, 31], Operations: ['27-19=8', '23+8=31']
Exploring Operation: 10+31=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 10*31=310, Resulting Numbers: [310]
310,49 unequal: No Solution
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,49 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: 49:[23, 10, 46], Operations: ['27+19=46']
Exploring Operation: 46/23=2, Resulting Numbers: [10, 2]
Generated Node #0,2,0: 49:[10, 2] Operation: 46/23=2
Exploring Operation: 46-23=23, Resulting Numbers: [10, 23]
Generated Node #0,2,1: 49:[10, 23] Operation: 46-23=23
Exploring Operation: 23+46=69, Resulting Numbers: [10, 69]
Generated Node #0,2,2: 49:[10, 69] Operation: 23+46=69
Exploring Operation: 23+10=33, Resulting Numbers: [46, 33]
Generated Node #0,2,3: 49:[46, 33] Operation: 23+10=33
Exploring Operation: 23-10=13, Resulting Numbers: [46, 13]
Generated Node #0,2,4: 49:[46, 13] Operation: 23-10=13
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 49:[10, 2], Operations: ['27+19=46', '46/23=2']
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 49:[46, 13], Operations: ['27+19=46', '23-10=13']
Exploring Operation: 46*13=598, Resulting Numbers: [598]
598,49 unequal: No Solution
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,49 unequal: No Solution
Exploring Operation: 46+13=59, Resulting Numbers: [59]
59,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 49:[10, 23], Operations: ['27+19=46', '46-23=23']
Exploring Operation: 10*23=230, Resulting Numbers: [230]
230,49 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Exploring Operation: 10+23=33, Resulting Numbers: [33]
33,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 49:[46, 33], Operations: ['27+19=46', '23+10=33']
Exploring Operation: 46-33=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Exploring Operation: 46+33=79, Resulting Numbers: [79]
79,49 unequal: No Solution
Exploring Operation: 46*33=1518, Resulting Numbers: [1518]
1518,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 49:[10, 69], Operations: ['27+19=46', '23+46=69']
Exploring Operation: 10+69=79, Resulting Numbers: [79]
79,49 unequal: No Solution
Exploring Operation: 10*69=690, Resulting Numbers: [690]
690,49 unequal: No Solution
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,49 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: 49:[27, 10, 4], Operations: ['23-19=4']
Exploring Operation: 27-4=23, Resulting Numbers: [10, 23]
Generated Node #0,1,0: 49:[10, 23] Operation: 27-4=23
Exploring Operation: 10-4=6, Resulting Numbers: [27, 6]
Generated Node #0,1,1: 49:[27, 6] Operation: 10-4=6
Exploring Operation: 27+10=37, Resulting Numbers: [4, 37]
Generated Node #0,1,2: 49:[4, 37] Operation: 27+10=37
Exploring Operation: 27-10=17, Resulting Numbers: [4, 17]
Generated Node #0,1,3: 49:[4, 17] Operation: 27-10=17
Exploring Operation: 27+4=31, Resulting Numbers: [10, 31]
Generated Node #0,1,4: 49:[10, 31] Operation: 27+4=31
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 49:[4, 17], Operations: ['23-19=4', '27-10=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,49 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 49:[4, 37], Operations: ['23-19=4', '27+10=37']
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,49 unequal: No Solution
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[10, 23], Operations: ['23-19=4', '27-4=23']
Exploring Operation: 10*23=230, Resulting Numbers: [230]
230,49 unequal: No Solution
Exploring Operation: 10+23=33, Resulting Numbers: [33]
33,49 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[27, 6], Operations: ['23-19=4', '10-4=6']
Exploring Operation: 27*6=162, Resulting Numbers: [162]
162,49 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 49:[10, 31], Operations: ['23-19=4', '27+4=31']
Exploring Operation: 10*31=310, Resulting Numbers: [310]
310,49 unequal: No Solution
Exploring Operation: 10+31=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,49 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 |
[
82,
17,
55,
3
] | 100 | [
"82-17=65",
"55*3=165",
"165-65=100"
] | Current State: 100:[82, 17, 55, 3], Operations: []
Exploring Operation: 82-17=65, Resulting Numbers: [55, 3, 65]
Generated Node #2: [55, 3, 65] from Operation: 82-17=65
Current State: 100:[55, 3, 65], Operations: ['82-17=65']
Exploring Operation: 55*3=165, Resulting Numbers: [65, 165]
Generated Node #3: [65, 165] from Operation: 55*3=165
Current State: 100:[65, 165], Operations: ['82-17=65', '55*3=165']
Exploring Operation: 165-65=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[82, 17, 55, 3], Operations: []
Exploring Operation: 82-55=27, Resulting Numbers: [17, 3, 27]
Generated Node #0,0: 100:[17, 3, 27] Operation: 82-55=27
Exploring Operation: 82+17=99, Resulting Numbers: [55, 3, 99]
Generated Node #0,1: 100:[55, 3, 99] Operation: 82+17=99
Moving to Node #0,0
Current State: 100:[17, 3, 27], Operations: ['82-55=27']
Exploring Operation: 27-17=10, Resulting Numbers: [3, 10]
Generated Node #0,0,0: 100:[3, 10] Operation: 27-17=10
Exploring Operation: 17+3=20, Resulting Numbers: [27, 20]
Generated Node #0,0,1: 100:[27, 20] Operation: 17+3=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[3, 10], Operations: ['82-55=27', '27-17=10']
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,100 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 100:[27, 20], Operations: ['82-55=27', '17+3=20']
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,100 unequal: No Solution
Exploring Operation: 27+20=47, Resulting Numbers: [47]
47,100 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: 100:[55, 3, 99], Operations: ['82+17=99']
Exploring Operation: 55-3=52, Resulting Numbers: [99, 52]
Generated Node #0,1,0: 100:[99, 52] Operation: 55-3=52
Exploring Operation: 99-55=44, Resulting Numbers: [3, 44]
Generated Node #0,1,1: 100:[3, 44] Operation: 99-55=44
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 100:[99, 52], Operations: ['82+17=99', '55-3=52']
Exploring Operation: 99+52=151, Resulting Numbers: [151]
151,100 unequal: No Solution
Exploring Operation: 99-52=47, Resulting Numbers: [47]
47,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 100:[3, 44], Operations: ['82+17=99', '99-55=44']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,100 unequal: No Solution
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,100 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 |
[
91,
28,
40,
17
] | 62 | [
"91+28=119",
"40+17=57",
"119-57=62"
] | Current State: 62:[91, 28, 40, 17], Operations: []
Exploring Operation: 91+28=119, Resulting Numbers: [40, 17, 119]
Generated Node #2: [40, 17, 119] from Operation: 91+28=119
Current State: 62:[40, 17, 119], Operations: ['91+28=119']
Exploring Operation: 40+17=57, Resulting Numbers: [119, 57]
Generated Node #3: [119, 57] from Operation: 40+17=57
Current State: 62:[119, 57], Operations: ['91+28=119', '40+17=57']
Exploring Operation: 119-57=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[91, 28, 40, 17], Operations: []
Exploring Operation: 91-40=51, Resulting Numbers: [28, 17, 51]
Generated Node #0,0: 62:[28, 17, 51] Operation: 91-40=51
Exploring Operation: 91-17=74, Resulting Numbers: [28, 40, 74]
Generated Node #0,1: 62:[28, 40, 74] Operation: 91-17=74
Exploring Operation: 91-28=63, Resulting Numbers: [40, 17, 63]
Generated Node #0,2: 62:[40, 17, 63] Operation: 91-28=63
Exploring Operation: 40+17=57, Resulting Numbers: [91, 28, 57]
Generated Node #0,3: 62:[91, 28, 57] Operation: 40+17=57
Exploring Operation: 40-17=23, Resulting Numbers: [91, 28, 23]
Generated Node #0,4: 62:[91, 28, 23] Operation: 40-17=23
Moving to Node #0,1
Current State: 62:[28, 40, 74], Operations: ['91-17=74']
Exploring Operation: 28+40=68, Resulting Numbers: [74, 68]
Generated Node #0,1,0: 62:[74, 68] Operation: 28+40=68
Exploring Operation: 74-40=34, Resulting Numbers: [28, 34]
Generated Node #0,1,1: 62:[28, 34] Operation: 74-40=34
Exploring Operation: 74-28=46, Resulting Numbers: [40, 46]
Generated Node #0,1,2: 62:[40, 46] Operation: 74-28=46
Exploring Operation: 28+74=102, Resulting Numbers: [40, 102]
Generated Node #0,1,3: 62:[40, 102] Operation: 28+74=102
Exploring Operation: 40-28=12, Resulting Numbers: [74, 12]
Generated Node #0,1,4: 62:[74, 12] Operation: 40-28=12
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[28, 34], Operations: ['91-17=74', '74-40=34']
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,62 unequal: No Solution
Exploring Operation: 28*34=952, Resulting Numbers: [952]
952,62 unequal: No Solution
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[91, 28, 40, 17], Operations: []
Exploring Operation: 91-17=74, Resulting Numbers: [28, 40, 74]
Generated Node #0,1: 62:[28, 40, 74] Operation: 91-17=74
Moving to Node #0,1
Current State: 62:[28, 40, 74], Operations: ['91-17=74']
Exploring Operation: 74-40=34, Resulting Numbers: [28, 34]
Generated Node #0,1,1: 62:[28, 34] Operation: 74-40=34
Moving to Node #0,1,1
Current State: 62:[28, 34], Operations: ['91-17=74', '74-40=34']
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
3,
23,
15,
71
] | 95 | [
"23-15=8",
"3*8=24",
"71+24=95"
] | Current State: 95:[3, 23, 15, 71], Operations: []
Exploring Operation: 23-15=8, Resulting Numbers: [3, 71, 8]
Generated Node #2: [3, 71, 8] from Operation: 23-15=8
Current State: 95:[3, 71, 8], Operations: ['23-15=8']
Exploring Operation: 3*8=24, Resulting Numbers: [71, 24]
Generated Node #3: [71, 24] from Operation: 3*8=24
Current State: 95:[71, 24], Operations: ['23-15=8', '3*8=24']
Exploring Operation: 71+24=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[3, 23, 15, 71], Operations: []
Exploring Operation: 23+71=94, Resulting Numbers: [3, 15, 94]
Generated Node #0,0: 95:[3, 15, 94] Operation: 23+71=94
Moving to Node #0,0
Current State: 95:[3, 15, 94], Operations: ['23+71=94']
Exploring Operation: 15/3=5, Resulting Numbers: [94, 5]
Generated Node #0,0,0: 95:[94, 5] Operation: 15/3=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[94, 5], Operations: ['23+71=94', '15/3=5']
Exploring Operation: 94+5=99, Resulting Numbers: [99]
99,95 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 |
[
49,
76,
68,
78
] | 83 | [
"78-76=2",
"68/2=34",
"49+34=83"
] | Current State: 83:[49, 76, 68, 78], Operations: []
Exploring Operation: 78-76=2, Resulting Numbers: [49, 68, 2]
Generated Node #2: [49, 68, 2] from Operation: 78-76=2
Current State: 83:[49, 68, 2], Operations: ['78-76=2']
Exploring Operation: 68/2=34, Resulting Numbers: [49, 34]
Generated Node #3: [49, 34] from Operation: 68/2=34
Current State: 83:[49, 34], Operations: ['78-76=2', '68/2=34']
Exploring Operation: 49+34=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[49, 76, 68, 78], Operations: []
Exploring Operation: 49+76=125, Resulting Numbers: [68, 78, 125]
Generated Node #0,0: 83:[68, 78, 125] Operation: 49+76=125
Exploring Operation: 49+78=127, Resulting Numbers: [76, 68, 127]
Generated Node #0,1: 83:[76, 68, 127] Operation: 49+78=127
Exploring Operation: 68-49=19, Resulting Numbers: [76, 78, 19]
Generated Node #0,2: 83:[76, 78, 19] Operation: 68-49=19
Exploring Operation: 49+68=117, Resulting Numbers: [76, 78, 117]
Generated Node #0,3: 83:[76, 78, 117] Operation: 49+68=117
Exploring Operation: 76-49=27, Resulting Numbers: [68, 78, 27]
Generated Node #0,4: 83:[68, 78, 27] Operation: 76-49=27
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[76, 78, 117], Operations: ['49+68=117']
Exploring Operation: 76+78=154, Resulting Numbers: [117, 154]
Generated Node #0,3,0: 83:[117, 154] Operation: 76+78=154
Exploring Operation: 76+117=193, Resulting Numbers: [78, 193]
Generated Node #0,3,1: 83:[78, 193] Operation: 76+117=193
Exploring Operation: 78-76=2, Resulting Numbers: [117, 2]
Generated Node #0,3,2: 83:[117, 2] Operation: 78-76=2
Exploring Operation: 117-78=39, Resulting Numbers: [76, 39]
Generated Node #0,3,3: 83:[76, 39] Operation: 117-78=39
Exploring Operation: 117-76=41, Resulting Numbers: [78, 41]
Generated Node #0,3,4: 83:[78, 41] Operation: 117-76=41
Moving to Node #0,3,4
Current State: 83:[78, 41], Operations: ['49+68=117', '117-76=41']
Exploring Operation: 78+41=119, Resulting Numbers: [119]
119,83 unequal: No Solution
Exploring Operation: 78-41=37, Resulting Numbers: [37]
37,83 unequal: No Solution
Exploring Operation: 78*41=3198, Resulting Numbers: [3198]
3198,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[76, 39], Operations: ['49+68=117', '117-78=39']
Exploring Operation: 76-39=37, Resulting Numbers: [37]
37,83 unequal: No Solution
Exploring Operation: 76*39=2964, Resulting Numbers: [2964]
2964,83 unequal: No Solution
Exploring Operation: 76+39=115, Resulting Numbers: [115]
115,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[117, 154], Operations: ['49+68=117', '76+78=154']
Exploring Operation: 154-117=37, Resulting Numbers: [37]
37,83 unequal: No Solution
Exploring Operation: 117*154=18018, Resulting Numbers: [18018]
18018,83 unequal: No Solution
Exploring Operation: 117+154=271, Resulting Numbers: [271]
271,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[78, 193], Operations: ['49+68=117', '76+117=193']
Exploring Operation: 78+193=271, Resulting Numbers: [271]
271,83 unequal: No Solution
Exploring Operation: 78*193=15054, Resulting Numbers: [15054]
15054,83 unequal: No Solution
Exploring Operation: 193-78=115, Resulting Numbers: [115]
115,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[117, 2], Operations: ['49+68=117', '78-76=2']
Exploring Operation: 117*2=234, Resulting Numbers: [234]
234,83 unequal: No Solution
Exploring Operation: 117-2=115, Resulting Numbers: [115]
115,83 unequal: No Solution
Exploring Operation: 117+2=119, Resulting Numbers: [119]
119,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[68, 78, 125], Operations: ['49+76=125']
Exploring Operation: 78-68=10, Resulting Numbers: [125, 10]
Generated Node #0,0,0: 83:[125, 10] Operation: 78-68=10
Exploring Operation: 125-68=57, Resulting Numbers: [78, 57]
Generated Node #0,0,1: 83:[78, 57] Operation: 125-68=57
Exploring Operation: 125-78=47, Resulting Numbers: [68, 47]
Generated Node #0,0,2: 83:[68, 47] Operation: 125-78=47
Exploring Operation: 68+125=193, Resulting Numbers: [78, 193]
Generated Node #0,0,3: 83:[78, 193] Operation: 68+125=193
Exploring Operation: 68+78=146, Resulting Numbers: [125, 146]
Generated Node #0,0,4: 83:[125, 146] Operation: 68+78=146
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[78, 57], Operations: ['49+76=125', '125-68=57']
Exploring Operation: 78*57=4446, Resulting Numbers: [4446]
4446,83 unequal: No Solution
Exploring Operation: 78-57=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 78+57=135, Resulting Numbers: [135]
135,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 83:[68, 47], Operations: ['49+76=125', '125-78=47']
Exploring Operation: 68+47=115, Resulting Numbers: [115]
115,83 unequal: No Solution
Exploring Operation: 68-47=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 68*47=3196, Resulting Numbers: [3196]
3196,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 83:[125, 146], Operations: ['49+76=125', '68+78=146']
Exploring Operation: 125*146=18250, Resulting Numbers: [18250]
18250,83 unequal: No Solution
Exploring Operation: 125+146=271, Resulting Numbers: [271]
271,83 unequal: No Solution
Exploring Operation: 146-125=21, Resulting Numbers: [21]
21,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[125, 10], Operations: ['49+76=125', '78-68=10']
Exploring Operation: 125+10=135, Resulting Numbers: [135]
135,83 unequal: No Solution
Exploring Operation: 125*10=1250, Resulting Numbers: [1250]
1250,83 unequal: No Solution
Exploring Operation: 125-10=115, Resulting Numbers: [115]
115,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 83:[78, 193], Operations: ['49+76=125', '68+125=193']
Exploring Operation: 78*193=15054, Resulting Numbers: [15054]
15054,83 unequal: No Solution
Exploring Operation: 78+193=271, Resulting Numbers: [271]
271,83 unequal: No Solution
Exploring Operation: 193-78=115, Resulting Numbers: [115]
115,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[76, 68, 127], Operations: ['49+78=127']
Exploring Operation: 76+68=144, Resulting Numbers: [127, 144]
Generated Node #0,1,0: 83:[127, 144] Operation: 76+68=144
Exploring Operation: 76-68=8, Resulting Numbers: [127, 8]
Generated Node #0,1,1: 83:[127, 8] Operation: 76-68=8
Exploring Operation: 68+127=195, Resulting Numbers: [76, 195]
Generated Node #0,1,2: 83:[76, 195] Operation: 68+127=195
Exploring Operation: 127-68=59, Resulting Numbers: [76, 59]
Generated Node #0,1,3: 83:[76, 59] Operation: 127-68=59
Exploring Operation: 127-76=51, Resulting Numbers: [68, 51]
Generated Node #0,1,4: 83:[68, 51] Operation: 127-76=51
Moving to Node #0,1,3
Current State: 83:[76, 59], Operations: ['49+78=127', '127-68=59']
Exploring Operation: 76*59=4484, Resulting Numbers: [4484]
4484,83 unequal: No Solution
Exploring Operation: 76-59=17, Resulting Numbers: [17]
17,83 unequal: No Solution
Exploring Operation: 76+59=135, Resulting Numbers: [135]
135,83 unequal: No Solution
Moving to Node #0,1,4
Current State: 83:[68, 51], Operations: ['49+78=127', '127-76=51']
Exploring Operation: 68+51=119, Resulting Numbers: [119]
119,83 unequal: No Solution
Exploring Operation: 68*51=3468, Resulting Numbers: [3468]
3468,83 unequal: No Solution
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[127, 144], Operations: ['49+78=127', '76+68=144']
Exploring Operation: 127*144=18288, Resulting Numbers: [18288]
18288,83 unequal: No Solution
Exploring Operation: 127+144=271, Resulting Numbers: [271]
271,83 unequal: No Solution
Exploring Operation: 144-127=17, Resulting Numbers: [17]
17,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[127, 8], Operations: ['49+78=127', '76-68=8']
Exploring Operation: 127*8=1016, Resulting Numbers: [1016]
1016,83 unequal: No Solution
Exploring Operation: 127-8=119, Resulting Numbers: [119]
119,83 unequal: No Solution
Exploring Operation: 127+8=135, Resulting Numbers: [135]
135,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[76, 195], Operations: ['49+78=127', '68+127=195']
Exploring Operation: 195-76=119, Resulting Numbers: [119]
119,83 unequal: No Solution
Exploring Operation: 76+195=271, Resulting Numbers: [271]
271,83 unequal: No Solution
Exploring Operation: 76*195=14820, Resulting Numbers: [14820]
14820,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[76, 78, 19], Operations: ['68-49=19']
Exploring Operation: 78-19=59, Resulting Numbers: [76, 59]
Generated Node #0,2,0: 83:[76, 59] Operation: 78-19=59
Exploring Operation: 76-19=57, Resulting Numbers: [78, 57]
Generated Node #0,2,1: 83:[78, 57] Operation: 76-19=57
Exploring Operation: 78+19=97, Resulting Numbers: [76, 97]
Generated Node #0,2,2: 83:[76, 97] Operation: 78+19=97
Exploring Operation: 76+19=95, Resulting Numbers: [78, 95]
Generated Node #0,2,3: 83:[78, 95] Operation: 76+19=95
Exploring Operation: 76/19=4, Resulting Numbers: [78, 4]
Generated Node #0,2,4: 83:[78, 4] Operation: 76/19=4
Moving to Node #0,2,3
Current State: 83:[78, 95], Operations: ['68-49=19', '76+19=95']
Exploring Operation: 95-78=17, Resulting Numbers: [17]
17,83 unequal: No Solution
Exploring Operation: 78*95=7410, Resulting Numbers: [7410]
7410,83 unequal: No Solution
Exploring Operation: 78+95=173, Resulting Numbers: [173]
173,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[76, 97], Operations: ['68-49=19', '78+19=97']
Exploring Operation: 76+97=173, Resulting Numbers: [173]
173,83 unequal: No Solution
Exploring Operation: 97-76=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 76*97=7372, Resulting Numbers: [7372]
7372,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[76, 59], Operations: ['68-49=19', '78-19=59']
Exploring Operation: 76*59=4484, Resulting Numbers: [4484]
4484,83 unequal: No Solution
Exploring Operation: 76-59=17, Resulting Numbers: [17]
17,83 unequal: No Solution
Exploring Operation: 76+59=135, Resulting Numbers: [135]
135,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[78, 57], Operations: ['68-49=19', '76-19=57']
Exploring Operation: 78*57=4446, Resulting Numbers: [4446]
4446,83 unequal: No Solution
Exploring Operation: 78-57=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 78+57=135, Resulting Numbers: [135]
135,83 unequal: No Solution
Moving to Node #0,2,4
Current State: 83:[78, 4], Operations: ['68-49=19', '76/19=4']
Exploring Operation: 78*4=312, Resulting Numbers: [312]
312,83 unequal: No Solution
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,83 unequal: No Solution
Exploring Operation: 78+4=82, Resulting Numbers: [82]
82,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 83:[68, 78, 27], Operations: ['76-49=27']
Exploring Operation: 68+27=95, Resulting Numbers: [78, 95]
Generated Node #0,4,0: 83:[78, 95] Operation: 68+27=95
Exploring Operation: 78-27=51, Resulting Numbers: [68, 51]
Generated Node #0,4,1: 83:[68, 51] Operation: 78-27=51
Exploring Operation: 68-27=41, Resulting Numbers: [78, 41]
Generated Node #0,4,2: 83:[78, 41] Operation: 68-27=41
Exploring Operation: 68+78=146, Resulting Numbers: [27, 146]
Generated Node #0,4,3: 83:[27, 146] Operation: 68+78=146
Exploring Operation: 78+27=105, Resulting Numbers: [68, 105]
Generated Node #0,4,4: 83:[68, 105] Operation: 78+27=105
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 83:[78, 95], Operations: ['76-49=27', '68+27=95']
Exploring Operation: 95-78=17, Resulting Numbers: [17]
17,83 unequal: No Solution
Exploring Operation: 78*95=7410, Resulting Numbers: [7410]
7410,83 unequal: No Solution
Exploring Operation: 78+95=173, Resulting Numbers: [173]
173,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 83:[68, 105], Operations: ['76-49=27', '78+27=105']
Exploring Operation: 68+105=173, Resulting Numbers: [173]
173,83 unequal: No Solution
Exploring Operation: 68*105=7140, Resulting Numbers: [7140]
7140,83 unequal: No Solution
Exploring Operation: 105-68=37, Resulting Numbers: [37]
37,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 83:[68, 51], Operations: ['76-49=27', '78-27=51']
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,83 unequal: No Solution
Exploring Operation: 68+51=119, Resulting Numbers: [119]
119,83 unequal: No Solution
Exploring Operation: 68*51=3468, Resulting Numbers: [3468]
3468,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 83:[78, 41], Operations: ['76-49=27', '68-27=41']
Exploring Operation: 78-41=37, Resulting Numbers: [37]
37,83 unequal: No Solution
Exploring Operation: 78+41=119, Resulting Numbers: [119]
119,83 unequal: No Solution
Exploring Operation: 78*41=3198, Resulting Numbers: [3198]
3198,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 83:[27, 146], Operations: ['76-49=27', '68+78=146']
Exploring Operation: 146-27=119, Resulting Numbers: [119]
119,83 unequal: No Solution
Exploring Operation: 27+146=173, Resulting Numbers: [173]
173,83 unequal: No Solution
Exploring Operation: 27*146=3942, Resulting Numbers: [3942]
3942,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
31,
53,
8,
90
] | 29 | [
"53-8=45",
"90/45=2",
"31-2=29"
] | Current State: 29:[31, 53, 8, 90], Operations: []
Exploring Operation: 53-8=45, Resulting Numbers: [31, 90, 45]
Generated Node #2: [31, 90, 45] from Operation: 53-8=45
Current State: 29:[31, 90, 45], Operations: ['53-8=45']
Exploring Operation: 90/45=2, Resulting Numbers: [31, 2]
Generated Node #3: [31, 2] from Operation: 90/45=2
Current State: 29:[31, 2], Operations: ['53-8=45', '90/45=2']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[31, 53, 8, 90], Operations: []
Exploring Operation: 90-8=82, Resulting Numbers: [31, 53, 82]
Generated Node #0,0: 29:[31, 53, 82] Operation: 90-8=82
Exploring Operation: 53-31=22, Resulting Numbers: [8, 90, 22]
Generated Node #0,1: 29:[8, 90, 22] Operation: 53-31=22
Exploring Operation: 90-53=37, Resulting Numbers: [31, 8, 37]
Generated Node #0,2: 29:[31, 8, 37] Operation: 90-53=37
Exploring Operation: 53-8=45, Resulting Numbers: [31, 90, 45]
Generated Node #0,3: 29:[31, 90, 45] Operation: 53-8=45
Exploring Operation: 90-31=59, Resulting Numbers: [53, 8, 59]
Generated Node #0,4: 29:[53, 8, 59] Operation: 90-31=59
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[31, 8, 37], Operations: ['90-53=37']
Exploring Operation: 37-8=29, Resulting Numbers: [31, 29]
Generated Node #0,2,0: 29:[31, 29] Operation: 37-8=29
Exploring Operation: 31+8=39, Resulting Numbers: [37, 39]
Generated Node #0,2,1: 29:[37, 39] Operation: 31+8=39
Exploring Operation: 8+37=45, Resulting Numbers: [31, 45]
Generated Node #0,2,2: 29:[31, 45] Operation: 8+37=45
Exploring Operation: 37-31=6, Resulting Numbers: [8, 6]
Generated Node #0,2,3: 29:[8, 6] Operation: 37-31=6
Exploring Operation: 31-8=23, Resulting Numbers: [37, 23]
Generated Node #0,2,4: 29:[37, 23] Operation: 31-8=23
Moving to Node #0,2,0
Current State: 29:[31, 29], Operations: ['90-53=37', '37-8=29']
Exploring Operation: 31+29=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 31*29=899, Resulting Numbers: [899]
899,29 unequal: No Solution
Moving to Node #0,2,4
Current State: 29:[37, 23], Operations: ['90-53=37', '31-8=23']
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 37+23=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 37*23=851, Resulting Numbers: [851]
851,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[37, 39], Operations: ['90-53=37', '31+8=39']
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 37+39=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 37*39=1443, Resulting Numbers: [1443]
1443,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[31, 45], Operations: ['90-53=37', '8+37=45']
Exploring Operation: 31*45=1395, Resulting Numbers: [1395]
1395,29 unequal: No Solution
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 31+45=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Moving to Node #0,2,3
Current State: 29:[8, 6], Operations: ['90-53=37', '37-31=6']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 29:[53, 8, 59], Operations: ['90-31=59']
Exploring Operation: 59-53=6, Resulting Numbers: [8, 6]
Generated Node #0,4,0: 29:[8, 6] Operation: 59-53=6
Exploring Operation: 53-8=45, Resulting Numbers: [59, 45]
Generated Node #0,4,1: 29:[59, 45] Operation: 53-8=45
Exploring Operation: 53+8=61, Resulting Numbers: [59, 61]
Generated Node #0,4,2: 29:[59, 61] Operation: 53+8=61
Exploring Operation: 59-8=51, Resulting Numbers: [53, 51]
Generated Node #0,4,3: 29:[53, 51] Operation: 59-8=51
Exploring Operation: 8+59=67, Resulting Numbers: [53, 67]
Generated Node #0,4,4: 29:[53, 67] Operation: 8+59=67
Moving to Node #0,4,0
Current State: 29:[8, 6], Operations: ['90-31=59', '59-53=6']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Moving to Node #0,4,3
Current State: 29:[53, 51], Operations: ['90-31=59', '59-8=51']
Exploring Operation: 53+51=104, Resulting Numbers: [104]
104,29 unequal: No Solution
Exploring Operation: 53-51=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 53*51=2703, Resulting Numbers: [2703]
2703,29 unequal: No Solution
Moving to Node #0,4,1
Current State: 29:[59, 45], Operations: ['90-31=59', '53-8=45']
Exploring Operation: 59*45=2655, Resulting Numbers: [2655]
2655,29 unequal: No Solution
Exploring Operation: 59-45=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 59+45=104, Resulting Numbers: [104]
104,29 unequal: No Solution
Moving to Node #0,4,2
Current State: 29:[59, 61], Operations: ['90-31=59', '53+8=61']
Exploring Operation: 59*61=3599, Resulting Numbers: [3599]
3599,29 unequal: No Solution
Exploring Operation: 61-59=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 59+61=120, Resulting Numbers: [120]
120,29 unequal: No Solution
Moving to Node #0,4,4
Current State: 29:[53, 67], Operations: ['90-31=59', '8+59=67']
Exploring Operation: 53+67=120, Resulting Numbers: [120]
120,29 unequal: No Solution
Exploring Operation: 53*67=3551, Resulting Numbers: [3551]
3551,29 unequal: No Solution
Exploring Operation: 67-53=14, Resulting Numbers: [14]
14,29 unequal: No Solution
No 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: 29:[31, 53, 82], Operations: ['90-8=82']
Exploring Operation: 53-31=22, Resulting Numbers: [82, 22]
Generated Node #0,0,0: 29:[82, 22] Operation: 53-31=22
Exploring Operation: 82-31=51, Resulting Numbers: [53, 51]
Generated Node #0,0,1: 29:[53, 51] Operation: 82-31=51
Exploring Operation: 31+82=113, Resulting Numbers: [53, 113]
Generated Node #0,0,2: 29:[53, 113] Operation: 31+82=113
Exploring Operation: 82-53=29, Resulting Numbers: [31, 29]
Generated Node #0,0,3: 29:[31, 29] Operation: 82-53=29
Exploring Operation: 31+53=84, Resulting Numbers: [82, 84]
Generated Node #0,0,4: 29:[82, 84] Operation: 31+53=84
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 29:[31, 29], Operations: ['90-8=82', '82-53=29']
Exploring Operation: 31+29=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 31*29=899, Resulting Numbers: [899]
899,29 unequal: No Solution
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[53, 51], Operations: ['90-8=82', '82-31=51']
Exploring Operation: 53+51=104, Resulting Numbers: [104]
104,29 unequal: No Solution
Exploring Operation: 53*51=2703, Resulting Numbers: [2703]
2703,29 unequal: No Solution
Exploring Operation: 53-51=2, Resulting Numbers: [2]
2,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[82, 22], Operations: ['90-8=82', '53-31=22']
Exploring Operation: 82+22=104, Resulting Numbers: [104]
104,29 unequal: No Solution
Exploring Operation: 82*22=1804, Resulting Numbers: [1804]
1804,29 unequal: No Solution
Exploring Operation: 82-22=60, Resulting Numbers: [60]
60,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 29:[53, 113], Operations: ['90-8=82', '31+82=113']
Exploring Operation: 53+113=166, Resulting Numbers: [166]
166,29 unequal: No Solution
Exploring Operation: 53*113=5989, Resulting Numbers: [5989]
5989,29 unequal: No Solution
Exploring Operation: 113-53=60, Resulting Numbers: [60]
60,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 29:[82, 84], Operations: ['90-8=82', '31+53=84']
Exploring Operation: 82*84=6888, Resulting Numbers: [6888]
6888,29 unequal: No Solution
Exploring Operation: 82+84=166, Resulting Numbers: [166]
166,29 unequal: No Solution
Exploring Operation: 84-82=2, Resulting Numbers: [2]
2,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 29:[31, 90, 45], Operations: ['53-8=45']
Exploring Operation: 90-31=59, Resulting Numbers: [45, 59]
Generated Node #0,3,0: 29:[45, 59] Operation: 90-31=59
Exploring Operation: 45-31=14, Resulting Numbers: [90, 14]
Generated Node #0,3,1: 29:[90, 14] Operation: 45-31=14
Exploring Operation: 90-45=45, Resulting Numbers: [31, 45]
Generated Node #0,3,2: 29:[31, 45] Operation: 90-45=45
Exploring Operation: 31+90=121, Resulting Numbers: [45, 121]
Generated Node #0,3,3: 29:[45, 121] Operation: 31+90=121
Exploring Operation: 90/45=2, Resulting Numbers: [31, 2]
Generated Node #0,3,4: 29:[31, 2] Operation: 90/45=2
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 29:[31, 45], Operations: ['53-8=45', '90-45=45']
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 31*45=1395, Resulting Numbers: [1395]
1395,29 unequal: No Solution
Exploring Operation: 31+45=76, Resulting Numbers: [76]
76,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 29:[31, 2], Operations: ['53-8=45', '90/45=2']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[31, 53, 8, 90], Operations: []
Exploring Operation: 53-8=45, Resulting Numbers: [31, 90, 45]
Generated Node #0,3: 29:[31, 90, 45] Operation: 53-8=45
Moving to Node #0,3
Current State: 29:[31, 90, 45], Operations: ['53-8=45']
Exploring Operation: 90/45=2, Resulting Numbers: [31, 2]
Generated Node #0,3,4: 29:[31, 2] Operation: 90/45=2
Moving to Node #0,3,4
Current State: 29:[31, 2], Operations: ['53-8=45', '90/45=2']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.932292 | hs_5 | mult_heuristic |
[
58,
2,
18,
79
] | 99 | [
"58-18=40",
"40/2=20",
"79+20=99"
] | Current State: 99:[58, 2, 18, 79], Operations: []
Exploring Operation: 58-18=40, Resulting Numbers: [2, 79, 40]
Generated Node #2: [2, 79, 40] from Operation: 58-18=40
Current State: 99:[2, 79, 40], Operations: ['58-18=40']
Exploring Operation: 40/2=20, Resulting Numbers: [79, 20]
Generated Node #3: [79, 20] from Operation: 40/2=20
Current State: 99:[79, 20], Operations: ['58-18=40', '40/2=20']
Exploring Operation: 79+20=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[58, 2, 18, 79], Operations: []
Exploring Operation: 18+79=97, Resulting Numbers: [58, 2, 97]
Generated Node #0,0: 99:[58, 2, 97] Operation: 18+79=97
Exploring Operation: 58/2=29, Resulting Numbers: [18, 79, 29]
Generated Node #0,1: 99:[18, 79, 29] Operation: 58/2=29
Exploring Operation: 58*2=116, Resulting Numbers: [18, 79, 116]
Generated Node #0,2: 99:[18, 79, 116] Operation: 58*2=116
Exploring Operation: 79-58=21, Resulting Numbers: [2, 18, 21]
Generated Node #0,3: 99:[2, 18, 21] Operation: 79-58=21
Exploring Operation: 58-18=40, Resulting Numbers: [2, 79, 40]
Generated Node #0,4: 99:[2, 79, 40] Operation: 58-18=40
Start Sub Search at level 1: Moving to Node #0,3
Current State: 99:[2, 18, 21], Operations: ['79-58=21']
Exploring Operation: 21-18=3, Resulting Numbers: [2, 3]
Generated Node #0,3,0: 99:[2, 3] Operation: 21-18=3
Exploring Operation: 18+21=39, Resulting Numbers: [2, 39]
Generated Node #0,3,1: 99:[2, 39] Operation: 18+21=39
Exploring Operation: 2*18=36, Resulting Numbers: [21, 36]
Generated Node #0,3,2: 99:[21, 36] Operation: 2*18=36
Exploring Operation: 18-2=16, Resulting Numbers: [21, 16]
Generated Node #0,3,3: 99:[21, 16] Operation: 18-2=16
Exploring Operation: 18/2=9, Resulting Numbers: [21, 9]
Generated Node #0,3,4: 99:[21, 9] Operation: 18/2=9
Moving to Node #0,3,0
Current State: 99:[2, 3], Operations: ['79-58=21', '21-18=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,99 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Moving to Node #0,3,1
Current State: 99:[2, 39], Operations: ['79-58=21', '18+21=39']
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,99 unequal: No Solution
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,99 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Moving to Node #0,3,4
Current State: 99:[21, 9], Operations: ['79-58=21', '18/2=9']
Exploring Operation: 21*9=189, Resulting Numbers: [189]
189,99 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,99 unequal: No Solution
Moving to Node #0,3,2
Current State: 99:[21, 36], Operations: ['79-58=21', '2*18=36']
Exploring Operation: 21+36=57, Resulting Numbers: [57]
57,99 unequal: No Solution
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,99 unequal: No Solution
Exploring Operation: 21*36=756, Resulting Numbers: [756]
756,99 unequal: No Solution
Moving to Node #0,3,3
Current State: 99:[21, 16], Operations: ['79-58=21', '18-2=16']
Exploring Operation: 21+16=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,99 unequal: No Solution
Exploring Operation: 21*16=336, Resulting Numbers: [336]
336,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[58, 2, 97], Operations: ['18+79=97']
Exploring Operation: 58*2=116, Resulting Numbers: [97, 116]
Generated Node #0,0,0: 99:[97, 116] Operation: 58*2=116
Exploring Operation: 2+97=99, Resulting Numbers: [58, 99]
Generated Node #0,0,1: 99:[58, 99] Operation: 2+97=99
Exploring Operation: 97-58=39, Resulting Numbers: [2, 39]
Generated Node #0,0,2: 99:[2, 39] Operation: 97-58=39
Exploring Operation: 58-2=56, Resulting Numbers: [97, 56]
Generated Node #0,0,3: 99:[97, 56] Operation: 58-2=56
Exploring Operation: 58/2=29, Resulting Numbers: [97, 29]
Generated Node #0,0,4: 99:[97, 29] Operation: 58/2=29
Moving to Node #0,0,4
Current State: 99:[97, 29], Operations: ['18+79=97', '58/2=29']
Exploring Operation: 97*29=2813, Resulting Numbers: [2813]
2813,99 unequal: No Solution
Exploring Operation: 97+29=126, Resulting Numbers: [126]
126,99 unequal: No Solution
Exploring Operation: 97-29=68, Resulting Numbers: [68]
68,99 unequal: No Solution
Moving to Node #0,0,2
Current State: 99:[2, 39], Operations: ['18+79=97', '97-58=39']
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,99 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[97, 116], Operations: ['18+79=97', '58*2=116']
Exploring Operation: 116-97=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 97+116=213, Resulting Numbers: [213]
213,99 unequal: No Solution
Exploring Operation: 97*116=11252, Resulting Numbers: [11252]
11252,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[58, 99], Operations: ['18+79=97', '2+97=99']
Exploring Operation: 58*99=5742, Resulting Numbers: [5742]
5742,99 unequal: No Solution
Exploring Operation: 58+99=157, Resulting Numbers: [157]
157,99 unequal: No Solution
Exploring Operation: 99-58=41, Resulting Numbers: [41]
41,99 unequal: No Solution
Moving to Node #0,0,3
Current State: 99:[97, 56], Operations: ['18+79=97', '58-2=56']
Exploring Operation: 97*56=5432, Resulting Numbers: [5432]
5432,99 unequal: No Solution
Exploring Operation: 97+56=153, Resulting Numbers: [153]
153,99 unequal: No Solution
Exploring Operation: 97-56=41, Resulting Numbers: [41]
41,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 99:[2, 79, 40], Operations: ['58-18=40']
Exploring Operation: 2+79=81, Resulting Numbers: [40, 81]
Generated Node #0,4,0: 99:[40, 81] Operation: 2+79=81
Exploring Operation: 79-2=77, Resulting Numbers: [40, 77]
Generated Node #0,4,1: 99:[40, 77] Operation: 79-2=77
Exploring Operation: 40-2=38, Resulting Numbers: [79, 38]
Generated Node #0,4,2: 99:[79, 38] Operation: 40-2=38
Exploring Operation: 79+40=119, Resulting Numbers: [2, 119]
Generated Node #0,4,3: 99:[2, 119] Operation: 79+40=119
Exploring Operation: 79-40=39, Resulting Numbers: [2, 39]
Generated Node #0,4,4: 99:[2, 39] Operation: 79-40=39
Moving to Node #0,4,4
Current State: 99:[2, 39], Operations: ['58-18=40', '79-40=39']
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,99 unequal: No Solution
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,99 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Moving to Node #0,4,3
Current State: 99:[2, 119], Operations: ['58-18=40', '79+40=119']
Exploring Operation: 2+119=121, Resulting Numbers: [121]
121,99 unequal: No Solution
Exploring Operation: 2*119=238, Resulting Numbers: [238]
238,99 unequal: No Solution
Exploring Operation: 119-2=117, Resulting Numbers: [117]
117,99 unequal: No Solution
Moving to Node #0,4,0
Current State: 99:[40, 81], Operations: ['58-18=40', '2+79=81']
Exploring Operation: 40+81=121, Resulting Numbers: [121]
121,99 unequal: No Solution
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,99 unequal: No Solution
Exploring Operation: 40*81=3240, Resulting Numbers: [3240]
3240,99 unequal: No Solution
Moving to Node #0,4,2
Current State: 99:[79, 38], Operations: ['58-18=40', '40-2=38']
Exploring Operation: 79*38=3002, Resulting Numbers: [3002]
3002,99 unequal: No Solution
Exploring Operation: 79+38=117, Resulting Numbers: [117]
117,99 unequal: No Solution
Exploring Operation: 79-38=41, Resulting Numbers: [41]
41,99 unequal: No Solution
Moving to Node #0,4,1
Current State: 99:[40, 77], Operations: ['58-18=40', '79-2=77']
Exploring Operation: 40*77=3080, Resulting Numbers: [3080]
3080,99 unequal: No Solution
Exploring Operation: 77-40=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 40+77=117, Resulting Numbers: [117]
117,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[18, 79, 29], Operations: ['58/2=29']
Exploring Operation: 18+79=97, Resulting Numbers: [29, 97]
Generated Node #0,1,0: 99:[29, 97] Operation: 18+79=97
Exploring Operation: 79+29=108, Resulting Numbers: [18, 108]
Generated Node #0,1,1: 99:[18, 108] Operation: 79+29=108
Exploring Operation: 29-18=11, Resulting Numbers: [79, 11]
Generated Node #0,1,2: 99:[79, 11] Operation: 29-18=11
Exploring Operation: 79-18=61, Resulting Numbers: [29, 61]
Generated Node #0,1,3: 99:[29, 61] Operation: 79-18=61
Exploring Operation: 79-29=50, Resulting Numbers: [18, 50]
Generated Node #0,1,4: 99:[18, 50] Operation: 79-29=50
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 99:[29, 97], Operations: ['58/2=29', '18+79=97']
Exploring Operation: 97-29=68, Resulting Numbers: [68]
68,99 unequal: No Solution
Exploring Operation: 29+97=126, Resulting Numbers: [126]
126,99 unequal: No Solution
Exploring Operation: 29*97=2813, Resulting Numbers: [2813]
2813,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 99:[18, 108], Operations: ['58/2=29', '79+29=108']
Exploring Operation: 18*108=1944, Resulting Numbers: [1944]
1944,99 unequal: No Solution
Exploring Operation: 108/18=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Exploring Operation: 108-18=90, Resulting Numbers: [90]
90,99 unequal: No Solution
Exploring Operation: 18+108=126, Resulting Numbers: [126]
126,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 99:[79, 11], Operations: ['58/2=29', '29-18=11']
Exploring Operation: 79*11=869, Resulting Numbers: [869]
869,99 unequal: No Solution
Exploring Operation: 79-11=68, Resulting Numbers: [68]
68,99 unequal: No Solution
Exploring Operation: 79+11=90, Resulting Numbers: [90]
90,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 99:[18, 50], Operations: ['58/2=29', '79-29=50']
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,99 unequal: No Solution
Exploring Operation: 18+50=68, Resulting Numbers: [68]
68,99 unequal: No Solution
Exploring Operation: 18*50=900, Resulting Numbers: [900]
900,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 99:[29, 61], Operations: ['58/2=29', '79-18=61']
Exploring Operation: 29*61=1769, Resulting Numbers: [1769]
1769,99 unequal: No Solution
Exploring Operation: 29+61=90, Resulting Numbers: [90]
90,99 unequal: No Solution
Exploring Operation: 61-29=32, Resulting Numbers: [32]
32,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[18, 79, 116], Operations: ['58*2=116']
Exploring Operation: 18+79=97, Resulting Numbers: [116, 97]
Generated Node #0,2,0: 99:[116, 97] Operation: 18+79=97
Exploring Operation: 116-79=37, Resulting Numbers: [18, 37]
Generated Node #0,2,1: 99:[18, 37] Operation: 116-79=37
Exploring Operation: 79-18=61, Resulting Numbers: [116, 61]
Generated Node #0,2,2: 99:[116, 61] Operation: 79-18=61
Exploring Operation: 18+116=134, Resulting Numbers: [79, 134]
Generated Node #0,2,3: 99:[79, 134] Operation: 18+116=134
Exploring Operation: 116-18=98, Resulting Numbers: [79, 98]
Generated Node #0,2,4: 99:[79, 98] Operation: 116-18=98
Moving to Node #0,2,1
Current State: 99:[18, 37], Operations: ['58*2=116', '116-79=37']
Exploring Operation: 18*37=666, Resulting Numbers: [666]
666,99 unequal: No Solution
Exploring Operation: 18+37=55, Resulting Numbers: [55]
55,99 unequal: No Solution
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Moving to Node #0,2,0
Current State: 99:[116, 97], Operations: ['58*2=116', '18+79=97']
Exploring Operation: 116*97=11252, Resulting Numbers: [11252]
11252,99 unequal: No Solution
Exploring Operation: 116+97=213, Resulting Numbers: [213]
213,99 unequal: No Solution
Exploring Operation: 116-97=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Moving to Node #0,2,4
Current State: 99:[79, 98], Operations: ['58*2=116', '116-18=98']
Exploring Operation: 98-79=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 79+98=177, Resulting Numbers: [177]
177,99 unequal: No Solution
Exploring Operation: 79*98=7742, Resulting Numbers: [7742]
7742,99 unequal: No Solution
Moving to Node #0,2,2
Current State: 99:[116, 61], Operations: ['58*2=116', '79-18=61']
Exploring Operation: 116+61=177, Resulting Numbers: [177]
177,99 unequal: No Solution
Exploring Operation: 116-61=55, Resulting Numbers: [55]
55,99 unequal: No Solution
Exploring Operation: 116*61=7076, Resulting Numbers: [7076]
7076,99 unequal: No Solution
Moving to Node #0,2,3
Current State: 99:[79, 134], Operations: ['58*2=116', '18+116=134']
Exploring Operation: 79*134=10586, Resulting Numbers: [10586]
10586,99 unequal: No Solution
Exploring Operation: 134-79=55, Resulting Numbers: [55]
55,99 unequal: No Solution
Exploring Operation: 79+134=213, Resulting Numbers: [213]
213,99 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 |
[
52,
64,
91,
71
] | 65 | [
"71-64=7",
"91/7=13",
"52+13=65"
] | Current State: 65:[52, 64, 91, 71], Operations: []
Exploring Operation: 71-64=7, Resulting Numbers: [52, 91, 7]
Generated Node #2: [52, 91, 7] from Operation: 71-64=7
Current State: 65:[52, 91, 7], Operations: ['71-64=7']
Exploring Operation: 91/7=13, Resulting Numbers: [52, 13]
Generated Node #3: [52, 13] from Operation: 91/7=13
Current State: 65:[52, 13], Operations: ['71-64=7', '91/7=13']
Exploring Operation: 52+13=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[52, 64, 91, 71], Operations: []
Exploring Operation: 91-71=20, Resulting Numbers: [52, 64, 20]
Generated Node #0,0: 65:[52, 64, 20] Operation: 91-71=20
Exploring Operation: 64-52=12, Resulting Numbers: [91, 71, 12]
Generated Node #0,1: 65:[91, 71, 12] Operation: 64-52=12
Exploring Operation: 91-52=39, Resulting Numbers: [64, 71, 39]
Generated Node #0,2: 65:[64, 71, 39] Operation: 91-52=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[52, 64, 20], Operations: ['91-71=20']
Exploring Operation: 64-52=12, Resulting Numbers: [20, 12]
Generated Node #0,0,0: 65:[20, 12] Operation: 64-52=12
Exploring Operation: 52-20=32, Resulting Numbers: [64, 32]
Generated Node #0,0,1: 65:[64, 32] Operation: 52-20=32
Exploring Operation: 52+20=72, Resulting Numbers: [64, 72]
Generated Node #0,0,2: 65:[64, 72] Operation: 52+20=72
Moving to Node #0,0,0
Current State: 65:[20, 12], Operations: ['91-71=20', '64-52=12']
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,65 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 20*12=240, Resulting Numbers: [240]
240,65 unequal: No Solution
Moving to Node #0,0,2
Current State: 65:[64, 72], Operations: ['91-71=20', '52+20=72']
Exploring Operation: 64*72=4608, Resulting Numbers: [4608]
4608,65 unequal: No Solution
Exploring Operation: 72-64=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 64+72=136, Resulting Numbers: [136]
136,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[64, 32], Operations: ['91-71=20', '52-20=32']
Exploring Operation: 64+32=96, Resulting Numbers: [96]
96,65 unequal: No Solution
Exploring Operation: 64-32=32, Resulting Numbers: [32]
32,65 unequal: No Solution
Exploring Operation: 64/32=2, Resulting Numbers: [2]
2,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
Current State: 65:[91, 71, 12], Operations: ['64-52=12']
Exploring Operation: 91-71=20, Resulting Numbers: [12, 20]
Generated Node #0,1,0: 65:[12, 20] Operation: 91-71=20
Exploring Operation: 91-12=79, Resulting Numbers: [71, 79]
Generated Node #0,1,1: 65:[71, 79] Operation: 91-12=79
Exploring Operation: 71-12=59, Resulting Numbers: [91, 59]
Generated Node #0,1,2: 65:[91, 59] Operation: 71-12=59
Moving to Node #0,1,0
Current State: 65:[12, 20], Operations: ['64-52=12', '91-71=20']
Exploring Operation: 12+20=32, Resulting Numbers: [32]
32,65 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 12*20=240, Resulting Numbers: [240]
240,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[71, 79], Operations: ['64-52=12', '91-12=79']
Exploring Operation: 71+79=150, Resulting Numbers: [150]
150,65 unequal: No Solution
Exploring Operation: 71*79=5609, Resulting Numbers: [5609]
5609,65 unequal: No Solution
Exploring Operation: 79-71=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[91, 59], Operations: ['64-52=12', '71-12=59']
Exploring Operation: 91-59=32, Resulting Numbers: [32]
32,65 unequal: No Solution
Exploring Operation: 91+59=150, Resulting Numbers: [150]
150,65 unequal: No Solution
Exploring Operation: 91*59=5369, Resulting Numbers: [5369]
5369,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,2
Current State: 65:[64, 71, 39], Operations: ['91-52=39']
Exploring Operation: 64-39=25, Resulting Numbers: [71, 25]
Generated Node #0,2,0: 65:[71, 25] Operation: 64-39=25
Exploring Operation: 71-39=32, Resulting Numbers: [64, 32]
Generated Node #0,2,1: 65:[64, 32] Operation: 71-39=32
Exploring Operation: 71-64=7, Resulting Numbers: [39, 7]
Generated Node #0,2,2: 65:[39, 7] Operation: 71-64=7
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 65:[71, 25], Operations: ['91-52=39', '64-39=25']
Exploring Operation: 71-25=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Exploring Operation: 71*25=1775, Resulting Numbers: [1775]
1775,65 unequal: No Solution
Exploring Operation: 71+25=96, Resulting Numbers: [96]
96,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 65:[64, 32], Operations: ['91-52=39', '71-39=32']
Exploring Operation: 64/32=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 64+32=96, Resulting Numbers: [96]
96,65 unequal: No Solution
Exploring Operation: 64-32=32, Resulting Numbers: [32]
32,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 65:[39, 7], Operations: ['91-52=39', '71-64=7']
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,65 unequal: No Solution
Exploring Operation: 39*7=273, Resulting Numbers: [273]
273,65 unequal: No Solution
Exploring Operation: 39+7=46, Resulting Numbers: [46]
46,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
40,
36,
34,
72
] | 92 | [
"36-34=2",
"40/2=20",
"72+20=92"
] | Current State: 92:[40, 36, 34, 72], Operations: []
Exploring Operation: 36-34=2, Resulting Numbers: [40, 72, 2]
Generated Node #2: [40, 72, 2] from Operation: 36-34=2
Current State: 92:[40, 72, 2], Operations: ['36-34=2']
Exploring Operation: 40/2=20, Resulting Numbers: [72, 20]
Generated Node #3: [72, 20] from Operation: 40/2=20
Current State: 92:[72, 20], Operations: ['36-34=2', '40/2=20']
Exploring Operation: 72+20=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[40, 36, 34, 72], Operations: []
Exploring Operation: 72/36=2, Resulting Numbers: [40, 34, 2]
Generated Node #0,0: 92:[40, 34, 2] Operation: 72/36=2
Exploring Operation: 72-34=38, Resulting Numbers: [40, 36, 38]
Generated Node #0,1: 92:[40, 36, 38] Operation: 72-34=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[40, 34, 2], Operations: ['72/36=2']
Exploring Operation: 34/2=17, Resulting Numbers: [40, 17]
Generated Node #0,0,0: 92:[40, 17] Operation: 34/2=17
Exploring Operation: 40-34=6, Resulting Numbers: [2, 6]
Generated Node #0,0,1: 92:[2, 6] Operation: 40-34=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 92:[2, 6], Operations: ['72/36=2', '40-34=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,92 unequal: No Solution
No 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: 92:[40, 17], Operations: ['72/36=2', '34/2=17']
Exploring Operation: 40+17=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,92 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: 92:[40, 36, 38], Operations: ['72-34=38']
Exploring Operation: 40-36=4, Resulting Numbers: [38, 4]
Generated Node #0,1,0: 92:[38, 4] Operation: 40-36=4
Exploring Operation: 38-36=2, Resulting Numbers: [40, 2]
Generated Node #0,1,1: 92:[40, 2] Operation: 38-36=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 92:[40, 2], Operations: ['72-34=38', '38-36=2']
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,92 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,92 unequal: No Solution
No 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: 92:[38, 4], Operations: ['72-34=38', '40-36=4']
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,92 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,92 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 |
[
66,
3,
50,
33
] | 44 | [
"66*3=198",
"198/33=6",
"50-6=44"
] | Current State: 44:[66, 3, 50, 33], Operations: []
Exploring Operation: 66*3=198, Resulting Numbers: [50, 33, 198]
Generated Node #2: [50, 33, 198] from Operation: 66*3=198
Current State: 44:[50, 33, 198], Operations: ['66*3=198']
Exploring Operation: 198/33=6, Resulting Numbers: [50, 6]
Generated Node #3: [50, 6] from Operation: 198/33=6
Current State: 44:[50, 6], Operations: ['66*3=198', '198/33=6']
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[66, 3, 50, 33], Operations: []
Exploring Operation: 66/3=22, Resulting Numbers: [50, 33, 22]
Generated Node #0,0: 44:[50, 33, 22] Operation: 66/3=22
Exploring Operation: 66/33=2, Resulting Numbers: [3, 50, 2]
Generated Node #0,1: 44:[3, 50, 2] Operation: 66/33=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[3, 50, 2], Operations: ['66/33=2']
Exploring Operation: 50-3=47, Resulting Numbers: [2, 47]
Generated Node #0,1,0: 44:[2, 47] Operation: 50-3=47
Exploring Operation: 50/2=25, Resulting Numbers: [3, 25]
Generated Node #0,1,1: 44:[3, 25] Operation: 50/2=25
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 44:[2, 47], Operations: ['66/33=2', '50-3=47']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,44 unequal: No Solution
No 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: 44:[3, 25], Operations: ['66/33=2', '50/2=25']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,44 unequal: No Solution
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,44 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: 44:[50, 33, 22], Operations: ['66/3=22']
Exploring Operation: 50-33=17, Resulting Numbers: [22, 17]
Generated Node #0,0,0: 44:[22, 17] Operation: 50-33=17
Exploring Operation: 33-22=11, Resulting Numbers: [50, 11]
Generated Node #0,0,1: 44:[50, 11] Operation: 33-22=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 44:[22, 17], Operations: ['66/3=22', '50-33=17']
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,44 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,44 unequal: No Solution
No 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: 44:[50, 11], Operations: ['66/3=22', '33-22=11']
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,44 unequal: No Solution
Exploring Operation: 50+11=61, Resulting Numbers: [61]
61,44 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 |
[
68,
80,
79,
1
] | 69 | [
"68+80=148",
"79*1=79",
"148-79=69"
] | Current State: 69:[68, 80, 79, 1], Operations: []
Exploring Operation: 68+80=148, Resulting Numbers: [79, 1, 148]
Generated Node #2: [79, 1, 148] from Operation: 68+80=148
Current State: 69:[79, 1, 148], Operations: ['68+80=148']
Exploring Operation: 79*1=79, Resulting Numbers: [148, 79]
Generated Node #3: [148, 79] from Operation: 79*1=79
Current State: 69:[148, 79], Operations: ['68+80=148', '79*1=79']
Exploring Operation: 148-79=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[68, 80, 79, 1], Operations: []
Exploring Operation: 80-79=1, Resulting Numbers: [68, 1, 1]
Generated Node #0,0: 69:[68, 1, 1] Operation: 80-79=1
Exploring Operation: 80-68=12, Resulting Numbers: [79, 1, 12]
Generated Node #0,1: 69:[79, 1, 12] Operation: 80-68=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[68, 1, 1], Operations: ['80-79=1']
Exploring Operation: 68+1=69, Resulting Numbers: [1, 69]
Generated Node #0,0,0: 69:[1, 69] Operation: 68+1=69
Exploring Operation: 68+1=69, Resulting Numbers: [1, 69]
Generated Node #0,0,1: 69:[1, 69] Operation: 68+1=69
Moving to Node #0,0,0
Current State: 69:[1, 69], Operations: ['80-79=1', '68+1=69']
Exploring Operation: 69/1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[68, 80, 79, 1], Operations: []
Exploring Operation: 80-79=1, Resulting Numbers: [68, 1, 1]
Generated Node #0,0: 69:[68, 1, 1] Operation: 80-79=1
Moving to Node #0,0
Current State: 69:[68, 1, 1], Operations: ['80-79=1']
Exploring Operation: 68+1=69, Resulting Numbers: [1, 69]
Generated Node #0,0,0: 69:[1, 69] Operation: 68+1=69
Moving to Node #0,0,0
Current State: 69:[1, 69], Operations: ['80-79=1', '68+1=69']
Exploring Operation: 69/1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
72,
7,
33,
2
] | 41 | [
"7+2=9",
"72/9=8",
"33+8=41"
] | Current State: 41:[72, 7, 33, 2], Operations: []
Exploring Operation: 7+2=9, Resulting Numbers: [72, 33, 9]
Generated Node #2: [72, 33, 9] from Operation: 7+2=9
Current State: 41:[72, 33, 9], Operations: ['7+2=9']
Exploring Operation: 72/9=8, Resulting Numbers: [33, 8]
Generated Node #3: [33, 8] from Operation: 72/9=8
Current State: 41:[33, 8], Operations: ['7+2=9', '72/9=8']
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[72, 7, 33, 2], Operations: []
Exploring Operation: 7*2=14, Resulting Numbers: [72, 33, 14]
Generated Node #0,0: 41:[72, 33, 14] Operation: 7*2=14
Exploring Operation: 72/2=36, Resulting Numbers: [7, 33, 36]
Generated Node #0,1: 41:[7, 33, 36] Operation: 72/2=36
Exploring Operation: 72-7=65, Resulting Numbers: [33, 2, 65]
Generated Node #0,2: 41:[33, 2, 65] Operation: 72-7=65
Moving to Node #0,1
Current State: 41:[7, 33, 36], Operations: ['72/2=36']
Exploring Operation: 7+33=40, Resulting Numbers: [36, 40]
Generated Node #0,1,0: 41:[36, 40] Operation: 7+33=40
Exploring Operation: 33-7=26, Resulting Numbers: [36, 26]
Generated Node #0,1,1: 41:[36, 26] Operation: 33-7=26
Exploring Operation: 7+36=43, Resulting Numbers: [33, 43]
Generated Node #0,1,2: 41:[33, 43] Operation: 7+36=43
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[36, 40], Operations: ['72/2=36', '7+33=40']
Exploring Operation: 36*40=1440, Resulting Numbers: [1440]
1440,41 unequal: No Solution
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,41 unequal: No Solution
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,41 unequal: No Solution
No 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: 41:[33, 43], Operations: ['72/2=36', '7+36=43']
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 33*43=1419, Resulting Numbers: [1419]
1419,41 unequal: No Solution
Exploring Operation: 33+43=76, Resulting Numbers: [76]
76,41 unequal: No Solution
No 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: 41:[36, 26], Operations: ['72/2=36', '33-7=26']
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 36+26=62, Resulting Numbers: [62]
62,41 unequal: No Solution
Exploring Operation: 36*26=936, Resulting Numbers: [936]
936,41 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: 41:[72, 33, 14], Operations: ['7*2=14']
Exploring Operation: 33+14=47, Resulting Numbers: [72, 47]
Generated Node #0,0,0: 41:[72, 47] Operation: 33+14=47
Exploring Operation: 72-33=39, Resulting Numbers: [14, 39]
Generated Node #0,0,1: 41:[14, 39] Operation: 72-33=39
Exploring Operation: 72-14=58, Resulting Numbers: [33, 58]
Generated Node #0,0,2: 41:[33, 58] Operation: 72-14=58
Moving to Node #0,2
Current State: 41:[33, 2, 65], Operations: ['72-7=65']
Exploring Operation: 65-2=63, Resulting Numbers: [33, 63]
Generated Node #0,2,0: 41:[33, 63] Operation: 65-2=63
Exploring Operation: 33-2=31, Resulting Numbers: [65, 31]
Generated Node #0,2,1: 41:[65, 31] Operation: 33-2=31
Exploring Operation: 33+2=35, Resulting Numbers: [65, 35]
Generated Node #0,2,2: 41:[65, 35] Operation: 33+2=35
Moving to Node #0,0,2
Current State: 41:[33, 58], Operations: ['7*2=14', '72-14=58']
Exploring Operation: 58-33=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 33+58=91, Resulting Numbers: [91]
91,41 unequal: No Solution
Exploring Operation: 33*58=1914, Resulting Numbers: [1914]
1914,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[14, 39], Operations: ['7*2=14', '72-33=39']
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 14+39=53, Resulting Numbers: [53]
53,41 unequal: No Solution
Exploring Operation: 14*39=546, Resulting Numbers: [546]
546,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[65, 35], Operations: ['72-7=65', '33+2=35']
Exploring Operation: 65-35=30, Resulting Numbers: [30]
30,41 unequal: No Solution
Exploring Operation: 65+35=100, Resulting Numbers: [100]
100,41 unequal: No Solution
Exploring Operation: 65*35=2275, Resulting Numbers: [2275]
2275,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[33, 63], Operations: ['72-7=65', '65-2=63']
Exploring Operation: 63-33=30, Resulting Numbers: [30]
30,41 unequal: No Solution
Exploring Operation: 33*63=2079, Resulting Numbers: [2079]
2079,41 unequal: No Solution
Exploring Operation: 33+63=96, Resulting Numbers: [96]
96,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[65, 31], Operations: ['72-7=65', '33-2=31']
Exploring Operation: 65+31=96, Resulting Numbers: [96]
96,41 unequal: No Solution
Exploring Operation: 65*31=2015, Resulting Numbers: [2015]
2015,41 unequal: No Solution
Exploring Operation: 65-31=34, Resulting Numbers: [34]
34,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[72, 47], Operations: ['7*2=14', '33+14=47']
Exploring Operation: 72+47=119, Resulting Numbers: [119]
119,41 unequal: No Solution
Exploring Operation: 72-47=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 72*47=3384, Resulting Numbers: [3384]
3384,41 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
39,
67,
32,
15
] | 89 | [
"39+67=106",
"32-15=17",
"106-17=89"
] | Current State: 89:[39, 67, 32, 15], Operations: []
Exploring Operation: 39+67=106, Resulting Numbers: [32, 15, 106]
Generated Node #2: [32, 15, 106] from Operation: 39+67=106
Current State: 89:[32, 15, 106], Operations: ['39+67=106']
Exploring Operation: 32-15=17, Resulting Numbers: [106, 17]
Generated Node #3: [106, 17] from Operation: 32-15=17
Current State: 89:[106, 17], Operations: ['39+67=106', '32-15=17']
Exploring Operation: 106-17=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[39, 67, 32, 15], Operations: []
Exploring Operation: 32+15=47, Resulting Numbers: [39, 67, 47]
Generated Node #0,0: 89:[39, 67, 47] Operation: 32+15=47
Exploring Operation: 39+15=54, Resulting Numbers: [67, 32, 54]
Generated Node #0,1: 89:[67, 32, 54] Operation: 39+15=54
Exploring Operation: 39+32=71, Resulting Numbers: [67, 15, 71]
Generated Node #0,2: 89:[67, 15, 71] Operation: 39+32=71
Exploring Operation: 67+15=82, Resulting Numbers: [39, 32, 82]
Generated Node #0,3: 89:[39, 32, 82] Operation: 67+15=82
Moving to Node #0,0
Current State: 89:[39, 67, 47], Operations: ['32+15=47']
Exploring Operation: 39+67=106, Resulting Numbers: [47, 106]
Generated Node #0,0,0: 89:[47, 106] Operation: 39+67=106
Exploring Operation: 39+47=86, Resulting Numbers: [67, 86]
Generated Node #0,0,1: 89:[67, 86] Operation: 39+47=86
Exploring Operation: 67-39=28, Resulting Numbers: [47, 28]
Generated Node #0,0,2: 89:[47, 28] Operation: 67-39=28
Exploring Operation: 67+47=114, Resulting Numbers: [39, 114]
Generated Node #0,0,3: 89:[39, 114] Operation: 67+47=114
Moving to Node #0,2
Current State: 89:[67, 15, 71], Operations: ['39+32=71']
Exploring Operation: 67+15=82, Resulting Numbers: [71, 82]
Generated Node #0,2,0: 89:[71, 82] Operation: 67+15=82
Exploring Operation: 71-15=56, Resulting Numbers: [67, 56]
Generated Node #0,2,1: 89:[67, 56] Operation: 71-15=56
Exploring Operation: 15+71=86, Resulting Numbers: [67, 86]
Generated Node #0,2,2: 89:[67, 86] Operation: 15+71=86
Exploring Operation: 67-15=52, Resulting Numbers: [71, 52]
Generated Node #0,2,3: 89:[71, 52] Operation: 67-15=52
Moving to Node #0,1
Current State: 89:[67, 32, 54], Operations: ['39+15=54']
Exploring Operation: 32+54=86, Resulting Numbers: [67, 86]
Generated Node #0,1,0: 89:[67, 86] Operation: 32+54=86
Exploring Operation: 67+32=99, Resulting Numbers: [54, 99]
Generated Node #0,1,1: 89:[54, 99] Operation: 67+32=99
Exploring Operation: 67+54=121, Resulting Numbers: [32, 121]
Generated Node #0,1,2: 89:[32, 121] Operation: 67+54=121
Exploring Operation: 67-32=35, Resulting Numbers: [54, 35]
Generated Node #0,1,3: 89:[54, 35] Operation: 67-32=35
Moving to Node #0,3
Current State: 89:[39, 32, 82], Operations: ['67+15=82']
Exploring Operation: 39+32=71, Resulting Numbers: [82, 71]
Generated Node #0,3,0: 89:[82, 71] Operation: 39+32=71
Exploring Operation: 39+82=121, Resulting Numbers: [32, 121]
Generated Node #0,3,1: 89:[32, 121] Operation: 39+82=121
Exploring Operation: 32+82=114, Resulting Numbers: [39, 114]
Generated Node #0,3,2: 89:[39, 114] Operation: 32+82=114
Exploring Operation: 39-32=7, Resulting Numbers: [82, 7]
Generated Node #0,3,3: 89:[82, 7] Operation: 39-32=7
Moving to Node #0,0,1
Current State: 89:[67, 86], Operations: ['32+15=47', '39+47=86']
Exploring Operation: 86-67=19, Resulting Numbers: [19]
19,89 unequal: No Solution
Exploring Operation: 67*86=5762, Resulting Numbers: [5762]
5762,89 unequal: No Solution
Exploring Operation: 67+86=153, Resulting Numbers: [153]
153,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[67, 86], Operations: ['39+32=71', '15+71=86']
Exploring Operation: 67*86=5762, Resulting Numbers: [5762]
5762,89 unequal: No Solution
Exploring Operation: 86-67=19, Resulting Numbers: [19]
19,89 unequal: No Solution
Exploring Operation: 67+86=153, Resulting Numbers: [153]
153,89 unequal: No Solution
Moving to Node #0,3,0
Current State: 89:[82, 71], Operations: ['67+15=82', '39+32=71']
Exploring Operation: 82-71=11, Resulting Numbers: [11]
11,89 unequal: No Solution
Exploring Operation: 82+71=153, Resulting Numbers: [153]
153,89 unequal: No Solution
Exploring Operation: 82*71=5822, Resulting Numbers: [5822]
5822,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[71, 82], Operations: ['39+32=71', '67+15=82']
Exploring Operation: 71*82=5822, Resulting Numbers: [5822]
5822,89 unequal: No Solution
Exploring Operation: 82-71=11, Resulting Numbers: [11]
11,89 unequal: No Solution
Exploring Operation: 71+82=153, Resulting Numbers: [153]
153,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[67, 86], Operations: ['39+15=54', '32+54=86']
Exploring Operation: 67+86=153, Resulting Numbers: [153]
153,89 unequal: No Solution
Exploring Operation: 86-67=19, Resulting Numbers: [19]
19,89 unequal: No Solution
Exploring Operation: 67*86=5762, Resulting Numbers: [5762]
5762,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[54, 99], Operations: ['39+15=54', '67+32=99']
Exploring Operation: 54+99=153, Resulting Numbers: [153]
153,89 unequal: No Solution
Exploring Operation: 99-54=45, Resulting Numbers: [45]
45,89 unequal: No Solution
Exploring Operation: 54*99=5346, Resulting Numbers: [5346]
5346,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[67, 56], Operations: ['39+32=71', '71-15=56']
Exploring Operation: 67+56=123, Resulting Numbers: [123]
123,89 unequal: No Solution
Exploring Operation: 67-56=11, Resulting Numbers: [11]
11,89 unequal: No Solution
Exploring Operation: 67*56=3752, Resulting Numbers: [3752]
3752,89 unequal: No Solution
Moving to Node #0,2,3
Current State: 89:[71, 52], Operations: ['39+32=71', '67-15=52']
Exploring Operation: 71-52=19, Resulting Numbers: [19]
19,89 unequal: No Solution
Exploring Operation: 71*52=3692, Resulting Numbers: [3692]
3692,89 unequal: No Solution
Exploring Operation: 71+52=123, Resulting Numbers: [123]
123,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[47, 106], Operations: ['32+15=47', '39+67=106']
Exploring Operation: 47*106=4982, Resulting Numbers: [4982]
4982,89 unequal: No Solution
Exploring Operation: 106-47=59, Resulting Numbers: [59]
59,89 unequal: No Solution
Exploring Operation: 47+106=153, Resulting Numbers: [153]
153,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[39, 114], Operations: ['67+15=82', '32+82=114']
Exploring Operation: 114-39=75, Resulting Numbers: [75]
75,89 unequal: No Solution
Exploring Operation: 39+114=153, Resulting Numbers: [153]
153,89 unequal: No Solution
Exploring Operation: 39*114=4446, Resulting Numbers: [4446]
4446,89 unequal: No Solution
Moving to Node #0,0,3
Current State: 89:[39, 114], Operations: ['32+15=47', '67+47=114']
Exploring Operation: 114-39=75, Resulting Numbers: [75]
75,89 unequal: No Solution
Exploring Operation: 39*114=4446, Resulting Numbers: [4446]
4446,89 unequal: No Solution
Exploring Operation: 39+114=153, Resulting Numbers: [153]
153,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[54, 35], Operations: ['39+15=54', '67-32=35']
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,89 unequal: No Solution
Exploring Operation: 54+35=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[39, 67, 32, 15], Operations: []
Exploring Operation: 39+15=54, Resulting Numbers: [67, 32, 54]
Generated Node #0,1: 89:[67, 32, 54] Operation: 39+15=54
Moving to Node #0,1
Current State: 89:[67, 32, 54], Operations: ['39+15=54']
Exploring Operation: 67-32=35, Resulting Numbers: [54, 35]
Generated Node #0,1,3: 89:[54, 35] Operation: 67-32=35
Moving to Node #0,1,3
Current State: 89:[54, 35], Operations: ['39+15=54', '67-32=35']
Exploring Operation: 54+35=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 0.948785 | hs_4 | mult_heuristic |
[
89,
28,
59,
82
] | 94 | [
"89+28=117",
"82-59=23",
"117-23=94"
] | Current State: 94:[89, 28, 59, 82], Operations: []
Exploring Operation: 89+28=117, Resulting Numbers: [59, 82, 117]
Generated Node #2: [59, 82, 117] from Operation: 89+28=117
Current State: 94:[59, 82, 117], Operations: ['89+28=117']
Exploring Operation: 82-59=23, Resulting Numbers: [117, 23]
Generated Node #3: [117, 23] from Operation: 82-59=23
Current State: 94:[117, 23], Operations: ['89+28=117', '82-59=23']
Exploring Operation: 117-23=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[89, 28, 59, 82], Operations: []
Exploring Operation: 82-28=54, Resulting Numbers: [89, 59, 54]
Generated Node #0,0: 94:[89, 59, 54] Operation: 82-28=54
Exploring Operation: 28+59=87, Resulting Numbers: [89, 82, 87]
Generated Node #0,1: 94:[89, 82, 87] Operation: 28+59=87
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[89, 59, 54], Operations: ['82-28=54']
Exploring Operation: 89-59=30, Resulting Numbers: [54, 30]
Generated Node #0,0,0: 94:[54, 30] Operation: 89-59=30
Exploring Operation: 59-54=5, Resulting Numbers: [89, 5]
Generated Node #0,0,1: 94:[89, 5] Operation: 59-54=5
Moving to Node #0,0,1
Current State: 94:[89, 5], Operations: ['82-28=54', '59-54=5']
Exploring Operation: 89+5=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[89, 28, 59, 82], Operations: []
Exploring Operation: 82-28=54, Resulting Numbers: [89, 59, 54]
Generated Node #0,0: 94:[89, 59, 54] Operation: 82-28=54
Moving to Node #0,0
Current State: 94:[89, 59, 54], Operations: ['82-28=54']
Exploring Operation: 59-54=5, Resulting Numbers: [89, 5]
Generated Node #0,0,1: 94:[89, 5] Operation: 59-54=5
Moving to Node #0,0,1
Current State: 94:[89, 5], Operations: ['82-28=54', '59-54=5']
Exploring Operation: 89+5=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
71,
17,
16,
88
] | 72 | [
"71*16=1136",
"88+1136=1224",
"1224/17=72"
] | Current State: 72:[71, 17, 16, 88], Operations: []
Exploring Operation: 71*16=1136, Resulting Numbers: [17, 88, 1136]
Generated Node #2: [17, 88, 1136] from Operation: 71*16=1136
Current State: 72:[17, 88, 1136], Operations: ['71*16=1136']
Exploring Operation: 88+1136=1224, Resulting Numbers: [17, 1224]
Generated Node #3: [17, 1224] from Operation: 88+1136=1224
Current State: 72:[17, 1224], Operations: ['71*16=1136', '88+1136=1224']
Exploring Operation: 1224/17=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[71, 17, 16, 88], Operations: []
Exploring Operation: 88-71=17, Resulting Numbers: [17, 16, 17]
Generated Node #0,0: 72:[17, 16, 17] Operation: 88-71=17
Exploring Operation: 88-16=72, Resulting Numbers: [71, 17, 72]
Generated Node #0,1: 72:[71, 17, 72] Operation: 88-16=72
Exploring Operation: 88-17=71, Resulting Numbers: [71, 16, 71]
Generated Node #0,2: 72:[71, 16, 71] Operation: 88-17=71
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[71, 17, 72], Operations: ['88-16=72']
Exploring Operation: 71+17=88, Resulting Numbers: [72, 88]
Generated Node #0,1,0: 72:[72, 88] Operation: 71+17=88
Exploring Operation: 71-17=54, Resulting Numbers: [72, 54]
Generated Node #0,1,1: 72:[72, 54] Operation: 71-17=54
Exploring Operation: 72-71=1, Resulting Numbers: [17, 1]
Generated Node #0,1,2: 72:[17, 1] Operation: 72-71=1
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 72:[17, 1], Operations: ['88-16=72', '72-71=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,72 unequal: No Solution
No 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: 72:[72, 88], Operations: ['88-16=72', '71+17=88']
Exploring Operation: 72+88=160, Resulting Numbers: [160]
160,72 unequal: No Solution
Exploring Operation: 88-72=16, Resulting Numbers: [16]
16,72 unequal: No Solution
Exploring Operation: 72*88=6336, Resulting Numbers: [6336]
6336,72 unequal: No Solution
No 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: 72:[72, 54], Operations: ['88-16=72', '71-17=54']
Exploring Operation: 72*54=3888, Resulting Numbers: [3888]
3888,72 unequal: No Solution
Exploring Operation: 72+54=126, Resulting Numbers: [126]
126,72 unequal: No Solution
Exploring Operation: 72-54=18, Resulting Numbers: [18]
18,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[17, 16, 17], Operations: ['88-71=17']
Exploring Operation: 17-16=1, Resulting Numbers: [17, 1]
Generated Node #0,0,0: 72:[17, 1] Operation: 17-16=1
Exploring Operation: 17/17=1, Resulting Numbers: [16, 1]
Generated Node #0,0,1: 72:[16, 1] Operation: 17/17=1
Exploring Operation: 17-16=1, Resulting Numbers: [17, 1]
Generated Node #0,0,2: 72:[17, 1] Operation: 17-16=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[17, 1], Operations: ['88-71=17', '17-16=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,72 unequal: No Solution
No 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: 72:[17, 1], Operations: ['88-71=17', '17-16=1']
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,72 unequal: No Solution
No 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: 72:[16, 1], Operations: ['88-71=17', '17/17=1']
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,72 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[71, 16, 71], Operations: ['88-17=71']
Exploring Operation: 71/71=1, Resulting Numbers: [16, 1]
Generated Node #0,2,0: 72:[16, 1] Operation: 71/71=1
Exploring Operation: 71-71=0, Resulting Numbers: [16, 0]
Generated Node #0,2,1: 72:[16, 0] Operation: 71-71=0
Exploring Operation: 71+16=87, Resulting Numbers: [71, 87]
Generated Node #0,2,2: 72:[71, 87] Operation: 71+16=87
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 72:[16, 1], Operations: ['88-17=71', '71/71=1']
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,72 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,72 unequal: No Solution
No 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: 72:[16, 0], Operations: ['88-17=71', '71-71=0']
Exploring Operation: 16*0=0, Resulting Numbers: [0]
0,72 unequal: No Solution
Exploring Operation: 16-0=16, Resulting Numbers: [16]
16,72 unequal: No Solution
Exploring Operation: 16+0=16, Resulting Numbers: [16]
16,72 unequal: No Solution
No 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: 72:[71, 87], Operations: ['88-17=71', '71+16=87']
Exploring Operation: 87-71=16, Resulting Numbers: [16]
16,72 unequal: No Solution
Exploring Operation: 71+87=158, Resulting Numbers: [158]
158,72 unequal: No Solution
Exploring Operation: 71*87=6177, Resulting Numbers: [6177]
6177,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
11,
70,
71,
68
] | 93 | [
"70-68=2",
"11*2=22",
"71+22=93"
] | Current State: 93:[11, 70, 71, 68], Operations: []
Exploring Operation: 70-68=2, Resulting Numbers: [11, 71, 2]
Generated Node #2: [11, 71, 2] from Operation: 70-68=2
Current State: 93:[11, 71, 2], Operations: ['70-68=2']
Exploring Operation: 11*2=22, Resulting Numbers: [71, 22]
Generated Node #3: [71, 22] from Operation: 11*2=22
Current State: 93:[71, 22], Operations: ['70-68=2', '11*2=22']
Exploring Operation: 71+22=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[11, 70, 71, 68], Operations: []
Exploring Operation: 70-68=2, Resulting Numbers: [11, 71, 2]
Generated Node #0,0: 93:[11, 71, 2] Operation: 70-68=2
Exploring Operation: 71-68=3, Resulting Numbers: [11, 70, 3]
Generated Node #0,1: 93:[11, 70, 3] Operation: 71-68=3
Exploring Operation: 71-70=1, Resulting Numbers: [11, 68, 1]
Generated Node #0,2: 93:[11, 68, 1] Operation: 71-70=1
Moving to Node #0,0
Current State: 93:[11, 71, 2], Operations: ['70-68=2']
Exploring Operation: 11+71=82, Resulting Numbers: [2, 82]
Generated Node #0,0,0: 93:[2, 82] Operation: 11+71=82
Exploring Operation: 71+2=73, Resulting Numbers: [11, 73]
Generated Node #0,0,1: 93:[11, 73] Operation: 71+2=73
Exploring Operation: 11-2=9, Resulting Numbers: [71, 9]
Generated Node #0,0,2: 93:[71, 9] Operation: 11-2=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[2, 82], Operations: ['70-68=2', '11+71=82']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,93 unequal: No Solution
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[11, 73], Operations: ['70-68=2', '71+2=73']
Exploring Operation: 11*73=803, Resulting Numbers: [803]
803,93 unequal: No Solution
Exploring Operation: 73-11=62, Resulting Numbers: [62]
62,93 unequal: No Solution
Exploring Operation: 11+73=84, Resulting Numbers: [84]
84,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 93:[71, 9], Operations: ['70-68=2', '11-2=9']
Exploring Operation: 71-9=62, Resulting Numbers: [62]
62,93 unequal: No Solution
Exploring Operation: 71*9=639, Resulting Numbers: [639]
639,93 unequal: No Solution
Exploring Operation: 71+9=80, Resulting Numbers: [80]
80,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 93:[11, 70, 3], Operations: ['71-68=3']
Exploring Operation: 11+70=81, Resulting Numbers: [3, 81]
Generated Node #0,1,0: 93:[3, 81] Operation: 11+70=81
Exploring Operation: 70-11=59, Resulting Numbers: [3, 59]
Generated Node #0,1,1: 93:[3, 59] Operation: 70-11=59
Exploring Operation: 11*3=33, Resulting Numbers: [70, 33]
Generated Node #0,1,2: 93:[70, 33] Operation: 11*3=33
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[3, 81], Operations: ['71-68=3', '11+70=81']
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,93 unequal: No Solution
Exploring Operation: 3+81=84, Resulting Numbers: [84]
84,93 unequal: No Solution
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 93:[70, 33], Operations: ['71-68=3', '11*3=33']
Exploring Operation: 70*33=2310, Resulting Numbers: [2310]
2310,93 unequal: No Solution
Exploring Operation: 70+33=103, Resulting Numbers: [103]
103,93 unequal: No Solution
Exploring Operation: 70-33=37, Resulting Numbers: [37]
37,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[3, 59], Operations: ['71-68=3', '70-11=59']
Exploring Operation: 3+59=62, Resulting Numbers: [62]
62,93 unequal: No Solution
Exploring Operation: 3*59=177, Resulting Numbers: [177]
177,93 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 93:[11, 68, 1], Operations: ['71-70=1']
Exploring Operation: 68-11=57, Resulting Numbers: [1, 57]
Generated Node #0,2,0: 93:[1, 57] Operation: 68-11=57
Exploring Operation: 11+68=79, Resulting Numbers: [1, 79]
Generated Node #0,2,1: 93:[1, 79] Operation: 11+68=79
Exploring Operation: 11-1=10, Resulting Numbers: [68, 10]
Generated Node #0,2,2: 93:[68, 10] Operation: 11-1=10
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 93:[1, 79], Operations: ['71-70=1', '11+68=79']
Exploring Operation: 1*79=79, Resulting Numbers: [79]
79,93 unequal: No Solution
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,93 unequal: No Solution
Exploring Operation: 1+79=80, Resulting Numbers: [80]
80,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 93:[1, 57], Operations: ['71-70=1', '68-11=57']
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,93 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,93 unequal: No Solution
Exploring Operation: 1*57=57, Resulting Numbers: [57]
57,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 93:[68, 10], Operations: ['71-70=1', '11-1=10']
Exploring Operation: 68-10=58, Resulting Numbers: [58]
58,93 unequal: No Solution
Exploring Operation: 68*10=680, Resulting Numbers: [680]
680,93 unequal: No Solution
Exploring Operation: 68+10=78, Resulting Numbers: [78]
78,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
3,
51,
79,
99
] | 15 | [
"79-51=28",
"3*28=84",
"99-84=15"
] | Current State: 15:[3, 51, 79, 99], Operations: []
Exploring Operation: 79-51=28, Resulting Numbers: [3, 99, 28]
Generated Node #2: [3, 99, 28] from Operation: 79-51=28
Current State: 15:[3, 99, 28], Operations: ['79-51=28']
Exploring Operation: 3*28=84, Resulting Numbers: [99, 84]
Generated Node #3: [99, 84] from Operation: 3*28=84
Current State: 15:[99, 84], Operations: ['79-51=28', '3*28=84']
Exploring Operation: 99-84=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[3, 51, 79, 99], Operations: []
Exploring Operation: 99-79=20, Resulting Numbers: [3, 51, 20]
Generated Node #0,0: 15:[3, 51, 20] Operation: 99-79=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[3, 51, 20], Operations: ['99-79=20']
Exploring Operation: 51/3=17, Resulting Numbers: [20, 17]
Generated Node #0,0,0: 15:[20, 17] Operation: 51/3=17
Moving to Node #0,0,0
Current State: 15:[20, 17], Operations: ['99-79=20', '51/3=17']
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,15 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 |
[
54,
61,
5,
84
] | 89 | [
"84-54=30",
"5*30=150",
"150-61=89"
] | Current State: 89:[54, 61, 5, 84], Operations: []
Exploring Operation: 84-54=30, Resulting Numbers: [61, 5, 30]
Generated Node #2: [61, 5, 30] from Operation: 84-54=30
Current State: 89:[61, 5, 30], Operations: ['84-54=30']
Exploring Operation: 5*30=150, Resulting Numbers: [61, 150]
Generated Node #3: [61, 150] from Operation: 5*30=150
Current State: 89:[61, 150], Operations: ['84-54=30', '5*30=150']
Exploring Operation: 150-61=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[54, 61, 5, 84], Operations: []
Exploring Operation: 61+5=66, Resulting Numbers: [54, 84, 66]
Generated Node #0,0: 89:[54, 84, 66] Operation: 61+5=66
Exploring Operation: 5+84=89, Resulting Numbers: [54, 61, 89]
Generated Node #0,1: 89:[54, 61, 89] Operation: 5+84=89
Exploring Operation: 54+5=59, Resulting Numbers: [61, 84, 59]
Generated Node #0,2: 89:[61, 84, 59] Operation: 54+5=59
Moving to Node #0,0
Current State: 89:[54, 84, 66], Operations: ['61+5=66']
Exploring Operation: 54+66=120, Resulting Numbers: [84, 120]
Generated Node #0,0,0: 89:[84, 120] Operation: 54+66=120
Exploring Operation: 54+84=138, Resulting Numbers: [66, 138]
Generated Node #0,0,1: 89:[66, 138] Operation: 54+84=138
Exploring Operation: 84-54=30, Resulting Numbers: [66, 30]
Generated Node #0,0,2: 89:[66, 30] Operation: 84-54=30
Moving to Node #0,1
Current State: 89:[54, 61, 89], Operations: ['5+84=89']
Exploring Operation: 54+89=143, Resulting Numbers: [61, 143]
Generated Node #0,1,0: 89:[61, 143] Operation: 54+89=143
Exploring Operation: 61-54=7, Resulting Numbers: [89, 7]
Generated Node #0,1,1: 89:[89, 7] Operation: 61-54=7
Exploring Operation: 54+61=115, Resulting Numbers: [89, 115]
Generated Node #0,1,2: 89:[89, 115] Operation: 54+61=115
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 89:[89, 115], Operations: ['5+84=89', '54+61=115']
Exploring Operation: 115-89=26, Resulting Numbers: [26]
26,89 unequal: No Solution
Exploring Operation: 89+115=204, Resulting Numbers: [204]
204,89 unequal: No Solution
Exploring Operation: 89*115=10235, Resulting Numbers: [10235]
10235,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,1,0
Current State: 89:[61, 143], Operations: ['5+84=89', '54+89=143']
Exploring Operation: 143-61=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Exploring Operation: 61*143=8723, Resulting Numbers: [8723]
8723,89 unequal: No Solution
Exploring Operation: 61+143=204, Resulting Numbers: [204]
204,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,1,1
Current State: 89:[89, 7], Operations: ['5+84=89', '61-54=7']
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Exploring Operation: 89+7=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 89*7=623, Resulting Numbers: [623]
623,89 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: 89:[61, 84, 59], Operations: ['54+5=59']
Exploring Operation: 61+84=145, Resulting Numbers: [59, 145]
Generated Node #0,2,0: 89:[59, 145] Operation: 61+84=145
Exploring Operation: 61+59=120, Resulting Numbers: [84, 120]
Generated Node #0,2,1: 89:[84, 120] Operation: 61+59=120
Exploring Operation: 84+59=143, Resulting Numbers: [61, 143]
Generated Node #0,2,2: 89:[61, 143] Operation: 84+59=143
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[84, 120], Operations: ['54+5=59', '61+59=120']
Exploring Operation: 84*120=10080, Resulting Numbers: [10080]
10080,89 unequal: No Solution
Exploring Operation: 120-84=36, Resulting Numbers: [36]
36,89 unequal: No Solution
Exploring Operation: 84+120=204, Resulting Numbers: [204]
204,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,2
Current State: 89:[61, 143], Operations: ['54+5=59', '84+59=143']
Exploring Operation: 61+143=204, Resulting Numbers: [204]
204,89 unequal: No Solution
Exploring Operation: 143-61=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Exploring Operation: 61*143=8723, Resulting Numbers: [8723]
8723,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,0
Current State: 89:[59, 145], Operations: ['54+5=59', '61+84=145']
Exploring Operation: 59+145=204, Resulting Numbers: [204]
204,89 unequal: No Solution
Exploring Operation: 59*145=8555, Resulting Numbers: [8555]
8555,89 unequal: No Solution
Exploring Operation: 145-59=86, Resulting Numbers: [86]
86,89 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: 89:[84, 120], Operations: ['61+5=66', '54+66=120']
Exploring Operation: 120-84=36, Resulting Numbers: [36]
36,89 unequal: No Solution
Exploring Operation: 84+120=204, Resulting Numbers: [204]
204,89 unequal: No Solution
Exploring Operation: 84*120=10080, Resulting Numbers: [10080]
10080,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[66, 138], Operations: ['61+5=66', '54+84=138']
Exploring Operation: 138-66=72, Resulting Numbers: [72]
72,89 unequal: No Solution
Exploring Operation: 66+138=204, Resulting Numbers: [204]
204,89 unequal: No Solution
Exploring Operation: 66*138=9108, Resulting Numbers: [9108]
9108,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[66, 30], Operations: ['61+5=66', '84-54=30']
Exploring Operation: 66-30=36, Resulting Numbers: [36]
36,89 unequal: No Solution
Exploring Operation: 66*30=1980, Resulting Numbers: [1980]
1980,89 unequal: No Solution
Exploring Operation: 66+30=96, Resulting Numbers: [96]
96,89 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
80,
4,
1,
61
] | 77 | [
"80-61=19",
"4*19=76",
"1+76=77"
] | Current State: 77:[80, 4, 1, 61], Operations: []
Exploring Operation: 80-61=19, Resulting Numbers: [4, 1, 19]
Generated Node #2: [4, 1, 19] from Operation: 80-61=19
Current State: 77:[4, 1, 19], Operations: ['80-61=19']
Exploring Operation: 4*19=76, Resulting Numbers: [1, 76]
Generated Node #3: [1, 76] from Operation: 4*19=76
Current State: 77:[1, 76], Operations: ['80-61=19', '4*19=76']
Exploring Operation: 1+76=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[80, 4, 1, 61], Operations: []
Exploring Operation: 1+61=62, Resulting Numbers: [80, 4, 62]
Generated Node #0,0: 77:[80, 4, 62] Operation: 1+61=62
Exploring Operation: 4+1=5, Resulting Numbers: [80, 61, 5]
Generated Node #0,1: 77:[80, 61, 5] Operation: 4+1=5
Exploring Operation: 80-61=19, Resulting Numbers: [4, 1, 19]
Generated Node #0,2: 77:[4, 1, 19] Operation: 80-61=19
Exploring Operation: 80-1=79, Resulting Numbers: [4, 61, 79]
Generated Node #0,3: 77:[4, 61, 79] Operation: 80-1=79
Exploring Operation: 4+61=65, Resulting Numbers: [80, 1, 65]
Generated Node #0,4: 77:[80, 1, 65] Operation: 4+61=65
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[4, 1, 19], Operations: ['80-61=19']
Exploring Operation: 4+1=5, Resulting Numbers: [19, 5]
Generated Node #0,2,0: 77:[19, 5] Operation: 4+1=5
Exploring Operation: 4*19=76, Resulting Numbers: [1, 76]
Generated Node #0,2,1: 77:[1, 76] Operation: 4*19=76
Exploring Operation: 4*1=4, Resulting Numbers: [19, 4]
Generated Node #0,2,2: 77:[19, 4] Operation: 4*1=4
Exploring Operation: 19-4=15, Resulting Numbers: [1, 15]
Generated Node #0,2,3: 77:[1, 15] Operation: 19-4=15
Exploring Operation: 19-1=18, Resulting Numbers: [4, 18]
Generated Node #0,2,4: 77:[4, 18] Operation: 19-1=18
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 77:[1, 76], Operations: ['80-61=19', '4*19=76']
Exploring Operation: 1*76=76, Resulting Numbers: [76]
76,77 unequal: No Solution
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,77 unequal: No Solution
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,77 unequal: No Solution
Exploring Operation: 1+76=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[80, 4, 1, 61], Operations: []
Exploring Operation: 80-61=19, Resulting Numbers: [4, 1, 19]
Generated Node #0,2: 77:[4, 1, 19] Operation: 80-61=19
Moving to Node #0,2
Current State: 77:[4, 1, 19], Operations: ['80-61=19']
Exploring Operation: 4*19=76, Resulting Numbers: [1, 76]
Generated Node #0,2,1: 77:[1, 76] Operation: 4*19=76
Moving to Node #0,2,1
Current State: 77:[1, 76], Operations: ['80-61=19', '4*19=76']
Exploring Operation: 1+76=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
41,
87,
4,
78
] | 31 | [
"87-41=46",
"78+46=124",
"124/4=31"
] | Current State: 31:[41, 87, 4, 78], Operations: []
Exploring Operation: 87-41=46, Resulting Numbers: [4, 78, 46]
Generated Node #2: [4, 78, 46] from Operation: 87-41=46
Current State: 31:[4, 78, 46], Operations: ['87-41=46']
Exploring Operation: 78+46=124, Resulting Numbers: [4, 124]
Generated Node #3: [4, 124] from Operation: 78+46=124
Current State: 31:[4, 124], Operations: ['87-41=46', '78+46=124']
Exploring Operation: 124/4=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[41, 87, 4, 78], Operations: []
Exploring Operation: 87-41=46, Resulting Numbers: [4, 78, 46]
Generated Node #0,0: 31:[4, 78, 46] Operation: 87-41=46
Exploring Operation: 41-4=37, Resulting Numbers: [87, 78, 37]
Generated Node #0,1: 31:[87, 78, 37] Operation: 41-4=37
Exploring Operation: 87-4=83, Resulting Numbers: [41, 78, 83]
Generated Node #0,2: 31:[41, 78, 83] Operation: 87-4=83
Exploring Operation: 78-41=37, Resulting Numbers: [87, 4, 37]
Generated Node #0,3: 31:[87, 4, 37] Operation: 78-41=37
Exploring Operation: 87-78=9, Resulting Numbers: [41, 4, 9]
Generated Node #0,4: 31:[41, 4, 9] Operation: 87-78=9
Start Sub Search at level 1: Moving to Node #0,4
Current State: 31:[41, 4, 9], Operations: ['87-78=9']
Exploring Operation: 41+4=45, Resulting Numbers: [9, 45]
Generated Node #0,4,0: 31:[9, 45] Operation: 41+4=45
Exploring Operation: 41-9=32, Resulting Numbers: [4, 32]
Generated Node #0,4,1: 31:[4, 32] Operation: 41-9=32
Exploring Operation: 4*9=36, Resulting Numbers: [41, 36]
Generated Node #0,4,2: 31:[41, 36] Operation: 4*9=36
Exploring Operation: 41-4=37, Resulting Numbers: [9, 37]
Generated Node #0,4,3: 31:[9, 37] Operation: 41-4=37
Exploring Operation: 4+9=13, Resulting Numbers: [41, 13]
Generated Node #0,4,4: 31:[41, 13] Operation: 4+9=13
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 31:[41, 36], Operations: ['87-78=9', '4*9=36']
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 41+36=77, Resulting Numbers: [77]
77,31 unequal: No Solution
Exploring Operation: 41*36=1476, Resulting Numbers: [1476]
1476,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 31:[4, 32], Operations: ['87-78=9', '41-9=32']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,31 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 31:[9, 37], Operations: ['87-78=9', '41-4=37']
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 9+37=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 9*37=333, Resulting Numbers: [333]
333,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 31:[41, 13], Operations: ['87-78=9', '4+9=13']
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 41*13=533, Resulting Numbers: [533]
533,31 unequal: No Solution
Exploring Operation: 41+13=54, Resulting Numbers: [54]
54,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 31:[9, 45], Operations: ['87-78=9', '41+4=45']
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 9*45=405, Resulting Numbers: [405]
405,31 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 9+45=54, Resulting Numbers: [54]
54,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[4, 78, 46], Operations: ['87-41=46']
Exploring Operation: 78-46=32, Resulting Numbers: [4, 32]
Generated Node #0,0,0: 31:[4, 32] Operation: 78-46=32
Exploring Operation: 78-4=74, Resulting Numbers: [46, 74]
Generated Node #0,0,1: 31:[46, 74] Operation: 78-4=74
Exploring Operation: 4+78=82, Resulting Numbers: [46, 82]
Generated Node #0,0,2: 31:[46, 82] Operation: 4+78=82
Exploring Operation: 46-4=42, Resulting Numbers: [78, 42]
Generated Node #0,0,3: 31:[78, 42] Operation: 46-4=42
Exploring Operation: 4+46=50, Resulting Numbers: [78, 50]
Generated Node #0,0,4: 31:[78, 50] Operation: 4+46=50
Moving to Node #0,0,0
Current State: 31:[4, 32], Operations: ['87-41=46', '78-46=32']
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,31 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,31 unequal: No Solution
Moving to Node #0,0,3
Current State: 31:[78, 42], Operations: ['87-41=46', '46-4=42']
Exploring Operation: 78+42=120, Resulting Numbers: [120]
120,31 unequal: No Solution
Exploring Operation: 78-42=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 78*42=3276, Resulting Numbers: [3276]
3276,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[46, 74], Operations: ['87-41=46', '78-4=74']
Exploring Operation: 74-46=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 46*74=3404, Resulting Numbers: [3404]
3404,31 unequal: No Solution
Exploring Operation: 46+74=120, Resulting Numbers: [120]
120,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[46, 82], Operations: ['87-41=46', '4+78=82']
Exploring Operation: 46*82=3772, Resulting Numbers: [3772]
3772,31 unequal: No Solution
Exploring Operation: 82-46=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 46+82=128, Resulting Numbers: [128]
128,31 unequal: No Solution
Moving to Node #0,0,4
Current State: 31:[78, 50], Operations: ['87-41=46', '4+46=50']
Exploring Operation: 78+50=128, Resulting Numbers: [128]
128,31 unequal: No Solution
Exploring Operation: 78*50=3900, Resulting Numbers: [3900]
3900,31 unequal: No Solution
Exploring Operation: 78-50=28, Resulting Numbers: [28]
28,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 31:[87, 4, 37], Operations: ['78-41=37']
Exploring Operation: 87-37=50, Resulting Numbers: [4, 50]
Generated Node #0,3,0: 31:[4, 50] Operation: 87-37=50
Exploring Operation: 87+4=91, Resulting Numbers: [37, 91]
Generated Node #0,3,1: 31:[37, 91] Operation: 87+4=91
Exploring Operation: 87-4=83, Resulting Numbers: [37, 83]
Generated Node #0,3,2: 31:[37, 83] Operation: 87-4=83
Exploring Operation: 4+37=41, Resulting Numbers: [87, 41]
Generated Node #0,3,3: 31:[87, 41] Operation: 4+37=41
Exploring Operation: 37-4=33, Resulting Numbers: [87, 33]
Generated Node #0,3,4: 31:[87, 33] Operation: 37-4=33
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 31:[4, 50], Operations: ['78-41=37', '87-37=50']
Exploring Operation: 4*50=200, Resulting Numbers: [200]
200,31 unequal: No Solution
Exploring Operation: 4+50=54, Resulting Numbers: [54]
54,31 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 31:[37, 83], Operations: ['78-41=37', '87-4=83']
Exploring Operation: 37*83=3071, Resulting Numbers: [3071]
3071,31 unequal: No Solution
Exploring Operation: 83-37=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 37+83=120, Resulting Numbers: [120]
120,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 31:[87, 33], Operations: ['78-41=37', '37-4=33']
Exploring Operation: 87*33=2871, Resulting Numbers: [2871]
2871,31 unequal: No Solution
Exploring Operation: 87-33=54, Resulting Numbers: [54]
54,31 unequal: No Solution
Exploring Operation: 87+33=120, Resulting Numbers: [120]
120,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 31:[37, 91], Operations: ['78-41=37', '87+4=91']
Exploring Operation: 91-37=54, Resulting Numbers: [54]
54,31 unequal: No Solution
Exploring Operation: 37+91=128, Resulting Numbers: [128]
128,31 unequal: No Solution
Exploring Operation: 37*91=3367, Resulting Numbers: [3367]
3367,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 31:[87, 41], Operations: ['78-41=37', '4+37=41']
Exploring Operation: 87-41=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 87*41=3567, Resulting Numbers: [3567]
3567,31 unequal: No Solution
Exploring Operation: 87+41=128, Resulting Numbers: [128]
128,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[87, 78, 37], Operations: ['41-4=37']
Exploring Operation: 87+37=124, Resulting Numbers: [78, 124]
Generated Node #0,1,0: 31:[78, 124] Operation: 87+37=124
Exploring Operation: 87-37=50, Resulting Numbers: [78, 50]
Generated Node #0,1,1: 31:[78, 50] Operation: 87-37=50
Exploring Operation: 78-37=41, Resulting Numbers: [87, 41]
Generated Node #0,1,2: 31:[87, 41] Operation: 78-37=41
Exploring Operation: 87+78=165, Resulting Numbers: [37, 165]
Generated Node #0,1,3: 31:[37, 165] Operation: 87+78=165
Exploring Operation: 87-78=9, Resulting Numbers: [37, 9]
Generated Node #0,1,4: 31:[37, 9] Operation: 87-78=9
Moving to Node #0,1,4
Current State: 31:[37, 9], Operations: ['41-4=37', '87-78=9']
Exploring Operation: 37+9=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 37*9=333, Resulting Numbers: [333]
333,31 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Moving to Node #0,1,2
Current State: 31:[87, 41], Operations: ['41-4=37', '78-37=41']
Exploring Operation: 87-41=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 87+41=128, Resulting Numbers: [128]
128,31 unequal: No Solution
Exploring Operation: 87*41=3567, Resulting Numbers: [3567]
3567,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[78, 50], Operations: ['41-4=37', '87-37=50']
Exploring Operation: 78+50=128, Resulting Numbers: [128]
128,31 unequal: No Solution
Exploring Operation: 78*50=3900, Resulting Numbers: [3900]
3900,31 unequal: No Solution
Exploring Operation: 78-50=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[78, 124], Operations: ['41-4=37', '87+37=124']
Exploring Operation: 78*124=9672, Resulting Numbers: [9672]
9672,31 unequal: No Solution
Exploring Operation: 124-78=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 78+124=202, Resulting Numbers: [202]
202,31 unequal: No Solution
Moving to Node #0,1,3
Current State: 31:[37, 165], Operations: ['41-4=37', '87+78=165']
Exploring Operation: 37+165=202, Resulting Numbers: [202]
202,31 unequal: No Solution
Exploring Operation: 37*165=6105, Resulting Numbers: [6105]
6105,31 unequal: No Solution
Exploring Operation: 165-37=128, Resulting Numbers: [128]
128,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 31:[41, 78, 83], Operations: ['87-4=83']
Exploring Operation: 78-41=37, Resulting Numbers: [83, 37]
Generated Node #0,2,0: 31:[83, 37] Operation: 78-41=37
Exploring Operation: 83-41=42, Resulting Numbers: [78, 42]
Generated Node #0,2,1: 31:[78, 42] Operation: 83-41=42
Exploring Operation: 41+78=119, Resulting Numbers: [83, 119]
Generated Node #0,2,2: 31:[83, 119] Operation: 41+78=119
Exploring Operation: 83-78=5, Resulting Numbers: [41, 5]
Generated Node #0,2,3: 31:[41, 5] Operation: 83-78=5
Exploring Operation: 41+83=124, Resulting Numbers: [78, 124]
Generated Node #0,2,4: 31:[78, 124] Operation: 41+83=124
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 31:[41, 5], Operations: ['87-4=83', '83-78=5']
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 41*5=205, Resulting Numbers: [205]
205,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 31:[83, 37], Operations: ['87-4=83', '78-41=37']
Exploring Operation: 83-37=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 83*37=3071, Resulting Numbers: [3071]
3071,31 unequal: No Solution
Exploring Operation: 83+37=120, Resulting Numbers: [120]
120,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 31:[78, 42], Operations: ['87-4=83', '83-41=42']
Exploring Operation: 78*42=3276, Resulting Numbers: [3276]
3276,31 unequal: No Solution
Exploring Operation: 78-42=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 78+42=120, Resulting Numbers: [120]
120,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 31:[83, 119], Operations: ['87-4=83', '41+78=119']
Exploring Operation: 83*119=9877, Resulting Numbers: [9877]
9877,31 unequal: No Solution
Exploring Operation: 119-83=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 83+119=202, Resulting Numbers: [202]
202,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 31:[78, 124], Operations: ['87-4=83', '41+83=124']
Exploring Operation: 78+124=202, Resulting Numbers: [202]
202,31 unequal: No Solution
Exploring Operation: 78*124=9672, Resulting Numbers: [9672]
9672,31 unequal: No Solution
Exploring Operation: 124-78=46, Resulting Numbers: [46]
46,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
85,
10,
51,
53
] | 77 | [
"85-10=75",
"53-51=2",
"75+2=77"
] | Current State: 77:[85, 10, 51, 53], Operations: []
Exploring Operation: 85-10=75, Resulting Numbers: [51, 53, 75]
Generated Node #2: [51, 53, 75] from Operation: 85-10=75
Current State: 77:[51, 53, 75], Operations: ['85-10=75']
Exploring Operation: 53-51=2, Resulting Numbers: [75, 2]
Generated Node #3: [75, 2] from Operation: 53-51=2
Current State: 77:[75, 2], Operations: ['85-10=75', '53-51=2']
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[85, 10, 51, 53], Operations: []
Exploring Operation: 10+51=61, Resulting Numbers: [85, 53, 61]
Generated Node #0,0: 77:[85, 53, 61] Operation: 10+51=61
Exploring Operation: 51+53=104, Resulting Numbers: [85, 10, 104]
Generated Node #0,1: 77:[85, 10, 104] Operation: 51+53=104
Exploring Operation: 53-51=2, Resulting Numbers: [85, 10, 2]
Generated Node #0,2: 77:[85, 10, 2] Operation: 53-51=2
Exploring Operation: 85-51=34, Resulting Numbers: [10, 53, 34]
Generated Node #0,3: 77:[10, 53, 34] Operation: 85-51=34
Exploring Operation: 85-53=32, Resulting Numbers: [10, 51, 32]
Generated Node #0,4: 77:[10, 51, 32] Operation: 85-53=32
Moving to Node #0,2
Current State: 77:[85, 10, 2], Operations: ['53-51=2']
Exploring Operation: 85-10=75, Resulting Numbers: [2, 75]
Generated Node #0,2,0: 77:[2, 75] Operation: 85-10=75
Exploring Operation: 85-2=83, Resulting Numbers: [10, 83]
Generated Node #0,2,1: 77:[10, 83] Operation: 85-2=83
Exploring Operation: 10+2=12, Resulting Numbers: [85, 12]
Generated Node #0,2,2: 77:[85, 12] Operation: 10+2=12
Exploring Operation: 10/2=5, Resulting Numbers: [85, 5]
Generated Node #0,2,3: 77:[85, 5] Operation: 10/2=5
Exploring Operation: 10-2=8, Resulting Numbers: [85, 8]
Generated Node #0,2,4: 77:[85, 8] Operation: 10-2=8
Moving to Node #0,1
Current State: 77:[85, 10, 104], Operations: ['51+53=104']
Exploring Operation: 85-10=75, Resulting Numbers: [104, 75]
Generated Node #0,1,0: 77:[104, 75] Operation: 85-10=75
Exploring Operation: 104-85=19, Resulting Numbers: [10, 19]
Generated Node #0,1,1: 77:[10, 19] Operation: 104-85=19
Exploring Operation: 10+104=114, Resulting Numbers: [85, 114]
Generated Node #0,1,2: 77:[85, 114] Operation: 10+104=114
Exploring Operation: 104-10=94, Resulting Numbers: [85, 94]
Generated Node #0,1,3: 77:[85, 94] Operation: 104-10=94
Exploring Operation: 85+10=95, Resulting Numbers: [104, 95]
Generated Node #0,1,4: 77:[104, 95] Operation: 85+10=95
Moving to Node #0,0
Current State: 77:[85, 53, 61], Operations: ['10+51=61']
Exploring Operation: 53+61=114, Resulting Numbers: [85, 114]
Generated Node #0,0,0: 77:[85, 114] Operation: 53+61=114
Exploring Operation: 85-53=32, Resulting Numbers: [61, 32]
Generated Node #0,0,1: 77:[61, 32] Operation: 85-53=32
Exploring Operation: 61-53=8, Resulting Numbers: [85, 8]
Generated Node #0,0,2: 77:[85, 8] Operation: 61-53=8
Exploring Operation: 85+53=138, Resulting Numbers: [61, 138]
Generated Node #0,0,3: 77:[61, 138] Operation: 85+53=138
Exploring Operation: 85-61=24, Resulting Numbers: [53, 24]
Generated Node #0,0,4: 77:[53, 24] Operation: 85-61=24
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 77:[85, 8], Operations: ['10+51=61', '61-53=8']
Exploring Operation: 85*8=680, Resulting Numbers: [680]
680,77 unequal: No Solution
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[85, 10, 51, 53], Operations: []
Exploring Operation: 10+51=61, Resulting Numbers: [85, 53, 61]
Generated Node #0,0: 77:[85, 53, 61] Operation: 10+51=61
Moving to Node #0,0
Current State: 77:[85, 53, 61], Operations: ['10+51=61']
Exploring Operation: 61-53=8, Resulting Numbers: [85, 8]
Generated Node #0,0,2: 77:[85, 8] Operation: 61-53=8
Moving to Node #0,0,2
Current State: 77:[85, 8], Operations: ['10+51=61', '61-53=8']
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | sum_heuristic |
[
35,
90,
12,
98
] | 55 | [
"90-35=55",
"12+98=110",
"110-55=55"
] | Current State: 55:[35, 90, 12, 98], Operations: []
Exploring Operation: 90-35=55, Resulting Numbers: [12, 98, 55]
Generated Node #2: [12, 98, 55] from Operation: 90-35=55
Current State: 55:[12, 98, 55], Operations: ['90-35=55']
Exploring Operation: 12+98=110, Resulting Numbers: [55, 110]
Generated Node #3: [55, 110] from Operation: 12+98=110
Current State: 55:[55, 110], Operations: ['90-35=55', '12+98=110']
Exploring Operation: 110-55=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[35, 90, 12, 98], Operations: []
Exploring Operation: 98-90=8, Resulting Numbers: [35, 12, 8]
Generated Node #0,0: 55:[35, 12, 8] Operation: 98-90=8
Exploring Operation: 90-35=55, Resulting Numbers: [12, 98, 55]
Generated Node #0,1: 55:[12, 98, 55] Operation: 90-35=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[35, 12, 8], Operations: ['98-90=8']
Exploring Operation: 35+8=43, Resulting Numbers: [12, 43]
Generated Node #0,0,0: 55:[12, 43] Operation: 35+8=43
Exploring Operation: 35+12=47, Resulting Numbers: [8, 47]
Generated Node #0,0,1: 55:[8, 47] Operation: 35+12=47
Moving to Node #0,0,1
Current State: 55:[8, 47], Operations: ['98-90=8', '35+12=47']
Exploring Operation: 8+47=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[35, 90, 12, 98], Operations: []
Exploring Operation: 98-90=8, Resulting Numbers: [35, 12, 8]
Generated Node #0,0: 55:[35, 12, 8] Operation: 98-90=8
Moving to Node #0,0
Current State: 55:[35, 12, 8], Operations: ['98-90=8']
Exploring Operation: 35+12=47, Resulting Numbers: [8, 47]
Generated Node #0,0,1: 55:[8, 47] Operation: 35+12=47
Moving to Node #0,0,1
Current State: 55:[8, 47], Operations: ['98-90=8', '35+12=47']
Exploring Operation: 8+47=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
44,
18,
44,
36
] | 17 | [
"44/44=1",
"36-18=18",
"18-1=17"
] | Current State: 17:[44, 18, 44, 36], Operations: []
Exploring Operation: 44/44=1, Resulting Numbers: [18, 36, 1]
Generated Node #2: [18, 36, 1] from Operation: 44/44=1
Current State: 17:[18, 36, 1], Operations: ['44/44=1']
Exploring Operation: 36-18=18, Resulting Numbers: [1, 18]
Generated Node #3: [1, 18] from Operation: 36-18=18
Current State: 17:[1, 18], Operations: ['44/44=1', '36-18=18']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[44, 18, 44, 36], Operations: []
Exploring Operation: 44-44=0, Resulting Numbers: [18, 36, 0]
Generated Node #0,0: 17:[18, 36, 0] Operation: 44-44=0
Exploring Operation: 44/44=1, Resulting Numbers: [18, 36, 1]
Generated Node #0,1: 17:[18, 36, 1] Operation: 44/44=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[18, 36, 1], Operations: ['44/44=1']
Exploring Operation: 18-1=17, Resulting Numbers: [36, 17]
Generated Node #0,1,0: 17:[36, 17] Operation: 18-1=17
Exploring Operation: 36-18=18, Resulting Numbers: [1, 18]
Generated Node #0,1,1: 17:[1, 18] Operation: 36-18=18
Moving to Node #0,1,1
Current State: 17:[1, 18], Operations: ['44/44=1', '36-18=18']
Exploring Operation: 1*18=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[44, 18, 44, 36], Operations: []
Exploring Operation: 44/44=1, Resulting Numbers: [18, 36, 1]
Generated Node #0,1: 17:[18, 36, 1] Operation: 44/44=1
Moving to Node #0,1
Current State: 17:[18, 36, 1], Operations: ['44/44=1']
Exploring Operation: 36-18=18, Resulting Numbers: [1, 18]
Generated Node #0,1,1: 17:[1, 18] Operation: 36-18=18
Moving to Node #0,1,1
Current State: 17:[1, 18], Operations: ['44/44=1', '36-18=18']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
19,
37,
77,
2
] | 99 | [
"77-37=40",
"2*40=80",
"19+80=99"
] | Current State: 99:[19, 37, 77, 2], Operations: []
Exploring Operation: 77-37=40, Resulting Numbers: [19, 2, 40]
Generated Node #2: [19, 2, 40] from Operation: 77-37=40
Current State: 99:[19, 2, 40], Operations: ['77-37=40']
Exploring Operation: 2*40=80, Resulting Numbers: [19, 80]
Generated Node #3: [19, 80] from Operation: 2*40=80
Current State: 99:[19, 80], Operations: ['77-37=40', '2*40=80']
Exploring Operation: 19+80=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[19, 37, 77, 2], Operations: []
Exploring Operation: 19+77=96, Resulting Numbers: [37, 2, 96]
Generated Node #0,0: 99:[37, 2, 96] Operation: 19+77=96
Moving to Node #0,0
Current State: 99:[37, 2, 96], Operations: ['19+77=96']
Exploring Operation: 37-2=35, Resulting Numbers: [96, 35]
Generated Node #0,0,0: 99:[96, 35] Operation: 37-2=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[96, 35], Operations: ['19+77=96', '37-2=35']
Exploring Operation: 96-35=61, Resulting Numbers: [61]
61,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
33,
11,
19,
97
] | 75 | [
"33/11=3",
"97-19=78",
"78-3=75"
] | Current State: 75:[33, 11, 19, 97], Operations: []
Exploring Operation: 33/11=3, Resulting Numbers: [19, 97, 3]
Generated Node #2: [19, 97, 3] from Operation: 33/11=3
Current State: 75:[19, 97, 3], Operations: ['33/11=3']
Exploring Operation: 97-19=78, Resulting Numbers: [3, 78]
Generated Node #3: [3, 78] from Operation: 97-19=78
Current State: 75:[3, 78], Operations: ['33/11=3', '97-19=78']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[33, 11, 19, 97], Operations: []
Exploring Operation: 33-19=14, Resulting Numbers: [11, 97, 14]
Generated Node #0,0: 75:[11, 97, 14] Operation: 33-19=14
Exploring Operation: 33/11=3, Resulting Numbers: [19, 97, 3]
Generated Node #0,1: 75:[19, 97, 3] Operation: 33/11=3
Exploring Operation: 97-19=78, Resulting Numbers: [33, 11, 78]
Generated Node #0,2: 75:[33, 11, 78] Operation: 97-19=78
Exploring Operation: 97-33=64, Resulting Numbers: [11, 19, 64]
Generated Node #0,3: 75:[11, 19, 64] Operation: 97-33=64
Exploring Operation: 97-11=86, Resulting Numbers: [33, 19, 86]
Generated Node #0,4: 75:[33, 19, 86] Operation: 97-11=86
Moving to Node #0,2
Current State: 75:[33, 11, 78], Operations: ['97-19=78']
Exploring Operation: 33+11=44, Resulting Numbers: [78, 44]
Generated Node #0,2,0: 75:[78, 44] Operation: 33+11=44
Exploring Operation: 33/11=3, Resulting Numbers: [78, 3]
Generated Node #0,2,1: 75:[78, 3] Operation: 33/11=3
Exploring Operation: 11+78=89, Resulting Numbers: [33, 89]
Generated Node #0,2,2: 75:[33, 89] Operation: 11+78=89
Exploring Operation: 78-11=67, Resulting Numbers: [33, 67]
Generated Node #0,2,3: 75:[33, 67] Operation: 78-11=67
Exploring Operation: 33-11=22, Resulting Numbers: [78, 22]
Generated Node #0,2,4: 75:[78, 22] Operation: 33-11=22
Moving to Node #0,3
Current State: 75:[11, 19, 64], Operations: ['97-33=64']
Exploring Operation: 64-19=45, Resulting Numbers: [11, 45]
Generated Node #0,3,0: 75:[11, 45] Operation: 64-19=45
Exploring Operation: 19+64=83, Resulting Numbers: [11, 83]
Generated Node #0,3,1: 75:[11, 83] Operation: 19+64=83
Exploring Operation: 11+64=75, Resulting Numbers: [19, 75]
Generated Node #0,3,2: 75:[19, 75] Operation: 11+64=75
Exploring Operation: 19-11=8, Resulting Numbers: [64, 8]
Generated Node #0,3,3: 75:[64, 8] Operation: 19-11=8
Exploring Operation: 11+19=30, Resulting Numbers: [64, 30]
Generated Node #0,3,4: 75:[64, 30] Operation: 11+19=30
Moving to Node #0,4
Current State: 75:[33, 19, 86], Operations: ['97-11=86']
Exploring Operation: 86-33=53, Resulting Numbers: [19, 53]
Generated Node #0,4,0: 75:[19, 53] Operation: 86-33=53
Exploring Operation: 33+19=52, Resulting Numbers: [86, 52]
Generated Node #0,4,1: 75:[86, 52] Operation: 33+19=52
Exploring Operation: 86-19=67, Resulting Numbers: [33, 67]
Generated Node #0,4,2: 75:[33, 67] Operation: 86-19=67
Exploring Operation: 33-19=14, Resulting Numbers: [86, 14]
Generated Node #0,4,3: 75:[86, 14] Operation: 33-19=14
Exploring Operation: 19+86=105, Resulting Numbers: [33, 105]
Generated Node #0,4,4: 75:[33, 105] Operation: 19+86=105
Moving to Node #0,1
Current State: 75:[19, 97, 3], Operations: ['33/11=3']
Exploring Operation: 19+3=22, Resulting Numbers: [97, 22]
Generated Node #0,1,0: 75:[97, 22] Operation: 19+3=22
Exploring Operation: 97+3=100, Resulting Numbers: [19, 100]
Generated Node #0,1,1: 75:[19, 100] Operation: 97+3=100
Exploring Operation: 97-19=78, Resulting Numbers: [3, 78]
Generated Node #0,1,2: 75:[3, 78] Operation: 97-19=78
Exploring Operation: 19-3=16, Resulting Numbers: [97, 16]
Generated Node #0,1,3: 75:[97, 16] Operation: 19-3=16
Exploring Operation: 97-3=94, Resulting Numbers: [19, 94]
Generated Node #0,1,4: 75:[19, 94] Operation: 97-3=94
Moving to Node #0,0
Current State: 75:[11, 97, 14], Operations: ['33-19=14']
Exploring Operation: 11+97=108, Resulting Numbers: [14, 108]
Generated Node #0,0,0: 75:[14, 108] Operation: 11+97=108
Exploring Operation: 97-14=83, Resulting Numbers: [11, 83]
Generated Node #0,0,1: 75:[11, 83] Operation: 97-14=83
Exploring Operation: 11+14=25, Resulting Numbers: [97, 25]
Generated Node #0,0,2: 75:[97, 25] Operation: 11+14=25
Exploring Operation: 97-11=86, Resulting Numbers: [14, 86]
Generated Node #0,0,3: 75:[14, 86] Operation: 97-11=86
Exploring Operation: 14-11=3, Resulting Numbers: [97, 3]
Generated Node #0,0,4: 75:[97, 3] Operation: 14-11=3
Moving to Node #0,2,1
Current State: 75:[78, 3], Operations: ['97-19=78', '33/11=3']
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,75 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[33, 11, 19, 97], Operations: []
Exploring Operation: 97-19=78, Resulting Numbers: [33, 11, 78]
Generated Node #0,2: 75:[33, 11, 78] Operation: 97-19=78
Moving to Node #0,2
Current State: 75:[33, 11, 78], Operations: ['97-19=78']
Exploring Operation: 33/11=3, Resulting Numbers: [78, 3]
Generated Node #0,2,1: 75:[78, 3] Operation: 33/11=3
Moving to Node #0,2,1
Current State: 75:[78, 3], Operations: ['97-19=78', '33/11=3']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 0.96875 | hs_5 | mult_heuristic |
[
2,
17,
9,
15
] | 65 | [
"9+15=24",
"2*24=48",
"17+48=65"
] | Current State: 65:[2, 17, 9, 15], Operations: []
Exploring Operation: 9+15=24, Resulting Numbers: [2, 17, 24]
Generated Node #2: [2, 17, 24] from Operation: 9+15=24
Current State: 65:[2, 17, 24], Operations: ['9+15=24']
Exploring Operation: 2*24=48, Resulting Numbers: [17, 48]
Generated Node #3: [17, 48] from Operation: 2*24=48
Current State: 65:[17, 48], Operations: ['9+15=24', '2*24=48']
Exploring Operation: 17+48=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[2, 17, 9, 15], Operations: []
Exploring Operation: 17-2=15, Resulting Numbers: [9, 15, 15]
Generated Node #0,0: 65:[9, 15, 15] Operation: 17-2=15
Moving to Node #0,0
Current State: 65:[9, 15, 15], Operations: ['17-2=15']
Exploring Operation: 15-9=6, Resulting Numbers: [15, 6]
Generated Node #0,0,0: 65:[15, 6] Operation: 15-9=6
Moving to Node #0,0,0
Current State: 65:[15, 6], Operations: ['17-2=15', '15-9=6']
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,65 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
34,
68,
14,
39
] | 19 | [
"68-34=34",
"14+39=53",
"53-34=19"
] | Current State: 19:[34, 68, 14, 39], Operations: []
Exploring Operation: 68-34=34, Resulting Numbers: [14, 39, 34]
Generated Node #2: [14, 39, 34] from Operation: 68-34=34
Current State: 19:[14, 39, 34], Operations: ['68-34=34']
Exploring Operation: 14+39=53, Resulting Numbers: [34, 53]
Generated Node #3: [34, 53] from Operation: 14+39=53
Current State: 19:[34, 53], Operations: ['68-34=34', '14+39=53']
Exploring Operation: 53-34=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[34, 68, 14, 39], Operations: []
Exploring Operation: 68-34=34, Resulting Numbers: [14, 39, 34]
Generated Node #0,0: 19:[14, 39, 34] Operation: 68-34=34
Exploring Operation: 68-39=29, Resulting Numbers: [34, 14, 29]
Generated Node #0,1: 19:[34, 14, 29] Operation: 68-39=29
Moving to Node #0,1
Current State: 19:[34, 14, 29], Operations: ['68-39=29']
Exploring Operation: 34-29=5, Resulting Numbers: [14, 5]
Generated Node #0,1,0: 19:[14, 5] Operation: 34-29=5
Exploring Operation: 34-14=20, Resulting Numbers: [29, 20]
Generated Node #0,1,1: 19:[29, 20] Operation: 34-14=20
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 19:[29, 20], Operations: ['68-39=29', '34-14=20']
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 29+20=49, Resulting Numbers: [49]
49,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,0
Current State: 19:[14, 5], Operations: ['68-39=29', '34-29=5']
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[34, 68, 14, 39], Operations: []
Exploring Operation: 68-39=29, Resulting Numbers: [34, 14, 29]
Generated Node #0,1: 19:[34, 14, 29] Operation: 68-39=29
Moving to Node #0,1
Current State: 19:[34, 14, 29], Operations: ['68-39=29']
Exploring Operation: 34-29=5, Resulting Numbers: [14, 5]
Generated Node #0,1,0: 19:[14, 5] Operation: 34-29=5
Moving to Node #0,1,0
Current State: 19:[14, 5], Operations: ['68-39=29', '34-29=5']
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
30,
52,
44,
50
] | 58 | [
"52-50=2",
"44*2=88",
"88-30=58"
] | Current State: 58:[30, 52, 44, 50], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [30, 44, 2]
Generated Node #2: [30, 44, 2] from Operation: 52-50=2
Current State: 58:[30, 44, 2], Operations: ['52-50=2']
Exploring Operation: 44*2=88, Resulting Numbers: [30, 88]
Generated Node #3: [30, 88] from Operation: 44*2=88
Current State: 58:[30, 88], Operations: ['52-50=2', '44*2=88']
Exploring Operation: 88-30=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[30, 52, 44, 50], Operations: []
Exploring Operation: 44-30=14, Resulting Numbers: [52, 50, 14]
Generated Node #0,0: 58:[52, 50, 14] Operation: 44-30=14
Exploring Operation: 52-44=8, Resulting Numbers: [30, 50, 8]
Generated Node #0,1: 58:[30, 50, 8] Operation: 52-44=8
Exploring Operation: 50-44=6, Resulting Numbers: [30, 52, 6]
Generated Node #0,2: 58:[30, 52, 6] Operation: 50-44=6
Exploring Operation: 52-50=2, Resulting Numbers: [30, 44, 2]
Generated Node #0,3: 58:[30, 44, 2] Operation: 52-50=2
Moving to Node #0,2
Current State: 58:[30, 52, 6], Operations: ['50-44=6']
Exploring Operation: 52+6=58, Resulting Numbers: [30, 58]
Generated Node #0,2,0: 58:[30, 58] Operation: 52+6=58
Exploring Operation: 52-30=22, Resulting Numbers: [6, 22]
Generated Node #0,2,1: 58:[6, 22] Operation: 52-30=22
Exploring Operation: 30/6=5, Resulting Numbers: [52, 5]
Generated Node #0,2,2: 58:[52, 5] Operation: 30/6=5
Exploring Operation: 30-6=24, Resulting Numbers: [52, 24]
Generated Node #0,2,3: 58:[52, 24] Operation: 30-6=24
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 58:[30, 58], Operations: ['50-44=6', '52+6=58']
Exploring Operation: 30*58=1740, Resulting Numbers: [1740]
1740,58 unequal: No Solution
Exploring Operation: 30+58=88, Resulting Numbers: [88]
88,58 unequal: No Solution
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,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,2
Current State: 58:[52, 5], Operations: ['50-44=6', '30/6=5']
Exploring Operation: 52*5=260, Resulting Numbers: [260]
260,58 unequal: No Solution
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,58 unequal: No Solution
Exploring Operation: 52+5=57, Resulting Numbers: [57]
57,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:[6, 22], Operations: ['50-44=6', '52-30=22']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,58 unequal: No Solution
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,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:[52, 24], Operations: ['50-44=6', '30-6=24']
Exploring Operation: 52+24=76, Resulting Numbers: [76]
76,58 unequal: No Solution
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 52*24=1248, Resulting Numbers: [1248]
1248,58 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: 58:[30, 44, 2], Operations: ['52-50=2']
Exploring Operation: 44/2=22, Resulting Numbers: [30, 22]
Generated Node #0,3,0: 58:[30, 22] Operation: 44/2=22
Exploring Operation: 44+2=46, Resulting Numbers: [30, 46]
Generated Node #0,3,1: 58:[30, 46] Operation: 44+2=46
Exploring Operation: 44-30=14, Resulting Numbers: [2, 14]
Generated Node #0,3,2: 58:[2, 14] Operation: 44-30=14
Exploring Operation: 44-2=42, Resulting Numbers: [30, 42]
Generated Node #0,3,3: 58:[30, 42] Operation: 44-2=42
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 58:[30, 22], Operations: ['52-50=2', '44/2=22']
Exploring Operation: 30+22=52, Resulting Numbers: [52]
52,58 unequal: No Solution
Exploring Operation: 30*22=660, Resulting Numbers: [660]
660,58 unequal: No Solution
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,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,3,2
Current State: 58:[2, 14], Operations: ['52-50=2', '44-30=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,58 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,58 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,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,3,1
Current State: 58:[30, 46], Operations: ['52-50=2', '44+2=46']
Exploring Operation: 30*46=1380, Resulting Numbers: [1380]
1380,58 unequal: No Solution
Exploring Operation: 30+46=76, Resulting Numbers: [76]
76,58 unequal: No Solution
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,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,3,3
Current State: 58:[30, 42], Operations: ['52-50=2', '44-2=42']
Exploring Operation: 30+42=72, Resulting Numbers: [72]
72,58 unequal: No Solution
Exploring Operation: 30*42=1260, Resulting Numbers: [1260]
1260,58 unequal: No Solution
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,58 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: 58:[30, 50, 8], Operations: ['52-44=8']
Exploring Operation: 50+8=58, Resulting Numbers: [30, 58]
Generated Node #0,1,0: 58:[30, 58] Operation: 50+8=58
Exploring Operation: 30-8=22, Resulting Numbers: [50, 22]
Generated Node #0,1,1: 58:[50, 22] Operation: 30-8=22
Exploring Operation: 50-30=20, Resulting Numbers: [8, 20]
Generated Node #0,1,2: 58:[8, 20] Operation: 50-30=20
Exploring Operation: 50-8=42, Resulting Numbers: [30, 42]
Generated Node #0,1,3: 58:[30, 42] Operation: 50-8=42
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[30, 58], Operations: ['52-44=8', '50+8=58']
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 30*58=1740, Resulting Numbers: [1740]
1740,58 unequal: No Solution
Exploring Operation: 30+58=88, Resulting Numbers: [88]
88,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:[30, 42], Operations: ['52-44=8', '50-8=42']
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,58 unequal: No Solution
Exploring Operation: 30+42=72, Resulting Numbers: [72]
72,58 unequal: No Solution
Exploring Operation: 30*42=1260, Resulting Numbers: [1260]
1260,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:[50, 22], Operations: ['52-44=8', '30-8=22']
Exploring Operation: 50+22=72, Resulting Numbers: [72]
72,58 unequal: No Solution
Exploring Operation: 50*22=1100, Resulting Numbers: [1100]
1100,58 unequal: No Solution
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,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,2
Current State: 58:[8, 20], Operations: ['52-44=8', '50-30=20']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,58 unequal: No Solution
Exploring Operation: 8*20=160, Resulting Numbers: [160]
160,58 unequal: No Solution
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,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:[52, 50, 14], Operations: ['44-30=14']
Exploring Operation: 50+14=64, Resulting Numbers: [52, 64]
Generated Node #0,0,0: 58:[52, 64] Operation: 50+14=64
Exploring Operation: 50-14=36, Resulting Numbers: [52, 36]
Generated Node #0,0,1: 58:[52, 36] Operation: 50-14=36
Exploring Operation: 52-50=2, Resulting Numbers: [14, 2]
Generated Node #0,0,2: 58:[14, 2] Operation: 52-50=2
Exploring Operation: 52+14=66, Resulting Numbers: [50, 66]
Generated Node #0,0,3: 58:[50, 66] Operation: 52+14=66
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[52, 64], Operations: ['44-30=14', '50+14=64']
Exploring Operation: 52*64=3328, Resulting Numbers: [3328]
3328,58 unequal: No Solution
Exploring Operation: 52+64=116, Resulting Numbers: [116]
116,58 unequal: No Solution
Exploring Operation: 64-52=12, Resulting Numbers: [12]
12,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,0,2
Current State: 58:[14, 2], Operations: ['44-30=14', '52-50=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,58 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,58 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,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,0,1
Current State: 58:[52, 36], Operations: ['44-30=14', '50-14=36']
Exploring Operation: 52+36=88, Resulting Numbers: [88]
88,58 unequal: No Solution
Exploring Operation: 52-36=16, Resulting Numbers: [16]
16,58 unequal: No Solution
Exploring Operation: 52*36=1872, Resulting Numbers: [1872]
1872,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,0,3
Current State: 58:[50, 66], Operations: ['44-30=14', '52+14=66']
Exploring Operation: 50*66=3300, Resulting Numbers: [3300]
3300,58 unequal: No Solution
Exploring Operation: 50+66=116, Resulting Numbers: [116]
116,58 unequal: No Solution
Exploring Operation: 66-50=16, Resulting Numbers: [16]
16,58 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 |
[
57,
5,
66,
55
] | 41 | [
"57-5=52",
"66-55=11",
"52-11=41"
] | Current State: 41:[57, 5, 66, 55], Operations: []
Exploring Operation: 57-5=52, Resulting Numbers: [66, 55, 52]
Generated Node #2: [66, 55, 52] from Operation: 57-5=52
Current State: 41:[66, 55, 52], Operations: ['57-5=52']
Exploring Operation: 66-55=11, Resulting Numbers: [52, 11]
Generated Node #3: [52, 11] from Operation: 66-55=11
Current State: 41:[52, 11], Operations: ['57-5=52', '66-55=11']
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[57, 5, 66, 55], Operations: []
Exploring Operation: 57-5=52, Resulting Numbers: [66, 55, 52]
Generated Node #0,0: 41:[66, 55, 52] Operation: 57-5=52
Moving to Node #0,0
Current State: 41:[66, 55, 52], Operations: ['57-5=52']
Exploring Operation: 66-55=11, Resulting Numbers: [52, 11]
Generated Node #0,0,0: 41:[52, 11] Operation: 66-55=11
Moving to Node #0,0,0
Current State: 41:[52, 11], Operations: ['57-5=52', '66-55=11']
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[57, 5, 66, 55], Operations: []
Exploring Operation: 57-5=52, Resulting Numbers: [66, 55, 52]
Generated Node #0,0: 41:[66, 55, 52] Operation: 57-5=52
Moving to Node #0,0
Current State: 41:[66, 55, 52], Operations: ['57-5=52']
Exploring Operation: 66-55=11, Resulting Numbers: [52, 11]
Generated Node #0,0,0: 41:[52, 11] Operation: 66-55=11
Moving to Node #0,0,0
Current State: 41:[52, 11], Operations: ['57-5=52', '66-55=11']
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
83,
21,
69,
8
] | 43 | [
"83+21=104",
"69-8=61",
"104-61=43"
] | Current State: 43:[83, 21, 69, 8], Operations: []
Exploring Operation: 83+21=104, Resulting Numbers: [69, 8, 104]
Generated Node #2: [69, 8, 104] from Operation: 83+21=104
Current State: 43:[69, 8, 104], Operations: ['83+21=104']
Exploring Operation: 69-8=61, Resulting Numbers: [104, 61]
Generated Node #3: [104, 61] from Operation: 69-8=61
Current State: 43:[104, 61], Operations: ['83+21=104', '69-8=61']
Exploring Operation: 104-61=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[83, 21, 69, 8], Operations: []
Exploring Operation: 83-21=62, Resulting Numbers: [69, 8, 62]
Generated Node #0,0: 43:[69, 8, 62] Operation: 83-21=62
Moving to Node #0,0
Current State: 43:[69, 8, 62], Operations: ['83-21=62']
Exploring Operation: 69-8=61, Resulting Numbers: [62, 61]
Generated Node #0,0,0: 43:[62, 61] Operation: 69-8=61
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[62, 61], Operations: ['83-21=62', '69-8=61']
Exploring Operation: 62-61=1, Resulting Numbers: [1]
1,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
84,
1,
80,
82
] | 40 | [
"84*1=84",
"84-82=2",
"80/2=40"
] | Current State: 40:[84, 1, 80, 82], Operations: []
Exploring Operation: 84*1=84, Resulting Numbers: [80, 82, 84]
Generated Node #2: [80, 82, 84] from Operation: 84*1=84
Current State: 40:[80, 82, 84], Operations: ['84*1=84']
Exploring Operation: 84-82=2, Resulting Numbers: [80, 2]
Generated Node #3: [80, 2] from Operation: 84-82=2
Current State: 40:[80, 2], Operations: ['84*1=84', '84-82=2']
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[84, 1, 80, 82], Operations: []
Exploring Operation: 84-82=2, Resulting Numbers: [1, 80, 2]
Generated Node #0,0: 40:[1, 80, 2] Operation: 84-82=2
Moving to Node #0,0
Current State: 40:[1, 80, 2], Operations: ['84-82=2']
Exploring Operation: 80/2=40, Resulting Numbers: [1, 40]
Generated Node #0,0,0: 40:[1, 40] Operation: 80/2=40
Moving to Node #0,0,0
Current State: 40:[1, 40], Operations: ['84-82=2', '80/2=40']
Exploring Operation: 1*40=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[84, 1, 80, 82], Operations: []
Exploring Operation: 84-82=2, Resulting Numbers: [1, 80, 2]
Generated Node #0,0: 40:[1, 80, 2] Operation: 84-82=2
Moving to Node #0,0
Current State: 40:[1, 80, 2], Operations: ['84-82=2']
Exploring Operation: 80/2=40, Resulting Numbers: [1, 40]
Generated Node #0,0,0: 40:[1, 40] Operation: 80/2=40
Moving to Node #0,0,0
Current State: 40:[1, 40], Operations: ['84-82=2', '80/2=40']
Exploring Operation: 1*40=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
40,
4,
86,
89
] | 13 | [
"40/4=10",
"89-86=3",
"10+3=13"
] | Current State: 13:[40, 4, 86, 89], Operations: []
Exploring Operation: 40/4=10, Resulting Numbers: [86, 89, 10]
Generated Node #2: [86, 89, 10] from Operation: 40/4=10
Current State: 13:[86, 89, 10], Operations: ['40/4=10']
Exploring Operation: 89-86=3, Resulting Numbers: [10, 3]
Generated Node #3: [10, 3] from Operation: 89-86=3
Current State: 13:[10, 3], Operations: ['40/4=10', '89-86=3']
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[40, 4, 86, 89], Operations: []
Exploring Operation: 89-40=49, Resulting Numbers: [4, 86, 49]
Generated Node #0,0: 13:[4, 86, 49] Operation: 89-40=49
Exploring Operation: 89-86=3, Resulting Numbers: [40, 4, 3]
Generated Node #0,1: 13:[40, 4, 3] Operation: 89-86=3
Exploring Operation: 40/4=10, Resulting Numbers: [86, 89, 10]
Generated Node #0,2: 13:[86, 89, 10] Operation: 40/4=10
Exploring Operation: 86-40=46, Resulting Numbers: [4, 89, 46]
Generated Node #0,3: 13:[4, 89, 46] Operation: 86-40=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[40, 4, 3], Operations: ['89-86=3']
Exploring Operation: 40-4=36, Resulting Numbers: [3, 36]
Generated Node #0,1,0: 13:[3, 36] Operation: 40-4=36
Exploring Operation: 4*3=12, Resulting Numbers: [40, 12]
Generated Node #0,1,1: 13:[40, 12] Operation: 4*3=12
Exploring Operation: 40/4=10, Resulting Numbers: [3, 10]
Generated Node #0,1,2: 13:[3, 10] Operation: 40/4=10
Exploring Operation: 40-3=37, Resulting Numbers: [4, 37]
Generated Node #0,1,3: 13:[4, 37] Operation: 40-3=37
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 13:[3, 10], Operations: ['89-86=3', '40/4=10']
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[40, 4, 86, 89], Operations: []
Exploring Operation: 89-86=3, Resulting Numbers: [40, 4, 3]
Generated Node #0,1: 13:[40, 4, 3] Operation: 89-86=3
Moving to Node #0,1
Current State: 13:[40, 4, 3], Operations: ['89-86=3']
Exploring Operation: 40/4=10, Resulting Numbers: [3, 10]
Generated Node #0,1,2: 13:[3, 10] Operation: 40/4=10
Moving to Node #0,1,2
Current State: 13:[3, 10], Operations: ['89-86=3', '40/4=10']
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
36,
82,
3,
75
] | 71 | [
"82-36=46",
"75/3=25",
"46+25=71"
] | Current State: 71:[36, 82, 3, 75], Operations: []
Exploring Operation: 82-36=46, Resulting Numbers: [3, 75, 46]
Generated Node #2: [3, 75, 46] from Operation: 82-36=46
Current State: 71:[3, 75, 46], Operations: ['82-36=46']
Exploring Operation: 75/3=25, Resulting Numbers: [46, 25]
Generated Node #3: [46, 25] from Operation: 75/3=25
Current State: 71:[46, 25], Operations: ['82-36=46', '75/3=25']
Exploring Operation: 46+25=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[36, 82, 3, 75], Operations: []
Exploring Operation: 36+3=39, Resulting Numbers: [82, 75, 39]
Generated Node #0,0: 71:[82, 75, 39] Operation: 36+3=39
Exploring Operation: 75-3=72, Resulting Numbers: [36, 82, 72]
Generated Node #0,1: 71:[36, 82, 72] Operation: 75-3=72
Exploring Operation: 82-3=79, Resulting Numbers: [36, 75, 79]
Generated Node #0,2: 71:[36, 75, 79] Operation: 82-3=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[82, 75, 39], Operations: ['36+3=39']
Exploring Operation: 82-39=43, Resulting Numbers: [75, 43]
Generated Node #0,0,0: 71:[75, 43] Operation: 82-39=43
Exploring Operation: 75-39=36, Resulting Numbers: [82, 36]
Generated Node #0,0,1: 71:[82, 36] Operation: 75-39=36
Exploring Operation: 82+39=121, Resulting Numbers: [75, 121]
Generated Node #0,0,2: 71:[75, 121] Operation: 82+39=121
Moving to Node #0,0,0
Current State: 71:[75, 43], Operations: ['36+3=39', '82-39=43']
Exploring Operation: 75+43=118, Resulting Numbers: [118]
118,71 unequal: No Solution
Exploring Operation: 75-43=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 75*43=3225, Resulting Numbers: [3225]
3225,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[82, 36], Operations: ['36+3=39', '75-39=36']
Exploring Operation: 82+36=118, Resulting Numbers: [118]
118,71 unequal: No Solution
Exploring Operation: 82-36=46, Resulting Numbers: [46]
46,71 unequal: No Solution
Exploring Operation: 82*36=2952, Resulting Numbers: [2952]
2952,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[75, 121], Operations: ['36+3=39', '82+39=121']
Exploring Operation: 75*121=9075, Resulting Numbers: [9075]
9075,71 unequal: No Solution
Exploring Operation: 75+121=196, Resulting Numbers: [196]
196,71 unequal: No Solution
Exploring Operation: 121-75=46, Resulting Numbers: [46]
46,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[36, 82, 72], Operations: ['75-3=72']
Exploring Operation: 82-36=46, Resulting Numbers: [72, 46]
Generated Node #0,1,0: 71:[72, 46] Operation: 82-36=46
Exploring Operation: 36+82=118, Resulting Numbers: [72, 118]
Generated Node #0,1,1: 71:[72, 118] Operation: 36+82=118
Exploring Operation: 72-36=36, Resulting Numbers: [82, 36]
Generated Node #0,1,2: 71:[82, 36] Operation: 72-36=36
Moving to Node #0,1,0
Current State: 71:[72, 46], Operations: ['75-3=72', '82-36=46']
Exploring Operation: 72+46=118, Resulting Numbers: [118]
118,71 unequal: No Solution
Exploring Operation: 72-46=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Exploring Operation: 72*46=3312, Resulting Numbers: [3312]
3312,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[82, 36], Operations: ['75-3=72', '72-36=36']
Exploring Operation: 82-36=46, Resulting Numbers: [46]
46,71 unequal: No Solution
Exploring Operation: 82*36=2952, Resulting Numbers: [2952]
2952,71 unequal: No Solution
Exploring Operation: 82+36=118, Resulting Numbers: [118]
118,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[72, 118], Operations: ['75-3=72', '36+82=118']
Exploring Operation: 72+118=190, Resulting Numbers: [190]
190,71 unequal: No Solution
Exploring Operation: 72*118=8496, Resulting Numbers: [8496]
8496,71 unequal: No Solution
Exploring Operation: 118-72=46, Resulting Numbers: [46]
46,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[36, 75, 79], Operations: ['82-3=79']
Exploring Operation: 79-36=43, Resulting Numbers: [75, 43]
Generated Node #0,2,0: 71:[75, 43] Operation: 79-36=43
Exploring Operation: 36+75=111, Resulting Numbers: [79, 111]
Generated Node #0,2,1: 71:[79, 111] Operation: 36+75=111
Exploring Operation: 75-36=39, Resulting Numbers: [79, 39]
Generated Node #0,2,2: 71:[79, 39] Operation: 75-36=39
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 71:[75, 43], Operations: ['82-3=79', '79-36=43']
Exploring Operation: 75-43=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 75*43=3225, Resulting Numbers: [3225]
3225,71 unequal: No Solution
Exploring Operation: 75+43=118, Resulting Numbers: [118]
118,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 71:[79, 39], Operations: ['82-3=79', '75-36=39']
Exploring Operation: 79+39=118, Resulting Numbers: [118]
118,71 unequal: No Solution
Exploring Operation: 79-39=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Exploring Operation: 79*39=3081, Resulting Numbers: [3081]
3081,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 71:[79, 111], Operations: ['82-3=79', '36+75=111']
Exploring Operation: 111-79=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 79*111=8769, Resulting Numbers: [8769]
8769,71 unequal: No Solution
Exploring Operation: 79+111=190, Resulting Numbers: [190]
190,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
56,
33,
18,
19
] | 22 | [
"56-33=23",
"19-18=1",
"23-1=22"
] | Current State: 22:[56, 33, 18, 19], Operations: []
Exploring Operation: 56-33=23, Resulting Numbers: [18, 19, 23]
Generated Node #2: [18, 19, 23] from Operation: 56-33=23
Current State: 22:[18, 19, 23], Operations: ['56-33=23']
Exploring Operation: 19-18=1, Resulting Numbers: [23, 1]
Generated Node #3: [23, 1] from Operation: 19-18=1
Current State: 22:[23, 1], Operations: ['56-33=23', '19-18=1']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[56, 33, 18, 19], Operations: []
Exploring Operation: 56-33=23, Resulting Numbers: [18, 19, 23]
Generated Node #0,0: 22:[18, 19, 23] Operation: 56-33=23
Exploring Operation: 56-18=38, Resulting Numbers: [33, 19, 38]
Generated Node #0,1: 22:[33, 19, 38] Operation: 56-18=38
Exploring Operation: 56-19=37, Resulting Numbers: [33, 18, 37]
Generated Node #0,2: 22:[33, 18, 37] Operation: 56-19=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[18, 19, 23], Operations: ['56-33=23']
Exploring Operation: 23-19=4, Resulting Numbers: [18, 4]
Generated Node #0,0,0: 22:[18, 4] Operation: 23-19=4
Exploring Operation: 23-18=5, Resulting Numbers: [19, 5]
Generated Node #0,0,1: 22:[19, 5] Operation: 23-18=5
Exploring Operation: 19-18=1, Resulting Numbers: [23, 1]
Generated Node #0,0,2: 22:[23, 1] Operation: 19-18=1
Moving to Node #0,0,2
Current State: 22:[23, 1], Operations: ['56-33=23', '19-18=1']
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[56, 33, 18, 19], Operations: []
Exploring Operation: 56-33=23, Resulting Numbers: [18, 19, 23]
Generated Node #0,0: 22:[18, 19, 23] Operation: 56-33=23
Moving to Node #0,0
Current State: 22:[18, 19, 23], Operations: ['56-33=23']
Exploring Operation: 19-18=1, Resulting Numbers: [23, 1]
Generated Node #0,0,2: 22:[23, 1] Operation: 19-18=1
Moving to Node #0,0,2
Current State: 22:[23, 1], Operations: ['56-33=23', '19-18=1']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
45,
85,
90,
34
] | 84 | [
"85-45=40",
"90+34=124",
"124-40=84"
] | Current State: 84:[45, 85, 90, 34], Operations: []
Exploring Operation: 85-45=40, Resulting Numbers: [90, 34, 40]
Generated Node #2: [90, 34, 40] from Operation: 85-45=40
Current State: 84:[90, 34, 40], Operations: ['85-45=40']
Exploring Operation: 90+34=124, Resulting Numbers: [40, 124]
Generated Node #3: [40, 124] from Operation: 90+34=124
Current State: 84:[40, 124], Operations: ['85-45=40', '90+34=124']
Exploring Operation: 124-40=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[45, 85, 90, 34], Operations: []
Exploring Operation: 45-34=11, Resulting Numbers: [85, 90, 11]
Generated Node #0,0: 84:[85, 90, 11] Operation: 45-34=11
Exploring Operation: 90/45=2, Resulting Numbers: [85, 34, 2]
Generated Node #0,1: 84:[85, 34, 2] Operation: 90/45=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[85, 34, 2], Operations: ['90/45=2']
Exploring Operation: 34/2=17, Resulting Numbers: [85, 17]
Generated Node #0,1,0: 84:[85, 17] Operation: 34/2=17
Exploring Operation: 34-2=32, Resulting Numbers: [85, 32]
Generated Node #0,1,1: 84:[85, 32] Operation: 34-2=32
Moving to Node #0,1,0
Current State: 84:[85, 17], Operations: ['90/45=2', '34/2=17']
Exploring Operation: 85/17=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 85-17=68, Resulting Numbers: [68]
68,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[85, 32], Operations: ['90/45=2', '34-2=32']
Exploring Operation: 85-32=53, Resulting Numbers: [53]
53,84 unequal: No Solution
Exploring Operation: 85+32=117, Resulting Numbers: [117]
117,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
Current State: 84:[85, 90, 11], Operations: ['45-34=11']
Exploring Operation: 90-11=79, Resulting Numbers: [85, 79]
Generated Node #0,0,0: 84:[85, 79] Operation: 90-11=79
Exploring Operation: 90-85=5, Resulting Numbers: [11, 5]
Generated Node #0,0,1: 84:[11, 5] Operation: 90-85=5
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 84:[11, 5], Operations: ['45-34=11', '90-85=5']
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,84 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,84 unequal: No Solution
No 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: 84:[85, 79], Operations: ['45-34=11', '90-11=79']
Exploring Operation: 85+79=164, Resulting Numbers: [164]
164,84 unequal: No Solution
Exploring Operation: 85-79=6, Resulting Numbers: [6]
6,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
76,
82,
43,
15
] | 47 | [
"82-76=6",
"15*6=90",
"90-43=47"
] | Current State: 47:[76, 82, 43, 15], Operations: []
Exploring Operation: 82-76=6, Resulting Numbers: [43, 15, 6]
Generated Node #2: [43, 15, 6] from Operation: 82-76=6
Current State: 47:[43, 15, 6], Operations: ['82-76=6']
Exploring Operation: 15*6=90, Resulting Numbers: [43, 90]
Generated Node #3: [43, 90] from Operation: 15*6=90
Current State: 47:[43, 90], Operations: ['82-76=6', '15*6=90']
Exploring Operation: 90-43=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[76, 82, 43, 15], Operations: []
Exploring Operation: 76-15=61, Resulting Numbers: [82, 43, 61]
Generated Node #0,0: 47:[82, 43, 61] Operation: 76-15=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[82, 43, 61], Operations: ['76-15=61']
Exploring Operation: 82-43=39, Resulting Numbers: [61, 39]
Generated Node #0,0,0: 47:[61, 39] Operation: 82-43=39
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[61, 39], Operations: ['76-15=61', '82-43=39']
Exploring Operation: 61-39=22, Resulting Numbers: [22]
22,47 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 |
[
31,
7,
16,
79
] | 25 | [
"31+7=38",
"79-16=63",
"63-38=25"
] | Current State: 25:[31, 7, 16, 79], Operations: []
Exploring Operation: 31+7=38, Resulting Numbers: [16, 79, 38]
Generated Node #2: [16, 79, 38] from Operation: 31+7=38
Current State: 25:[16, 79, 38], Operations: ['31+7=38']
Exploring Operation: 79-16=63, Resulting Numbers: [38, 63]
Generated Node #3: [38, 63] from Operation: 79-16=63
Current State: 25:[38, 63], Operations: ['31+7=38', '79-16=63']
Exploring Operation: 63-38=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[31, 7, 16, 79], Operations: []
Exploring Operation: 31-7=24, Resulting Numbers: [16, 79, 24]
Generated Node #0,0: 25:[16, 79, 24] Operation: 31-7=24
Exploring Operation: 79-7=72, Resulting Numbers: [31, 16, 72]
Generated Node #0,1: 25:[31, 16, 72] Operation: 79-7=72
Exploring Operation: 79-31=48, Resulting Numbers: [7, 16, 48]
Generated Node #0,2: 25:[7, 16, 48] Operation: 79-31=48
Exploring Operation: 7+16=23, Resulting Numbers: [31, 79, 23]
Generated Node #0,3: 25:[31, 79, 23] Operation: 7+16=23
Exploring Operation: 79-16=63, Resulting Numbers: [31, 7, 63]
Generated Node #0,4: 25:[31, 7, 63] Operation: 79-16=63
Moving to Node #0,2
Current State: 25:[7, 16, 48], Operations: ['79-31=48']
Exploring Operation: 48/16=3, Resulting Numbers: [7, 3]
Generated Node #0,2,0: 25:[7, 3] Operation: 48/16=3
Exploring Operation: 48-7=41, Resulting Numbers: [16, 41]
Generated Node #0,2,1: 25:[16, 41] Operation: 48-7=41
Exploring Operation: 7+16=23, Resulting Numbers: [48, 23]
Generated Node #0,2,2: 25:[48, 23] Operation: 7+16=23
Exploring Operation: 16-7=9, Resulting Numbers: [48, 9]
Generated Node #0,2,3: 25:[48, 9] Operation: 16-7=9
Exploring Operation: 48-16=32, Resulting Numbers: [7, 32]
Generated Node #0,2,4: 25:[7, 32] Operation: 48-16=32
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 25:[7, 3], Operations: ['79-31=48', '48/16=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 25:[7, 32], Operations: ['79-31=48', '48-16=32']
Exploring Operation: 7*32=224, Resulting Numbers: [224]
224,25 unequal: No Solution
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[31, 7, 16, 79], Operations: []
Exploring Operation: 79-31=48, Resulting Numbers: [7, 16, 48]
Generated Node #0,2: 25:[7, 16, 48] Operation: 79-31=48
Moving to Node #0,2
Current State: 25:[7, 16, 48], Operations: ['79-31=48']
Exploring Operation: 48-16=32, Resulting Numbers: [7, 32]
Generated Node #0,2,4: 25:[7, 32] Operation: 48-16=32
Moving to Node #0,2,4
Current State: 25:[7, 32], Operations: ['79-31=48', '48-16=32']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
92,
60,
44,
17
] | 92 | [
"60-44=16",
"17-16=1",
"92*1=92"
] | Current State: 92:[92, 60, 44, 17], Operations: []
Exploring Operation: 60-44=16, Resulting Numbers: [92, 17, 16]
Generated Node #2: [92, 17, 16] from Operation: 60-44=16
Current State: 92:[92, 17, 16], Operations: ['60-44=16']
Exploring Operation: 17-16=1, Resulting Numbers: [92, 1]
Generated Node #3: [92, 1] from Operation: 17-16=1
Current State: 92:[92, 1], Operations: ['60-44=16', '17-16=1']
Exploring Operation: 92*1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[92, 60, 44, 17], Operations: []
Exploring Operation: 92-60=32, Resulting Numbers: [44, 17, 32]
Generated Node #0,0: 92:[44, 17, 32] Operation: 92-60=32
Exploring Operation: 60-44=16, Resulting Numbers: [92, 17, 16]
Generated Node #0,1: 92:[92, 17, 16] Operation: 60-44=16
Exploring Operation: 60-17=43, Resulting Numbers: [92, 44, 43]
Generated Node #0,2: 92:[92, 44, 43] Operation: 60-17=43
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[92, 44, 43], Operations: ['60-17=43']
Exploring Operation: 44-43=1, Resulting Numbers: [92, 1]
Generated Node #0,2,0: 92:[92, 1] Operation: 44-43=1
Exploring Operation: 92-43=49, Resulting Numbers: [44, 49]
Generated Node #0,2,1: 92:[44, 49] Operation: 92-43=49
Exploring Operation: 92-44=48, Resulting Numbers: [43, 48]
Generated Node #0,2,2: 92:[43, 48] Operation: 92-44=48
Moving to Node #0,2,0
Current State: 92:[92, 1], Operations: ['60-17=43', '44-43=1']
Exploring Operation: 92/1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[92, 60, 44, 17], Operations: []
Exploring Operation: 60-17=43, Resulting Numbers: [92, 44, 43]
Generated Node #0,2: 92:[92, 44, 43] Operation: 60-17=43
Moving to Node #0,2
Current State: 92:[92, 44, 43], Operations: ['60-17=43']
Exploring Operation: 44-43=1, Resulting Numbers: [92, 1]
Generated Node #0,2,0: 92:[92, 1] Operation: 44-43=1
Moving to Node #0,2,0
Current State: 92:[92, 1], Operations: ['60-17=43', '44-43=1']
Exploring Operation: 92/1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
5,
3,
96,
79
] | 81 | [
"5*96=480",
"480/3=160",
"160-79=81"
] | Current State: 81:[5, 3, 96, 79], Operations: []
Exploring Operation: 5*96=480, Resulting Numbers: [3, 79, 480]
Generated Node #2: [3, 79, 480] from Operation: 5*96=480
Current State: 81:[3, 79, 480], Operations: ['5*96=480']
Exploring Operation: 480/3=160, Resulting Numbers: [79, 160]
Generated Node #3: [79, 160] from Operation: 480/3=160
Current State: 81:[79, 160], Operations: ['5*96=480', '480/3=160']
Exploring Operation: 160-79=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[5, 3, 96, 79], Operations: []
Exploring Operation: 96-79=17, Resulting Numbers: [5, 3, 17]
Generated Node #0,0: 81:[5, 3, 17] Operation: 96-79=17
Exploring Operation: 96-5=91, Resulting Numbers: [3, 79, 91]
Generated Node #0,1: 81:[3, 79, 91] Operation: 96-5=91
Exploring Operation: 96-3=93, Resulting Numbers: [5, 79, 93]
Generated Node #0,2: 81:[5, 79, 93] Operation: 96-3=93
Exploring Operation: 5+3=8, Resulting Numbers: [96, 79, 8]
Generated Node #0,3: 81:[96, 79, 8] Operation: 5+3=8
Exploring Operation: 96/3=32, Resulting Numbers: [5, 79, 32]
Generated Node #0,4: 81:[5, 79, 32] Operation: 96/3=32
Moving to Node #0,4
Current State: 81:[5, 79, 32], Operations: ['96/3=32']
Exploring Operation: 5+32=37, Resulting Numbers: [79, 37]
Generated Node #0,4,0: 81:[79, 37] Operation: 5+32=37
Exploring Operation: 5+79=84, Resulting Numbers: [32, 84]
Generated Node #0,4,1: 81:[32, 84] Operation: 5+79=84
Exploring Operation: 79-5=74, Resulting Numbers: [32, 74]
Generated Node #0,4,2: 81:[32, 74] Operation: 79-5=74
Exploring Operation: 79-32=47, Resulting Numbers: [5, 47]
Generated Node #0,4,3: 81:[5, 47] Operation: 79-32=47
Exploring Operation: 32-5=27, Resulting Numbers: [79, 27]
Generated Node #0,4,4: 81:[79, 27] Operation: 32-5=27
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 81:[79, 27], Operations: ['96/3=32', '32-5=27']
Exploring Operation: 79-27=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 79*27=2133, Resulting Numbers: [2133]
2133,81 unequal: No Solution
Exploring Operation: 79+27=106, Resulting Numbers: [106]
106,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 81:[32, 84], Operations: ['96/3=32', '5+79=84']
Exploring Operation: 32*84=2688, Resulting Numbers: [2688]
2688,81 unequal: No Solution
Exploring Operation: 32+84=116, Resulting Numbers: [116]
116,81 unequal: No Solution
Exploring Operation: 84-32=52, Resulting Numbers: [52]
52,81 unequal: No Solution
No 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: 81:[79, 37], Operations: ['96/3=32', '5+32=37']
Exploring Operation: 79+37=116, Resulting Numbers: [116]
116,81 unequal: No Solution
Exploring Operation: 79*37=2923, Resulting Numbers: [2923]
2923,81 unequal: No Solution
Exploring Operation: 79-37=42, Resulting Numbers: [42]
42,81 unequal: No Solution
No 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: 81:[32, 74], Operations: ['96/3=32', '79-5=74']
Exploring Operation: 74-32=42, Resulting Numbers: [42]
42,81 unequal: No Solution
Exploring Operation: 32+74=106, Resulting Numbers: [106]
106,81 unequal: No Solution
Exploring Operation: 32*74=2368, Resulting Numbers: [2368]
2368,81 unequal: No Solution
No 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: 81:[5, 47], Operations: ['96/3=32', '79-32=47']
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,81 unequal: No Solution
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,81 unequal: No Solution
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,81 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: 81:[5, 3, 17], Operations: ['96-79=17']
Exploring Operation: 17-3=14, Resulting Numbers: [5, 14]
Generated Node #0,0,0: 81:[5, 14] Operation: 17-3=14
Exploring Operation: 17-5=12, Resulting Numbers: [3, 12]
Generated Node #0,0,1: 81:[3, 12] Operation: 17-5=12
Exploring Operation: 5+17=22, Resulting Numbers: [3, 22]
Generated Node #0,0,2: 81:[3, 22] Operation: 5+17=22
Exploring Operation: 5*17=85, Resulting Numbers: [3, 85]
Generated Node #0,0,3: 81:[3, 85] Operation: 5*17=85
Exploring Operation: 5+3=8, Resulting Numbers: [17, 8]
Generated Node #0,0,4: 81:[17, 8] Operation: 5+3=8
Moving to Node #0,1
Current State: 81:[3, 79, 91], Operations: ['96-5=91']
Exploring Operation: 91-79=12, Resulting Numbers: [3, 12]
Generated Node #0,1,0: 81:[3, 12] Operation: 91-79=12
Exploring Operation: 3+79=82, Resulting Numbers: [91, 82]
Generated Node #0,1,1: 81:[91, 82] Operation: 3+79=82
Exploring Operation: 91-3=88, Resulting Numbers: [79, 88]
Generated Node #0,1,2: 81:[79, 88] Operation: 91-3=88
Exploring Operation: 3+91=94, Resulting Numbers: [79, 94]
Generated Node #0,1,3: 81:[79, 94] Operation: 3+91=94
Exploring Operation: 79-3=76, Resulting Numbers: [91, 76]
Generated Node #0,1,4: 81:[91, 76] Operation: 79-3=76
Moving to Node #0,2
Current State: 81:[5, 79, 93], Operations: ['96-3=93']
Exploring Operation: 93-5=88, Resulting Numbers: [79, 88]
Generated Node #0,2,0: 81:[79, 88] Operation: 93-5=88
Exploring Operation: 93-79=14, Resulting Numbers: [5, 14]
Generated Node #0,2,1: 81:[5, 14] Operation: 93-79=14
Exploring Operation: 5+93=98, Resulting Numbers: [79, 98]
Generated Node #0,2,2: 81:[79, 98] Operation: 5+93=98
Exploring Operation: 5+79=84, Resulting Numbers: [93, 84]
Generated Node #0,2,3: 81:[93, 84] Operation: 5+79=84
Exploring Operation: 79-5=74, Resulting Numbers: [93, 74]
Generated Node #0,2,4: 81:[93, 74] Operation: 79-5=74
Moving to Node #0,3
Current State: 81:[96, 79, 8], Operations: ['5+3=8']
Exploring Operation: 96-8=88, Resulting Numbers: [79, 88]
Generated Node #0,3,0: 81:[79, 88] Operation: 96-8=88
Exploring Operation: 96+8=104, Resulting Numbers: [79, 104]
Generated Node #0,3,1: 81:[79, 104] Operation: 96+8=104
Exploring Operation: 96/8=12, Resulting Numbers: [79, 12]
Generated Node #0,3,2: 81:[79, 12] Operation: 96/8=12
Exploring Operation: 96-79=17, Resulting Numbers: [8, 17]
Generated Node #0,3,3: 81:[8, 17] Operation: 96-79=17
Exploring Operation: 79+8=87, Resulting Numbers: [96, 87]
Generated Node #0,3,4: 81:[96, 87] Operation: 79+8=87
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 81:[79, 12], Operations: ['5+3=8', '96/8=12']
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,81 unequal: No Solution
Exploring Operation: 79*12=948, Resulting Numbers: [948]
948,81 unequal: No Solution
Exploring Operation: 79+12=91, Resulting Numbers: [91]
91,81 unequal: No Solution
No 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: 81:[79, 88], Operations: ['5+3=8', '96-8=88']
Exploring Operation: 88-79=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 79*88=6952, Resulting Numbers: [6952]
6952,81 unequal: No Solution
Exploring Operation: 79+88=167, Resulting Numbers: [167]
167,81 unequal: No Solution
No 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: 81:[8, 17], Operations: ['5+3=8', '96-79=17']
Exploring Operation: 8*17=136, Resulting Numbers: [136]
136,81 unequal: No Solution
Exploring Operation: 8+17=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,81 unequal: No Solution
No 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: 81:[96, 87], Operations: ['5+3=8', '79+8=87']
Exploring Operation: 96+87=183, Resulting Numbers: [183]
183,81 unequal: No Solution
Exploring Operation: 96*87=8352, Resulting Numbers: [8352]
8352,81 unequal: No Solution
Exploring Operation: 96-87=9, Resulting Numbers: [9]
9,81 unequal: No Solution
No 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: 81:[79, 104], Operations: ['5+3=8', '96+8=104']
Exploring Operation: 79+104=183, Resulting Numbers: [183]
183,81 unequal: No Solution
Exploring Operation: 104-79=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 79*104=8216, Resulting Numbers: [8216]
8216,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 81:[3, 12], Operations: ['96-79=17', '17-5=12']
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,81 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[3, 12], Operations: ['96-5=91', '91-79=12']
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,81 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Moving to Node #0,0,3
Current State: 81:[3, 85], Operations: ['96-79=17', '5*17=85']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,81 unequal: No Solution
Exploring Operation: 3+85=88, Resulting Numbers: [88]
88,81 unequal: No Solution
Exploring Operation: 3*85=255, Resulting Numbers: [255]
255,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[3, 22], Operations: ['96-79=17', '5+17=22']
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[5, 14], Operations: ['96-3=93', '93-79=14']
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,81 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[5, 14], Operations: ['96-79=17', '17-3=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,81 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[79, 88], Operations: ['96-5=91', '91-3=88']
Exploring Operation: 79+88=167, Resulting Numbers: [167]
167,81 unequal: No Solution
Exploring Operation: 79*88=6952, Resulting Numbers: [6952]
6952,81 unequal: No Solution
Exploring Operation: 88-79=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Moving to Node #0,2,0
Current State: 81:[79, 88], Operations: ['96-3=93', '93-5=88']
Exploring Operation: 79*88=6952, Resulting Numbers: [6952]
6952,81 unequal: No Solution
Exploring Operation: 79+88=167, Resulting Numbers: [167]
167,81 unequal: No Solution
Exploring Operation: 88-79=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Moving to Node #0,0,4
Current State: 81:[17, 8], Operations: ['96-79=17', '5+3=8']
Exploring Operation: 17+8=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 17*8=136, Resulting Numbers: [136]
136,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[91, 82], Operations: ['96-5=91', '3+79=82']
Exploring Operation: 91-82=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 91*82=7462, Resulting Numbers: [7462]
7462,81 unequal: No Solution
Exploring Operation: 91+82=173, Resulting Numbers: [173]
173,81 unequal: No Solution
Moving to Node #0,2,3
Current State: 81:[93, 84], Operations: ['96-3=93', '5+79=84']
Exploring Operation: 93*84=7812, Resulting Numbers: [7812]
7812,81 unequal: No Solution
Exploring Operation: 93-84=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 93+84=177, Resulting Numbers: [177]
177,81 unequal: No Solution
Moving to Node #0,1,4
Current State: 81:[91, 76], Operations: ['96-5=91', '79-3=76']
Exploring Operation: 91*76=6916, Resulting Numbers: [6916]
6916,81 unequal: No Solution
Exploring Operation: 91+76=167, Resulting Numbers: [167]
167,81 unequal: No Solution
Exploring Operation: 91-76=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Moving to Node #0,1,3
Current State: 81:[79, 94], Operations: ['96-5=91', '3+91=94']
Exploring Operation: 94-79=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Exploring Operation: 79+94=173, Resulting Numbers: [173]
173,81 unequal: No Solution
Exploring Operation: 79*94=7426, Resulting Numbers: [7426]
7426,81 unequal: No Solution
Moving to Node #0,2,4
Current State: 81:[93, 74], Operations: ['96-3=93', '79-5=74']
Exploring Operation: 93*74=6882, Resulting Numbers: [6882]
6882,81 unequal: No Solution
Exploring Operation: 93+74=167, Resulting Numbers: [167]
167,81 unequal: No Solution
Exploring Operation: 93-74=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[79, 98], Operations: ['96-3=93', '5+93=98']
Exploring Operation: 98-79=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Exploring Operation: 79+98=177, Resulting Numbers: [177]
177,81 unequal: No Solution
Exploring Operation: 79*98=7742, Resulting Numbers: [7742]
7742,81 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
7,
60,
6,
2
] | 79 | [
"7+60=67",
"6*2=12",
"67+12=79"
] | Current State: 79:[7, 60, 6, 2], Operations: []
Exploring Operation: 7+60=67, Resulting Numbers: [6, 2, 67]
Generated Node #2: [6, 2, 67] from Operation: 7+60=67
Current State: 79:[6, 2, 67], Operations: ['7+60=67']
Exploring Operation: 6*2=12, Resulting Numbers: [67, 12]
Generated Node #3: [67, 12] from Operation: 6*2=12
Current State: 79:[67, 12], Operations: ['7+60=67', '6*2=12']
Exploring Operation: 67+12=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[7, 60, 6, 2], Operations: []
Exploring Operation: 7*6=42, Resulting Numbers: [60, 2, 42]
Generated Node #0,0: 79:[60, 2, 42] Operation: 7*6=42
Exploring Operation: 7*2=14, Resulting Numbers: [60, 6, 14]
Generated Node #0,1: 79:[60, 6, 14] Operation: 7*2=14
Exploring Operation: 6*2=12, Resulting Numbers: [7, 60, 12]
Generated Node #0,2: 79:[7, 60, 12] Operation: 6*2=12
Moving to Node #0,0
Current State: 79:[60, 2, 42], Operations: ['7*6=42']
Exploring Operation: 60+2=62, Resulting Numbers: [42, 62]
Generated Node #0,0,0: 79:[42, 62] Operation: 60+2=62
Exploring Operation: 2+42=44, Resulting Numbers: [60, 44]
Generated Node #0,0,1: 79:[60, 44] Operation: 2+42=44
Exploring Operation: 2*42=84, Resulting Numbers: [60, 84]
Generated Node #0,0,2: 79:[60, 84] Operation: 2*42=84
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[60, 84], Operations: ['7*6=42', '2*42=84']
Exploring Operation: 60*84=5040, Resulting Numbers: [5040]
5040,79 unequal: No Solution
Exploring Operation: 60+84=144, Resulting Numbers: [144]
144,79 unequal: No Solution
Exploring Operation: 84-60=24, Resulting Numbers: [24]
24,79 unequal: No Solution
No 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: 79:[42, 62], Operations: ['7*6=42', '60+2=62']
Exploring Operation: 42*62=2604, Resulting Numbers: [2604]
2604,79 unequal: No Solution
Exploring Operation: 62-42=20, Resulting Numbers: [20]
20,79 unequal: No Solution
Exploring Operation: 42+62=104, Resulting Numbers: [104]
104,79 unequal: No Solution
No 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: 79:[60, 44], Operations: ['7*6=42', '2+42=44']
Exploring Operation: 60*44=2640, Resulting Numbers: [2640]
2640,79 unequal: No Solution
Exploring Operation: 60-44=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Exploring Operation: 60+44=104, Resulting Numbers: [104]
104,79 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: 79:[60, 6, 14], Operations: ['7*2=14']
Exploring Operation: 60+14=74, Resulting Numbers: [6, 74]
Generated Node #0,1,0: 79:[6, 74] Operation: 60+14=74
Exploring Operation: 60+6=66, Resulting Numbers: [14, 66]
Generated Node #0,1,1: 79:[14, 66] Operation: 60+6=66
Exploring Operation: 6*14=84, Resulting Numbers: [60, 84]
Generated Node #0,1,2: 79:[60, 84] Operation: 6*14=84
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 79:[60, 84], Operations: ['7*2=14', '6*14=84']
Exploring Operation: 60+84=144, Resulting Numbers: [144]
144,79 unequal: No Solution
Exploring Operation: 84-60=24, Resulting Numbers: [24]
24,79 unequal: No Solution
Exploring Operation: 60*84=5040, Resulting Numbers: [5040]
5040,79 unequal: No Solution
No 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: 79:[6, 74], Operations: ['7*2=14', '60+14=74']
Exploring Operation: 6+74=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,79 unequal: No Solution
Exploring Operation: 6*74=444, Resulting Numbers: [444]
444,79 unequal: No Solution
No 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: 79:[14, 66], Operations: ['7*2=14', '60+6=66']
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,79 unequal: No Solution
Exploring Operation: 14+66=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Exploring Operation: 14*66=924, Resulting Numbers: [924]
924,79 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: 79:[7, 60, 12], Operations: ['6*2=12']
Exploring Operation: 7*12=84, Resulting Numbers: [60, 84]
Generated Node #0,2,0: 79:[60, 84] Operation: 7*12=84
Exploring Operation: 7+60=67, Resulting Numbers: [12, 67]
Generated Node #0,2,1: 79:[12, 67] Operation: 7+60=67
Exploring Operation: 7+12=19, Resulting Numbers: [60, 19]
Generated Node #0,2,2: 79:[60, 19] Operation: 7+12=19
Moving to Node #0,2,0
Current State: 79:[60, 84], Operations: ['6*2=12', '7*12=84']
Exploring Operation: 84-60=24, Resulting Numbers: [24]
24,79 unequal: No Solution
Exploring Operation: 60*84=5040, Resulting Numbers: [5040]
5040,79 unequal: No Solution
Exploring Operation: 60+84=144, Resulting Numbers: [144]
144,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[12, 67], Operations: ['6*2=12', '7+60=67']
Exploring Operation: 12*67=804, Resulting Numbers: [804]
804,79 unequal: No Solution
Exploring Operation: 12+67=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[7, 60, 6, 2], Operations: []
Exploring Operation: 6*2=12, Resulting Numbers: [7, 60, 12]
Generated Node #0,2: 79:[7, 60, 12] Operation: 6*2=12
Moving to Node #0,2
Current State: 79:[7, 60, 12], Operations: ['6*2=12']
Exploring Operation: 7+60=67, Resulting Numbers: [12, 67]
Generated Node #0,2,1: 79:[12, 67] Operation: 7+60=67
Moving to Node #0,2,1
Current State: 79:[12, 67], Operations: ['6*2=12', '7+60=67']
Exploring Operation: 12+67=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 0.966146 | hs_3 | mult_heuristic |
[
13,
77,
14,
27
] | 34 | [
"77+14=91",
"91/13=7",
"27+7=34"
] | Current State: 34:[13, 77, 14, 27], Operations: []
Exploring Operation: 77+14=91, Resulting Numbers: [13, 27, 91]
Generated Node #2: [13, 27, 91] from Operation: 77+14=91
Current State: 34:[13, 27, 91], Operations: ['77+14=91']
Exploring Operation: 91/13=7, Resulting Numbers: [27, 7]
Generated Node #3: [27, 7] from Operation: 91/13=7
Current State: 34:[27, 7], Operations: ['77+14=91', '91/13=7']
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[13, 77, 14, 27], Operations: []
Exploring Operation: 77-14=63, Resulting Numbers: [13, 27, 63]
Generated Node #0,0: 34:[13, 27, 63] Operation: 77-14=63
Exploring Operation: 27-13=14, Resulting Numbers: [77, 14, 14]
Generated Node #0,1: 34:[77, 14, 14] Operation: 27-13=14
Exploring Operation: 77-27=50, Resulting Numbers: [13, 14, 50]
Generated Node #0,2: 34:[13, 14, 50] Operation: 77-27=50
Exploring Operation: 77-13=64, Resulting Numbers: [14, 27, 64]
Generated Node #0,3: 34:[14, 27, 64] Operation: 77-13=64
Moving to Node #0,2
Current State: 34:[13, 14, 50], Operations: ['77-27=50']
Exploring Operation: 13+14=27, Resulting Numbers: [50, 27]
Generated Node #0,2,0: 34:[50, 27] Operation: 13+14=27
Exploring Operation: 50-14=36, Resulting Numbers: [13, 36]
Generated Node #0,2,1: 34:[13, 36] Operation: 50-14=36
Exploring Operation: 14-13=1, Resulting Numbers: [50, 1]
Generated Node #0,2,2: 34:[50, 1] Operation: 14-13=1
Exploring Operation: 50-13=37, Resulting Numbers: [14, 37]
Generated Node #0,2,3: 34:[14, 37] Operation: 50-13=37
Moving to Node #0,3
Current State: 34:[14, 27, 64], Operations: ['77-13=64']
Exploring Operation: 27-14=13, Resulting Numbers: [64, 13]
Generated Node #0,3,0: 34:[64, 13] Operation: 27-14=13
Exploring Operation: 64-27=37, Resulting Numbers: [14, 37]
Generated Node #0,3,1: 34:[14, 37] Operation: 64-27=37
Exploring Operation: 64-14=50, Resulting Numbers: [27, 50]
Generated Node #0,3,2: 34:[27, 50] Operation: 64-14=50
Exploring Operation: 14+27=41, Resulting Numbers: [64, 41]
Generated Node #0,3,3: 34:[64, 41] Operation: 14+27=41
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 34:[14, 37], Operations: ['77-13=64', '64-27=37']
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,34 unequal: No Solution
Exploring Operation: 14+37=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Exploring Operation: 14*37=518, Resulting Numbers: [518]
518,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,3,2
Current State: 34:[27, 50], Operations: ['77-13=64', '64-14=50']
Exploring Operation: 27+50=77, Resulting Numbers: [77]
77,34 unequal: No Solution
Exploring Operation: 27*50=1350, Resulting Numbers: [1350]
1350,34 unequal: No Solution
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,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,3,0
Current State: 34:[64, 13], Operations: ['77-13=64', '27-14=13']
Exploring Operation: 64*13=832, Resulting Numbers: [832]
832,34 unequal: No Solution
Exploring Operation: 64+13=77, Resulting Numbers: [77]
77,34 unequal: No Solution
Exploring Operation: 64-13=51, Resulting Numbers: [51]
51,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,3,3
Current State: 34:[64, 41], Operations: ['77-13=64', '14+27=41']
Exploring Operation: 64+41=105, Resulting Numbers: [105]
105,34 unequal: No Solution
Exploring Operation: 64*41=2624, Resulting Numbers: [2624]
2624,34 unequal: No Solution
Exploring Operation: 64-41=23, Resulting Numbers: [23]
23,34 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: 34:[13, 27, 63], Operations: ['77-14=63']
Exploring Operation: 63-27=36, Resulting Numbers: [13, 36]
Generated Node #0,0,0: 34:[13, 36] Operation: 63-27=36
Exploring Operation: 27-13=14, Resulting Numbers: [63, 14]
Generated Node #0,0,1: 34:[63, 14] Operation: 27-13=14
Exploring Operation: 63-13=50, Resulting Numbers: [27, 50]
Generated Node #0,0,2: 34:[27, 50] Operation: 63-13=50
Exploring Operation: 13+27=40, Resulting Numbers: [63, 40]
Generated Node #0,0,3: 34:[63, 40] Operation: 13+27=40
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[13, 36], Operations: ['77-14=63', '63-27=36']
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,34 unequal: No Solution
Exploring Operation: 13+36=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 13*36=468, Resulting Numbers: [468]
468,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 34:[27, 50], Operations: ['77-14=63', '63-13=50']
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,34 unequal: No Solution
Exploring Operation: 27*50=1350, Resulting Numbers: [1350]
1350,34 unequal: No Solution
Exploring Operation: 27+50=77, Resulting Numbers: [77]
77,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 34:[63, 14], Operations: ['77-14=63', '27-13=14']
Exploring Operation: 63+14=77, Resulting Numbers: [77]
77,34 unequal: No Solution
Exploring Operation: 63*14=882, Resulting Numbers: [882]
882,34 unequal: No Solution
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 34:[63, 40], Operations: ['77-14=63', '13+27=40']
Exploring Operation: 63*40=2520, Resulting Numbers: [2520]
2520,34 unequal: No Solution
Exploring Operation: 63+40=103, Resulting Numbers: [103]
103,34 unequal: No Solution
Exploring Operation: 63-40=23, Resulting Numbers: [23]
23,34 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: 34:[77, 14, 14], Operations: ['27-13=14']
Exploring Operation: 77-14=63, Resulting Numbers: [14, 63]
Generated Node #0,1,0: 34:[14, 63] Operation: 77-14=63
Exploring Operation: 14-14=0, Resulting Numbers: [77, 0]
Generated Node #0,1,1: 34:[77, 0] Operation: 14-14=0
Exploring Operation: 14/14=1, Resulting Numbers: [77, 1]
Generated Node #0,1,2: 34:[77, 1] Operation: 14/14=1
Exploring Operation: 77-14=63, Resulting Numbers: [14, 63]
Generated Node #0,1,3: 34:[14, 63] Operation: 77-14=63
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[14, 63], Operations: ['27-13=14', '77-14=63']
Exploring Operation: 14+63=77, Resulting Numbers: [77]
77,34 unequal: No Solution
Exploring Operation: 14*63=882, Resulting Numbers: [882]
882,34 unequal: No Solution
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,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,3
Current State: 34:[14, 63], Operations: ['27-13=14', '77-14=63']
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 14*63=882, Resulting Numbers: [882]
882,34 unequal: No Solution
Exploring Operation: 14+63=77, Resulting Numbers: [77]
77,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,2
Current State: 34:[77, 1], Operations: ['27-13=14', '14/14=1']
Exploring Operation: 77/1=77, Resulting Numbers: [77]
77,34 unequal: No Solution
Exploring Operation: 77*1=77, Resulting Numbers: [77]
77,34 unequal: No Solution
Exploring Operation: 77+1=78, Resulting Numbers: [78]
78,34 unequal: No Solution
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[77, 0], Operations: ['27-13=14', '14-14=0']
Exploring Operation: 77*0=0, Resulting Numbers: [0]
0,34 unequal: No Solution
Exploring Operation: 77+0=77, Resulting Numbers: [77]
77,34 unequal: No Solution
Exploring Operation: 77-0=77, Resulting Numbers: [77]
77,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 34:[13, 36], Operations: ['77-27=50', '50-14=36']
Exploring Operation: 13+36=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,34 unequal: No Solution
Exploring Operation: 13*36=468, Resulting Numbers: [468]
468,34 unequal: No Solution
Moving to Node #0,2,3
Current State: 34:[14, 37], Operations: ['77-27=50', '50-13=37']
Exploring Operation: 14*37=518, Resulting Numbers: [518]
518,34 unequal: No Solution
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,34 unequal: No Solution
Exploring Operation: 14+37=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[50, 1], Operations: ['77-27=50', '14-13=1']
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[50, 27], Operations: ['77-27=50', '13+14=27']
Exploring Operation: 50*27=1350, Resulting Numbers: [1350]
1350,34 unequal: No Solution
Exploring Operation: 50+27=77, Resulting Numbers: [77]
77,34 unequal: No Solution
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,34 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
8,
84,
72,
41
] | 52 | [
"72/8=9",
"84-41=43",
"9+43=52"
] | Current State: 52:[8, 84, 72, 41], Operations: []
Exploring Operation: 72/8=9, Resulting Numbers: [84, 41, 9]
Generated Node #2: [84, 41, 9] from Operation: 72/8=9
Current State: 52:[84, 41, 9], Operations: ['72/8=9']
Exploring Operation: 84-41=43, Resulting Numbers: [9, 43]
Generated Node #3: [9, 43] from Operation: 84-41=43
Current State: 52:[9, 43], Operations: ['72/8=9', '84-41=43']
Exploring Operation: 9+43=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[8, 84, 72, 41], Operations: []
Exploring Operation: 84-72=12, Resulting Numbers: [8, 41, 12]
Generated Node #0,0: 52:[8, 41, 12] Operation: 84-72=12
Exploring Operation: 84-41=43, Resulting Numbers: [8, 72, 43]
Generated Node #0,1: 52:[8, 72, 43] Operation: 84-41=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[8, 41, 12], Operations: ['84-72=12']
Exploring Operation: 8+41=49, Resulting Numbers: [12, 49]
Generated Node #0,0,0: 52:[12, 49] Operation: 8+41=49
Exploring Operation: 41+12=53, Resulting Numbers: [8, 53]
Generated Node #0,0,1: 52:[8, 53] Operation: 41+12=53
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[12, 49], Operations: ['84-72=12', '8+41=49']
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 12+49=61, Resulting Numbers: [61]
61,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 52:[8, 53], Operations: ['84-72=12', '41+12=53']
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 8+53=61, Resulting Numbers: [61]
61,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:[8, 72, 43], Operations: ['84-41=43']
Exploring Operation: 72-43=29, Resulting Numbers: [8, 29]
Generated Node #0,1,0: 52:[8, 29] Operation: 72-43=29
Exploring Operation: 72/8=9, Resulting Numbers: [43, 9]
Generated Node #0,1,1: 52:[43, 9] Operation: 72/8=9
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 52:[8, 29], Operations: ['84-41=43', '72-43=29']
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 52:[43, 9], Operations: ['84-41=43', '72/8=9']
Exploring Operation: 43+9=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[8, 84, 72, 41], Operations: []
Exploring Operation: 84-41=43, Resulting Numbers: [8, 72, 43]
Generated Node #0,1: 52:[8, 72, 43] Operation: 84-41=43
Moving to Node #0,1
Current State: 52:[8, 72, 43], Operations: ['84-41=43']
Exploring Operation: 72/8=9, Resulting Numbers: [43, 9]
Generated Node #0,1,1: 52:[43, 9] Operation: 72/8=9
Moving to Node #0,1,1
Current State: 52:[43, 9], Operations: ['84-41=43', '72/8=9']
Exploring Operation: 43+9=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_2 | mult_heuristic |
[
20,
13,
19,
86
] | 34 | [
"20+13=33",
"86-19=67",
"67-33=34"
] | Current State: 34:[20, 13, 19, 86], Operations: []
Exploring Operation: 20+13=33, Resulting Numbers: [19, 86, 33]
Generated Node #2: [19, 86, 33] from Operation: 20+13=33
Current State: 34:[19, 86, 33], Operations: ['20+13=33']
Exploring Operation: 86-19=67, Resulting Numbers: [33, 67]
Generated Node #3: [33, 67] from Operation: 86-19=67
Current State: 34:[33, 67], Operations: ['20+13=33', '86-19=67']
Exploring Operation: 67-33=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[20, 13, 19, 86], Operations: []
Exploring Operation: 86-20=66, Resulting Numbers: [13, 19, 66]
Generated Node #0,0: 34:[13, 19, 66] Operation: 86-20=66
Exploring Operation: 86-19=67, Resulting Numbers: [20, 13, 67]
Generated Node #0,1: 34:[20, 13, 67] Operation: 86-19=67
Moving to Node #0,0
Current State: 34:[13, 19, 66], Operations: ['86-20=66']
Exploring Operation: 66-13=53, Resulting Numbers: [19, 53]
Generated Node #0,0,0: 34:[19, 53] Operation: 66-13=53
Exploring Operation: 66-19=47, Resulting Numbers: [13, 47]
Generated Node #0,0,1: 34:[13, 47] Operation: 66-19=47
Moving to Node #0,1
Current State: 34:[20, 13, 67], Operations: ['86-19=67']
Exploring Operation: 67-13=54, Resulting Numbers: [20, 54]
Generated Node #0,1,0: 34:[20, 54] Operation: 67-13=54
Exploring Operation: 67-20=47, Resulting Numbers: [13, 47]
Generated Node #0,1,1: 34:[13, 47] Operation: 67-20=47
Moving to Node #0,0,1
Current State: 34:[13, 47], Operations: ['86-20=66', '66-19=47']
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[20, 13, 19, 86], Operations: []
Exploring Operation: 86-20=66, Resulting Numbers: [13, 19, 66]
Generated Node #0,0: 34:[13, 19, 66] Operation: 86-20=66
Moving to Node #0,0
Current State: 34:[13, 19, 66], Operations: ['86-20=66']
Exploring Operation: 66-19=47, Resulting Numbers: [13, 47]
Generated Node #0,0,1: 34:[13, 47] Operation: 66-19=47
Moving to Node #0,0,1
Current State: 34:[13, 47], Operations: ['86-20=66', '66-19=47']
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
53,
46,
21,
71
] | 29 | [
"21*71=1491",
"46+1491=1537",
"1537/53=29"
] | Current State: 29:[53, 46, 21, 71], Operations: []
Exploring Operation: 21*71=1491, Resulting Numbers: [53, 46, 1491]
Generated Node #2: [53, 46, 1491] from Operation: 21*71=1491
Current State: 29:[53, 46, 1491], Operations: ['21*71=1491']
Exploring Operation: 46+1491=1537, Resulting Numbers: [53, 1537]
Generated Node #3: [53, 1537] from Operation: 46+1491=1537
Current State: 29:[53, 1537], Operations: ['21*71=1491', '46+1491=1537']
Exploring Operation: 1537/53=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[53, 46, 21, 71], Operations: []
Exploring Operation: 71-46=25, Resulting Numbers: [53, 21, 25]
Generated Node #0,0: 29:[53, 21, 25] Operation: 71-46=25
Exploring Operation: 71-53=18, Resulting Numbers: [46, 21, 18]
Generated Node #0,1: 29:[46, 21, 18] Operation: 71-53=18
Exploring Operation: 46-21=25, Resulting Numbers: [53, 71, 25]
Generated Node #0,2: 29:[53, 71, 25] Operation: 46-21=25
Exploring Operation: 53-21=32, Resulting Numbers: [46, 71, 32]
Generated Node #0,3: 29:[46, 71, 32] Operation: 53-21=32
Exploring Operation: 71-21=50, Resulting Numbers: [53, 46, 50]
Generated Node #0,4: 29:[53, 46, 50] Operation: 71-21=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[53, 21, 25], Operations: ['71-46=25']
Exploring Operation: 53-21=32, Resulting Numbers: [25, 32]
Generated Node #0,0,0: 29:[25, 32] Operation: 53-21=32
Exploring Operation: 53+21=74, Resulting Numbers: [25, 74]
Generated Node #0,0,1: 29:[25, 74] Operation: 53+21=74
Exploring Operation: 25-21=4, Resulting Numbers: [53, 4]
Generated Node #0,0,2: 29:[53, 4] Operation: 25-21=4
Exploring Operation: 21+25=46, Resulting Numbers: [53, 46]
Generated Node #0,0,3: 29:[53, 46] Operation: 21+25=46
Exploring Operation: 53-25=28, Resulting Numbers: [21, 28]
Generated Node #0,0,4: 29:[21, 28] Operation: 53-25=28
Moving to Node #0,0,0
Current State: 29:[25, 32], Operations: ['71-46=25', '53-21=32']
Exploring Operation: 25+32=57, Resulting Numbers: [57]
57,29 unequal: No Solution
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 25*32=800, Resulting Numbers: [800]
800,29 unequal: No Solution
Moving to Node #0,0,4
Current State: 29:[21, 28], Operations: ['71-46=25', '53-25=28']
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 21+28=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 21*28=588, Resulting Numbers: [588]
588,29 unequal: No Solution
Moving to Node #0,0,3
Current State: 29:[53, 46], Operations: ['71-46=25', '21+25=46']
Exploring Operation: 53+46=99, Resulting Numbers: [99]
99,29 unequal: No Solution
Exploring Operation: 53*46=2438, Resulting Numbers: [2438]
2438,29 unequal: No Solution
Exploring Operation: 53-46=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[25, 74], Operations: ['71-46=25', '53+21=74']
Exploring Operation: 25*74=1850, Resulting Numbers: [1850]
1850,29 unequal: No Solution
Exploring Operation: 74-25=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 25+74=99, Resulting Numbers: [99]
99,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[53, 4], Operations: ['71-46=25', '25-21=4']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,29 unequal: No Solution
Exploring Operation: 53*4=212, Resulting Numbers: [212]
212,29 unequal: No Solution
No 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: 29:[46, 21, 18], Operations: ['71-53=18']
Exploring Operation: 46-21=25, Resulting Numbers: [18, 25]
Generated Node #0,1,0: 29:[18, 25] Operation: 46-21=25
Exploring Operation: 46+18=64, Resulting Numbers: [21, 64]
Generated Node #0,1,1: 29:[21, 64] Operation: 46+18=64
Exploring Operation: 46-18=28, Resulting Numbers: [21, 28]
Generated Node #0,1,2: 29:[21, 28] Operation: 46-18=28
Exploring Operation: 21+18=39, Resulting Numbers: [46, 39]
Generated Node #0,1,3: 29:[46, 39] Operation: 21+18=39
Exploring Operation: 21-18=3, Resulting Numbers: [46, 3]
Generated Node #0,1,4: 29:[46, 3] Operation: 21-18=3
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 29:[21, 28], Operations: ['71-53=18', '46-18=28']
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 21+28=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 21*28=588, Resulting Numbers: [588]
588,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 29:[18, 25], Operations: ['71-53=18', '46-21=25']
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 18*25=450, Resulting Numbers: [450]
450,29 unequal: No Solution
Exploring Operation: 18+25=43, Resulting Numbers: [43]
43,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 29:[46, 39], Operations: ['71-53=18', '21+18=39']
Exploring Operation: 46+39=85, Resulting Numbers: [85]
85,29 unequal: No Solution
Exploring Operation: 46*39=1794, Resulting Numbers: [1794]
1794,29 unequal: No Solution
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 29:[21, 64], Operations: ['71-53=18', '46+18=64']
Exploring Operation: 21*64=1344, Resulting Numbers: [1344]
1344,29 unequal: No Solution
Exploring Operation: 21+64=85, Resulting Numbers: [85]
85,29 unequal: No Solution
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 29:[46, 3], Operations: ['71-53=18', '21-18=3']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,29 unequal: No Solution
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 46*3=138, Resulting Numbers: [138]
138,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 29:[46, 71, 32], Operations: ['53-21=32']
Exploring Operation: 71-32=39, Resulting Numbers: [46, 39]
Generated Node #0,3,0: 29:[46, 39] Operation: 71-32=39
Exploring Operation: 46+71=117, Resulting Numbers: [32, 117]
Generated Node #0,3,1: 29:[32, 117] Operation: 46+71=117
Exploring Operation: 46-32=14, Resulting Numbers: [71, 14]
Generated Node #0,3,2: 29:[71, 14] Operation: 46-32=14
Exploring Operation: 71-46=25, Resulting Numbers: [32, 25]
Generated Node #0,3,3: 29:[32, 25] Operation: 71-46=25
Exploring Operation: 46+32=78, Resulting Numbers: [71, 78]
Generated Node #0,3,4: 29:[71, 78] Operation: 46+32=78
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 29:[32, 25], Operations: ['53-21=32', '71-46=25']
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 32+25=57, Resulting Numbers: [57]
57,29 unequal: No Solution
Exploring Operation: 32*25=800, Resulting Numbers: [800]
800,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 29:[46, 39], Operations: ['53-21=32', '71-32=39']
Exploring Operation: 46*39=1794, Resulting Numbers: [1794]
1794,29 unequal: No Solution
Exploring Operation: 46+39=85, Resulting Numbers: [85]
85,29 unequal: No Solution
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 29:[71, 14], Operations: ['53-21=32', '46-32=14']
Exploring Operation: 71*14=994, Resulting Numbers: [994]
994,29 unequal: No Solution
Exploring Operation: 71-14=57, Resulting Numbers: [57]
57,29 unequal: No Solution
Exploring Operation: 71+14=85, Resulting Numbers: [85]
85,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 29:[32, 117], Operations: ['53-21=32', '46+71=117']
Exploring Operation: 32*117=3744, Resulting Numbers: [3744]
3744,29 unequal: No Solution
Exploring Operation: 32+117=149, Resulting Numbers: [149]
149,29 unequal: No Solution
Exploring Operation: 117-32=85, Resulting Numbers: [85]
85,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 29:[71, 78], Operations: ['53-21=32', '46+32=78']
Exploring Operation: 71+78=149, Resulting Numbers: [149]
149,29 unequal: No Solution
Exploring Operation: 78-71=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 71*78=5538, Resulting Numbers: [5538]
5538,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 29:[53, 46, 50], Operations: ['71-21=50']
Exploring Operation: 50-46=4, Resulting Numbers: [53, 4]
Generated Node #0,4,0: 29:[53, 4] Operation: 50-46=4
Exploring Operation: 53+46=99, Resulting Numbers: [50, 99]
Generated Node #0,4,1: 29:[50, 99] Operation: 53+46=99
Exploring Operation: 53-46=7, Resulting Numbers: [50, 7]
Generated Node #0,4,2: 29:[50, 7] Operation: 53-46=7
Exploring Operation: 53-50=3, Resulting Numbers: [46, 3]
Generated Node #0,4,3: 29:[46, 3] Operation: 53-50=3
Exploring Operation: 53+50=103, Resulting Numbers: [46, 103]
Generated Node #0,4,4: 29:[46, 103] Operation: 53+50=103
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 29:[50, 7], Operations: ['71-21=50', '53-46=7']
Exploring Operation: 50*7=350, Resulting Numbers: [350]
350,29 unequal: No Solution
Exploring Operation: 50+7=57, Resulting Numbers: [57]
57,29 unequal: No Solution
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 29:[46, 3], Operations: ['71-21=50', '53-50=3']
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 46*3=138, Resulting Numbers: [138]
138,29 unequal: No Solution
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 29:[53, 4], Operations: ['71-21=50', '50-46=4']
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,29 unequal: No Solution
Exploring Operation: 53*4=212, Resulting Numbers: [212]
212,29 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 29:[50, 99], Operations: ['71-21=50', '53+46=99']
Exploring Operation: 50*99=4950, Resulting Numbers: [4950]
4950,29 unequal: No Solution
Exploring Operation: 50+99=149, Resulting Numbers: [149]
149,29 unequal: No Solution
Exploring Operation: 99-50=49, Resulting Numbers: [49]
49,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 29:[46, 103], Operations: ['71-21=50', '53+50=103']
Exploring Operation: 46+103=149, Resulting Numbers: [149]
149,29 unequal: No Solution
Exploring Operation: 46*103=4738, Resulting Numbers: [4738]
4738,29 unequal: No Solution
Exploring Operation: 103-46=57, Resulting Numbers: [57]
57,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[53, 71, 25], Operations: ['46-21=25']
Exploring Operation: 71-25=46, Resulting Numbers: [53, 46]
Generated Node #0,2,0: 29:[53, 46] Operation: 71-25=46
Exploring Operation: 53-25=28, Resulting Numbers: [71, 28]
Generated Node #0,2,1: 29:[71, 28] Operation: 53-25=28
Exploring Operation: 71+25=96, Resulting Numbers: [53, 96]
Generated Node #0,2,2: 29:[53, 96] Operation: 71+25=96
Exploring Operation: 53+25=78, Resulting Numbers: [71, 78]
Generated Node #0,2,3: 29:[71, 78] Operation: 53+25=78
Exploring Operation: 71-53=18, Resulting Numbers: [25, 18]
Generated Node #0,2,4: 29:[25, 18] Operation: 71-53=18
Moving to Node #0,2,4
Current State: 29:[25, 18], Operations: ['46-21=25', '71-53=18']
Exploring Operation: 25*18=450, Resulting Numbers: [450]
450,29 unequal: No Solution
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 25+18=43, Resulting Numbers: [43]
43,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[53, 46], Operations: ['46-21=25', '71-25=46']
Exploring Operation: 53*46=2438, Resulting Numbers: [2438]
2438,29 unequal: No Solution
Exploring Operation: 53-46=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 53+46=99, Resulting Numbers: [99]
99,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[71, 28], Operations: ['46-21=25', '53-25=28']
Exploring Operation: 71*28=1988, Resulting Numbers: [1988]
1988,29 unequal: No Solution
Exploring Operation: 71+28=99, Resulting Numbers: [99]
99,29 unequal: No Solution
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[53, 96], Operations: ['46-21=25', '71+25=96']
Exploring Operation: 53+96=149, Resulting Numbers: [149]
149,29 unequal: No Solution
Exploring Operation: 96-53=43, Resulting Numbers: [43]
43,29 unequal: No Solution
Exploring Operation: 53*96=5088, Resulting Numbers: [5088]
5088,29 unequal: No Solution
Moving to Node #0,2,3
Current State: 29:[71, 78], Operations: ['46-21=25', '53+25=78']
Exploring Operation: 71+78=149, Resulting Numbers: [149]
149,29 unequal: No Solution
Exploring Operation: 71*78=5538, Resulting Numbers: [5538]
5538,29 unequal: No Solution
Exploring Operation: 78-71=7, Resulting Numbers: [7]
7,29 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.