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 |
|---|---|---|---|---|---|---|---|---|
[
94,
80,
36,
98
] | 89 | [
"98-94=4",
"36/4=9",
"80+9=89"
] | Current State: 89:[94, 80, 36, 98], Operations: []
Exploring Operation: 98-94=4, Resulting Numbers: [80, 36, 4]
Generated Node #2: [80, 36, 4] from Operation: 98-94=4
Current State: 89:[80, 36, 4], Operations: ['98-94=4']
Exploring Operation: 36/4=9, Resulting Numbers: [80, 9]
Generated Node #3: [80, 9] from Operation: 36/4=9
Current State: 89:[80, 9], Operations: ['98-94=4', '36/4=9']
Exploring Operation: 80+9=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[94, 80, 36, 98], Operations: []
Exploring Operation: 94+36=130, Resulting Numbers: [80, 98, 130]
Generated Node #0,0: 89:[80, 98, 130] Operation: 94+36=130
Exploring Operation: 94-36=58, Resulting Numbers: [80, 98, 58]
Generated Node #0,1: 89:[80, 98, 58] Operation: 94-36=58
Exploring Operation: 80+36=116, Resulting Numbers: [94, 98, 116]
Generated Node #0,2: 89:[94, 98, 116] Operation: 80+36=116
Exploring Operation: 98-36=62, Resulting Numbers: [94, 80, 62]
Generated Node #0,3: 89:[94, 80, 62] Operation: 98-36=62
Moving to Node #0,2
Current State: 89:[94, 98, 116], Operations: ['80+36=116']
Exploring Operation: 98-94=4, Resulting Numbers: [116, 4]
Generated Node #0,2,0: 89:[116, 4] Operation: 98-94=4
Exploring Operation: 116-94=22, Resulting Numbers: [98, 22]
Generated Node #0,2,1: 89:[98, 22] Operation: 116-94=22
Exploring Operation: 116-98=18, Resulting Numbers: [94, 18]
Generated Node #0,2,2: 89:[94, 18] Operation: 116-98=18
Exploring Operation: 94+98=192, Resulting Numbers: [116, 192]
Generated Node #0,2,3: 89:[116, 192] Operation: 94+98=192
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[98, 22], Operations: ['80+36=116', '116-94=22']
Exploring Operation: 98*22=2156, Resulting Numbers: [2156]
2156,89 unequal: No Solution
Exploring Operation: 98+22=120, Resulting Numbers: [120]
120,89 unequal: No Solution
Exploring Operation: 98-22=76, Resulting Numbers: [76]
76,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:[94, 18], Operations: ['80+36=116', '116-98=18']
Exploring Operation: 94-18=76, Resulting Numbers: [76]
76,89 unequal: No Solution
Exploring Operation: 94*18=1692, Resulting Numbers: [1692]
1692,89 unequal: No Solution
Exploring Operation: 94+18=112, Resulting Numbers: [112]
112,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:[116, 4], Operations: ['80+36=116', '98-94=4']
Exploring Operation: 116+4=120, Resulting Numbers: [120]
120,89 unequal: No Solution
Exploring Operation: 116/4=29, Resulting Numbers: [29]
29,89 unequal: No Solution
Exploring Operation: 116*4=464, Resulting Numbers: [464]
464,89 unequal: No Solution
Exploring Operation: 116-4=112, Resulting Numbers: [112]
112,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,3
Current State: 89:[116, 192], Operations: ['80+36=116', '94+98=192']
Exploring Operation: 192-116=76, Resulting Numbers: [76]
76,89 unequal: No Solution
Exploring Operation: 116*192=22272, Resulting Numbers: [22272]
22272,89 unequal: No Solution
Exploring Operation: 116+192=308, Resulting Numbers: [308]
308,89 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: 89:[94, 80, 62], Operations: ['98-36=62']
Exploring Operation: 94-62=32, Resulting Numbers: [80, 32]
Generated Node #0,3,0: 89:[80, 32] Operation: 94-62=32
Exploring Operation: 80-62=18, Resulting Numbers: [94, 18]
Generated Node #0,3,1: 89:[94, 18] Operation: 80-62=18
Exploring Operation: 80+62=142, Resulting Numbers: [94, 142]
Generated Node #0,3,2: 89:[94, 142] Operation: 80+62=142
Exploring Operation: 94+62=156, Resulting Numbers: [80, 156]
Generated Node #0,3,3: 89:[80, 156] Operation: 94+62=156
Moving to Node #0,1
Current State: 89:[80, 98, 58], Operations: ['94-36=58']
Exploring Operation: 80-58=22, Resulting Numbers: [98, 22]
Generated Node #0,1,0: 89:[98, 22] Operation: 80-58=22
Exploring Operation: 98+58=156, Resulting Numbers: [80, 156]
Generated Node #0,1,1: 89:[80, 156] Operation: 98+58=156
Exploring Operation: 80+58=138, Resulting Numbers: [98, 138]
Generated Node #0,1,2: 89:[98, 138] Operation: 80+58=138
Exploring Operation: 98-58=40, Resulting Numbers: [80, 40]
Generated Node #0,1,3: 89:[80, 40] Operation: 98-58=40
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 89:[98, 138], Operations: ['94-36=58', '80+58=138']
Exploring Operation: 98*138=13524, Resulting Numbers: [13524]
13524,89 unequal: No Solution
Exploring Operation: 98+138=236, Resulting Numbers: [236]
236,89 unequal: No Solution
Exploring Operation: 138-98=40, Resulting Numbers: [40]
40,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,3
Current State: 89:[80, 40], Operations: ['94-36=58', '98-58=40']
Exploring Operation: 80/40=2, Resulting Numbers: [2]
2,89 unequal: No Solution
Exploring Operation: 80+40=120, Resulting Numbers: [120]
120,89 unequal: No Solution
Exploring Operation: 80*40=3200, Resulting Numbers: [3200]
3200,89 unequal: No Solution
Exploring Operation: 80-40=40, Resulting Numbers: [40]
40,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:[98, 22], Operations: ['94-36=58', '80-58=22']
Exploring Operation: 98-22=76, Resulting Numbers: [76]
76,89 unequal: No Solution
Exploring Operation: 98+22=120, Resulting Numbers: [120]
120,89 unequal: No Solution
Exploring Operation: 98*22=2156, Resulting Numbers: [2156]
2156,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:[80, 156], Operations: ['94-36=58', '98+58=156']
Exploring Operation: 80*156=12480, Resulting Numbers: [12480]
12480,89 unequal: No Solution
Exploring Operation: 80+156=236, Resulting Numbers: [236]
236,89 unequal: No Solution
Exploring Operation: 156-80=76, Resulting Numbers: [76]
76,89 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: 89:[80, 98, 130], Operations: ['94+36=130']
Exploring Operation: 130-80=50, Resulting Numbers: [98, 50]
Generated Node #0,0,0: 89:[98, 50] Operation: 130-80=50
Exploring Operation: 98-80=18, Resulting Numbers: [130, 18]
Generated Node #0,0,1: 89:[130, 18] Operation: 98-80=18
Exploring Operation: 80+98=178, Resulting Numbers: [130, 178]
Generated Node #0,0,2: 89:[130, 178] Operation: 80+98=178
Exploring Operation: 130-98=32, Resulting Numbers: [80, 32]
Generated Node #0,0,3: 89:[80, 32] Operation: 130-98=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[98, 50], Operations: ['94+36=130', '130-80=50']
Exploring Operation: 98*50=4900, Resulting Numbers: [4900]
4900,89 unequal: No Solution
Exploring Operation: 98-50=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 98+50=148, Resulting Numbers: [148]
148,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 89:[80, 32], Operations: ['94+36=130', '130-98=32']
Exploring Operation: 80-32=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 80*32=2560, Resulting Numbers: [2560]
2560,89 unequal: No Solution
Exploring Operation: 80+32=112, Resulting Numbers: [112]
112,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[130, 18], Operations: ['94+36=130', '98-80=18']
Exploring Operation: 130-18=112, Resulting Numbers: [112]
112,89 unequal: No Solution
Exploring Operation: 130*18=2340, Resulting Numbers: [2340]
2340,89 unequal: No Solution
Exploring Operation: 130+18=148, Resulting Numbers: [148]
148,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[130, 178], Operations: ['94+36=130', '80+98=178']
Exploring Operation: 130*178=23140, Resulting Numbers: [23140]
23140,89 unequal: No Solution
Exploring Operation: 130+178=308, Resulting Numbers: [308]
308,89 unequal: No Solution
Exploring Operation: 178-130=48, Resulting Numbers: [48]
48,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 89:[94, 142], Operations: ['98-36=62', '80+62=142']
Exploring Operation: 94+142=236, Resulting Numbers: [236]
236,89 unequal: No Solution
Exploring Operation: 142-94=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 94*142=13348, Resulting Numbers: [13348]
13348,89 unequal: No Solution
Moving to Node #0,3,0
Current State: 89:[80, 32], Operations: ['98-36=62', '94-62=32']
Exploring Operation: 80-32=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 80+32=112, Resulting Numbers: [112]
112,89 unequal: No Solution
Exploring Operation: 80*32=2560, Resulting Numbers: [2560]
2560,89 unequal: No Solution
Moving to Node #0,3,3
Current State: 89:[80, 156], Operations: ['98-36=62', '94+62=156']
Exploring Operation: 80+156=236, Resulting Numbers: [236]
236,89 unequal: No Solution
Exploring Operation: 156-80=76, Resulting Numbers: [76]
76,89 unequal: No Solution
Exploring Operation: 80*156=12480, Resulting Numbers: [12480]
12480,89 unequal: No Solution
Moving to Node #0,3,1
Current State: 89:[94, 18], Operations: ['98-36=62', '80-62=18']
Exploring Operation: 94+18=112, Resulting Numbers: [112]
112,89 unequal: No Solution
Exploring Operation: 94-18=76, Resulting Numbers: [76]
76,89 unequal: No Solution
Exploring Operation: 94*18=1692, Resulting Numbers: [1692]
1692,89 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
48,
24,
71,
3
] | 70 | [
"48/24=2",
"71-3=68",
"2+68=70"
] | Current State: 70:[48, 24, 71, 3], Operations: []
Exploring Operation: 48/24=2, Resulting Numbers: [71, 3, 2]
Generated Node #2: [71, 3, 2] from Operation: 48/24=2
Current State: 70:[71, 3, 2], Operations: ['48/24=2']
Exploring Operation: 71-3=68, Resulting Numbers: [2, 68]
Generated Node #3: [2, 68] from Operation: 71-3=68
Current State: 70:[2, 68], Operations: ['48/24=2', '71-3=68']
Exploring Operation: 2+68=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[48, 24, 71, 3], Operations: []
Exploring Operation: 48+24=72, Resulting Numbers: [71, 3, 72]
Generated Node #0,0: 70:[71, 3, 72] Operation: 48+24=72
Exploring Operation: 48/24=2, Resulting Numbers: [71, 3, 2]
Generated Node #0,1: 70:[71, 3, 2] Operation: 48/24=2
Exploring Operation: 48-24=24, Resulting Numbers: [71, 3, 24]
Generated Node #0,2: 70:[71, 3, 24] Operation: 48-24=24
Exploring Operation: 24/3=8, Resulting Numbers: [48, 71, 8]
Generated Node #0,3: 70:[48, 71, 8] Operation: 24/3=8
Exploring Operation: 48/3=16, Resulting Numbers: [24, 71, 16]
Generated Node #0,4: 70:[24, 71, 16] Operation: 48/3=16
Moving to Node #0,1
Current State: 70:[71, 3, 2], Operations: ['48/24=2']
Exploring Operation: 3-2=1, Resulting Numbers: [71, 1]
Generated Node #0,1,0: 70:[71, 1] Operation: 3-2=1
Exploring Operation: 3+2=5, Resulting Numbers: [71, 5]
Generated Node #0,1,1: 70:[71, 5] Operation: 3+2=5
Exploring Operation: 71-3=68, Resulting Numbers: [2, 68]
Generated Node #0,1,2: 70:[2, 68] Operation: 71-3=68
Exploring Operation: 3*2=6, Resulting Numbers: [71, 6]
Generated Node #0,1,3: 70:[71, 6] Operation: 3*2=6
Exploring Operation: 71-2=69, Resulting Numbers: [3, 69]
Generated Node #0,1,4: 70:[3, 69] Operation: 71-2=69
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[71, 5], Operations: ['48/24=2', '3+2=5']
Exploring Operation: 71*5=355, Resulting Numbers: [355]
355,70 unequal: No Solution
Exploring Operation: 71+5=76, Resulting Numbers: [76]
76,70 unequal: No Solution
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[71, 1], Operations: ['48/24=2', '3-2=1']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[48, 24, 71, 3], Operations: []
Exploring Operation: 48/24=2, Resulting Numbers: [71, 3, 2]
Generated Node #0,1: 70:[71, 3, 2] Operation: 48/24=2
Moving to Node #0,1
Current State: 70:[71, 3, 2], Operations: ['48/24=2']
Exploring Operation: 3-2=1, Resulting Numbers: [71, 1]
Generated Node #0,1,0: 70:[71, 1] Operation: 3-2=1
Moving to Node #0,1,0
Current State: 70:[71, 1], Operations: ['48/24=2', '3-2=1']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
19,
89,
13,
80
] | 20 | [
"19*80=1520",
"89-13=76",
"1520/76=20"
] | Current State: 20:[19, 89, 13, 80], Operations: []
Exploring Operation: 19*80=1520, Resulting Numbers: [89, 13, 1520]
Generated Node #2: [89, 13, 1520] from Operation: 19*80=1520
Current State: 20:[89, 13, 1520], Operations: ['19*80=1520']
Exploring Operation: 89-13=76, Resulting Numbers: [1520, 76]
Generated Node #3: [1520, 76] from Operation: 89-13=76
Current State: 20:[1520, 76], Operations: ['19*80=1520', '89-13=76']
Exploring Operation: 1520/76=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[19, 89, 13, 80], Operations: []
Exploring Operation: 89-19=70, Resulting Numbers: [13, 80, 70]
Generated Node #0,0: 20:[13, 80, 70] Operation: 89-19=70
Exploring Operation: 89-80=9, Resulting Numbers: [19, 13, 9]
Generated Node #0,1: 20:[19, 13, 9] Operation: 89-80=9
Exploring Operation: 80-19=61, Resulting Numbers: [89, 13, 61]
Generated Node #0,2: 20:[89, 13, 61] Operation: 80-19=61
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[19, 13, 9], Operations: ['89-80=9']
Exploring Operation: 13-9=4, Resulting Numbers: [19, 4]
Generated Node #0,1,0: 20:[19, 4] Operation: 13-9=4
Exploring Operation: 19-13=6, Resulting Numbers: [9, 6]
Generated Node #0,1,1: 20:[9, 6] Operation: 19-13=6
Exploring Operation: 19-9=10, Resulting Numbers: [13, 10]
Generated Node #0,1,2: 20:[13, 10] Operation: 19-9=10
Moving to Node #0,1,0
Current State: 20:[19, 4], Operations: ['89-80=9', '13-9=4']
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,20 unequal: No Solution
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[9, 6], Operations: ['89-80=9', '19-13=6']
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,20 unequal: No Solution
Moving to Node #0,1,2
Current State: 20:[13, 10], Operations: ['89-80=9', '19-9=10']
Exploring Operation: 13*10=130, Resulting Numbers: [130]
130,20 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 13+10=23, Resulting Numbers: [23]
23,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[13, 80, 70], Operations: ['89-19=70']
Exploring Operation: 80-70=10, Resulting Numbers: [13, 10]
Generated Node #0,0,0: 20:[13, 10] Operation: 80-70=10
Exploring Operation: 70-13=57, Resulting Numbers: [80, 57]
Generated Node #0,0,1: 20:[80, 57] Operation: 70-13=57
Exploring Operation: 80-13=67, Resulting Numbers: [70, 67]
Generated Node #0,0,2: 20:[70, 67] Operation: 80-13=67
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[13, 10], Operations: ['89-19=70', '80-70=10']
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 13*10=130, Resulting Numbers: [130]
130,20 unequal: No Solution
Exploring Operation: 13+10=23, Resulting Numbers: [23]
23,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 20:[80, 57], Operations: ['89-19=70', '70-13=57']
Exploring Operation: 80+57=137, Resulting Numbers: [137]
137,20 unequal: No Solution
Exploring Operation: 80-57=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Exploring Operation: 80*57=4560, Resulting Numbers: [4560]
4560,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 20:[70, 67], Operations: ['89-19=70', '80-13=67']
Exploring Operation: 70+67=137, Resulting Numbers: [137]
137,20 unequal: No Solution
Exploring Operation: 70*67=4690, Resulting Numbers: [4690]
4690,20 unequal: No Solution
Exploring Operation: 70-67=3, Resulting Numbers: [3]
3,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[89, 13, 61], Operations: ['80-19=61']
Exploring Operation: 61-13=48, Resulting Numbers: [89, 48]
Generated Node #0,2,0: 20:[89, 48] Operation: 61-13=48
Exploring Operation: 89-13=76, Resulting Numbers: [61, 76]
Generated Node #0,2,1: 20:[61, 76] Operation: 89-13=76
Exploring Operation: 89-61=28, Resulting Numbers: [13, 28]
Generated Node #0,2,2: 20:[13, 28] Operation: 89-61=28
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 20:[13, 28], Operations: ['80-19=61', '89-61=28']
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Exploring Operation: 13+28=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 13*28=364, Resulting Numbers: [364]
364,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 20:[89, 48], Operations: ['80-19=61', '61-13=48']
Exploring Operation: 89*48=4272, Resulting Numbers: [4272]
4272,20 unequal: No Solution
Exploring Operation: 89-48=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 89+48=137, Resulting Numbers: [137]
137,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 20:[61, 76], Operations: ['80-19=61', '89-13=76']
Exploring Operation: 61+76=137, Resulting Numbers: [137]
137,20 unequal: No Solution
Exploring Operation: 76-61=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Exploring Operation: 61*76=4636, Resulting Numbers: [4636]
4636,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
4,
35,
42,
20
] | 73 | [
"4*20=80",
"42-35=7",
"80-7=73"
] | Current State: 73:[4, 35, 42, 20], Operations: []
Exploring Operation: 4*20=80, Resulting Numbers: [35, 42, 80]
Generated Node #2: [35, 42, 80] from Operation: 4*20=80
Current State: 73:[35, 42, 80], Operations: ['4*20=80']
Exploring Operation: 42-35=7, Resulting Numbers: [80, 7]
Generated Node #3: [80, 7] from Operation: 42-35=7
Current State: 73:[80, 7], Operations: ['4*20=80', '42-35=7']
Exploring Operation: 80-7=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[4, 35, 42, 20], Operations: []
Exploring Operation: 4+20=24, Resulting Numbers: [35, 42, 24]
Generated Node #0,0: 73:[35, 42, 24] Operation: 4+20=24
Exploring Operation: 4+42=46, Resulting Numbers: [35, 20, 46]
Generated Node #0,1: 73:[35, 20, 46] Operation: 4+42=46
Exploring Operation: 4*20=80, Resulting Numbers: [35, 42, 80]
Generated Node #0,2: 73:[35, 42, 80] Operation: 4*20=80
Exploring Operation: 35+20=55, Resulting Numbers: [4, 42, 55]
Generated Node #0,3: 73:[4, 42, 55] Operation: 35+20=55
Exploring Operation: 4+35=39, Resulting Numbers: [42, 20, 39]
Generated Node #0,4: 73:[42, 20, 39] Operation: 4+35=39
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[35, 42, 80], Operations: ['4*20=80']
Exploring Operation: 35+80=115, Resulting Numbers: [42, 115]
Generated Node #0,2,0: 73:[42, 115] Operation: 35+80=115
Exploring Operation: 35+42=77, Resulting Numbers: [80, 77]
Generated Node #0,2,1: 73:[80, 77] Operation: 35+42=77
Exploring Operation: 80-42=38, Resulting Numbers: [35, 38]
Generated Node #0,2,2: 73:[35, 38] Operation: 80-42=38
Exploring Operation: 80-35=45, Resulting Numbers: [42, 45]
Generated Node #0,2,3: 73:[42, 45] Operation: 80-35=45
Exploring Operation: 42-35=7, Resulting Numbers: [80, 7]
Generated Node #0,2,4: 73:[80, 7] Operation: 42-35=7
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 73:[80, 77], Operations: ['4*20=80', '35+42=77']
Exploring Operation: 80+77=157, Resulting Numbers: [157]
157,73 unequal: No Solution
Exploring Operation: 80*77=6160, Resulting Numbers: [6160]
6160,73 unequal: No Solution
Exploring Operation: 80-77=3, Resulting Numbers: [3]
3,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,3
Current State: 73:[42, 45], Operations: ['4*20=80', '80-35=45']
Exploring Operation: 42+45=87, Resulting Numbers: [87]
87,73 unequal: No Solution
Exploring Operation: 45-42=3, Resulting Numbers: [3]
3,73 unequal: No Solution
Exploring Operation: 42*45=1890, Resulting Numbers: [1890]
1890,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:[42, 115], Operations: ['4*20=80', '35+80=115']
Exploring Operation: 42+115=157, Resulting Numbers: [157]
157,73 unequal: No Solution
Exploring Operation: 42*115=4830, Resulting Numbers: [4830]
4830,73 unequal: No Solution
Exploring Operation: 115-42=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[4, 35, 42, 20], Operations: []
Exploring Operation: 4*20=80, Resulting Numbers: [35, 42, 80]
Generated Node #0,2: 73:[35, 42, 80] Operation: 4*20=80
Moving to Node #0,2
Current State: 73:[35, 42, 80], Operations: ['4*20=80']
Exploring Operation: 35+80=115, Resulting Numbers: [42, 115]
Generated Node #0,2,0: 73:[42, 115] Operation: 35+80=115
Moving to Node #0,2,0
Current State: 73:[42, 115], Operations: ['4*20=80', '35+80=115']
Exploring Operation: 115-42=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 | sum_heuristic |
[
18,
2,
98,
40
] | 47 | [
"98-40=58",
"58/2=29",
"18+29=47"
] | Current State: 47:[18, 2, 98, 40], Operations: []
Exploring Operation: 98-40=58, Resulting Numbers: [18, 2, 58]
Generated Node #2: [18, 2, 58] from Operation: 98-40=58
Current State: 47:[18, 2, 58], Operations: ['98-40=58']
Exploring Operation: 58/2=29, Resulting Numbers: [18, 29]
Generated Node #3: [18, 29] from Operation: 58/2=29
Current State: 47:[18, 29], Operations: ['98-40=58', '58/2=29']
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[18, 2, 98, 40], Operations: []
Exploring Operation: 18*2=36, Resulting Numbers: [98, 40, 36]
Generated Node #0,0: 47:[98, 40, 36] Operation: 18*2=36
Exploring Operation: 98/2=49, Resulting Numbers: [18, 40, 49]
Generated Node #0,1: 47:[18, 40, 49] Operation: 98/2=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[18, 40, 49], Operations: ['98/2=49']
Exploring Operation: 49-18=31, Resulting Numbers: [40, 31]
Generated Node #0,1,0: 47:[40, 31] Operation: 49-18=31
Exploring Operation: 18+40=58, Resulting Numbers: [49, 58]
Generated Node #0,1,1: 47:[49, 58] Operation: 18+40=58
Moving to Node #0,1,1
Current State: 47:[49, 58], Operations: ['98/2=49', '18+40=58']
Exploring Operation: 49+58=107, Resulting Numbers: [107]
107,47 unequal: No Solution
Exploring Operation: 58-49=9, Resulting Numbers: [9]
9,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[40, 31], Operations: ['98/2=49', '49-18=31']
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,47 unequal: No Solution
Exploring Operation: 40+31=71, Resulting Numbers: [71]
71,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[98, 40, 36], Operations: ['18*2=36']
Exploring Operation: 98-40=58, Resulting Numbers: [36, 58]
Generated Node #0,0,0: 47:[36, 58] Operation: 98-40=58
Exploring Operation: 98-36=62, Resulting Numbers: [40, 62]
Generated Node #0,0,1: 47:[40, 62] Operation: 98-36=62
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[36, 58], Operations: ['18*2=36', '98-40=58']
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 36+58=94, Resulting Numbers: [94]
94,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:[40, 62], Operations: ['18*2=36', '98-36=62']
Exploring Operation: 62-40=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 40+62=102, Resulting Numbers: [102]
102,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_2 | sum_heuristic |
[
80,
42,
2,
41
] | 18 | [
"80-41=39",
"42/2=21",
"39-21=18"
] | Current State: 18:[80, 42, 2, 41], Operations: []
Exploring Operation: 80-41=39, Resulting Numbers: [42, 2, 39]
Generated Node #2: [42, 2, 39] from Operation: 80-41=39
Current State: 18:[42, 2, 39], Operations: ['80-41=39']
Exploring Operation: 42/2=21, Resulting Numbers: [39, 21]
Generated Node #3: [39, 21] from Operation: 42/2=21
Current State: 18:[39, 21], Operations: ['80-41=39', '42/2=21']
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[80, 42, 2, 41], Operations: []
Exploring Operation: 80-41=39, Resulting Numbers: [42, 2, 39]
Generated Node #0,0: 18:[42, 2, 39] Operation: 80-41=39
Exploring Operation: 42-41=1, Resulting Numbers: [80, 2, 1]
Generated Node #0,1: 18:[80, 2, 1] Operation: 42-41=1
Exploring Operation: 80-42=38, Resulting Numbers: [2, 41, 38]
Generated Node #0,2: 18:[2, 41, 38] Operation: 80-42=38
Moving to Node #0,2
Current State: 18:[2, 41, 38], Operations: ['80-42=38']
Exploring Operation: 41-2=39, Resulting Numbers: [38, 39]
Generated Node #0,2,0: 18:[38, 39] Operation: 41-2=39
Exploring Operation: 38/2=19, Resulting Numbers: [41, 19]
Generated Node #0,2,1: 18:[41, 19] Operation: 38/2=19
Exploring Operation: 41-38=3, Resulting Numbers: [2, 3]
Generated Node #0,2,2: 18:[2, 3] Operation: 41-38=3
Moving to Node #0,0
Current State: 18:[42, 2, 39], Operations: ['80-41=39']
Exploring Operation: 42/2=21, Resulting Numbers: [39, 21]
Generated Node #0,0,0: 18:[39, 21] Operation: 42/2=21
Exploring Operation: 42-39=3, Resulting Numbers: [2, 3]
Generated Node #0,0,1: 18:[2, 3] Operation: 42-39=3
Exploring Operation: 42-2=40, Resulting Numbers: [39, 40]
Generated Node #0,0,2: 18:[39, 40] Operation: 42-2=40
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[2, 3], Operations: ['80-41=39', '42-39=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[39, 21], Operations: ['80-41=39', '42/2=21']
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[80, 42, 2, 41], Operations: []
Exploring Operation: 80-41=39, Resulting Numbers: [42, 2, 39]
Generated Node #0,0: 18:[42, 2, 39] Operation: 80-41=39
Moving to Node #0,0
Current State: 18:[42, 2, 39], Operations: ['80-41=39']
Exploring Operation: 42/2=21, Resulting Numbers: [39, 21]
Generated Node #0,0,0: 18:[39, 21] Operation: 42/2=21
Moving to Node #0,0,0
Current State: 18:[39, 21], Operations: ['80-41=39', '42/2=21']
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
5,
31,
97,
72
] | 36 | [
"97-72=25",
"25/5=5",
"31+5=36"
] | Current State: 36:[5, 31, 97, 72], Operations: []
Exploring Operation: 97-72=25, Resulting Numbers: [5, 31, 25]
Generated Node #2: [5, 31, 25] from Operation: 97-72=25
Current State: 36:[5, 31, 25], Operations: ['97-72=25']
Exploring Operation: 25/5=5, Resulting Numbers: [31, 5]
Generated Node #3: [31, 5] from Operation: 25/5=5
Current State: 36:[31, 5], Operations: ['97-72=25', '25/5=5']
Exploring Operation: 31+5=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[5, 31, 97, 72], Operations: []
Exploring Operation: 97-31=66, Resulting Numbers: [5, 72, 66]
Generated Node #0,0: 36:[5, 72, 66] Operation: 97-31=66
Exploring Operation: 97-72=25, Resulting Numbers: [5, 31, 25]
Generated Node #0,1: 36:[5, 31, 25] Operation: 97-72=25
Exploring Operation: 72-31=41, Resulting Numbers: [5, 97, 41]
Generated Node #0,2: 36:[5, 97, 41] Operation: 72-31=41
Moving to Node #0,1
Current State: 36:[5, 31, 25], Operations: ['97-72=25']
Exploring Operation: 5+31=36, Resulting Numbers: [25, 36]
Generated Node #0,1,0: 36:[25, 36] Operation: 5+31=36
Exploring Operation: 31-25=6, Resulting Numbers: [5, 6]
Generated Node #0,1,1: 36:[5, 6] Operation: 31-25=6
Exploring Operation: 25/5=5, Resulting Numbers: [31, 5]
Generated Node #0,1,2: 36:[31, 5] Operation: 25/5=5
Moving to Node #0,0
Current State: 36:[5, 72, 66], Operations: ['97-31=66']
Exploring Operation: 72-66=6, Resulting Numbers: [5, 6]
Generated Node #0,0,0: 36:[5, 6] Operation: 72-66=6
Exploring Operation: 66-5=61, Resulting Numbers: [72, 61]
Generated Node #0,0,1: 36:[72, 61] Operation: 66-5=61
Exploring Operation: 72-5=67, Resulting Numbers: [66, 67]
Generated Node #0,0,2: 36:[66, 67] Operation: 72-5=67
Moving to Node #0,2
Current State: 36:[5, 97, 41], Operations: ['72-31=41']
Exploring Operation: 41-5=36, Resulting Numbers: [97, 36]
Generated Node #0,2,0: 36:[97, 36] Operation: 41-5=36
Exploring Operation: 97-5=92, Resulting Numbers: [41, 92]
Generated Node #0,2,1: 36:[41, 92] Operation: 97-5=92
Exploring Operation: 97-41=56, Resulting Numbers: [5, 56]
Generated Node #0,2,2: 36:[5, 56] Operation: 97-41=56
Moving to Node #0,1,1
Current State: 36:[5, 6], Operations: ['97-72=25', '31-25=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[5, 6], Operations: ['97-31=66', '72-66=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[31, 5], Operations: ['97-72=25', '25/5=5']
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 31+5=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[5, 31, 97, 72], Operations: []
Exploring Operation: 97-72=25, Resulting Numbers: [5, 31, 25]
Generated Node #0,1: 36:[5, 31, 25] Operation: 97-72=25
Moving to Node #0,1
Current State: 36:[5, 31, 25], Operations: ['97-72=25']
Exploring Operation: 25/5=5, Resulting Numbers: [31, 5]
Generated Node #0,1,2: 36:[31, 5] Operation: 25/5=5
Moving to Node #0,1,2
Current State: 36:[31, 5], Operations: ['97-72=25', '25/5=5']
Exploring Operation: 31+5=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.979167 | hs_3 | mult_heuristic |
[
44,
70,
27,
2
] | 42 | [
"70-27=43",
"2*43=86",
"86-44=42"
] | Current State: 42:[44, 70, 27, 2], Operations: []
Exploring Operation: 70-27=43, Resulting Numbers: [44, 2, 43]
Generated Node #2: [44, 2, 43] from Operation: 70-27=43
Current State: 42:[44, 2, 43], Operations: ['70-27=43']
Exploring Operation: 2*43=86, Resulting Numbers: [44, 86]
Generated Node #3: [44, 86] from Operation: 2*43=86
Current State: 42:[44, 86], Operations: ['70-27=43', '2*43=86']
Exploring Operation: 86-44=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[44, 70, 27, 2], Operations: []
Exploring Operation: 70-44=26, Resulting Numbers: [27, 2, 26]
Generated Node #0,0: 42:[27, 2, 26] Operation: 70-44=26
Exploring Operation: 70-27=43, Resulting Numbers: [44, 2, 43]
Generated Node #0,1: 42:[44, 2, 43] Operation: 70-27=43
Exploring Operation: 70/2=35, Resulting Numbers: [44, 27, 35]
Generated Node #0,2: 42:[44, 27, 35] Operation: 70/2=35
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[44, 2, 43], Operations: ['70-27=43']
Exploring Operation: 44-43=1, Resulting Numbers: [2, 1]
Generated Node #0,1,0: 42:[2, 1] Operation: 44-43=1
Exploring Operation: 44/2=22, Resulting Numbers: [43, 22]
Generated Node #0,1,1: 42:[43, 22] Operation: 44/2=22
Exploring Operation: 44-2=42, Resulting Numbers: [43, 42]
Generated Node #0,1,2: 42:[43, 42] Operation: 44-2=42
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 42:[2, 1], Operations: ['70-27=43', '44-43=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 42:[43, 42], Operations: ['70-27=43', '44-2=42']
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 43+42=85, Resulting Numbers: [85]
85,42 unequal: No Solution
Exploring Operation: 43*42=1806, Resulting Numbers: [1806]
1806,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 42:[43, 22], Operations: ['70-27=43', '44/2=22']
Exploring Operation: 43*22=946, Resulting Numbers: [946]
946,42 unequal: No Solution
Exploring Operation: 43+22=65, Resulting Numbers: [65]
65,42 unequal: No Solution
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[27, 2, 26], Operations: ['70-44=26']
Exploring Operation: 26/2=13, Resulting Numbers: [27, 13]
Generated Node #0,0,0: 42:[27, 13] Operation: 26/2=13
Exploring Operation: 27-2=25, Resulting Numbers: [26, 25]
Generated Node #0,0,1: 42:[26, 25] Operation: 27-2=25
Exploring Operation: 27-26=1, Resulting Numbers: [2, 1]
Generated Node #0,0,2: 42:[2, 1] Operation: 27-26=1
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 42:[2, 1], Operations: ['70-44=26', '27-26=1']
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[27, 13], Operations: ['70-44=26', '26/2=13']
Exploring Operation: 27*13=351, Resulting Numbers: [351]
351,42 unequal: No Solution
Exploring Operation: 27+13=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 42:[26, 25], Operations: ['70-44=26', '27-2=25']
Exploring Operation: 26*25=650, Resulting Numbers: [650]
650,42 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 26+25=51, Resulting Numbers: [51]
51,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[44, 27, 35], Operations: ['70/2=35']
Exploring Operation: 44-35=9, Resulting Numbers: [27, 9]
Generated Node #0,2,0: 42:[27, 9] Operation: 44-35=9
Exploring Operation: 35-27=8, Resulting Numbers: [44, 8]
Generated Node #0,2,1: 42:[44, 8] Operation: 35-27=8
Exploring Operation: 44-27=17, Resulting Numbers: [35, 17]
Generated Node #0,2,2: 42:[35, 17] Operation: 44-27=17
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 42:[44, 8], Operations: ['70/2=35', '35-27=8']
Exploring Operation: 44*8=352, Resulting Numbers: [352]
352,42 unequal: No Solution
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Exploring Operation: 44+8=52, Resulting Numbers: [52]
52,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 42:[27, 9], Operations: ['70/2=35', '44-35=9']
Exploring Operation: 27+9=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 42:[35, 17], Operations: ['70/2=35', '44-27=17']
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Exploring Operation: 35*17=595, Resulting Numbers: [595]
595,42 unequal: No Solution
Exploring Operation: 35+17=52, Resulting Numbers: [52]
52,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
24,
75,
69,
46
] | 75 | [
"69-24=45",
"46-45=1",
"75*1=75"
] | Current State: 75:[24, 75, 69, 46], Operations: []
Exploring Operation: 69-24=45, Resulting Numbers: [75, 46, 45]
Generated Node #2: [75, 46, 45] from Operation: 69-24=45
Current State: 75:[75, 46, 45], Operations: ['69-24=45']
Exploring Operation: 46-45=1, Resulting Numbers: [75, 1]
Generated Node #3: [75, 1] from Operation: 46-45=1
Current State: 75:[75, 1], Operations: ['69-24=45', '46-45=1']
Exploring Operation: 75*1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[24, 75, 69, 46], Operations: []
Exploring Operation: 75-46=29, Resulting Numbers: [24, 69, 29]
Generated Node #0,0: 75:[24, 69, 29] Operation: 75-46=29
Exploring Operation: 24+46=70, Resulting Numbers: [75, 69, 70]
Generated Node #0,1: 75:[75, 69, 70] Operation: 24+46=70
Exploring Operation: 46-24=22, Resulting Numbers: [75, 69, 22]
Generated Node #0,2: 75:[75, 69, 22] Operation: 46-24=22
Exploring Operation: 69-46=23, Resulting Numbers: [24, 75, 23]
Generated Node #0,3: 75:[24, 75, 23] Operation: 69-46=23
Moving to Node #0,3
Current State: 75:[24, 75, 23], Operations: ['69-46=23']
Exploring Operation: 75+23=98, Resulting Numbers: [24, 98]
Generated Node #0,3,0: 75:[24, 98] Operation: 75+23=98
Exploring Operation: 75-23=52, Resulting Numbers: [24, 52]
Generated Node #0,3,1: 75:[24, 52] Operation: 75-23=52
Exploring Operation: 24-23=1, Resulting Numbers: [75, 1]
Generated Node #0,3,2: 75:[75, 1] Operation: 24-23=1
Exploring Operation: 24+23=47, Resulting Numbers: [75, 47]
Generated Node #0,3,3: 75:[75, 47] Operation: 24+23=47
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 75:[75, 1], Operations: ['69-46=23', '24-23=1']
Exploring Operation: 75+1=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[24, 75, 69, 46], Operations: []
Exploring Operation: 69-46=23, Resulting Numbers: [24, 75, 23]
Generated Node #0,3: 75:[24, 75, 23] Operation: 69-46=23
Moving to Node #0,3
Current State: 75:[24, 75, 23], Operations: ['69-46=23']
Exploring Operation: 24-23=1, Resulting Numbers: [75, 1]
Generated Node #0,3,2: 75:[75, 1] Operation: 24-23=1
Moving to Node #0,3,2
Current State: 75:[75, 1], Operations: ['69-46=23', '24-23=1']
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
43,
27,
64,
8
] | 48 | [
"43+27=70",
"70-64=6",
"8*6=48"
] | Current State: 48:[43, 27, 64, 8], Operations: []
Exploring Operation: 43+27=70, Resulting Numbers: [64, 8, 70]
Generated Node #2: [64, 8, 70] from Operation: 43+27=70
Current State: 48:[64, 8, 70], Operations: ['43+27=70']
Exploring Operation: 70-64=6, Resulting Numbers: [8, 6]
Generated Node #3: [8, 6] from Operation: 70-64=6
Current State: 48:[8, 6], Operations: ['43+27=70', '70-64=6']
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[43, 27, 64, 8], Operations: []
Exploring Operation: 43-27=16, Resulting Numbers: [64, 8, 16]
Generated Node #0,0: 48:[64, 8, 16] Operation: 43-27=16
Exploring Operation: 64-43=21, Resulting Numbers: [27, 8, 21]
Generated Node #0,1: 48:[27, 8, 21] Operation: 64-43=21
Exploring Operation: 64/8=8, Resulting Numbers: [43, 27, 8]
Generated Node #0,2: 48:[43, 27, 8] Operation: 64/8=8
Moving to Node #0,1
Current State: 48:[27, 8, 21], Operations: ['64-43=21']
Exploring Operation: 27+21=48, Resulting Numbers: [8, 48]
Generated Node #0,1,0: 48:[8, 48] Operation: 27+21=48
Exploring Operation: 21-8=13, Resulting Numbers: [27, 13]
Generated Node #0,1,1: 48:[27, 13] Operation: 21-8=13
Exploring Operation: 27-21=6, Resulting Numbers: [8, 6]
Generated Node #0,1,2: 48:[8, 6] Operation: 27-21=6
Moving to Node #0,2
Current State: 48:[43, 27, 8], Operations: ['64/8=8']
Exploring Operation: 43-27=16, Resulting Numbers: [8, 16]
Generated Node #0,2,0: 48:[8, 16] Operation: 43-27=16
Exploring Operation: 43+8=51, Resulting Numbers: [27, 51]
Generated Node #0,2,1: 48:[27, 51] Operation: 43+8=51
Exploring Operation: 27-8=19, Resulting Numbers: [43, 19]
Generated Node #0,2,2: 48:[43, 19] Operation: 27-8=19
Moving to Node #0,0
Current State: 48:[64, 8, 16], Operations: ['43-27=16']
Exploring Operation: 64/8=8, Resulting Numbers: [16, 8]
Generated Node #0,0,0: 48:[16, 8] Operation: 64/8=8
Exploring Operation: 64-16=48, Resulting Numbers: [8, 48]
Generated Node #0,0,1: 48:[8, 48] Operation: 64-16=48
Exploring Operation: 64/16=4, Resulting Numbers: [8, 4]
Generated Node #0,0,2: 48:[8, 4] Operation: 64/16=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[16, 8], Operations: ['43-27=16', '64/8=8']
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,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:[8, 48], Operations: ['43-27=16', '64-16=48']
Exploring Operation: 8+48=56, Resulting Numbers: [56]
56,48 unequal: No Solution
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,48 unequal: No Solution
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,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,2
Current State: 48:[8, 4], Operations: ['43-27=16', '64/16=4']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,48 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: 48:[8, 48], Operations: ['64-43=21', '27+21=48']
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,48 unequal: No Solution
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 8+48=56, Resulting Numbers: [56]
56,48 unequal: No Solution
Moving to Node #0,1,2
Current State: 48:[8, 6], Operations: ['64-43=21', '27-21=6']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[43, 27, 64, 8], Operations: []
Exploring Operation: 64-43=21, Resulting Numbers: [27, 8, 21]
Generated Node #0,1: 48:[27, 8, 21] Operation: 64-43=21
Moving to Node #0,1
Current State: 48:[27, 8, 21], Operations: ['64-43=21']
Exploring Operation: 27-21=6, Resulting Numbers: [8, 6]
Generated Node #0,1,2: 48:[8, 6] Operation: 27-21=6
Moving to Node #0,1,2
Current State: 48:[8, 6], Operations: ['64-43=21', '27-21=6']
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 0.973958 | hs_3 | mult_heuristic |
[
47,
95,
51,
96
] | 53 | [
"95-47=48",
"96/48=2",
"51+2=53"
] | Current State: 53:[47, 95, 51, 96], Operations: []
Exploring Operation: 95-47=48, Resulting Numbers: [51, 96, 48]
Generated Node #2: [51, 96, 48] from Operation: 95-47=48
Current State: 53:[51, 96, 48], Operations: ['95-47=48']
Exploring Operation: 96/48=2, Resulting Numbers: [51, 2]
Generated Node #3: [51, 2] from Operation: 96/48=2
Current State: 53:[51, 2], Operations: ['95-47=48', '96/48=2']
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[47, 95, 51, 96], Operations: []
Exploring Operation: 96-47=49, Resulting Numbers: [95, 51, 49]
Generated Node #0,0: 53:[95, 51, 49] Operation: 96-47=49
Moving to Node #0,0
Current State: 53:[95, 51, 49], Operations: ['96-47=49']
Exploring Operation: 95-49=46, Resulting Numbers: [51, 46]
Generated Node #0,0,0: 53:[51, 46] Operation: 95-49=46
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[51, 46], Operations: ['96-47=49', '95-49=46']
Exploring Operation: 51+46=97, Resulting Numbers: [97]
97,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
60,
28,
80,
58
] | 94 | [
"60-58=2",
"28/2=14",
"80+14=94"
] | Current State: 94:[60, 28, 80, 58], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [28, 80, 2]
Generated Node #2: [28, 80, 2] from Operation: 60-58=2
Current State: 94:[28, 80, 2], Operations: ['60-58=2']
Exploring Operation: 28/2=14, Resulting Numbers: [80, 14]
Generated Node #3: [80, 14] from Operation: 28/2=14
Current State: 94:[80, 14], Operations: ['60-58=2', '28/2=14']
Exploring Operation: 80+14=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[60, 28, 80, 58], Operations: []
Exploring Operation: 28+80=108, Resulting Numbers: [60, 58, 108]
Generated Node #0,0: 94:[60, 58, 108] Operation: 28+80=108
Exploring Operation: 28+58=86, Resulting Numbers: [60, 80, 86]
Generated Node #0,1: 94:[60, 80, 86] Operation: 28+58=86
Exploring Operation: 80-28=52, Resulting Numbers: [60, 58, 52]
Generated Node #0,2: 94:[60, 58, 52] Operation: 80-28=52
Exploring Operation: 60+28=88, Resulting Numbers: [80, 58, 88]
Generated Node #0,3: 94:[80, 58, 88] Operation: 60+28=88
Exploring Operation: 60-58=2, Resulting Numbers: [28, 80, 2]
Generated Node #0,4: 94:[28, 80, 2] Operation: 60-58=2
Moving to Node #0,2
Current State: 94:[60, 58, 52], Operations: ['80-28=52']
Exploring Operation: 60-58=2, Resulting Numbers: [52, 2]
Generated Node #0,2,0: 94:[52, 2] Operation: 60-58=2
Exploring Operation: 60+58=118, Resulting Numbers: [52, 118]
Generated Node #0,2,1: 94:[52, 118] Operation: 60+58=118
Exploring Operation: 58-52=6, Resulting Numbers: [60, 6]
Generated Node #0,2,2: 94:[60, 6] Operation: 58-52=6
Exploring Operation: 60-52=8, Resulting Numbers: [58, 8]
Generated Node #0,2,3: 94:[58, 8] Operation: 60-52=8
Exploring Operation: 60+52=112, Resulting Numbers: [58, 112]
Generated Node #0,2,4: 94:[58, 112] Operation: 60+52=112
Moving to Node #0,3
Current State: 94:[80, 58, 88], Operations: ['60+28=88']
Exploring Operation: 88-58=30, Resulting Numbers: [80, 30]
Generated Node #0,3,0: 94:[80, 30] Operation: 88-58=30
Exploring Operation: 58+88=146, Resulting Numbers: [80, 146]
Generated Node #0,3,1: 94:[80, 146] Operation: 58+88=146
Exploring Operation: 80+58=138, Resulting Numbers: [88, 138]
Generated Node #0,3,2: 94:[88, 138] Operation: 80+58=138
Exploring Operation: 80-58=22, Resulting Numbers: [88, 22]
Generated Node #0,3,3: 94:[88, 22] Operation: 80-58=22
Exploring Operation: 88-80=8, Resulting Numbers: [58, 8]
Generated Node #0,3,4: 94:[58, 8] Operation: 88-80=8
Moving to Node #0,4
Current State: 94:[28, 80, 2], Operations: ['60-58=2']
Exploring Operation: 80/2=40, Resulting Numbers: [28, 40]
Generated Node #0,4,0: 94:[28, 40] Operation: 80/2=40
Exploring Operation: 28*2=56, Resulting Numbers: [80, 56]
Generated Node #0,4,1: 94:[80, 56] Operation: 28*2=56
Exploring Operation: 28+80=108, Resulting Numbers: [2, 108]
Generated Node #0,4,2: 94:[2, 108] Operation: 28+80=108
Exploring Operation: 80-28=52, Resulting Numbers: [2, 52]
Generated Node #0,4,3: 94:[2, 52] Operation: 80-28=52
Exploring Operation: 28/2=14, Resulting Numbers: [80, 14]
Generated Node #0,4,4: 94:[80, 14] Operation: 28/2=14
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 94:[2, 52], Operations: ['60-58=2', '80-28=52']
Exploring Operation: 2*52=104, Resulting Numbers: [104]
104,94 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,94 unequal: No Solution
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,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,4,2
Current State: 94:[2, 108], Operations: ['60-58=2', '28+80=108']
Exploring Operation: 108/2=54, Resulting Numbers: [54]
54,94 unequal: No Solution
Exploring Operation: 108-2=106, Resulting Numbers: [106]
106,94 unequal: No Solution
Exploring Operation: 2*108=216, Resulting Numbers: [216]
216,94 unequal: No Solution
Exploring Operation: 2+108=110, Resulting Numbers: [110]
110,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,4,1
Current State: 94:[80, 56], Operations: ['60-58=2', '28*2=56']
Exploring Operation: 80-56=24, Resulting Numbers: [24]
24,94 unequal: No Solution
Exploring Operation: 80+56=136, Resulting Numbers: [136]
136,94 unequal: No Solution
Exploring Operation: 80*56=4480, Resulting Numbers: [4480]
4480,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,4,0
Current State: 94:[28, 40], Operations: ['60-58=2', '80/2=40']
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,94 unequal: No Solution
Exploring Operation: 28*40=1120, Resulting Numbers: [1120]
1120,94 unequal: No Solution
Exploring Operation: 28+40=68, Resulting Numbers: [68]
68,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,4,4
Current State: 94:[80, 14], Operations: ['60-58=2', '28/2=14']
Exploring Operation: 80-14=66, Resulting Numbers: [66]
66,94 unequal: No Solution
Exploring Operation: 80*14=1120, Resulting Numbers: [1120]
1120,94 unequal: No Solution
Exploring Operation: 80+14=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[60, 28, 80, 58], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [28, 80, 2]
Generated Node #0,4: 94:[28, 80, 2] Operation: 60-58=2
Moving to Node #0,4
Current State: 94:[28, 80, 2], Operations: ['60-58=2']
Exploring Operation: 28/2=14, Resulting Numbers: [80, 14]
Generated Node #0,4,4: 94:[80, 14] Operation: 28/2=14
Moving to Node #0,4,4
Current State: 94:[80, 14], Operations: ['60-58=2', '28/2=14']
Exploring Operation: 80+14=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | sum_heuristic |
[
87,
44,
50,
98
] | 91 | [
"87-44=43",
"98-50=48",
"43+48=91"
] | Current State: 91:[87, 44, 50, 98], Operations: []
Exploring Operation: 87-44=43, Resulting Numbers: [50, 98, 43]
Generated Node #2: [50, 98, 43] from Operation: 87-44=43
Current State: 91:[50, 98, 43], Operations: ['87-44=43']
Exploring Operation: 98-50=48, Resulting Numbers: [43, 48]
Generated Node #3: [43, 48] from Operation: 98-50=48
Current State: 91:[43, 48], Operations: ['87-44=43', '98-50=48']
Exploring Operation: 43+48=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[87, 44, 50, 98], Operations: []
Exploring Operation: 44+50=94, Resulting Numbers: [87, 98, 94]
Generated Node #0,0: 91:[87, 98, 94] Operation: 44+50=94
Exploring Operation: 87-50=37, Resulting Numbers: [44, 98, 37]
Generated Node #0,1: 91:[44, 98, 37] Operation: 87-50=37
Exploring Operation: 50-44=6, Resulting Numbers: [87, 98, 6]
Generated Node #0,2: 91:[87, 98, 6] Operation: 50-44=6
Exploring Operation: 98-87=11, Resulting Numbers: [44, 50, 11]
Generated Node #0,3: 91:[44, 50, 11] Operation: 98-87=11
Exploring Operation: 98-50=48, Resulting Numbers: [87, 44, 48]
Generated Node #0,4: 91:[87, 44, 48] Operation: 98-50=48
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[87, 98, 6], Operations: ['50-44=6']
Exploring Operation: 98-6=92, Resulting Numbers: [87, 92]
Generated Node #0,2,0: 91:[87, 92] Operation: 98-6=92
Exploring Operation: 98-87=11, Resulting Numbers: [6, 11]
Generated Node #0,2,1: 91:[6, 11] Operation: 98-87=11
Exploring Operation: 87+6=93, Resulting Numbers: [98, 93]
Generated Node #0,2,2: 91:[98, 93] Operation: 87+6=93
Exploring Operation: 87-6=81, Resulting Numbers: [98, 81]
Generated Node #0,2,3: 91:[98, 81] Operation: 87-6=81
Exploring Operation: 98+6=104, Resulting Numbers: [87, 104]
Generated Node #0,2,4: 91:[87, 104] Operation: 98+6=104
Moving to Node #0,2,1
Current State: 91:[6, 11], Operations: ['50-44=6', '98-87=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,91 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,91 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Moving to Node #0,2,0
Current State: 91:[87, 92], Operations: ['50-44=6', '98-6=92']
Exploring Operation: 87+92=179, Resulting Numbers: [179]
179,91 unequal: No Solution
Exploring Operation: 87*92=8004, Resulting Numbers: [8004]
8004,91 unequal: No Solution
Exploring Operation: 92-87=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Moving to Node #0,2,2
Current State: 91:[98, 93], Operations: ['50-44=6', '87+6=93']
Exploring Operation: 98+93=191, Resulting Numbers: [191]
191,91 unequal: No Solution
Exploring Operation: 98-93=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 98*93=9114, Resulting Numbers: [9114]
9114,91 unequal: No Solution
Moving to Node #0,2,3
Current State: 91:[98, 81], Operations: ['50-44=6', '87-6=81']
Exploring Operation: 98-81=17, Resulting Numbers: [17]
17,91 unequal: No Solution
Exploring Operation: 98+81=179, Resulting Numbers: [179]
179,91 unequal: No Solution
Exploring Operation: 98*81=7938, Resulting Numbers: [7938]
7938,91 unequal: No Solution
Moving to Node #0,2,4
Current State: 91:[87, 104], Operations: ['50-44=6', '98+6=104']
Exploring Operation: 104-87=17, Resulting Numbers: [17]
17,91 unequal: No Solution
Exploring Operation: 87*104=9048, Resulting Numbers: [9048]
9048,91 unequal: No Solution
Exploring Operation: 87+104=191, Resulting Numbers: [191]
191,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[87, 98, 94], Operations: ['44+50=94']
Exploring Operation: 87+98=185, Resulting Numbers: [94, 185]
Generated Node #0,0,0: 91:[94, 185] Operation: 87+98=185
Exploring Operation: 87+94=181, Resulting Numbers: [98, 181]
Generated Node #0,0,1: 91:[98, 181] Operation: 87+94=181
Exploring Operation: 98-94=4, Resulting Numbers: [87, 4]
Generated Node #0,0,2: 91:[87, 4] Operation: 98-94=4
Exploring Operation: 98-87=11, Resulting Numbers: [94, 11]
Generated Node #0,0,3: 91:[94, 11] Operation: 98-87=11
Exploring Operation: 94-87=7, Resulting Numbers: [98, 7]
Generated Node #0,0,4: 91:[98, 7] Operation: 94-87=7
Moving to Node #0,0,3
Current State: 91:[94, 11], Operations: ['44+50=94', '98-87=11']
Exploring Operation: 94-11=83, Resulting Numbers: [83]
83,91 unequal: No Solution
Exploring Operation: 94+11=105, Resulting Numbers: [105]
105,91 unequal: No Solution
Exploring Operation: 94*11=1034, Resulting Numbers: [1034]
1034,91 unequal: No Solution
Moving to Node #0,0,4
Current State: 91:[98, 7], Operations: ['44+50=94', '94-87=7']
Exploring Operation: 98*7=686, Resulting Numbers: [686]
686,91 unequal: No Solution
Exploring Operation: 98+7=105, Resulting Numbers: [105]
105,91 unequal: No Solution
Exploring Operation: 98-7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[87, 44, 50, 98], Operations: []
Exploring Operation: 44+50=94, Resulting Numbers: [87, 98, 94]
Generated Node #0,0: 91:[87, 98, 94] Operation: 44+50=94
Moving to Node #0,0
Current State: 91:[87, 98, 94], Operations: ['44+50=94']
Exploring Operation: 94-87=7, Resulting Numbers: [98, 7]
Generated Node #0,0,4: 91:[98, 7] Operation: 94-87=7
Moving to Node #0,0,4
Current State: 91:[98, 7], Operations: ['44+50=94', '94-87=7']
Exploring Operation: 98-7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_5 | sum_heuristic |
[
31,
61,
2,
18
] | 28 | [
"31+61=92",
"92/2=46",
"46-18=28"
] | Current State: 28:[31, 61, 2, 18], Operations: []
Exploring Operation: 31+61=92, Resulting Numbers: [2, 18, 92]
Generated Node #2: [2, 18, 92] from Operation: 31+61=92
Current State: 28:[2, 18, 92], Operations: ['31+61=92']
Exploring Operation: 92/2=46, Resulting Numbers: [18, 46]
Generated Node #3: [18, 46] from Operation: 92/2=46
Current State: 28:[18, 46], Operations: ['31+61=92', '92/2=46']
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[31, 61, 2, 18], Operations: []
Exploring Operation: 61-18=43, Resulting Numbers: [31, 2, 43]
Generated Node #0,0: 28:[31, 2, 43] Operation: 61-18=43
Exploring Operation: 31-18=13, Resulting Numbers: [61, 2, 13]
Generated Node #0,1: 28:[61, 2, 13] Operation: 31-18=13
Exploring Operation: 61-31=30, Resulting Numbers: [2, 18, 30]
Generated Node #0,2: 28:[2, 18, 30] Operation: 61-31=30
Start Sub Search at level 1: Moving to Node #0,2
Current State: 28:[2, 18, 30], Operations: ['61-31=30']
Exploring Operation: 18-2=16, Resulting Numbers: [30, 16]
Generated Node #0,2,0: 28:[30, 16] Operation: 18-2=16
Exploring Operation: 30-18=12, Resulting Numbers: [2, 12]
Generated Node #0,2,1: 28:[2, 12] Operation: 30-18=12
Exploring Operation: 18/2=9, Resulting Numbers: [30, 9]
Generated Node #0,2,2: 28:[30, 9] Operation: 18/2=9
Moving to Node #0,2,1
Current State: 28:[2, 12], Operations: ['61-31=30', '30-18=12']
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[30, 16], Operations: ['61-31=30', '18-2=16']
Exploring Operation: 30*16=480, Resulting Numbers: [480]
480,28 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 30+16=46, Resulting Numbers: [46]
46,28 unequal: No Solution
Moving to Node #0,2,2
Current State: 28:[30, 9], Operations: ['61-31=30', '18/2=9']
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,28 unequal: No Solution
Exploring Operation: 30*9=270, Resulting Numbers: [270]
270,28 unequal: No Solution
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[31, 2, 43], Operations: ['61-18=43']
Exploring Operation: 43-31=12, Resulting Numbers: [2, 12]
Generated Node #0,0,0: 28:[2, 12] Operation: 43-31=12
Exploring Operation: 43-2=41, Resulting Numbers: [31, 41]
Generated Node #0,0,1: 28:[31, 41] Operation: 43-2=41
Exploring Operation: 31-2=29, Resulting Numbers: [43, 29]
Generated Node #0,0,2: 28:[43, 29] Operation: 31-2=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[2, 12], Operations: ['61-18=43', '43-31=12']
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 28:[31, 41], Operations: ['61-18=43', '43-2=41']
Exploring Operation: 31*41=1271, Resulting Numbers: [1271]
1271,28 unequal: No Solution
Exploring Operation: 41-31=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Exploring Operation: 31+41=72, Resulting Numbers: [72]
72,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 28:[43, 29], Operations: ['61-18=43', '31-2=29']
Exploring Operation: 43+29=72, Resulting Numbers: [72]
72,28 unequal: No Solution
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 43*29=1247, Resulting Numbers: [1247]
1247,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[61, 2, 13], Operations: ['31-18=13']
Exploring Operation: 61-13=48, Resulting Numbers: [2, 48]
Generated Node #0,1,0: 28:[2, 48] Operation: 61-13=48
Exploring Operation: 2+13=15, Resulting Numbers: [61, 15]
Generated Node #0,1,1: 28:[61, 15] Operation: 2+13=15
Exploring Operation: 61-2=59, Resulting Numbers: [13, 59]
Generated Node #0,1,2: 28:[13, 59] Operation: 61-2=59
Moving to Node #0,1,0
Current State: 28:[2, 48], Operations: ['31-18=13', '61-13=48']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,28 unequal: No Solution
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,28 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,28 unequal: No Solution
Moving to Node #0,1,2
Current State: 28:[13, 59], Operations: ['31-18=13', '61-2=59']
Exploring Operation: 13+59=72, Resulting Numbers: [72]
72,28 unequal: No Solution
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,28 unequal: No Solution
Exploring Operation: 13*59=767, Resulting Numbers: [767]
767,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[61, 15], Operations: ['31-18=13', '2+13=15']
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,28 unequal: No Solution
Exploring Operation: 61+15=76, Resulting Numbers: [76]
76,28 unequal: No Solution
Exploring Operation: 61*15=915, Resulting Numbers: [915]
915,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
10,
15,
20,
49
] | 62 | [
"20/10=2",
"15+49=64",
"64-2=62"
] | Current State: 62:[10, 15, 20, 49], Operations: []
Exploring Operation: 20/10=2, Resulting Numbers: [15, 49, 2]
Generated Node #2: [15, 49, 2] from Operation: 20/10=2
Current State: 62:[15, 49, 2], Operations: ['20/10=2']
Exploring Operation: 15+49=64, Resulting Numbers: [2, 64]
Generated Node #3: [2, 64] from Operation: 15+49=64
Current State: 62:[2, 64], Operations: ['20/10=2', '15+49=64']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[10, 15, 20, 49], Operations: []
Exploring Operation: 15+49=64, Resulting Numbers: [10, 20, 64]
Generated Node #0,0: 62:[10, 20, 64] Operation: 15+49=64
Exploring Operation: 49-20=29, Resulting Numbers: [10, 15, 29]
Generated Node #0,1: 62:[10, 15, 29] Operation: 49-20=29
Exploring Operation: 49-15=34, Resulting Numbers: [10, 20, 34]
Generated Node #0,2: 62:[10, 20, 34] Operation: 49-15=34
Exploring Operation: 20-15=5, Resulting Numbers: [10, 49, 5]
Generated Node #0,3: 62:[10, 49, 5] Operation: 20-15=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[10, 20, 64], Operations: ['15+49=64']
Exploring Operation: 20/10=2, Resulting Numbers: [64, 2]
Generated Node #0,0,0: 62:[64, 2] Operation: 20/10=2
Exploring Operation: 64-10=54, Resulting Numbers: [20, 54]
Generated Node #0,0,1: 62:[20, 54] Operation: 64-10=54
Exploring Operation: 20-10=10, Resulting Numbers: [64, 10]
Generated Node #0,0,2: 62:[64, 10] Operation: 20-10=10
Exploring Operation: 10+20=30, Resulting Numbers: [64, 30]
Generated Node #0,0,3: 62:[64, 30] Operation: 10+20=30
Moving to Node #0,0,0
Current State: 62:[64, 2], Operations: ['15+49=64', '20/10=2']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[10, 15, 20, 49], Operations: []
Exploring Operation: 15+49=64, Resulting Numbers: [10, 20, 64]
Generated Node #0,0: 62:[10, 20, 64] Operation: 15+49=64
Moving to Node #0,0
Current State: 62:[10, 20, 64], Operations: ['15+49=64']
Exploring Operation: 20/10=2, Resulting Numbers: [64, 2]
Generated Node #0,0,0: 62:[64, 2] Operation: 20/10=2
Moving to Node #0,0,0
Current State: 62:[64, 2], Operations: ['15+49=64', '20/10=2']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
54,
59,
50,
17
] | 46 | [
"54+59=113",
"50+17=67",
"113-67=46"
] | Current State: 46:[54, 59, 50, 17], Operations: []
Exploring Operation: 54+59=113, Resulting Numbers: [50, 17, 113]
Generated Node #2: [50, 17, 113] from Operation: 54+59=113
Current State: 46:[50, 17, 113], Operations: ['54+59=113']
Exploring Operation: 50+17=67, Resulting Numbers: [113, 67]
Generated Node #3: [113, 67] from Operation: 50+17=67
Current State: 46:[113, 67], Operations: ['54+59=113', '50+17=67']
Exploring Operation: 113-67=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[54, 59, 50, 17], Operations: []
Exploring Operation: 59-54=5, Resulting Numbers: [50, 17, 5]
Generated Node #0,0: 46:[50, 17, 5] Operation: 59-54=5
Moving to Node #0,0
Current State: 46:[50, 17, 5], Operations: ['59-54=5']
Exploring Operation: 17+5=22, Resulting Numbers: [50, 22]
Generated Node #0,0,0: 46:[50, 22] Operation: 17+5=22
Moving to Node #0,0,0
Current State: 46:[50, 22], Operations: ['59-54=5', '17+5=22']
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,46 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
61,
41,
49,
64
] | 53 | [
"49-41=8",
"64/8=8",
"61-8=53"
] | Current State: 53:[61, 41, 49, 64], Operations: []
Exploring Operation: 49-41=8, Resulting Numbers: [61, 64, 8]
Generated Node #2: [61, 64, 8] from Operation: 49-41=8
Current State: 53:[61, 64, 8], Operations: ['49-41=8']
Exploring Operation: 64/8=8, Resulting Numbers: [61, 8]
Generated Node #3: [61, 8] from Operation: 64/8=8
Current State: 53:[61, 8], Operations: ['49-41=8', '64/8=8']
Exploring Operation: 61-8=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[61, 41, 49, 64], Operations: []
Exploring Operation: 64-41=23, Resulting Numbers: [61, 49, 23]
Generated Node #0,0: 53:[61, 49, 23] Operation: 64-41=23
Exploring Operation: 61-41=20, Resulting Numbers: [49, 64, 20]
Generated Node #0,1: 53:[49, 64, 20] Operation: 61-41=20
Exploring Operation: 41+49=90, Resulting Numbers: [61, 64, 90]
Generated Node #0,2: 53:[61, 64, 90] Operation: 41+49=90
Moving to Node #0,0
Current State: 53:[61, 49, 23], Operations: ['64-41=23']
Exploring Operation: 61+23=84, Resulting Numbers: [49, 84]
Generated Node #0,0,0: 53:[49, 84] Operation: 61+23=84
Exploring Operation: 61-23=38, Resulting Numbers: [49, 38]
Generated Node #0,0,1: 53:[49, 38] Operation: 61-23=38
Exploring Operation: 49+23=72, Resulting Numbers: [61, 72]
Generated Node #0,0,2: 53:[61, 72] Operation: 49+23=72
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[49, 38], Operations: ['64-41=23', '61-23=38']
Exploring Operation: 49-38=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 49+38=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Exploring Operation: 49*38=1862, Resulting Numbers: [1862]
1862,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 53:[61, 72], Operations: ['64-41=23', '49+23=72']
Exploring Operation: 61*72=4392, Resulting Numbers: [4392]
4392,53 unequal: No Solution
Exploring Operation: 72-61=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 61+72=133, Resulting Numbers: [133]
133,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[49, 84], Operations: ['64-41=23', '61+23=84']
Exploring Operation: 84-49=35, Resulting Numbers: [35]
35,53 unequal: No Solution
Exploring Operation: 49*84=4116, Resulting Numbers: [4116]
4116,53 unequal: No Solution
Exploring Operation: 49+84=133, Resulting Numbers: [133]
133,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 53:[49, 64, 20], Operations: ['61-41=20']
Exploring Operation: 49+20=69, Resulting Numbers: [64, 69]
Generated Node #0,1,0: 53:[64, 69] Operation: 49+20=69
Exploring Operation: 49-20=29, Resulting Numbers: [64, 29]
Generated Node #0,1,1: 53:[64, 29] Operation: 49-20=29
Exploring Operation: 64-20=44, Resulting Numbers: [49, 44]
Generated Node #0,1,2: 53:[49, 44] Operation: 64-20=44
Moving to Node #0,2
Current State: 53:[61, 64, 90], Operations: ['41+49=90']
Exploring Operation: 90-64=26, Resulting Numbers: [61, 26]
Generated Node #0,2,0: 53:[61, 26] Operation: 90-64=26
Exploring Operation: 64-61=3, Resulting Numbers: [90, 3]
Generated Node #0,2,1: 53:[90, 3] Operation: 64-61=3
Exploring Operation: 90-61=29, Resulting Numbers: [64, 29]
Generated Node #0,2,2: 53:[64, 29] Operation: 90-61=29
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[61, 26], Operations: ['41+49=90', '90-64=26']
Exploring Operation: 61*26=1586, Resulting Numbers: [1586]
1586,53 unequal: No Solution
Exploring Operation: 61+26=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Exploring Operation: 61-26=35, Resulting Numbers: [35]
35,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 53:[64, 29], Operations: ['41+49=90', '90-61=29']
Exploring Operation: 64+29=93, Resulting Numbers: [93]
93,53 unequal: No Solution
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,53 unequal: No Solution
Exploring Operation: 64*29=1856, Resulting Numbers: [1856]
1856,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[90, 3], Operations: ['41+49=90', '64-61=3']
Exploring Operation: 90+3=93, Resulting Numbers: [93]
93,53 unequal: No Solution
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,53 unequal: No Solution
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 53:[49, 44], Operations: ['61-41=20', '64-20=44']
Exploring Operation: 49*44=2156, Resulting Numbers: [2156]
2156,53 unequal: No Solution
Exploring Operation: 49-44=5, Resulting Numbers: [5]
5,53 unequal: No Solution
Exploring Operation: 49+44=93, Resulting Numbers: [93]
93,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[64, 69], Operations: ['61-41=20', '49+20=69']
Exploring Operation: 64+69=133, Resulting Numbers: [133]
133,53 unequal: No Solution
Exploring Operation: 69-64=5, Resulting Numbers: [5]
5,53 unequal: No Solution
Exploring Operation: 64*69=4416, Resulting Numbers: [4416]
4416,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[64, 29], Operations: ['61-41=20', '49-20=29']
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,53 unequal: No Solution
Exploring Operation: 64*29=1856, Resulting Numbers: [1856]
1856,53 unequal: No Solution
Exploring Operation: 64+29=93, Resulting Numbers: [93]
93,53 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
6,
64,
52,
62
] | 44 | [
"6+64=70",
"52+62=114",
"114-70=44"
] | Current State: 44:[6, 64, 52, 62], Operations: []
Exploring Operation: 6+64=70, Resulting Numbers: [52, 62, 70]
Generated Node #2: [52, 62, 70] from Operation: 6+64=70
Current State: 44:[52, 62, 70], Operations: ['6+64=70']
Exploring Operation: 52+62=114, Resulting Numbers: [70, 114]
Generated Node #3: [70, 114] from Operation: 52+62=114
Current State: 44:[70, 114], Operations: ['6+64=70', '52+62=114']
Exploring Operation: 114-70=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[6, 64, 52, 62], Operations: []
Exploring Operation: 64-52=12, Resulting Numbers: [6, 62, 12]
Generated Node #0,0: 44:[6, 62, 12] Operation: 64-52=12
Exploring Operation: 64-62=2, Resulting Numbers: [6, 52, 2]
Generated Node #0,1: 44:[6, 52, 2] Operation: 64-62=2
Exploring Operation: 62-52=10, Resulting Numbers: [6, 64, 10]
Generated Node #0,2: 44:[6, 64, 10] Operation: 62-52=10
Exploring Operation: 52-6=46, Resulting Numbers: [64, 62, 46]
Generated Node #0,3: 44:[64, 62, 46] Operation: 52-6=46
Exploring Operation: 64-6=58, Resulting Numbers: [52, 62, 58]
Generated Node #0,4: 44:[52, 62, 58] Operation: 64-6=58
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[6, 52, 2], Operations: ['64-62=2']
Exploring Operation: 6-2=4, Resulting Numbers: [52, 4]
Generated Node #0,1,0: 44:[52, 4] Operation: 6-2=4
Exploring Operation: 6*2=12, Resulting Numbers: [52, 12]
Generated Node #0,1,1: 44:[52, 12] Operation: 6*2=12
Exploring Operation: 52/2=26, Resulting Numbers: [6, 26]
Generated Node #0,1,2: 44:[6, 26] Operation: 52/2=26
Exploring Operation: 52-6=46, Resulting Numbers: [2, 46]
Generated Node #0,1,3: 44:[2, 46] Operation: 52-6=46
Exploring Operation: 52-2=50, Resulting Numbers: [6, 50]
Generated Node #0,1,4: 44:[6, 50] Operation: 52-2=50
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 44:[2, 46], Operations: ['64-62=2', '52-6=46']
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,44 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[6, 64, 52, 62], Operations: []
Exploring Operation: 64-62=2, Resulting Numbers: [6, 52, 2]
Generated Node #0,1: 44:[6, 52, 2] Operation: 64-62=2
Moving to Node #0,1
Current State: 44:[6, 52, 2], Operations: ['64-62=2']
Exploring Operation: 52-6=46, Resulting Numbers: [2, 46]
Generated Node #0,1,3: 44:[2, 46] Operation: 52-6=46
Moving to Node #0,1,3
Current State: 44:[2, 46], Operations: ['64-62=2', '52-6=46']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
37,
7,
14,
45
] | 53 | [
"14/7=2",
"45*2=90",
"90-37=53"
] | Current State: 53:[37, 7, 14, 45], Operations: []
Exploring Operation: 14/7=2, Resulting Numbers: [37, 45, 2]
Generated Node #2: [37, 45, 2] from Operation: 14/7=2
Current State: 53:[37, 45, 2], Operations: ['14/7=2']
Exploring Operation: 45*2=90, Resulting Numbers: [37, 90]
Generated Node #3: [37, 90] from Operation: 45*2=90
Current State: 53:[37, 90], Operations: ['14/7=2', '45*2=90']
Exploring Operation: 90-37=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[37, 7, 14, 45], Operations: []
Exploring Operation: 37+7=44, Resulting Numbers: [14, 45, 44]
Generated Node #0,0: 53:[14, 45, 44] Operation: 37+7=44
Exploring Operation: 37+14=51, Resulting Numbers: [7, 45, 51]
Generated Node #0,1: 53:[7, 45, 51] Operation: 37+14=51
Exploring Operation: 7+14=21, Resulting Numbers: [37, 45, 21]
Generated Node #0,2: 53:[37, 45, 21] Operation: 7+14=21
Exploring Operation: 7+45=52, Resulting Numbers: [37, 14, 52]
Generated Node #0,3: 53:[37, 14, 52] Operation: 7+45=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[14, 45, 44], Operations: ['37+7=44']
Exploring Operation: 14+44=58, Resulting Numbers: [45, 58]
Generated Node #0,0,0: 53:[45, 58] Operation: 14+44=58
Exploring Operation: 45-14=31, Resulting Numbers: [44, 31]
Generated Node #0,0,1: 53:[44, 31] Operation: 45-14=31
Exploring Operation: 44-14=30, Resulting Numbers: [45, 30]
Generated Node #0,0,2: 53:[45, 30] Operation: 44-14=30
Exploring Operation: 14+45=59, Resulting Numbers: [44, 59]
Generated Node #0,0,3: 53:[44, 59] Operation: 14+45=59
Moving to Node #0,0,0
Current State: 53:[45, 58], Operations: ['37+7=44', '14+44=58']
Exploring Operation: 45+58=103, Resulting Numbers: [103]
103,53 unequal: No Solution
Exploring Operation: 45*58=2610, Resulting Numbers: [2610]
2610,53 unequal: No Solution
Exploring Operation: 58-45=13, Resulting Numbers: [13]
13,53 unequal: No Solution
Moving to Node #0,0,3
Current State: 53:[44, 59], Operations: ['37+7=44', '14+45=59']
Exploring Operation: 44+59=103, Resulting Numbers: [103]
103,53 unequal: No Solution
Exploring Operation: 59-44=15, Resulting Numbers: [15]
15,53 unequal: No Solution
Exploring Operation: 44*59=2596, Resulting Numbers: [2596]
2596,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[45, 30], Operations: ['37+7=44', '44-14=30']
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,53 unequal: No Solution
Exploring Operation: 45+30=75, Resulting Numbers: [75]
75,53 unequal: No Solution
Exploring Operation: 45*30=1350, Resulting Numbers: [1350]
1350,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[44, 31], Operations: ['37+7=44', '45-14=31']
Exploring Operation: 44*31=1364, Resulting Numbers: [1364]
1364,53 unequal: No Solution
Exploring Operation: 44+31=75, Resulting Numbers: [75]
75,53 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[7, 45, 51], Operations: ['37+14=51']
Exploring Operation: 7+45=52, Resulting Numbers: [51, 52]
Generated Node #0,1,0: 53:[51, 52] Operation: 7+45=52
Exploring Operation: 51-7=44, Resulting Numbers: [45, 44]
Generated Node #0,1,1: 53:[45, 44] Operation: 51-7=44
Exploring Operation: 7+51=58, Resulting Numbers: [45, 58]
Generated Node #0,1,2: 53:[45, 58] Operation: 7+51=58
Exploring Operation: 45-7=38, Resulting Numbers: [51, 38]
Generated Node #0,1,3: 53:[51, 38] Operation: 45-7=38
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[51, 52], Operations: ['37+14=51', '7+45=52']
Exploring Operation: 51*52=2652, Resulting Numbers: [2652]
2652,53 unequal: No Solution
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 51+52=103, Resulting Numbers: [103]
103,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 53:[45, 58], Operations: ['37+14=51', '7+51=58']
Exploring Operation: 45*58=2610, Resulting Numbers: [2610]
2610,53 unequal: No Solution
Exploring Operation: 45+58=103, Resulting Numbers: [103]
103,53 unequal: No Solution
Exploring Operation: 58-45=13, Resulting Numbers: [13]
13,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 53:[45, 44], Operations: ['37+14=51', '51-7=44']
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 45+44=89, Resulting Numbers: [89]
89,53 unequal: No Solution
Exploring Operation: 45*44=1980, Resulting Numbers: [1980]
1980,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 53:[51, 38], Operations: ['37+14=51', '45-7=38']
Exploring Operation: 51-38=13, Resulting Numbers: [13]
13,53 unequal: No Solution
Exploring Operation: 51*38=1938, Resulting Numbers: [1938]
1938,53 unequal: No Solution
Exploring Operation: 51+38=89, Resulting Numbers: [89]
89,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[37, 45, 21], Operations: ['7+14=21']
Exploring Operation: 45-21=24, Resulting Numbers: [37, 24]
Generated Node #0,2,0: 53:[37, 24] Operation: 45-21=24
Exploring Operation: 45+21=66, Resulting Numbers: [37, 66]
Generated Node #0,2,1: 53:[37, 66] Operation: 45+21=66
Exploring Operation: 37+21=58, Resulting Numbers: [45, 58]
Generated Node #0,2,2: 53:[45, 58] Operation: 37+21=58
Exploring Operation: 37-21=16, Resulting Numbers: [45, 16]
Generated Node #0,2,3: 53:[45, 16] Operation: 37-21=16
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 53:[45, 58], Operations: ['7+14=21', '37+21=58']
Exploring Operation: 45*58=2610, Resulting Numbers: [2610]
2610,53 unequal: No Solution
Exploring Operation: 58-45=13, Resulting Numbers: [13]
13,53 unequal: No Solution
Exploring Operation: 45+58=103, Resulting Numbers: [103]
103,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 53:[37, 66], Operations: ['7+14=21', '45+21=66']
Exploring Operation: 37*66=2442, Resulting Numbers: [2442]
2442,53 unequal: No Solution
Exploring Operation: 37+66=103, Resulting Numbers: [103]
103,53 unequal: No Solution
Exploring Operation: 66-37=29, Resulting Numbers: [29]
29,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 53:[37, 24], Operations: ['7+14=21', '45-21=24']
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,53 unequal: No Solution
Exploring Operation: 37*24=888, Resulting Numbers: [888]
888,53 unequal: No Solution
Exploring Operation: 37+24=61, Resulting Numbers: [61]
61,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 53:[45, 16], Operations: ['7+14=21', '37-21=16']
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,53 unequal: No Solution
Exploring Operation: 45+16=61, Resulting Numbers: [61]
61,53 unequal: No Solution
Exploring Operation: 45*16=720, Resulting Numbers: [720]
720,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 53:[37, 14, 52], Operations: ['7+45=52']
Exploring Operation: 14+52=66, Resulting Numbers: [37, 66]
Generated Node #0,3,0: 53:[37, 66] Operation: 14+52=66
Exploring Operation: 37+14=51, Resulting Numbers: [52, 51]
Generated Node #0,3,1: 53:[52, 51] Operation: 37+14=51
Exploring Operation: 52-14=38, Resulting Numbers: [37, 38]
Generated Node #0,3,2: 53:[37, 38] Operation: 52-14=38
Exploring Operation: 37-14=23, Resulting Numbers: [52, 23]
Generated Node #0,3,3: 53:[52, 23] Operation: 37-14=23
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 53:[52, 51], Operations: ['7+45=52', '37+14=51']
Exploring Operation: 52+51=103, Resulting Numbers: [103]
103,53 unequal: No Solution
Exploring Operation: 52*51=2652, Resulting Numbers: [2652]
2652,53 unequal: No Solution
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 53:[37, 66], Operations: ['7+45=52', '14+52=66']
Exploring Operation: 37+66=103, Resulting Numbers: [103]
103,53 unequal: No Solution
Exploring Operation: 66-37=29, Resulting Numbers: [29]
29,53 unequal: No Solution
Exploring Operation: 37*66=2442, Resulting Numbers: [2442]
2442,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 53:[37, 38], Operations: ['7+45=52', '52-14=38']
Exploring Operation: 37+38=75, Resulting Numbers: [75]
75,53 unequal: No Solution
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 37*38=1406, Resulting Numbers: [1406]
1406,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 53:[52, 23], Operations: ['7+45=52', '37-14=23']
Exploring Operation: 52-23=29, Resulting Numbers: [29]
29,53 unequal: No Solution
Exploring Operation: 52+23=75, Resulting Numbers: [75]
75,53 unequal: No Solution
Exploring Operation: 52*23=1196, Resulting Numbers: [1196]
1196,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
21,
95,
6,
4
] | 76 | [
"95-21=74",
"6-4=2",
"74+2=76"
] | Current State: 76:[21, 95, 6, 4], Operations: []
Exploring Operation: 95-21=74, Resulting Numbers: [6, 4, 74]
Generated Node #2: [6, 4, 74] from Operation: 95-21=74
Current State: 76:[6, 4, 74], Operations: ['95-21=74']
Exploring Operation: 6-4=2, Resulting Numbers: [74, 2]
Generated Node #3: [74, 2] from Operation: 6-4=2
Current State: 76:[74, 2], Operations: ['95-21=74', '6-4=2']
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[21, 95, 6, 4], Operations: []
Exploring Operation: 95-21=74, Resulting Numbers: [6, 4, 74]
Generated Node #0,0: 76:[6, 4, 74] Operation: 95-21=74
Exploring Operation: 6-4=2, Resulting Numbers: [21, 95, 2]
Generated Node #0,1: 76:[21, 95, 2] Operation: 6-4=2
Exploring Operation: 95-4=91, Resulting Numbers: [21, 6, 91]
Generated Node #0,2: 76:[21, 6, 91] Operation: 95-4=91
Exploring Operation: 95-6=89, Resulting Numbers: [21, 4, 89]
Generated Node #0,3: 76:[21, 4, 89] Operation: 95-6=89
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[6, 4, 74], Operations: ['95-21=74']
Exploring Operation: 6*4=24, Resulting Numbers: [74, 24]
Generated Node #0,0,0: 76:[74, 24] Operation: 6*4=24
Exploring Operation: 4+74=78, Resulting Numbers: [6, 78]
Generated Node #0,0,1: 76:[6, 78] Operation: 4+74=78
Exploring Operation: 6-4=2, Resulting Numbers: [74, 2]
Generated Node #0,0,2: 76:[74, 2] Operation: 6-4=2
Exploring Operation: 6+74=80, Resulting Numbers: [4, 80]
Generated Node #0,0,3: 76:[4, 80] Operation: 6+74=80
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 76:[74, 2], Operations: ['95-21=74', '6-4=2']
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[21, 95, 6, 4], Operations: []
Exploring Operation: 95-21=74, Resulting Numbers: [6, 4, 74]
Generated Node #0,0: 76:[6, 4, 74] Operation: 95-21=74
Moving to Node #0,0
Current State: 76:[6, 4, 74], Operations: ['95-21=74']
Exploring Operation: 6-4=2, Resulting Numbers: [74, 2]
Generated Node #0,0,2: 76:[74, 2] Operation: 6-4=2
Moving to Node #0,0,2
Current State: 76:[74, 2], Operations: ['95-21=74', '6-4=2']
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
56,
57,
13,
7
] | 46 | [
"57+13=70",
"70/7=10",
"56-10=46"
] | Current State: 46:[56, 57, 13, 7], Operations: []
Exploring Operation: 57+13=70, Resulting Numbers: [56, 7, 70]
Generated Node #2: [56, 7, 70] from Operation: 57+13=70
Current State: 46:[56, 7, 70], Operations: ['57+13=70']
Exploring Operation: 70/7=10, Resulting Numbers: [56, 10]
Generated Node #3: [56, 10] from Operation: 70/7=10
Current State: 46:[56, 10], Operations: ['57+13=70', '70/7=10']
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[56, 57, 13, 7], Operations: []
Exploring Operation: 56-13=43, Resulting Numbers: [57, 7, 43]
Generated Node #0,0: 46:[57, 7, 43] Operation: 56-13=43
Exploring Operation: 57-13=44, Resulting Numbers: [56, 7, 44]
Generated Node #0,1: 46:[56, 7, 44] Operation: 57-13=44
Exploring Operation: 57-56=1, Resulting Numbers: [13, 7, 1]
Generated Node #0,2: 46:[13, 7, 1] Operation: 57-56=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[13, 7, 1], Operations: ['57-56=1']
Exploring Operation: 13+7=20, Resulting Numbers: [1, 20]
Generated Node #0,2,0: 46:[1, 20] Operation: 13+7=20
Exploring Operation: 13-7=6, Resulting Numbers: [1, 6]
Generated Node #0,2,1: 46:[1, 6] Operation: 13-7=6
Exploring Operation: 13+1=14, Resulting Numbers: [7, 14]
Generated Node #0,2,2: 46:[7, 14] Operation: 13+1=14
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 46:[1, 20], Operations: ['57-56=1', '13+7=20']
Exploring Operation: 1+20=21, Resulting Numbers: [21]
21,46 unequal: No Solution
Exploring Operation: 1*20=20, Resulting Numbers: [20]
20,46 unequal: No Solution
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,46 unequal: No Solution
No 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: 46:[1, 6], Operations: ['57-56=1', '13-7=6']
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,46 unequal: No Solution
No 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: 46:[7, 14], Operations: ['57-56=1', '13+1=14']
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[56, 7, 44], Operations: ['57-13=44']
Exploring Operation: 56/7=8, Resulting Numbers: [44, 8]
Generated Node #0,1,0: 46:[44, 8] Operation: 56/7=8
Exploring Operation: 56-44=12, Resulting Numbers: [7, 12]
Generated Node #0,1,1: 46:[7, 12] Operation: 56-44=12
Exploring Operation: 56-7=49, Resulting Numbers: [44, 49]
Generated Node #0,1,2: 46:[44, 49] Operation: 56-7=49
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 46:[44, 49], Operations: ['57-13=44', '56-7=49']
Exploring Operation: 44*49=2156, Resulting Numbers: [2156]
2156,46 unequal: No Solution
Exploring Operation: 44+49=93, Resulting Numbers: [93]
93,46 unequal: No Solution
Exploring Operation: 49-44=5, Resulting Numbers: [5]
5,46 unequal: No Solution
No 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: 46:[44, 8], Operations: ['57-13=44', '56/7=8']
Exploring Operation: 44*8=352, Resulting Numbers: [352]
352,46 unequal: No Solution
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,46 unequal: No Solution
Exploring Operation: 44+8=52, Resulting Numbers: [52]
52,46 unequal: No Solution
No 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: 46:[7, 12], Operations: ['57-13=44', '56-44=12']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,46 unequal: No Solution
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[57, 7, 43], Operations: ['56-13=43']
Exploring Operation: 57-7=50, Resulting Numbers: [43, 50]
Generated Node #0,0,0: 46:[43, 50] Operation: 57-7=50
Exploring Operation: 57-43=14, Resulting Numbers: [7, 14]
Generated Node #0,0,1: 46:[7, 14] Operation: 57-43=14
Exploring Operation: 7+43=50, Resulting Numbers: [57, 50]
Generated Node #0,0,2: 46:[57, 50] Operation: 7+43=50
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[43, 50], Operations: ['56-13=43', '57-7=50']
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 43+50=93, Resulting Numbers: [93]
93,46 unequal: No Solution
Exploring Operation: 43*50=2150, Resulting Numbers: [2150]
2150,46 unequal: No Solution
No 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: 46:[7, 14], Operations: ['56-13=43', '57-43=14']
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,46 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,46 unequal: No Solution
No 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: 46:[57, 50], Operations: ['56-13=43', '7+43=50']
Exploring Operation: 57*50=2850, Resulting Numbers: [2850]
2850,46 unequal: No Solution
Exploring Operation: 57-50=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 57+50=107, Resulting Numbers: [107]
107,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
69,
6,
4,
17
] | 62 | [
"69+6=75",
"17-4=13",
"75-13=62"
] | Current State: 62:[69, 6, 4, 17], Operations: []
Exploring Operation: 69+6=75, Resulting Numbers: [4, 17, 75]
Generated Node #2: [4, 17, 75] from Operation: 69+6=75
Current State: 62:[4, 17, 75], Operations: ['69+6=75']
Exploring Operation: 17-4=13, Resulting Numbers: [75, 13]
Generated Node #3: [75, 13] from Operation: 17-4=13
Current State: 62:[75, 13], Operations: ['69+6=75', '17-4=13']
Exploring Operation: 75-13=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[69, 6, 4, 17], Operations: []
Exploring Operation: 17-6=11, Resulting Numbers: [69, 4, 11]
Generated Node #0,0: 62:[69, 4, 11] Operation: 17-6=11
Exploring Operation: 69-6=63, Resulting Numbers: [4, 17, 63]
Generated Node #0,1: 62:[4, 17, 63] Operation: 69-6=63
Exploring Operation: 6+17=23, Resulting Numbers: [69, 4, 23]
Generated Node #0,2: 62:[69, 4, 23] Operation: 6+17=23
Exploring Operation: 69-17=52, Resulting Numbers: [6, 4, 52]
Generated Node #0,3: 62:[6, 4, 52] Operation: 69-17=52
Exploring Operation: 4*17=68, Resulting Numbers: [69, 6, 68]
Generated Node #0,4: 62:[69, 6, 68] Operation: 4*17=68
Moving to Node #0,3
Current State: 62:[6, 4, 52], Operations: ['69-17=52']
Exploring Operation: 6*4=24, Resulting Numbers: [52, 24]
Generated Node #0,3,0: 62:[52, 24] Operation: 6*4=24
Exploring Operation: 6+52=58, Resulting Numbers: [4, 58]
Generated Node #0,3,1: 62:[4, 58] Operation: 6+52=58
Exploring Operation: 4+52=56, Resulting Numbers: [6, 56]
Generated Node #0,3,2: 62:[6, 56] Operation: 4+52=56
Exploring Operation: 52/4=13, Resulting Numbers: [6, 13]
Generated Node #0,3,3: 62:[6, 13] Operation: 52/4=13
Exploring Operation: 6-4=2, Resulting Numbers: [52, 2]
Generated Node #0,3,4: 62:[52, 2] Operation: 6-4=2
Moving to Node #0,2
Current State: 62:[69, 4, 23], Operations: ['6+17=23']
Exploring Operation: 69-23=46, Resulting Numbers: [4, 46]
Generated Node #0,2,0: 62:[4, 46] Operation: 69-23=46
Exploring Operation: 4+23=27, Resulting Numbers: [69, 27]
Generated Node #0,2,1: 62:[69, 27] Operation: 4+23=27
Exploring Operation: 69-4=65, Resulting Numbers: [23, 65]
Generated Node #0,2,2: 62:[23, 65] Operation: 69-4=65
Exploring Operation: 69+4=73, Resulting Numbers: [23, 73]
Generated Node #0,2,3: 62:[23, 73] Operation: 69+4=73
Exploring Operation: 69/23=3, Resulting Numbers: [4, 3]
Generated Node #0,2,4: 62:[4, 3] Operation: 69/23=3
Moving to Node #0,1
Current State: 62:[4, 17, 63], Operations: ['69-6=63']
Exploring Operation: 4*17=68, Resulting Numbers: [63, 68]
Generated Node #0,1,0: 62:[63, 68] Operation: 4*17=68
Exploring Operation: 63-17=46, Resulting Numbers: [4, 46]
Generated Node #0,1,1: 62:[4, 46] Operation: 63-17=46
Exploring Operation: 17-4=13, Resulting Numbers: [63, 13]
Generated Node #0,1,2: 62:[63, 13] Operation: 17-4=13
Exploring Operation: 63-4=59, Resulting Numbers: [17, 59]
Generated Node #0,1,3: 62:[17, 59] Operation: 63-4=59
Exploring Operation: 4+17=21, Resulting Numbers: [63, 21]
Generated Node #0,1,4: 62:[63, 21] Operation: 4+17=21
Moving to Node #0,4
Current State: 62:[69, 6, 68], Operations: ['4*17=68']
Exploring Operation: 68-6=62, Resulting Numbers: [69, 62]
Generated Node #0,4,0: 62:[69, 62] Operation: 68-6=62
Exploring Operation: 69+6=75, Resulting Numbers: [68, 75]
Generated Node #0,4,1: 62:[68, 75] Operation: 69+6=75
Exploring Operation: 6+68=74, Resulting Numbers: [69, 74]
Generated Node #0,4,2: 62:[69, 74] Operation: 6+68=74
Exploring Operation: 69-68=1, Resulting Numbers: [6, 1]
Generated Node #0,4,3: 62:[6, 1] Operation: 69-68=1
Exploring Operation: 69-6=63, Resulting Numbers: [68, 63]
Generated Node #0,4,4: 62:[68, 63] Operation: 69-6=63
Moving to Node #0,0
Current State: 62:[69, 4, 11], Operations: ['17-6=11']
Exploring Operation: 69-11=58, Resulting Numbers: [4, 58]
Generated Node #0,0,0: 62:[4, 58] Operation: 69-11=58
Exploring Operation: 69+11=80, Resulting Numbers: [4, 80]
Generated Node #0,0,1: 62:[4, 80] Operation: 69+11=80
Exploring Operation: 11-4=7, Resulting Numbers: [69, 7]
Generated Node #0,0,2: 62:[69, 7] Operation: 11-4=7
Exploring Operation: 69-4=65, Resulting Numbers: [11, 65]
Generated Node #0,0,3: 62:[11, 65] Operation: 69-4=65
Exploring Operation: 69+4=73, Resulting Numbers: [11, 73]
Generated Node #0,0,4: 62:[11, 73] Operation: 69+4=73
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[4, 58], Operations: ['17-6=11', '69-11=58']
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,62 unequal: No Solution
Exploring Operation: 4*58=232, Resulting Numbers: [232]
232,62 unequal: No Solution
Exploring Operation: 4+58=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[69, 6, 4, 17], Operations: []
Exploring Operation: 17-6=11, Resulting Numbers: [69, 4, 11]
Generated Node #0,0: 62:[69, 4, 11] Operation: 17-6=11
Moving to Node #0,0
Current State: 62:[69, 4, 11], Operations: ['17-6=11']
Exploring Operation: 69-11=58, Resulting Numbers: [4, 58]
Generated Node #0,0,0: 62:[4, 58] Operation: 69-11=58
Moving to Node #0,0,0
Current State: 62:[4, 58], Operations: ['17-6=11', '69-11=58']
Exploring Operation: 4+58=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
87,
42,
69,
46
] | 23 | [
"42*46=1932",
"69+1932=2001",
"2001/87=23"
] | Current State: 23:[87, 42, 69, 46], Operations: []
Exploring Operation: 42*46=1932, Resulting Numbers: [87, 69, 1932]
Generated Node #2: [87, 69, 1932] from Operation: 42*46=1932
Current State: 23:[87, 69, 1932], Operations: ['42*46=1932']
Exploring Operation: 69+1932=2001, Resulting Numbers: [87, 2001]
Generated Node #3: [87, 2001] from Operation: 69+1932=2001
Current State: 23:[87, 2001], Operations: ['42*46=1932', '69+1932=2001']
Exploring Operation: 2001/87=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[87, 42, 69, 46], Operations: []
Exploring Operation: 87-46=41, Resulting Numbers: [42, 69, 41]
Generated Node #0,0: 23:[42, 69, 41] Operation: 87-46=41
Exploring Operation: 87-69=18, Resulting Numbers: [42, 46, 18]
Generated Node #0,1: 23:[42, 46, 18] Operation: 87-69=18
Moving to Node #0,1
Current State: 23:[42, 46, 18], Operations: ['87-69=18']
Exploring Operation: 46-42=4, Resulting Numbers: [18, 4]
Generated Node #0,1,0: 23:[18, 4] Operation: 46-42=4
Exploring Operation: 42-18=24, Resulting Numbers: [46, 24]
Generated Node #0,1,1: 23:[46, 24] Operation: 42-18=24
Moving to Node #0,0
Current State: 23:[42, 69, 41], Operations: ['87-46=41']
Exploring Operation: 69-41=28, Resulting Numbers: [42, 28]
Generated Node #0,0,0: 23:[42, 28] Operation: 69-41=28
Exploring Operation: 69-42=27, Resulting Numbers: [41, 27]
Generated Node #0,0,1: 23:[41, 27] Operation: 69-42=27
Moving to Node #0,0,1
Current State: 23:[41, 27], Operations: ['87-46=41', '69-42=27']
Exploring Operation: 41-27=14, Resulting Numbers: [14]
14,23 unequal: No Solution
Exploring Operation: 41+27=68, Resulting Numbers: [68]
68,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[18, 4], Operations: ['87-69=18', '46-42=4']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,23 unequal: No Solution
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[46, 24], Operations: ['87-69=18', '42-18=24']
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 46+24=70, Resulting Numbers: [70]
70,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[42, 28], Operations: ['87-46=41', '69-41=28']
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,23 unequal: No Solution
Exploring Operation: 42+28=70, Resulting Numbers: [70]
70,23 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
54,
3,
65,
68
] | 29 | [
"54*3=162",
"65+68=133",
"162-133=29"
] | Current State: 29:[54, 3, 65, 68], Operations: []
Exploring Operation: 54*3=162, Resulting Numbers: [65, 68, 162]
Generated Node #2: [65, 68, 162] from Operation: 54*3=162
Current State: 29:[65, 68, 162], Operations: ['54*3=162']
Exploring Operation: 65+68=133, Resulting Numbers: [162, 133]
Generated Node #3: [162, 133] from Operation: 65+68=133
Current State: 29:[162, 133], Operations: ['54*3=162', '65+68=133']
Exploring Operation: 162-133=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[54, 3, 65, 68], Operations: []
Exploring Operation: 68-65=3, Resulting Numbers: [54, 3, 3]
Generated Node #0,0: 29:[54, 3, 3] Operation: 68-65=3
Exploring Operation: 54/3=18, Resulting Numbers: [65, 68, 18]
Generated Node #0,1: 29:[65, 68, 18] Operation: 54/3=18
Exploring Operation: 68-54=14, Resulting Numbers: [3, 65, 14]
Generated Node #0,2: 29:[3, 65, 14] Operation: 68-54=14
Exploring Operation: 54-3=51, Resulting Numbers: [65, 68, 51]
Generated Node #0,3: 29:[65, 68, 51] Operation: 54-3=51
Exploring Operation: 65-54=11, Resulting Numbers: [3, 68, 11]
Generated Node #0,4: 29:[3, 68, 11] Operation: 65-54=11
Moving to Node #0,0
Current State: 29:[54, 3, 3], Operations: ['68-65=3']
Exploring Operation: 54/3=18, Resulting Numbers: [3, 18]
Generated Node #0,0,0: 29:[3, 18] Operation: 54/3=18
Exploring Operation: 54-3=51, Resulting Numbers: [3, 51]
Generated Node #0,0,1: 29:[3, 51] Operation: 54-3=51
Exploring Operation: 54-3=51, Resulting Numbers: [3, 51]
Generated Node #0,0,2: 29:[3, 51] Operation: 54-3=51
Exploring Operation: 54/3=18, Resulting Numbers: [3, 18]
Generated Node #0,0,3: 29:[3, 18] Operation: 54/3=18
Exploring Operation: 3*3=9, Resulting Numbers: [54, 9]
Generated Node #0,0,4: 29:[54, 9] Operation: 3*3=9
Moving to Node #0,2
Current State: 29:[3, 65, 14], Operations: ['68-54=14']
Exploring Operation: 65-3=62, Resulting Numbers: [14, 62]
Generated Node #0,2,0: 29:[14, 62] Operation: 65-3=62
Exploring Operation: 3+14=17, Resulting Numbers: [65, 17]
Generated Node #0,2,1: 29:[65, 17] Operation: 3+14=17
Exploring Operation: 3*14=42, Resulting Numbers: [65, 42]
Generated Node #0,2,2: 29:[65, 42] Operation: 3*14=42
Exploring Operation: 3+65=68, Resulting Numbers: [14, 68]
Generated Node #0,2,3: 29:[14, 68] Operation: 3+65=68
Exploring Operation: 65-14=51, Resulting Numbers: [3, 51]
Generated Node #0,2,4: 29:[3, 51] Operation: 65-14=51
Moving to Node #0,4
Current State: 29:[3, 68, 11], Operations: ['65-54=11']
Exploring Operation: 68-3=65, Resulting Numbers: [11, 65]
Generated Node #0,4,0: 29:[11, 65] Operation: 68-3=65
Exploring Operation: 3+68=71, Resulting Numbers: [11, 71]
Generated Node #0,4,1: 29:[11, 71] Operation: 3+68=71
Exploring Operation: 68-11=57, Resulting Numbers: [3, 57]
Generated Node #0,4,2: 29:[3, 57] Operation: 68-11=57
Exploring Operation: 3*11=33, Resulting Numbers: [68, 33]
Generated Node #0,4,3: 29:[68, 33] Operation: 3*11=33
Exploring Operation: 3+11=14, Resulting Numbers: [68, 14]
Generated Node #0,4,4: 29:[68, 14] Operation: 3+11=14
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 29:[68, 33], Operations: ['65-54=11', '3*11=33']
Exploring Operation: 68*33=2244, Resulting Numbers: [2244]
2244,29 unequal: No Solution
Exploring Operation: 68-33=35, Resulting Numbers: [35]
35,29 unequal: No Solution
Exploring Operation: 68+33=101, Resulting Numbers: [101]
101,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,0
Current State: 29:[11, 65], Operations: ['65-54=11', '68-3=65']
Exploring Operation: 11*65=715, Resulting Numbers: [715]
715,29 unequal: No Solution
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 11+65=76, Resulting Numbers: [76]
76,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,2
Current State: 29:[3, 57], Operations: ['65-54=11', '68-11=57']
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 3*57=171, Resulting Numbers: [171]
171,29 unequal: No Solution
Exploring Operation: 3+57=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,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,4
Current State: 29:[68, 14], Operations: ['65-54=11', '3+11=14']
Exploring Operation: 68+14=82, Resulting Numbers: [82]
82,29 unequal: No Solution
Exploring Operation: 68-14=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 68*14=952, Resulting Numbers: [952]
952,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,1
Current State: 29:[11, 71], Operations: ['65-54=11', '3+68=71']
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 11*71=781, Resulting Numbers: [781]
781,29 unequal: No Solution
Exploring Operation: 11+71=82, Resulting Numbers: [82]
82,29 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: 29:[65, 68, 18], Operations: ['54/3=18']
Exploring Operation: 65+18=83, Resulting Numbers: [68, 83]
Generated Node #0,1,0: 29:[68, 83] Operation: 65+18=83
Exploring Operation: 68+18=86, Resulting Numbers: [65, 86]
Generated Node #0,1,1: 29:[65, 86] Operation: 68+18=86
Exploring Operation: 65-18=47, Resulting Numbers: [68, 47]
Generated Node #0,1,2: 29:[68, 47] Operation: 65-18=47
Exploring Operation: 68-18=50, Resulting Numbers: [65, 50]
Generated Node #0,1,3: 29:[65, 50] Operation: 68-18=50
Exploring Operation: 68-65=3, Resulting Numbers: [18, 3]
Generated Node #0,1,4: 29:[18, 3] Operation: 68-65=3
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 29:[18, 3], Operations: ['54/3=18', '68-65=3']
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,29 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,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,2
Current State: 29:[68, 47], Operations: ['54/3=18', '65-18=47']
Exploring Operation: 68*47=3196, Resulting Numbers: [3196]
3196,29 unequal: No Solution
Exploring Operation: 68+47=115, Resulting Numbers: [115]
115,29 unequal: No Solution
Exploring Operation: 68-47=21, Resulting Numbers: [21]
21,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,3
Current State: 29:[65, 50], Operations: ['54/3=18', '68-18=50']
Exploring Operation: 65*50=3250, Resulting Numbers: [3250]
3250,29 unequal: No Solution
Exploring Operation: 65-50=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 65+50=115, Resulting Numbers: [115]
115,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,0
Current State: 29:[68, 83], Operations: ['54/3=18', '65+18=83']
Exploring Operation: 68+83=151, Resulting Numbers: [151]
151,29 unequal: No Solution
Exploring Operation: 83-68=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 68*83=5644, Resulting Numbers: [5644]
5644,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,1
Current State: 29:[65, 86], Operations: ['54/3=18', '68+18=86']
Exploring Operation: 65*86=5590, Resulting Numbers: [5590]
5590,29 unequal: No Solution
Exploring Operation: 86-65=21, Resulting Numbers: [21]
21,29 unequal: No Solution
Exploring Operation: 65+86=151, Resulting Numbers: [151]
151,29 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: 29:[65, 68, 51], Operations: ['54-3=51']
Exploring Operation: 68-65=3, Resulting Numbers: [51, 3]
Generated Node #0,3,0: 29:[51, 3] Operation: 68-65=3
Exploring Operation: 65+68=133, Resulting Numbers: [51, 133]
Generated Node #0,3,1: 29:[51, 133] Operation: 65+68=133
Exploring Operation: 65+51=116, Resulting Numbers: [68, 116]
Generated Node #0,3,2: 29:[68, 116] Operation: 65+51=116
Exploring Operation: 68-51=17, Resulting Numbers: [65, 17]
Generated Node #0,3,3: 29:[65, 17] Operation: 68-51=17
Exploring Operation: 65-51=14, Resulting Numbers: [68, 14]
Generated Node #0,3,4: 29:[68, 14] Operation: 65-51=14
Moving to Node #0,0,0
Current State: 29:[3, 18], Operations: ['68-65=3', '54/3=18']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,29 unequal: No Solution
Moving to Node #0,0,3
Current State: 29:[3, 18], Operations: ['68-65=3', '54/3=18']
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,29 unequal: No Solution
Moving to Node #0,0,4
Current State: 29:[54, 9], Operations: ['68-65=3', '3*3=9']
Exploring Operation: 54*9=486, Resulting Numbers: [486]
486,29 unequal: No Solution
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[65, 17], Operations: ['68-54=14', '3+14=17']
Exploring Operation: 65+17=82, Resulting Numbers: [82]
82,29 unequal: No Solution
Exploring Operation: 65*17=1105, Resulting Numbers: [1105]
1105,29 unequal: No Solution
Exploring Operation: 65-17=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[14, 62], Operations: ['68-54=14', '65-3=62']
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Exploring Operation: 14*62=868, Resulting Numbers: [868]
868,29 unequal: No Solution
Exploring Operation: 14+62=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Moving to Node #0,3,3
Current State: 29:[65, 17], Operations: ['54-3=51', '68-51=17']
Exploring Operation: 65-17=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Exploring Operation: 65+17=82, Resulting Numbers: [82]
82,29 unequal: No Solution
Exploring Operation: 65*17=1105, Resulting Numbers: [1105]
1105,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[3, 51], Operations: ['68-65=3', '54-3=51']
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 3*51=153, Resulting Numbers: [153]
153,29 unequal: No Solution
Moving to Node #0,3,0
Current State: 29:[51, 3], Operations: ['54-3=51', '68-65=3']
Exploring Operation: 51*3=153, Resulting Numbers: [153]
153,29 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[3, 51], Operations: ['68-65=3', '54-3=51']
Exploring Operation: 3*51=153, Resulting Numbers: [153]
153,29 unequal: No Solution
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Moving to Node #0,2,4
Current State: 29:[3, 51], Operations: ['68-54=14', '65-14=51']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 3*51=153, Resulting Numbers: [153]
153,29 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[65, 42], Operations: ['68-54=14', '3*14=42']
Exploring Operation: 65*42=2730, Resulting Numbers: [2730]
2730,29 unequal: No Solution
Exploring Operation: 65+42=107, Resulting Numbers: [107]
107,29 unequal: No Solution
Exploring Operation: 65-42=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Moving to Node #0,3,4
Current State: 29:[68, 14], Operations: ['54-3=51', '65-51=14']
Exploring Operation: 68+14=82, Resulting Numbers: [82]
82,29 unequal: No Solution
Exploring Operation: 68-14=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 68*14=952, Resulting Numbers: [952]
952,29 unequal: No Solution
Moving to Node #0,2,3
Current State: 29:[14, 68], Operations: ['68-54=14', '3+65=68']
Exploring Operation: 14+68=82, Resulting Numbers: [82]
82,29 unequal: No Solution
Exploring Operation: 68-14=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 14*68=952, Resulting Numbers: [952]
952,29 unequal: No Solution
Moving to Node #0,3,1
Current State: 29:[51, 133], Operations: ['54-3=51', '65+68=133']
Exploring Operation: 133-51=82, Resulting Numbers: [82]
82,29 unequal: No Solution
Exploring Operation: 51+133=184, Resulting Numbers: [184]
184,29 unequal: No Solution
Exploring Operation: 51*133=6783, Resulting Numbers: [6783]
6783,29 unequal: No Solution
Moving to Node #0,3,2
Current State: 29:[68, 116], Operations: ['54-3=51', '65+51=116']
Exploring Operation: 68*116=7888, Resulting Numbers: [7888]
7888,29 unequal: No Solution
Exploring Operation: 68+116=184, Resulting Numbers: [184]
184,29 unequal: No Solution
Exploring Operation: 116-68=48, Resulting Numbers: [48]
48,29 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
9,
25,
49,
56
] | 71 | [
"9+25=34",
"49+56=105",
"105-34=71"
] | Current State: 71:[9, 25, 49, 56], Operations: []
Exploring Operation: 9+25=34, Resulting Numbers: [49, 56, 34]
Generated Node #2: [49, 56, 34] from Operation: 9+25=34
Current State: 71:[49, 56, 34], Operations: ['9+25=34']
Exploring Operation: 49+56=105, Resulting Numbers: [34, 105]
Generated Node #3: [34, 105] from Operation: 49+56=105
Current State: 71:[34, 105], Operations: ['9+25=34', '49+56=105']
Exploring Operation: 105-34=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[9, 25, 49, 56], Operations: []
Exploring Operation: 9+49=58, Resulting Numbers: [25, 56, 58]
Generated Node #0,0: 71:[25, 56, 58] Operation: 9+49=58
Exploring Operation: 9+56=65, Resulting Numbers: [25, 49, 65]
Generated Node #0,1: 71:[25, 49, 65] Operation: 9+56=65
Exploring Operation: 9+25=34, Resulting Numbers: [49, 56, 34]
Generated Node #0,2: 71:[49, 56, 34] Operation: 9+25=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[25, 56, 58], Operations: ['9+49=58']
Exploring Operation: 25+58=83, Resulting Numbers: [56, 83]
Generated Node #0,0,0: 71:[56, 83] Operation: 25+58=83
Exploring Operation: 56-25=31, Resulting Numbers: [58, 31]
Generated Node #0,0,1: 71:[58, 31] Operation: 56-25=31
Exploring Operation: 25+56=81, Resulting Numbers: [58, 81]
Generated Node #0,0,2: 71:[58, 81] Operation: 25+56=81
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 71:[58, 81], Operations: ['9+49=58', '25+56=81']
Exploring Operation: 58*81=4698, Resulting Numbers: [4698]
4698,71 unequal: No Solution
Exploring Operation: 81-58=23, Resulting Numbers: [23]
23,71 unequal: No Solution
Exploring Operation: 58+81=139, Resulting Numbers: [139]
139,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:[56, 83], Operations: ['9+49=58', '25+58=83']
Exploring Operation: 83-56=27, Resulting Numbers: [27]
27,71 unequal: No Solution
Exploring Operation: 56*83=4648, Resulting Numbers: [4648]
4648,71 unequal: No Solution
Exploring Operation: 56+83=139, Resulting Numbers: [139]
139,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:[58, 31], Operations: ['9+49=58', '56-25=31']
Exploring Operation: 58+31=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Exploring Operation: 58*31=1798, Resulting Numbers: [1798]
1798,71 unequal: No Solution
Exploring Operation: 58-31=27, Resulting Numbers: [27]
27,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:[25, 49, 65], Operations: ['9+56=65']
Exploring Operation: 49-25=24, Resulting Numbers: [65, 24]
Generated Node #0,1,0: 71:[65, 24] Operation: 49-25=24
Exploring Operation: 25+49=74, Resulting Numbers: [65, 74]
Generated Node #0,1,1: 71:[65, 74] Operation: 25+49=74
Exploring Operation: 25+65=90, Resulting Numbers: [49, 90]
Generated Node #0,1,2: 71:[49, 90] Operation: 25+65=90
Moving to Node #0,1,1
Current State: 71:[65, 74], Operations: ['9+56=65', '25+49=74']
Exploring Operation: 74-65=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 65*74=4810, Resulting Numbers: [4810]
4810,71 unequal: No Solution
Exploring Operation: 65+74=139, Resulting Numbers: [139]
139,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[49, 90], Operations: ['9+56=65', '25+65=90']
Exploring Operation: 49*90=4410, Resulting Numbers: [4410]
4410,71 unequal: No Solution
Exploring Operation: 90-49=41, Resulting Numbers: [41]
41,71 unequal: No Solution
Exploring Operation: 49+90=139, Resulting Numbers: [139]
139,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[65, 24], Operations: ['9+56=65', '49-25=24']
Exploring Operation: 65+24=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Exploring Operation: 65*24=1560, Resulting Numbers: [1560]
1560,71 unequal: No Solution
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,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:[49, 56, 34], Operations: ['9+25=34']
Exploring Operation: 49+34=83, Resulting Numbers: [56, 83]
Generated Node #0,2,0: 71:[56, 83] Operation: 49+34=83
Exploring Operation: 56+34=90, Resulting Numbers: [49, 90]
Generated Node #0,2,1: 71:[49, 90] Operation: 56+34=90
Exploring Operation: 49+56=105, Resulting Numbers: [34, 105]
Generated Node #0,2,2: 71:[34, 105] Operation: 49+56=105
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 71:[56, 83], Operations: ['9+25=34', '49+34=83']
Exploring Operation: 56*83=4648, Resulting Numbers: [4648]
4648,71 unequal: No Solution
Exploring Operation: 56+83=139, Resulting Numbers: [139]
139,71 unequal: No Solution
Exploring Operation: 83-56=27, Resulting Numbers: [27]
27,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:[49, 90], Operations: ['9+25=34', '56+34=90']
Exploring Operation: 49+90=139, Resulting Numbers: [139]
139,71 unequal: No Solution
Exploring Operation: 90-49=41, Resulting Numbers: [41]
41,71 unequal: No Solution
Exploring Operation: 49*90=4410, Resulting Numbers: [4410]
4410,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, 105], Operations: ['9+25=34', '49+56=105']
Exploring Operation: 34*105=3570, Resulting Numbers: [3570]
3570,71 unequal: No Solution
Exploring Operation: 105-34=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[9, 25, 49, 56], Operations: []
Exploring Operation: 9+25=34, Resulting Numbers: [49, 56, 34]
Generated Node #0,2: 71:[49, 56, 34] Operation: 9+25=34
Moving to Node #0,2
Current State: 71:[49, 56, 34], Operations: ['9+25=34']
Exploring Operation: 49+56=105, Resulting Numbers: [34, 105]
Generated Node #0,2,2: 71:[34, 105] Operation: 49+56=105
Moving to Node #0,2,2
Current State: 71:[34, 105], Operations: ['9+25=34', '49+56=105']
Exploring Operation: 105-34=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.963542 | hs_3 | mult_heuristic |
[
8,
44,
30,
98
] | 67 | [
"44*30=1320",
"1320/8=165",
"165-98=67"
] | Current State: 67:[8, 44, 30, 98], Operations: []
Exploring Operation: 44*30=1320, Resulting Numbers: [8, 98, 1320]
Generated Node #2: [8, 98, 1320] from Operation: 44*30=1320
Current State: 67:[8, 98, 1320], Operations: ['44*30=1320']
Exploring Operation: 1320/8=165, Resulting Numbers: [98, 165]
Generated Node #3: [98, 165] from Operation: 1320/8=165
Current State: 67:[98, 165], Operations: ['44*30=1320', '1320/8=165']
Exploring Operation: 165-98=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[8, 44, 30, 98], Operations: []
Exploring Operation: 98-8=90, Resulting Numbers: [44, 30, 90]
Generated Node #0,0: 67:[44, 30, 90] Operation: 98-8=90
Exploring Operation: 8+44=52, Resulting Numbers: [30, 98, 52]
Generated Node #0,1: 67:[30, 98, 52] Operation: 8+44=52
Exploring Operation: 8+30=38, Resulting Numbers: [44, 98, 38]
Generated Node #0,2: 67:[44, 98, 38] Operation: 8+30=38
Moving to Node #0,0
Current State: 67:[44, 30, 90], Operations: ['98-8=90']
Exploring Operation: 90-44=46, Resulting Numbers: [30, 46]
Generated Node #0,0,0: 67:[30, 46] Operation: 90-44=46
Exploring Operation: 44+30=74, Resulting Numbers: [90, 74]
Generated Node #0,0,1: 67:[90, 74] Operation: 44+30=74
Exploring Operation: 90-30=60, Resulting Numbers: [44, 60]
Generated Node #0,0,2: 67:[44, 60] Operation: 90-30=60
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 67:[90, 74], Operations: ['98-8=90', '44+30=74']
Exploring Operation: 90-74=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Exploring Operation: 90*74=6660, Resulting Numbers: [6660]
6660,67 unequal: No Solution
Exploring Operation: 90+74=164, Resulting Numbers: [164]
164,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,2
Current State: 67:[44, 60], Operations: ['98-8=90', '90-30=60']
Exploring Operation: 60-44=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Exploring Operation: 44+60=104, Resulting Numbers: [104]
104,67 unequal: No Solution
Exploring Operation: 44*60=2640, Resulting Numbers: [2640]
2640,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,0
Current State: 67:[30, 46], Operations: ['98-8=90', '90-44=46']
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Exploring Operation: 30+46=76, Resulting Numbers: [76]
76,67 unequal: No Solution
Exploring Operation: 30*46=1380, Resulting Numbers: [1380]
1380,67 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: 67:[30, 98, 52], Operations: ['8+44=52']
Exploring Operation: 98-52=46, Resulting Numbers: [30, 46]
Generated Node #0,1,0: 67:[30, 46] Operation: 98-52=46
Exploring Operation: 98-30=68, Resulting Numbers: [52, 68]
Generated Node #0,1,1: 67:[52, 68] Operation: 98-30=68
Exploring Operation: 30+52=82, Resulting Numbers: [98, 82]
Generated Node #0,1,2: 67:[98, 82] Operation: 30+52=82
Moving to Node #0,2
Current State: 67:[44, 98, 38], Operations: ['8+30=38']
Exploring Operation: 98-38=60, Resulting Numbers: [44, 60]
Generated Node #0,2,0: 67:[44, 60] Operation: 98-38=60
Exploring Operation: 44+38=82, Resulting Numbers: [98, 82]
Generated Node #0,2,1: 67:[98, 82] Operation: 44+38=82
Exploring Operation: 98-44=54, Resulting Numbers: [38, 54]
Generated Node #0,2,2: 67:[38, 54] Operation: 98-44=54
Moving to Node #0,1,1
Current State: 67:[52, 68], Operations: ['8+44=52', '98-30=68']
Exploring Operation: 52+68=120, Resulting Numbers: [120]
120,67 unequal: No Solution
Exploring Operation: 52*68=3536, Resulting Numbers: [3536]
3536,67 unequal: No Solution
Exploring Operation: 68-52=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[44, 60], Operations: ['8+30=38', '98-38=60']
Exploring Operation: 44+60=104, Resulting Numbers: [104]
104,67 unequal: No Solution
Exploring Operation: 60-44=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Exploring Operation: 44*60=2640, Resulting Numbers: [2640]
2640,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[38, 54], Operations: ['8+30=38', '98-44=54']
Exploring Operation: 38+54=92, Resulting Numbers: [92]
92,67 unequal: No Solution
Exploring Operation: 54-38=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Exploring Operation: 38*54=2052, Resulting Numbers: [2052]
2052,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[98, 82], Operations: ['8+30=38', '44+38=82']
Exploring Operation: 98-82=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Exploring Operation: 98*82=8036, Resulting Numbers: [8036]
8036,67 unequal: No Solution
Exploring Operation: 98+82=180, Resulting Numbers: [180]
180,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[98, 82], Operations: ['8+44=52', '30+52=82']
Exploring Operation: 98+82=180, Resulting Numbers: [180]
180,67 unequal: No Solution
Exploring Operation: 98*82=8036, Resulting Numbers: [8036]
8036,67 unequal: No Solution
Exploring Operation: 98-82=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[30, 46], Operations: ['8+44=52', '98-52=46']
Exploring Operation: 30*46=1380, Resulting Numbers: [1380]
1380,67 unequal: No Solution
Exploring Operation: 30+46=76, Resulting Numbers: [76]
76,67 unequal: No Solution
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,67 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
60,
90,
66,
71
] | 35 | [
"90-60=30",
"71-66=5",
"30+5=35"
] | Current State: 35:[60, 90, 66, 71], Operations: []
Exploring Operation: 90-60=30, Resulting Numbers: [66, 71, 30]
Generated Node #2: [66, 71, 30] from Operation: 90-60=30
Current State: 35:[66, 71, 30], Operations: ['90-60=30']
Exploring Operation: 71-66=5, Resulting Numbers: [30, 5]
Generated Node #3: [30, 5] from Operation: 71-66=5
Current State: 35:[30, 5], Operations: ['90-60=30', '71-66=5']
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[60, 90, 66, 71], Operations: []
Exploring Operation: 90-71=19, Resulting Numbers: [60, 66, 19]
Generated Node #0,0: 35:[60, 66, 19] Operation: 90-71=19
Exploring Operation: 71-66=5, Resulting Numbers: [60, 90, 5]
Generated Node #0,1: 35:[60, 90, 5] Operation: 71-66=5
Exploring Operation: 71-60=11, Resulting Numbers: [90, 66, 11]
Generated Node #0,2: 35:[90, 66, 11] Operation: 71-60=11
Exploring Operation: 90-66=24, Resulting Numbers: [60, 71, 24]
Generated Node #0,3: 35:[60, 71, 24] Operation: 90-66=24
Exploring Operation: 90-60=30, Resulting Numbers: [66, 71, 30]
Generated Node #0,4: 35:[66, 71, 30] Operation: 90-60=30
Moving to Node #0,0
Current State: 35:[60, 66, 19], Operations: ['90-71=19']
Exploring Operation: 60-19=41, Resulting Numbers: [66, 41]
Generated Node #0,0,0: 35:[66, 41] Operation: 60-19=41
Exploring Operation: 66+19=85, Resulting Numbers: [60, 85]
Generated Node #0,0,1: 35:[60, 85] Operation: 66+19=85
Exploring Operation: 60+19=79, Resulting Numbers: [66, 79]
Generated Node #0,0,2: 35:[66, 79] Operation: 60+19=79
Exploring Operation: 66-60=6, Resulting Numbers: [19, 6]
Generated Node #0,0,3: 35:[19, 6] Operation: 66-60=6
Exploring Operation: 66-19=47, Resulting Numbers: [60, 47]
Generated Node #0,0,4: 35:[60, 47] Operation: 66-19=47
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 35:[19, 6], Operations: ['90-71=19', '66-60=6']
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,35 unequal: No Solution
Exploring Operation: 19*6=114, Resulting Numbers: [114]
114,35 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[66, 41], Operations: ['90-71=19', '60-19=41']
Exploring Operation: 66*41=2706, Resulting Numbers: [2706]
2706,35 unequal: No Solution
Exploring Operation: 66+41=107, Resulting Numbers: [107]
107,35 unequal: No Solution
Exploring Operation: 66-41=25, Resulting Numbers: [25]
25,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 35:[60, 47], Operations: ['90-71=19', '66-19=47']
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,35 unequal: No Solution
Exploring Operation: 60*47=2820, Resulting Numbers: [2820]
2820,35 unequal: No Solution
Exploring Operation: 60+47=107, Resulting Numbers: [107]
107,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[60, 85], Operations: ['90-71=19', '66+19=85']
Exploring Operation: 60+85=145, Resulting Numbers: [145]
145,35 unequal: No Solution
Exploring Operation: 60*85=5100, Resulting Numbers: [5100]
5100,35 unequal: No Solution
Exploring Operation: 85-60=25, Resulting Numbers: [25]
25,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[66, 79], Operations: ['90-71=19', '60+19=79']
Exploring Operation: 66+79=145, Resulting Numbers: [145]
145,35 unequal: No Solution
Exploring Operation: 79-66=13, Resulting Numbers: [13]
13,35 unequal: No Solution
Exploring Operation: 66*79=5214, Resulting Numbers: [5214]
5214,35 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: 35:[66, 71, 30], Operations: ['90-60=30']
Exploring Operation: 66-30=36, Resulting Numbers: [71, 36]
Generated Node #0,4,0: 35:[71, 36] Operation: 66-30=36
Exploring Operation: 66+30=96, Resulting Numbers: [71, 96]
Generated Node #0,4,1: 35:[71, 96] Operation: 66+30=96
Exploring Operation: 71-66=5, Resulting Numbers: [30, 5]
Generated Node #0,4,2: 35:[30, 5] Operation: 71-66=5
Exploring Operation: 71-30=41, Resulting Numbers: [66, 41]
Generated Node #0,4,3: 35:[66, 41] Operation: 71-30=41
Exploring Operation: 71+30=101, Resulting Numbers: [66, 101]
Generated Node #0,4,4: 35:[66, 101] Operation: 71+30=101
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 35:[30, 5], Operations: ['90-60=30', '71-66=5']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,35 unequal: No Solution
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[60, 90, 66, 71], Operations: []
Exploring Operation: 90-60=30, Resulting Numbers: [66, 71, 30]
Generated Node #0,4: 35:[66, 71, 30] Operation: 90-60=30
Moving to Node #0,4
Current State: 35:[66, 71, 30], Operations: ['90-60=30']
Exploring Operation: 71-66=5, Resulting Numbers: [30, 5]
Generated Node #0,4,2: 35:[30, 5] Operation: 71-66=5
Moving to Node #0,4,2
Current State: 35:[30, 5], Operations: ['90-60=30', '71-66=5']
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
14,
73,
7,
21
] | 46 | [
"14*7=98",
"73-21=52",
"98-52=46"
] | Current State: 46:[14, 73, 7, 21], Operations: []
Exploring Operation: 14*7=98, Resulting Numbers: [73, 21, 98]
Generated Node #2: [73, 21, 98] from Operation: 14*7=98
Current State: 46:[73, 21, 98], Operations: ['14*7=98']
Exploring Operation: 73-21=52, Resulting Numbers: [98, 52]
Generated Node #3: [98, 52] from Operation: 73-21=52
Current State: 46:[98, 52], Operations: ['14*7=98', '73-21=52']
Exploring Operation: 98-52=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[14, 73, 7, 21], Operations: []
Exploring Operation: 14/7=2, Resulting Numbers: [73, 21, 2]
Generated Node #0,0: 46:[73, 21, 2] Operation: 14/7=2
Exploring Operation: 73-14=59, Resulting Numbers: [7, 21, 59]
Generated Node #0,1: 46:[7, 21, 59] Operation: 73-14=59
Exploring Operation: 73-21=52, Resulting Numbers: [14, 7, 52]
Generated Node #0,2: 46:[14, 7, 52] Operation: 73-21=52
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[7, 21, 59], Operations: ['73-14=59']
Exploring Operation: 59-7=52, Resulting Numbers: [21, 52]
Generated Node #0,1,0: 46:[21, 52] Operation: 59-7=52
Exploring Operation: 59-21=38, Resulting Numbers: [7, 38]
Generated Node #0,1,1: 46:[7, 38] Operation: 59-21=38
Exploring Operation: 21/7=3, Resulting Numbers: [59, 3]
Generated Node #0,1,2: 46:[59, 3] Operation: 21/7=3
Moving to Node #0,1,0
Current State: 46:[21, 52], Operations: ['73-14=59', '59-7=52']
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 21*52=1092, Resulting Numbers: [1092]
1092,46 unequal: No Solution
Exploring Operation: 21+52=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[7, 38], Operations: ['73-14=59', '59-21=38']
Exploring Operation: 7+38=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 7*38=266, Resulting Numbers: [266]
266,46 unequal: No Solution
Moving to Node #0,1,2
Current State: 46:[59, 3], Operations: ['73-14=59', '21/7=3']
Exploring Operation: 59*3=177, Resulting Numbers: [177]
177,46 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,46 unequal: No Solution
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[14, 7, 52], Operations: ['73-21=52']
Exploring Operation: 52-7=45, Resulting Numbers: [14, 45]
Generated Node #0,2,0: 46:[14, 45] Operation: 52-7=45
Exploring Operation: 14+7=21, Resulting Numbers: [52, 21]
Generated Node #0,2,1: 46:[52, 21] Operation: 14+7=21
Exploring Operation: 14/7=2, Resulting Numbers: [52, 2]
Generated Node #0,2,2: 46:[52, 2] Operation: 14/7=2
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 46:[52, 2], Operations: ['73-21=52', '14/7=2']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,46 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,46 unequal: No Solution
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,46 unequal: No Solution
No 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: 46:[52, 21], Operations: ['73-21=52', '14+7=21']
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 52*21=1092, Resulting Numbers: [1092]
1092,46 unequal: No Solution
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,46 unequal: No Solution
No 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: 46:[14, 45], Operations: ['73-21=52', '52-7=45']
Exploring Operation: 14*45=630, Resulting Numbers: [630]
630,46 unequal: No Solution
Exploring Operation: 14+45=59, Resulting Numbers: [59]
59,46 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[73, 21, 2], Operations: ['14/7=2']
Exploring Operation: 73-21=52, Resulting Numbers: [2, 52]
Generated Node #0,0,0: 46:[2, 52] Operation: 73-21=52
Exploring Operation: 21+2=23, Resulting Numbers: [73, 23]
Generated Node #0,0,1: 46:[73, 23] Operation: 21+2=23
Exploring Operation: 73-2=71, Resulting Numbers: [21, 71]
Generated Node #0,0,2: 46:[21, 71] Operation: 73-2=71
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[2, 52], Operations: ['14/7=2', '73-21=52']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,46 unequal: No Solution
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,46 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,46 unequal: No Solution
No 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: 46:[73, 23], Operations: ['14/7=2', '21+2=23']
Exploring Operation: 73-23=50, Resulting Numbers: [50]
50,46 unequal: No Solution
Exploring Operation: 73*23=1679, Resulting Numbers: [1679]
1679,46 unequal: No Solution
Exploring Operation: 73+23=96, Resulting Numbers: [96]
96,46 unequal: No Solution
No 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: 46:[21, 71], Operations: ['14/7=2', '73-2=71']
Exploring Operation: 71-21=50, Resulting Numbers: [50]
50,46 unequal: No Solution
Exploring Operation: 21*71=1491, Resulting Numbers: [1491]
1491,46 unequal: No Solution
Exploring Operation: 21+71=92, Resulting Numbers: [92]
92,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
16,
42,
26,
60
] | 92 | [
"16+42=58",
"60-26=34",
"58+34=92"
] | Current State: 92:[16, 42, 26, 60], Operations: []
Exploring Operation: 16+42=58, Resulting Numbers: [26, 60, 58]
Generated Node #2: [26, 60, 58] from Operation: 16+42=58
Current State: 92:[26, 60, 58], Operations: ['16+42=58']
Exploring Operation: 60-26=34, Resulting Numbers: [58, 34]
Generated Node #3: [58, 34] from Operation: 60-26=34
Current State: 92:[58, 34], Operations: ['16+42=58', '60-26=34']
Exploring Operation: 58+34=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[16, 42, 26, 60], Operations: []
Exploring Operation: 60-42=18, Resulting Numbers: [16, 26, 18]
Generated Node #0,0: 92:[16, 26, 18] Operation: 60-42=18
Exploring Operation: 26+60=86, Resulting Numbers: [16, 42, 86]
Generated Node #0,1: 92:[16, 42, 86] Operation: 26+60=86
Exploring Operation: 42-16=26, Resulting Numbers: [26, 60, 26]
Generated Node #0,2: 92:[26, 60, 26] Operation: 42-16=26
Exploring Operation: 60-16=44, Resulting Numbers: [42, 26, 44]
Generated Node #0,3: 92:[42, 26, 44] Operation: 60-16=44
Moving to Node #0,3
Current State: 92:[42, 26, 44], Operations: ['60-16=44']
Exploring Operation: 44-42=2, Resulting Numbers: [26, 2]
Generated Node #0,3,0: 92:[26, 2] Operation: 44-42=2
Exploring Operation: 42+44=86, Resulting Numbers: [26, 86]
Generated Node #0,3,1: 92:[26, 86] Operation: 42+44=86
Exploring Operation: 44-26=18, Resulting Numbers: [42, 18]
Generated Node #0,3,2: 92:[42, 18] Operation: 44-26=18
Exploring Operation: 42-26=16, Resulting Numbers: [44, 16]
Generated Node #0,3,3: 92:[44, 16] Operation: 42-26=16
Moving to Node #0,0
Current State: 92:[16, 26, 18], Operations: ['60-42=18']
Exploring Operation: 26+18=44, Resulting Numbers: [16, 44]
Generated Node #0,0,0: 92:[16, 44] Operation: 26+18=44
Exploring Operation: 18-16=2, Resulting Numbers: [26, 2]
Generated Node #0,0,1: 92:[26, 2] Operation: 18-16=2
Exploring Operation: 16+26=42, Resulting Numbers: [18, 42]
Generated Node #0,0,2: 92:[18, 42] Operation: 16+26=42
Exploring Operation: 26-16=10, Resulting Numbers: [18, 10]
Generated Node #0,0,3: 92:[18, 10] Operation: 26-16=10
Moving to Node #0,1
Current State: 92:[16, 42, 86], Operations: ['26+60=86']
Exploring Operation: 86-42=44, Resulting Numbers: [16, 44]
Generated Node #0,1,0: 92:[16, 44] Operation: 86-42=44
Exploring Operation: 16+42=58, Resulting Numbers: [86, 58]
Generated Node #0,1,1: 92:[86, 58] Operation: 16+42=58
Exploring Operation: 16+86=102, Resulting Numbers: [42, 102]
Generated Node #0,1,2: 92:[42, 102] Operation: 16+86=102
Exploring Operation: 42-16=26, Resulting Numbers: [86, 26]
Generated Node #0,1,3: 92:[86, 26] Operation: 42-16=26
Moving to Node #0,2
Current State: 92:[26, 60, 26], Operations: ['42-16=26']
Exploring Operation: 26+60=86, Resulting Numbers: [26, 86]
Generated Node #0,2,0: 92:[26, 86] Operation: 26+60=86
Exploring Operation: 60-26=34, Resulting Numbers: [26, 34]
Generated Node #0,2,1: 92:[26, 34] Operation: 60-26=34
Exploring Operation: 60-26=34, Resulting Numbers: [26, 34]
Generated Node #0,2,2: 92:[26, 34] Operation: 60-26=34
Exploring Operation: 60+26=86, Resulting Numbers: [26, 86]
Generated Node #0,2,3: 92:[26, 86] Operation: 60+26=86
Moving to Node #0,3,0
Current State: 92:[26, 2], Operations: ['60-16=44', '44-42=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,92 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[26, 2], Operations: ['60-42=18', '18-16=2']
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,92 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Moving to Node #0,3,2
Current State: 92:[42, 18], Operations: ['60-16=44', '44-26=18']
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 42*18=756, Resulting Numbers: [756]
756,92 unequal: No Solution
Exploring Operation: 42+18=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[18, 42], Operations: ['60-42=18', '16+26=42']
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 18*42=756, Resulting Numbers: [756]
756,92 unequal: No Solution
Exploring Operation: 18+42=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Moving to Node #0,2,3
Current State: 92:[26, 86], Operations: ['42-16=26', '60+26=86']
Exploring Operation: 26+86=112, Resulting Numbers: [112]
112,92 unequal: No Solution
Exploring Operation: 26*86=2236, Resulting Numbers: [2236]
2236,92 unequal: No Solution
Exploring Operation: 86-26=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[16, 44], Operations: ['60-42=18', '26+18=44']
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 16*44=704, Resulting Numbers: [704]
704,92 unequal: No Solution
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[26, 86], Operations: ['42-16=26', '26+60=86']
Exploring Operation: 86-26=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Exploring Operation: 26*86=2236, Resulting Numbers: [2236]
2236,92 unequal: No Solution
Exploring Operation: 26+86=112, Resulting Numbers: [112]
112,92 unequal: No Solution
Moving to Node #0,3,1
Current State: 92:[26, 86], Operations: ['60-16=44', '42+44=86']
Exploring Operation: 86-26=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Exploring Operation: 26+86=112, Resulting Numbers: [112]
112,92 unequal: No Solution
Exploring Operation: 26*86=2236, Resulting Numbers: [2236]
2236,92 unequal: No Solution
Moving to Node #0,1,3
Current State: 92:[86, 26], Operations: ['26+60=86', '42-16=26']
Exploring Operation: 86-26=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Exploring Operation: 86*26=2236, Resulting Numbers: [2236]
2236,92 unequal: No Solution
Exploring Operation: 86+26=112, Resulting Numbers: [112]
112,92 unequal: No Solution
Moving to Node #0,3,3
Current State: 92:[44, 16], Operations: ['60-16=44', '42-26=16']
Exploring Operation: 44*16=704, Resulting Numbers: [704]
704,92 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 44+16=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[16, 44], Operations: ['26+60=86', '86-42=44']
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Exploring Operation: 16*44=704, Resulting Numbers: [704]
704,92 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Moving to Node #0,0,3
Current State: 92:[18, 10], Operations: ['60-42=18', '26-16=10']
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,92 unequal: No Solution
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[26, 34], Operations: ['42-16=26', '60-26=34']
Exploring Operation: 26*34=884, Resulting Numbers: [884]
884,92 unequal: No Solution
Exploring Operation: 26+34=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[26, 34], Operations: ['42-16=26', '60-26=34']
Exploring Operation: 26*34=884, Resulting Numbers: [884]
884,92 unequal: No Solution
Exploring Operation: 26+34=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[42, 102], Operations: ['26+60=86', '16+86=102']
Exploring Operation: 42*102=4284, Resulting Numbers: [4284]
4284,92 unequal: No Solution
Exploring Operation: 42+102=144, Resulting Numbers: [144]
144,92 unequal: No Solution
Exploring Operation: 102-42=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[86, 58], Operations: ['26+60=86', '16+42=58']
Exploring Operation: 86+58=144, Resulting Numbers: [144]
144,92 unequal: No Solution
Exploring Operation: 86*58=4988, Resulting Numbers: [4988]
4988,92 unequal: No Solution
Exploring Operation: 86-58=28, Resulting Numbers: [28]
28,92 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
9,
31,
61,
50
] | 68 | [
"61-50=11",
"9*11=99",
"99-31=68"
] | Current State: 68:[9, 31, 61, 50], Operations: []
Exploring Operation: 61-50=11, Resulting Numbers: [9, 31, 11]
Generated Node #2: [9, 31, 11] from Operation: 61-50=11
Current State: 68:[9, 31, 11], Operations: ['61-50=11']
Exploring Operation: 9*11=99, Resulting Numbers: [31, 99]
Generated Node #3: [31, 99] from Operation: 9*11=99
Current State: 68:[31, 99], Operations: ['61-50=11', '9*11=99']
Exploring Operation: 99-31=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[9, 31, 61, 50], Operations: []
Exploring Operation: 61-50=11, Resulting Numbers: [9, 31, 11]
Generated Node #0,0: 68:[9, 31, 11] Operation: 61-50=11
Exploring Operation: 50-9=41, Resulting Numbers: [31, 61, 41]
Generated Node #0,1: 68:[31, 61, 41] Operation: 50-9=41
Exploring Operation: 50-31=19, Resulting Numbers: [9, 61, 19]
Generated Node #0,2: 68:[9, 61, 19] Operation: 50-31=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[9, 31, 11], Operations: ['61-50=11']
Exploring Operation: 31-11=20, Resulting Numbers: [9, 20]
Generated Node #0,0,0: 68:[9, 20] Operation: 31-11=20
Exploring Operation: 11-9=2, Resulting Numbers: [31, 2]
Generated Node #0,0,1: 68:[31, 2] Operation: 11-9=2
Exploring Operation: 9+11=20, Resulting Numbers: [31, 20]
Generated Node #0,0,2: 68:[31, 20] Operation: 9+11=20
Moving to Node #0,0,1
Current State: 68:[31, 2], Operations: ['61-50=11', '11-9=2']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,68 unequal: No Solution
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,68 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[31, 20], Operations: ['61-50=11', '9+11=20']
Exploring Operation: 31+20=51, Resulting Numbers: [51]
51,68 unequal: No Solution
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,68 unequal: No Solution
Exploring Operation: 31*20=620, Resulting Numbers: [620]
620,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[9, 20], Operations: ['61-50=11', '31-11=20']
Exploring Operation: 9*20=180, Resulting Numbers: [180]
180,68 unequal: No Solution
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,68 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,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,2
Current State: 68:[9, 61, 19], Operations: ['50-31=19']
Exploring Operation: 9+19=28, Resulting Numbers: [61, 28]
Generated Node #0,2,0: 68:[61, 28] Operation: 9+19=28
Exploring Operation: 19-9=10, Resulting Numbers: [61, 10]
Generated Node #0,2,1: 68:[61, 10] Operation: 19-9=10
Exploring Operation: 9+61=70, Resulting Numbers: [19, 70]
Generated Node #0,2,2: 68:[19, 70] Operation: 9+61=70
Moving to Node #0,2,2
Current State: 68:[19, 70], Operations: ['50-31=19', '9+61=70']
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,68 unequal: No Solution
Exploring Operation: 19*70=1330, Resulting Numbers: [1330]
1330,68 unequal: No Solution
Exploring Operation: 19+70=89, Resulting Numbers: [89]
89,68 unequal: No Solution
Moving to Node #0,2,0
Current State: 68:[61, 28], Operations: ['50-31=19', '9+19=28']
Exploring Operation: 61-28=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Exploring Operation: 61*28=1708, Resulting Numbers: [1708]
1708,68 unequal: No Solution
Exploring Operation: 61+28=89, Resulting Numbers: [89]
89,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[61, 10], Operations: ['50-31=19', '19-9=10']
Exploring Operation: 61*10=610, Resulting Numbers: [610]
610,68 unequal: No Solution
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,68 unequal: No Solution
Exploring Operation: 61+10=71, Resulting Numbers: [71]
71,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
Current State: 68:[31, 61, 41], Operations: ['50-9=41']
Exploring Operation: 31+41=72, Resulting Numbers: [61, 72]
Generated Node #0,1,0: 68:[61, 72] Operation: 31+41=72
Exploring Operation: 61-31=30, Resulting Numbers: [41, 30]
Generated Node #0,1,1: 68:[41, 30] Operation: 61-31=30
Exploring Operation: 61-41=20, Resulting Numbers: [31, 20]
Generated Node #0,1,2: 68:[31, 20] Operation: 61-41=20
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 68:[31, 20], Operations: ['50-9=41', '61-41=20']
Exploring Operation: 31*20=620, Resulting Numbers: [620]
620,68 unequal: No Solution
Exploring Operation: 31+20=51, Resulting Numbers: [51]
51,68 unequal: No Solution
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,68 unequal: No Solution
No 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: 68:[61, 72], Operations: ['50-9=41', '31+41=72']
Exploring Operation: 61+72=133, Resulting Numbers: [133]
133,68 unequal: No Solution
Exploring Operation: 61*72=4392, Resulting Numbers: [4392]
4392,68 unequal: No Solution
Exploring Operation: 72-61=11, Resulting Numbers: [11]
11,68 unequal: No Solution
No 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: 68:[41, 30], Operations: ['50-9=41', '61-31=30']
Exploring Operation: 41+30=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,68 unequal: No Solution
Exploring Operation: 41*30=1230, Resulting Numbers: [1230]
1230,68 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 |
[
67,
40,
80,
73
] | 100 | [
"67+40=107",
"80-73=7",
"107-7=100"
] | Current State: 100:[67, 40, 80, 73], Operations: []
Exploring Operation: 67+40=107, Resulting Numbers: [80, 73, 107]
Generated Node #2: [80, 73, 107] from Operation: 67+40=107
Current State: 100:[80, 73, 107], Operations: ['67+40=107']
Exploring Operation: 80-73=7, Resulting Numbers: [107, 7]
Generated Node #3: [107, 7] from Operation: 80-73=7
Current State: 100:[107, 7], Operations: ['67+40=107', '80-73=7']
Exploring Operation: 107-7=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[67, 40, 80, 73], Operations: []
Exploring Operation: 73-67=6, Resulting Numbers: [40, 80, 6]
Generated Node #0,0: 100:[40, 80, 6] Operation: 73-67=6
Exploring Operation: 80-67=13, Resulting Numbers: [40, 73, 13]
Generated Node #0,1: 100:[40, 73, 13] Operation: 80-67=13
Exploring Operation: 67-40=27, Resulting Numbers: [80, 73, 27]
Generated Node #0,2: 100:[80, 73, 27] Operation: 67-40=27
Exploring Operation: 80/40=2, Resulting Numbers: [67, 73, 2]
Generated Node #0,3: 100:[67, 73, 2] Operation: 80/40=2
Exploring Operation: 80-73=7, Resulting Numbers: [67, 40, 7]
Generated Node #0,4: 100:[67, 40, 7] Operation: 80-73=7
Start Sub Search at level 1: Moving to Node #0,4
Current State: 100:[67, 40, 7], Operations: ['80-73=7']
Exploring Operation: 67-7=60, Resulting Numbers: [40, 60]
Generated Node #0,4,0: 100:[40, 60] Operation: 67-7=60
Exploring Operation: 40+7=47, Resulting Numbers: [67, 47]
Generated Node #0,4,1: 100:[67, 47] Operation: 40+7=47
Exploring Operation: 67-40=27, Resulting Numbers: [7, 27]
Generated Node #0,4,2: 100:[7, 27] Operation: 67-40=27
Exploring Operation: 40-7=33, Resulting Numbers: [67, 33]
Generated Node #0,4,3: 100:[67, 33] Operation: 40-7=33
Exploring Operation: 67+40=107, Resulting Numbers: [7, 107]
Generated Node #0,4,4: 100:[7, 107] Operation: 67+40=107
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 100:[7, 27], Operations: ['80-73=7', '67-40=27']
Exploring Operation: 7+27=34, Resulting Numbers: [34]
34,100 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 7*27=189, Resulting Numbers: [189]
189,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 100:[7, 107], Operations: ['80-73=7', '67+40=107']
Exploring Operation: 107-7=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[67, 40, 80, 73], Operations: []
Exploring Operation: 80-73=7, Resulting Numbers: [67, 40, 7]
Generated Node #0,4: 100:[67, 40, 7] Operation: 80-73=7
Moving to Node #0,4
Current State: 100:[67, 40, 7], Operations: ['80-73=7']
Exploring Operation: 67+40=107, Resulting Numbers: [7, 107]
Generated Node #0,4,4: 100:[7, 107] Operation: 67+40=107
Moving to Node #0,4,4
Current State: 100:[7, 107], Operations: ['80-73=7', '67+40=107']
Exploring Operation: 107-7=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
91,
26,
69,
86
] | 48 | [
"91-26=65",
"86-69=17",
"65-17=48"
] | Current State: 48:[91, 26, 69, 86], Operations: []
Exploring Operation: 91-26=65, Resulting Numbers: [69, 86, 65]
Generated Node #2: [69, 86, 65] from Operation: 91-26=65
Current State: 48:[69, 86, 65], Operations: ['91-26=65']
Exploring Operation: 86-69=17, Resulting Numbers: [65, 17]
Generated Node #3: [65, 17] from Operation: 86-69=17
Current State: 48:[65, 17], Operations: ['91-26=65', '86-69=17']
Exploring Operation: 65-17=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[91, 26, 69, 86], Operations: []
Exploring Operation: 86-69=17, Resulting Numbers: [91, 26, 17]
Generated Node #0,0: 48:[91, 26, 17] Operation: 86-69=17
Exploring Operation: 91-69=22, Resulting Numbers: [26, 86, 22]
Generated Node #0,1: 48:[26, 86, 22] Operation: 91-69=22
Exploring Operation: 91-86=5, Resulting Numbers: [26, 69, 5]
Generated Node #0,2: 48:[26, 69, 5] Operation: 91-86=5
Moving to Node #0,2
Current State: 48:[26, 69, 5], Operations: ['91-86=5']
Exploring Operation: 26-5=21, Resulting Numbers: [69, 21]
Generated Node #0,2,0: 48:[69, 21] Operation: 26-5=21
Exploring Operation: 69-5=64, Resulting Numbers: [26, 64]
Generated Node #0,2,1: 48:[26, 64] Operation: 69-5=64
Exploring Operation: 69-26=43, Resulting Numbers: [5, 43]
Generated Node #0,2,2: 48:[5, 43] Operation: 69-26=43
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 48:[5, 43], Operations: ['91-86=5', '69-26=43']
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,48 unequal: No Solution
Exploring Operation: 5*43=215, Resulting Numbers: [215]
215,48 unequal: No Solution
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[91, 26, 69, 86], Operations: []
Exploring Operation: 91-86=5, Resulting Numbers: [26, 69, 5]
Generated Node #0,2: 48:[26, 69, 5] Operation: 91-86=5
Moving to Node #0,2
Current State: 48:[26, 69, 5], Operations: ['91-86=5']
Exploring Operation: 69-26=43, Resulting Numbers: [5, 43]
Generated Node #0,2,2: 48:[5, 43] Operation: 69-26=43
Moving to Node #0,2,2
Current State: 48:[5, 43], Operations: ['91-86=5', '69-26=43']
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
26,
47,
78,
57
] | 84 | [
"78/26=3",
"47*3=141",
"141-57=84"
] | Current State: 84:[26, 47, 78, 57], Operations: []
Exploring Operation: 78/26=3, Resulting Numbers: [47, 57, 3]
Generated Node #2: [47, 57, 3] from Operation: 78/26=3
Current State: 84:[47, 57, 3], Operations: ['78/26=3']
Exploring Operation: 47*3=141, Resulting Numbers: [57, 141]
Generated Node #3: [57, 141] from Operation: 47*3=141
Current State: 84:[57, 141], Operations: ['78/26=3', '47*3=141']
Exploring Operation: 141-57=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[26, 47, 78, 57], Operations: []
Exploring Operation: 78-57=21, Resulting Numbers: [26, 47, 21]
Generated Node #0,0: 84:[26, 47, 21] Operation: 78-57=21
Exploring Operation: 57-47=10, Resulting Numbers: [26, 78, 10]
Generated Node #0,1: 84:[26, 78, 10] Operation: 57-47=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[26, 47, 21], Operations: ['78-57=21']
Exploring Operation: 47-26=21, Resulting Numbers: [21, 21]
Generated Node #0,0,0: 84:[21, 21] Operation: 47-26=21
Exploring Operation: 47-21=26, Resulting Numbers: [26, 26]
Generated Node #0,0,1: 84:[26, 26] Operation: 47-21=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[21, 21], Operations: ['78-57=21', '47-26=21']
Exploring Operation: 21/21=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 21+21=42, Resulting Numbers: [42]
42,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,1
Current State: 84:[26, 26], Operations: ['78-57=21', '47-21=26']
Exploring Operation: 26-26=0, Resulting Numbers: [0]
0,84 unequal: No Solution
Exploring Operation: 26/26=1, Resulting Numbers: [1]
1,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[26, 78, 10], Operations: ['57-47=10']
Exploring Operation: 78+10=88, Resulting Numbers: [26, 88]
Generated Node #0,1,0: 84:[26, 88] Operation: 78+10=88
Exploring Operation: 78/26=3, Resulting Numbers: [10, 3]
Generated Node #0,1,1: 84:[10, 3] Operation: 78/26=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 84:[10, 3], Operations: ['57-47=10', '78/26=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,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,1,0
Current State: 84:[26, 88], Operations: ['57-47=10', '78+10=88']
Exploring Operation: 26+88=114, Resulting Numbers: [114]
114,84 unequal: No Solution
Exploring Operation: 88-26=62, Resulting Numbers: [62]
62,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 |
[
71,
2,
47,
82
] | 25 | [
"82-71=11",
"2*11=22",
"47-22=25"
] | Current State: 25:[71, 2, 47, 82], Operations: []
Exploring Operation: 82-71=11, Resulting Numbers: [2, 47, 11]
Generated Node #2: [2, 47, 11] from Operation: 82-71=11
Current State: 25:[2, 47, 11], Operations: ['82-71=11']
Exploring Operation: 2*11=22, Resulting Numbers: [47, 22]
Generated Node #3: [47, 22] from Operation: 2*11=22
Current State: 25:[47, 22], Operations: ['82-71=11', '2*11=22']
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[71, 2, 47, 82], Operations: []
Exploring Operation: 82-71=11, Resulting Numbers: [2, 47, 11]
Generated Node #0,0: 25:[2, 47, 11] Operation: 82-71=11
Exploring Operation: 82-47=35, Resulting Numbers: [71, 2, 35]
Generated Node #0,1: 25:[71, 2, 35] Operation: 82-47=35
Moving to Node #0,0
Current State: 25:[2, 47, 11], Operations: ['82-71=11']
Exploring Operation: 47-11=36, Resulting Numbers: [2, 36]
Generated Node #0,0,0: 25:[2, 36] Operation: 47-11=36
Exploring Operation: 2*11=22, Resulting Numbers: [47, 22]
Generated Node #0,0,1: 25:[47, 22] Operation: 2*11=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[2, 36], Operations: ['82-71=11', '47-11=36']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,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,0,1
Current State: 25:[47, 22], Operations: ['82-71=11', '2*11=22']
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[71, 2, 47, 82], Operations: []
Exploring Operation: 82-71=11, Resulting Numbers: [2, 47, 11]
Generated Node #0,0: 25:[2, 47, 11] Operation: 82-71=11
Moving to Node #0,0
Current State: 25:[2, 47, 11], Operations: ['82-71=11']
Exploring Operation: 2*11=22, Resulting Numbers: [47, 22]
Generated Node #0,0,1: 25:[47, 22] Operation: 2*11=22
Moving to Node #0,0,1
Current State: 25:[47, 22], Operations: ['82-71=11', '2*11=22']
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
81,
67,
17,
39
] | 36 | [
"81-67=14",
"39-17=22",
"14+22=36"
] | Current State: 36:[81, 67, 17, 39], Operations: []
Exploring Operation: 81-67=14, Resulting Numbers: [17, 39, 14]
Generated Node #2: [17, 39, 14] from Operation: 81-67=14
Current State: 36:[17, 39, 14], Operations: ['81-67=14']
Exploring Operation: 39-17=22, Resulting Numbers: [14, 22]
Generated Node #3: [14, 22] from Operation: 39-17=22
Current State: 36:[14, 22], Operations: ['81-67=14', '39-17=22']
Exploring Operation: 14+22=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[81, 67, 17, 39], Operations: []
Exploring Operation: 81-17=64, Resulting Numbers: [67, 39, 64]
Generated Node #0,0: 36:[67, 39, 64] Operation: 81-17=64
Exploring Operation: 81-67=14, Resulting Numbers: [17, 39, 14]
Generated Node #0,1: 36:[17, 39, 14] Operation: 81-67=14
Exploring Operation: 67-17=50, Resulting Numbers: [81, 39, 50]
Generated Node #0,2: 36:[81, 39, 50] Operation: 67-17=50
Exploring Operation: 67-39=28, Resulting Numbers: [81, 17, 28]
Generated Node #0,3: 36:[81, 17, 28] Operation: 67-39=28
Exploring Operation: 81-39=42, Resulting Numbers: [67, 17, 42]
Generated Node #0,4: 36:[67, 17, 42] Operation: 81-39=42
Moving to Node #0,1
Current State: 36:[17, 39, 14], Operations: ['81-67=14']
Exploring Operation: 39-17=22, Resulting Numbers: [14, 22]
Generated Node #0,1,0: 36:[14, 22] Operation: 39-17=22
Exploring Operation: 39-14=25, Resulting Numbers: [17, 25]
Generated Node #0,1,1: 36:[17, 25] Operation: 39-14=25
Exploring Operation: 17+14=31, Resulting Numbers: [39, 31]
Generated Node #0,1,2: 36:[39, 31] Operation: 17+14=31
Exploring Operation: 39+14=53, Resulting Numbers: [17, 53]
Generated Node #0,1,3: 36:[17, 53] Operation: 39+14=53
Exploring Operation: 17-14=3, Resulting Numbers: [39, 3]
Generated Node #0,1,4: 36:[39, 3] Operation: 17-14=3
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 36:[39, 3], Operations: ['81-67=14', '17-14=3']
Exploring Operation: 39*3=117, Resulting Numbers: [117]
117,36 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[81, 67, 17, 39], Operations: []
Exploring Operation: 81-67=14, Resulting Numbers: [17, 39, 14]
Generated Node #0,1: 36:[17, 39, 14] Operation: 81-67=14
Moving to Node #0,1
Current State: 36:[17, 39, 14], Operations: ['81-67=14']
Exploring Operation: 17-14=3, Resulting Numbers: [39, 3]
Generated Node #0,1,4: 36:[39, 3] Operation: 17-14=3
Moving to Node #0,1,4
Current State: 36:[39, 3], Operations: ['81-67=14', '17-14=3']
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
71,
28,
1,
27
] | 70 | [
"71-28=43",
"1*27=27",
"43+27=70"
] | Current State: 70:[71, 28, 1, 27], Operations: []
Exploring Operation: 71-28=43, Resulting Numbers: [1, 27, 43]
Generated Node #2: [1, 27, 43] from Operation: 71-28=43
Current State: 70:[1, 27, 43], Operations: ['71-28=43']
Exploring Operation: 1*27=27, Resulting Numbers: [43, 27]
Generated Node #3: [43, 27] from Operation: 1*27=27
Current State: 70:[43, 27], Operations: ['71-28=43', '1*27=27']
Exploring Operation: 43+27=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[71, 28, 1, 27], Operations: []
Exploring Operation: 28-27=1, Resulting Numbers: [71, 1, 1]
Generated Node #0,0: 70:[71, 1, 1] Operation: 28-27=1
Exploring Operation: 71-1=70, Resulting Numbers: [28, 27, 70]
Generated Node #0,1: 70:[28, 27, 70] Operation: 71-1=70
Moving to Node #0,0
Current State: 70:[71, 1, 1], Operations: ['28-27=1']
Exploring Operation: 71-1=70, Resulting Numbers: [1, 70]
Generated Node #0,0,0: 70:[1, 70] Operation: 71-1=70
Exploring Operation: 71-1=70, Resulting Numbers: [1, 70]
Generated Node #0,0,1: 70:[1, 70] Operation: 71-1=70
Moving to Node #0,1
Current State: 70:[28, 27, 70], Operations: ['71-1=70']
Exploring Operation: 28+27=55, Resulting Numbers: [70, 55]
Generated Node #0,1,0: 70:[70, 55] Operation: 28+27=55
Exploring Operation: 28-27=1, Resulting Numbers: [70, 1]
Generated Node #0,1,1: 70:[70, 1] Operation: 28-27=1
Moving to Node #0,0,0
Current State: 70:[1, 70], Operations: ['28-27=1', '71-1=70']
Exploring Operation: 1*70=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[71, 28, 1, 27], Operations: []
Exploring Operation: 28-27=1, Resulting Numbers: [71, 1, 1]
Generated Node #0,0: 70:[71, 1, 1] Operation: 28-27=1
Moving to Node #0,0
Current State: 70:[71, 1, 1], Operations: ['28-27=1']
Exploring Operation: 71-1=70, Resulting Numbers: [1, 70]
Generated Node #0,0,0: 70:[1, 70] Operation: 71-1=70
Moving to Node #0,0,0
Current State: 70:[1, 70], Operations: ['28-27=1', '71-1=70']
Exploring Operation: 1*70=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
41,
89,
46,
71
] | 69 | [
"89-41=48",
"46+71=117",
"117-48=69"
] | Current State: 69:[41, 89, 46, 71], Operations: []
Exploring Operation: 89-41=48, Resulting Numbers: [46, 71, 48]
Generated Node #2: [46, 71, 48] from Operation: 89-41=48
Current State: 69:[46, 71, 48], Operations: ['89-41=48']
Exploring Operation: 46+71=117, Resulting Numbers: [48, 117]
Generated Node #3: [48, 117] from Operation: 46+71=117
Current State: 69:[48, 117], Operations: ['89-41=48', '46+71=117']
Exploring Operation: 117-48=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[41, 89, 46, 71], Operations: []
Exploring Operation: 41+46=87, Resulting Numbers: [89, 71, 87]
Generated Node #0,0: 69:[89, 71, 87] Operation: 41+46=87
Exploring Operation: 46-41=5, Resulting Numbers: [89, 71, 5]
Generated Node #0,1: 69:[89, 71, 5] Operation: 46-41=5
Moving to Node #0,1
Current State: 69:[89, 71, 5], Operations: ['46-41=5']
Exploring Operation: 89-71=18, Resulting Numbers: [5, 18]
Generated Node #0,1,0: 69:[5, 18] Operation: 89-71=18
Exploring Operation: 89-5=84, Resulting Numbers: [71, 84]
Generated Node #0,1,1: 69:[71, 84] Operation: 89-5=84
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 69:[5, 18], Operations: ['46-41=5', '89-71=18']
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,69 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 69:[71, 84], Operations: ['46-41=5', '89-5=84']
Exploring Operation: 71+84=155, Resulting Numbers: [155]
155,69 unequal: No Solution
Exploring Operation: 84-71=13, Resulting Numbers: [13]
13,69 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: 69:[89, 71, 87], Operations: ['41+46=87']
Exploring Operation: 89-87=2, Resulting Numbers: [71, 2]
Generated Node #0,0,0: 69:[71, 2] Operation: 89-87=2
Exploring Operation: 89-71=18, Resulting Numbers: [87, 18]
Generated Node #0,0,1: 69:[87, 18] Operation: 89-71=18
Moving to Node #0,0,0
Current State: 69:[71, 2], Operations: ['41+46=87', '89-87=2']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[41, 89, 46, 71], Operations: []
Exploring Operation: 41+46=87, Resulting Numbers: [89, 71, 87]
Generated Node #0,0: 69:[89, 71, 87] Operation: 41+46=87
Moving to Node #0,0
Current State: 69:[89, 71, 87], Operations: ['41+46=87']
Exploring Operation: 89-87=2, Resulting Numbers: [71, 2]
Generated Node #0,0,0: 69:[71, 2] Operation: 89-87=2
Moving to Node #0,0,0
Current State: 69:[71, 2], Operations: ['41+46=87', '89-87=2']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
52,
78,
41,
73
] | 16 | [
"52+78=130",
"41+73=114",
"130-114=16"
] | Current State: 16:[52, 78, 41, 73], Operations: []
Exploring Operation: 52+78=130, Resulting Numbers: [41, 73, 130]
Generated Node #2: [41, 73, 130] from Operation: 52+78=130
Current State: 16:[41, 73, 130], Operations: ['52+78=130']
Exploring Operation: 41+73=114, Resulting Numbers: [130, 114]
Generated Node #3: [130, 114] from Operation: 41+73=114
Current State: 16:[130, 114], Operations: ['52+78=130', '41+73=114']
Exploring Operation: 130-114=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[52, 78, 41, 73], Operations: []
Exploring Operation: 78-73=5, Resulting Numbers: [52, 41, 5]
Generated Node #0,0: 16:[52, 41, 5] Operation: 78-73=5
Exploring Operation: 78-52=26, Resulting Numbers: [41, 73, 26]
Generated Node #0,1: 16:[41, 73, 26] Operation: 78-52=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[52, 41, 5], Operations: ['78-73=5']
Exploring Operation: 52-5=47, Resulting Numbers: [41, 47]
Generated Node #0,0,0: 16:[41, 47] Operation: 52-5=47
Exploring Operation: 52-41=11, Resulting Numbers: [5, 11]
Generated Node #0,0,1: 16:[5, 11] Operation: 52-41=11
Moving to Node #0,0,1
Current State: 16:[5, 11], Operations: ['78-73=5', '52-41=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[52, 78, 41, 73], Operations: []
Exploring Operation: 78-73=5, Resulting Numbers: [52, 41, 5]
Generated Node #0,0: 16:[52, 41, 5] Operation: 78-73=5
Moving to Node #0,0
Current State: 16:[52, 41, 5], Operations: ['78-73=5']
Exploring Operation: 52-41=11, Resulting Numbers: [5, 11]
Generated Node #0,0,1: 16:[5, 11] Operation: 52-41=11
Moving to Node #0,0,1
Current State: 16:[5, 11], Operations: ['78-73=5', '52-41=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
21,
5,
50,
72
] | 17 | [
"21*5=105",
"50+72=122",
"122-105=17"
] | Current State: 17:[21, 5, 50, 72], Operations: []
Exploring Operation: 21*5=105, Resulting Numbers: [50, 72, 105]
Generated Node #2: [50, 72, 105] from Operation: 21*5=105
Current State: 17:[50, 72, 105], Operations: ['21*5=105']
Exploring Operation: 50+72=122, Resulting Numbers: [105, 122]
Generated Node #3: [105, 122] from Operation: 50+72=122
Current State: 17:[105, 122], Operations: ['21*5=105', '50+72=122']
Exploring Operation: 122-105=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[21, 5, 50, 72], Operations: []
Exploring Operation: 72-50=22, Resulting Numbers: [21, 5, 22]
Generated Node #0,0: 17:[21, 5, 22] Operation: 72-50=22
Exploring Operation: 50/5=10, Resulting Numbers: [21, 72, 10]
Generated Node #0,1: 17:[21, 72, 10] Operation: 50/5=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[21, 5, 22], Operations: ['72-50=22']
Exploring Operation: 21-5=16, Resulting Numbers: [22, 16]
Generated Node #0,0,0: 17:[22, 16] Operation: 21-5=16
Exploring Operation: 22-5=17, Resulting Numbers: [21, 17]
Generated Node #0,0,1: 17:[21, 17] Operation: 22-5=17
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 17:[21, 17], Operations: ['72-50=22', '22-5=17']
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,17 unequal: No Solution
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,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,0
Current State: 17:[22, 16], Operations: ['72-50=22', '21-5=16']
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,17 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[21, 72, 10], Operations: ['50/5=10']
Exploring Operation: 72-21=51, Resulting Numbers: [10, 51]
Generated Node #0,1,0: 17:[10, 51] Operation: 72-21=51
Exploring Operation: 72-10=62, Resulting Numbers: [21, 62]
Generated Node #0,1,1: 17:[21, 62] Operation: 72-10=62
Moving to Node #0,1,0
Current State: 17:[10, 51], Operations: ['50/5=10', '72-21=51']
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,17 unequal: No Solution
Exploring Operation: 10+51=61, Resulting Numbers: [61]
61,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[21, 62], Operations: ['50/5=10', '72-10=62']
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,17 unequal: No Solution
Exploring Operation: 21+62=83, Resulting Numbers: [83]
83,17 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 |
[
8,
3,
38,
47
] | 80 | [
"8-3=5",
"38+47=85",
"85-5=80"
] | Current State: 80:[8, 3, 38, 47], Operations: []
Exploring Operation: 8-3=5, Resulting Numbers: [38, 47, 5]
Generated Node #2: [38, 47, 5] from Operation: 8-3=5
Current State: 80:[38, 47, 5], Operations: ['8-3=5']
Exploring Operation: 38+47=85, Resulting Numbers: [5, 85]
Generated Node #3: [5, 85] from Operation: 38+47=85
Current State: 80:[5, 85], Operations: ['8-3=5', '38+47=85']
Exploring Operation: 85-5=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[8, 3, 38, 47], Operations: []
Exploring Operation: 47-38=9, Resulting Numbers: [8, 3, 9]
Generated Node #0,0: 80:[8, 3, 9] Operation: 47-38=9
Exploring Operation: 47-8=39, Resulting Numbers: [3, 38, 39]
Generated Node #0,1: 80:[3, 38, 39] Operation: 47-8=39
Exploring Operation: 38+47=85, Resulting Numbers: [8, 3, 85]
Generated Node #0,2: 80:[8, 3, 85] Operation: 38+47=85
Exploring Operation: 47-3=44, Resulting Numbers: [8, 38, 44]
Generated Node #0,3: 80:[8, 38, 44] Operation: 47-3=44
Moving to Node #0,0
Current State: 80:[8, 3, 9], Operations: ['47-38=9']
Exploring Operation: 9-3=6, Resulting Numbers: [8, 6]
Generated Node #0,0,0: 80:[8, 6] Operation: 9-3=6
Exploring Operation: 8-3=5, Resulting Numbers: [9, 5]
Generated Node #0,0,1: 80:[9, 5] Operation: 8-3=5
Exploring Operation: 9/3=3, Resulting Numbers: [8, 3]
Generated Node #0,0,2: 80:[8, 3] Operation: 9/3=3
Exploring Operation: 8+3=11, Resulting Numbers: [9, 11]
Generated Node #0,0,3: 80:[9, 11] Operation: 8+3=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[8, 6], Operations: ['47-38=9', '9-3=6']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 80:[9, 5], Operations: ['47-38=9', '8-3=5']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,80 unequal: No Solution
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 80:[8, 3], Operations: ['47-38=9', '9/3=3']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 80:[9, 11], Operations: ['47-38=9', '8+3=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,80 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,80 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: 80:[3, 38, 39], Operations: ['47-8=39']
Exploring Operation: 38+39=77, Resulting Numbers: [3, 77]
Generated Node #0,1,0: 80:[3, 77] Operation: 38+39=77
Exploring Operation: 3+38=41, Resulting Numbers: [39, 41]
Generated Node #0,1,1: 80:[39, 41] Operation: 3+38=41
Exploring Operation: 39-38=1, Resulting Numbers: [3, 1]
Generated Node #0,1,2: 80:[3, 1] Operation: 39-38=1
Exploring Operation: 3+39=42, Resulting Numbers: [38, 42]
Generated Node #0,1,3: 80:[38, 42] Operation: 3+39=42
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 80:[39, 41], Operations: ['47-8=39', '3+38=41']
Exploring Operation: 39*41=1599, Resulting Numbers: [1599]
1599,80 unequal: No Solution
Exploring Operation: 41-39=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 39+41=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[8, 3, 38, 47], Operations: []
Exploring Operation: 47-8=39, Resulting Numbers: [3, 38, 39]
Generated Node #0,1: 80:[3, 38, 39] Operation: 47-8=39
Moving to Node #0,1
Current State: 80:[3, 38, 39], Operations: ['47-8=39']
Exploring Operation: 3+38=41, Resulting Numbers: [39, 41]
Generated Node #0,1,1: 80:[39, 41] Operation: 3+38=41
Moving to Node #0,1,1
Current State: 80:[39, 41], Operations: ['47-8=39', '3+38=41']
Exploring Operation: 39+41=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
23,
40,
60,
58
] | 19 | [
"40-23=17",
"60-58=2",
"17+2=19"
] | Current State: 19:[23, 40, 60, 58], Operations: []
Exploring Operation: 40-23=17, Resulting Numbers: [60, 58, 17]
Generated Node #2: [60, 58, 17] from Operation: 40-23=17
Current State: 19:[60, 58, 17], Operations: ['40-23=17']
Exploring Operation: 60-58=2, Resulting Numbers: [17, 2]
Generated Node #3: [17, 2] from Operation: 60-58=2
Current State: 19:[17, 2], Operations: ['40-23=17', '60-58=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[23, 40, 60, 58], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [23, 40, 2]
Generated Node #0,0: 19:[23, 40, 2] Operation: 60-58=2
Exploring Operation: 58-40=18, Resulting Numbers: [23, 60, 18]
Generated Node #0,1: 19:[23, 60, 18] Operation: 58-40=18
Exploring Operation: 60-40=20, Resulting Numbers: [23, 58, 20]
Generated Node #0,2: 19:[23, 58, 20] Operation: 60-40=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[23, 40, 2], Operations: ['60-58=2']
Exploring Operation: 23-2=21, Resulting Numbers: [40, 21]
Generated Node #0,0,0: 19:[40, 21] Operation: 23-2=21
Exploring Operation: 40-23=17, Resulting Numbers: [2, 17]
Generated Node #0,0,1: 19:[2, 17] Operation: 40-23=17
Exploring Operation: 40/2=20, Resulting Numbers: [23, 20]
Generated Node #0,0,2: 19:[23, 20] Operation: 40/2=20
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 19:[23, 20], Operations: ['60-58=2', '40/2=20']
Exploring Operation: 23+20=43, Resulting Numbers: [43]
43,19 unequal: No Solution
Exploring Operation: 23*20=460, Resulting Numbers: [460]
460,19 unequal: No Solution
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 19:[2, 17], Operations: ['60-58=2', '40-23=17']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[23, 40, 60, 58], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [23, 40, 2]
Generated Node #0,0: 19:[23, 40, 2] Operation: 60-58=2
Moving to Node #0,0
Current State: 19:[23, 40, 2], Operations: ['60-58=2']
Exploring Operation: 40-23=17, Resulting Numbers: [2, 17]
Generated Node #0,0,1: 19:[2, 17] Operation: 40-23=17
Moving to Node #0,0,1
Current State: 19:[2, 17], Operations: ['60-58=2', '40-23=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
19,
40,
37,
80
] | 40 | [
"19*80=1520",
"40*37=1480",
"1520-1480=40"
] | Current State: 40:[19, 40, 37, 80], Operations: []
Exploring Operation: 19*80=1520, Resulting Numbers: [40, 37, 1520]
Generated Node #2: [40, 37, 1520] from Operation: 19*80=1520
Current State: 40:[40, 37, 1520], Operations: ['19*80=1520']
Exploring Operation: 40*37=1480, Resulting Numbers: [1520, 1480]
Generated Node #3: [1520, 1480] from Operation: 40*37=1480
Current State: 40:[1520, 1480], Operations: ['19*80=1520', '40*37=1480']
Exploring Operation: 1520-1480=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[19, 40, 37, 80], Operations: []
Exploring Operation: 80-40=40, Resulting Numbers: [19, 37, 40]
Generated Node #0,0: 40:[19, 37, 40] Operation: 80-40=40
Moving to Node #0,0
Current State: 40:[19, 37, 40], Operations: ['80-40=40']
Exploring Operation: 37-19=18, Resulting Numbers: [40, 18]
Generated Node #0,0,0: 40:[40, 18] Operation: 37-19=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[40, 18], Operations: ['80-40=40', '37-19=18']
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,40 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 |
[
3,
39,
5,
45
] | 77 | [
"3*39=117",
"45-5=40",
"117-40=77"
] | Current State: 77:[3, 39, 5, 45], Operations: []
Exploring Operation: 3*39=117, Resulting Numbers: [5, 45, 117]
Generated Node #2: [5, 45, 117] from Operation: 3*39=117
Current State: 77:[5, 45, 117], Operations: ['3*39=117']
Exploring Operation: 45-5=40, Resulting Numbers: [117, 40]
Generated Node #3: [117, 40] from Operation: 45-5=40
Current State: 77:[117, 40], Operations: ['3*39=117', '45-5=40']
Exploring Operation: 117-40=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[3, 39, 5, 45], Operations: []
Exploring Operation: 39+45=84, Resulting Numbers: [3, 5, 84]
Generated Node #0,0: 77:[3, 5, 84] Operation: 39+45=84
Exploring Operation: 45-39=6, Resulting Numbers: [3, 5, 6]
Generated Node #0,1: 77:[3, 5, 6] Operation: 45-39=6
Exploring Operation: 45/3=15, Resulting Numbers: [39, 5, 15]
Generated Node #0,2: 77:[39, 5, 15] Operation: 45/3=15
Moving to Node #0,1
Current State: 77:[3, 5, 6], Operations: ['45-39=6']
Exploring Operation: 5+6=11, Resulting Numbers: [3, 11]
Generated Node #0,1,0: 77:[3, 11] Operation: 5+6=11
Exploring Operation: 3+5=8, Resulting Numbers: [6, 8]
Generated Node #0,1,1: 77:[6, 8] Operation: 3+5=8
Exploring Operation: 3+6=9, Resulting Numbers: [5, 9]
Generated Node #0,1,2: 77:[5, 9] Operation: 3+6=9
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 77:[6, 8], Operations: ['45-39=6', '3+5=8']
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,77 unequal: No Solution
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,77 unequal: No Solution
Exploring Operation: 8-6=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,1,0
Current State: 77:[3, 11], Operations: ['45-39=6', '5+6=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,77 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,77 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,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:[5, 9], Operations: ['45-39=6', '3+6=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,77 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,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:[3, 5, 84], Operations: ['39+45=84']
Exploring Operation: 84-5=79, Resulting Numbers: [3, 79]
Generated Node #0,0,0: 77:[3, 79] Operation: 84-5=79
Exploring Operation: 84-3=81, Resulting Numbers: [5, 81]
Generated Node #0,0,1: 77:[5, 81] Operation: 84-3=81
Exploring Operation: 3+5=8, Resulting Numbers: [84, 8]
Generated Node #0,0,2: 77:[84, 8] Operation: 3+5=8
Moving to Node #0,2
Current State: 77:[39, 5, 15], Operations: ['45/3=15']
Exploring Operation: 39-15=24, Resulting Numbers: [5, 24]
Generated Node #0,2,0: 77:[5, 24] Operation: 39-15=24
Exploring Operation: 39-5=34, Resulting Numbers: [15, 34]
Generated Node #0,2,1: 77:[15, 34] Operation: 39-5=34
Exploring Operation: 39+15=54, Resulting Numbers: [5, 54]
Generated Node #0,2,2: 77:[5, 54] Operation: 39+15=54
Moving to Node #0,0,0
Current State: 77:[3, 79], Operations: ['39+45=84', '84-5=79']
Exploring Operation: 3+79=82, Resulting Numbers: [82]
82,77 unequal: No Solution
Exploring Operation: 3*79=237, Resulting Numbers: [237]
237,77 unequal: No Solution
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[5, 81], Operations: ['39+45=84', '84-3=81']
Exploring Operation: 5*81=405, Resulting Numbers: [405]
405,77 unequal: No Solution
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,77 unequal: No Solution
Exploring Operation: 5+81=86, Resulting Numbers: [86]
86,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[84, 8], Operations: ['39+45=84', '3+5=8']
Exploring Operation: 84*8=672, Resulting Numbers: [672]
672,77 unequal: No Solution
Exploring Operation: 84+8=92, Resulting Numbers: [92]
92,77 unequal: No Solution
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,77 unequal: No Solution
Moving to Node #0,2,0
Current State: 77:[5, 24], Operations: ['45/3=15', '39-15=24']
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,77 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,77 unequal: No Solution
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[5, 54], Operations: ['45/3=15', '39+15=54']
Exploring Operation: 5+54=59, Resulting Numbers: [59]
59,77 unequal: No Solution
Exploring Operation: 5*54=270, Resulting Numbers: [270]
270,77 unequal: No Solution
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,77 unequal: No Solution
Moving to Node #0,2,1
Current State: 77:[15, 34], Operations: ['45/3=15', '39-5=34']
Exploring Operation: 15*34=510, Resulting Numbers: [510]
510,77 unequal: No Solution
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,77 unequal: No Solution
Exploring Operation: 15+34=49, Resulting Numbers: [49]
49,77 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
13,
66,
28,
2
] | 27 | [
"66-13=53",
"28-2=26",
"53-26=27"
] | Current State: 27:[13, 66, 28, 2], Operations: []
Exploring Operation: 66-13=53, Resulting Numbers: [28, 2, 53]
Generated Node #2: [28, 2, 53] from Operation: 66-13=53
Current State: 27:[28, 2, 53], Operations: ['66-13=53']
Exploring Operation: 28-2=26, Resulting Numbers: [53, 26]
Generated Node #3: [53, 26] from Operation: 28-2=26
Current State: 27:[53, 26], Operations: ['66-13=53', '28-2=26']
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[13, 66, 28, 2], Operations: []
Exploring Operation: 66-13=53, Resulting Numbers: [28, 2, 53]
Generated Node #0,0: 27:[28, 2, 53] Operation: 66-13=53
Exploring Operation: 66-28=38, Resulting Numbers: [13, 2, 38]
Generated Node #0,1: 27:[13, 2, 38] Operation: 66-28=38
Exploring Operation: 13*2=26, Resulting Numbers: [66, 28, 26]
Generated Node #0,2: 27:[66, 28, 26] Operation: 13*2=26
Exploring Operation: 13-2=11, Resulting Numbers: [66, 28, 11]
Generated Node #0,3: 27:[66, 28, 11] Operation: 13-2=11
Exploring Operation: 66/2=33, Resulting Numbers: [13, 28, 33]
Generated Node #0,4: 27:[13, 28, 33] Operation: 66/2=33
Moving to Node #0,4
Current State: 27:[13, 28, 33], Operations: ['66/2=33']
Exploring Operation: 33-13=20, Resulting Numbers: [28, 20]
Generated Node #0,4,0: 27:[28, 20] Operation: 33-13=20
Exploring Operation: 28-13=15, Resulting Numbers: [33, 15]
Generated Node #0,4,1: 27:[33, 15] Operation: 28-13=15
Exploring Operation: 13+28=41, Resulting Numbers: [33, 41]
Generated Node #0,4,2: 27:[33, 41] Operation: 13+28=41
Exploring Operation: 33-28=5, Resulting Numbers: [13, 5]
Generated Node #0,4,3: 27:[13, 5] Operation: 33-28=5
Exploring Operation: 13+33=46, Resulting Numbers: [28, 46]
Generated Node #0,4,4: 27:[28, 46] Operation: 13+33=46
Moving to Node #0,1
Current State: 27:[13, 2, 38], Operations: ['66-28=38']
Exploring Operation: 13*2=26, Resulting Numbers: [38, 26]
Generated Node #0,1,0: 27:[38, 26] Operation: 13*2=26
Exploring Operation: 38-13=25, Resulting Numbers: [2, 25]
Generated Node #0,1,1: 27:[2, 25] Operation: 38-13=25
Exploring Operation: 38-2=36, Resulting Numbers: [13, 36]
Generated Node #0,1,2: 27:[13, 36] Operation: 38-2=36
Exploring Operation: 38/2=19, Resulting Numbers: [13, 19]
Generated Node #0,1,3: 27:[13, 19] Operation: 38/2=19
Exploring Operation: 13-2=11, Resulting Numbers: [38, 11]
Generated Node #0,1,4: 27:[38, 11] Operation: 13-2=11
Moving to Node #0,0
Current State: 27:[28, 2, 53], Operations: ['66-13=53']
Exploring Operation: 53-28=25, Resulting Numbers: [2, 25]
Generated Node #0,0,0: 27:[2, 25] Operation: 53-28=25
Exploring Operation: 28-2=26, Resulting Numbers: [53, 26]
Generated Node #0,0,1: 27:[53, 26] Operation: 28-2=26
Exploring Operation: 2+53=55, Resulting Numbers: [28, 55]
Generated Node #0,0,2: 27:[28, 55] Operation: 2+53=55
Exploring Operation: 53-2=51, Resulting Numbers: [28, 51]
Generated Node #0,0,3: 27:[28, 51] Operation: 53-2=51
Exploring Operation: 28+2=30, Resulting Numbers: [53, 30]
Generated Node #0,0,4: 27:[53, 30] Operation: 28+2=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[2, 25], Operations: ['66-13=53', '53-28=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[13, 66, 28, 2], Operations: []
Exploring Operation: 66-13=53, Resulting Numbers: [28, 2, 53]
Generated Node #0,0: 27:[28, 2, 53] Operation: 66-13=53
Moving to Node #0,0
Current State: 27:[28, 2, 53], Operations: ['66-13=53']
Exploring Operation: 53-28=25, Resulting Numbers: [2, 25]
Generated Node #0,0,0: 27:[2, 25] Operation: 53-28=25
Moving to Node #0,0,0
Current State: 27:[2, 25], Operations: ['66-13=53', '53-28=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | sum_heuristic |
[
2,
33,
61,
94
] | 99 | [
"2*33=66",
"94-61=33",
"66+33=99"
] | Current State: 99:[2, 33, 61, 94], Operations: []
Exploring Operation: 2*33=66, Resulting Numbers: [61, 94, 66]
Generated Node #2: [61, 94, 66] from Operation: 2*33=66
Current State: 99:[61, 94, 66], Operations: ['2*33=66']
Exploring Operation: 94-61=33, Resulting Numbers: [66, 33]
Generated Node #3: [66, 33] from Operation: 94-61=33
Current State: 99:[66, 33], Operations: ['2*33=66', '94-61=33']
Exploring Operation: 66+33=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[2, 33, 61, 94], Operations: []
Exploring Operation: 33+61=94, Resulting Numbers: [2, 94, 94]
Generated Node #0,0: 99:[2, 94, 94] Operation: 33+61=94
Exploring Operation: 94-61=33, Resulting Numbers: [2, 33, 33]
Generated Node #0,1: 99:[2, 33, 33] Operation: 94-61=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[2, 33, 33], Operations: ['94-61=33']
Exploring Operation: 33-2=31, Resulting Numbers: [33, 31]
Generated Node #0,1,0: 99:[33, 31] Operation: 33-2=31
Exploring Operation: 2+33=35, Resulting Numbers: [33, 35]
Generated Node #0,1,1: 99:[33, 35] Operation: 2+33=35
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 99:[33, 31], Operations: ['94-61=33', '33-2=31']
Exploring Operation: 33+31=64, Resulting Numbers: [64]
64,99 unequal: No Solution
Exploring Operation: 33-31=2, Resulting Numbers: [2]
2,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:[33, 35], Operations: ['94-61=33', '2+33=35']
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,99 unequal: No Solution
Exploring Operation: 35-33=2, Resulting Numbers: [2]
2,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[2, 94, 94], Operations: ['33+61=94']
Exploring Operation: 94/94=1, Resulting Numbers: [2, 1]
Generated Node #0,0,0: 99:[2, 1] Operation: 94/94=1
Exploring Operation: 94-94=0, Resulting Numbers: [2, 0]
Generated Node #0,0,1: 99:[2, 0] Operation: 94-94=0
Moving to Node #0,0,0
Current State: 99:[2, 1], Operations: ['33+61=94', '94/94=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[2, 0], Operations: ['33+61=94', '94-94=0']
Exploring Operation: 2+0=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 2-0=2, Resulting Numbers: [2]
2,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
56,
7,
14,
45
] | 22 | [
"56-45=11",
"14/7=2",
"11*2=22"
] | Current State: 22:[56, 7, 14, 45], Operations: []
Exploring Operation: 56-45=11, Resulting Numbers: [7, 14, 11]
Generated Node #2: [7, 14, 11] from Operation: 56-45=11
Current State: 22:[7, 14, 11], Operations: ['56-45=11']
Exploring Operation: 14/7=2, Resulting Numbers: [11, 2]
Generated Node #3: [11, 2] from Operation: 14/7=2
Current State: 22:[11, 2], Operations: ['56-45=11', '14/7=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[56, 7, 14, 45], Operations: []
Exploring Operation: 56/7=8, Resulting Numbers: [14, 45, 8]
Generated Node #0,0: 22:[14, 45, 8] Operation: 56/7=8
Exploring Operation: 56/14=4, Resulting Numbers: [7, 45, 4]
Generated Node #0,1: 22:[7, 45, 4] Operation: 56/14=4
Exploring Operation: 56-45=11, Resulting Numbers: [7, 14, 11]
Generated Node #0,2: 22:[7, 14, 11] Operation: 56-45=11
Moving to Node #0,2
Current State: 22:[7, 14, 11], Operations: ['56-45=11']
Exploring Operation: 7+14=21, Resulting Numbers: [11, 21]
Generated Node #0,2,0: 22:[11, 21] Operation: 7+14=21
Exploring Operation: 14/7=2, Resulting Numbers: [11, 2]
Generated Node #0,2,1: 22:[11, 2] Operation: 14/7=2
Exploring Operation: 14-7=7, Resulting Numbers: [11, 7]
Generated Node #0,2,2: 22:[11, 7] Operation: 14-7=7
Moving to Node #0,0
Current State: 22:[14, 45, 8], Operations: ['56/7=8']
Exploring Operation: 14+8=22, Resulting Numbers: [45, 22]
Generated Node #0,0,0: 22:[45, 22] Operation: 14+8=22
Exploring Operation: 45-8=37, Resulting Numbers: [14, 37]
Generated Node #0,0,1: 22:[14, 37] Operation: 45-8=37
Exploring Operation: 45-14=31, Resulting Numbers: [8, 31]
Generated Node #0,0,2: 22:[8, 31] Operation: 45-14=31
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 22:[8, 31], Operations: ['56/7=8', '45-14=31']
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,22 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 8*31=248, Resulting Numbers: [248]
248,22 unequal: No Solution
No 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: 22:[14, 37], Operations: ['56/7=8', '45-8=37']
Exploring Operation: 14+37=51, Resulting Numbers: [51]
51,22 unequal: No Solution
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 14*37=518, Resulting Numbers: [518]
518,22 unequal: No Solution
No 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: 22:[45, 22], Operations: ['56/7=8', '14+8=22']
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 45*22=990, Resulting Numbers: [990]
990,22 unequal: No Solution
Exploring Operation: 45+22=67, Resulting Numbers: [67]
67,22 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: 22:[7, 45, 4], Operations: ['56/14=4']
Exploring Operation: 7+4=11, Resulting Numbers: [45, 11]
Generated Node #0,1,0: 22:[45, 11] Operation: 7+4=11
Exploring Operation: 45-7=38, Resulting Numbers: [4, 38]
Generated Node #0,1,1: 22:[4, 38] Operation: 45-7=38
Exploring Operation: 45-4=41, Resulting Numbers: [7, 41]
Generated Node #0,1,2: 22:[7, 41] Operation: 45-4=41
Moving to Node #0,2,1
Current State: 22:[11, 2], Operations: ['56-45=11', '14/7=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[56, 7, 14, 45], Operations: []
Exploring Operation: 56-45=11, Resulting Numbers: [7, 14, 11]
Generated Node #0,2: 22:[7, 14, 11] Operation: 56-45=11
Moving to Node #0,2
Current State: 22:[7, 14, 11], Operations: ['56-45=11']
Exploring Operation: 14/7=2, Resulting Numbers: [11, 2]
Generated Node #0,2,1: 22:[11, 2] Operation: 14/7=2
Moving to Node #0,2,1
Current State: 22:[11, 2], Operations: ['56-45=11', '14/7=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 0.977431 | hs_3 | sum_heuristic |
[
2,
32,
18,
51
] | 52 | [
"2*51=102",
"32+18=50",
"102-50=52"
] | Current State: 52:[2, 32, 18, 51], Operations: []
Exploring Operation: 2*51=102, Resulting Numbers: [32, 18, 102]
Generated Node #2: [32, 18, 102] from Operation: 2*51=102
Current State: 52:[32, 18, 102], Operations: ['2*51=102']
Exploring Operation: 32+18=50, Resulting Numbers: [102, 50]
Generated Node #3: [102, 50] from Operation: 32+18=50
Current State: 52:[102, 50], Operations: ['2*51=102', '32+18=50']
Exploring Operation: 102-50=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[2, 32, 18, 51], Operations: []
Exploring Operation: 32+18=50, Resulting Numbers: [2, 51, 50]
Generated Node #0,0: 52:[2, 51, 50] Operation: 32+18=50
Exploring Operation: 32/2=16, Resulting Numbers: [18, 51, 16]
Generated Node #0,1: 52:[18, 51, 16] Operation: 32/2=16
Exploring Operation: 32-18=14, Resulting Numbers: [2, 51, 14]
Generated Node #0,2: 52:[2, 51, 14] Operation: 32-18=14
Moving to Node #0,2
Current State: 52:[2, 51, 14], Operations: ['32-18=14']
Exploring Operation: 2+51=53, Resulting Numbers: [14, 53]
Generated Node #0,2,0: 52:[14, 53] Operation: 2+51=53
Exploring Operation: 2*14=28, Resulting Numbers: [51, 28]
Generated Node #0,2,1: 52:[51, 28] Operation: 2*14=28
Exploring Operation: 14-2=12, Resulting Numbers: [51, 12]
Generated Node #0,2,2: 52:[51, 12] Operation: 14-2=12
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 52:[14, 53], Operations: ['32-18=14', '2+51=53']
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 14+53=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Exploring Operation: 14*53=742, Resulting Numbers: [742]
742,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 52:[51, 12], Operations: ['32-18=14', '14-2=12']
Exploring Operation: 51*12=612, Resulting Numbers: [612]
612,52 unequal: No Solution
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 51+12=63, Resulting Numbers: [63]
63,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 52:[51, 28], Operations: ['32-18=14', '2*14=28']
Exploring Operation: 51+28=79, Resulting Numbers: [79]
79,52 unequal: No Solution
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,52 unequal: No Solution
Exploring Operation: 51*28=1428, Resulting Numbers: [1428]
1428,52 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: 52:[2, 51, 50], Operations: ['32+18=50']
Exploring Operation: 50/2=25, Resulting Numbers: [51, 25]
Generated Node #0,0,0: 52:[51, 25] Operation: 50/2=25
Exploring Operation: 2+50=52, Resulting Numbers: [51, 52]
Generated Node #0,0,1: 52:[51, 52] Operation: 2+50=52
Exploring Operation: 51-50=1, Resulting Numbers: [2, 1]
Generated Node #0,0,2: 52:[2, 1] Operation: 51-50=1
Moving to Node #0,1
Current State: 52:[18, 51, 16], Operations: ['32/2=16']
Exploring Operation: 18+16=34, Resulting Numbers: [51, 34]
Generated Node #0,1,0: 52:[51, 34] Operation: 18+16=34
Exploring Operation: 51-18=33, Resulting Numbers: [16, 33]
Generated Node #0,1,1: 52:[16, 33] Operation: 51-18=33
Exploring Operation: 18-16=2, Resulting Numbers: [51, 2]
Generated Node #0,1,2: 52:[51, 2] Operation: 18-16=2
Moving to Node #0,0,1
Current State: 52:[51, 52], Operations: ['32+18=50', '2+50=52']
Exploring Operation: 51*52=2652, Resulting Numbers: [2652]
2652,52 unequal: No Solution
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 51+52=103, Resulting Numbers: [103]
103,52 unequal: No Solution
Moving to Node #0,0,2
Current State: 52:[2, 1], Operations: ['32+18=50', '51-50=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Moving to Node #0,1,2
Current State: 52:[51, 2], Operations: ['32/2=16', '18-16=2']
Exploring Operation: 51*2=102, Resulting Numbers: [102]
102,52 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,52 unequal: No Solution
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[51, 25], Operations: ['32+18=50', '50/2=25']
Exploring Operation: 51*25=1275, Resulting Numbers: [1275]
1275,52 unequal: No Solution
Exploring Operation: 51+25=76, Resulting Numbers: [76]
76,52 unequal: No Solution
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[51, 34], Operations: ['32/2=16', '18+16=34']
Exploring Operation: 51+34=85, Resulting Numbers: [85]
85,52 unequal: No Solution
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 51*34=1734, Resulting Numbers: [1734]
1734,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[16, 33], Operations: ['32/2=16', '51-18=33']
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 16*33=528, Resulting Numbers: [528]
528,52 unequal: No Solution
Exploring Operation: 16+33=49, Resulting Numbers: [49]
49,52 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
42,
97,
81,
83
] | 76 | [
"83-81=2",
"42/2=21",
"97-21=76"
] | Current State: 76:[42, 97, 81, 83], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [42, 97, 2]
Generated Node #2: [42, 97, 2] from Operation: 83-81=2
Current State: 76:[42, 97, 2], Operations: ['83-81=2']
Exploring Operation: 42/2=21, Resulting Numbers: [97, 21]
Generated Node #3: [97, 21] from Operation: 42/2=21
Current State: 76:[97, 21], Operations: ['83-81=2', '42/2=21']
Exploring Operation: 97-21=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[42, 97, 81, 83], Operations: []
Exploring Operation: 97-83=14, Resulting Numbers: [42, 81, 14]
Generated Node #0,0: 76:[42, 81, 14] Operation: 97-83=14
Exploring Operation: 97-81=16, Resulting Numbers: [42, 83, 16]
Generated Node #0,1: 76:[42, 83, 16] Operation: 97-81=16
Moving to Node #0,0
Current State: 76:[42, 81, 14], Operations: ['97-83=14']
Exploring Operation: 42/14=3, Resulting Numbers: [81, 3]
Generated Node #0,0,0: 76:[81, 3] Operation: 42/14=3
Exploring Operation: 81-42=39, Resulting Numbers: [14, 39]
Generated Node #0,0,1: 76:[14, 39] Operation: 81-42=39
Moving to Node #0,1
Current State: 76:[42, 83, 16], Operations: ['97-81=16']
Exploring Operation: 83-42=41, Resulting Numbers: [16, 41]
Generated Node #0,1,0: 76:[16, 41] Operation: 83-42=41
Exploring Operation: 83-16=67, Resulting Numbers: [42, 67]
Generated Node #0,1,1: 76:[42, 67] Operation: 83-16=67
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 76:[16, 41], Operations: ['97-81=16', '83-42=41']
Exploring Operation: 16+41=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,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,1,1
Current State: 76:[42, 67], Operations: ['97-81=16', '83-16=67']
Exploring Operation: 42+67=109, Resulting Numbers: [109]
109,76 unequal: No Solution
Exploring Operation: 67-42=25, Resulting Numbers: [25]
25,76 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: 76:[81, 3], Operations: ['97-83=14', '42/14=3']
Exploring Operation: 81+3=84, Resulting Numbers: [84]
84,76 unequal: No Solution
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[14, 39], Operations: ['97-83=14', '81-42=39']
Exploring Operation: 14+39=53, Resulting Numbers: [53]
53,76 unequal: No Solution
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,76 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
14,
77,
4,
18
] | 93 | [
"18-14=4",
"4*4=16",
"77+16=93"
] | Current State: 93:[14, 77, 4, 18], Operations: []
Exploring Operation: 18-14=4, Resulting Numbers: [77, 4, 4]
Generated Node #2: [77, 4, 4] from Operation: 18-14=4
Current State: 93:[77, 4, 4], Operations: ['18-14=4']
Exploring Operation: 4*4=16, Resulting Numbers: [77, 16]
Generated Node #3: [77, 16] from Operation: 4*4=16
Current State: 93:[77, 16], Operations: ['18-14=4', '4*4=16']
Exploring Operation: 77+16=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[14, 77, 4, 18], Operations: []
Exploring Operation: 14+77=91, Resulting Numbers: [4, 18, 91]
Generated Node #0,0: 93:[4, 18, 91] Operation: 14+77=91
Exploring Operation: 14+18=32, Resulting Numbers: [77, 4, 32]
Generated Node #0,1: 93:[77, 4, 32] Operation: 14+18=32
Exploring Operation: 14-4=10, Resulting Numbers: [77, 18, 10]
Generated Node #0,2: 93:[77, 18, 10] Operation: 14-4=10
Exploring Operation: 18-14=4, Resulting Numbers: [77, 4, 4]
Generated Node #0,3: 93:[77, 4, 4] Operation: 18-14=4
Exploring Operation: 77+18=95, Resulting Numbers: [14, 4, 95]
Generated Node #0,4: 93:[14, 4, 95] Operation: 77+18=95
Start Sub Search at level 1: Moving to Node #0,4
Current State: 93:[14, 4, 95], Operations: ['77+18=95']
Exploring Operation: 14+4=18, Resulting Numbers: [95, 18]
Generated Node #0,4,0: 93:[95, 18] Operation: 14+4=18
Exploring Operation: 14-4=10, Resulting Numbers: [95, 10]
Generated Node #0,4,1: 93:[95, 10] Operation: 14-4=10
Exploring Operation: 95-14=81, Resulting Numbers: [4, 81]
Generated Node #0,4,2: 93:[4, 81] Operation: 95-14=81
Exploring Operation: 95-4=91, Resulting Numbers: [14, 91]
Generated Node #0,4,3: 93:[14, 91] Operation: 95-4=91
Exploring Operation: 14+95=109, Resulting Numbers: [4, 109]
Generated Node #0,4,4: 93:[4, 109] Operation: 14+95=109
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 93:[95, 10], Operations: ['77+18=95', '14-4=10']
Exploring Operation: 95+10=105, Resulting Numbers: [105]
105,93 unequal: No Solution
Exploring Operation: 95*10=950, Resulting Numbers: [950]
950,93 unequal: No Solution
Exploring Operation: 95-10=85, Resulting Numbers: [85]
85,93 unequal: No Solution
No 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: 93:[4, 81], Operations: ['77+18=95', '95-14=81']
Exploring Operation: 4+81=85, Resulting Numbers: [85]
85,93 unequal: No Solution
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Exploring Operation: 4*81=324, Resulting Numbers: [324]
324,93 unequal: No Solution
No 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: 93:[14, 91], Operations: ['77+18=95', '95-4=91']
Exploring Operation: 14*91=1274, Resulting Numbers: [1274]
1274,93 unequal: No Solution
Exploring Operation: 91-14=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Exploring Operation: 14+91=105, Resulting Numbers: [105]
105,93 unequal: No Solution
No 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: 93:[95, 18], Operations: ['77+18=95', '14+4=18']
Exploring Operation: 95*18=1710, Resulting Numbers: [1710]
1710,93 unequal: No Solution
Exploring Operation: 95+18=113, Resulting Numbers: [113]
113,93 unequal: No Solution
Exploring Operation: 95-18=77, Resulting Numbers: [77]
77,93 unequal: No Solution
No 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: 93:[4, 109], Operations: ['77+18=95', '14+95=109']
Exploring Operation: 4*109=436, Resulting Numbers: [436]
436,93 unequal: No Solution
Exploring Operation: 109-4=105, Resulting Numbers: [105]
105,93 unequal: No Solution
Exploring Operation: 4+109=113, Resulting Numbers: [113]
113,93 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: 93:[4, 18, 91], Operations: ['14+77=91']
Exploring Operation: 18-4=14, Resulting Numbers: [91, 14]
Generated Node #0,0,0: 93:[91, 14] Operation: 18-4=14
Exploring Operation: 4+18=22, Resulting Numbers: [91, 22]
Generated Node #0,0,1: 93:[91, 22] Operation: 4+18=22
Exploring Operation: 4+91=95, Resulting Numbers: [18, 95]
Generated Node #0,0,2: 93:[18, 95] Operation: 4+91=95
Exploring Operation: 18+91=109, Resulting Numbers: [4, 109]
Generated Node #0,0,3: 93:[4, 109] Operation: 18+91=109
Exploring Operation: 91-4=87, Resulting Numbers: [18, 87]
Generated Node #0,0,4: 93:[18, 87] Operation: 91-4=87
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 93:[91, 22], Operations: ['14+77=91', '4+18=22']
Exploring Operation: 91+22=113, Resulting Numbers: [113]
113,93 unequal: No Solution
Exploring Operation: 91-22=69, Resulting Numbers: [69]
69,93 unequal: No Solution
Exploring Operation: 91*22=2002, Resulting Numbers: [2002]
2002,93 unequal: No Solution
No 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: 93:[91, 14], Operations: ['14+77=91', '18-4=14']
Exploring Operation: 91-14=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Exploring Operation: 91*14=1274, Resulting Numbers: [1274]
1274,93 unequal: No Solution
Exploring Operation: 91+14=105, Resulting Numbers: [105]
105,93 unequal: No Solution
No 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: 93:[18, 95], Operations: ['14+77=91', '4+91=95']
Exploring Operation: 18+95=113, Resulting Numbers: [113]
113,93 unequal: No Solution
Exploring Operation: 95-18=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Exploring Operation: 18*95=1710, Resulting Numbers: [1710]
1710,93 unequal: No Solution
No 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: 93:[4, 109], Operations: ['14+77=91', '18+91=109']
Exploring Operation: 4+109=113, Resulting Numbers: [113]
113,93 unequal: No Solution
Exploring Operation: 109-4=105, Resulting Numbers: [105]
105,93 unequal: No Solution
Exploring Operation: 4*109=436, Resulting Numbers: [436]
436,93 unequal: No Solution
No 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: 93:[18, 87], Operations: ['14+77=91', '91-4=87']
Exploring Operation: 18+87=105, Resulting Numbers: [105]
105,93 unequal: No Solution
Exploring Operation: 87-18=69, Resulting Numbers: [69]
69,93 unequal: No Solution
Exploring Operation: 18*87=1566, Resulting Numbers: [1566]
1566,93 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: 93:[77, 4, 32], Operations: ['14+18=32']
Exploring Operation: 77+32=109, Resulting Numbers: [4, 109]
Generated Node #0,1,0: 93:[4, 109] Operation: 77+32=109
Exploring Operation: 77-32=45, Resulting Numbers: [4, 45]
Generated Node #0,1,1: 93:[4, 45] Operation: 77-32=45
Exploring Operation: 77+4=81, Resulting Numbers: [32, 81]
Generated Node #0,1,2: 93:[32, 81] Operation: 77+4=81
Exploring Operation: 32-4=28, Resulting Numbers: [77, 28]
Generated Node #0,1,3: 93:[77, 28] Operation: 32-4=28
Exploring Operation: 77-4=73, Resulting Numbers: [32, 73]
Generated Node #0,1,4: 93:[32, 73] Operation: 77-4=73
Moving to Node #0,1,2
Current State: 93:[32, 81], Operations: ['14+18=32', '77+4=81']
Exploring Operation: 32+81=113, Resulting Numbers: [113]
113,93 unequal: No Solution
Exploring Operation: 32*81=2592, Resulting Numbers: [2592]
2592,93 unequal: No Solution
Exploring Operation: 81-32=49, Resulting Numbers: [49]
49,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[4, 45], Operations: ['14+18=32', '77-32=45']
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,93 unequal: No Solution
Exploring Operation: 4*45=180, Resulting Numbers: [180]
180,93 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[4, 109], Operations: ['14+18=32', '77+32=109']
Exploring Operation: 4*109=436, Resulting Numbers: [436]
436,93 unequal: No Solution
Exploring Operation: 109-4=105, Resulting Numbers: [105]
105,93 unequal: No Solution
Exploring Operation: 4+109=113, Resulting Numbers: [113]
113,93 unequal: No Solution
Moving to Node #0,1,3
Current State: 93:[77, 28], Operations: ['14+18=32', '32-4=28']
Exploring Operation: 77-28=49, Resulting Numbers: [49]
49,93 unequal: No Solution
Exploring Operation: 77*28=2156, Resulting Numbers: [2156]
2156,93 unequal: No Solution
Exploring Operation: 77+28=105, Resulting Numbers: [105]
105,93 unequal: No Solution
Moving to Node #0,1,4
Current State: 93:[32, 73], Operations: ['14+18=32', '77-4=73']
Exploring Operation: 32+73=105, Resulting Numbers: [105]
105,93 unequal: No Solution
Exploring Operation: 32*73=2336, Resulting Numbers: [2336]
2336,93 unequal: No Solution
Exploring Operation: 73-32=41, Resulting Numbers: [41]
41,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 93:[77, 4, 4], Operations: ['18-14=4']
Exploring Operation: 77+4=81, Resulting Numbers: [4, 81]
Generated Node #0,3,0: 93:[4, 81] Operation: 77+4=81
Exploring Operation: 4-4=0, Resulting Numbers: [77, 0]
Generated Node #0,3,1: 93:[77, 0] Operation: 4-4=0
Exploring Operation: 4/4=1, Resulting Numbers: [77, 1]
Generated Node #0,3,2: 93:[77, 1] Operation: 4/4=1
Exploring Operation: 77+4=81, Resulting Numbers: [4, 81]
Generated Node #0,3,3: 93:[4, 81] Operation: 77+4=81
Exploring Operation: 77-4=73, Resulting Numbers: [4, 73]
Generated Node #0,3,4: 93:[4, 73] Operation: 77-4=73
Moving to Node #0,3,0
Current State: 93:[4, 81], Operations: ['18-14=4', '77+4=81']
Exploring Operation: 4+81=85, Resulting Numbers: [85]
85,93 unequal: No Solution
Exploring Operation: 4*81=324, Resulting Numbers: [324]
324,93 unequal: No Solution
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Moving to Node #0,3,3
Current State: 93:[4, 81], Operations: ['18-14=4', '77+4=81']
Exploring Operation: 4*81=324, Resulting Numbers: [324]
324,93 unequal: No Solution
Exploring Operation: 4+81=85, Resulting Numbers: [85]
85,93 unequal: No Solution
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Moving to Node #0,3,2
Current State: 93:[77, 1], Operations: ['18-14=4', '4/4=1']
Exploring Operation: 77*1=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Exploring Operation: 77/1=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Exploring Operation: 77+1=78, Resulting Numbers: [78]
78,93 unequal: No Solution
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,93 unequal: No Solution
Moving to Node #0,3,1
Current State: 93:[77, 0], Operations: ['18-14=4', '4-4=0']
Exploring Operation: 77+0=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Exploring Operation: 77-0=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Exploring Operation: 77*0=0, Resulting Numbers: [0]
0,93 unequal: No Solution
Moving to Node #0,3,4
Current State: 93:[4, 73], Operations: ['18-14=4', '77-4=73']
Exploring Operation: 4+73=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,93 unequal: No Solution
Exploring Operation: 4*73=292, Resulting Numbers: [292]
292,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
Current State: 93:[77, 18, 10], Operations: ['14-4=10']
Exploring Operation: 18-10=8, Resulting Numbers: [77, 8]
Generated Node #0,2,0: 93:[77, 8] Operation: 18-10=8
Exploring Operation: 77+10=87, Resulting Numbers: [18, 87]
Generated Node #0,2,1: 93:[18, 87] Operation: 77+10=87
Exploring Operation: 18+10=28, Resulting Numbers: [77, 28]
Generated Node #0,2,2: 93:[77, 28] Operation: 18+10=28
Exploring Operation: 77+18=95, Resulting Numbers: [10, 95]
Generated Node #0,2,3: 93:[10, 95] Operation: 77+18=95
Exploring Operation: 77-18=59, Resulting Numbers: [10, 59]
Generated Node #0,2,4: 93:[10, 59] Operation: 77-18=59
Moving to Node #0,2,3
Current State: 93:[10, 95], Operations: ['14-4=10', '77+18=95']
Exploring Operation: 10+95=105, Resulting Numbers: [105]
105,93 unequal: No Solution
Exploring Operation: 95-10=85, Resulting Numbers: [85]
85,93 unequal: No Solution
Exploring Operation: 10*95=950, Resulting Numbers: [950]
950,93 unequal: No Solution
Moving to Node #0,2,2
Current State: 93:[77, 28], Operations: ['14-4=10', '18+10=28']
Exploring Operation: 77*28=2156, Resulting Numbers: [2156]
2156,93 unequal: No Solution
Exploring Operation: 77-28=49, Resulting Numbers: [49]
49,93 unequal: No Solution
Exploring Operation: 77+28=105, Resulting Numbers: [105]
105,93 unequal: No Solution
Moving to Node #0,2,1
Current State: 93:[18, 87], Operations: ['14-4=10', '77+10=87']
Exploring Operation: 87-18=69, Resulting Numbers: [69]
69,93 unequal: No Solution
Exploring Operation: 18*87=1566, Resulting Numbers: [1566]
1566,93 unequal: No Solution
Exploring Operation: 18+87=105, Resulting Numbers: [105]
105,93 unequal: No Solution
Moving to Node #0,2,0
Current State: 93:[77, 8], Operations: ['14-4=10', '18-10=8']
Exploring Operation: 77*8=616, Resulting Numbers: [616]
616,93 unequal: No Solution
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,93 unequal: No Solution
Exploring Operation: 77+8=85, Resulting Numbers: [85]
85,93 unequal: No Solution
Moving to Node #0,2,4
Current State: 93:[10, 59], Operations: ['14-4=10', '77-18=59']
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,93 unequal: No Solution
Exploring Operation: 10*59=590, Resulting Numbers: [590]
590,93 unequal: No Solution
Exploring Operation: 10+59=69, Resulting Numbers: [69]
69,93 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 |
[
71,
41,
66,
10
] | 86 | [
"71-41=30",
"66-10=56",
"30+56=86"
] | Current State: 86:[71, 41, 66, 10], Operations: []
Exploring Operation: 71-41=30, Resulting Numbers: [66, 10, 30]
Generated Node #2: [66, 10, 30] from Operation: 71-41=30
Current State: 86:[66, 10, 30], Operations: ['71-41=30']
Exploring Operation: 66-10=56, Resulting Numbers: [30, 56]
Generated Node #3: [30, 56] from Operation: 66-10=56
Current State: 86:[30, 56], Operations: ['71-41=30', '66-10=56']
Exploring Operation: 30+56=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[71, 41, 66, 10], Operations: []
Exploring Operation: 66-10=56, Resulting Numbers: [71, 41, 56]
Generated Node #0,0: 86:[71, 41, 56] Operation: 66-10=56
Exploring Operation: 71-66=5, Resulting Numbers: [41, 10, 5]
Generated Node #0,1: 86:[41, 10, 5] Operation: 71-66=5
Exploring Operation: 66+10=76, Resulting Numbers: [71, 41, 76]
Generated Node #0,2: 86:[71, 41, 76] Operation: 66+10=76
Exploring Operation: 71+10=81, Resulting Numbers: [41, 66, 81]
Generated Node #0,3: 86:[41, 66, 81] Operation: 71+10=81
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[41, 10, 5], Operations: ['71-66=5']
Exploring Operation: 10*5=50, Resulting Numbers: [41, 50]
Generated Node #0,1,0: 86:[41, 50] Operation: 10*5=50
Exploring Operation: 10-5=5, Resulting Numbers: [41, 5]
Generated Node #0,1,1: 86:[41, 5] Operation: 10-5=5
Exploring Operation: 41+10=51, Resulting Numbers: [5, 51]
Generated Node #0,1,2: 86:[5, 51] Operation: 41+10=51
Exploring Operation: 10/5=2, Resulting Numbers: [41, 2]
Generated Node #0,1,3: 86:[41, 2] Operation: 10/5=2
Moving to Node #0,1,3
Current State: 86:[41, 2], Operations: ['71-66=5', '10/5=2']
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,86 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[41, 5], Operations: ['71-66=5', '10-5=5']
Exploring Operation: 41*5=205, Resulting Numbers: [205]
205,86 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[41, 50], Operations: ['71-66=5', '10*5=50']
Exploring Operation: 41*50=2050, Resulting Numbers: [2050]
2050,86 unequal: No Solution
Exploring Operation: 50-41=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 41+50=91, Resulting Numbers: [91]
91,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[5, 51], Operations: ['71-66=5', '41+10=51']
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Exploring Operation: 5*51=255, Resulting Numbers: [255]
255,86 unequal: No Solution
Exploring Operation: 5+51=56, Resulting Numbers: [56]
56,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
Current State: 86:[71, 41, 76], Operations: ['66+10=76']
Exploring Operation: 76-71=5, Resulting Numbers: [41, 5]
Generated Node #0,2,0: 86:[41, 5] Operation: 76-71=5
Exploring Operation: 76-41=35, Resulting Numbers: [71, 35]
Generated Node #0,2,1: 86:[71, 35] Operation: 76-41=35
Exploring Operation: 71+41=112, Resulting Numbers: [76, 112]
Generated Node #0,2,2: 86:[76, 112] Operation: 71+41=112
Exploring Operation: 71-41=30, Resulting Numbers: [76, 30]
Generated Node #0,2,3: 86:[76, 30] Operation: 71-41=30
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 86:[41, 5], Operations: ['66+10=76', '76-71=5']
Exploring Operation: 41*5=205, Resulting Numbers: [205]
205,86 unequal: No Solution
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 86:[71, 35], Operations: ['66+10=76', '76-41=35']
Exploring Operation: 71*35=2485, Resulting Numbers: [2485]
2485,86 unequal: No Solution
Exploring Operation: 71-35=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Exploring Operation: 71+35=106, Resulting Numbers: [106]
106,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 86:[76, 30], Operations: ['66+10=76', '71-41=30']
Exploring Operation: 76+30=106, Resulting Numbers: [106]
106,86 unequal: No Solution
Exploring Operation: 76-30=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Exploring Operation: 76*30=2280, Resulting Numbers: [2280]
2280,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 86:[76, 112], Operations: ['66+10=76', '71+41=112']
Exploring Operation: 112-76=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Exploring Operation: 76+112=188, Resulting Numbers: [188]
188,86 unequal: No Solution
Exploring Operation: 76*112=8512, Resulting Numbers: [8512]
8512,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[41, 66, 81], Operations: ['71+10=81']
Exploring Operation: 41+66=107, Resulting Numbers: [81, 107]
Generated Node #0,3,0: 86:[81, 107] Operation: 41+66=107
Exploring Operation: 81-66=15, Resulting Numbers: [41, 15]
Generated Node #0,3,1: 86:[41, 15] Operation: 81-66=15
Exploring Operation: 81-41=40, Resulting Numbers: [66, 40]
Generated Node #0,3,2: 86:[66, 40] Operation: 81-41=40
Exploring Operation: 66-41=25, Resulting Numbers: [81, 25]
Generated Node #0,3,3: 86:[81, 25] Operation: 66-41=25
Moving to Node #0,3,1
Current State: 86:[41, 15], Operations: ['71+10=81', '81-66=15']
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,86 unequal: No Solution
Exploring Operation: 41+15=56, Resulting Numbers: [56]
56,86 unequal: No Solution
Exploring Operation: 41*15=615, Resulting Numbers: [615]
615,86 unequal: No Solution
Moving to Node #0,3,3
Current State: 86:[81, 25], Operations: ['71+10=81', '66-41=25']
Exploring Operation: 81+25=106, Resulting Numbers: [106]
106,86 unequal: No Solution
Exploring Operation: 81*25=2025, Resulting Numbers: [2025]
2025,86 unequal: No Solution
Exploring Operation: 81-25=56, Resulting Numbers: [56]
56,86 unequal: No Solution
Moving to Node #0,3,2
Current State: 86:[66, 40], Operations: ['71+10=81', '81-41=40']
Exploring Operation: 66-40=26, Resulting Numbers: [26]
26,86 unequal: No Solution
Exploring Operation: 66*40=2640, Resulting Numbers: [2640]
2640,86 unequal: No Solution
Exploring Operation: 66+40=106, Resulting Numbers: [106]
106,86 unequal: No Solution
Moving to Node #0,3,0
Current State: 86:[81, 107], Operations: ['71+10=81', '41+66=107']
Exploring Operation: 81*107=8667, Resulting Numbers: [8667]
8667,86 unequal: No Solution
Exploring Operation: 107-81=26, Resulting Numbers: [26]
26,86 unequal: No Solution
Exploring Operation: 81+107=188, Resulting Numbers: [188]
188,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[71, 41, 56], Operations: ['66-10=56']
Exploring Operation: 71-56=15, Resulting Numbers: [41, 15]
Generated Node #0,0,0: 86:[41, 15] Operation: 71-56=15
Exploring Operation: 71-41=30, Resulting Numbers: [56, 30]
Generated Node #0,0,1: 86:[56, 30] Operation: 71-41=30
Exploring Operation: 56-41=15, Resulting Numbers: [71, 15]
Generated Node #0,0,2: 86:[71, 15] Operation: 56-41=15
Exploring Operation: 41+56=97, Resulting Numbers: [71, 97]
Generated Node #0,0,3: 86:[71, 97] Operation: 41+56=97
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[41, 15], Operations: ['66-10=56', '71-56=15']
Exploring Operation: 41+15=56, Resulting Numbers: [56]
56,86 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,86 unequal: No Solution
Exploring Operation: 41*15=615, Resulting Numbers: [615]
615,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 86:[56, 30], Operations: ['66-10=56', '71-41=30']
Exploring Operation: 56*30=1680, Resulting Numbers: [1680]
1680,86 unequal: No Solution
Exploring Operation: 56+30=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[71, 41, 66, 10], Operations: []
Exploring Operation: 66-10=56, Resulting Numbers: [71, 41, 56]
Generated Node #0,0: 86:[71, 41, 56] Operation: 66-10=56
Moving to Node #0,0
Current State: 86:[71, 41, 56], Operations: ['66-10=56']
Exploring Operation: 71-41=30, Resulting Numbers: [56, 30]
Generated Node #0,0,1: 86:[56, 30] Operation: 71-41=30
Moving to Node #0,0,1
Current State: 86:[56, 30], Operations: ['66-10=56', '71-41=30']
Exploring Operation: 56+30=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.943576 | hs_4 | sum_heuristic |
[
19,
45,
66,
96
] | 34 | [
"19+45=64",
"96-66=30",
"64-30=34"
] | Current State: 34:[19, 45, 66, 96], Operations: []
Exploring Operation: 19+45=64, Resulting Numbers: [66, 96, 64]
Generated Node #2: [66, 96, 64] from Operation: 19+45=64
Current State: 34:[66, 96, 64], Operations: ['19+45=64']
Exploring Operation: 96-66=30, Resulting Numbers: [64, 30]
Generated Node #3: [64, 30] from Operation: 96-66=30
Current State: 34:[64, 30], Operations: ['19+45=64', '96-66=30']
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[19, 45, 66, 96], Operations: []
Exploring Operation: 96-66=30, Resulting Numbers: [19, 45, 30]
Generated Node #0,0: 34:[19, 45, 30] Operation: 96-66=30
Exploring Operation: 96-45=51, Resulting Numbers: [19, 66, 51]
Generated Node #0,1: 34:[19, 66, 51] Operation: 96-45=51
Moving to Node #0,0
Current State: 34:[19, 45, 30], Operations: ['96-66=30']
Exploring Operation: 45-19=26, Resulting Numbers: [30, 26]
Generated Node #0,0,0: 34:[30, 26] Operation: 45-19=26
Exploring Operation: 45-30=15, Resulting Numbers: [19, 15]
Generated Node #0,0,1: 34:[19, 15] Operation: 45-30=15
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 34:[19, 15], Operations: ['96-66=30', '45-30=15']
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[19, 45, 66, 96], Operations: []
Exploring Operation: 96-66=30, Resulting Numbers: [19, 45, 30]
Generated Node #0,0: 34:[19, 45, 30] Operation: 96-66=30
Moving to Node #0,0
Current State: 34:[19, 45, 30], Operations: ['96-66=30']
Exploring Operation: 45-30=15, Resulting Numbers: [19, 15]
Generated Node #0,0,1: 34:[19, 15] Operation: 45-30=15
Moving to Node #0,0,1
Current State: 34:[19, 15], Operations: ['96-66=30', '45-30=15']
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
43,
31,
24,
11
] | 24 | [
"43-31=12",
"12-11=1",
"24*1=24"
] | Current State: 24:[43, 31, 24, 11], Operations: []
Exploring Operation: 43-31=12, Resulting Numbers: [24, 11, 12]
Generated Node #2: [24, 11, 12] from Operation: 43-31=12
Current State: 24:[24, 11, 12], Operations: ['43-31=12']
Exploring Operation: 12-11=1, Resulting Numbers: [24, 1]
Generated Node #3: [24, 1] from Operation: 12-11=1
Current State: 24:[24, 1], Operations: ['43-31=12', '12-11=1']
Exploring Operation: 24*1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[43, 31, 24, 11], Operations: []
Exploring Operation: 43-31=12, Resulting Numbers: [24, 11, 12]
Generated Node #0,0: 24:[24, 11, 12] Operation: 43-31=12
Exploring Operation: 43-24=19, Resulting Numbers: [31, 11, 19]
Generated Node #0,1: 24:[31, 11, 19] Operation: 43-24=19
Exploring Operation: 43-11=32, Resulting Numbers: [31, 24, 32]
Generated Node #0,2: 24:[31, 24, 32] Operation: 43-11=32
Moving to Node #0,0
Current State: 24:[24, 11, 12], Operations: ['43-31=12']
Exploring Operation: 24/12=2, Resulting Numbers: [11, 2]
Generated Node #0,0,0: 24:[11, 2] Operation: 24/12=2
Exploring Operation: 24-12=12, Resulting Numbers: [11, 12]
Generated Node #0,0,1: 24:[11, 12] Operation: 24-12=12
Exploring Operation: 24-11=13, Resulting Numbers: [12, 13]
Generated Node #0,0,2: 24:[12, 13] Operation: 24-11=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[11, 2], Operations: ['43-31=12', '24/12=2']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,24 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[11, 12], Operations: ['43-31=12', '24-12=12']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,24 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 24:[12, 13], Operations: ['43-31=12', '24-11=13']
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 12*13=156, Resulting Numbers: [156]
156,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 24:[31, 11, 19], Operations: ['43-24=19']
Exploring Operation: 31-19=12, Resulting Numbers: [11, 12]
Generated Node #0,1,0: 24:[11, 12] Operation: 31-19=12
Exploring Operation: 31-11=20, Resulting Numbers: [19, 20]
Generated Node #0,1,1: 24:[19, 20] Operation: 31-11=20
Exploring Operation: 19-11=8, Resulting Numbers: [31, 8]
Generated Node #0,1,2: 24:[31, 8] Operation: 19-11=8
Moving to Node #0,2
Current State: 24:[31, 24, 32], Operations: ['43-11=32']
Exploring Operation: 32-24=8, Resulting Numbers: [31, 8]
Generated Node #0,2,0: 24:[31, 8] Operation: 32-24=8
Exploring Operation: 31-24=7, Resulting Numbers: [32, 7]
Generated Node #0,2,1: 24:[32, 7] Operation: 31-24=7
Exploring Operation: 32-31=1, Resulting Numbers: [24, 1]
Generated Node #0,2,2: 24:[24, 1] Operation: 32-31=1
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 24:[24, 1], Operations: ['43-11=32', '32-31=1']
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[43, 31, 24, 11], Operations: []
Exploring Operation: 43-11=32, Resulting Numbers: [31, 24, 32]
Generated Node #0,2: 24:[31, 24, 32] Operation: 43-11=32
Moving to Node #0,2
Current State: 24:[31, 24, 32], Operations: ['43-11=32']
Exploring Operation: 32-31=1, Resulting Numbers: [24, 1]
Generated Node #0,2,2: 24:[24, 1] Operation: 32-31=1
Moving to Node #0,2,2
Current State: 24:[24, 1], Operations: ['43-11=32', '32-31=1']
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | mult_heuristic |
[
51,
15,
87,
68
] | 47 | [
"51+15=66",
"87-68=19",
"66-19=47"
] | Current State: 47:[51, 15, 87, 68], Operations: []
Exploring Operation: 51+15=66, Resulting Numbers: [87, 68, 66]
Generated Node #2: [87, 68, 66] from Operation: 51+15=66
Current State: 47:[87, 68, 66], Operations: ['51+15=66']
Exploring Operation: 87-68=19, Resulting Numbers: [66, 19]
Generated Node #3: [66, 19] from Operation: 87-68=19
Current State: 47:[66, 19], Operations: ['51+15=66', '87-68=19']
Exploring Operation: 66-19=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[51, 15, 87, 68], Operations: []
Exploring Operation: 87-15=72, Resulting Numbers: [51, 68, 72]
Generated Node #0,0: 47:[51, 68, 72] Operation: 87-15=72
Moving to Node #0,0
Current State: 47:[51, 68, 72], Operations: ['87-15=72']
Exploring Operation: 72-51=21, Resulting Numbers: [68, 21]
Generated Node #0,0,0: 47:[68, 21] Operation: 72-51=21
Moving to Node #0,0,0
Current State: 47:[68, 21], Operations: ['87-15=72', '72-51=21']
Exploring Operation: 68-21=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[51, 15, 87, 68], Operations: []
Exploring Operation: 87-15=72, Resulting Numbers: [51, 68, 72]
Generated Node #0,0: 47:[51, 68, 72] Operation: 87-15=72
Moving to Node #0,0
Current State: 47:[51, 68, 72], Operations: ['87-15=72']
Exploring Operation: 72-51=21, Resulting Numbers: [68, 21]
Generated Node #0,0,0: 47:[68, 21] Operation: 72-51=21
Moving to Node #0,0,0
Current State: 47:[68, 21], Operations: ['87-15=72', '72-51=21']
Exploring Operation: 68-21=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
27,
15,
33,
24
] | 35 | [
"27-15=12",
"24/12=2",
"33+2=35"
] | Current State: 35:[27, 15, 33, 24], Operations: []
Exploring Operation: 27-15=12, Resulting Numbers: [33, 24, 12]
Generated Node #2: [33, 24, 12] from Operation: 27-15=12
Current State: 35:[33, 24, 12], Operations: ['27-15=12']
Exploring Operation: 24/12=2, Resulting Numbers: [33, 2]
Generated Node #3: [33, 2] from Operation: 24/12=2
Current State: 35:[33, 2], Operations: ['27-15=12', '24/12=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[27, 15, 33, 24], Operations: []
Exploring Operation: 33-24=9, Resulting Numbers: [27, 15, 9]
Generated Node #0,0: 35:[27, 15, 9] Operation: 33-24=9
Exploring Operation: 27-15=12, Resulting Numbers: [33, 24, 12]
Generated Node #0,1: 35:[33, 24, 12] Operation: 27-15=12
Exploring Operation: 15+24=39, Resulting Numbers: [27, 33, 39]
Generated Node #0,2: 35:[27, 33, 39] Operation: 15+24=39
Exploring Operation: 27-24=3, Resulting Numbers: [15, 33, 3]
Generated Node #0,3: 35:[15, 33, 3] Operation: 27-24=3
Exploring Operation: 24-15=9, Resulting Numbers: [27, 33, 9]
Generated Node #0,4: 35:[27, 33, 9] Operation: 24-15=9
Moving to Node #0,3
Current State: 35:[15, 33, 3], Operations: ['27-24=3']
Exploring Operation: 33/3=11, Resulting Numbers: [15, 11]
Generated Node #0,3,0: 35:[15, 11] Operation: 33/3=11
Exploring Operation: 15-3=12, Resulting Numbers: [33, 12]
Generated Node #0,3,1: 35:[33, 12] Operation: 15-3=12
Exploring Operation: 33+3=36, Resulting Numbers: [15, 36]
Generated Node #0,3,2: 35:[15, 36] Operation: 33+3=36
Exploring Operation: 15*3=45, Resulting Numbers: [33, 45]
Generated Node #0,3,3: 35:[33, 45] Operation: 15*3=45
Exploring Operation: 15/3=5, Resulting Numbers: [33, 5]
Generated Node #0,3,4: 35:[33, 5] Operation: 15/3=5
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 35:[33, 5], Operations: ['27-24=3', '15/3=5']
Exploring Operation: 33*5=165, Resulting Numbers: [165]
165,35 unequal: No Solution
Exploring Operation: 33+5=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 35:[33, 12], Operations: ['27-24=3', '15-3=12']
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,35 unequal: No Solution
Exploring Operation: 33+12=45, Resulting Numbers: [45]
45,35 unequal: No Solution
Exploring Operation: 33*12=396, Resulting Numbers: [396]
396,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 35:[15, 36], Operations: ['27-24=3', '33+3=36']
Exploring Operation: 15+36=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,35 unequal: No Solution
Exploring Operation: 15*36=540, Resulting Numbers: [540]
540,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 35:[15, 11], Operations: ['27-24=3', '33/3=11']
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,35 unequal: No Solution
Exploring Operation: 15*11=165, Resulting Numbers: [165]
165,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 35:[33, 45], Operations: ['27-24=3', '15*3=45']
Exploring Operation: 45-33=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Exploring Operation: 33+45=78, Resulting Numbers: [78]
78,35 unequal: No Solution
Exploring Operation: 33*45=1485, Resulting Numbers: [1485]
1485,35 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: 35:[27, 33, 9], Operations: ['24-15=9']
Exploring Operation: 27+9=36, Resulting Numbers: [33, 36]
Generated Node #0,4,0: 35:[33, 36] Operation: 27+9=36
Exploring Operation: 33-27=6, Resulting Numbers: [9, 6]
Generated Node #0,4,1: 35:[9, 6] Operation: 33-27=6
Exploring Operation: 27-9=18, Resulting Numbers: [33, 18]
Generated Node #0,4,2: 35:[33, 18] Operation: 27-9=18
Exploring Operation: 27/9=3, Resulting Numbers: [33, 3]
Generated Node #0,4,3: 35:[33, 3] Operation: 27/9=3
Exploring Operation: 33+9=42, Resulting Numbers: [27, 42]
Generated Node #0,4,4: 35:[27, 42] Operation: 33+9=42
Moving to Node #0,2
Current State: 35:[27, 33, 39], Operations: ['15+24=39']
Exploring Operation: 39-27=12, Resulting Numbers: [33, 12]
Generated Node #0,2,0: 35:[33, 12] Operation: 39-27=12
Exploring Operation: 39-33=6, Resulting Numbers: [27, 6]
Generated Node #0,2,1: 35:[27, 6] Operation: 39-33=6
Exploring Operation: 27+33=60, Resulting Numbers: [39, 60]
Generated Node #0,2,2: 35:[39, 60] Operation: 27+33=60
Exploring Operation: 27+39=66, Resulting Numbers: [33, 66]
Generated Node #0,2,3: 35:[33, 66] Operation: 27+39=66
Exploring Operation: 33-27=6, Resulting Numbers: [39, 6]
Generated Node #0,2,4: 35:[39, 6] Operation: 33-27=6
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 35:[39, 6], Operations: ['15+24=39', '33-27=6']
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,35 unequal: No Solution
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,35 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 35:[33, 12], Operations: ['15+24=39', '39-27=12']
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,35 unequal: No Solution
Exploring Operation: 33+12=45, Resulting Numbers: [45]
45,35 unequal: No Solution
Exploring Operation: 33*12=396, Resulting Numbers: [396]
396,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 35:[27, 6], Operations: ['15+24=39', '39-33=6']
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,35 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,35 unequal: No Solution
Exploring Operation: 27*6=162, Resulting Numbers: [162]
162,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 35:[39, 60], Operations: ['15+24=39', '27+33=60']
Exploring Operation: 60-39=21, Resulting Numbers: [21]
21,35 unequal: No Solution
Exploring Operation: 39+60=99, Resulting Numbers: [99]
99,35 unequal: No Solution
Exploring Operation: 39*60=2340, Resulting Numbers: [2340]
2340,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 35:[33, 66], Operations: ['15+24=39', '27+39=66']
Exploring Operation: 33*66=2178, Resulting Numbers: [2178]
2178,35 unequal: No Solution
Exploring Operation: 66-33=33, Resulting Numbers: [33]
33,35 unequal: No Solution
Exploring Operation: 66/33=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 33+66=99, Resulting Numbers: [99]
99,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 35:[27, 15, 9], Operations: ['33-24=9']
Exploring Operation: 27+9=36, Resulting Numbers: [15, 36]
Generated Node #0,0,0: 35:[15, 36] Operation: 27+9=36
Exploring Operation: 15-9=6, Resulting Numbers: [27, 6]
Generated Node #0,0,1: 35:[27, 6] Operation: 15-9=6
Exploring Operation: 27/9=3, Resulting Numbers: [15, 3]
Generated Node #0,0,2: 35:[15, 3] Operation: 27/9=3
Exploring Operation: 27+15=42, Resulting Numbers: [9, 42]
Generated Node #0,0,3: 35:[9, 42] Operation: 27+15=42
Exploring Operation: 27-15=12, Resulting Numbers: [9, 12]
Generated Node #0,0,4: 35:[9, 12] Operation: 27-15=12
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 35:[9, 12], Operations: ['33-24=9', '27-15=12']
Exploring Operation: 9*12=108, Resulting Numbers: [108]
108,35 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[15, 36], Operations: ['33-24=9', '27+9=36']
Exploring Operation: 15*36=540, Resulting Numbers: [540]
540,35 unequal: No Solution
Exploring Operation: 15+36=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[27, 6], Operations: ['33-24=9', '15-9=6']
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,35 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,35 unequal: No Solution
Exploring Operation: 27*6=162, Resulting Numbers: [162]
162,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 35:[9, 42], Operations: ['33-24=9', '27+15=42']
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,35 unequal: No Solution
Exploring Operation: 9*42=378, Resulting Numbers: [378]
378,35 unequal: No Solution
Exploring Operation: 9+42=51, Resulting Numbers: [51]
51,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[15, 3], Operations: ['33-24=9', '27/9=3']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,35 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,35 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: 35:[33, 24, 12], Operations: ['27-15=12']
Exploring Operation: 24+12=36, Resulting Numbers: [33, 36]
Generated Node #0,1,0: 35:[33, 36] Operation: 24+12=36
Exploring Operation: 33+12=45, Resulting Numbers: [24, 45]
Generated Node #0,1,1: 35:[24, 45] Operation: 33+12=45
Exploring Operation: 24-12=12, Resulting Numbers: [33, 12]
Generated Node #0,1,2: 35:[33, 12] Operation: 24-12=12
Exploring Operation: 24/12=2, Resulting Numbers: [33, 2]
Generated Node #0,1,3: 35:[33, 2] Operation: 24/12=2
Exploring Operation: 33-24=9, Resulting Numbers: [12, 9]
Generated Node #0,1,4: 35:[12, 9] Operation: 33-24=9
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[33, 36], Operations: ['27-15=12', '24+12=36']
Exploring Operation: 33+36=69, Resulting Numbers: [69]
69,35 unequal: No Solution
Exploring Operation: 33*36=1188, Resulting Numbers: [1188]
1188,35 unequal: No Solution
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 35:[33, 2], Operations: ['27-15=12', '24/12=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[27, 15, 33, 24], Operations: []
Exploring Operation: 27-15=12, Resulting Numbers: [33, 24, 12]
Generated Node #0,1: 35:[33, 24, 12] Operation: 27-15=12
Moving to Node #0,1
Current State: 35:[33, 24, 12], Operations: ['27-15=12']
Exploring Operation: 24/12=2, Resulting Numbers: [33, 2]
Generated Node #0,1,3: 35:[33, 2] Operation: 24/12=2
Moving to Node #0,1,3
Current State: 35:[33, 2], Operations: ['27-15=12', '24/12=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.926215 | hs_5 | mult_heuristic |
[
98,
64,
18,
14
] | 49 | [
"18+14=32",
"98*32=3136",
"3136/64=49"
] | Current State: 49:[98, 64, 18, 14], Operations: []
Exploring Operation: 18+14=32, Resulting Numbers: [98, 64, 32]
Generated Node #2: [98, 64, 32] from Operation: 18+14=32
Current State: 49:[98, 64, 32], Operations: ['18+14=32']
Exploring Operation: 98*32=3136, Resulting Numbers: [64, 3136]
Generated Node #3: [64, 3136] from Operation: 98*32=3136
Current State: 49:[64, 3136], Operations: ['18+14=32', '98*32=3136']
Exploring Operation: 3136/64=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[98, 64, 18, 14], Operations: []
Exploring Operation: 98/14=7, Resulting Numbers: [64, 18, 7]
Generated Node #0,0: 49:[64, 18, 7] Operation: 98/14=7
Moving to Node #0,0
Current State: 49:[64, 18, 7], Operations: ['98/14=7']
Exploring Operation: 64-18=46, Resulting Numbers: [7, 46]
Generated Node #0,0,0: 49:[7, 46] Operation: 64-18=46
Moving to Node #0,0,0
Current State: 49:[7, 46], Operations: ['98/14=7', '64-18=46']
Exploring Operation: 7+46=53, Resulting Numbers: [53]
53,49 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
2,
34,
22,
35
] | 74 | [
"34/2=17",
"22+35=57",
"17+57=74"
] | Current State: 74:[2, 34, 22, 35], Operations: []
Exploring Operation: 34/2=17, Resulting Numbers: [22, 35, 17]
Generated Node #2: [22, 35, 17] from Operation: 34/2=17
Current State: 74:[22, 35, 17], Operations: ['34/2=17']
Exploring Operation: 22+35=57, Resulting Numbers: [17, 57]
Generated Node #3: [17, 57] from Operation: 22+35=57
Current State: 74:[17, 57], Operations: ['34/2=17', '22+35=57']
Exploring Operation: 17+57=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[2, 34, 22, 35], Operations: []
Exploring Operation: 2*22=44, Resulting Numbers: [34, 35, 44]
Generated Node #0,0: 74:[34, 35, 44] Operation: 2*22=44
Exploring Operation: 34-22=12, Resulting Numbers: [2, 35, 12]
Generated Node #0,1: 74:[2, 35, 12] Operation: 34-22=12
Exploring Operation: 22/2=11, Resulting Numbers: [34, 35, 11]
Generated Node #0,2: 74:[34, 35, 11] Operation: 22/2=11
Exploring Operation: 35-22=13, Resulting Numbers: [2, 34, 13]
Generated Node #0,3: 74:[2, 34, 13] Operation: 35-22=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[34, 35, 44], Operations: ['2*22=44']
Exploring Operation: 44-34=10, Resulting Numbers: [35, 10]
Generated Node #0,0,0: 74:[35, 10] Operation: 44-34=10
Exploring Operation: 35-34=1, Resulting Numbers: [44, 1]
Generated Node #0,0,1: 74:[44, 1] Operation: 35-34=1
Exploring Operation: 34+44=78, Resulting Numbers: [35, 78]
Generated Node #0,0,2: 74:[35, 78] Operation: 34+44=78
Exploring Operation: 35+44=79, Resulting Numbers: [34, 79]
Generated Node #0,0,3: 74:[34, 79] Operation: 35+44=79
Moving to Node #0,0,2
Current State: 74:[35, 78], Operations: ['2*22=44', '34+44=78']
Exploring Operation: 35+78=113, Resulting Numbers: [113]
113,74 unequal: No Solution
Exploring Operation: 35*78=2730, Resulting Numbers: [2730]
2730,74 unequal: No Solution
Exploring Operation: 78-35=43, Resulting Numbers: [43]
43,74 unequal: No Solution
Moving to Node #0,0,3
Current State: 74:[34, 79], Operations: ['2*22=44', '35+44=79']
Exploring Operation: 34+79=113, Resulting Numbers: [113]
113,74 unequal: No Solution
Exploring Operation: 34*79=2686, Resulting Numbers: [2686]
2686,74 unequal: No Solution
Exploring Operation: 79-34=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[44, 1], Operations: ['2*22=44', '35-34=1']
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,74 unequal: No Solution
Exploring Operation: 44+1=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[35, 10], Operations: ['2*22=44', '44-34=10']
Exploring Operation: 35+10=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,74 unequal: No Solution
Exploring Operation: 35*10=350, Resulting Numbers: [350]
350,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[2, 35, 12], Operations: ['34-22=12']
Exploring Operation: 2+35=37, Resulting Numbers: [12, 37]
Generated Node #0,1,0: 74:[12, 37] Operation: 2+35=37
Exploring Operation: 12-2=10, Resulting Numbers: [35, 10]
Generated Node #0,1,1: 74:[35, 10] Operation: 12-2=10
Exploring Operation: 35+12=47, Resulting Numbers: [2, 47]
Generated Node #0,1,2: 74:[2, 47] Operation: 35+12=47
Exploring Operation: 12/2=6, Resulting Numbers: [35, 6]
Generated Node #0,1,3: 74:[35, 6] Operation: 12/2=6
Moving to Node #0,1,3
Current State: 74:[35, 6], Operations: ['34-22=12', '12/2=6']
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,74 unequal: No Solution
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,74 unequal: No Solution
Exploring Operation: 35*6=210, Resulting Numbers: [210]
210,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[35, 10], Operations: ['34-22=12', '12-2=10']
Exploring Operation: 35+10=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Exploring Operation: 35*10=350, Resulting Numbers: [350]
350,74 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[12, 37], Operations: ['34-22=12', '2+35=37']
Exploring Operation: 12*37=444, Resulting Numbers: [444]
444,74 unequal: No Solution
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,74 unequal: No Solution
Exploring Operation: 12+37=49, Resulting Numbers: [49]
49,74 unequal: No Solution
Moving to Node #0,1,2
Current State: 74:[2, 47], Operations: ['34-22=12', '35+12=47']
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,74 unequal: No Solution
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,74 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[34, 35, 11], Operations: ['22/2=11']
Exploring Operation: 34+35=69, Resulting Numbers: [11, 69]
Generated Node #0,2,0: 74:[11, 69] Operation: 34+35=69
Exploring Operation: 35+11=46, Resulting Numbers: [34, 46]
Generated Node #0,2,1: 74:[34, 46] Operation: 35+11=46
Exploring Operation: 34+11=45, Resulting Numbers: [35, 45]
Generated Node #0,2,2: 74:[35, 45] Operation: 34+11=45
Exploring Operation: 35-34=1, Resulting Numbers: [11, 1]
Generated Node #0,2,3: 74:[11, 1] Operation: 35-34=1
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 74:[35, 45], Operations: ['22/2=11', '34+11=45']
Exploring Operation: 35+45=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 35*45=1575, Resulting Numbers: [1575]
1575,74 unequal: No Solution
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,74 unequal: No Solution
No 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: 74:[11, 1], Operations: ['22/2=11', '35-34=1']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,74 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,74 unequal: No Solution
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,74 unequal: No Solution
No 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: 74:[34, 46], Operations: ['22/2=11', '35+11=46']
Exploring Operation: 34+46=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 46-34=12, Resulting Numbers: [12]
12,74 unequal: No Solution
Exploring Operation: 34*46=1564, Resulting Numbers: [1564]
1564,74 unequal: No Solution
No 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: 74:[11, 69], Operations: ['22/2=11', '34+35=69']
Exploring Operation: 69-11=58, Resulting Numbers: [58]
58,74 unequal: No Solution
Exploring Operation: 11+69=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 11*69=759, Resulting Numbers: [759]
759,74 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: 74:[2, 34, 13], Operations: ['35-22=13']
Exploring Operation: 34+13=47, Resulting Numbers: [2, 47]
Generated Node #0,3,0: 74:[2, 47] Operation: 34+13=47
Exploring Operation: 13-2=11, Resulting Numbers: [34, 11]
Generated Node #0,3,1: 74:[34, 11] Operation: 13-2=11
Exploring Operation: 2+34=36, Resulting Numbers: [13, 36]
Generated Node #0,3,2: 74:[13, 36] Operation: 2+34=36
Exploring Operation: 2*13=26, Resulting Numbers: [34, 26]
Generated Node #0,3,3: 74:[34, 26] Operation: 2*13=26
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 74:[2, 47], Operations: ['35-22=13', '34+13=47']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,74 unequal: No Solution
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,74 unequal: No Solution
No 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: 74:[34, 11], Operations: ['35-22=13', '13-2=11']
Exploring Operation: 34*11=374, Resulting Numbers: [374]
374,74 unequal: No Solution
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,74 unequal: No Solution
No 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: 74:[13, 36], Operations: ['35-22=13', '2+34=36']
Exploring Operation: 13+36=49, Resulting Numbers: [49]
49,74 unequal: No Solution
Exploring Operation: 13*36=468, Resulting Numbers: [468]
468,74 unequal: No Solution
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,74 unequal: No Solution
No 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: 74:[34, 26], Operations: ['35-22=13', '2*13=26']
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,74 unequal: No Solution
Exploring Operation: 34*26=884, Resulting Numbers: [884]
884,74 unequal: No Solution
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
25,
96,
52,
2
] | 94 | [
"25*2=50",
"96-52=44",
"50+44=94"
] | Current State: 94:[25, 96, 52, 2], Operations: []
Exploring Operation: 25*2=50, Resulting Numbers: [96, 52, 50]
Generated Node #2: [96, 52, 50] from Operation: 25*2=50
Current State: 94:[96, 52, 50], Operations: ['25*2=50']
Exploring Operation: 96-52=44, Resulting Numbers: [50, 44]
Generated Node #3: [50, 44] from Operation: 96-52=44
Current State: 94:[50, 44], Operations: ['25*2=50', '96-52=44']
Exploring Operation: 50+44=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[25, 96, 52, 2], Operations: []
Exploring Operation: 25*2=50, Resulting Numbers: [96, 52, 50]
Generated Node #0,0: 94:[96, 52, 50] Operation: 25*2=50
Exploring Operation: 25+52=77, Resulting Numbers: [96, 2, 77]
Generated Node #0,1: 94:[96, 2, 77] Operation: 25+52=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[96, 52, 50], Operations: ['25*2=50']
Exploring Operation: 52-50=2, Resulting Numbers: [96, 2]
Generated Node #0,0,0: 94:[96, 2] Operation: 52-50=2
Exploring Operation: 96-52=44, Resulting Numbers: [50, 44]
Generated Node #0,0,1: 94:[50, 44] Operation: 96-52=44
Moving to Node #0,0,0
Current State: 94:[96, 2], Operations: ['25*2=50', '52-50=2']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[25, 96, 52, 2], Operations: []
Exploring Operation: 25*2=50, Resulting Numbers: [96, 52, 50]
Generated Node #0,0: 94:[96, 52, 50] Operation: 25*2=50
Moving to Node #0,0
Current State: 94:[96, 52, 50], Operations: ['25*2=50']
Exploring Operation: 52-50=2, Resulting Numbers: [96, 2]
Generated Node #0,0,0: 94:[96, 2] Operation: 52-50=2
Moving to Node #0,0,0
Current State: 94:[96, 2], Operations: ['25*2=50', '52-50=2']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
15,
7,
7,
86
] | 68 | [
"15+7=22",
"7*22=154",
"154-86=68"
] | Current State: 68:[15, 7, 7, 86], Operations: []
Exploring Operation: 15+7=22, Resulting Numbers: [86, 22]
Generated Node #2: [86, 22] from Operation: 15+7=22
Current State: 68:[86, 22], Operations: ['15+7=22']
Exploring Operation: 7*22=154, Resulting Numbers: [86, 154]
Generated Node #3: [86, 154] from Operation: 7*22=154
Current State: 68:[86, 154], Operations: ['15+7=22', '7*22=154']
Exploring Operation: 154-86=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[15, 7, 7, 86], Operations: []
Exploring Operation: 86-15=71, Resulting Numbers: [7, 7, 71]
Generated Node #0,0: 68:[7, 7, 71] Operation: 86-15=71
Exploring Operation: 86-7=79, Resulting Numbers: [15, 7, 79]
Generated Node #0,1: 68:[15, 7, 79] Operation: 86-7=79
Exploring Operation: 7/7=1, Resulting Numbers: [15, 86, 1]
Generated Node #0,2: 68:[15, 86, 1] Operation: 7/7=1
Exploring Operation: 7-7=0, Resulting Numbers: [15, 86, 0]
Generated Node #0,3: 68:[15, 86, 0] Operation: 7-7=0
Exploring Operation: 86-7=79, Resulting Numbers: [15, 7, 79]
Generated Node #0,4: 68:[15, 7, 79] Operation: 86-7=79
Moving to Node #0,0
Current State: 68:[7, 7, 71], Operations: ['86-15=71']
Exploring Operation: 71-7=64, Resulting Numbers: [7, 64]
Generated Node #0,0,0: 68:[7, 64] Operation: 71-7=64
Exploring Operation: 7-7=0, Resulting Numbers: [71, 0]
Generated Node #0,0,1: 68:[71, 0] Operation: 7-7=0
Exploring Operation: 7+7=14, Resulting Numbers: [71, 14]
Generated Node #0,0,2: 68:[71, 14] Operation: 7+7=14
Exploring Operation: 71-7=64, Resulting Numbers: [7, 64]
Generated Node #0,0,3: 68:[7, 64] Operation: 71-7=64
Exploring Operation: 7/7=1, Resulting Numbers: [71, 1]
Generated Node #0,0,4: 68:[71, 1] Operation: 7/7=1
Moving to Node #0,4
Current State: 68:[15, 7, 79], Operations: ['86-7=79']
Exploring Operation: 79-7=72, Resulting Numbers: [15, 72]
Generated Node #0,4,0: 68:[15, 72] Operation: 79-7=72
Exploring Operation: 79-15=64, Resulting Numbers: [7, 64]
Generated Node #0,4,1: 68:[7, 64] Operation: 79-15=64
Exploring Operation: 7+79=86, Resulting Numbers: [15, 86]
Generated Node #0,4,2: 68:[15, 86] Operation: 7+79=86
Exploring Operation: 15+7=22, Resulting Numbers: [79, 22]
Generated Node #0,4,3: 68:[79, 22] Operation: 15+7=22
Exploring Operation: 15-7=8, Resulting Numbers: [79, 8]
Generated Node #0,4,4: 68:[79, 8] Operation: 15-7=8
Moving to Node #0,1
Current State: 68:[15, 7, 79], Operations: ['86-7=79']
Exploring Operation: 7+79=86, Resulting Numbers: [15, 86]
Generated Node #0,1,0: 68:[15, 86] Operation: 7+79=86
Exploring Operation: 79-7=72, Resulting Numbers: [15, 72]
Generated Node #0,1,1: 68:[15, 72] Operation: 79-7=72
Exploring Operation: 15+7=22, Resulting Numbers: [79, 22]
Generated Node #0,1,2: 68:[79, 22] Operation: 15+7=22
Exploring Operation: 79-15=64, Resulting Numbers: [7, 64]
Generated Node #0,1,3: 68:[7, 64] Operation: 79-15=64
Exploring Operation: 15-7=8, Resulting Numbers: [79, 8]
Generated Node #0,1,4: 68:[79, 8] Operation: 15-7=8
Moving to Node #0,2
Current State: 68:[15, 86, 1], Operations: ['7/7=1']
Exploring Operation: 86-1=85, Resulting Numbers: [15, 85]
Generated Node #0,2,0: 68:[15, 85] Operation: 86-1=85
Exploring Operation: 86-15=71, Resulting Numbers: [1, 71]
Generated Node #0,2,1: 68:[1, 71] Operation: 86-15=71
Exploring Operation: 15/1=15, Resulting Numbers: [86, 15]
Generated Node #0,2,2: 68:[86, 15] Operation: 15/1=15
Exploring Operation: 15+1=16, Resulting Numbers: [86, 16]
Generated Node #0,2,3: 68:[86, 16] Operation: 15+1=16
Exploring Operation: 15*1=15, Resulting Numbers: [86, 15]
Generated Node #0,2,4: 68:[86, 15] Operation: 15*1=15
Moving to Node #0,3
Current State: 68:[15, 86, 0], Operations: ['7-7=0']
Exploring Operation: 86-15=71, Resulting Numbers: [0, 71]
Generated Node #0,3,0: 68:[0, 71] Operation: 86-15=71
Exploring Operation: 15-0=15, Resulting Numbers: [86, 15]
Generated Node #0,3,1: 68:[86, 15] Operation: 15-0=15
Exploring Operation: 15+0=15, Resulting Numbers: [86, 15]
Generated Node #0,3,2: 68:[86, 15] Operation: 15+0=15
Exploring Operation: 15*0=0, Resulting Numbers: [86, 0]
Generated Node #0,3,3: 68:[86, 0] Operation: 15*0=0
Exploring Operation: 86*0=0, Resulting Numbers: [15, 0]
Generated Node #0,3,4: 68:[15, 0] Operation: 86*0=0
Moving to Node #0,0,4
Current State: 68:[71, 1], Operations: ['86-15=71', '7/7=1']
Exploring Operation: 71+1=72, Resulting Numbers: [72]
72,68 unequal: No Solution
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,68 unequal: No Solution
Exploring Operation: 71*1=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[1, 71], Operations: ['7/7=1', '86-15=71']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,68 unequal: No Solution
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 1*71=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 1+71=72, Resulting Numbers: [72]
72,68 unequal: No Solution
Moving to Node #0,3,4
Current State: 68:[15, 0], Operations: ['7-7=0', '86*0=0']
Exploring Operation: 15+0=15, Resulting Numbers: [15]
15,68 unequal: No Solution
Exploring Operation: 15*0=0, Resulting Numbers: [0]
0,68 unequal: No Solution
Exploring Operation: 15-0=15, Resulting Numbers: [15]
15,68 unequal: No Solution
Moving to Node #0,3,0
Current State: 68:[0, 71], Operations: ['7-7=0', '86-15=71']
Exploring Operation: 71-0=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 0+71=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 0*71=0, Resulting Numbers: [0]
0,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[71, 0], Operations: ['86-15=71', '7-7=0']
Exploring Operation: 71+0=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 71-0=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 71*0=0, Resulting Numbers: [0]
0,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[71, 14], Operations: ['86-15=71', '7+7=14']
Exploring Operation: 71*14=994, Resulting Numbers: [994]
994,68 unequal: No Solution
Exploring Operation: 71+14=85, Resulting Numbers: [85]
85,68 unequal: No Solution
Exploring Operation: 71-14=57, Resulting Numbers: [57]
57,68 unequal: No Solution
Moving to Node #0,4,0
Current State: 68:[15, 72], Operations: ['86-7=79', '79-7=72']
Exploring Operation: 15+72=87, Resulting Numbers: [87]
87,68 unequal: No Solution
Exploring Operation: 15*72=1080, Resulting Numbers: [1080]
1080,68 unequal: No Solution
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[15, 72], Operations: ['86-7=79', '79-7=72']
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,68 unequal: No Solution
Exploring Operation: 15+72=87, Resulting Numbers: [87]
87,68 unequal: No Solution
Exploring Operation: 15*72=1080, Resulting Numbers: [1080]
1080,68 unequal: No Solution
Moving to Node #0,4,1
Current State: 68:[7, 64], Operations: ['86-7=79', '79-15=64']
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,68 unequal: No Solution
Exploring Operation: 7*64=448, Resulting Numbers: [448]
448,68 unequal: No Solution
Exploring Operation: 7+64=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Moving to Node #0,1,3
Current State: 68:[7, 64], Operations: ['86-7=79', '79-15=64']
Exploring Operation: 7*64=448, Resulting Numbers: [448]
448,68 unequal: No Solution
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,68 unequal: No Solution
Exploring Operation: 7+64=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Moving to Node #0,0,3
Current State: 68:[7, 64], Operations: ['86-15=71', '71-7=64']
Exploring Operation: 7+64=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,68 unequal: No Solution
Exploring Operation: 7*64=448, Resulting Numbers: [448]
448,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[7, 64], Operations: ['86-15=71', '71-7=64']
Exploring Operation: 7*64=448, Resulting Numbers: [448]
448,68 unequal: No Solution
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,68 unequal: No Solution
Exploring Operation: 7+64=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Moving to Node #0,1,4
Current State: 68:[79, 8], Operations: ['86-7=79', '15-7=8']
Exploring Operation: 79+8=87, Resulting Numbers: [87]
87,68 unequal: No Solution
Exploring Operation: 79*8=632, Resulting Numbers: [632]
632,68 unequal: No Solution
Exploring Operation: 79-8=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Moving to Node #0,4,4
Current State: 68:[79, 8], Operations: ['86-7=79', '15-7=8']
Exploring Operation: 79-8=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 79+8=87, Resulting Numbers: [87]
87,68 unequal: No Solution
Exploring Operation: 79*8=632, Resulting Numbers: [632]
632,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[79, 22], Operations: ['86-7=79', '15+7=22']
Exploring Operation: 79*22=1738, Resulting Numbers: [1738]
1738,68 unequal: No Solution
Exploring Operation: 79+22=101, Resulting Numbers: [101]
101,68 unequal: No Solution
Exploring Operation: 79-22=57, Resulting Numbers: [57]
57,68 unequal: No Solution
Moving to Node #0,4,3
Current State: 68:[79, 22], Operations: ['86-7=79', '15+7=22']
Exploring Operation: 79+22=101, Resulting Numbers: [101]
101,68 unequal: No Solution
Exploring Operation: 79*22=1738, Resulting Numbers: [1738]
1738,68 unequal: No Solution
Exploring Operation: 79-22=57, Resulting Numbers: [57]
57,68 unequal: No Solution
Moving to Node #0,2,3
Current State: 68:[86, 16], Operations: ['7/7=1', '15+1=16']
Exploring Operation: 86+16=102, Resulting Numbers: [102]
102,68 unequal: No Solution
Exploring Operation: 86-16=70, Resulting Numbers: [70]
70,68 unequal: No Solution
Exploring Operation: 86*16=1376, Resulting Numbers: [1376]
1376,68 unequal: No Solution
Moving to Node #0,2,0
Current State: 68:[15, 85], Operations: ['7/7=1', '86-1=85']
Exploring Operation: 15*85=1275, Resulting Numbers: [1275]
1275,68 unequal: No Solution
Exploring Operation: 15+85=100, Resulting Numbers: [100]
100,68 unequal: No Solution
Exploring Operation: 85-15=70, Resulting Numbers: [70]
70,68 unequal: No Solution
Moving to Node #0,2,4
Current State: 68:[86, 15], Operations: ['7/7=1', '15*1=15']
Exploring Operation: 86*15=1290, Resulting Numbers: [1290]
1290,68 unequal: No Solution
Exploring Operation: 86+15=101, Resulting Numbers: [101]
101,68 unequal: No Solution
Exploring Operation: 86-15=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Moving to Node #0,4,2
Current State: 68:[15, 86], Operations: ['86-7=79', '7+79=86']
Exploring Operation: 15*86=1290, Resulting Numbers: [1290]
1290,68 unequal: No Solution
Exploring Operation: 86-15=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 15+86=101, Resulting Numbers: [101]
101,68 unequal: No Solution
Moving to Node #0,3,2
Current State: 68:[86, 15], Operations: ['7-7=0', '15+0=15']
Exploring Operation: 86+15=101, Resulting Numbers: [101]
101,68 unequal: No Solution
Exploring Operation: 86-15=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 86*15=1290, Resulting Numbers: [1290]
1290,68 unequal: No Solution
Moving to Node #0,3,1
Current State: 68:[86, 15], Operations: ['7-7=0', '15-0=15']
Exploring Operation: 86-15=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 86+15=101, Resulting Numbers: [101]
101,68 unequal: No Solution
Exploring Operation: 86*15=1290, Resulting Numbers: [1290]
1290,68 unequal: No Solution
Moving to Node #0,2,2
Current State: 68:[86, 15], Operations: ['7/7=1', '15/1=15']
Exploring Operation: 86*15=1290, Resulting Numbers: [1290]
1290,68 unequal: No Solution
Exploring Operation: 86+15=101, Resulting Numbers: [101]
101,68 unequal: No Solution
Exploring Operation: 86-15=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Moving to Node #0,3,3
Current State: 68:[86, 0], Operations: ['7-7=0', '15*0=0']
Exploring Operation: 86-0=86, Resulting Numbers: [86]
86,68 unequal: No Solution
Exploring Operation: 86+0=86, Resulting Numbers: [86]
86,68 unequal: No Solution
Exploring Operation: 86*0=0, Resulting Numbers: [0]
0,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[15, 86], Operations: ['86-7=79', '7+79=86']
Exploring Operation: 15+86=101, Resulting Numbers: [101]
101,68 unequal: No Solution
Exploring Operation: 86-15=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 15*86=1290, Resulting Numbers: [1290]
1290,68 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
74,
2,
57,
2
] | 34 | [
"74*2=148",
"57*2=114",
"148-114=34"
] | Current State: 34:[74, 2, 57, 2], Operations: []
Exploring Operation: 74*2=148, Resulting Numbers: [57, 148]
Generated Node #2: [57, 148] from Operation: 74*2=148
Current State: 34:[57, 148], Operations: ['74*2=148']
Exploring Operation: 57*2=114, Resulting Numbers: [148, 114]
Generated Node #3: [148, 114] from Operation: 57*2=114
Current State: 34:[148, 114], Operations: ['74*2=148', '57*2=114']
Exploring Operation: 148-114=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[74, 2, 57, 2], Operations: []
Exploring Operation: 74/2=37, Resulting Numbers: [57, 2, 37]
Generated Node #0,0: 34:[57, 2, 37] Operation: 74/2=37
Exploring Operation: 74-57=17, Resulting Numbers: [2, 2, 17]
Generated Node #0,1: 34:[2, 2, 17] Operation: 74-57=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[2, 2, 17], Operations: ['74-57=17']
Exploring Operation: 2*17=34, Resulting Numbers: [2, 34]
Generated Node #0,1,0: 34:[2, 34] Operation: 2*17=34
Exploring Operation: 2*17=34, Resulting Numbers: [2, 34]
Generated Node #0,1,1: 34:[2, 34] Operation: 2*17=34
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 34:[2, 34], Operations: ['74-57=17', '2*17=34']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,34 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[2, 34], Operations: ['74-57=17', '2*17=34']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,34 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[57, 2, 37], Operations: ['74/2=37']
Exploring Operation: 57-2=55, Resulting Numbers: [37, 55]
Generated Node #0,0,0: 34:[37, 55] Operation: 57-2=55
Exploring Operation: 57-37=20, Resulting Numbers: [2, 20]
Generated Node #0,0,1: 34:[2, 20] Operation: 57-37=20
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 34:[2, 20], Operations: ['74/2=37', '57-37=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[37, 55], Operations: ['74/2=37', '57-2=55']
Exploring Operation: 37+55=92, Resulting Numbers: [92]
92,34 unequal: No Solution
Exploring Operation: 55-37=18, Resulting Numbers: [18]
18,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
58,
22,
36,
37
] | 79 | [
"58+22=80",
"37-36=1",
"80-1=79"
] | Current State: 79:[58, 22, 36, 37], Operations: []
Exploring Operation: 58+22=80, Resulting Numbers: [36, 37, 80]
Generated Node #2: [36, 37, 80] from Operation: 58+22=80
Current State: 79:[36, 37, 80], Operations: ['58+22=80']
Exploring Operation: 37-36=1, Resulting Numbers: [80, 1]
Generated Node #3: [80, 1] from Operation: 37-36=1
Current State: 79:[80, 1], Operations: ['58+22=80', '37-36=1']
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[58, 22, 36, 37], Operations: []
Exploring Operation: 36+37=73, Resulting Numbers: [58, 22, 73]
Generated Node #0,0: 79:[58, 22, 73] Operation: 36+37=73
Exploring Operation: 22+37=59, Resulting Numbers: [58, 36, 59]
Generated Node #0,1: 79:[58, 36, 59] Operation: 22+37=59
Exploring Operation: 22+36=58, Resulting Numbers: [58, 37, 58]
Generated Node #0,2: 79:[58, 37, 58] Operation: 22+36=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[58, 22, 73], Operations: ['36+37=73']
Exploring Operation: 58-22=36, Resulting Numbers: [73, 36]
Generated Node #0,0,0: 79:[73, 36] Operation: 58-22=36
Exploring Operation: 58+22=80, Resulting Numbers: [73, 80]
Generated Node #0,0,1: 79:[73, 80] Operation: 58+22=80
Exploring Operation: 22+73=95, Resulting Numbers: [58, 95]
Generated Node #0,0,2: 79:[58, 95] Operation: 22+73=95
Moving to Node #0,0,1
Current State: 79:[73, 80], Operations: ['36+37=73', '58+22=80']
Exploring Operation: 73*80=5840, Resulting Numbers: [5840]
5840,79 unequal: No Solution
Exploring Operation: 80-73=7, Resulting Numbers: [7]
7,79 unequal: No Solution
Exploring Operation: 73+80=153, Resulting Numbers: [153]
153,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[58, 95], Operations: ['36+37=73', '22+73=95']
Exploring Operation: 95-58=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 58*95=5510, Resulting Numbers: [5510]
5510,79 unequal: No Solution
Exploring Operation: 58+95=153, Resulting Numbers: [153]
153,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[73, 36], Operations: ['36+37=73', '58-22=36']
Exploring Operation: 73-36=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 73*36=2628, Resulting Numbers: [2628]
2628,79 unequal: No Solution
Exploring Operation: 73+36=109, Resulting Numbers: [109]
109,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
Current State: 79:[58, 36, 59], Operations: ['22+37=59']
Exploring Operation: 36+59=95, Resulting Numbers: [58, 95]
Generated Node #0,1,0: 79:[58, 95] Operation: 36+59=95
Exploring Operation: 58-36=22, Resulting Numbers: [59, 22]
Generated Node #0,1,1: 79:[59, 22] Operation: 58-36=22
Exploring Operation: 58+36=94, Resulting Numbers: [59, 94]
Generated Node #0,1,2: 79:[59, 94] Operation: 58+36=94
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 79:[59, 94], Operations: ['22+37=59', '58+36=94']
Exploring Operation: 59+94=153, Resulting Numbers: [153]
153,79 unequal: No Solution
Exploring Operation: 59*94=5546, Resulting Numbers: [5546]
5546,79 unequal: No Solution
Exploring Operation: 94-59=35, Resulting Numbers: [35]
35,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[58, 95], Operations: ['22+37=59', '36+59=95']
Exploring Operation: 58*95=5510, Resulting Numbers: [5510]
5510,79 unequal: No Solution
Exploring Operation: 95-58=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 58+95=153, Resulting Numbers: [153]
153,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[59, 22], Operations: ['22+37=59', '58-36=22']
Exploring Operation: 59-22=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 59*22=1298, Resulting Numbers: [1298]
1298,79 unequal: No Solution
Exploring Operation: 59+22=81, Resulting Numbers: [81]
81,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[58, 37, 58], Operations: ['22+36=58']
Exploring Operation: 37+58=95, Resulting Numbers: [58, 95]
Generated Node #0,2,0: 79:[58, 95] Operation: 37+58=95
Exploring Operation: 58+37=95, Resulting Numbers: [58, 95]
Generated Node #0,2,1: 79:[58, 95] Operation: 58+37=95
Exploring Operation: 58-37=21, Resulting Numbers: [58, 21]
Generated Node #0,2,2: 79:[58, 21] Operation: 58-37=21
Moving to Node #0,2,0
Current State: 79:[58, 95], Operations: ['22+36=58', '37+58=95']
Exploring Operation: 95-58=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 58*95=5510, Resulting Numbers: [5510]
5510,79 unequal: No Solution
Exploring Operation: 58+95=153, Resulting Numbers: [153]
153,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[58, 95], Operations: ['22+36=58', '58+37=95']
Exploring Operation: 58+95=153, Resulting Numbers: [153]
153,79 unequal: No Solution
Exploring Operation: 58*95=5510, Resulting Numbers: [5510]
5510,79 unequal: No Solution
Exploring Operation: 95-58=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[58, 21], Operations: ['22+36=58', '58-37=21']
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 58+21=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[58, 22, 36, 37], Operations: []
Exploring Operation: 22+36=58, Resulting Numbers: [58, 37, 58]
Generated Node #0,2: 79:[58, 37, 58] Operation: 22+36=58
Moving to Node #0,2
Current State: 79:[58, 37, 58], Operations: ['22+36=58']
Exploring Operation: 58-37=21, Resulting Numbers: [58, 21]
Generated Node #0,2,2: 79:[58, 21] Operation: 58-37=21
Moving to Node #0,2,2
Current State: 79:[58, 21], Operations: ['22+36=58', '58-37=21']
Exploring Operation: 58+21=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_3 | sum_heuristic |
[
11,
25,
99,
26
] | 16 | [
"99+26=125",
"125/25=5",
"11+5=16"
] | Current State: 16:[11, 25, 99, 26], Operations: []
Exploring Operation: 99+26=125, Resulting Numbers: [11, 25, 125]
Generated Node #2: [11, 25, 125] from Operation: 99+26=125
Current State: 16:[11, 25, 125], Operations: ['99+26=125']
Exploring Operation: 125/25=5, Resulting Numbers: [11, 5]
Generated Node #3: [11, 5] from Operation: 125/25=5
Current State: 16:[11, 5], Operations: ['99+26=125', '125/25=5']
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[11, 25, 99, 26], Operations: []
Exploring Operation: 99-26=73, Resulting Numbers: [11, 25, 73]
Generated Node #0,0: 16:[11, 25, 73] Operation: 99-26=73
Exploring Operation: 99/11=9, Resulting Numbers: [25, 26, 9]
Generated Node #0,1: 16:[25, 26, 9] Operation: 99/11=9
Exploring Operation: 99-25=74, Resulting Numbers: [11, 26, 74]
Generated Node #0,2: 16:[11, 26, 74] Operation: 99-25=74
Moving to Node #0,1
Current State: 16:[25, 26, 9], Operations: ['99/11=9']
Exploring Operation: 25-9=16, Resulting Numbers: [26, 16]
Generated Node #0,1,0: 16:[26, 16] Operation: 25-9=16
Exploring Operation: 26-25=1, Resulting Numbers: [9, 1]
Generated Node #0,1,1: 16:[9, 1] Operation: 26-25=1
Exploring Operation: 26-9=17, Resulting Numbers: [25, 17]
Generated Node #0,1,2: 16:[25, 17] Operation: 26-9=17
Moving to Node #0,0
Current State: 16:[11, 25, 73], Operations: ['99-26=73']
Exploring Operation: 73-11=62, Resulting Numbers: [25, 62]
Generated Node #0,0,0: 16:[25, 62] Operation: 73-11=62
Exploring Operation: 73-25=48, Resulting Numbers: [11, 48]
Generated Node #0,0,1: 16:[11, 48] Operation: 73-25=48
Exploring Operation: 25-11=14, Resulting Numbers: [73, 14]
Generated Node #0,0,2: 16:[73, 14] Operation: 25-11=14
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[11, 48], Operations: ['99-26=73', '73-25=48']
Exploring Operation: 11+48=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,16 unequal: No Solution
Exploring Operation: 11*48=528, Resulting Numbers: [528]
528,16 unequal: No Solution
No 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: 16:[25, 62], Operations: ['99-26=73', '73-11=62']
Exploring Operation: 25*62=1550, Resulting Numbers: [1550]
1550,16 unequal: No Solution
Exploring Operation: 62-25=37, Resulting Numbers: [37]
37,16 unequal: No Solution
Exploring Operation: 25+62=87, Resulting Numbers: [87]
87,16 unequal: No Solution
No 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: 16:[73, 14], Operations: ['99-26=73', '25-11=14']
Exploring Operation: 73*14=1022, Resulting Numbers: [1022]
1022,16 unequal: No Solution
Exploring Operation: 73+14=87, Resulting Numbers: [87]
87,16 unequal: No Solution
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,16 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: 16:[11, 26, 74], Operations: ['99-25=74']
Exploring Operation: 74-26=48, Resulting Numbers: [11, 48]
Generated Node #0,2,0: 16:[11, 48] Operation: 74-26=48
Exploring Operation: 26-11=15, Resulting Numbers: [74, 15]
Generated Node #0,2,1: 16:[74, 15] Operation: 26-11=15
Exploring Operation: 74-11=63, Resulting Numbers: [26, 63]
Generated Node #0,2,2: 16:[26, 63] Operation: 74-11=63
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 16:[11, 48], Operations: ['99-25=74', '74-26=48']
Exploring Operation: 11*48=528, Resulting Numbers: [528]
528,16 unequal: No Solution
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,16 unequal: No Solution
Exploring Operation: 11+48=59, Resulting Numbers: [59]
59,16 unequal: No Solution
No 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: 16:[26, 63], Operations: ['99-25=74', '74-11=63']
Exploring Operation: 26+63=89, Resulting Numbers: [89]
89,16 unequal: No Solution
Exploring Operation: 26*63=1638, Resulting Numbers: [1638]
1638,16 unequal: No Solution
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,16 unequal: No Solution
No 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: 16:[74, 15], Operations: ['99-25=74', '26-11=15']
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 74*15=1110, Resulting Numbers: [1110]
1110,16 unequal: No Solution
Exploring Operation: 74+15=89, Resulting Numbers: [89]
89,16 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: 16:[9, 1], Operations: ['99/11=9', '26-25=1']
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Moving to Node #0,1,0
Current State: 16:[26, 16], Operations: ['99/11=9', '25-9=16']
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 26+16=42, Resulting Numbers: [42]
42,16 unequal: No Solution
Exploring Operation: 26*16=416, Resulting Numbers: [416]
416,16 unequal: No Solution
Moving to Node #0,1,2
Current State: 16:[25, 17], Operations: ['99/11=9', '26-9=17']
Exploring Operation: 25+17=42, Resulting Numbers: [42]
42,16 unequal: No Solution
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 25*17=425, Resulting Numbers: [425]
425,16 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
40,
36,
17,
16
] | 13 | [
"40-36=4",
"16/4=4",
"17-4=13"
] | Current State: 13:[40, 36, 17, 16], Operations: []
Exploring Operation: 40-36=4, Resulting Numbers: [17, 16, 4]
Generated Node #2: [17, 16, 4] from Operation: 40-36=4
Current State: 13:[17, 16, 4], Operations: ['40-36=4']
Exploring Operation: 16/4=4, Resulting Numbers: [17, 4]
Generated Node #3: [17, 4] from Operation: 16/4=4
Current State: 13:[17, 4], Operations: ['40-36=4', '16/4=4']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[40, 36, 17, 16], Operations: []
Exploring Operation: 40-36=4, Resulting Numbers: [17, 16, 4]
Generated Node #0,0: 13:[17, 16, 4] Operation: 40-36=4
Moving to Node #0,0
Current State: 13:[17, 16, 4], Operations: ['40-36=4']
Exploring Operation: 17-4=13, Resulting Numbers: [16, 13]
Generated Node #0,0,0: 13:[16, 13] Operation: 17-4=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[16, 13], Operations: ['40-36=4', '17-4=13']
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,13 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 |
[
64,
61,
68,
12
] | 59 | [
"64-61=3",
"68-12=56",
"3+56=59"
] | Current State: 59:[64, 61, 68, 12], Operations: []
Exploring Operation: 64-61=3, Resulting Numbers: [68, 12, 3]
Generated Node #2: [68, 12, 3] from Operation: 64-61=3
Current State: 59:[68, 12, 3], Operations: ['64-61=3']
Exploring Operation: 68-12=56, Resulting Numbers: [3, 56]
Generated Node #3: [3, 56] from Operation: 68-12=56
Current State: 59:[3, 56], Operations: ['64-61=3', '68-12=56']
Exploring Operation: 3+56=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[64, 61, 68, 12], Operations: []
Exploring Operation: 64-12=52, Resulting Numbers: [61, 68, 52]
Generated Node #0,0: 59:[61, 68, 52] Operation: 64-12=52
Exploring Operation: 64+12=76, Resulting Numbers: [61, 68, 76]
Generated Node #0,1: 59:[61, 68, 76] Operation: 64+12=76
Exploring Operation: 68-12=56, Resulting Numbers: [64, 61, 56]
Generated Node #0,2: 59:[64, 61, 56] Operation: 68-12=56
Exploring Operation: 61-12=49, Resulting Numbers: [64, 68, 49]
Generated Node #0,3: 59:[64, 68, 49] Operation: 61-12=49
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[64, 61, 56], Operations: ['68-12=56']
Exploring Operation: 64-61=3, Resulting Numbers: [56, 3]
Generated Node #0,2,0: 59:[56, 3] Operation: 64-61=3
Exploring Operation: 61-56=5, Resulting Numbers: [64, 5]
Generated Node #0,2,1: 59:[64, 5] Operation: 61-56=5
Exploring Operation: 64+56=120, Resulting Numbers: [61, 120]
Generated Node #0,2,2: 59:[61, 120] Operation: 64+56=120
Exploring Operation: 64-56=8, Resulting Numbers: [61, 8]
Generated Node #0,2,3: 59:[61, 8] Operation: 64-56=8
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 59:[61, 8], Operations: ['68-12=56', '64-56=8']
Exploring Operation: 61*8=488, Resulting Numbers: [488]
488,59 unequal: No Solution
Exploring Operation: 61+8=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 61-8=53, Resulting Numbers: [53]
53,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 59:[56, 3], Operations: ['68-12=56', '64-61=3']
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[64, 61, 68, 12], Operations: []
Exploring Operation: 68-12=56, Resulting Numbers: [64, 61, 56]
Generated Node #0,2: 59:[64, 61, 56] Operation: 68-12=56
Moving to Node #0,2
Current State: 59:[64, 61, 56], Operations: ['68-12=56']
Exploring Operation: 64-61=3, Resulting Numbers: [56, 3]
Generated Node #0,2,0: 59:[56, 3] Operation: 64-61=3
Moving to Node #0,2,0
Current State: 59:[56, 3], Operations: ['68-12=56', '64-61=3']
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
44,
28,
46,
36
] | 70 | [
"44+46=90",
"28*90=2520",
"2520/36=70"
] | Current State: 70:[44, 28, 46, 36], Operations: []
Exploring Operation: 44+46=90, Resulting Numbers: [28, 36, 90]
Generated Node #2: [28, 36, 90] from Operation: 44+46=90
Current State: 70:[28, 36, 90], Operations: ['44+46=90']
Exploring Operation: 28*90=2520, Resulting Numbers: [36, 2520]
Generated Node #3: [36, 2520] from Operation: 28*90=2520
Current State: 70:[36, 2520], Operations: ['44+46=90', '28*90=2520']
Exploring Operation: 2520/36=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[44, 28, 46, 36], Operations: []
Exploring Operation: 46-44=2, Resulting Numbers: [28, 36, 2]
Generated Node #0,0: 70:[28, 36, 2] Operation: 46-44=2
Exploring Operation: 44-28=16, Resulting Numbers: [46, 36, 16]
Generated Node #0,1: 70:[46, 36, 16] Operation: 44-28=16
Exploring Operation: 44+28=72, Resulting Numbers: [46, 36, 72]
Generated Node #0,2: 70:[46, 36, 72] Operation: 44+28=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[28, 36, 2], Operations: ['46-44=2']
Exploring Operation: 28/2=14, Resulting Numbers: [36, 14]
Generated Node #0,0,0: 70:[36, 14] Operation: 28/2=14
Exploring Operation: 36-28=8, Resulting Numbers: [2, 8]
Generated Node #0,0,1: 70:[2, 8] Operation: 36-28=8
Exploring Operation: 28+36=64, Resulting Numbers: [2, 64]
Generated Node #0,0,2: 70:[2, 64] Operation: 28+36=64
Moving to Node #0,0,0
Current State: 70:[36, 14], Operations: ['46-44=2', '28/2=14']
Exploring Operation: 36*14=504, Resulting Numbers: [504]
504,70 unequal: No Solution
Exploring Operation: 36+14=50, Resulting Numbers: [50]
50,70 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[2, 8], Operations: ['46-44=2', '36-28=8']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[2, 64], Operations: ['46-44=2', '28+36=64']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,70 unequal: No Solution
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[46, 36, 16], Operations: ['44-28=16']
Exploring Operation: 46-16=30, Resulting Numbers: [36, 30]
Generated Node #0,1,0: 70:[36, 30] Operation: 46-16=30
Exploring Operation: 46+16=62, Resulting Numbers: [36, 62]
Generated Node #0,1,1: 70:[36, 62] Operation: 46+16=62
Exploring Operation: 46-36=10, Resulting Numbers: [16, 10]
Generated Node #0,1,2: 70:[16, 10] Operation: 46-36=10
Moving to Node #0,1,2
Current State: 70:[16, 10], Operations: ['44-28=16', '46-36=10']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,70 unequal: No Solution
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[36, 30], Operations: ['44-28=16', '46-16=30']
Exploring Operation: 36*30=1080, Resulting Numbers: [1080]
1080,70 unequal: No Solution
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 36+30=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[36, 62], Operations: ['44-28=16', '46+16=62']
Exploring Operation: 36+62=98, Resulting Numbers: [98]
98,70 unequal: No Solution
Exploring Operation: 36*62=2232, Resulting Numbers: [2232]
2232,70 unequal: No Solution
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[46, 36, 72], Operations: ['44+28=72']
Exploring Operation: 72/36=2, Resulting Numbers: [46, 2]
Generated Node #0,2,0: 70:[46, 2] Operation: 72/36=2
Exploring Operation: 46-36=10, Resulting Numbers: [72, 10]
Generated Node #0,2,1: 70:[72, 10] Operation: 46-36=10
Exploring Operation: 72-46=26, Resulting Numbers: [36, 26]
Generated Node #0,2,2: 70:[36, 26] Operation: 72-46=26
Moving to Node #0,2,1
Current State: 70:[72, 10], Operations: ['44+28=72', '46-36=10']
Exploring Operation: 72*10=720, Resulting Numbers: [720]
720,70 unequal: No Solution
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,70 unequal: No Solution
Exploring Operation: 72+10=82, Resulting Numbers: [82]
82,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[36, 26], Operations: ['44+28=72', '72-46=26']
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 36+26=62, Resulting Numbers: [62]
62,70 unequal: No Solution
Exploring Operation: 36*26=936, Resulting Numbers: [936]
936,70 unequal: No Solution
Moving to Node #0,2,0
Current State: 70:[46, 2], Operations: ['44+28=72', '72/36=2']
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,70 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,70 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
81,
2,
18,
91
] | 82 | [
"81*2=162",
"162/18=9",
"91-9=82"
] | Current State: 82:[81, 2, 18, 91], Operations: []
Exploring Operation: 81*2=162, Resulting Numbers: [18, 91, 162]
Generated Node #2: [18, 91, 162] from Operation: 81*2=162
Current State: 82:[18, 91, 162], Operations: ['81*2=162']
Exploring Operation: 162/18=9, Resulting Numbers: [91, 9]
Generated Node #3: [91, 9] from Operation: 162/18=9
Current State: 82:[91, 9], Operations: ['81*2=162', '162/18=9']
Exploring Operation: 91-9=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[81, 2, 18, 91], Operations: []
Exploring Operation: 91-18=73, Resulting Numbers: [81, 2, 73]
Generated Node #0,0: 82:[81, 2, 73] Operation: 91-18=73
Exploring Operation: 2*18=36, Resulting Numbers: [81, 91, 36]
Generated Node #0,1: 82:[81, 91, 36] Operation: 2*18=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[81, 2, 73], Operations: ['91-18=73']
Exploring Operation: 81-73=8, Resulting Numbers: [2, 8]
Generated Node #0,0,0: 82:[2, 8] Operation: 81-73=8
Exploring Operation: 2+73=75, Resulting Numbers: [81, 75]
Generated Node #0,0,1: 82:[81, 75] Operation: 2+73=75
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[2, 8], Operations: ['91-18=73', '81-73=8']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,82 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[81, 75], Operations: ['91-18=73', '2+73=75']
Exploring Operation: 81+75=156, Resulting Numbers: [156]
156,82 unequal: No Solution
Exploring Operation: 81-75=6, Resulting Numbers: [6]
6,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[81, 91, 36], Operations: ['2*18=36']
Exploring Operation: 91-81=10, Resulting Numbers: [36, 10]
Generated Node #0,1,0: 82:[36, 10] Operation: 91-81=10
Exploring Operation: 81-36=45, Resulting Numbers: [91, 45]
Generated Node #0,1,1: 82:[91, 45] Operation: 81-36=45
Moving to Node #0,1,0
Current State: 82:[36, 10], Operations: ['2*18=36', '91-81=10']
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,82 unequal: No Solution
Exploring Operation: 36+10=46, Resulting Numbers: [46]
46,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[91, 45], Operations: ['2*18=36', '81-36=45']
Exploring Operation: 91-45=46, Resulting Numbers: [46]
46,82 unequal: No Solution
Exploring Operation: 91+45=136, Resulting Numbers: [136]
136,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
48,
45,
25,
57
] | 20 | [
"57-48=9",
"45/9=5",
"25-5=20"
] | Current State: 20:[48, 45, 25, 57], Operations: []
Exploring Operation: 57-48=9, Resulting Numbers: [45, 25, 9]
Generated Node #2: [45, 25, 9] from Operation: 57-48=9
Current State: 20:[45, 25, 9], Operations: ['57-48=9']
Exploring Operation: 45/9=5, Resulting Numbers: [25, 5]
Generated Node #3: [25, 5] from Operation: 45/9=5
Current State: 20:[25, 5], Operations: ['57-48=9', '45/9=5']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[48, 45, 25, 57], Operations: []
Exploring Operation: 57-45=12, Resulting Numbers: [48, 25, 12]
Generated Node #0,0: 20:[48, 25, 12] Operation: 57-45=12
Exploring Operation: 57-48=9, Resulting Numbers: [45, 25, 9]
Generated Node #0,1: 20:[45, 25, 9] Operation: 57-48=9
Moving to Node #0,1
Current State: 20:[45, 25, 9], Operations: ['57-48=9']
Exploring Operation: 45/9=5, Resulting Numbers: [25, 5]
Generated Node #0,1,0: 20:[25, 5] Operation: 45/9=5
Exploring Operation: 45-25=20, Resulting Numbers: [9, 20]
Generated Node #0,1,1: 20:[9, 20] Operation: 45-25=20
Moving to Node #0,0
Current State: 20:[48, 25, 12], Operations: ['57-45=12']
Exploring Operation: 48-25=23, Resulting Numbers: [12, 23]
Generated Node #0,0,0: 20:[12, 23] Operation: 48-25=23
Exploring Operation: 48/12=4, Resulting Numbers: [25, 4]
Generated Node #0,0,1: 20:[25, 4] Operation: 48/12=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[12, 23], Operations: ['57-45=12', '48-25=23']
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 12+23=35, Resulting Numbers: [35]
35,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[25, 4], Operations: ['57-45=12', '48/12=4']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,20 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: 20:[9, 20], Operations: ['57-48=9', '45-25=20']
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,20 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[25, 5], Operations: ['57-48=9', '45/9=5']
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[48, 45, 25, 57], Operations: []
Exploring Operation: 57-48=9, Resulting Numbers: [45, 25, 9]
Generated Node #0,1: 20:[45, 25, 9] Operation: 57-48=9
Moving to Node #0,1
Current State: 20:[45, 25, 9], Operations: ['57-48=9']
Exploring Operation: 45/9=5, Resulting Numbers: [25, 5]
Generated Node #0,1,0: 20:[25, 5] Operation: 45/9=5
Moving to Node #0,1,0
Current State: 20:[25, 5], Operations: ['57-48=9', '45/9=5']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.984375 | hs_2 | mult_heuristic |
[
12,
67,
8,
68
] | 96 | [
"12*8=96",
"68-67=1",
"96*1=96"
] | Current State: 96:[12, 67, 8, 68], Operations: []
Exploring Operation: 12*8=96, Resulting Numbers: [67, 68, 96]
Generated Node #2: [67, 68, 96] from Operation: 12*8=96
Current State: 96:[67, 68, 96], Operations: ['12*8=96']
Exploring Operation: 68-67=1, Resulting Numbers: [96, 1]
Generated Node #3: [96, 1] from Operation: 68-67=1
Current State: 96:[96, 1], Operations: ['12*8=96', '68-67=1']
Exploring Operation: 96*1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[12, 67, 8, 68], Operations: []
Exploring Operation: 67-12=55, Resulting Numbers: [8, 68, 55]
Generated Node #0,0: 96:[8, 68, 55] Operation: 67-12=55
Exploring Operation: 68-67=1, Resulting Numbers: [12, 8, 1]
Generated Node #0,1: 96:[12, 8, 1] Operation: 68-67=1
Moving to Node #0,1
Current State: 96:[12, 8, 1], Operations: ['68-67=1']
Exploring Operation: 12/1=12, Resulting Numbers: [8, 12]
Generated Node #0,1,0: 96:[8, 12] Operation: 12/1=12
Exploring Operation: 12*1=12, Resulting Numbers: [8, 12]
Generated Node #0,1,1: 96:[8, 12] Operation: 12*1=12
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[8, 12], Operations: ['68-67=1', '12/1=12']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[12, 67, 8, 68], Operations: []
Exploring Operation: 68-67=1, Resulting Numbers: [12, 8, 1]
Generated Node #0,1: 96:[12, 8, 1] Operation: 68-67=1
Moving to Node #0,1
Current State: 96:[12, 8, 1], Operations: ['68-67=1']
Exploring Operation: 12/1=12, Resulting Numbers: [8, 12]
Generated Node #0,1,0: 96:[8, 12] Operation: 12/1=12
Moving to Node #0,1,0
Current State: 96:[8, 12], Operations: ['68-67=1', '12/1=12']
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
5,
56,
63,
82
] | 41 | [
"5+56=61",
"63-61=2",
"82/2=41"
] | Current State: 41:[5, 56, 63, 82], Operations: []
Exploring Operation: 5+56=61, Resulting Numbers: [63, 82, 61]
Generated Node #2: [63, 82, 61] from Operation: 5+56=61
Current State: 41:[63, 82, 61], Operations: ['5+56=61']
Exploring Operation: 63-61=2, Resulting Numbers: [82, 2]
Generated Node #3: [82, 2] from Operation: 63-61=2
Current State: 41:[82, 2], Operations: ['5+56=61', '63-61=2']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[5, 56, 63, 82], Operations: []
Exploring Operation: 63-5=58, Resulting Numbers: [56, 82, 58]
Generated Node #0,0: 41:[56, 82, 58] Operation: 63-5=58
Exploring Operation: 82-56=26, Resulting Numbers: [5, 63, 26]
Generated Node #0,1: 41:[5, 63, 26] Operation: 82-56=26
Exploring Operation: 56-5=51, Resulting Numbers: [63, 82, 51]
Generated Node #0,2: 41:[63, 82, 51] Operation: 56-5=51
Exploring Operation: 82-5=77, Resulting Numbers: [56, 63, 77]
Generated Node #0,3: 41:[56, 63, 77] Operation: 82-5=77
Moving to Node #0,0
Current State: 41:[56, 82, 58], Operations: ['63-5=58']
Exploring Operation: 58-56=2, Resulting Numbers: [82, 2]
Generated Node #0,0,0: 41:[82, 2] Operation: 58-56=2
Exploring Operation: 82-58=24, Resulting Numbers: [56, 24]
Generated Node #0,0,1: 41:[56, 24] Operation: 82-58=24
Exploring Operation: 82-56=26, Resulting Numbers: [58, 26]
Generated Node #0,0,2: 41:[58, 26] Operation: 82-56=26
Exploring Operation: 56+82=138, Resulting Numbers: [58, 138]
Generated Node #0,0,3: 41:[58, 138] Operation: 56+82=138
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[56, 24], Operations: ['63-5=58', '82-58=24']
Exploring Operation: 56+24=80, Resulting Numbers: [80]
80,41 unequal: No Solution
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 56*24=1344, Resulting Numbers: [1344]
1344,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:[58, 26], Operations: ['63-5=58', '82-56=26']
Exploring Operation: 58-26=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 58+26=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 58*26=1508, Resulting Numbers: [1508]
1508,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:[82, 2], Operations: ['63-5=58', '58-56=2']
Exploring Operation: 82+2=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 82*2=164, Resulting Numbers: [164]
164,41 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,41 unequal: No Solution
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[5, 56, 63, 82], Operations: []
Exploring Operation: 63-5=58, Resulting Numbers: [56, 82, 58]
Generated Node #0,0: 41:[56, 82, 58] Operation: 63-5=58
Moving to Node #0,0
Current State: 41:[56, 82, 58], Operations: ['63-5=58']
Exploring Operation: 58-56=2, Resulting Numbers: [82, 2]
Generated Node #0,0,0: 41:[82, 2] Operation: 58-56=2
Moving to Node #0,0,0
Current State: 41:[82, 2], Operations: ['63-5=58', '58-56=2']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
21,
92,
47,
44
] | 74 | [
"92-21=71",
"47-44=3",
"71+3=74"
] | Current State: 74:[21, 92, 47, 44], Operations: []
Exploring Operation: 92-21=71, Resulting Numbers: [47, 44, 71]
Generated Node #2: [47, 44, 71] from Operation: 92-21=71
Current State: 74:[47, 44, 71], Operations: ['92-21=71']
Exploring Operation: 47-44=3, Resulting Numbers: [71, 3]
Generated Node #3: [71, 3] from Operation: 47-44=3
Current State: 74:[71, 3], Operations: ['92-21=71', '47-44=3']
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[21, 92, 47, 44], Operations: []
Exploring Operation: 92-21=71, Resulting Numbers: [47, 44, 71]
Generated Node #0,0: 74:[47, 44, 71] Operation: 92-21=71
Exploring Operation: 47-44=3, Resulting Numbers: [21, 92, 3]
Generated Node #0,1: 74:[21, 92, 3] Operation: 47-44=3
Exploring Operation: 47-21=26, Resulting Numbers: [92, 44, 26]
Generated Node #0,2: 74:[92, 44, 26] Operation: 47-21=26
Exploring Operation: 21+47=68, Resulting Numbers: [92, 44, 68]
Generated Node #0,3: 74:[92, 44, 68] Operation: 21+47=68
Exploring Operation: 92-47=45, Resulting Numbers: [21, 44, 45]
Generated Node #0,4: 74:[21, 44, 45] Operation: 92-47=45
Moving to Node #0,0
Current State: 74:[47, 44, 71], Operations: ['92-21=71']
Exploring Operation: 47-44=3, Resulting Numbers: [71, 3]
Generated Node #0,0,0: 74:[71, 3] Operation: 47-44=3
Exploring Operation: 47+71=118, Resulting Numbers: [44, 118]
Generated Node #0,0,1: 74:[44, 118] Operation: 47+71=118
Exploring Operation: 47+44=91, Resulting Numbers: [71, 91]
Generated Node #0,0,2: 74:[71, 91] Operation: 47+44=91
Exploring Operation: 71-47=24, Resulting Numbers: [44, 24]
Generated Node #0,0,3: 74:[44, 24] Operation: 71-47=24
Exploring Operation: 71-44=27, Resulting Numbers: [47, 27]
Generated Node #0,0,4: 74:[47, 27] Operation: 71-44=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[71, 3], Operations: ['92-21=71', '47-44=3']
Exploring Operation: 71*3=213, Resulting Numbers: [213]
213,74 unequal: No Solution
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[21, 92, 47, 44], Operations: []
Exploring Operation: 92-21=71, Resulting Numbers: [47, 44, 71]
Generated Node #0,0: 74:[47, 44, 71] Operation: 92-21=71
Moving to Node #0,0
Current State: 74:[47, 44, 71], Operations: ['92-21=71']
Exploring Operation: 47-44=3, Resulting Numbers: [71, 3]
Generated Node #0,0,0: 74:[71, 3] Operation: 47-44=3
Moving to Node #0,0,0
Current State: 74:[71, 3], Operations: ['92-21=71', '47-44=3']
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
21,
37,
18,
65
] | 34 | [
"21-18=3",
"37+65=102",
"102/3=34"
] | Current State: 34:[21, 37, 18, 65], Operations: []
Exploring Operation: 21-18=3, Resulting Numbers: [37, 65, 3]
Generated Node #2: [37, 65, 3] from Operation: 21-18=3
Current State: 34:[37, 65, 3], Operations: ['21-18=3']
Exploring Operation: 37+65=102, Resulting Numbers: [3, 102]
Generated Node #3: [3, 102] from Operation: 37+65=102
Current State: 34:[3, 102], Operations: ['21-18=3', '37+65=102']
Exploring Operation: 102/3=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[21, 37, 18, 65], Operations: []
Exploring Operation: 65-37=28, Resulting Numbers: [21, 18, 28]
Generated Node #0,0: 34:[21, 18, 28] Operation: 65-37=28
Moving to Node #0,0
Current State: 34:[21, 18, 28], Operations: ['65-37=28']
Exploring Operation: 28-21=7, Resulting Numbers: [18, 7]
Generated Node #0,0,0: 34:[18, 7] Operation: 28-21=7
Moving to Node #0,0,0
Current State: 34:[18, 7], Operations: ['65-37=28', '28-21=7']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,34 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
3,
64,
21,
78
] | 97 | [
"21+78=99",
"99/3=33",
"64+33=97"
] | Current State: 97:[3, 64, 21, 78], Operations: []
Exploring Operation: 21+78=99, Resulting Numbers: [3, 64, 99]
Generated Node #2: [3, 64, 99] from Operation: 21+78=99
Current State: 97:[3, 64, 99], Operations: ['21+78=99']
Exploring Operation: 99/3=33, Resulting Numbers: [64, 33]
Generated Node #3: [64, 33] from Operation: 99/3=33
Current State: 97:[64, 33], Operations: ['21+78=99', '99/3=33']
Exploring Operation: 64+33=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[3, 64, 21, 78], Operations: []
Exploring Operation: 3*21=63, Resulting Numbers: [64, 78, 63]
Generated Node #0,0: 97:[64, 78, 63] Operation: 3*21=63
Exploring Operation: 3+78=81, Resulting Numbers: [64, 21, 81]
Generated Node #0,1: 97:[64, 21, 81] Operation: 3+78=81
Exploring Operation: 64+21=85, Resulting Numbers: [3, 78, 85]
Generated Node #0,2: 97:[3, 78, 85] Operation: 64+21=85
Exploring Operation: 3+21=24, Resulting Numbers: [64, 78, 24]
Generated Node #0,3: 97:[64, 78, 24] Operation: 3+21=24
Exploring Operation: 3+64=67, Resulting Numbers: [21, 78, 67]
Generated Node #0,4: 97:[21, 78, 67] Operation: 3+64=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[64, 78, 63], Operations: ['3*21=63']
Exploring Operation: 64-63=1, Resulting Numbers: [78, 1]
Generated Node #0,0,0: 97:[78, 1] Operation: 64-63=1
Exploring Operation: 78-63=15, Resulting Numbers: [64, 15]
Generated Node #0,0,1: 97:[64, 15] Operation: 78-63=15
Exploring Operation: 64+63=127, Resulting Numbers: [78, 127]
Generated Node #0,0,2: 97:[78, 127] Operation: 64+63=127
Exploring Operation: 64+78=142, Resulting Numbers: [63, 142]
Generated Node #0,0,3: 97:[63, 142] Operation: 64+78=142
Exploring Operation: 78+63=141, Resulting Numbers: [64, 141]
Generated Node #0,0,4: 97:[64, 141] Operation: 78+63=141
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 97:[78, 127], Operations: ['3*21=63', '64+63=127']
Exploring Operation: 78*127=9906, Resulting Numbers: [9906]
9906,97 unequal: No Solution
Exploring Operation: 127-78=49, Resulting Numbers: [49]
49,97 unequal: No Solution
Exploring Operation: 78+127=205, Resulting Numbers: [205]
205,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 97:[64, 141], Operations: ['3*21=63', '78+63=141']
Exploring Operation: 64*141=9024, Resulting Numbers: [9024]
9024,97 unequal: No Solution
Exploring Operation: 64+141=205, Resulting Numbers: [205]
205,97 unequal: No Solution
Exploring Operation: 141-64=77, Resulting Numbers: [77]
77,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 97:[63, 142], Operations: ['3*21=63', '64+78=142']
Exploring Operation: 63*142=8946, Resulting Numbers: [8946]
8946,97 unequal: No Solution
Exploring Operation: 142-63=79, Resulting Numbers: [79]
79,97 unequal: No Solution
Exploring Operation: 63+142=205, Resulting Numbers: [205]
205,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[78, 1], Operations: ['3*21=63', '64-63=1']
Exploring Operation: 78+1=79, Resulting Numbers: [79]
79,97 unequal: No Solution
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,97 unequal: No Solution
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,97 unequal: No Solution
Exploring Operation: 78*1=78, Resulting Numbers: [78]
78,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 97:[64, 15], Operations: ['3*21=63', '78-63=15']
Exploring Operation: 64*15=960, Resulting Numbers: [960]
960,97 unequal: No Solution
Exploring Operation: 64-15=49, Resulting Numbers: [49]
49,97 unequal: No Solution
Exploring Operation: 64+15=79, Resulting Numbers: [79]
79,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[64, 21, 81], Operations: ['3+78=81']
Exploring Operation: 64-21=43, Resulting Numbers: [81, 43]
Generated Node #0,1,0: 97:[81, 43] Operation: 64-21=43
Exploring Operation: 64+21=85, Resulting Numbers: [81, 85]
Generated Node #0,1,1: 97:[81, 85] Operation: 64+21=85
Exploring Operation: 81-21=60, Resulting Numbers: [64, 60]
Generated Node #0,1,2: 97:[64, 60] Operation: 81-21=60
Exploring Operation: 64+81=145, Resulting Numbers: [21, 145]
Generated Node #0,1,3: 97:[21, 145] Operation: 64+81=145
Exploring Operation: 21+81=102, Resulting Numbers: [64, 102]
Generated Node #0,1,4: 97:[64, 102] Operation: 21+81=102
Moving to Node #0,1,1
Current State: 97:[81, 85], Operations: ['3+78=81', '64+21=85']
Exploring Operation: 81+85=166, Resulting Numbers: [166]
166,97 unequal: No Solution
Exploring Operation: 81*85=6885, Resulting Numbers: [6885]
6885,97 unequal: No Solution
Exploring Operation: 85-81=4, Resulting Numbers: [4]
4,97 unequal: No Solution
Moving to Node #0,1,4
Current State: 97:[64, 102], Operations: ['3+78=81', '21+81=102']
Exploring Operation: 64+102=166, Resulting Numbers: [166]
166,97 unequal: No Solution
Exploring Operation: 64*102=6528, Resulting Numbers: [6528]
6528,97 unequal: No Solution
Exploring Operation: 102-64=38, Resulting Numbers: [38]
38,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[81, 43], Operations: ['3+78=81', '64-21=43']
Exploring Operation: 81+43=124, Resulting Numbers: [124]
124,97 unequal: No Solution
Exploring Operation: 81-43=38, Resulting Numbers: [38]
38,97 unequal: No Solution
Exploring Operation: 81*43=3483, Resulting Numbers: [3483]
3483,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[64, 60], Operations: ['3+78=81', '81-21=60']
Exploring Operation: 64+60=124, Resulting Numbers: [124]
124,97 unequal: No Solution
Exploring Operation: 64-60=4, Resulting Numbers: [4]
4,97 unequal: No Solution
Exploring Operation: 64*60=3840, Resulting Numbers: [3840]
3840,97 unequal: No Solution
Moving to Node #0,1,3
Current State: 97:[21, 145], Operations: ['3+78=81', '64+81=145']
Exploring Operation: 21+145=166, Resulting Numbers: [166]
166,97 unequal: No Solution
Exploring Operation: 21*145=3045, Resulting Numbers: [3045]
3045,97 unequal: No Solution
Exploring Operation: 145-21=124, Resulting Numbers: [124]
124,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 97:[3, 78, 85], Operations: ['64+21=85']
Exploring Operation: 3+85=88, Resulting Numbers: [78, 88]
Generated Node #0,2,0: 97:[78, 88] Operation: 3+85=88
Exploring Operation: 85-3=82, Resulting Numbers: [78, 82]
Generated Node #0,2,1: 97:[78, 82] Operation: 85-3=82
Exploring Operation: 78-3=75, Resulting Numbers: [85, 75]
Generated Node #0,2,2: 97:[85, 75] Operation: 78-3=75
Exploring Operation: 78/3=26, Resulting Numbers: [85, 26]
Generated Node #0,2,3: 97:[85, 26] Operation: 78/3=26
Exploring Operation: 3+78=81, Resulting Numbers: [85, 81]
Generated Node #0,2,4: 97:[85, 81] Operation: 3+78=81
Moving to Node #0,2,0
Current State: 97:[78, 88], Operations: ['64+21=85', '3+85=88']
Exploring Operation: 78+88=166, Resulting Numbers: [166]
166,97 unequal: No Solution
Exploring Operation: 78*88=6864, Resulting Numbers: [6864]
6864,97 unequal: No Solution
Exploring Operation: 88-78=10, Resulting Numbers: [10]
10,97 unequal: No Solution
Moving to Node #0,2,4
Current State: 97:[85, 81], Operations: ['64+21=85', '3+78=81']
Exploring Operation: 85-81=4, Resulting Numbers: [4]
4,97 unequal: No Solution
Exploring Operation: 85+81=166, Resulting Numbers: [166]
166,97 unequal: No Solution
Exploring Operation: 85*81=6885, Resulting Numbers: [6885]
6885,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[78, 82], Operations: ['64+21=85', '85-3=82']
Exploring Operation: 78*82=6396, Resulting Numbers: [6396]
6396,97 unequal: No Solution
Exploring Operation: 78+82=160, Resulting Numbers: [160]
160,97 unequal: No Solution
Exploring Operation: 82-78=4, Resulting Numbers: [4]
4,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[85, 75], Operations: ['64+21=85', '78-3=75']
Exploring Operation: 85-75=10, Resulting Numbers: [10]
10,97 unequal: No Solution
Exploring Operation: 85+75=160, Resulting Numbers: [160]
160,97 unequal: No Solution
Exploring Operation: 85*75=6375, Resulting Numbers: [6375]
6375,97 unequal: No Solution
Moving to Node #0,2,3
Current State: 97:[85, 26], Operations: ['64+21=85', '78/3=26']
Exploring Operation: 85*26=2210, Resulting Numbers: [2210]
2210,97 unequal: No Solution
Exploring Operation: 85+26=111, Resulting Numbers: [111]
111,97 unequal: No Solution
Exploring Operation: 85-26=59, Resulting Numbers: [59]
59,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 97:[64, 78, 24], Operations: ['3+21=24']
Exploring Operation: 78-24=54, Resulting Numbers: [64, 54]
Generated Node #0,3,0: 97:[64, 54] Operation: 78-24=54
Exploring Operation: 78+24=102, Resulting Numbers: [64, 102]
Generated Node #0,3,1: 97:[64, 102] Operation: 78+24=102
Exploring Operation: 64+78=142, Resulting Numbers: [24, 142]
Generated Node #0,3,2: 97:[24, 142] Operation: 64+78=142
Exploring Operation: 64+24=88, Resulting Numbers: [78, 88]
Generated Node #0,3,3: 97:[78, 88] Operation: 64+24=88
Exploring Operation: 64-24=40, Resulting Numbers: [78, 40]
Generated Node #0,3,4: 97:[78, 40] Operation: 64-24=40
Moving to Node #0,3,3
Current State: 97:[78, 88], Operations: ['3+21=24', '64+24=88']
Exploring Operation: 78+88=166, Resulting Numbers: [166]
166,97 unequal: No Solution
Exploring Operation: 78*88=6864, Resulting Numbers: [6864]
6864,97 unequal: No Solution
Exploring Operation: 88-78=10, Resulting Numbers: [10]
10,97 unequal: No Solution
Moving to Node #0,3,1
Current State: 97:[64, 102], Operations: ['3+21=24', '78+24=102']
Exploring Operation: 64*102=6528, Resulting Numbers: [6528]
6528,97 unequal: No Solution
Exploring Operation: 64+102=166, Resulting Numbers: [166]
166,97 unequal: No Solution
Exploring Operation: 102-64=38, Resulting Numbers: [38]
38,97 unequal: No Solution
Moving to Node #0,3,0
Current State: 97:[64, 54], Operations: ['3+21=24', '78-24=54']
Exploring Operation: 64-54=10, Resulting Numbers: [10]
10,97 unequal: No Solution
Exploring Operation: 64+54=118, Resulting Numbers: [118]
118,97 unequal: No Solution
Exploring Operation: 64*54=3456, Resulting Numbers: [3456]
3456,97 unequal: No Solution
Moving to Node #0,3,4
Current State: 97:[78, 40], Operations: ['3+21=24', '64-24=40']
Exploring Operation: 78*40=3120, Resulting Numbers: [3120]
3120,97 unequal: No Solution
Exploring Operation: 78-40=38, Resulting Numbers: [38]
38,97 unequal: No Solution
Exploring Operation: 78+40=118, Resulting Numbers: [118]
118,97 unequal: No Solution
Moving to Node #0,3,2
Current State: 97:[24, 142], Operations: ['3+21=24', '64+78=142']
Exploring Operation: 24*142=3408, Resulting Numbers: [3408]
3408,97 unequal: No Solution
Exploring Operation: 24+142=166, Resulting Numbers: [166]
166,97 unequal: No Solution
Exploring Operation: 142-24=118, Resulting Numbers: [118]
118,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 97:[21, 78, 67], Operations: ['3+64=67']
Exploring Operation: 67-21=46, Resulting Numbers: [78, 46]
Generated Node #0,4,0: 97:[78, 46] Operation: 67-21=46
Exploring Operation: 78-21=57, Resulting Numbers: [67, 57]
Generated Node #0,4,1: 97:[67, 57] Operation: 78-21=57
Exploring Operation: 21+67=88, Resulting Numbers: [78, 88]
Generated Node #0,4,2: 97:[78, 88] Operation: 21+67=88
Exploring Operation: 78+67=145, Resulting Numbers: [21, 145]
Generated Node #0,4,3: 97:[21, 145] Operation: 78+67=145
Exploring Operation: 21+78=99, Resulting Numbers: [67, 99]
Generated Node #0,4,4: 97:[67, 99] Operation: 21+78=99
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 97:[78, 88], Operations: ['3+64=67', '21+67=88']
Exploring Operation: 78*88=6864, Resulting Numbers: [6864]
6864,97 unequal: No Solution
Exploring Operation: 78+88=166, Resulting Numbers: [166]
166,97 unequal: No Solution
Exploring Operation: 88-78=10, Resulting Numbers: [10]
10,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 97:[67, 99], Operations: ['3+64=67', '21+78=99']
Exploring Operation: 99-67=32, Resulting Numbers: [32]
32,97 unequal: No Solution
Exploring Operation: 67*99=6633, Resulting Numbers: [6633]
6633,97 unequal: No Solution
Exploring Operation: 67+99=166, Resulting Numbers: [166]
166,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 97:[78, 46], Operations: ['3+64=67', '67-21=46']
Exploring Operation: 78-46=32, Resulting Numbers: [32]
32,97 unequal: No Solution
Exploring Operation: 78*46=3588, Resulting Numbers: [3588]
3588,97 unequal: No Solution
Exploring Operation: 78+46=124, Resulting Numbers: [124]
124,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 97:[67, 57], Operations: ['3+64=67', '78-21=57']
Exploring Operation: 67-57=10, Resulting Numbers: [10]
10,97 unequal: No Solution
Exploring Operation: 67*57=3819, Resulting Numbers: [3819]
3819,97 unequal: No Solution
Exploring Operation: 67+57=124, Resulting Numbers: [124]
124,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 97:[21, 145], Operations: ['3+64=67', '78+67=145']
Exploring Operation: 145-21=124, Resulting Numbers: [124]
124,97 unequal: No Solution
Exploring Operation: 21+145=166, Resulting Numbers: [166]
166,97 unequal: No Solution
Exploring Operation: 21*145=3045, Resulting Numbers: [3045]
3045,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
8,
10,
48,
52
] | 84 | [
"8*10=80",
"52-48=4",
"80+4=84"
] | Current State: 84:[8, 10, 48, 52], Operations: []
Exploring Operation: 8*10=80, Resulting Numbers: [48, 52, 80]
Generated Node #2: [48, 52, 80] from Operation: 8*10=80
Current State: 84:[48, 52, 80], Operations: ['8*10=80']
Exploring Operation: 52-48=4, Resulting Numbers: [80, 4]
Generated Node #3: [80, 4] from Operation: 52-48=4
Current State: 84:[80, 4], Operations: ['8*10=80', '52-48=4']
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[8, 10, 48, 52], Operations: []
Exploring Operation: 52-48=4, Resulting Numbers: [8, 10, 4]
Generated Node #0,0: 84:[8, 10, 4] Operation: 52-48=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[8, 10, 4], Operations: ['52-48=4']
Exploring Operation: 10-8=2, Resulting Numbers: [4, 2]
Generated Node #0,0,0: 84:[4, 2] Operation: 10-8=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[4, 2], Operations: ['52-48=4', '10-8=2']
Exploring Operation: 4+2=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_1 | sum_heuristic |
[
31,
64,
81,
84
] | 29 | [
"84-81=3",
"31*3=93",
"93-64=29"
] | Current State: 29:[31, 64, 81, 84], Operations: []
Exploring Operation: 84-81=3, Resulting Numbers: [31, 64, 3]
Generated Node #2: [31, 64, 3] from Operation: 84-81=3
Current State: 29:[31, 64, 3], Operations: ['84-81=3']
Exploring Operation: 31*3=93, Resulting Numbers: [64, 93]
Generated Node #3: [64, 93] from Operation: 31*3=93
Current State: 29:[64, 93], Operations: ['84-81=3', '31*3=93']
Exploring Operation: 93-64=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[31, 64, 81, 84], Operations: []
Exploring Operation: 84-64=20, Resulting Numbers: [31, 81, 20]
Generated Node #0,0: 29:[31, 81, 20] Operation: 84-64=20
Exploring Operation: 84-81=3, Resulting Numbers: [31, 64, 3]
Generated Node #0,1: 29:[31, 64, 3] Operation: 84-81=3
Moving to Node #0,0
Current State: 29:[31, 81, 20], Operations: ['84-64=20']
Exploring Operation: 81-20=61, Resulting Numbers: [31, 61]
Generated Node #0,0,0: 29:[31, 61] Operation: 81-20=61
Exploring Operation: 81-31=50, Resulting Numbers: [20, 50]
Generated Node #0,0,1: 29:[20, 50] Operation: 81-31=50
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[20, 50], Operations: ['84-64=20', '81-31=50']
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 20+50=70, Resulting Numbers: [70]
70,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,0
Current State: 29:[31, 61], Operations: ['84-64=20', '81-20=61']
Exploring Operation: 61-31=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 31+61=92, Resulting Numbers: [92]
92,29 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: 29:[31, 64, 3], Operations: ['84-81=3']
Exploring Operation: 64-31=33, Resulting Numbers: [3, 33]
Generated Node #0,1,0: 29:[3, 33] Operation: 64-31=33
Exploring Operation: 64-3=61, Resulting Numbers: [31, 61]
Generated Node #0,1,1: 29:[31, 61] Operation: 64-3=61
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[3, 33], Operations: ['84-81=3', '64-31=33']
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,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,1
Current State: 29:[31, 61], Operations: ['84-81=3', '64-3=61']
Exploring Operation: 31+61=92, Resulting Numbers: [92]
92,29 unequal: No Solution
Exploring Operation: 61-31=30, Resulting Numbers: [30]
30,29 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 |
[
34,
32,
46,
23
] | 43 | [
"34+32=66",
"46-23=23",
"66-23=43"
] | Current State: 43:[34, 32, 46, 23], Operations: []
Exploring Operation: 34+32=66, Resulting Numbers: [46, 23, 66]
Generated Node #2: [46, 23, 66] from Operation: 34+32=66
Current State: 43:[46, 23, 66], Operations: ['34+32=66']
Exploring Operation: 46-23=23, Resulting Numbers: [66, 23]
Generated Node #3: [66, 23] from Operation: 46-23=23
Current State: 43:[66, 23], Operations: ['34+32=66', '46-23=23']
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[34, 32, 46, 23], Operations: []
Exploring Operation: 32+23=55, Resulting Numbers: [34, 46, 55]
Generated Node #0,0: 43:[34, 46, 55] Operation: 32+23=55
Moving to Node #0,0
Current State: 43:[34, 46, 55], Operations: ['32+23=55']
Exploring Operation: 55-34=21, Resulting Numbers: [46, 21]
Generated Node #0,0,0: 43:[46, 21] Operation: 55-34=21
Moving to Node #0,0,0
Current State: 43:[46, 21], Operations: ['32+23=55', '55-34=21']
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,43 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
92,
23,
56,
27
] | 78 | [
"27-23=4",
"56/4=14",
"92-14=78"
] | Current State: 78:[92, 23, 56, 27], Operations: []
Exploring Operation: 27-23=4, Resulting Numbers: [92, 56, 4]
Generated Node #2: [92, 56, 4] from Operation: 27-23=4
Current State: 78:[92, 56, 4], Operations: ['27-23=4']
Exploring Operation: 56/4=14, Resulting Numbers: [92, 14]
Generated Node #3: [92, 14] from Operation: 56/4=14
Current State: 78:[92, 14], Operations: ['27-23=4', '56/4=14']
Exploring Operation: 92-14=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[92, 23, 56, 27], Operations: []
Exploring Operation: 92-56=36, Resulting Numbers: [23, 27, 36]
Generated Node #0,0: 78:[23, 27, 36] Operation: 92-56=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[23, 27, 36], Operations: ['92-56=36']
Exploring Operation: 36-23=13, Resulting Numbers: [27, 13]
Generated Node #0,0,0: 78:[27, 13] Operation: 36-23=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[27, 13], Operations: ['92-56=36', '36-23=13']
Exploring Operation: 27+13=40, Resulting Numbers: [40]
40,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
74,
70,
33,
90
] | 45 | [
"70-33=37",
"74/37=2",
"90/2=45"
] | Current State: 45:[74, 70, 33, 90], Operations: []
Exploring Operation: 70-33=37, Resulting Numbers: [74, 90, 37]
Generated Node #2: [74, 90, 37] from Operation: 70-33=37
Current State: 45:[74, 90, 37], Operations: ['70-33=37']
Exploring Operation: 74/37=2, Resulting Numbers: [90, 2]
Generated Node #3: [90, 2] from Operation: 74/37=2
Current State: 45:[90, 2], Operations: ['70-33=37', '74/37=2']
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[74, 70, 33, 90], Operations: []
Exploring Operation: 90-74=16, Resulting Numbers: [70, 33, 16]
Generated Node #0,0: 45:[70, 33, 16] Operation: 90-74=16
Exploring Operation: 90-33=57, Resulting Numbers: [74, 70, 57]
Generated Node #0,1: 45:[74, 70, 57] Operation: 90-33=57
Exploring Operation: 90-70=20, Resulting Numbers: [74, 33, 20]
Generated Node #0,2: 45:[74, 33, 20] Operation: 90-70=20
Exploring Operation: 74-70=4, Resulting Numbers: [33, 90, 4]
Generated Node #0,3: 45:[33, 90, 4] Operation: 74-70=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[70, 33, 16], Operations: ['90-74=16']
Exploring Operation: 70-16=54, Resulting Numbers: [33, 54]
Generated Node #0,0,0: 45:[33, 54] Operation: 70-16=54
Exploring Operation: 33+16=49, Resulting Numbers: [70, 49]
Generated Node #0,0,1: 45:[70, 49] Operation: 33+16=49
Exploring Operation: 33-16=17, Resulting Numbers: [70, 17]
Generated Node #0,0,2: 45:[70, 17] Operation: 33-16=17
Exploring Operation: 70-33=37, Resulting Numbers: [16, 37]
Generated Node #0,0,3: 45:[16, 37] Operation: 70-33=37
Moving to Node #0,0,3
Current State: 45:[16, 37], Operations: ['90-74=16', '70-33=37']
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 16+37=53, Resulting Numbers: [53]
53,45 unequal: No Solution
Exploring Operation: 16*37=592, Resulting Numbers: [592]
592,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[33, 54], Operations: ['90-74=16', '70-16=54']
Exploring Operation: 33*54=1782, Resulting Numbers: [1782]
1782,45 unequal: No Solution
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 33+54=87, Resulting Numbers: [87]
87,45 unequal: No Solution
Moving to Node #0,0,2
Current State: 45:[70, 17], Operations: ['90-74=16', '33-16=17']
Exploring Operation: 70*17=1190, Resulting Numbers: [1190]
1190,45 unequal: No Solution
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,45 unequal: No Solution
Exploring Operation: 70+17=87, Resulting Numbers: [87]
87,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[70, 49], Operations: ['90-74=16', '33+16=49']
Exploring Operation: 70+49=119, Resulting Numbers: [119]
119,45 unequal: No Solution
Exploring Operation: 70-49=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 70*49=3430, Resulting Numbers: [3430]
3430,45 unequal: No Solution
No 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: 45:[74, 33, 20], Operations: ['90-70=20']
Exploring Operation: 33+20=53, Resulting Numbers: [74, 53]
Generated Node #0,2,0: 45:[74, 53] Operation: 33+20=53
Exploring Operation: 74-33=41, Resulting Numbers: [20, 41]
Generated Node #0,2,1: 45:[20, 41] Operation: 74-33=41
Exploring Operation: 33-20=13, Resulting Numbers: [74, 13]
Generated Node #0,2,2: 45:[74, 13] Operation: 33-20=13
Exploring Operation: 74-20=54, Resulting Numbers: [33, 54]
Generated Node #0,2,3: 45:[33, 54] Operation: 74-20=54
Moving to Node #0,2,1
Current State: 45:[20, 41], Operations: ['90-70=20', '74-33=41']
Exploring Operation: 20*41=820, Resulting Numbers: [820]
820,45 unequal: No Solution
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 20+41=61, Resulting Numbers: [61]
61,45 unequal: No Solution
Moving to Node #0,2,3
Current State: 45:[33, 54], Operations: ['90-70=20', '74-20=54']
Exploring Operation: 33*54=1782, Resulting Numbers: [1782]
1782,45 unequal: No Solution
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 33+54=87, Resulting Numbers: [87]
87,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[74, 13], Operations: ['90-70=20', '33-20=13']
Exploring Operation: 74-13=61, Resulting Numbers: [61]
61,45 unequal: No Solution
Exploring Operation: 74+13=87, Resulting Numbers: [87]
87,45 unequal: No Solution
Exploring Operation: 74*13=962, Resulting Numbers: [962]
962,45 unequal: No Solution
Moving to Node #0,2,0
Current State: 45:[74, 53], Operations: ['90-70=20', '33+20=53']
Exploring Operation: 74*53=3922, Resulting Numbers: [3922]
3922,45 unequal: No Solution
Exploring Operation: 74-53=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 74+53=127, Resulting Numbers: [127]
127,45 unequal: No Solution
No 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: 45:[33, 90, 4], Operations: ['74-70=4']
Exploring Operation: 90-4=86, Resulting Numbers: [33, 86]
Generated Node #0,3,0: 45:[33, 86] Operation: 90-4=86
Exploring Operation: 33+4=37, Resulting Numbers: [90, 37]
Generated Node #0,3,1: 45:[90, 37] Operation: 33+4=37
Exploring Operation: 90-33=57, Resulting Numbers: [4, 57]
Generated Node #0,3,2: 45:[4, 57] Operation: 90-33=57
Exploring Operation: 33-4=29, Resulting Numbers: [90, 29]
Generated Node #0,3,3: 45:[90, 29] Operation: 33-4=29
Moving to Node #0,3,2
Current State: 45:[4, 57], Operations: ['74-70=4', '90-33=57']
Exploring Operation: 4*57=228, Resulting Numbers: [228]
228,45 unequal: No Solution
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,45 unequal: No Solution
Exploring Operation: 4+57=61, Resulting Numbers: [61]
61,45 unequal: No Solution
Moving to Node #0,3,1
Current State: 45:[90, 37], Operations: ['74-70=4', '33+4=37']
Exploring Operation: 90+37=127, Resulting Numbers: [127]
127,45 unequal: No Solution
Exploring Operation: 90-37=53, Resulting Numbers: [53]
53,45 unequal: No Solution
Exploring Operation: 90*37=3330, Resulting Numbers: [3330]
3330,45 unequal: No Solution
Moving to Node #0,3,0
Current State: 45:[33, 86], Operations: ['74-70=4', '90-4=86']
Exploring Operation: 86-33=53, Resulting Numbers: [53]
53,45 unequal: No Solution
Exploring Operation: 33*86=2838, Resulting Numbers: [2838]
2838,45 unequal: No Solution
Exploring Operation: 33+86=119, Resulting Numbers: [119]
119,45 unequal: No Solution
Moving to Node #0,3,3
Current State: 45:[90, 29], Operations: ['74-70=4', '33-4=29']
Exploring Operation: 90*29=2610, Resulting Numbers: [2610]
2610,45 unequal: No Solution
Exploring Operation: 90+29=119, Resulting Numbers: [119]
119,45 unequal: No Solution
Exploring Operation: 90-29=61, Resulting Numbers: [61]
61,45 unequal: No Solution
No 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: 45:[74, 70, 57], Operations: ['90-33=57']
Exploring Operation: 70-57=13, Resulting Numbers: [74, 13]
Generated Node #0,1,0: 45:[74, 13] Operation: 70-57=13
Exploring Operation: 74-70=4, Resulting Numbers: [57, 4]
Generated Node #0,1,1: 45:[57, 4] Operation: 74-70=4
Exploring Operation: 74-57=17, Resulting Numbers: [70, 17]
Generated Node #0,1,2: 45:[70, 17] Operation: 74-57=17
Exploring Operation: 74+70=144, Resulting Numbers: [57, 144]
Generated Node #0,1,3: 45:[57, 144] Operation: 74+70=144
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 45:[57, 4], Operations: ['90-33=57', '74-70=4']
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,45 unequal: No Solution
Exploring Operation: 57+4=61, Resulting Numbers: [61]
61,45 unequal: No Solution
Exploring Operation: 57*4=228, Resulting Numbers: [228]
228,45 unequal: No Solution
No 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: 45:[70, 17], Operations: ['90-33=57', '74-57=17']
Exploring Operation: 70*17=1190, Resulting Numbers: [1190]
1190,45 unequal: No Solution
Exploring Operation: 70+17=87, Resulting Numbers: [87]
87,45 unequal: No Solution
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,45 unequal: No Solution
No 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: 45:[74, 13], Operations: ['90-33=57', '70-57=13']
Exploring Operation: 74-13=61, Resulting Numbers: [61]
61,45 unequal: No Solution
Exploring Operation: 74*13=962, Resulting Numbers: [962]
962,45 unequal: No Solution
Exploring Operation: 74+13=87, Resulting Numbers: [87]
87,45 unequal: No Solution
No 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: 45:[57, 144], Operations: ['90-33=57', '74+70=144']
Exploring Operation: 144-57=87, Resulting Numbers: [87]
87,45 unequal: No Solution
Exploring Operation: 57+144=201, Resulting Numbers: [201]
201,45 unequal: No Solution
Exploring Operation: 57*144=8208, Resulting Numbers: [8208]
8208,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
74,
42,
75,
16
] | 77 | [
"74-42=32",
"32/16=2",
"75+2=77"
] | Current State: 77:[74, 42, 75, 16], Operations: []
Exploring Operation: 74-42=32, Resulting Numbers: [75, 16, 32]
Generated Node #2: [75, 16, 32] from Operation: 74-42=32
Current State: 77:[75, 16, 32], Operations: ['74-42=32']
Exploring Operation: 32/16=2, Resulting Numbers: [75, 2]
Generated Node #3: [75, 2] from Operation: 32/16=2
Current State: 77:[75, 2], Operations: ['74-42=32', '32/16=2']
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[74, 42, 75, 16], Operations: []
Exploring Operation: 42-16=26, Resulting Numbers: [74, 75, 26]
Generated Node #0,0: 77:[74, 75, 26] Operation: 42-16=26
Exploring Operation: 42+16=58, Resulting Numbers: [74, 75, 58]
Generated Node #0,1: 77:[74, 75, 58] Operation: 42+16=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[74, 75, 26], Operations: ['42-16=26']
Exploring Operation: 75-74=1, Resulting Numbers: [26, 1]
Generated Node #0,0,0: 77:[26, 1] Operation: 75-74=1
Exploring Operation: 74+26=100, Resulting Numbers: [75, 100]
Generated Node #0,0,1: 77:[75, 100] Operation: 74+26=100
Moving to Node #0,0,0
Current State: 77:[26, 1], Operations: ['42-16=26', '75-74=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[75, 100], Operations: ['42-16=26', '74+26=100']
Exploring Operation: 100-75=25, Resulting Numbers: [25]
25,77 unequal: No Solution
Exploring Operation: 75+100=175, Resulting Numbers: [175]
175,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[74, 75, 58], Operations: ['42+16=58']
Exploring Operation: 74-58=16, Resulting Numbers: [75, 16]
Generated Node #0,1,0: 77:[75, 16] Operation: 74-58=16
Exploring Operation: 75-58=17, Resulting Numbers: [74, 17]
Generated Node #0,1,1: 77:[74, 17] Operation: 75-58=17
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 77:[75, 16], Operations: ['42+16=58', '74-58=16']
Exploring Operation: 75+16=91, Resulting Numbers: [91]
91,77 unequal: No Solution
Exploring Operation: 75-16=59, Resulting Numbers: [59]
59,77 unequal: No Solution
No 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: 77:[74, 17], Operations: ['42+16=58', '75-58=17']
Exploring Operation: 74-17=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 74+17=91, Resulting Numbers: [91]
91,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
29,
43,
88,
11
] | 27 | [
"29+43=72",
"88+11=99",
"99-72=27"
] | Current State: 27:[29, 43, 88, 11], Operations: []
Exploring Operation: 29+43=72, Resulting Numbers: [88, 11, 72]
Generated Node #2: [88, 11, 72] from Operation: 29+43=72
Current State: 27:[88, 11, 72], Operations: ['29+43=72']
Exploring Operation: 88+11=99, Resulting Numbers: [72, 99]
Generated Node #3: [72, 99] from Operation: 88+11=99
Current State: 27:[72, 99], Operations: ['29+43=72', '88+11=99']
Exploring Operation: 99-72=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[29, 43, 88, 11], Operations: []
Exploring Operation: 88-43=45, Resulting Numbers: [29, 11, 45]
Generated Node #0,0: 27:[29, 11, 45] Operation: 88-43=45
Exploring Operation: 88/11=8, Resulting Numbers: [29, 43, 8]
Generated Node #0,1: 27:[29, 43, 8] Operation: 88/11=8
Moving to Node #0,1
Current State: 27:[29, 43, 8], Operations: ['88/11=8']
Exploring Operation: 43-29=14, Resulting Numbers: [8, 14]
Generated Node #0,1,0: 27:[8, 14] Operation: 43-29=14
Exploring Operation: 43-8=35, Resulting Numbers: [29, 35]
Generated Node #0,1,1: 27:[29, 35] Operation: 43-8=35
Moving to Node #0,0
Current State: 27:[29, 11, 45], Operations: ['88-43=45']
Exploring Operation: 45-11=34, Resulting Numbers: [29, 34]
Generated Node #0,0,0: 27:[29, 34] Operation: 45-11=34
Exploring Operation: 45-29=16, Resulting Numbers: [11, 16]
Generated Node #0,0,1: 27:[11, 16] Operation: 45-29=16
Moving to Node #0,1,0
Current State: 27:[8, 14], Operations: ['88/11=8', '43-29=14']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[29, 34], Operations: ['88-43=45', '45-11=34']
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 29+34=63, Resulting Numbers: [63]
63,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[11, 16], Operations: ['88-43=45', '45-29=16']
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[29, 43, 88, 11], Operations: []
Exploring Operation: 88-43=45, Resulting Numbers: [29, 11, 45]
Generated Node #0,0: 27:[29, 11, 45] Operation: 88-43=45
Moving to Node #0,0
Current State: 27:[29, 11, 45], Operations: ['88-43=45']
Exploring Operation: 45-29=16, Resulting Numbers: [11, 16]
Generated Node #0,0,1: 27:[11, 16] Operation: 45-29=16
Moving to Node #0,0,1
Current State: 27:[11, 16], Operations: ['88-43=45', '45-29=16']
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
41,
69,
4,
13
] | 19 | [
"69-41=28",
"13-4=9",
"28-9=19"
] | Current State: 19:[41, 69, 4, 13], Operations: []
Exploring Operation: 69-41=28, Resulting Numbers: [4, 13, 28]
Generated Node #2: [4, 13, 28] from Operation: 69-41=28
Current State: 19:[4, 13, 28], Operations: ['69-41=28']
Exploring Operation: 13-4=9, Resulting Numbers: [28, 9]
Generated Node #3: [28, 9] from Operation: 13-4=9
Current State: 19:[28, 9], Operations: ['69-41=28', '13-4=9']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[41, 69, 4, 13], Operations: []
Exploring Operation: 41-13=28, Resulting Numbers: [69, 4, 28]
Generated Node #0,0: 19:[69, 4, 28] Operation: 41-13=28
Exploring Operation: 69-4=65, Resulting Numbers: [41, 13, 65]
Generated Node #0,1: 19:[41, 13, 65] Operation: 69-4=65
Exploring Operation: 69-41=28, Resulting Numbers: [4, 13, 28]
Generated Node #0,2: 19:[4, 13, 28] Operation: 69-41=28
Exploring Operation: 41-4=37, Resulting Numbers: [69, 13, 37]
Generated Node #0,3: 19:[69, 13, 37] Operation: 41-4=37
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[4, 13, 28], Operations: ['69-41=28']
Exploring Operation: 13-4=9, Resulting Numbers: [28, 9]
Generated Node #0,2,0: 19:[28, 9] Operation: 13-4=9
Exploring Operation: 4+13=17, Resulting Numbers: [28, 17]
Generated Node #0,2,1: 19:[28, 17] Operation: 4+13=17
Exploring Operation: 28-4=24, Resulting Numbers: [13, 24]
Generated Node #0,2,2: 19:[13, 24] Operation: 28-4=24
Exploring Operation: 28/4=7, Resulting Numbers: [13, 7]
Generated Node #0,2,3: 19:[13, 7] Operation: 28/4=7
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 19:[28, 17], Operations: ['69-41=28', '4+13=17']
Exploring Operation: 28+17=45, Resulting Numbers: [45]
45,19 unequal: No Solution
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Exploring Operation: 28*17=476, Resulting Numbers: [476]
476,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 19:[13, 24], Operations: ['69-41=28', '28-4=24']
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Exploring Operation: 13+24=37, Resulting Numbers: [37]
37,19 unequal: No Solution
Exploring Operation: 13*24=312, Resulting Numbers: [312]
312,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 19:[13, 7], Operations: ['69-41=28', '28/4=7']
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,19 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 19:[28, 9], Operations: ['69-41=28', '13-4=9']
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,19 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[41, 69, 4, 13], Operations: []
Exploring Operation: 69-41=28, Resulting Numbers: [4, 13, 28]
Generated Node #0,2: 19:[4, 13, 28] Operation: 69-41=28
Moving to Node #0,2
Current State: 19:[4, 13, 28], Operations: ['69-41=28']
Exploring Operation: 13-4=9, Resulting Numbers: [28, 9]
Generated Node #0,2,0: 19:[28, 9] Operation: 13-4=9
Moving to Node #0,2,0
Current State: 19:[28, 9], Operations: ['69-41=28', '13-4=9']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_4 | sum_heuristic |
[
1,
59,
26,
8
] | 42 | [
"1+59=60",
"26-8=18",
"60-18=42"
] | Current State: 42:[1, 59, 26, 8], Operations: []
Exploring Operation: 1+59=60, Resulting Numbers: [26, 8, 60]
Generated Node #2: [26, 8, 60] from Operation: 1+59=60
Current State: 42:[26, 8, 60], Operations: ['1+59=60']
Exploring Operation: 26-8=18, Resulting Numbers: [60, 18]
Generated Node #3: [60, 18] from Operation: 26-8=18
Current State: 42:[60, 18], Operations: ['1+59=60', '26-8=18']
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[1, 59, 26, 8], Operations: []
Exploring Operation: 59-26=33, Resulting Numbers: [1, 8, 33]
Generated Node #0,0: 42:[1, 8, 33] Operation: 59-26=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[1, 8, 33], Operations: ['59-26=33']
Exploring Operation: 8+33=41, Resulting Numbers: [1, 41]
Generated Node #0,0,0: 42:[1, 41] Operation: 8+33=41
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[1, 41], Operations: ['59-26=33', '8+33=41']
Exploring Operation: 1+41=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[1, 59, 26, 8], Operations: []
Exploring Operation: 59-26=33, Resulting Numbers: [1, 8, 33]
Generated Node #0,0: 42:[1, 8, 33] Operation: 59-26=33
Moving to Node #0,0
Current State: 42:[1, 8, 33], Operations: ['59-26=33']
Exploring Operation: 8+33=41, Resulting Numbers: [1, 41]
Generated Node #0,0,0: 42:[1, 41] Operation: 8+33=41
Moving to Node #0,0,0
Current State: 42:[1, 41], Operations: ['59-26=33', '8+33=41']
Exploring Operation: 1+41=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
44,
12,
76,
41
] | 19 | [
"44-41=3",
"12/3=4",
"76/4=19"
] | Current State: 19:[44, 12, 76, 41], Operations: []
Exploring Operation: 44-41=3, Resulting Numbers: [12, 76, 3]
Generated Node #2: [12, 76, 3] from Operation: 44-41=3
Current State: 19:[12, 76, 3], Operations: ['44-41=3']
Exploring Operation: 12/3=4, Resulting Numbers: [76, 4]
Generated Node #3: [76, 4] from Operation: 12/3=4
Current State: 19:[76, 4], Operations: ['44-41=3', '12/3=4']
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[44, 12, 76, 41], Operations: []
Exploring Operation: 76-44=32, Resulting Numbers: [12, 41, 32]
Generated Node #0,0: 19:[12, 41, 32] Operation: 76-44=32
Moving to Node #0,0
Current State: 19:[12, 41, 32], Operations: ['76-44=32']
Exploring Operation: 41-32=9, Resulting Numbers: [12, 9]
Generated Node #0,0,0: 19:[12, 9] Operation: 41-32=9
Moving to Node #0,0,0
Current State: 19:[12, 9], Operations: ['76-44=32', '41-32=9']
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,19 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
12,
86,
40,
37
] | 80 | [
"86-12=74",
"40*74=2960",
"2960/37=80"
] | Current State: 80:[12, 86, 40, 37], Operations: []
Exploring Operation: 86-12=74, Resulting Numbers: [40, 37, 74]
Generated Node #2: [40, 37, 74] from Operation: 86-12=74
Current State: 80:[40, 37, 74], Operations: ['86-12=74']
Exploring Operation: 40*74=2960, Resulting Numbers: [37, 2960]
Generated Node #3: [37, 2960] from Operation: 40*74=2960
Current State: 80:[37, 2960], Operations: ['86-12=74', '40*74=2960']
Exploring Operation: 2960/37=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[12, 86, 40, 37], Operations: []
Exploring Operation: 86-40=46, Resulting Numbers: [12, 37, 46]
Generated Node #0,0: 80:[12, 37, 46] Operation: 86-40=46
Exploring Operation: 86-12=74, Resulting Numbers: [40, 37, 74]
Generated Node #0,1: 80:[40, 37, 74] Operation: 86-12=74
Exploring Operation: 37-12=25, Resulting Numbers: [86, 40, 25]
Generated Node #0,2: 80:[86, 40, 25] Operation: 37-12=25
Exploring Operation: 40-37=3, Resulting Numbers: [12, 86, 3]
Generated Node #0,3: 80:[12, 86, 3] Operation: 40-37=3
Moving to Node #0,1
Current State: 80:[40, 37, 74], Operations: ['86-12=74']
Exploring Operation: 74/37=2, Resulting Numbers: [40, 2]
Generated Node #0,1,0: 80:[40, 2] Operation: 74/37=2
Exploring Operation: 74-37=37, Resulting Numbers: [40, 37]
Generated Node #0,1,1: 80:[40, 37] Operation: 74-37=37
Exploring Operation: 40+37=77, Resulting Numbers: [74, 77]
Generated Node #0,1,2: 80:[74, 77] Operation: 40+37=77
Exploring Operation: 40-37=3, Resulting Numbers: [74, 3]
Generated Node #0,1,3: 80:[74, 3] Operation: 40-37=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 80:[40, 2], Operations: ['86-12=74', '74/37=2']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,80 unequal: No Solution
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[12, 86, 40, 37], Operations: []
Exploring Operation: 86-12=74, Resulting Numbers: [40, 37, 74]
Generated Node #0,1: 80:[40, 37, 74] Operation: 86-12=74
Moving to Node #0,1
Current State: 80:[40, 37, 74], Operations: ['86-12=74']
Exploring Operation: 74/37=2, Resulting Numbers: [40, 2]
Generated Node #0,1,0: 80:[40, 2] Operation: 74/37=2
Moving to Node #0,1,0
Current State: 80:[40, 2], Operations: ['86-12=74', '74/37=2']
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
38,
20,
55,
72
] | 75 | [
"38+20=58",
"72-55=17",
"58+17=75"
] | Current State: 75:[38, 20, 55, 72], Operations: []
Exploring Operation: 38+20=58, Resulting Numbers: [55, 72, 58]
Generated Node #2: [55, 72, 58] from Operation: 38+20=58
Current State: 75:[55, 72, 58], Operations: ['38+20=58']
Exploring Operation: 72-55=17, Resulting Numbers: [58, 17]
Generated Node #3: [58, 17] from Operation: 72-55=17
Current State: 75:[58, 17], Operations: ['38+20=58', '72-55=17']
Exploring Operation: 58+17=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[38, 20, 55, 72], Operations: []
Exploring Operation: 72-55=17, Resulting Numbers: [38, 20, 17]
Generated Node #0,0: 75:[38, 20, 17] Operation: 72-55=17
Exploring Operation: 38-20=18, Resulting Numbers: [55, 72, 18]
Generated Node #0,1: 75:[55, 72, 18] Operation: 38-20=18
Exploring Operation: 38+55=93, Resulting Numbers: [20, 72, 93]
Generated Node #0,2: 75:[20, 72, 93] Operation: 38+55=93
Exploring Operation: 20+55=75, Resulting Numbers: [38, 72, 75]
Generated Node #0,3: 75:[38, 72, 75] Operation: 20+55=75
Exploring Operation: 55-38=17, Resulting Numbers: [20, 72, 17]
Generated Node #0,4: 75:[20, 72, 17] Operation: 55-38=17
Start Sub Search at level 1: Moving to Node #0,4
Current State: 75:[20, 72, 17], Operations: ['55-38=17']
Exploring Operation: 20+17=37, Resulting Numbers: [72, 37]
Generated Node #0,4,0: 75:[72, 37] Operation: 20+17=37
Exploring Operation: 72-20=52, Resulting Numbers: [17, 52]
Generated Node #0,4,1: 75:[17, 52] Operation: 72-20=52
Exploring Operation: 72+17=89, Resulting Numbers: [20, 89]
Generated Node #0,4,2: 75:[20, 89] Operation: 72+17=89
Exploring Operation: 20-17=3, Resulting Numbers: [72, 3]
Generated Node #0,4,3: 75:[72, 3] Operation: 20-17=3
Exploring Operation: 20+72=92, Resulting Numbers: [17, 92]
Generated Node #0,4,4: 75:[17, 92] Operation: 20+72=92
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 75:[72, 3], Operations: ['55-38=17', '20-17=3']
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 72+3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[38, 20, 55, 72], Operations: []
Exploring Operation: 55-38=17, Resulting Numbers: [20, 72, 17]
Generated Node #0,4: 75:[20, 72, 17] Operation: 55-38=17
Moving to Node #0,4
Current State: 75:[20, 72, 17], Operations: ['55-38=17']
Exploring Operation: 20-17=3, Resulting Numbers: [72, 3]
Generated Node #0,4,3: 75:[72, 3] Operation: 20-17=3
Moving to Node #0,4,3
Current State: 75:[72, 3], Operations: ['55-38=17', '20-17=3']
Exploring Operation: 72+3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
45,
34,
11,
60
] | 61 | [
"45-34=11",
"11*11=121",
"121-60=61"
] | Current State: 61:[45, 34, 11, 60], Operations: []
Exploring Operation: 45-34=11, Resulting Numbers: [11, 60, 11]
Generated Node #2: [11, 60, 11] from Operation: 45-34=11
Current State: 61:[11, 60, 11], Operations: ['45-34=11']
Exploring Operation: 11*11=121, Resulting Numbers: [60, 121]
Generated Node #3: [60, 121] from Operation: 11*11=121
Current State: 61:[60, 121], Operations: ['45-34=11', '11*11=121']
Exploring Operation: 121-60=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[45, 34, 11, 60], Operations: []
Exploring Operation: 11+60=71, Resulting Numbers: [45, 34, 71]
Generated Node #0,0: 61:[45, 34, 71] Operation: 11+60=71
Exploring Operation: 45+11=56, Resulting Numbers: [34, 60, 56]
Generated Node #0,1: 61:[34, 60, 56] Operation: 45+11=56
Exploring Operation: 34+11=45, Resulting Numbers: [45, 60, 45]
Generated Node #0,2: 61:[45, 60, 45] Operation: 34+11=45
Exploring Operation: 45-11=34, Resulting Numbers: [34, 60, 34]
Generated Node #0,3: 61:[34, 60, 34] Operation: 45-11=34
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[34, 60, 56], Operations: ['45+11=56']
Exploring Operation: 34+56=90, Resulting Numbers: [60, 90]
Generated Node #0,1,0: 61:[60, 90] Operation: 34+56=90
Exploring Operation: 34+60=94, Resulting Numbers: [56, 94]
Generated Node #0,1,1: 61:[56, 94] Operation: 34+60=94
Exploring Operation: 56-34=22, Resulting Numbers: [60, 22]
Generated Node #0,1,2: 61:[60, 22] Operation: 56-34=22
Exploring Operation: 60-34=26, Resulting Numbers: [56, 26]
Generated Node #0,1,3: 61:[56, 26] Operation: 60-34=26
Moving to Node #0,1,0
Current State: 61:[60, 90], Operations: ['45+11=56', '34+56=90']
Exploring Operation: 90-60=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Exploring Operation: 60+90=150, Resulting Numbers: [150]
150,61 unequal: No Solution
Exploring Operation: 60*90=5400, Resulting Numbers: [5400]
5400,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[56, 94], Operations: ['45+11=56', '34+60=94']
Exploring Operation: 56*94=5264, Resulting Numbers: [5264]
5264,61 unequal: No Solution
Exploring Operation: 56+94=150, Resulting Numbers: [150]
150,61 unequal: No Solution
Exploring Operation: 94-56=38, Resulting Numbers: [38]
38,61 unequal: No Solution
Moving to Node #0,1,3
Current State: 61:[56, 26], Operations: ['45+11=56', '60-34=26']
Exploring Operation: 56+26=82, Resulting Numbers: [82]
82,61 unequal: No Solution
Exploring Operation: 56*26=1456, Resulting Numbers: [1456]
1456,61 unequal: No Solution
Exploring Operation: 56-26=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[60, 22], Operations: ['45+11=56', '56-34=22']
Exploring Operation: 60*22=1320, Resulting Numbers: [1320]
1320,61 unequal: No Solution
Exploring Operation: 60+22=82, Resulting Numbers: [82]
82,61 unequal: No Solution
Exploring Operation: 60-22=38, Resulting Numbers: [38]
38,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[45, 60, 45], Operations: ['34+11=45']
Exploring Operation: 60+45=105, Resulting Numbers: [45, 105]
Generated Node #0,2,0: 61:[45, 105] Operation: 60+45=105
Exploring Operation: 45+60=105, Resulting Numbers: [45, 105]
Generated Node #0,2,1: 61:[45, 105] Operation: 45+60=105
Exploring Operation: 45+45=90, Resulting Numbers: [60, 90]
Generated Node #0,2,2: 61:[60, 90] Operation: 45+45=90
Exploring Operation: 45/45=1, Resulting Numbers: [60, 1]
Generated Node #0,2,3: 61:[60, 1] Operation: 45/45=1
Moving to Node #0,2,2
Current State: 61:[60, 90], Operations: ['34+11=45', '45+45=90']
Exploring Operation: 60+90=150, Resulting Numbers: [150]
150,61 unequal: No Solution
Exploring Operation: 90-60=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Exploring Operation: 60*90=5400, Resulting Numbers: [5400]
5400,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[45, 105], Operations: ['34+11=45', '45+60=105']
Exploring Operation: 45+105=150, Resulting Numbers: [150]
150,61 unequal: No Solution
Exploring Operation: 45*105=4725, Resulting Numbers: [4725]
4725,61 unequal: No Solution
Exploring Operation: 105-45=60, Resulting Numbers: [60]
60,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[45, 105], Operations: ['34+11=45', '60+45=105']
Exploring Operation: 45*105=4725, Resulting Numbers: [4725]
4725,61 unequal: No Solution
Exploring Operation: 105-45=60, Resulting Numbers: [60]
60,61 unequal: No Solution
Exploring Operation: 45+105=150, Resulting Numbers: [150]
150,61 unequal: No Solution
Moving to Node #0,2,3
Current State: 61:[60, 1], Operations: ['34+11=45', '45/45=1']
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,61 unequal: No Solution
Exploring Operation: 60+1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[45, 34, 11, 60], Operations: []
Exploring Operation: 34+11=45, Resulting Numbers: [45, 60, 45]
Generated Node #0,2: 61:[45, 60, 45] Operation: 34+11=45
Moving to Node #0,2
Current State: 61:[45, 60, 45], Operations: ['34+11=45']
Exploring Operation: 45/45=1, Resulting Numbers: [60, 1]
Generated Node #0,2,3: 61:[60, 1] Operation: 45/45=1
Moving to Node #0,2,3
Current State: 61:[60, 1], Operations: ['34+11=45', '45/45=1']
Exploring Operation: 60+1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_4 | mult_heuristic |
[
78,
67,
29,
98
] | 80 | [
"78-67=11",
"98-29=69",
"11+69=80"
] | Current State: 80:[78, 67, 29, 98], Operations: []
Exploring Operation: 78-67=11, Resulting Numbers: [29, 98, 11]
Generated Node #2: [29, 98, 11] from Operation: 78-67=11
Current State: 80:[29, 98, 11], Operations: ['78-67=11']
Exploring Operation: 98-29=69, Resulting Numbers: [11, 69]
Generated Node #3: [11, 69] from Operation: 98-29=69
Current State: 80:[11, 69], Operations: ['78-67=11', '98-29=69']
Exploring Operation: 11+69=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[78, 67, 29, 98], Operations: []
Exploring Operation: 98-67=31, Resulting Numbers: [78, 29, 31]
Generated Node #0,0: 80:[78, 29, 31] Operation: 98-67=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[78, 29, 31], Operations: ['98-67=31']
Exploring Operation: 31-29=2, Resulting Numbers: [78, 2]
Generated Node #0,0,0: 80:[78, 2] Operation: 31-29=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[78, 2], Operations: ['98-67=31', '31-29=2']
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[78, 67, 29, 98], Operations: []
Exploring Operation: 98-67=31, Resulting Numbers: [78, 29, 31]
Generated Node #0,0: 80:[78, 29, 31] Operation: 98-67=31
Moving to Node #0,0
Current State: 80:[78, 29, 31], Operations: ['98-67=31']
Exploring Operation: 31-29=2, Resulting Numbers: [78, 2]
Generated Node #0,0,0: 80:[78, 2] Operation: 31-29=2
Moving to Node #0,0,0
Current State: 80:[78, 2], Operations: ['98-67=31', '31-29=2']
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
74,
50,
24,
20
] | 68 | [
"74-50=24",
"24+20=44",
"24+44=68"
] | Current State: 68:[74, 50, 24, 20], Operations: []
Exploring Operation: 74-50=24, Resulting Numbers: [24, 20, 24]
Generated Node #2: [24, 20, 24] from Operation: 74-50=24
Current State: 68:[24, 20, 24], Operations: ['74-50=24']
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,68 equal: Goal Reached
Exploring Operation: 24+44=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[74, 50, 24, 20], Operations: []
Exploring Operation: 50+24=74, Resulting Numbers: [74, 20, 74]
Generated Node #0,0: 68:[74, 20, 74] Operation: 50+24=74
Exploring Operation: 50+20=70, Resulting Numbers: [74, 24, 70]
Generated Node #0,1: 68:[74, 24, 70] Operation: 50+20=70
Moving to Node #0,0
Current State: 68:[74, 20, 74], Operations: ['50+24=74']
Exploring Operation: 74/74=1, Resulting Numbers: [20, 1]
Generated Node #0,0,0: 68:[20, 1] Operation: 74/74=1
Exploring Operation: 74-74=0, Resulting Numbers: [20, 0]
Generated Node #0,0,1: 68:[20, 0] Operation: 74-74=0
Moving to Node #0,1
Current State: 68:[74, 24, 70], Operations: ['50+20=70']
Exploring Operation: 74-70=4, Resulting Numbers: [24, 4]
Generated Node #0,1,0: 68:[24, 4] Operation: 74-70=4
Exploring Operation: 74-24=50, Resulting Numbers: [70, 50]
Generated Node #0,1,1: 68:[70, 50] Operation: 74-24=50
Moving to Node #0,0,0
Current State: 68:[20, 1], Operations: ['50+24=74', '74/74=1']
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[20, 0], Operations: ['50+24=74', '74-74=0']
Exploring Operation: 20+0=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 20*0=0, Resulting Numbers: [0]
0,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[24, 4], Operations: ['50+20=70', '74-70=4']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[70, 50], Operations: ['50+20=70', '74-24=50']
Exploring Operation: 70-50=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 70+50=120, Resulting Numbers: [120]
120,68 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
90,
34,
93,
58
] | 90 | [
"93-34=59",
"59-58=1",
"90*1=90"
] | Current State: 90:[90, 34, 93, 58], Operations: []
Exploring Operation: 93-34=59, Resulting Numbers: [90, 58, 59]
Generated Node #2: [90, 58, 59] from Operation: 93-34=59
Current State: 90:[90, 58, 59], Operations: ['93-34=59']
Exploring Operation: 59-58=1, Resulting Numbers: [90, 1]
Generated Node #3: [90, 1] from Operation: 59-58=1
Current State: 90:[90, 1], Operations: ['93-34=59', '59-58=1']
Exploring Operation: 90*1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[90, 34, 93, 58], Operations: []
Exploring Operation: 58-34=24, Resulting Numbers: [90, 93, 24]
Generated Node #0,0: 90:[90, 93, 24] Operation: 58-34=24
Exploring Operation: 34+58=92, Resulting Numbers: [90, 93, 92]
Generated Node #0,1: 90:[90, 93, 92] Operation: 34+58=92
Exploring Operation: 90-58=32, Resulting Numbers: [34, 93, 32]
Generated Node #0,2: 90:[34, 93, 32] Operation: 90-58=32
Moving to Node #0,1
Current State: 90:[90, 93, 92], Operations: ['34+58=92']
Exploring Operation: 93-92=1, Resulting Numbers: [90, 1]
Generated Node #0,1,0: 90:[90, 1] Operation: 93-92=1
Exploring Operation: 93-90=3, Resulting Numbers: [92, 3]
Generated Node #0,1,1: 90:[92, 3] Operation: 93-90=3
Exploring Operation: 92-90=2, Resulting Numbers: [93, 2]
Generated Node #0,1,2: 90:[93, 2] Operation: 92-90=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[90, 1], Operations: ['34+58=92', '93-92=1']
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,90 unequal: No Solution
Exploring Operation: 90/1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[90, 34, 93, 58], Operations: []
Exploring Operation: 34+58=92, Resulting Numbers: [90, 93, 92]
Generated Node #0,1: 90:[90, 93, 92] Operation: 34+58=92
Moving to Node #0,1
Current State: 90:[90, 93, 92], Operations: ['34+58=92']
Exploring Operation: 93-92=1, Resulting Numbers: [90, 1]
Generated Node #0,1,0: 90:[90, 1] Operation: 93-92=1
Moving to Node #0,1,0
Current State: 90:[90, 1], Operations: ['34+58=92', '93-92=1']
Exploring Operation: 90/1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
56,
5,
60,
44
] | 35 | [
"56-5=51",
"60-44=16",
"51-16=35"
] | Current State: 35:[56, 5, 60, 44], Operations: []
Exploring Operation: 56-5=51, Resulting Numbers: [60, 44, 51]
Generated Node #2: [60, 44, 51] from Operation: 56-5=51
Current State: 35:[60, 44, 51], Operations: ['56-5=51']
Exploring Operation: 60-44=16, Resulting Numbers: [51, 16]
Generated Node #3: [51, 16] from Operation: 60-44=16
Current State: 35:[51, 16], Operations: ['56-5=51', '60-44=16']
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[56, 5, 60, 44], Operations: []
Exploring Operation: 60/5=12, Resulting Numbers: [56, 44, 12]
Generated Node #0,0: 35:[56, 44, 12] Operation: 60/5=12
Exploring Operation: 60-44=16, Resulting Numbers: [56, 5, 16]
Generated Node #0,1: 35:[56, 5, 16] Operation: 60-44=16
Exploring Operation: 60-56=4, Resulting Numbers: [5, 44, 4]
Generated Node #0,2: 35:[5, 44, 4] Operation: 60-56=4
Exploring Operation: 56-5=51, Resulting Numbers: [60, 44, 51]
Generated Node #0,3: 35:[60, 44, 51] Operation: 56-5=51
Exploring Operation: 56-44=12, Resulting Numbers: [5, 60, 12]
Generated Node #0,4: 35:[5, 60, 12] Operation: 56-44=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[5, 44, 4], Operations: ['60-56=4']
Exploring Operation: 44/4=11, Resulting Numbers: [5, 11]
Generated Node #0,2,0: 35:[5, 11] Operation: 44/4=11
Exploring Operation: 44-5=39, Resulting Numbers: [4, 39]
Generated Node #0,2,1: 35:[4, 39] Operation: 44-5=39
Exploring Operation: 5+4=9, Resulting Numbers: [44, 9]
Generated Node #0,2,2: 35:[44, 9] Operation: 5+4=9
Exploring Operation: 5-4=1, Resulting Numbers: [44, 1]
Generated Node #0,2,3: 35:[44, 1] Operation: 5-4=1
Exploring Operation: 44-4=40, Resulting Numbers: [5, 40]
Generated Node #0,2,4: 35:[5, 40] Operation: 44-4=40
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 35:[5, 11], Operations: ['60-56=4', '44/4=11']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,35 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 35:[4, 39], Operations: ['60-56=4', '44-5=39']
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[56, 5, 60, 44], Operations: []
Exploring Operation: 60-56=4, Resulting Numbers: [5, 44, 4]
Generated Node #0,2: 35:[5, 44, 4] Operation: 60-56=4
Moving to Node #0,2
Current State: 35:[5, 44, 4], Operations: ['60-56=4']
Exploring Operation: 44-5=39, Resulting Numbers: [4, 39]
Generated Node #0,2,1: 35:[4, 39] Operation: 44-5=39
Moving to Node #0,2,1
Current State: 35:[4, 39], Operations: ['60-56=4', '44-5=39']
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
17,
98,
58,
48
] | 14 | [
"58-17=41",
"48-41=7",
"98/7=14"
] | Current State: 14:[17, 98, 58, 48], Operations: []
Exploring Operation: 58-17=41, Resulting Numbers: [98, 48, 41]
Generated Node #2: [98, 48, 41] from Operation: 58-17=41
Current State: 14:[98, 48, 41], Operations: ['58-17=41']
Exploring Operation: 48-41=7, Resulting Numbers: [98, 7]
Generated Node #3: [98, 7] from Operation: 48-41=7
Current State: 14:[98, 7], Operations: ['58-17=41', '48-41=7']
Exploring Operation: 98/7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[17, 98, 58, 48], Operations: []
Exploring Operation: 98-58=40, Resulting Numbers: [17, 48, 40]
Generated Node #0,0: 14:[17, 48, 40] Operation: 98-58=40
Moving to Node #0,0
Current State: 14:[17, 48, 40], Operations: ['98-58=40']
Exploring Operation: 48-40=8, Resulting Numbers: [17, 8]
Generated Node #0,0,0: 14:[17, 8] Operation: 48-40=8
Moving to Node #0,0,0
Current State: 14:[17, 8], Operations: ['98-58=40', '48-40=8']
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,14 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
11,
10,
49,
77
] | 27 | [
"11-10=1",
"77-49=28",
"28-1=27"
] | Current State: 27:[11, 10, 49, 77], Operations: []
Exploring Operation: 11-10=1, Resulting Numbers: [49, 77, 1]
Generated Node #2: [49, 77, 1] from Operation: 11-10=1
Current State: 27:[49, 77, 1], Operations: ['11-10=1']
Exploring Operation: 77-49=28, Resulting Numbers: [1, 28]
Generated Node #3: [1, 28] from Operation: 77-49=28
Current State: 27:[1, 28], Operations: ['11-10=1', '77-49=28']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[11, 10, 49, 77], Operations: []
Exploring Operation: 77-49=28, Resulting Numbers: [11, 10, 28]
Generated Node #0,0: 27:[11, 10, 28] Operation: 77-49=28
Exploring Operation: 77/11=7, Resulting Numbers: [10, 49, 7]
Generated Node #0,1: 27:[10, 49, 7] Operation: 77/11=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[11, 10, 28], Operations: ['77-49=28']
Exploring Operation: 11-10=1, Resulting Numbers: [28, 1]
Generated Node #0,0,0: 27:[28, 1] Operation: 11-10=1
Exploring Operation: 11+10=21, Resulting Numbers: [28, 21]
Generated Node #0,0,1: 27:[28, 21] Operation: 11+10=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[28, 1], Operations: ['77-49=28', '11-10=1']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[11, 10, 49, 77], Operations: []
Exploring Operation: 77-49=28, Resulting Numbers: [11, 10, 28]
Generated Node #0,0: 27:[11, 10, 28] Operation: 77-49=28
Moving to Node #0,0
Current State: 27:[11, 10, 28], Operations: ['77-49=28']
Exploring Operation: 11-10=1, Resulting Numbers: [28, 1]
Generated Node #0,0,0: 27:[28, 1] Operation: 11-10=1
Moving to Node #0,0,0
Current State: 27:[28, 1], Operations: ['77-49=28', '11-10=1']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
37,
10,
98,
60
] | 55 | [
"98-37=61",
"60/10=6",
"61-6=55"
] | Current State: 55:[37, 10, 98, 60], Operations: []
Exploring Operation: 98-37=61, Resulting Numbers: [10, 60, 61]
Generated Node #2: [10, 60, 61] from Operation: 98-37=61
Current State: 55:[10, 60, 61], Operations: ['98-37=61']
Exploring Operation: 60/10=6, Resulting Numbers: [61, 6]
Generated Node #3: [61, 6] from Operation: 60/10=6
Current State: 55:[61, 6], Operations: ['98-37=61', '60/10=6']
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[37, 10, 98, 60], Operations: []
Exploring Operation: 98-37=61, Resulting Numbers: [10, 60, 61]
Generated Node #0,0: 55:[10, 60, 61] Operation: 98-37=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[10, 60, 61], Operations: ['98-37=61']
Exploring Operation: 61-60=1, Resulting Numbers: [10, 1]
Generated Node #0,0,0: 55:[10, 1] Operation: 61-60=1
Moving to Node #0,0,0
Current State: 55:[10, 1], Operations: ['98-37=61', '61-60=1']
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,55 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 |
[
52,
43,
94,
97
] | 77 | [
"97-94=3",
"43*3=129",
"129-52=77"
] | Current State: 77:[52, 43, 94, 97], Operations: []
Exploring Operation: 97-94=3, Resulting Numbers: [52, 43, 3]
Generated Node #2: [52, 43, 3] from Operation: 97-94=3
Current State: 77:[52, 43, 3], Operations: ['97-94=3']
Exploring Operation: 43*3=129, Resulting Numbers: [52, 129]
Generated Node #3: [52, 129] from Operation: 43*3=129
Current State: 77:[52, 129], Operations: ['97-94=3', '43*3=129']
Exploring Operation: 129-52=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[52, 43, 94, 97], Operations: []
Exploring Operation: 97-94=3, Resulting Numbers: [52, 43, 3]
Generated Node #0,0: 77:[52, 43, 3] Operation: 97-94=3
Exploring Operation: 97-43=54, Resulting Numbers: [52, 94, 54]
Generated Node #0,1: 77:[52, 94, 54] Operation: 97-43=54
Exploring Operation: 52-43=9, Resulting Numbers: [94, 97, 9]
Generated Node #0,2: 77:[94, 97, 9] Operation: 52-43=9
Exploring Operation: 52+43=95, Resulting Numbers: [94, 97, 95]
Generated Node #0,3: 77:[94, 97, 95] Operation: 52+43=95
Moving to Node #0,2
Current State: 77:[94, 97, 9], Operations: ['52-43=9']
Exploring Operation: 97-9=88, Resulting Numbers: [94, 88]
Generated Node #0,2,0: 77:[94, 88] Operation: 97-9=88
Exploring Operation: 94+9=103, Resulting Numbers: [97, 103]
Generated Node #0,2,1: 77:[97, 103] Operation: 94+9=103
Exploring Operation: 97-94=3, Resulting Numbers: [9, 3]
Generated Node #0,2,2: 77:[9, 3] Operation: 97-94=3
Exploring Operation: 94-9=85, Resulting Numbers: [97, 85]
Generated Node #0,2,3: 77:[97, 85] Operation: 94-9=85
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 77:[9, 3], Operations: ['52-43=9', '97-94=3']
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,77 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,77 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 77:[94, 88], Operations: ['52-43=9', '97-9=88']
Exploring Operation: 94-88=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 94*88=8272, Resulting Numbers: [8272]
8272,77 unequal: No Solution
Exploring Operation: 94+88=182, Resulting Numbers: [182]
182,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 77:[97, 85], Operations: ['52-43=9', '94-9=85']
Exploring Operation: 97*85=8245, Resulting Numbers: [8245]
8245,77 unequal: No Solution
Exploring Operation: 97-85=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 97+85=182, Resulting Numbers: [182]
182,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:[97, 103], Operations: ['52-43=9', '94+9=103']
Exploring Operation: 103-97=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 97+103=200, Resulting Numbers: [200]
200,77 unequal: No Solution
Exploring Operation: 97*103=9991, Resulting Numbers: [9991]
9991,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 77:[94, 97, 95], Operations: ['52+43=95']
Exploring Operation: 97-94=3, Resulting Numbers: [95, 3]
Generated Node #0,3,0: 77:[95, 3] Operation: 97-94=3
Exploring Operation: 97-95=2, Resulting Numbers: [94, 2]
Generated Node #0,3,1: 77:[94, 2] Operation: 97-95=2
Exploring Operation: 94+97=191, Resulting Numbers: [95, 191]
Generated Node #0,3,2: 77:[95, 191] Operation: 94+97=191
Exploring Operation: 95-94=1, Resulting Numbers: [97, 1]
Generated Node #0,3,3: 77:[97, 1] Operation: 95-94=1
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 77:[95, 3], Operations: ['52+43=95', '97-94=3']
Exploring Operation: 95*3=285, Resulting Numbers: [285]
285,77 unequal: No Solution
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,77 unequal: No Solution
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,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:[94, 2], Operations: ['52+43=95', '97-95=2']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,77 unequal: No Solution
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,77 unequal: No Solution
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,77 unequal: No Solution
Exploring Operation: 94*2=188, Resulting Numbers: [188]
188,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:[97, 1], Operations: ['52+43=95', '95-94=1']
Exploring Operation: 97/1=97, Resulting Numbers: [97]
97,77 unequal: No Solution
Exploring Operation: 97+1=98, Resulting Numbers: [98]
98,77 unequal: No Solution
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,77 unequal: No Solution
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,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:[95, 191], Operations: ['52+43=95', '94+97=191']
Exploring Operation: 191-95=96, Resulting Numbers: [96]
96,77 unequal: No Solution
Exploring Operation: 95*191=18145, Resulting Numbers: [18145]
18145,77 unequal: No Solution
Exploring Operation: 95+191=286, Resulting Numbers: [286]
286,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:[52, 43, 3], Operations: ['97-94=3']
Exploring Operation: 52+3=55, Resulting Numbers: [43, 55]
Generated Node #0,0,0: 77:[43, 55] Operation: 52+3=55
Exploring Operation: 52+43=95, Resulting Numbers: [3, 95]
Generated Node #0,0,1: 77:[3, 95] Operation: 52+43=95
Exploring Operation: 43-3=40, Resulting Numbers: [52, 40]
Generated Node #0,0,2: 77:[52, 40] Operation: 43-3=40
Exploring Operation: 52-43=9, Resulting Numbers: [3, 9]
Generated Node #0,0,3: 77:[3, 9] Operation: 52-43=9
Moving to Node #0,1
Current State: 77:[52, 94, 54], Operations: ['97-43=54']
Exploring Operation: 94-54=40, Resulting Numbers: [52, 40]
Generated Node #0,1,0: 77:[52, 40] Operation: 94-54=40
Exploring Operation: 54-52=2, Resulting Numbers: [94, 2]
Generated Node #0,1,1: 77:[94, 2] Operation: 54-52=2
Exploring Operation: 52+54=106, Resulting Numbers: [94, 106]
Generated Node #0,1,2: 77:[94, 106] Operation: 52+54=106
Exploring Operation: 94-52=42, Resulting Numbers: [54, 42]
Generated Node #0,1,3: 77:[54, 42] Operation: 94-52=42
Moving to Node #0,0,3
Current State: 77:[3, 9], Operations: ['97-94=3', '52-43=9']
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,77 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,77 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[3, 95], Operations: ['97-94=3', '52+43=95']
Exploring Operation: 3+95=98, Resulting Numbers: [98]
98,77 unequal: No Solution
Exploring Operation: 3*95=285, Resulting Numbers: [285]
285,77 unequal: No Solution
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[94, 2], Operations: ['97-43=54', '54-52=2']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,77 unequal: No Solution
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,77 unequal: No Solution
Exploring Operation: 94*2=188, Resulting Numbers: [188]
188,77 unequal: No Solution
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[94, 106], Operations: ['97-43=54', '52+54=106']
Exploring Operation: 106-94=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 94+106=200, Resulting Numbers: [200]
200,77 unequal: No Solution
Exploring Operation: 94*106=9964, Resulting Numbers: [9964]
9964,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[43, 55], Operations: ['97-94=3', '52+3=55']
Exploring Operation: 43+55=98, Resulting Numbers: [98]
98,77 unequal: No Solution
Exploring Operation: 43*55=2365, Resulting Numbers: [2365]
2365,77 unequal: No Solution
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[52, 40], Operations: ['97-43=54', '94-54=40']
Exploring Operation: 52+40=92, Resulting Numbers: [92]
92,77 unequal: No Solution
Exploring Operation: 52-40=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 52*40=2080, Resulting Numbers: [2080]
2080,77 unequal: No Solution
Moving to Node #0,1,3
Current State: 77:[54, 42], Operations: ['97-43=54', '94-52=42']
Exploring Operation: 54*42=2268, Resulting Numbers: [2268]
2268,77 unequal: No Solution
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 54+42=96, Resulting Numbers: [96]
96,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[52, 40], Operations: ['97-94=3', '43-3=40']
Exploring Operation: 52*40=2080, Resulting Numbers: [2080]
2080,77 unequal: No Solution
Exploring Operation: 52+40=92, Resulting Numbers: [92]
92,77 unequal: No Solution
Exploring Operation: 52-40=12, Resulting Numbers: [12]
12,77 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
83,
61,
7,
65
] | 94 | [
"83-61=22",
"7+65=72",
"22+72=94"
] | Current State: 94:[83, 61, 7, 65], Operations: []
Exploring Operation: 83-61=22, Resulting Numbers: [7, 65, 22]
Generated Node #2: [7, 65, 22] from Operation: 83-61=22
Current State: 94:[7, 65, 22], Operations: ['83-61=22']
Exploring Operation: 7+65=72, Resulting Numbers: [22, 72]
Generated Node #3: [22, 72] from Operation: 7+65=72
Current State: 94:[22, 72], Operations: ['83-61=22', '7+65=72']
Exploring Operation: 22+72=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[83, 61, 7, 65], Operations: []
Exploring Operation: 65-7=58, Resulting Numbers: [83, 61, 58]
Generated Node #0,0: 94:[83, 61, 58] Operation: 65-7=58
Exploring Operation: 61-7=54, Resulting Numbers: [83, 65, 54]
Generated Node #0,1: 94:[83, 65, 54] Operation: 61-7=54
Exploring Operation: 65-61=4, Resulting Numbers: [83, 7, 4]
Generated Node #0,2: 94:[83, 7, 4] Operation: 65-61=4
Exploring Operation: 83+7=90, Resulting Numbers: [61, 65, 90]
Generated Node #0,3: 94:[61, 65, 90] Operation: 83+7=90
Exploring Operation: 83-65=18, Resulting Numbers: [61, 7, 18]
Generated Node #0,4: 94:[61, 7, 18] Operation: 83-65=18
Moving to Node #0,2
Current State: 94:[83, 7, 4], Operations: ['65-61=4']
Exploring Operation: 83+7=90, Resulting Numbers: [4, 90]
Generated Node #0,2,0: 94:[4, 90] Operation: 83+7=90
Exploring Operation: 7-4=3, Resulting Numbers: [83, 3]
Generated Node #0,2,1: 94:[83, 3] Operation: 7-4=3
Exploring Operation: 83-7=76, Resulting Numbers: [4, 76]
Generated Node #0,2,2: 94:[4, 76] Operation: 83-7=76
Exploring Operation: 83+4=87, Resulting Numbers: [7, 87]
Generated Node #0,2,3: 94:[7, 87] Operation: 83+4=87
Exploring Operation: 83-4=79, Resulting Numbers: [7, 79]
Generated Node #0,2,4: 94:[7, 79] Operation: 83-4=79
Moving to Node #0,4
Current State: 94:[61, 7, 18], Operations: ['83-65=18']
Exploring Operation: 61-18=43, Resulting Numbers: [7, 43]
Generated Node #0,4,0: 94:[7, 43] Operation: 61-18=43
Exploring Operation: 61+18=79, Resulting Numbers: [7, 79]
Generated Node #0,4,1: 94:[7, 79] Operation: 61+18=79
Exploring Operation: 18-7=11, Resulting Numbers: [61, 11]
Generated Node #0,4,2: 94:[61, 11] Operation: 18-7=11
Exploring Operation: 61-7=54, Resulting Numbers: [18, 54]
Generated Node #0,4,3: 94:[18, 54] Operation: 61-7=54
Exploring Operation: 7+18=25, Resulting Numbers: [61, 25]
Generated Node #0,4,4: 94:[61, 25] Operation: 7+18=25
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 94:[7, 43], Operations: ['83-65=18', '61-18=43']
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,94 unequal: No Solution
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,94 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,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,4,1
Current State: 94:[7, 79], Operations: ['83-65=18', '61+18=79']
Exploring Operation: 79-7=72, Resulting Numbers: [72]
72,94 unequal: No Solution
Exploring Operation: 7+79=86, Resulting Numbers: [86]
86,94 unequal: No Solution
Exploring Operation: 7*79=553, Resulting Numbers: [553]
553,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,4,2
Current State: 94:[61, 11], Operations: ['83-65=18', '18-7=11']
Exploring Operation: 61*11=671, Resulting Numbers: [671]
671,94 unequal: No Solution
Exploring Operation: 61-11=50, Resulting Numbers: [50]
50,94 unequal: No Solution
Exploring Operation: 61+11=72, Resulting Numbers: [72]
72,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,4,3
Current State: 94:[18, 54], Operations: ['83-65=18', '61-7=54']
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,94 unequal: No Solution
Exploring Operation: 18+54=72, Resulting Numbers: [72]
72,94 unequal: No Solution
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 18*54=972, Resulting Numbers: [972]
972,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,4,4
Current State: 94:[61, 25], Operations: ['83-65=18', '7+18=25']
Exploring Operation: 61+25=86, Resulting Numbers: [86]
86,94 unequal: No Solution
Exploring Operation: 61-25=36, Resulting Numbers: [36]
36,94 unequal: No Solution
Exploring Operation: 61*25=1525, Resulting Numbers: [1525]
1525,94 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: 94:[83, 61, 58], Operations: ['65-7=58']
Exploring Operation: 61+58=119, Resulting Numbers: [83, 119]
Generated Node #0,0,0: 94:[83, 119] Operation: 61+58=119
Exploring Operation: 83+61=144, Resulting Numbers: [58, 144]
Generated Node #0,0,1: 94:[58, 144] Operation: 83+61=144
Exploring Operation: 83-61=22, Resulting Numbers: [58, 22]
Generated Node #0,0,2: 94:[58, 22] Operation: 83-61=22
Exploring Operation: 83-58=25, Resulting Numbers: [61, 25]
Generated Node #0,0,3: 94:[61, 25] Operation: 83-58=25
Exploring Operation: 61-58=3, Resulting Numbers: [83, 3]
Generated Node #0,0,4: 94:[83, 3] Operation: 61-58=3
Moving to Node #0,1
Current State: 94:[83, 65, 54], Operations: ['61-7=54']
Exploring Operation: 83+65=148, Resulting Numbers: [54, 148]
Generated Node #0,1,0: 94:[54, 148] Operation: 83+65=148
Exploring Operation: 83-54=29, Resulting Numbers: [65, 29]
Generated Node #0,1,1: 94:[65, 29] Operation: 83-54=29
Exploring Operation: 65+54=119, Resulting Numbers: [83, 119]
Generated Node #0,1,2: 94:[83, 119] Operation: 65+54=119
Exploring Operation: 83-65=18, Resulting Numbers: [54, 18]
Generated Node #0,1,3: 94:[54, 18] Operation: 83-65=18
Exploring Operation: 65-54=11, Resulting Numbers: [83, 11]
Generated Node #0,1,4: 94:[83, 11] Operation: 65-54=11
Moving to Node #0,3
Current State: 94:[61, 65, 90], Operations: ['83+7=90']
Exploring Operation: 61+65=126, Resulting Numbers: [90, 126]
Generated Node #0,3,0: 94:[90, 126] Operation: 61+65=126
Exploring Operation: 65-61=4, Resulting Numbers: [90, 4]
Generated Node #0,3,1: 94:[90, 4] Operation: 65-61=4
Exploring Operation: 90-65=25, Resulting Numbers: [61, 25]
Generated Node #0,3,2: 94:[61, 25] Operation: 90-65=25
Exploring Operation: 61+90=151, Resulting Numbers: [65, 151]
Generated Node #0,3,3: 94:[65, 151] Operation: 61+90=151
Exploring Operation: 90-61=29, Resulting Numbers: [65, 29]
Generated Node #0,3,4: 94:[65, 29] Operation: 90-61=29
Moving to Node #0,2,0
Current State: 94:[4, 90], Operations: ['65-61=4', '83+7=90']
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,94 unequal: No Solution
Exploring Operation: 4+90=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[83, 61, 7, 65], Operations: []
Exploring Operation: 65-61=4, Resulting Numbers: [83, 7, 4]
Generated Node #0,2: 94:[83, 7, 4] Operation: 65-61=4
Moving to Node #0,2
Current State: 94:[83, 7, 4], Operations: ['65-61=4']
Exploring Operation: 83+7=90, Resulting Numbers: [4, 90]
Generated Node #0,2,0: 94:[4, 90] Operation: 83+7=90
Moving to Node #0,2,0
Current State: 94:[4, 90], Operations: ['65-61=4', '83+7=90']
Exploring Operation: 4+90=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.954861 | hs_5 | sum_heuristic |
[
93,
97,
91,
60
] | 76 | [
"97-93=4",
"60/4=15",
"91-15=76"
] | Current State: 76:[93, 97, 91, 60], Operations: []
Exploring Operation: 97-93=4, Resulting Numbers: [91, 60, 4]
Generated Node #2: [91, 60, 4] from Operation: 97-93=4
Current State: 76:[91, 60, 4], Operations: ['97-93=4']
Exploring Operation: 60/4=15, Resulting Numbers: [91, 15]
Generated Node #3: [91, 15] from Operation: 60/4=15
Current State: 76:[91, 15], Operations: ['97-93=4', '60/4=15']
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[93, 97, 91, 60], Operations: []
Exploring Operation: 97-93=4, Resulting Numbers: [91, 60, 4]
Generated Node #0,0: 76:[91, 60, 4] Operation: 97-93=4
Exploring Operation: 97-60=37, Resulting Numbers: [93, 91, 37]
Generated Node #0,1: 76:[93, 91, 37] Operation: 97-60=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[91, 60, 4], Operations: ['97-93=4']
Exploring Operation: 91-60=31, Resulting Numbers: [4, 31]
Generated Node #0,0,0: 76:[4, 31] Operation: 91-60=31
Exploring Operation: 60/4=15, Resulting Numbers: [91, 15]
Generated Node #0,0,1: 76:[91, 15] Operation: 60/4=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[4, 31], Operations: ['97-93=4', '91-60=31']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,76 unequal: No Solution
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 76:[91, 15], Operations: ['97-93=4', '60/4=15']
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[93, 97, 91, 60], Operations: []
Exploring Operation: 97-93=4, Resulting Numbers: [91, 60, 4]
Generated Node #0,0: 76:[91, 60, 4] Operation: 97-93=4
Moving to Node #0,0
Current State: 76:[91, 60, 4], Operations: ['97-93=4']
Exploring Operation: 60/4=15, Resulting Numbers: [91, 15]
Generated Node #0,0,1: 76:[91, 15] Operation: 60/4=15
Moving to Node #0,0,1
Current State: 76:[91, 15], Operations: ['97-93=4', '60/4=15']
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
1,
93,
2,
42
] | 88 | [
"93-1=92",
"92/2=46",
"42+46=88"
] | Current State: 88:[1, 93, 2, 42], Operations: []
Exploring Operation: 93-1=92, Resulting Numbers: [2, 42, 92]
Generated Node #2: [2, 42, 92] from Operation: 93-1=92
Current State: 88:[2, 42, 92], Operations: ['93-1=92']
Exploring Operation: 92/2=46, Resulting Numbers: [42, 46]
Generated Node #3: [42, 46] from Operation: 92/2=46
Current State: 88:[42, 46], Operations: ['93-1=92', '92/2=46']
Exploring Operation: 42+46=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[1, 93, 2, 42], Operations: []
Exploring Operation: 93-1=92, Resulting Numbers: [2, 42, 92]
Generated Node #0,0: 88:[2, 42, 92] Operation: 93-1=92
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[2, 42, 92], Operations: ['93-1=92']
Exploring Operation: 2+42=44, Resulting Numbers: [92, 44]
Generated Node #0,0,0: 88:[92, 44] Operation: 2+42=44
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[92, 44], Operations: ['93-1=92', '2+42=44']
Exploring Operation: 92-44=48, Resulting Numbers: [48]
48,88 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 |
[
92,
75,
62,
94
] | 72 | [
"92+94=186",
"186/62=3",
"75-3=72"
] | Current State: 72:[92, 75, 62, 94], Operations: []
Exploring Operation: 92+94=186, Resulting Numbers: [75, 62, 186]
Generated Node #2: [75, 62, 186] from Operation: 92+94=186
Current State: 72:[75, 62, 186], Operations: ['92+94=186']
Exploring Operation: 186/62=3, Resulting Numbers: [75, 3]
Generated Node #3: [75, 3] from Operation: 186/62=3
Current State: 72:[75, 3], Operations: ['92+94=186', '186/62=3']
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[92, 75, 62, 94], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [75, 62, 2]
Generated Node #0,0: 72:[75, 62, 2] Operation: 94-92=2
Exploring Operation: 92-62=30, Resulting Numbers: [75, 94, 30]
Generated Node #0,1: 72:[75, 94, 30] Operation: 92-62=30
Exploring Operation: 94-62=32, Resulting Numbers: [92, 75, 32]
Generated Node #0,2: 72:[92, 75, 32] Operation: 94-62=32
Exploring Operation: 94-75=19, Resulting Numbers: [92, 62, 19]
Generated Node #0,3: 72:[92, 62, 19] Operation: 94-75=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[75, 62, 2], Operations: ['94-92=2']
Exploring Operation: 62/2=31, Resulting Numbers: [75, 31]
Generated Node #0,0,0: 72:[75, 31] Operation: 62/2=31
Exploring Operation: 62+2=64, Resulting Numbers: [75, 64]
Generated Node #0,0,1: 72:[75, 64] Operation: 62+2=64
Exploring Operation: 75-62=13, Resulting Numbers: [2, 13]
Generated Node #0,0,2: 72:[2, 13] Operation: 75-62=13
Exploring Operation: 75-2=73, Resulting Numbers: [62, 73]
Generated Node #0,0,3: 72:[62, 73] Operation: 75-2=73
Moving to Node #0,0,2
Current State: 72:[2, 13], Operations: ['94-92=2', '75-62=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,72 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,72 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[75, 31], Operations: ['94-92=2', '62/2=31']
Exploring Operation: 75+31=106, Resulting Numbers: [106]
106,72 unequal: No Solution
Exploring Operation: 75-31=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Exploring Operation: 75*31=2325, Resulting Numbers: [2325]
2325,72 unequal: No Solution
Moving to Node #0,0,3
Current State: 72:[62, 73], Operations: ['94-92=2', '75-2=73']
Exploring Operation: 62*73=4526, Resulting Numbers: [4526]
4526,72 unequal: No Solution
Exploring Operation: 62+73=135, Resulting Numbers: [135]
135,72 unequal: No Solution
Exploring Operation: 73-62=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[75, 64], Operations: ['94-92=2', '62+2=64']
Exploring Operation: 75-64=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 75+64=139, Resulting Numbers: [139]
139,72 unequal: No Solution
Exploring Operation: 75*64=4800, Resulting Numbers: [4800]
4800,72 unequal: No Solution
No 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:[92, 75, 32], Operations: ['94-62=32']
Exploring Operation: 92-32=60, Resulting Numbers: [75, 60]
Generated Node #0,2,0: 72:[75, 60] Operation: 92-32=60
Exploring Operation: 92-75=17, Resulting Numbers: [32, 17]
Generated Node #0,2,1: 72:[32, 17] Operation: 92-75=17
Exploring Operation: 92+32=124, Resulting Numbers: [75, 124]
Generated Node #0,2,2: 72:[75, 124] Operation: 92+32=124
Exploring Operation: 75-32=43, Resulting Numbers: [92, 43]
Generated Node #0,2,3: 72:[92, 43] Operation: 75-32=43
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 72:[32, 17], Operations: ['94-62=32', '92-75=17']
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,72 unequal: No Solution
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,72 unequal: No Solution
Exploring Operation: 32*17=544, Resulting Numbers: [544]
544,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,0
Current State: 72:[75, 60], Operations: ['94-62=32', '92-32=60']
Exploring Operation: 75*60=4500, Resulting Numbers: [4500]
4500,72 unequal: No Solution
Exploring Operation: 75-60=15, Resulting Numbers: [15]
15,72 unequal: No Solution
Exploring Operation: 75+60=135, Resulting Numbers: [135]
135,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,3
Current State: 72:[92, 43], Operations: ['94-62=32', '75-32=43']
Exploring Operation: 92-43=49, Resulting Numbers: [49]
49,72 unequal: No Solution
Exploring Operation: 92+43=135, Resulting Numbers: [135]
135,72 unequal: No Solution
Exploring Operation: 92*43=3956, Resulting Numbers: [3956]
3956,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:[75, 124], Operations: ['94-62=32', '92+32=124']
Exploring Operation: 124-75=49, Resulting Numbers: [49]
49,72 unequal: No Solution
Exploring Operation: 75*124=9300, Resulting Numbers: [9300]
9300,72 unequal: No Solution
Exploring Operation: 75+124=199, Resulting Numbers: [199]
199,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,1
Current State: 72:[75, 94, 30], Operations: ['92-62=30']
Exploring Operation: 94-30=64, Resulting Numbers: [75, 64]
Generated Node #0,1,0: 72:[75, 64] Operation: 94-30=64
Exploring Operation: 75-30=45, Resulting Numbers: [94, 45]
Generated Node #0,1,1: 72:[94, 45] Operation: 75-30=45
Exploring Operation: 75+30=105, Resulting Numbers: [94, 105]
Generated Node #0,1,2: 72:[94, 105] Operation: 75+30=105
Exploring Operation: 94-75=19, Resulting Numbers: [30, 19]
Generated Node #0,1,3: 72:[30, 19] Operation: 94-75=19
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 72:[30, 19], Operations: ['92-62=30', '94-75=19']
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 30+19=49, Resulting Numbers: [49]
49,72 unequal: No Solution
Exploring Operation: 30*19=570, Resulting Numbers: [570]
570,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:[75, 64], Operations: ['92-62=30', '94-30=64']
Exploring Operation: 75+64=139, Resulting Numbers: [139]
139,72 unequal: No Solution
Exploring Operation: 75-64=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 75*64=4800, Resulting Numbers: [4800]
4800,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:[94, 45], Operations: ['92-62=30', '75-30=45']
Exploring Operation: 94*45=4230, Resulting Numbers: [4230]
4230,72 unequal: No Solution
Exploring Operation: 94+45=139, Resulting Numbers: [139]
139,72 unequal: No Solution
Exploring Operation: 94-45=49, Resulting Numbers: [49]
49,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,2
Current State: 72:[94, 105], Operations: ['92-62=30', '75+30=105']
Exploring Operation: 94*105=9870, Resulting Numbers: [9870]
9870,72 unequal: No Solution
Exploring Operation: 105-94=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 94+105=199, Resulting Numbers: [199]
199,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,3
Current State: 72:[92, 62, 19], Operations: ['94-75=19']
Exploring Operation: 62-19=43, Resulting Numbers: [92, 43]
Generated Node #0,3,0: 72:[92, 43] Operation: 62-19=43
Exploring Operation: 92-19=73, Resulting Numbers: [62, 73]
Generated Node #0,3,1: 72:[62, 73] Operation: 92-19=73
Exploring Operation: 92-62=30, Resulting Numbers: [19, 30]
Generated Node #0,3,2: 72:[19, 30] Operation: 92-62=30
Exploring Operation: 62+19=81, Resulting Numbers: [92, 81]
Generated Node #0,3,3: 72:[92, 81] Operation: 62+19=81
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 72:[19, 30], Operations: ['94-75=19', '92-62=30']
Exploring Operation: 19*30=570, Resulting Numbers: [570]
570,72 unequal: No Solution
Exploring Operation: 19+30=49, Resulting Numbers: [49]
49,72 unequal: No Solution
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,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,3,1
Current State: 72:[62, 73], Operations: ['94-75=19', '92-19=73']
Exploring Operation: 62+73=135, Resulting Numbers: [135]
135,72 unequal: No Solution
Exploring Operation: 73-62=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 62*73=4526, Resulting Numbers: [4526]
4526,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,3,0
Current State: 72:[92, 43], Operations: ['94-75=19', '62-19=43']
Exploring Operation: 92*43=3956, Resulting Numbers: [3956]
3956,72 unequal: No Solution
Exploring Operation: 92-43=49, Resulting Numbers: [49]
49,72 unequal: No Solution
Exploring Operation: 92+43=135, Resulting Numbers: [135]
135,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,3,3
Current State: 72:[92, 81], Operations: ['94-75=19', '62+19=81']
Exploring Operation: 92-81=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 92*81=7452, Resulting Numbers: [7452]
7452,72 unequal: No Solution
Exploring Operation: 92+81=173, Resulting Numbers: [173]
173,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_4 | mult_heuristic |
[
61,
6,
53,
32
] | 88 | [
"61+6=67",
"53-32=21",
"67+21=88"
] | Current State: 88:[61, 6, 53, 32], Operations: []
Exploring Operation: 61+6=67, Resulting Numbers: [53, 32, 67]
Generated Node #2: [53, 32, 67] from Operation: 61+6=67
Current State: 88:[53, 32, 67], Operations: ['61+6=67']
Exploring Operation: 53-32=21, Resulting Numbers: [67, 21]
Generated Node #3: [67, 21] from Operation: 53-32=21
Current State: 88:[67, 21], Operations: ['61+6=67', '53-32=21']
Exploring Operation: 67+21=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[61, 6, 53, 32], Operations: []
Exploring Operation: 61+32=93, Resulting Numbers: [6, 53, 93]
Generated Node #0,0: 88:[6, 53, 93] Operation: 61+32=93
Exploring Operation: 61-53=8, Resulting Numbers: [6, 32, 8]
Generated Node #0,1: 88:[6, 32, 8] Operation: 61-53=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[6, 32, 8], Operations: ['61-53=8']
Exploring Operation: 32/8=4, Resulting Numbers: [6, 4]
Generated Node #0,1,0: 88:[6, 4] Operation: 32/8=4
Exploring Operation: 32-6=26, Resulting Numbers: [8, 26]
Generated Node #0,1,1: 88:[8, 26] Operation: 32-6=26
Moving to Node #0,1,0
Current State: 88:[6, 4], Operations: ['61-53=8', '32/8=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[8, 26], Operations: ['61-53=8', '32-6=26']
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,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
Current State: 88:[6, 53, 93], Operations: ['61+32=93']
Exploring Operation: 93-53=40, Resulting Numbers: [6, 40]
Generated Node #0,0,0: 88:[6, 40] Operation: 93-53=40
Exploring Operation: 53-6=47, Resulting Numbers: [93, 47]
Generated Node #0,0,1: 88:[93, 47] Operation: 53-6=47
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[6, 40], Operations: ['61+32=93', '93-53=40']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,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,0,1
Current State: 88:[93, 47], Operations: ['61+32=93', '53-6=47']
Exploring Operation: 93-47=46, Resulting Numbers: [46]
46,88 unequal: No Solution
Exploring Operation: 93+47=140, Resulting Numbers: [140]
140,88 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 |
[
11,
2,
64,
61
] | 55 | [
"2+64=66",
"66/11=6",
"61-6=55"
] | Current State: 55:[11, 2, 64, 61], Operations: []
Exploring Operation: 2+64=66, Resulting Numbers: [11, 61, 66]
Generated Node #2: [11, 61, 66] from Operation: 2+64=66
Current State: 55:[11, 61, 66], Operations: ['2+64=66']
Exploring Operation: 66/11=6, Resulting Numbers: [61, 6]
Generated Node #3: [61, 6] from Operation: 66/11=6
Current State: 55:[61, 6], Operations: ['2+64=66', '66/11=6']
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[11, 2, 64, 61], Operations: []
Exploring Operation: 64-61=3, Resulting Numbers: [11, 2, 3]
Generated Node #0,0: 55:[11, 2, 3] Operation: 64-61=3
Exploring Operation: 64-2=62, Resulting Numbers: [11, 61, 62]
Generated Node #0,1: 55:[11, 61, 62] Operation: 64-2=62
Exploring Operation: 64-11=53, Resulting Numbers: [2, 61, 53]
Generated Node #0,2: 55:[2, 61, 53] Operation: 64-11=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[11, 2, 3], Operations: ['64-61=3']
Exploring Operation: 11+2=13, Resulting Numbers: [3, 13]
Generated Node #0,0,0: 55:[3, 13] Operation: 11+2=13
Exploring Operation: 2*3=6, Resulting Numbers: [11, 6]
Generated Node #0,0,1: 55:[11, 6] Operation: 2*3=6
Exploring Operation: 2+3=5, Resulting Numbers: [11, 5]
Generated Node #0,0,2: 55:[11, 5] Operation: 2+3=5
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 55:[11, 5], Operations: ['64-61=3', '2+3=5']
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[11, 2, 64, 61], Operations: []
Exploring Operation: 64-61=3, Resulting Numbers: [11, 2, 3]
Generated Node #0,0: 55:[11, 2, 3] Operation: 64-61=3
Moving to Node #0,0
Current State: 55:[11, 2, 3], Operations: ['64-61=3']
Exploring Operation: 2+3=5, Resulting Numbers: [11, 5]
Generated Node #0,0,2: 55:[11, 5] Operation: 2+3=5
Moving to Node #0,0,2
Current State: 55:[11, 5], Operations: ['64-61=3', '2+3=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
99,
35,
9,
26
] | 72 | [
"99/9=11",
"35+26=61",
"11+61=72"
] | Current State: 72:[99, 35, 9, 26], Operations: []
Exploring Operation: 99/9=11, Resulting Numbers: [35, 26, 11]
Generated Node #2: [35, 26, 11] from Operation: 99/9=11
Current State: 72:[35, 26, 11], Operations: ['99/9=11']
Exploring Operation: 35+26=61, Resulting Numbers: [11, 61]
Generated Node #3: [11, 61] from Operation: 35+26=61
Current State: 72:[11, 61], Operations: ['99/9=11', '35+26=61']
Exploring Operation: 11+61=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[99, 35, 9, 26], Operations: []
Exploring Operation: 35-26=9, Resulting Numbers: [99, 9, 9]
Generated Node #0,0: 72:[99, 9, 9] Operation: 35-26=9
Exploring Operation: 99-26=73, Resulting Numbers: [35, 9, 73]
Generated Node #0,1: 72:[35, 9, 73] Operation: 99-26=73
Exploring Operation: 99/9=11, Resulting Numbers: [35, 26, 11]
Generated Node #0,2: 72:[35, 26, 11] Operation: 99/9=11
Exploring Operation: 99-9=90, Resulting Numbers: [35, 26, 90]
Generated Node #0,3: 72:[35, 26, 90] Operation: 99-9=90
Exploring Operation: 99-35=64, Resulting Numbers: [9, 26, 64]
Generated Node #0,4: 72:[9, 26, 64] Operation: 99-35=64
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[35, 9, 73], Operations: ['99-26=73']
Exploring Operation: 73-35=38, Resulting Numbers: [9, 38]
Generated Node #0,1,0: 72:[9, 38] Operation: 73-35=38
Exploring Operation: 73-9=64, Resulting Numbers: [35, 64]
Generated Node #0,1,1: 72:[35, 64] Operation: 73-9=64
Exploring Operation: 35-9=26, Resulting Numbers: [73, 26]
Generated Node #0,1,2: 72:[73, 26] Operation: 35-9=26
Exploring Operation: 9+73=82, Resulting Numbers: [35, 82]
Generated Node #0,1,3: 72:[35, 82] Operation: 9+73=82
Exploring Operation: 35+9=44, Resulting Numbers: [73, 44]
Generated Node #0,1,4: 72:[73, 44] Operation: 35+9=44
Moving to Node #0,1,0
Current State: 72:[9, 38], Operations: ['99-26=73', '73-35=38']
Exploring Operation: 9+38=47, Resulting Numbers: [47]
47,72 unequal: No Solution
Exploring Operation: 9*38=342, Resulting Numbers: [342]
342,72 unequal: No Solution
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Moving to Node #0,1,2
Current State: 72:[73, 26], Operations: ['99-26=73', '35-9=26']
Exploring Operation: 73+26=99, Resulting Numbers: [99]
99,72 unequal: No Solution
Exploring Operation: 73*26=1898, Resulting Numbers: [1898]
1898,72 unequal: No Solution
Exploring Operation: 73-26=47, Resulting Numbers: [47]
47,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[35, 64], Operations: ['99-26=73', '73-9=64']
Exploring Operation: 35*64=2240, Resulting Numbers: [2240]
2240,72 unequal: No Solution
Exploring Operation: 35+64=99, Resulting Numbers: [99]
99,72 unequal: No Solution
Exploring Operation: 64-35=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Moving to Node #0,1,4
Current State: 72:[73, 44], Operations: ['99-26=73', '35+9=44']
Exploring Operation: 73*44=3212, Resulting Numbers: [3212]
3212,72 unequal: No Solution
Exploring Operation: 73+44=117, Resulting Numbers: [117]
117,72 unequal: No Solution
Exploring Operation: 73-44=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Moving to Node #0,1,3
Current State: 72:[35, 82], Operations: ['99-26=73', '9+73=82']
Exploring Operation: 35*82=2870, Resulting Numbers: [2870]
2870,72 unequal: No Solution
Exploring Operation: 82-35=47, Resulting Numbers: [47]
47,72 unequal: No Solution
Exploring Operation: 35+82=117, Resulting Numbers: [117]
117,72 unequal: No Solution
No 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:[35, 26, 11], Operations: ['99/9=11']
Exploring Operation: 35-11=24, Resulting Numbers: [26, 24]
Generated Node #0,2,0: 72:[26, 24] Operation: 35-11=24
Exploring Operation: 26+11=37, Resulting Numbers: [35, 37]
Generated Node #0,2,1: 72:[35, 37] Operation: 26+11=37
Exploring Operation: 35-26=9, Resulting Numbers: [11, 9]
Generated Node #0,2,2: 72:[11, 9] Operation: 35-26=9
Exploring Operation: 26-11=15, Resulting Numbers: [35, 15]
Generated Node #0,2,3: 72:[35, 15] Operation: 26-11=15
Exploring Operation: 35+26=61, Resulting Numbers: [11, 61]
Generated Node #0,2,4: 72:[11, 61] Operation: 35+26=61
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 72:[11, 9], Operations: ['99/9=11', '35-26=9']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,72 unequal: No Solution
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,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,0
Current State: 72:[26, 24], Operations: ['99/9=11', '35-11=24']
Exploring Operation: 26+24=50, Resulting Numbers: [50]
50,72 unequal: No Solution
Exploring Operation: 26*24=624, Resulting Numbers: [624]
624,72 unequal: No Solution
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,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:[35, 37], Operations: ['99/9=11', '26+11=37']
Exploring Operation: 35*37=1295, Resulting Numbers: [1295]
1295,72 unequal: No Solution
Exploring Operation: 35+37=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[99, 35, 9, 26], Operations: []
Exploring Operation: 99/9=11, Resulting Numbers: [35, 26, 11]
Generated Node #0,2: 72:[35, 26, 11] Operation: 99/9=11
Moving to Node #0,2
Current State: 72:[35, 26, 11], Operations: ['99/9=11']
Exploring Operation: 26+11=37, Resulting Numbers: [35, 37]
Generated Node #0,2,1: 72:[35, 37] Operation: 26+11=37
Moving to Node #0,2,1
Current State: 72:[35, 37], Operations: ['99/9=11', '26+11=37']
Exploring Operation: 35+37=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.963542 | hs_5 | sum_heuristic |
[
41,
10,
97,
19
] | 85 | [
"41-10=31",
"97+19=116",
"116-31=85"
] | Current State: 85:[41, 10, 97, 19], Operations: []
Exploring Operation: 41-10=31, Resulting Numbers: [97, 19, 31]
Generated Node #2: [97, 19, 31] from Operation: 41-10=31
Current State: 85:[97, 19, 31], Operations: ['41-10=31']
Exploring Operation: 97+19=116, Resulting Numbers: [31, 116]
Generated Node #3: [31, 116] from Operation: 97+19=116
Current State: 85:[31, 116], Operations: ['41-10=31', '97+19=116']
Exploring Operation: 116-31=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[41, 10, 97, 19], Operations: []
Exploring Operation: 41-19=22, Resulting Numbers: [10, 97, 22]
Generated Node #0,0: 85:[10, 97, 22] Operation: 41-19=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[10, 97, 22], Operations: ['41-19=22']
Exploring Operation: 97-10=87, Resulting Numbers: [22, 87]
Generated Node #0,0,0: 85:[22, 87] Operation: 97-10=87
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[22, 87], Operations: ['41-19=22', '97-10=87']
Exploring Operation: 87-22=65, Resulting Numbers: [65]
65,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.