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 |
|---|---|---|---|---|---|---|---|---|
[
99,
9,
10,
81
] | 19 | [
"99-9=90",
"81-10=71",
"90-71=19"
] | Current State: 19:[99, 9, 10, 81], Operations: []
Exploring Operation: 99-9=90, Resulting Numbers: [10, 81, 90]
Generated Node #2: [10, 81, 90] from Operation: 99-9=90
Current State: 19:[10, 81, 90], Operations: ['99-9=90']
Exploring Operation: 81-10=71, Resulting Numbers: [90, 71]
Generated Node #3: [90, 71] from Operation: 81-10=71
Current State: 19:[90, 71], Operations: ['99-9=90', '81-10=71']
Exploring Operation: 90-71=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[99, 9, 10, 81], Operations: []
Exploring Operation: 99-81=18, Resulting Numbers: [9, 10, 18]
Generated Node #0,0: 19:[9, 10, 18] Operation: 99-81=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[9, 10, 18], Operations: ['99-81=18']
Exploring Operation: 9+10=19, Resulting Numbers: [18, 19]
Generated Node #0,0,0: 19:[18, 19] Operation: 9+10=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[18, 19], Operations: ['99-81=18', '9+10=19']
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
19,
30,
51,
2
] | 34 | [
"51-19=32",
"2*32=64",
"64-30=34"
] | Current State: 34:[19, 30, 51, 2], Operations: []
Exploring Operation: 51-19=32, Resulting Numbers: [30, 2, 32]
Generated Node #2: [30, 2, 32] from Operation: 51-19=32
Current State: 34:[30, 2, 32], Operations: ['51-19=32']
Exploring Operation: 2*32=64, Resulting Numbers: [30, 64]
Generated Node #3: [30, 64] from Operation: 2*32=64
Current State: 34:[30, 64], Operations: ['51-19=32', '2*32=64']
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[19, 30, 51, 2], Operations: []
Exploring Operation: 30+2=32, Resulting Numbers: [19, 51, 32]
Generated Node #0,0: 34:[19, 51, 32] Operation: 30+2=32
Exploring Operation: 51-30=21, Resulting Numbers: [19, 2, 21]
Generated Node #0,1: 34:[19, 2, 21] Operation: 51-30=21
Exploring Operation: 51-19=32, Resulting Numbers: [30, 2, 32]
Generated Node #0,2: 34:[30, 2, 32] Operation: 51-19=32
Exploring Operation: 19-2=17, Resulting Numbers: [30, 51, 17]
Generated Node #0,3: 34:[30, 51, 17] Operation: 19-2=17
Moving to Node #0,1
Current State: 34:[19, 2, 21], Operations: ['51-30=21']
Exploring Operation: 19-2=17, Resulting Numbers: [21, 17]
Generated Node #0,1,0: 34:[21, 17] Operation: 19-2=17
Exploring Operation: 19+21=40, Resulting Numbers: [2, 40]
Generated Node #0,1,1: 34:[2, 40] Operation: 19+21=40
Exploring Operation: 21-19=2, Resulting Numbers: [2, 2]
Generated Node #0,1,2: 34:[2, 2] Operation: 21-19=2
Exploring Operation: 21-2=19, Resulting Numbers: [19, 19]
Generated Node #0,1,3: 34:[19, 19] Operation: 21-2=19
Moving to Node #0,2
Current State: 34:[30, 2, 32], Operations: ['51-19=32']
Exploring Operation: 32-30=2, Resulting Numbers: [2, 2]
Generated Node #0,2,0: 34:[2, 2] Operation: 32-30=2
Exploring Operation: 30/2=15, Resulting Numbers: [32, 15]
Generated Node #0,2,1: 34:[32, 15] Operation: 30/2=15
Exploring Operation: 30+2=32, Resulting Numbers: [32, 32]
Generated Node #0,2,2: 34:[32, 32] Operation: 30+2=32
Exploring Operation: 2+32=34, Resulting Numbers: [30, 34]
Generated Node #0,2,3: 34:[30, 34] Operation: 2+32=34
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 34:[2, 2], Operations: ['51-19=32', '32-30=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,34 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 34:[32, 15], Operations: ['51-19=32', '30/2=15']
Exploring Operation: 32*15=480, Resulting Numbers: [480]
480,34 unequal: No Solution
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,34 unequal: No Solution
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 34:[32, 32], Operations: ['51-19=32', '30+2=32']
Exploring Operation: 32/32=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 32*32=1024, Resulting Numbers: [1024]
1024,34 unequal: No Solution
Exploring Operation: 32+32=64, Resulting Numbers: [64]
64,34 unequal: No Solution
Exploring Operation: 32-32=0, Resulting Numbers: [0]
0,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 34:[30, 34], Operations: ['51-19=32', '2+32=34']
Exploring Operation: 30*34=1020, Resulting Numbers: [1020]
1020,34 unequal: No Solution
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 30+34=64, Resulting Numbers: [64]
64,34 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: 34:[30, 51, 17], Operations: ['19-2=17']
Exploring Operation: 51-17=34, Resulting Numbers: [30, 34]
Generated Node #0,3,0: 34:[30, 34] Operation: 51-17=34
Exploring Operation: 51/17=3, Resulting Numbers: [30, 3]
Generated Node #0,3,1: 34:[30, 3] Operation: 51/17=3
Exploring Operation: 51-30=21, Resulting Numbers: [17, 21]
Generated Node #0,3,2: 34:[17, 21] Operation: 51-30=21
Exploring Operation: 30-17=13, Resulting Numbers: [51, 13]
Generated Node #0,3,3: 34:[51, 13] Operation: 30-17=13
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 34:[30, 34], Operations: ['19-2=17', '51-17=34']
Exploring Operation: 30+34=64, Resulting Numbers: [64]
64,34 unequal: No Solution
Exploring Operation: 30*34=1020, Resulting Numbers: [1020]
1020,34 unequal: No Solution
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 34:[17, 21], Operations: ['19-2=17', '51-30=21']
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 17*21=357, Resulting Numbers: [357]
357,34 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 34:[30, 3], Operations: ['19-2=17', '51/17=3']
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,34 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,34 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,34 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 34:[51, 13], Operations: ['19-2=17', '30-17=13']
Exploring Operation: 51-13=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 51*13=663, Resulting Numbers: [663]
663,34 unequal: No Solution
Exploring Operation: 51+13=64, Resulting Numbers: [64]
64,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 34:[19, 51, 32], Operations: ['30+2=32']
Exploring Operation: 19+32=51, Resulting Numbers: [51, 51]
Generated Node #0,0,0: 34:[51, 51] Operation: 19+32=51
Exploring Operation: 32-19=13, Resulting Numbers: [51, 13]
Generated Node #0,0,1: 34:[51, 13] Operation: 32-19=13
Exploring Operation: 51-32=19, Resulting Numbers: [19, 19]
Generated Node #0,0,2: 34:[19, 19] Operation: 51-32=19
Exploring Operation: 51-19=32, Resulting Numbers: [32, 32]
Generated Node #0,0,3: 34:[32, 32] Operation: 51-19=32
Moving to Node #0,1,2
Current State: 34:[2, 2], Operations: ['51-30=21', '21-19=2']
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,34 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Moving to Node #0,1,3
Current State: 34:[19, 19], Operations: ['51-30=21', '21-2=19']
Exploring Operation: 19/19=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 19*19=361, Resulting Numbers: [361]
361,34 unequal: No Solution
Exploring Operation: 19-19=0, Resulting Numbers: [0]
0,34 unequal: No Solution
Moving to Node #0,0,3
Current State: 34:[32, 32], Operations: ['30+2=32', '51-19=32']
Exploring Operation: 32-32=0, Resulting Numbers: [0]
0,34 unequal: No Solution
Exploring Operation: 32*32=1024, Resulting Numbers: [1024]
1024,34 unequal: No Solution
Exploring Operation: 32/32=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 32+32=64, Resulting Numbers: [64]
64,34 unequal: No Solution
Moving to Node #0,1,0
Current State: 34:[21, 17], Operations: ['51-30=21', '19-2=17']
Exploring Operation: 21*17=357, Resulting Numbers: [357]
357,34 unequal: No Solution
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[19, 19], Operations: ['30+2=32', '51-32=19']
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 19-19=0, Resulting Numbers: [0]
0,34 unequal: No Solution
Exploring Operation: 19*19=361, Resulting Numbers: [361]
361,34 unequal: No Solution
Exploring Operation: 19/19=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[2, 40], Operations: ['51-30=21', '19+21=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,34 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,34 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,34 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[51, 13], Operations: ['30+2=32', '32-19=13']
Exploring Operation: 51*13=663, Resulting Numbers: [663]
663,34 unequal: No Solution
Exploring Operation: 51+13=64, Resulting Numbers: [64]
64,34 unequal: No Solution
Exploring Operation: 51-13=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[51, 51], Operations: ['30+2=32', '19+32=51']
Exploring Operation: 51-51=0, Resulting Numbers: [0]
0,34 unequal: No Solution
Exploring Operation: 51*51=2601, Resulting Numbers: [2601]
2601,34 unequal: No Solution
Exploring Operation: 51+51=102, Resulting Numbers: [102]
102,34 unequal: No Solution
Exploring Operation: 51/51=1, Resulting Numbers: [1]
1,34 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
23,
89,
8,
72
] | 14 | [
"89-23=66",
"8+72=80",
"80-66=14"
] | Current State: 14:[23, 89, 8, 72], Operations: []
Exploring Operation: 89-23=66, Resulting Numbers: [8, 72, 66]
Generated Node #2: [8, 72, 66] from Operation: 89-23=66
Current State: 14:[8, 72, 66], Operations: ['89-23=66']
Exploring Operation: 8+72=80, Resulting Numbers: [66, 80]
Generated Node #3: [66, 80] from Operation: 8+72=80
Current State: 14:[66, 80], Operations: ['89-23=66', '8+72=80']
Exploring Operation: 80-66=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[23, 89, 8, 72], Operations: []
Exploring Operation: 89-72=17, Resulting Numbers: [23, 8, 17]
Generated Node #0,0: 14:[23, 8, 17] Operation: 89-72=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[23, 8, 17], Operations: ['89-72=17']
Exploring Operation: 23-17=6, Resulting Numbers: [8, 6]
Generated Node #0,0,0: 14:[8, 6] Operation: 23-17=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[8, 6], Operations: ['89-72=17', '23-17=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[23, 89, 8, 72], Operations: []
Exploring Operation: 89-72=17, Resulting Numbers: [23, 8, 17]
Generated Node #0,0: 14:[23, 8, 17] Operation: 89-72=17
Moving to Node #0,0
Current State: 14:[23, 8, 17], Operations: ['89-72=17']
Exploring Operation: 23-17=6, Resulting Numbers: [8, 6]
Generated Node #0,0,0: 14:[8, 6] Operation: 23-17=6
Moving to Node #0,0,0
Current State: 14:[8, 6], Operations: ['89-72=17', '23-17=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
47,
76,
93,
75
] | 45 | [
"47+76=123",
"93+75=168",
"168-123=45"
] | Current State: 45:[47, 76, 93, 75], Operations: []
Exploring Operation: 47+76=123, Resulting Numbers: [93, 75, 123]
Generated Node #2: [93, 75, 123] from Operation: 47+76=123
Current State: 45:[93, 75, 123], Operations: ['47+76=123']
Exploring Operation: 93+75=168, Resulting Numbers: [123, 168]
Generated Node #3: [123, 168] from Operation: 93+75=168
Current State: 45:[123, 168], Operations: ['47+76=123', '93+75=168']
Exploring Operation: 168-123=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[47, 76, 93, 75], Operations: []
Exploring Operation: 76-75=1, Resulting Numbers: [47, 93, 1]
Generated Node #0,0: 45:[47, 93, 1] Operation: 76-75=1
Exploring Operation: 93-75=18, Resulting Numbers: [47, 76, 18]
Generated Node #0,1: 45:[47, 76, 18] Operation: 93-75=18
Exploring Operation: 93-76=17, Resulting Numbers: [47, 75, 17]
Generated Node #0,2: 45:[47, 75, 17] Operation: 93-76=17
Moving to Node #0,2
Current State: 45:[47, 75, 17], Operations: ['93-76=17']
Exploring Operation: 75-47=28, Resulting Numbers: [17, 28]
Generated Node #0,2,0: 45:[17, 28] Operation: 75-47=28
Exploring Operation: 47-17=30, Resulting Numbers: [75, 30]
Generated Node #0,2,1: 45:[75, 30] Operation: 47-17=30
Exploring Operation: 75-17=58, Resulting Numbers: [47, 58]
Generated Node #0,2,2: 45:[47, 58] Operation: 75-17=58
Moving to Node #0,1
Current State: 45:[47, 76, 18], Operations: ['93-75=18']
Exploring Operation: 76-47=29, Resulting Numbers: [18, 29]
Generated Node #0,1,0: 45:[18, 29] Operation: 76-47=29
Exploring Operation: 76-18=58, Resulting Numbers: [47, 58]
Generated Node #0,1,1: 45:[47, 58] Operation: 76-18=58
Exploring Operation: 47-18=29, Resulting Numbers: [76, 29]
Generated Node #0,1,2: 45:[76, 29] Operation: 47-18=29
Moving to Node #0,0
Current State: 45:[47, 93, 1], Operations: ['76-75=1']
Exploring Operation: 93-1=92, Resulting Numbers: [47, 92]
Generated Node #0,0,0: 45:[47, 92] Operation: 93-1=92
Exploring Operation: 47-1=46, Resulting Numbers: [93, 46]
Generated Node #0,0,1: 45:[93, 46] Operation: 47-1=46
Exploring Operation: 93-47=46, Resulting Numbers: [1, 46]
Generated Node #0,0,2: 45:[1, 46] Operation: 93-47=46
Moving to Node #0,0,2
Current State: 45:[1, 46], Operations: ['76-75=1', '93-47=46']
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[47, 76, 93, 75], Operations: []
Exploring Operation: 76-75=1, Resulting Numbers: [47, 93, 1]
Generated Node #0,0: 45:[47, 93, 1] Operation: 76-75=1
Moving to Node #0,0
Current State: 45:[47, 93, 1], Operations: ['76-75=1']
Exploring Operation: 93-47=46, Resulting Numbers: [1, 46]
Generated Node #0,0,2: 45:[1, 46] Operation: 93-47=46
Moving to Node #0,0,2
Current State: 45:[1, 46], Operations: ['76-75=1', '93-47=46']
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 0.985243 | hs_3 | sum_heuristic |
[
53,
57,
76,
14
] | 58 | [
"57-53=4",
"76-14=62",
"62-4=58"
] | Current State: 58:[53, 57, 76, 14], Operations: []
Exploring Operation: 57-53=4, Resulting Numbers: [76, 14, 4]
Generated Node #2: [76, 14, 4] from Operation: 57-53=4
Current State: 58:[76, 14, 4], Operations: ['57-53=4']
Exploring Operation: 76-14=62, Resulting Numbers: [4, 62]
Generated Node #3: [4, 62] from Operation: 76-14=62
Current State: 58:[4, 62], Operations: ['57-53=4', '76-14=62']
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[53, 57, 76, 14], Operations: []
Exploring Operation: 76-53=23, Resulting Numbers: [57, 14, 23]
Generated Node #0,0: 58:[57, 14, 23] Operation: 76-53=23
Exploring Operation: 76-14=62, Resulting Numbers: [53, 57, 62]
Generated Node #0,1: 58:[53, 57, 62] Operation: 76-14=62
Moving to Node #0,1
Current State: 58:[53, 57, 62], Operations: ['76-14=62']
Exploring Operation: 62-53=9, Resulting Numbers: [57, 9]
Generated Node #0,1,0: 58:[57, 9] Operation: 62-53=9
Exploring Operation: 57-53=4, Resulting Numbers: [62, 4]
Generated Node #0,1,1: 58:[62, 4] Operation: 57-53=4
Moving to Node #0,0
Current State: 58:[57, 14, 23], Operations: ['76-53=23']
Exploring Operation: 14+23=37, Resulting Numbers: [57, 37]
Generated Node #0,0,0: 58:[57, 37] Operation: 14+23=37
Exploring Operation: 23-14=9, Resulting Numbers: [57, 9]
Generated Node #0,0,1: 58:[57, 9] Operation: 23-14=9
Moving to Node #0,1,1
Current State: 58:[62, 4], Operations: ['76-14=62', '57-53=4']
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[53, 57, 76, 14], Operations: []
Exploring Operation: 76-14=62, Resulting Numbers: [53, 57, 62]
Generated Node #0,1: 58:[53, 57, 62] Operation: 76-14=62
Moving to Node #0,1
Current State: 58:[53, 57, 62], Operations: ['76-14=62']
Exploring Operation: 57-53=4, Resulting Numbers: [62, 4]
Generated Node #0,1,1: 58:[62, 4] Operation: 57-53=4
Moving to Node #0,1,1
Current State: 58:[62, 4], Operations: ['76-14=62', '57-53=4']
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
64,
93,
9,
32
] | 52 | [
"93-64=29",
"32-9=23",
"29+23=52"
] | Current State: 52:[64, 93, 9, 32], Operations: []
Exploring Operation: 93-64=29, Resulting Numbers: [9, 32, 29]
Generated Node #2: [9, 32, 29] from Operation: 93-64=29
Current State: 52:[9, 32, 29], Operations: ['93-64=29']
Exploring Operation: 32-9=23, Resulting Numbers: [29, 23]
Generated Node #3: [29, 23] from Operation: 32-9=23
Current State: 52:[29, 23], Operations: ['93-64=29', '32-9=23']
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[64, 93, 9, 32], Operations: []
Exploring Operation: 93-32=61, Resulting Numbers: [64, 9, 61]
Generated Node #0,0: 52:[64, 9, 61] Operation: 93-32=61
Exploring Operation: 93-9=84, Resulting Numbers: [64, 32, 84]
Generated Node #0,1: 52:[64, 32, 84] Operation: 93-9=84
Exploring Operation: 64-9=55, Resulting Numbers: [93, 32, 55]
Generated Node #0,2: 52:[93, 32, 55] Operation: 64-9=55
Exploring Operation: 64/32=2, Resulting Numbers: [93, 9, 2]
Generated Node #0,3: 52:[93, 9, 2] Operation: 64/32=2
Exploring Operation: 93-64=29, Resulting Numbers: [9, 32, 29]
Generated Node #0,4: 52:[9, 32, 29] Operation: 93-64=29
Moving to Node #0,4
Current State: 52:[9, 32, 29], Operations: ['93-64=29']
Exploring Operation: 32-9=23, Resulting Numbers: [29, 23]
Generated Node #0,4,0: 52:[29, 23] Operation: 32-9=23
Exploring Operation: 32-29=3, Resulting Numbers: [9, 3]
Generated Node #0,4,1: 52:[9, 3] Operation: 32-29=3
Exploring Operation: 32+29=61, Resulting Numbers: [9, 61]
Generated Node #0,4,2: 52:[9, 61] Operation: 32+29=61
Exploring Operation: 29-9=20, Resulting Numbers: [32, 20]
Generated Node #0,4,3: 52:[32, 20] Operation: 29-9=20
Exploring Operation: 9+32=41, Resulting Numbers: [29, 41]
Generated Node #0,4,4: 52:[29, 41] Operation: 9+32=41
Moving to Node #0,0
Current State: 52:[64, 9, 61], Operations: ['93-32=61']
Exploring Operation: 61-9=52, Resulting Numbers: [64, 52]
Generated Node #0,0,0: 52:[64, 52] Operation: 61-9=52
Exploring Operation: 64-9=55, Resulting Numbers: [61, 55]
Generated Node #0,0,1: 52:[61, 55] Operation: 64-9=55
Exploring Operation: 64-61=3, Resulting Numbers: [9, 3]
Generated Node #0,0,2: 52:[9, 3] Operation: 64-61=3
Exploring Operation: 64+9=73, Resulting Numbers: [61, 73]
Generated Node #0,0,3: 52:[61, 73] Operation: 64+9=73
Exploring Operation: 9+61=70, Resulting Numbers: [64, 70]
Generated Node #0,0,4: 52:[64, 70] Operation: 9+61=70
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[9, 3], Operations: ['93-32=61', '64-61=3']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[64, 52], Operations: ['93-32=61', '61-9=52']
Exploring Operation: 64*52=3328, Resulting Numbers: [3328]
3328,52 unequal: No Solution
Exploring Operation: 64+52=116, Resulting Numbers: [116]
116,52 unequal: No Solution
Exploring Operation: 64-52=12, Resulting Numbers: [12]
12,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[61, 55], Operations: ['93-32=61', '64-9=55']
Exploring Operation: 61-55=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 61+55=116, Resulting Numbers: [116]
116,52 unequal: No Solution
Exploring Operation: 61*55=3355, Resulting Numbers: [3355]
3355,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 52:[61, 73], Operations: ['93-32=61', '64+9=73']
Exploring Operation: 61+73=134, Resulting Numbers: [134]
134,52 unequal: No Solution
Exploring Operation: 61*73=4453, Resulting Numbers: [4453]
4453,52 unequal: No Solution
Exploring Operation: 73-61=12, Resulting Numbers: [12]
12,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 52:[64, 70], Operations: ['93-32=61', '9+61=70']
Exploring Operation: 64*70=4480, Resulting Numbers: [4480]
4480,52 unequal: No Solution
Exploring Operation: 64+70=134, Resulting Numbers: [134]
134,52 unequal: No Solution
Exploring Operation: 70-64=6, Resulting Numbers: [6]
6,52 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: 52:[93, 9, 2], Operations: ['64/32=2']
Exploring Operation: 9*2=18, Resulting Numbers: [93, 18]
Generated Node #0,3,0: 52:[93, 18] Operation: 9*2=18
Exploring Operation: 93-2=91, Resulting Numbers: [9, 91]
Generated Node #0,3,1: 52:[9, 91] Operation: 93-2=91
Exploring Operation: 9+2=11, Resulting Numbers: [93, 11]
Generated Node #0,3,2: 52:[93, 11] Operation: 9+2=11
Exploring Operation: 9-2=7, Resulting Numbers: [93, 7]
Generated Node #0,3,3: 52:[93, 7] Operation: 9-2=7
Exploring Operation: 93-9=84, Resulting Numbers: [2, 84]
Generated Node #0,3,4: 52:[2, 84] Operation: 93-9=84
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 52:[2, 84], Operations: ['64/32=2', '93-9=84']
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,52 unequal: No Solution
Exploring Operation: 2+84=86, Resulting Numbers: [86]
86,52 unequal: No Solution
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,52 unequal: No Solution
Exploring Operation: 2*84=168, Resulting Numbers: [168]
168,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 52:[9, 91], Operations: ['64/32=2', '93-2=91']
Exploring Operation: 91-9=82, Resulting Numbers: [82]
82,52 unequal: No Solution
Exploring Operation: 9+91=100, Resulting Numbers: [100]
100,52 unequal: No Solution
Exploring Operation: 9*91=819, Resulting Numbers: [819]
819,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 52:[93, 11], Operations: ['64/32=2', '9+2=11']
Exploring Operation: 93+11=104, Resulting Numbers: [104]
104,52 unequal: No Solution
Exploring Operation: 93*11=1023, Resulting Numbers: [1023]
1023,52 unequal: No Solution
Exploring Operation: 93-11=82, Resulting Numbers: [82]
82,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 52:[93, 7], Operations: ['64/32=2', '9-2=7']
Exploring Operation: 93-7=86, Resulting Numbers: [86]
86,52 unequal: No Solution
Exploring Operation: 93+7=100, Resulting Numbers: [100]
100,52 unequal: No Solution
Exploring Operation: 93*7=651, Resulting Numbers: [651]
651,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 52:[93, 18], Operations: ['64/32=2', '9*2=18']
Exploring Operation: 93*18=1674, Resulting Numbers: [1674]
1674,52 unequal: No Solution
Exploring Operation: 93-18=75, Resulting Numbers: [75]
75,52 unequal: No Solution
Exploring Operation: 93+18=111, Resulting Numbers: [111]
111,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 52:[64, 32, 84], Operations: ['93-9=84']
Exploring Operation: 64/32=2, Resulting Numbers: [84, 2]
Generated Node #0,1,0: 52:[84, 2] Operation: 64/32=2
Exploring Operation: 64-32=32, Resulting Numbers: [84, 32]
Generated Node #0,1,1: 52:[84, 32] Operation: 64-32=32
Exploring Operation: 64+32=96, Resulting Numbers: [84, 96]
Generated Node #0,1,2: 52:[84, 96] Operation: 64+32=96
Exploring Operation: 84-32=52, Resulting Numbers: [64, 52]
Generated Node #0,1,3: 52:[64, 52] Operation: 84-32=52
Exploring Operation: 84-64=20, Resulting Numbers: [32, 20]
Generated Node #0,1,4: 52:[32, 20] Operation: 84-64=20
Moving to Node #0,2
Current State: 52:[93, 32, 55], Operations: ['64-9=55']
Exploring Operation: 93+32=125, Resulting Numbers: [55, 125]
Generated Node #0,2,0: 52:[55, 125] Operation: 93+32=125
Exploring Operation: 93-55=38, Resulting Numbers: [32, 38]
Generated Node #0,2,1: 52:[32, 38] Operation: 93-55=38
Exploring Operation: 32+55=87, Resulting Numbers: [93, 87]
Generated Node #0,2,2: 52:[93, 87] Operation: 32+55=87
Exploring Operation: 55-32=23, Resulting Numbers: [93, 23]
Generated Node #0,2,3: 52:[93, 23] Operation: 55-32=23
Exploring Operation: 93-32=61, Resulting Numbers: [55, 61]
Generated Node #0,2,4: 52:[55, 61] Operation: 93-32=61
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 52:[55, 61], Operations: ['64-9=55', '93-32=61']
Exploring Operation: 55*61=3355, Resulting Numbers: [3355]
3355,52 unequal: No Solution
Exploring Operation: 61-55=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 55+61=116, Resulting Numbers: [116]
116,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:[32, 38], Operations: ['64-9=55', '93-55=38']
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 32+38=70, Resulting Numbers: [70]
70,52 unequal: No Solution
Exploring Operation: 32*38=1216, Resulting Numbers: [1216]
1216,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,3
Current State: 52:[93, 23], Operations: ['64-9=55', '55-32=23']
Exploring Operation: 93-23=70, Resulting Numbers: [70]
70,52 unequal: No Solution
Exploring Operation: 93*23=2139, Resulting Numbers: [2139]
2139,52 unequal: No Solution
Exploring Operation: 93+23=116, Resulting Numbers: [116]
116,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,0
Current State: 52:[55, 125], Operations: ['64-9=55', '93+32=125']
Exploring Operation: 55*125=6875, Resulting Numbers: [6875]
6875,52 unequal: No Solution
Exploring Operation: 125-55=70, Resulting Numbers: [70]
70,52 unequal: No Solution
Exploring Operation: 55+125=180, Resulting Numbers: [180]
180,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:[93, 87], Operations: ['64-9=55', '32+55=87']
Exploring Operation: 93-87=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 93*87=8091, Resulting Numbers: [8091]
8091,52 unequal: No Solution
Exploring Operation: 93+87=180, Resulting Numbers: [180]
180,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,1
Current State: 52:[9, 3], Operations: ['93-64=29', '32-29=3']
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Moving to Node #0,4,0
Current State: 52:[29, 23], Operations: ['93-64=29', '32-9=23']
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[64, 93, 9, 32], Operations: []
Exploring Operation: 93-64=29, Resulting Numbers: [9, 32, 29]
Generated Node #0,4: 52:[9, 32, 29] Operation: 93-64=29
Moving to Node #0,4
Current State: 52:[9, 32, 29], Operations: ['93-64=29']
Exploring Operation: 32-9=23, Resulting Numbers: [29, 23]
Generated Node #0,4,0: 52:[29, 23] Operation: 32-9=23
Moving to Node #0,4,0
Current State: 52:[29, 23], Operations: ['93-64=29', '32-9=23']
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.924479 | hs_5 | sum_heuristic |
[
72,
49,
66,
16
] | 74 | [
"49-16=33",
"66/33=2",
"72+2=74"
] | Current State: 74:[72, 49, 66, 16], Operations: []
Exploring Operation: 49-16=33, Resulting Numbers: [72, 66, 33]
Generated Node #2: [72, 66, 33] from Operation: 49-16=33
Current State: 74:[72, 66, 33], Operations: ['49-16=33']
Exploring Operation: 66/33=2, Resulting Numbers: [72, 2]
Generated Node #3: [72, 2] from Operation: 66/33=2
Current State: 74:[72, 2], Operations: ['49-16=33', '66/33=2']
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[72, 49, 66, 16], Operations: []
Exploring Operation: 49-16=33, Resulting Numbers: [72, 66, 33]
Generated Node #0,0: 74:[72, 66, 33] Operation: 49-16=33
Exploring Operation: 49+16=65, Resulting Numbers: [72, 66, 65]
Generated Node #0,1: 74:[72, 66, 65] Operation: 49+16=65
Exploring Operation: 66-16=50, Resulting Numbers: [72, 49, 50]
Generated Node #0,2: 74:[72, 49, 50] Operation: 66-16=50
Exploring Operation: 72-66=6, Resulting Numbers: [49, 16, 6]
Generated Node #0,3: 74:[49, 16, 6] Operation: 72-66=6
Exploring Operation: 66+16=82, Resulting Numbers: [72, 49, 82]
Generated Node #0,4: 74:[72, 49, 82] Operation: 66+16=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[72, 66, 33], Operations: ['49-16=33']
Exploring Operation: 66/33=2, Resulting Numbers: [72, 2]
Generated Node #0,0,0: 74:[72, 2] Operation: 66/33=2
Exploring Operation: 66+33=99, Resulting Numbers: [72, 99]
Generated Node #0,0,1: 74:[72, 99] Operation: 66+33=99
Exploring Operation: 72-66=6, Resulting Numbers: [33, 6]
Generated Node #0,0,2: 74:[33, 6] Operation: 72-66=6
Exploring Operation: 72-33=39, Resulting Numbers: [66, 39]
Generated Node #0,0,3: 74:[66, 39] Operation: 72-33=39
Exploring Operation: 66-33=33, Resulting Numbers: [72, 33]
Generated Node #0,0,4: 74:[72, 33] Operation: 66-33=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[72, 2], Operations: ['49-16=33', '66/33=2']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 72*2=144, Resulting Numbers: [144]
144,74 unequal: No Solution
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[72, 49, 66, 16], Operations: []
Exploring Operation: 49-16=33, Resulting Numbers: [72, 66, 33]
Generated Node #0,0: 74:[72, 66, 33] Operation: 49-16=33
Moving to Node #0,0
Current State: 74:[72, 66, 33], Operations: ['49-16=33']
Exploring Operation: 66/33=2, Resulting Numbers: [72, 2]
Generated Node #0,0,0: 74:[72, 2] Operation: 66/33=2
Moving to Node #0,0,0
Current State: 74:[72, 2], Operations: ['49-16=33', '66/33=2']
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
29,
81,
31,
61
] | 40 | [
"81-29=52",
"31+61=92",
"92-52=40"
] | Current State: 40:[29, 81, 31, 61], Operations: []
Exploring Operation: 81-29=52, Resulting Numbers: [31, 61, 52]
Generated Node #2: [31, 61, 52] from Operation: 81-29=52
Current State: 40:[31, 61, 52], Operations: ['81-29=52']
Exploring Operation: 31+61=92, Resulting Numbers: [52, 92]
Generated Node #3: [52, 92] from Operation: 31+61=92
Current State: 40:[52, 92], Operations: ['81-29=52', '31+61=92']
Exploring Operation: 92-52=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[29, 81, 31, 61], Operations: []
Exploring Operation: 81-61=20, Resulting Numbers: [29, 31, 20]
Generated Node #0,0: 40:[29, 31, 20] Operation: 81-61=20
Moving to Node #0,0
Current State: 40:[29, 31, 20], Operations: ['81-61=20']
Exploring Operation: 31-29=2, Resulting Numbers: [20, 2]
Generated Node #0,0,0: 40:[20, 2] Operation: 31-29=2
Moving to Node #0,0,0
Current State: 40:[20, 2], Operations: ['81-61=20', '31-29=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[29, 81, 31, 61], Operations: []
Exploring Operation: 81-61=20, Resulting Numbers: [29, 31, 20]
Generated Node #0,0: 40:[29, 31, 20] Operation: 81-61=20
Moving to Node #0,0
Current State: 40:[29, 31, 20], Operations: ['81-61=20']
Exploring Operation: 31-29=2, Resulting Numbers: [20, 2]
Generated Node #0,0,0: 40:[20, 2] Operation: 31-29=2
Moving to Node #0,0,0
Current State: 40:[20, 2], Operations: ['81-61=20', '31-29=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
2,
26,
39,
40
] | 50 | [
"26+39=65",
"65-40=25",
"2*25=50"
] | Current State: 50:[2, 26, 39, 40], Operations: []
Exploring Operation: 26+39=65, Resulting Numbers: [2, 40, 65]
Generated Node #2: [2, 40, 65] from Operation: 26+39=65
Current State: 50:[2, 40, 65], Operations: ['26+39=65']
Exploring Operation: 65-40=25, Resulting Numbers: [2, 25]
Generated Node #3: [2, 25] from Operation: 65-40=25
Current State: 50:[2, 25], Operations: ['26+39=65', '65-40=25']
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[2, 26, 39, 40], Operations: []
Exploring Operation: 39-26=13, Resulting Numbers: [2, 40, 13]
Generated Node #0,0: 50:[2, 40, 13] Operation: 39-26=13
Exploring Operation: 40-39=1, Resulting Numbers: [2, 26, 1]
Generated Node #0,1: 50:[2, 26, 1] Operation: 40-39=1
Exploring Operation: 40-26=14, Resulting Numbers: [2, 39, 14]
Generated Node #0,2: 50:[2, 39, 14] Operation: 40-26=14
Exploring Operation: 2+39=41, Resulting Numbers: [26, 40, 41]
Generated Node #0,3: 50:[26, 40, 41] Operation: 2+39=41
Exploring Operation: 40/2=20, Resulting Numbers: [26, 39, 20]
Generated Node #0,4: 50:[26, 39, 20] Operation: 40/2=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[2, 26, 1], Operations: ['40-39=1']
Exploring Operation: 2/1=2, Resulting Numbers: [26, 2]
Generated Node #0,1,0: 50:[26, 2] Operation: 2/1=2
Exploring Operation: 26-1=25, Resulting Numbers: [2, 25]
Generated Node #0,1,1: 50:[2, 25] Operation: 26-1=25
Exploring Operation: 26*1=26, Resulting Numbers: [2, 26]
Generated Node #0,1,2: 50:[2, 26] Operation: 26*1=26
Exploring Operation: 2*1=2, Resulting Numbers: [26, 2]
Generated Node #0,1,3: 50:[26, 2] Operation: 2*1=2
Exploring Operation: 26/1=26, Resulting Numbers: [2, 26]
Generated Node #0,1,4: 50:[2, 26] Operation: 26/1=26
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 50:[2, 25], Operations: ['40-39=1', '26-1=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[2, 26, 39, 40], Operations: []
Exploring Operation: 40-39=1, Resulting Numbers: [2, 26, 1]
Generated Node #0,1: 50:[2, 26, 1] Operation: 40-39=1
Moving to Node #0,1
Current State: 50:[2, 26, 1], Operations: ['40-39=1']
Exploring Operation: 26-1=25, Resulting Numbers: [2, 25]
Generated Node #0,1,1: 50:[2, 25] Operation: 26-1=25
Moving to Node #0,1,1
Current State: 50:[2, 25], Operations: ['40-39=1', '26-1=25']
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
64,
33,
64,
3
] | 36 | [
"64+33=97",
"64-3=61",
"97-61=36"
] | Current State: 36:[64, 33, 64, 3], Operations: []
Exploring Operation: 64+33=97, Resulting Numbers: [3, 97]
Generated Node #2: [3, 97] from Operation: 64+33=97
Current State: 36:[3, 97], Operations: ['64+33=97']
Exploring Operation: 64-3=61, Resulting Numbers: [97, 61]
Generated Node #3: [97, 61] from Operation: 64-3=61
Current State: 36:[97, 61], Operations: ['64+33=97', '64-3=61']
Exploring Operation: 97-61=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[64, 33, 64, 3], Operations: []
Exploring Operation: 64/64=1, Resulting Numbers: [33, 3, 1]
Generated Node #0,0: 36:[33, 3, 1] Operation: 64/64=1
Exploring Operation: 64-64=0, Resulting Numbers: [33, 3, 0]
Generated Node #0,1: 36:[33, 3, 0] Operation: 64-64=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[33, 3, 1], Operations: ['64/64=1']
Exploring Operation: 33+3=36, Resulting Numbers: [1, 36]
Generated Node #0,0,0: 36:[1, 36] Operation: 33+3=36
Exploring Operation: 33/3=11, Resulting Numbers: [1, 11]
Generated Node #0,0,1: 36:[1, 11] Operation: 33/3=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[1, 36], Operations: ['64/64=1', '33+3=36']
Exploring Operation: 1*36=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[64, 33, 64, 3], Operations: []
Exploring Operation: 64/64=1, Resulting Numbers: [33, 3, 1]
Generated Node #0,0: 36:[33, 3, 1] Operation: 64/64=1
Moving to Node #0,0
Current State: 36:[33, 3, 1], Operations: ['64/64=1']
Exploring Operation: 33+3=36, Resulting Numbers: [1, 36]
Generated Node #0,0,0: 36:[1, 36] Operation: 33+3=36
Moving to Node #0,0,0
Current State: 36:[1, 36], Operations: ['64/64=1', '33+3=36']
Exploring Operation: 1*36=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
40,
38,
6,
23
] | 64 | [
"40-23=17",
"6*17=102",
"102-38=64"
] | Current State: 64:[40, 38, 6, 23], Operations: []
Exploring Operation: 40-23=17, Resulting Numbers: [38, 6, 17]
Generated Node #2: [38, 6, 17] from Operation: 40-23=17
Current State: 64:[38, 6, 17], Operations: ['40-23=17']
Exploring Operation: 6*17=102, Resulting Numbers: [38, 102]
Generated Node #3: [38, 102] from Operation: 6*17=102
Current State: 64:[38, 102], Operations: ['40-23=17', '6*17=102']
Exploring Operation: 102-38=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[40, 38, 6, 23], Operations: []
Exploring Operation: 40-23=17, Resulting Numbers: [38, 6, 17]
Generated Node #0,0: 64:[38, 6, 17] Operation: 40-23=17
Exploring Operation: 40-38=2, Resulting Numbers: [6, 23, 2]
Generated Node #0,1: 64:[6, 23, 2] Operation: 40-38=2
Exploring Operation: 40+23=63, Resulting Numbers: [38, 6, 63]
Generated Node #0,2: 64:[38, 6, 63] Operation: 40+23=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[38, 6, 17], Operations: ['40-23=17']
Exploring Operation: 38-6=32, Resulting Numbers: [17, 32]
Generated Node #0,0,0: 64:[17, 32] Operation: 38-6=32
Exploring Operation: 17-6=11, Resulting Numbers: [38, 11]
Generated Node #0,0,1: 64:[38, 11] Operation: 17-6=11
Exploring Operation: 38-17=21, Resulting Numbers: [6, 21]
Generated Node #0,0,2: 64:[6, 21] Operation: 38-17=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[17, 32], Operations: ['40-23=17', '38-6=32']
Exploring Operation: 17+32=49, Resulting Numbers: [49]
49,64 unequal: No Solution
Exploring Operation: 17*32=544, Resulting Numbers: [544]
544,64 unequal: No Solution
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 64:[6, 21], Operations: ['40-23=17', '38-17=21']
Exploring Operation: 6*21=126, Resulting Numbers: [126]
126,64 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 64:[38, 11], Operations: ['40-23=17', '17-6=11']
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Exploring Operation: 38+11=49, Resulting Numbers: [49]
49,64 unequal: No Solution
Exploring Operation: 38*11=418, Resulting Numbers: [418]
418,64 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: 64:[6, 23, 2], Operations: ['40-38=2']
Exploring Operation: 6+2=8, Resulting Numbers: [23, 8]
Generated Node #0,1,0: 64:[23, 8] Operation: 6+2=8
Exploring Operation: 6+23=29, Resulting Numbers: [2, 29]
Generated Node #0,1,1: 64:[2, 29] Operation: 6+23=29
Exploring Operation: 23-6=17, Resulting Numbers: [2, 17]
Generated Node #0,1,2: 64:[2, 17] Operation: 23-6=17
Moving to Node #0,1,2
Current State: 64:[2, 17], Operations: ['40-38=2', '23-6=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,64 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[2, 29], Operations: ['40-38=2', '6+23=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,64 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,64 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[23, 8], Operations: ['40-38=2', '6+2=8']
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,64 unequal: No Solution
Exploring Operation: 23*8=184, Resulting Numbers: [184]
184,64 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[38, 6, 63], Operations: ['40+23=63']
Exploring Operation: 6+63=69, Resulting Numbers: [38, 69]
Generated Node #0,2,0: 64:[38, 69] Operation: 6+63=69
Exploring Operation: 63-38=25, Resulting Numbers: [6, 25]
Generated Node #0,2,1: 64:[6, 25] Operation: 63-38=25
Exploring Operation: 38-6=32, Resulting Numbers: [63, 32]
Generated Node #0,2,2: 64:[63, 32] Operation: 38-6=32
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 64:[63, 32], Operations: ['40+23=63', '38-6=32']
Exploring Operation: 63*32=2016, Resulting Numbers: [2016]
2016,64 unequal: No Solution
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,64 unequal: No Solution
Exploring Operation: 63+32=95, Resulting Numbers: [95]
95,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 64:[6, 25], Operations: ['40+23=63', '63-38=25']
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,64 unequal: No Solution
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,64 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 64:[38, 69], Operations: ['40+23=63', '6+63=69']
Exploring Operation: 69-38=31, Resulting Numbers: [31]
31,64 unequal: No Solution
Exploring Operation: 38*69=2622, Resulting Numbers: [2622]
2622,64 unequal: No Solution
Exploring Operation: 38+69=107, Resulting Numbers: [107]
107,64 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 |
[
39,
10,
35,
62
] | 56 | [
"39-10=29",
"62-35=27",
"29+27=56"
] | Current State: 56:[39, 10, 35, 62], Operations: []
Exploring Operation: 39-10=29, Resulting Numbers: [35, 62, 29]
Generated Node #2: [35, 62, 29] from Operation: 39-10=29
Current State: 56:[35, 62, 29], Operations: ['39-10=29']
Exploring Operation: 62-35=27, Resulting Numbers: [29, 27]
Generated Node #3: [29, 27] from Operation: 62-35=27
Current State: 56:[29, 27], Operations: ['39-10=29', '62-35=27']
Exploring Operation: 29+27=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[39, 10, 35, 62], Operations: []
Exploring Operation: 39-10=29, Resulting Numbers: [35, 62, 29]
Generated Node #0,0: 56:[35, 62, 29] Operation: 39-10=29
Exploring Operation: 39-35=4, Resulting Numbers: [10, 62, 4]
Generated Node #0,1: 56:[10, 62, 4] Operation: 39-35=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[10, 62, 4], Operations: ['39-35=4']
Exploring Operation: 62-4=58, Resulting Numbers: [10, 58]
Generated Node #0,1,0: 56:[10, 58] Operation: 62-4=58
Exploring Operation: 62-10=52, Resulting Numbers: [4, 52]
Generated Node #0,1,1: 56:[4, 52] Operation: 62-10=52
Moving to Node #0,1,0
Current State: 56:[10, 58], Operations: ['39-35=4', '62-4=58']
Exploring Operation: 10+58=68, Resulting Numbers: [68]
68,56 unequal: No Solution
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[4, 52], Operations: ['39-35=4', '62-10=52']
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[39, 10, 35, 62], Operations: []
Exploring Operation: 39-35=4, Resulting Numbers: [10, 62, 4]
Generated Node #0,1: 56:[10, 62, 4] Operation: 39-35=4
Moving to Node #0,1
Current State: 56:[10, 62, 4], Operations: ['39-35=4']
Exploring Operation: 62-10=52, Resulting Numbers: [4, 52]
Generated Node #0,1,1: 56:[4, 52] Operation: 62-10=52
Moving to Node #0,1,1
Current State: 56:[4, 52], Operations: ['39-35=4', '62-10=52']
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
71,
79,
94,
11
] | 97 | [
"79-71=8",
"94+11=105",
"105-8=97"
] | Current State: 97:[71, 79, 94, 11], Operations: []
Exploring Operation: 79-71=8, Resulting Numbers: [94, 11, 8]
Generated Node #2: [94, 11, 8] from Operation: 79-71=8
Current State: 97:[94, 11, 8], Operations: ['79-71=8']
Exploring Operation: 94+11=105, Resulting Numbers: [8, 105]
Generated Node #3: [8, 105] from Operation: 94+11=105
Current State: 97:[8, 105], Operations: ['79-71=8', '94+11=105']
Exploring Operation: 105-8=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[71, 79, 94, 11], Operations: []
Exploring Operation: 71+11=82, Resulting Numbers: [79, 94, 82]
Generated Node #0,0: 97:[79, 94, 82] Operation: 71+11=82
Exploring Operation: 94+11=105, Resulting Numbers: [71, 79, 105]
Generated Node #0,1: 97:[71, 79, 105] Operation: 94+11=105
Exploring Operation: 79-11=68, Resulting Numbers: [71, 94, 68]
Generated Node #0,2: 97:[71, 94, 68] Operation: 79-11=68
Exploring Operation: 79+11=90, Resulting Numbers: [71, 94, 90]
Generated Node #0,3: 97:[71, 94, 90] Operation: 79+11=90
Exploring Operation: 71-11=60, Resulting Numbers: [79, 94, 60]
Generated Node #0,4: 97:[79, 94, 60] Operation: 71-11=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[79, 94, 82], Operations: ['71+11=82']
Exploring Operation: 79+94=173, Resulting Numbers: [82, 173]
Generated Node #0,0,0: 97:[82, 173] Operation: 79+94=173
Exploring Operation: 94-79=15, Resulting Numbers: [82, 15]
Generated Node #0,0,1: 97:[82, 15] Operation: 94-79=15
Exploring Operation: 82-79=3, Resulting Numbers: [94, 3]
Generated Node #0,0,2: 97:[94, 3] Operation: 82-79=3
Exploring Operation: 79+82=161, Resulting Numbers: [94, 161]
Generated Node #0,0,3: 97:[94, 161] Operation: 79+82=161
Exploring Operation: 94+82=176, Resulting Numbers: [79, 176]
Generated Node #0,0,4: 97:[79, 176] Operation: 94+82=176
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 97:[94, 161], Operations: ['71+11=82', '79+82=161']
Exploring Operation: 94+161=255, Resulting Numbers: [255]
255,97 unequal: No Solution
Exploring Operation: 94*161=15134, Resulting Numbers: [15134]
15134,97 unequal: No Solution
Exploring Operation: 161-94=67, Resulting Numbers: [67]
67,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:[82, 173], Operations: ['71+11=82', '79+94=173']
Exploring Operation: 82*173=14186, Resulting Numbers: [14186]
14186,97 unequal: No Solution
Exploring Operation: 173-82=91, Resulting Numbers: [91]
91,97 unequal: No Solution
Exploring Operation: 82+173=255, Resulting Numbers: [255]
255,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:[82, 15], Operations: ['71+11=82', '94-79=15']
Exploring Operation: 82-15=67, Resulting Numbers: [67]
67,97 unequal: No Solution
Exploring Operation: 82+15=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[71, 79, 94, 11], Operations: []
Exploring Operation: 71+11=82, Resulting Numbers: [79, 94, 82]
Generated Node #0,0: 97:[79, 94, 82] Operation: 71+11=82
Moving to Node #0,0
Current State: 97:[79, 94, 82], Operations: ['71+11=82']
Exploring Operation: 94-79=15, Resulting Numbers: [82, 15]
Generated Node #0,0,1: 97:[82, 15] Operation: 94-79=15
Moving to Node #0,0,1
Current State: 97:[82, 15], Operations: ['71+11=82', '94-79=15']
Exploring Operation: 82+15=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
16,
7,
95,
7
] | 66 | [
"16+7=23",
"7*23=161",
"161-95=66"
] | Current State: 66:[16, 7, 95, 7], Operations: []
Exploring Operation: 16+7=23, Resulting Numbers: [95, 23]
Generated Node #2: [95, 23] from Operation: 16+7=23
Current State: 66:[95, 23], Operations: ['16+7=23']
Exploring Operation: 7*23=161, Resulting Numbers: [95, 161]
Generated Node #3: [95, 161] from Operation: 7*23=161
Current State: 66:[95, 161], Operations: ['16+7=23', '7*23=161']
Exploring Operation: 161-95=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[16, 7, 95, 7], Operations: []
Exploring Operation: 95-16=79, Resulting Numbers: [7, 7, 79]
Generated Node #0,0: 66:[7, 7, 79] Operation: 95-16=79
Exploring Operation: 95-7=88, Resulting Numbers: [16, 7, 88]
Generated Node #0,1: 66:[16, 7, 88] Operation: 95-7=88
Exploring Operation: 95-7=88, Resulting Numbers: [16, 7, 88]
Generated Node #0,2: 66:[16, 7, 88] Operation: 95-7=88
Moving to Node #0,0
Current State: 66:[7, 7, 79], Operations: ['95-16=79']
Exploring Operation: 79-7=72, Resulting Numbers: [7, 72]
Generated Node #0,0,0: 66:[7, 72] Operation: 79-7=72
Exploring Operation: 7/7=1, Resulting Numbers: [79, 1]
Generated Node #0,0,1: 66:[79, 1] Operation: 7/7=1
Exploring Operation: 79-7=72, Resulting Numbers: [7, 72]
Generated Node #0,0,2: 66:[7, 72] Operation: 79-7=72
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[7, 72], Operations: ['95-16=79', '79-7=72']
Exploring Operation: 7+72=79, Resulting Numbers: [79]
79,66 unequal: No Solution
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 7*72=504, Resulting Numbers: [504]
504,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 66:[7, 72], Operations: ['95-16=79', '79-7=72']
Exploring Operation: 7+72=79, Resulting Numbers: [79]
79,66 unequal: No Solution
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 7*72=504, Resulting Numbers: [504]
504,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[79, 1], Operations: ['95-16=79', '7/7=1']
Exploring Operation: 79*1=79, Resulting Numbers: [79]
79,66 unequal: No Solution
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,66 unequal: No Solution
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 66:[16, 7, 88], Operations: ['95-7=88']
Exploring Operation: 88-16=72, Resulting Numbers: [7, 72]
Generated Node #0,1,0: 66:[7, 72] Operation: 88-16=72
Exploring Operation: 16+7=23, Resulting Numbers: [88, 23]
Generated Node #0,1,1: 66:[88, 23] Operation: 16+7=23
Exploring Operation: 88-7=81, Resulting Numbers: [16, 81]
Generated Node #0,1,2: 66:[16, 81] Operation: 88-7=81
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[7, 72], Operations: ['95-7=88', '88-16=72']
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 7*72=504, Resulting Numbers: [504]
504,66 unequal: No Solution
Exploring Operation: 7+72=79, Resulting Numbers: [79]
79,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 66:[16, 81], Operations: ['95-7=88', '88-7=81']
Exploring Operation: 16+81=97, Resulting Numbers: [97]
97,66 unequal: No Solution
Exploring Operation: 16*81=1296, Resulting Numbers: [1296]
1296,66 unequal: No Solution
Exploring Operation: 81-16=65, Resulting Numbers: [65]
65,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[88, 23], Operations: ['95-7=88', '16+7=23']
Exploring Operation: 88-23=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 88+23=111, Resulting Numbers: [111]
111,66 unequal: No Solution
Exploring Operation: 88*23=2024, Resulting Numbers: [2024]
2024,66 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: 66:[16, 7, 88], Operations: ['95-7=88']
Exploring Operation: 16+7=23, Resulting Numbers: [88, 23]
Generated Node #0,2,0: 66:[88, 23] Operation: 16+7=23
Exploring Operation: 88-7=81, Resulting Numbers: [16, 81]
Generated Node #0,2,1: 66:[16, 81] Operation: 88-7=81
Exploring Operation: 88-16=72, Resulting Numbers: [7, 72]
Generated Node #0,2,2: 66:[7, 72] Operation: 88-16=72
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 66:[7, 72], Operations: ['95-7=88', '88-16=72']
Exploring Operation: 7+72=79, Resulting Numbers: [79]
79,66 unequal: No Solution
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 7*72=504, Resulting Numbers: [504]
504,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 66:[16, 81], Operations: ['95-7=88', '88-7=81']
Exploring Operation: 81-16=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 16*81=1296, Resulting Numbers: [1296]
1296,66 unequal: No Solution
Exploring Operation: 16+81=97, Resulting Numbers: [97]
97,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 66:[88, 23], Operations: ['95-7=88', '16+7=23']
Exploring Operation: 88+23=111, Resulting Numbers: [111]
111,66 unequal: No Solution
Exploring Operation: 88*23=2024, Resulting Numbers: [2024]
2024,66 unequal: No Solution
Exploring Operation: 88-23=65, Resulting Numbers: [65]
65,66 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 |
[
14,
86,
10,
64
] | 18 | [
"86-14=72",
"64-10=54",
"72-54=18"
] | Current State: 18:[14, 86, 10, 64], Operations: []
Exploring Operation: 86-14=72, Resulting Numbers: [10, 64, 72]
Generated Node #2: [10, 64, 72] from Operation: 86-14=72
Current State: 18:[10, 64, 72], Operations: ['86-14=72']
Exploring Operation: 64-10=54, Resulting Numbers: [72, 54]
Generated Node #3: [72, 54] from Operation: 64-10=54
Current State: 18:[72, 54], Operations: ['86-14=72', '64-10=54']
Exploring Operation: 72-54=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[14, 86, 10, 64], Operations: []
Exploring Operation: 86-64=22, Resulting Numbers: [14, 10, 22]
Generated Node #0,0: 18:[14, 10, 22] Operation: 86-64=22
Exploring Operation: 64-14=50, Resulting Numbers: [86, 10, 50]
Generated Node #0,1: 18:[86, 10, 50] Operation: 64-14=50
Exploring Operation: 64-10=54, Resulting Numbers: [14, 86, 54]
Generated Node #0,2: 18:[14, 86, 54] Operation: 64-10=54
Exploring Operation: 86-14=72, Resulting Numbers: [10, 64, 72]
Generated Node #0,3: 18:[10, 64, 72] Operation: 86-14=72
Exploring Operation: 86-10=76, Resulting Numbers: [14, 64, 76]
Generated Node #0,4: 18:[14, 64, 76] Operation: 86-10=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[14, 10, 22], Operations: ['86-64=22']
Exploring Operation: 14-10=4, Resulting Numbers: [22, 4]
Generated Node #0,0,0: 18:[22, 4] Operation: 14-10=4
Exploring Operation: 22-14=8, Resulting Numbers: [10, 8]
Generated Node #0,0,1: 18:[10, 8] Operation: 22-14=8
Exploring Operation: 14+10=24, Resulting Numbers: [22, 24]
Generated Node #0,0,2: 18:[22, 24] Operation: 14+10=24
Exploring Operation: 22-10=12, Resulting Numbers: [14, 12]
Generated Node #0,0,3: 18:[14, 12] Operation: 22-10=12
Exploring Operation: 10+22=32, Resulting Numbers: [14, 32]
Generated Node #0,0,4: 18:[14, 32] Operation: 10+22=32
Moving to Node #0,0,1
Current State: 18:[10, 8], Operations: ['86-64=22', '22-14=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,18 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[14, 86, 10, 64], Operations: []
Exploring Operation: 86-64=22, Resulting Numbers: [14, 10, 22]
Generated Node #0,0: 18:[14, 10, 22] Operation: 86-64=22
Moving to Node #0,0
Current State: 18:[14, 10, 22], Operations: ['86-64=22']
Exploring Operation: 22-14=8, Resulting Numbers: [10, 8]
Generated Node #0,0,1: 18:[10, 8] Operation: 22-14=8
Moving to Node #0,0,1
Current State: 18:[10, 8], Operations: ['86-64=22', '22-14=8']
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
28,
81,
85,
84
] | 14 | [
"84-28=56",
"85-81=4",
"56/4=14"
] | Current State: 14:[28, 81, 85, 84], Operations: []
Exploring Operation: 84-28=56, Resulting Numbers: [81, 85, 56]
Generated Node #2: [81, 85, 56] from Operation: 84-28=56
Current State: 14:[81, 85, 56], Operations: ['84-28=56']
Exploring Operation: 85-81=4, Resulting Numbers: [56, 4]
Generated Node #3: [56, 4] from Operation: 85-81=4
Current State: 14:[56, 4], Operations: ['84-28=56', '85-81=4']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[28, 81, 85, 84], Operations: []
Exploring Operation: 85-81=4, Resulting Numbers: [28, 84, 4]
Generated Node #0,0: 14:[28, 84, 4] Operation: 85-81=4
Exploring Operation: 85-84=1, Resulting Numbers: [28, 81, 1]
Generated Node #0,1: 14:[28, 81, 1] Operation: 85-84=1
Exploring Operation: 84/28=3, Resulting Numbers: [81, 85, 3]
Generated Node #0,2: 14:[81, 85, 3] Operation: 84/28=3
Exploring Operation: 84-81=3, Resulting Numbers: [28, 85, 3]
Generated Node #0,3: 14:[28, 85, 3] Operation: 84-81=3
Exploring Operation: 81-28=53, Resulting Numbers: [85, 84, 53]
Generated Node #0,4: 14:[85, 84, 53] Operation: 81-28=53
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[28, 81, 1], Operations: ['85-84=1']
Exploring Operation: 81-28=53, Resulting Numbers: [1, 53]
Generated Node #0,1,0: 14:[1, 53] Operation: 81-28=53
Exploring Operation: 28/1=28, Resulting Numbers: [81, 28]
Generated Node #0,1,1: 14:[81, 28] Operation: 28/1=28
Exploring Operation: 81-1=80, Resulting Numbers: [28, 80]
Generated Node #0,1,2: 14:[28, 80] Operation: 81-1=80
Exploring Operation: 28-1=27, Resulting Numbers: [81, 27]
Generated Node #0,1,3: 14:[81, 27] Operation: 28-1=27
Exploring Operation: 28*1=28, Resulting Numbers: [81, 28]
Generated Node #0,1,4: 14:[81, 28] Operation: 28*1=28
Moving to Node #0,1,0
Current State: 14:[1, 53], Operations: ['85-84=1', '81-28=53']
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,14 unequal: No Solution
Exploring Operation: 1+53=54, Resulting Numbers: [54]
54,14 unequal: No Solution
Exploring Operation: 1*53=53, Resulting Numbers: [53]
53,14 unequal: No Solution
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,14 unequal: No Solution
Moving to Node #0,1,3
Current State: 14:[81, 27], Operations: ['85-84=1', '28-1=27']
Exploring Operation: 81*27=2187, Resulting Numbers: [2187]
2187,14 unequal: No Solution
Exploring Operation: 81/27=3, Resulting Numbers: [3]
3,14 unequal: No Solution
Exploring Operation: 81+27=108, Resulting Numbers: [108]
108,14 unequal: No Solution
Exploring Operation: 81-27=54, Resulting Numbers: [54]
54,14 unequal: No Solution
Moving to Node #0,1,2
Current State: 14:[28, 80], Operations: ['85-84=1', '81-1=80']
Exploring Operation: 28+80=108, Resulting Numbers: [108]
108,14 unequal: No Solution
Exploring Operation: 80-28=52, Resulting Numbers: [52]
52,14 unequal: No Solution
Exploring Operation: 28*80=2240, Resulting Numbers: [2240]
2240,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[81, 28], Operations: ['85-84=1', '28/1=28']
Exploring Operation: 81-28=53, Resulting Numbers: [53]
53,14 unequal: No Solution
Exploring Operation: 81*28=2268, Resulting Numbers: [2268]
2268,14 unequal: No Solution
Exploring Operation: 81+28=109, Resulting Numbers: [109]
109,14 unequal: No Solution
Moving to Node #0,1,4
Current State: 14:[81, 28], Operations: ['85-84=1', '28*1=28']
Exploring Operation: 81-28=53, Resulting Numbers: [53]
53,14 unequal: No Solution
Exploring Operation: 81*28=2268, Resulting Numbers: [2268]
2268,14 unequal: No Solution
Exploring Operation: 81+28=109, Resulting Numbers: [109]
109,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[28, 84, 4], Operations: ['85-81=4']
Exploring Operation: 84/4=21, Resulting Numbers: [28, 21]
Generated Node #0,0,0: 14:[28, 21] Operation: 84/4=21
Exploring Operation: 28-4=24, Resulting Numbers: [84, 24]
Generated Node #0,0,1: 14:[84, 24] Operation: 28-4=24
Exploring Operation: 28/4=7, Resulting Numbers: [84, 7]
Generated Node #0,0,2: 14:[84, 7] Operation: 28/4=7
Exploring Operation: 84-28=56, Resulting Numbers: [4, 56]
Generated Node #0,0,3: 14:[4, 56] Operation: 84-28=56
Exploring Operation: 84/28=3, Resulting Numbers: [4, 3]
Generated Node #0,0,4: 14:[4, 3] Operation: 84/28=3
Moving to Node #0,0,4
Current State: 14:[4, 3], Operations: ['85-81=4', '84/28=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[28, 21], Operations: ['85-81=4', '84/4=21']
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Exploring Operation: 28+21=49, Resulting Numbers: [49]
49,14 unequal: No Solution
Exploring Operation: 28*21=588, Resulting Numbers: [588]
588,14 unequal: No Solution
Moving to Node #0,0,3
Current State: 14:[4, 56], Operations: ['85-81=4', '84-28=56']
Exploring Operation: 4*56=224, Resulting Numbers: [224]
224,14 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[28, 81, 85, 84], Operations: []
Exploring Operation: 85-81=4, Resulting Numbers: [28, 84, 4]
Generated Node #0,0: 14:[28, 84, 4] Operation: 85-81=4
Moving to Node #0,0
Current State: 14:[28, 84, 4], Operations: ['85-81=4']
Exploring Operation: 84-28=56, Resulting Numbers: [4, 56]
Generated Node #0,0,3: 14:[4, 56] Operation: 84-28=56
Moving to Node #0,0,3
Current State: 14:[4, 56], Operations: ['85-81=4', '84-28=56']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.961806 | hs_5 | sum_heuristic |
[
70,
12,
41,
35
] | 72 | [
"70-41=29",
"35-29=6",
"12*6=72"
] | Current State: 72:[70, 12, 41, 35], Operations: []
Exploring Operation: 70-41=29, Resulting Numbers: [12, 35, 29]
Generated Node #2: [12, 35, 29] from Operation: 70-41=29
Current State: 72:[12, 35, 29], Operations: ['70-41=29']
Exploring Operation: 35-29=6, Resulting Numbers: [12, 6]
Generated Node #3: [12, 6] from Operation: 35-29=6
Current State: 72:[12, 6], Operations: ['70-41=29', '35-29=6']
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[70, 12, 41, 35], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [12, 41, 2]
Generated Node #0,0: 72:[12, 41, 2] Operation: 70/35=2
Exploring Operation: 41-35=6, Resulting Numbers: [70, 12, 6]
Generated Node #0,1: 72:[70, 12, 6] Operation: 41-35=6
Moving to Node #0,1
Current State: 72:[70, 12, 6], Operations: ['41-35=6']
Exploring Operation: 12*6=72, Resulting Numbers: [70, 72]
Generated Node #0,1,0: 72:[70, 72] Operation: 12*6=72
Exploring Operation: 12+6=18, Resulting Numbers: [70, 18]
Generated Node #0,1,1: 72:[70, 18] Operation: 12+6=18
Moving to Node #0,0
Current State: 72:[12, 41, 2], Operations: ['70/35=2']
Exploring Operation: 41-12=29, Resulting Numbers: [2, 29]
Generated Node #0,0,0: 72:[2, 29] Operation: 41-12=29
Exploring Operation: 41-2=39, Resulting Numbers: [12, 39]
Generated Node #0,0,1: 72:[12, 39] Operation: 41-2=39
Moving to Node #0,1,0
Current State: 72:[70, 72], Operations: ['41-35=6', '12*6=72']
Exploring Operation: 70+72=142, Resulting Numbers: [142]
142,72 unequal: No Solution
Exploring Operation: 72-70=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[70, 18], Operations: ['41-35=6', '12+6=18']
Exploring Operation: 70+18=88, Resulting Numbers: [88]
88,72 unequal: No Solution
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[12, 39], Operations: ['70/35=2', '41-2=39']
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,72 unequal: No Solution
Exploring Operation: 12+39=51, Resulting Numbers: [51]
51,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[2, 29], Operations: ['70/35=2', '41-12=29']
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,72 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,72 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
56,
77,
11,
7
] | 58 | [
"56/7=8",
"77-11=66",
"66-8=58"
] | Current State: 58:[56, 77, 11, 7], Operations: []
Exploring Operation: 56/7=8, Resulting Numbers: [77, 11, 8]
Generated Node #2: [77, 11, 8] from Operation: 56/7=8
Current State: 58:[77, 11, 8], Operations: ['56/7=8']
Exploring Operation: 77-11=66, Resulting Numbers: [8, 66]
Generated Node #3: [8, 66] from Operation: 77-11=66
Current State: 58:[8, 66], Operations: ['56/7=8', '77-11=66']
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[56, 77, 11, 7], Operations: []
Exploring Operation: 77/11=7, Resulting Numbers: [56, 7, 7]
Generated Node #0,0: 58:[56, 7, 7] Operation: 77/11=7
Exploring Operation: 77-11=66, Resulting Numbers: [56, 7, 66]
Generated Node #0,1: 58:[56, 7, 66] Operation: 77-11=66
Moving to Node #0,0
Current State: 58:[56, 7, 7], Operations: ['77/11=7']
Exploring Operation: 7/7=1, Resulting Numbers: [56, 1]
Generated Node #0,0,0: 58:[56, 1] Operation: 7/7=1
Exploring Operation: 7-7=0, Resulting Numbers: [56, 0]
Generated Node #0,0,1: 58:[56, 0] Operation: 7-7=0
Moving to Node #0,1
Current State: 58:[56, 7, 66], Operations: ['77-11=66']
Exploring Operation: 56+7=63, Resulting Numbers: [66, 63]
Generated Node #0,1,0: 58:[66, 63] Operation: 56+7=63
Exploring Operation: 66-7=59, Resulting Numbers: [56, 59]
Generated Node #0,1,1: 58:[56, 59] Operation: 66-7=59
Moving to Node #0,0,0
Current State: 58:[56, 1], Operations: ['77/11=7', '7/7=1']
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 56*1=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[56, 59], Operations: ['77-11=66', '66-7=59']
Exploring Operation: 59-56=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 56+59=115, Resulting Numbers: [115]
115,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[56, 0], Operations: ['77/11=7', '7-7=0']
Exploring Operation: 56*0=0, Resulting Numbers: [0]
0,58 unequal: No Solution
Exploring Operation: 56+0=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[66, 63], Operations: ['77-11=66', '56+7=63']
Exploring Operation: 66+63=129, Resulting Numbers: [129]
129,58 unequal: No Solution
Exploring Operation: 66-63=3, Resulting Numbers: [3]
3,58 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
16,
74,
18,
98
] | 79 | [
"98-18=80",
"80/16=5",
"74+5=79"
] | Current State: 79:[16, 74, 18, 98], Operations: []
Exploring Operation: 98-18=80, Resulting Numbers: [16, 74, 80]
Generated Node #2: [16, 74, 80] from Operation: 98-18=80
Current State: 79:[16, 74, 80], Operations: ['98-18=80']
Exploring Operation: 80/16=5, Resulting Numbers: [74, 5]
Generated Node #3: [74, 5] from Operation: 80/16=5
Current State: 79:[74, 5], Operations: ['98-18=80', '80/16=5']
Exploring Operation: 74+5=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[16, 74, 18, 98], Operations: []
Exploring Operation: 98-18=80, Resulting Numbers: [16, 74, 80]
Generated Node #0,0: 79:[16, 74, 80] Operation: 98-18=80
Exploring Operation: 98-16=82, Resulting Numbers: [74, 18, 82]
Generated Node #0,1: 79:[74, 18, 82] Operation: 98-16=82
Exploring Operation: 16+18=34, Resulting Numbers: [74, 98, 34]
Generated Node #0,2: 79:[74, 98, 34] Operation: 16+18=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[16, 74, 80], Operations: ['98-18=80']
Exploring Operation: 16+74=90, Resulting Numbers: [80, 90]
Generated Node #0,0,0: 79:[80, 90] Operation: 16+74=90
Exploring Operation: 80-16=64, Resulting Numbers: [74, 64]
Generated Node #0,0,1: 79:[74, 64] Operation: 80-16=64
Exploring Operation: 74-16=58, Resulting Numbers: [80, 58]
Generated Node #0,0,2: 79:[80, 58] Operation: 74-16=58
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[80, 90], Operations: ['98-18=80', '16+74=90']
Exploring Operation: 80+90=170, Resulting Numbers: [170]
170,79 unequal: No Solution
Exploring Operation: 90-80=10, Resulting Numbers: [10]
10,79 unequal: No Solution
Exploring Operation: 80*90=7200, Resulting Numbers: [7200]
7200,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[74, 64], Operations: ['98-18=80', '80-16=64']
Exploring Operation: 74*64=4736, Resulting Numbers: [4736]
4736,79 unequal: No Solution
Exploring Operation: 74+64=138, Resulting Numbers: [138]
138,79 unequal: No Solution
Exploring Operation: 74-64=10, Resulting Numbers: [10]
10,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[80, 58], Operations: ['98-18=80', '74-16=58']
Exploring Operation: 80*58=4640, Resulting Numbers: [4640]
4640,79 unequal: No Solution
Exploring Operation: 80-58=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Exploring Operation: 80+58=138, Resulting Numbers: [138]
138,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[74, 18, 82], Operations: ['98-16=82']
Exploring Operation: 74-18=56, Resulting Numbers: [82, 56]
Generated Node #0,1,0: 79:[82, 56] Operation: 74-18=56
Exploring Operation: 82-18=64, Resulting Numbers: [74, 64]
Generated Node #0,1,1: 79:[74, 64] Operation: 82-18=64
Exploring Operation: 74+18=92, Resulting Numbers: [82, 92]
Generated Node #0,1,2: 79:[82, 92] Operation: 74+18=92
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 79:[82, 92], Operations: ['98-16=82', '74+18=92']
Exploring Operation: 82*92=7544, Resulting Numbers: [7544]
7544,79 unequal: No Solution
Exploring Operation: 92-82=10, Resulting Numbers: [10]
10,79 unequal: No Solution
Exploring Operation: 82+92=174, Resulting Numbers: [174]
174,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:[74, 64], Operations: ['98-16=82', '82-18=64']
Exploring Operation: 74+64=138, Resulting Numbers: [138]
138,79 unequal: No Solution
Exploring Operation: 74*64=4736, Resulting Numbers: [4736]
4736,79 unequal: No Solution
Exploring Operation: 74-64=10, Resulting Numbers: [10]
10,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:[82, 56], Operations: ['98-16=82', '74-18=56']
Exploring Operation: 82+56=138, Resulting Numbers: [138]
138,79 unequal: No Solution
Exploring Operation: 82*56=4592, Resulting Numbers: [4592]
4592,79 unequal: No Solution
Exploring Operation: 82-56=26, Resulting Numbers: [26]
26,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:[74, 98, 34], Operations: ['16+18=34']
Exploring Operation: 74-34=40, Resulting Numbers: [98, 40]
Generated Node #0,2,0: 79:[98, 40] Operation: 74-34=40
Exploring Operation: 74+34=108, Resulting Numbers: [98, 108]
Generated Node #0,2,1: 79:[98, 108] Operation: 74+34=108
Exploring Operation: 98-34=64, Resulting Numbers: [74, 64]
Generated Node #0,2,2: 79:[74, 64] Operation: 98-34=64
Moving to Node #0,2,2
Current State: 79:[74, 64], Operations: ['16+18=34', '98-34=64']
Exploring Operation: 74-64=10, Resulting Numbers: [10]
10,79 unequal: No Solution
Exploring Operation: 74+64=138, Resulting Numbers: [138]
138,79 unequal: No Solution
Exploring Operation: 74*64=4736, Resulting Numbers: [4736]
4736,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[98, 108], Operations: ['16+18=34', '74+34=108']
Exploring Operation: 108-98=10, Resulting Numbers: [10]
10,79 unequal: No Solution
Exploring Operation: 98*108=10584, Resulting Numbers: [10584]
10584,79 unequal: No Solution
Exploring Operation: 98+108=206, Resulting Numbers: [206]
206,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[98, 40], Operations: ['16+18=34', '74-34=40']
Exploring Operation: 98-40=58, Resulting Numbers: [58]
58,79 unequal: No Solution
Exploring Operation: 98*40=3920, Resulting Numbers: [3920]
3920,79 unequal: No Solution
Exploring Operation: 98+40=138, Resulting Numbers: [138]
138,79 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 |
[
18,
33,
36,
39
] | 63 | [
"39-18=21",
"36-33=3",
"21*3=63"
] | Current State: 63:[18, 33, 36, 39], Operations: []
Exploring Operation: 39-18=21, Resulting Numbers: [33, 36, 21]
Generated Node #2: [33, 36, 21] from Operation: 39-18=21
Current State: 63:[33, 36, 21], Operations: ['39-18=21']
Exploring Operation: 36-33=3, Resulting Numbers: [21, 3]
Generated Node #3: [21, 3] from Operation: 36-33=3
Current State: 63:[21, 3], Operations: ['39-18=21', '36-33=3']
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[18, 33, 36, 39], Operations: []
Exploring Operation: 39-36=3, Resulting Numbers: [18, 33, 3]
Generated Node #0,0: 63:[18, 33, 3] Operation: 39-36=3
Moving to Node #0,0
Current State: 63:[18, 33, 3], Operations: ['39-36=3']
Exploring Operation: 33/3=11, Resulting Numbers: [18, 11]
Generated Node #0,0,0: 63:[18, 11] Operation: 33/3=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[18, 11], Operations: ['39-36=3', '33/3=11']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
49,
44,
18,
84
] | 61 | [
"49-44=5",
"84-18=66",
"66-5=61"
] | Current State: 61:[49, 44, 18, 84], Operations: []
Exploring Operation: 49-44=5, Resulting Numbers: [18, 84, 5]
Generated Node #2: [18, 84, 5] from Operation: 49-44=5
Current State: 61:[18, 84, 5], Operations: ['49-44=5']
Exploring Operation: 84-18=66, Resulting Numbers: [5, 66]
Generated Node #3: [5, 66] from Operation: 84-18=66
Current State: 61:[5, 66], Operations: ['49-44=5', '84-18=66']
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[49, 44, 18, 84], Operations: []
Exploring Operation: 84-18=66, Resulting Numbers: [49, 44, 66]
Generated Node #0,0: 61:[49, 44, 66] Operation: 84-18=66
Exploring Operation: 49+18=67, Resulting Numbers: [44, 84, 67]
Generated Node #0,1: 61:[44, 84, 67] Operation: 49+18=67
Exploring Operation: 49-18=31, Resulting Numbers: [44, 84, 31]
Generated Node #0,2: 61:[44, 84, 31] Operation: 49-18=31
Exploring Operation: 44+18=62, Resulting Numbers: [49, 84, 62]
Generated Node #0,3: 61:[49, 84, 62] Operation: 44+18=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[49, 44, 66], Operations: ['84-18=66']
Exploring Operation: 66-44=22, Resulting Numbers: [49, 22]
Generated Node #0,0,0: 61:[49, 22] Operation: 66-44=22
Exploring Operation: 49-44=5, Resulting Numbers: [66, 5]
Generated Node #0,0,1: 61:[66, 5] Operation: 49-44=5
Exploring Operation: 49+44=93, Resulting Numbers: [66, 93]
Generated Node #0,0,2: 61:[66, 93] Operation: 49+44=93
Exploring Operation: 66-49=17, Resulting Numbers: [44, 17]
Generated Node #0,0,3: 61:[44, 17] Operation: 66-49=17
Moving to Node #0,0,2
Current State: 61:[66, 93], Operations: ['84-18=66', '49+44=93']
Exploring Operation: 66+93=159, Resulting Numbers: [159]
159,61 unequal: No Solution
Exploring Operation: 66*93=6138, Resulting Numbers: [6138]
6138,61 unequal: No Solution
Exploring Operation: 93-66=27, Resulting Numbers: [27]
27,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[49, 22], Operations: ['84-18=66', '66-44=22']
Exploring Operation: 49*22=1078, Resulting Numbers: [1078]
1078,61 unequal: No Solution
Exploring Operation: 49+22=71, Resulting Numbers: [71]
71,61 unequal: No Solution
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[44, 17], Operations: ['84-18=66', '66-49=17']
Exploring Operation: 44-17=27, Resulting Numbers: [27]
27,61 unequal: No Solution
Exploring Operation: 44+17=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[49, 44, 18, 84], Operations: []
Exploring Operation: 84-18=66, Resulting Numbers: [49, 44, 66]
Generated Node #0,0: 61:[49, 44, 66] Operation: 84-18=66
Moving to Node #0,0
Current State: 61:[49, 44, 66], Operations: ['84-18=66']
Exploring Operation: 66-49=17, Resulting Numbers: [44, 17]
Generated Node #0,0,3: 61:[44, 17] Operation: 66-49=17
Moving to Node #0,0,3
Current State: 61:[44, 17], Operations: ['84-18=66', '66-49=17']
Exploring Operation: 44+17=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
42,
9,
54,
49
] | 87 | [
"54-49=5",
"9*5=45",
"42+45=87"
] | Current State: 87:[42, 9, 54, 49], Operations: []
Exploring Operation: 54-49=5, Resulting Numbers: [42, 9, 5]
Generated Node #2: [42, 9, 5] from Operation: 54-49=5
Current State: 87:[42, 9, 5], Operations: ['54-49=5']
Exploring Operation: 9*5=45, Resulting Numbers: [42, 45]
Generated Node #3: [42, 45] from Operation: 9*5=45
Current State: 87:[42, 45], Operations: ['54-49=5', '9*5=45']
Exploring Operation: 42+45=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[42, 9, 54, 49], Operations: []
Exploring Operation: 54-49=5, Resulting Numbers: [42, 9, 5]
Generated Node #0,0: 87:[42, 9, 5] Operation: 54-49=5
Exploring Operation: 42+54=96, Resulting Numbers: [9, 49, 96]
Generated Node #0,1: 87:[9, 49, 96] Operation: 42+54=96
Moving to Node #0,0
Current State: 87:[42, 9, 5], Operations: ['54-49=5']
Exploring Operation: 42-9=33, Resulting Numbers: [5, 33]
Generated Node #0,0,0: 87:[5, 33] Operation: 42-9=33
Exploring Operation: 42-5=37, Resulting Numbers: [9, 37]
Generated Node #0,0,1: 87:[9, 37] Operation: 42-5=37
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[5, 33], Operations: ['54-49=5', '42-9=33']
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,87 unequal: No Solution
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,87 unequal: No Solution
No 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: 87:[9, 37], Operations: ['54-49=5', '42-5=37']
Exploring Operation: 9+37=46, Resulting Numbers: [46]
46,87 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,87 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: 87:[9, 49, 96], Operations: ['42+54=96']
Exploring Operation: 49-9=40, Resulting Numbers: [96, 40]
Generated Node #0,1,0: 87:[96, 40] Operation: 49-9=40
Exploring Operation: 96-9=87, Resulting Numbers: [49, 87]
Generated Node #0,1,1: 87:[49, 87] Operation: 96-9=87
Moving to Node #0,1,0
Current State: 87:[96, 40], Operations: ['42+54=96', '49-9=40']
Exploring Operation: 96+40=136, Resulting Numbers: [136]
136,87 unequal: No Solution
Exploring Operation: 96-40=56, Resulting Numbers: [56]
56,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[49, 87], Operations: ['42+54=96', '96-9=87']
Exploring Operation: 49+87=136, Resulting Numbers: [136]
136,87 unequal: No Solution
Exploring Operation: 87-49=38, Resulting Numbers: [38]
38,87 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
18,
3,
2,
24
] | 66 | [
"18+3=21",
"2*21=42",
"24+42=66"
] | Current State: 66:[18, 3, 2, 24], Operations: []
Exploring Operation: 18+3=21, Resulting Numbers: [2, 24, 21]
Generated Node #2: [2, 24, 21] from Operation: 18+3=21
Current State: 66:[2, 24, 21], Operations: ['18+3=21']
Exploring Operation: 2*21=42, Resulting Numbers: [24, 42]
Generated Node #3: [24, 42] from Operation: 2*21=42
Current State: 66:[24, 42], Operations: ['18+3=21', '2*21=42']
Exploring Operation: 24+42=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[18, 3, 2, 24], Operations: []
Exploring Operation: 18/3=6, Resulting Numbers: [2, 24, 6]
Generated Node #0,0: 66:[2, 24, 6] Operation: 18/3=6
Exploring Operation: 18+3=21, Resulting Numbers: [2, 24, 21]
Generated Node #0,1: 66:[2, 24, 21] Operation: 18+3=21
Exploring Operation: 24-18=6, Resulting Numbers: [3, 2, 6]
Generated Node #0,2: 66:[3, 2, 6] Operation: 24-18=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[3, 2, 6], Operations: ['24-18=6']
Exploring Operation: 6-3=3, Resulting Numbers: [2, 3]
Generated Node #0,2,0: 66:[2, 3] Operation: 6-3=3
Exploring Operation: 3*2=6, Resulting Numbers: [6, 6]
Generated Node #0,2,1: 66:[6, 6] Operation: 3*2=6
Exploring Operation: 6/3=2, Resulting Numbers: [2, 2]
Generated Node #0,2,2: 66:[2, 2] Operation: 6/3=2
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 66:[2, 3], Operations: ['24-18=6', '6-3=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,66 unequal: No Solution
No 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: 66:[6, 6], Operations: ['24-18=6', '3*2=6']
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,66 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,66 unequal: No Solution
No 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: 66:[2, 2], Operations: ['24-18=6', '6/3=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,66 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: 66:[2, 24, 6], Operations: ['18/3=6']
Exploring Operation: 24/2=12, Resulting Numbers: [6, 12]
Generated Node #0,0,0: 66:[6, 12] Operation: 24/2=12
Exploring Operation: 24/6=4, Resulting Numbers: [2, 4]
Generated Node #0,0,1: 66:[2, 4] Operation: 24/6=4
Exploring Operation: 24-2=22, Resulting Numbers: [6, 22]
Generated Node #0,0,2: 66:[6, 22] Operation: 24-2=22
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 66:[6, 22], Operations: ['18/3=6', '24-2=22']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,66 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,66 unequal: No Solution
No 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: 66:[6, 12], Operations: ['18/3=6', '24/2=12']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,66 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,66 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,66 unequal: No Solution
No 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: 66:[2, 4], Operations: ['18/3=6', '24/6=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,66 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,66 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: 66:[2, 24, 21], Operations: ['18+3=21']
Exploring Operation: 24-2=22, Resulting Numbers: [21, 22]
Generated Node #0,1,0: 66:[21, 22] Operation: 24-2=22
Exploring Operation: 24-21=3, Resulting Numbers: [2, 3]
Generated Node #0,1,1: 66:[2, 3] Operation: 24-21=3
Exploring Operation: 24/2=12, Resulting Numbers: [21, 12]
Generated Node #0,1,2: 66:[21, 12] Operation: 24/2=12
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 66:[2, 3], Operations: ['18+3=21', '24-21=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,66 unequal: No Solution
No 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: 66:[21, 22], Operations: ['18+3=21', '24-2=22']
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 21+22=43, Resulting Numbers: [43]
43,66 unequal: No Solution
Exploring Operation: 21*22=462, Resulting Numbers: [462]
462,66 unequal: No Solution
No 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: 66:[21, 12], Operations: ['18+3=21', '24/2=12']
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,66 unequal: No Solution
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 21*12=252, Resulting Numbers: [252]
252,66 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 |
[
13,
3,
18,
12
] | 69 | [
"13*3=39",
"18+12=30",
"39+30=69"
] | Current State: 69:[13, 3, 18, 12], Operations: []
Exploring Operation: 13*3=39, Resulting Numbers: [18, 12, 39]
Generated Node #2: [18, 12, 39] from Operation: 13*3=39
Current State: 69:[18, 12, 39], Operations: ['13*3=39']
Exploring Operation: 18+12=30, Resulting Numbers: [39, 30]
Generated Node #3: [39, 30] from Operation: 18+12=30
Current State: 69:[39, 30], Operations: ['13*3=39', '18+12=30']
Exploring Operation: 39+30=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[13, 3, 18, 12], Operations: []
Exploring Operation: 18-13=5, Resulting Numbers: [3, 12, 5]
Generated Node #0,0: 69:[3, 12, 5] Operation: 18-13=5
Exploring Operation: 13+12=25, Resulting Numbers: [3, 18, 25]
Generated Node #0,1: 69:[3, 18, 25] Operation: 13+12=25
Exploring Operation: 13-12=1, Resulting Numbers: [3, 18, 1]
Generated Node #0,2: 69:[3, 18, 1] Operation: 13-12=1
Moving to Node #0,1
Current State: 69:[3, 18, 25], Operations: ['13+12=25']
Exploring Operation: 25-18=7, Resulting Numbers: [3, 7]
Generated Node #0,1,0: 69:[3, 7] Operation: 25-18=7
Exploring Operation: 3+18=21, Resulting Numbers: [25, 21]
Generated Node #0,1,1: 69:[25, 21] Operation: 3+18=21
Exploring Operation: 18/3=6, Resulting Numbers: [25, 6]
Generated Node #0,1,2: 69:[25, 6] Operation: 18/3=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 69:[3, 7], Operations: ['13+12=25', '25-18=7']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,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:[25, 21], Operations: ['13+12=25', '3+18=21']
Exploring Operation: 25*21=525, Resulting Numbers: [525]
525,69 unequal: No Solution
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,69 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,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,2
Current State: 69:[25, 6], Operations: ['13+12=25', '18/3=6']
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,69 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,69 unequal: No Solution
Exploring Operation: 25*6=150, Resulting Numbers: [150]
150,69 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: 69:[3, 18, 1], Operations: ['13-12=1']
Exploring Operation: 18+1=19, Resulting Numbers: [3, 19]
Generated Node #0,2,0: 69:[3, 19] Operation: 18+1=19
Exploring Operation: 18/3=6, Resulting Numbers: [1, 6]
Generated Node #0,2,1: 69:[1, 6] Operation: 18/3=6
Exploring Operation: 3+18=21, Resulting Numbers: [1, 21]
Generated Node #0,2,2: 69:[1, 21] Operation: 3+18=21
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 69:[3, 19], Operations: ['13-12=1', '18+1=19']
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,69 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,69 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,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,2,2
Current State: 69:[1, 21], Operations: ['13-12=1', '3+18=21']
Exploring Operation: 1+21=22, Resulting Numbers: [22]
22,69 unequal: No Solution
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Exploring Operation: 1*21=21, Resulting Numbers: [21]
21,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,2,1
Current State: 69:[1, 6], Operations: ['13-12=1', '18/3=6']
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,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:[3, 12, 5], Operations: ['18-13=5']
Exploring Operation: 12-5=7, Resulting Numbers: [3, 7]
Generated Node #0,0,0: 69:[3, 7] Operation: 12-5=7
Exploring Operation: 12+5=17, Resulting Numbers: [3, 17]
Generated Node #0,0,1: 69:[3, 17] Operation: 12+5=17
Exploring Operation: 12/3=4, Resulting Numbers: [5, 4]
Generated Node #0,0,2: 69:[5, 4] Operation: 12/3=4
Moving to Node #0,0,2
Current State: 69:[5, 4], Operations: ['18-13=5', '12/3=4']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[3, 7], Operations: ['18-13=5', '12-5=7']
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[3, 17], Operations: ['18-13=5', '12+5=17']
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,69 unequal: No Solution
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,69 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
7,
47,
82,
74
] | 79 | [
"82-47=35",
"35/7=5",
"74+5=79"
] | Current State: 79:[7, 47, 82, 74], Operations: []
Exploring Operation: 82-47=35, Resulting Numbers: [7, 74, 35]
Generated Node #2: [7, 74, 35] from Operation: 82-47=35
Current State: 79:[7, 74, 35], Operations: ['82-47=35']
Exploring Operation: 35/7=5, Resulting Numbers: [74, 5]
Generated Node #3: [74, 5] from Operation: 35/7=5
Current State: 79:[74, 5], Operations: ['82-47=35', '35/7=5']
Exploring Operation: 74+5=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[7, 47, 82, 74], Operations: []
Exploring Operation: 7+74=81, Resulting Numbers: [47, 82, 81]
Generated Node #0,0: 79:[47, 82, 81] Operation: 7+74=81
Exploring Operation: 7+47=54, Resulting Numbers: [82, 74, 54]
Generated Node #0,1: 79:[82, 74, 54] Operation: 7+47=54
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[82, 74, 54], Operations: ['7+47=54']
Exploring Operation: 82-54=28, Resulting Numbers: [74, 28]
Generated Node #0,1,0: 79:[74, 28] Operation: 82-54=28
Exploring Operation: 74+54=128, Resulting Numbers: [82, 128]
Generated Node #0,1,1: 79:[82, 128] Operation: 74+54=128
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[82, 128], Operations: ['7+47=54', '74+54=128']
Exploring Operation: 82+128=210, Resulting Numbers: [210]
210,79 unequal: No Solution
Exploring Operation: 128-82=46, Resulting Numbers: [46]
46,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:[74, 28], Operations: ['7+47=54', '82-54=28']
Exploring Operation: 74+28=102, Resulting Numbers: [102]
102,79 unequal: No Solution
Exploring Operation: 74-28=46, Resulting Numbers: [46]
46,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,0
Current State: 79:[47, 82, 81], Operations: ['7+74=81']
Exploring Operation: 82-47=35, Resulting Numbers: [81, 35]
Generated Node #0,0,0: 79:[81, 35] Operation: 82-47=35
Exploring Operation: 81-47=34, Resulting Numbers: [82, 34]
Generated Node #0,0,1: 79:[82, 34] Operation: 81-47=34
Moving to Node #0,0,0
Current State: 79:[81, 35], Operations: ['7+74=81', '82-47=35']
Exploring Operation: 81-35=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Exploring Operation: 81+35=116, Resulting Numbers: [116]
116,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[82, 34], Operations: ['7+74=81', '81-47=34']
Exploring Operation: 82+34=116, Resulting Numbers: [116]
116,79 unequal: No Solution
Exploring Operation: 82-34=48, Resulting Numbers: [48]
48,79 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 |
[
5,
75,
51,
96
] | 30 | [
"75/5=15",
"96-51=45",
"45-15=30"
] | Current State: 30:[5, 75, 51, 96], Operations: []
Exploring Operation: 75/5=15, Resulting Numbers: [51, 96, 15]
Generated Node #2: [51, 96, 15] from Operation: 75/5=15
Current State: 30:[51, 96, 15], Operations: ['75/5=15']
Exploring Operation: 96-51=45, Resulting Numbers: [15, 45]
Generated Node #3: [15, 45] from Operation: 96-51=45
Current State: 30:[15, 45], Operations: ['75/5=15', '96-51=45']
Exploring Operation: 45-15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[5, 75, 51, 96], Operations: []
Exploring Operation: 75/5=15, Resulting Numbers: [51, 96, 15]
Generated Node #0,0: 30:[51, 96, 15] Operation: 75/5=15
Exploring Operation: 75-51=24, Resulting Numbers: [5, 96, 24]
Generated Node #0,1: 30:[5, 96, 24] Operation: 75-51=24
Exploring Operation: 96-75=21, Resulting Numbers: [5, 51, 21]
Generated Node #0,2: 30:[5, 51, 21] Operation: 96-75=21
Exploring Operation: 96-51=45, Resulting Numbers: [5, 75, 45]
Generated Node #0,3: 30:[5, 75, 45] Operation: 96-51=45
Moving to Node #0,2
Current State: 30:[5, 51, 21], Operations: ['96-75=21']
Exploring Operation: 5+21=26, Resulting Numbers: [51, 26]
Generated Node #0,2,0: 30:[51, 26] Operation: 5+21=26
Exploring Operation: 21-5=16, Resulting Numbers: [51, 16]
Generated Node #0,2,1: 30:[51, 16] Operation: 21-5=16
Exploring Operation: 51-5=46, Resulting Numbers: [21, 46]
Generated Node #0,2,2: 30:[21, 46] Operation: 51-5=46
Exploring Operation: 51-21=30, Resulting Numbers: [5, 30]
Generated Node #0,2,3: 30:[5, 30] Operation: 51-21=30
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 30:[5, 30], Operations: ['96-75=21', '51-21=30']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,30 unequal: No Solution
Exploring Operation: 5*30=150, Resulting Numbers: [150]
150,30 unequal: No Solution
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,30 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,30 unequal: No Solution
No 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: 30:[51, 16], Operations: ['96-75=21', '21-5=16']
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,30 unequal: No Solution
Exploring Operation: 51+16=67, Resulting Numbers: [67]
67,30 unequal: No Solution
Exploring Operation: 51*16=816, Resulting Numbers: [816]
816,30 unequal: No Solution
No 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: 30:[21, 46], Operations: ['96-75=21', '51-5=46']
Exploring Operation: 21+46=67, Resulting Numbers: [67]
67,30 unequal: No Solution
Exploring Operation: 21*46=966, Resulting Numbers: [966]
966,30 unequal: No Solution
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,30 unequal: No Solution
No 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: 30:[51, 26], Operations: ['96-75=21', '5+21=26']
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,30 unequal: No Solution
Exploring Operation: 51*26=1326, Resulting Numbers: [1326]
1326,30 unequal: No Solution
Exploring Operation: 51+26=77, Resulting Numbers: [77]
77,30 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: 30:[5, 75, 45], Operations: ['96-51=45']
Exploring Operation: 45/5=9, Resulting Numbers: [75, 9]
Generated Node #0,3,0: 30:[75, 9] Operation: 45/5=9
Exploring Operation: 75-5=70, Resulting Numbers: [45, 70]
Generated Node #0,3,1: 30:[45, 70] Operation: 75-5=70
Exploring Operation: 75/5=15, Resulting Numbers: [45, 15]
Generated Node #0,3,2: 30:[45, 15] Operation: 75/5=15
Exploring Operation: 75-45=30, Resulting Numbers: [5, 30]
Generated Node #0,3,3: 30:[5, 30] Operation: 75-45=30
Moving to Node #0,1
Current State: 30:[5, 96, 24], Operations: ['75-51=24']
Exploring Operation: 96/24=4, Resulting Numbers: [5, 4]
Generated Node #0,1,0: 30:[5, 4] Operation: 96/24=4
Exploring Operation: 5+24=29, Resulting Numbers: [96, 29]
Generated Node #0,1,1: 30:[96, 29] Operation: 5+24=29
Exploring Operation: 96-5=91, Resulting Numbers: [24, 91]
Generated Node #0,1,2: 30:[24, 91] Operation: 96-5=91
Exploring Operation: 96-24=72, Resulting Numbers: [5, 72]
Generated Node #0,1,3: 30:[5, 72] Operation: 96-24=72
Moving to Node #0,0
Current State: 30:[51, 96, 15], Operations: ['75/5=15']
Exploring Operation: 51+15=66, Resulting Numbers: [96, 66]
Generated Node #0,0,0: 30:[96, 66] Operation: 51+15=66
Exploring Operation: 96-15=81, Resulting Numbers: [51, 81]
Generated Node #0,0,1: 30:[51, 81] Operation: 96-15=81
Exploring Operation: 96-51=45, Resulting Numbers: [15, 45]
Generated Node #0,0,2: 30:[15, 45] Operation: 96-51=45
Exploring Operation: 51-15=36, Resulting Numbers: [96, 36]
Generated Node #0,0,3: 30:[96, 36] Operation: 51-15=36
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 30:[15, 45], Operations: ['75/5=15', '96-51=45']
Exploring Operation: 15*45=675, Resulting Numbers: [675]
675,30 unequal: No Solution
Exploring Operation: 45/15=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 45-15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[5, 75, 51, 96], Operations: []
Exploring Operation: 75/5=15, Resulting Numbers: [51, 96, 15]
Generated Node #0,0: 30:[51, 96, 15] Operation: 75/5=15
Moving to Node #0,0
Current State: 30:[51, 96, 15], Operations: ['75/5=15']
Exploring Operation: 96-51=45, Resulting Numbers: [15, 45]
Generated Node #0,0,2: 30:[15, 45] Operation: 96-51=45
Moving to Node #0,0,2
Current State: 30:[15, 45], Operations: ['75/5=15', '96-51=45']
Exploring Operation: 45-15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_4 | sum_heuristic |
[
96,
22,
36,
79
] | 75 | [
"96+22=118",
"79-36=43",
"118-43=75"
] | Current State: 75:[96, 22, 36, 79], Operations: []
Exploring Operation: 96+22=118, Resulting Numbers: [36, 79, 118]
Generated Node #2: [36, 79, 118] from Operation: 96+22=118
Current State: 75:[36, 79, 118], Operations: ['96+22=118']
Exploring Operation: 79-36=43, Resulting Numbers: [118, 43]
Generated Node #3: [118, 43] from Operation: 79-36=43
Current State: 75:[118, 43], Operations: ['96+22=118', '79-36=43']
Exploring Operation: 118-43=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[96, 22, 36, 79], Operations: []
Exploring Operation: 36-22=14, Resulting Numbers: [96, 79, 14]
Generated Node #0,0: 75:[96, 79, 14] Operation: 36-22=14
Exploring Operation: 96-79=17, Resulting Numbers: [22, 36, 17]
Generated Node #0,1: 75:[22, 36, 17] Operation: 96-79=17
Exploring Operation: 22+36=58, Resulting Numbers: [96, 79, 58]
Generated Node #0,2: 75:[96, 79, 58] Operation: 22+36=58
Exploring Operation: 96-36=60, Resulting Numbers: [22, 79, 60]
Generated Node #0,3: 75:[22, 79, 60] Operation: 96-36=60
Exploring Operation: 96-22=74, Resulting Numbers: [36, 79, 74]
Generated Node #0,4: 75:[36, 79, 74] Operation: 96-22=74
Moving to Node #0,1
Current State: 75:[22, 36, 17], Operations: ['96-79=17']
Exploring Operation: 36-17=19, Resulting Numbers: [22, 19]
Generated Node #0,1,0: 75:[22, 19] Operation: 36-17=19
Exploring Operation: 36-22=14, Resulting Numbers: [17, 14]
Generated Node #0,1,1: 75:[17, 14] Operation: 36-22=14
Exploring Operation: 22+36=58, Resulting Numbers: [17, 58]
Generated Node #0,1,2: 75:[17, 58] Operation: 22+36=58
Exploring Operation: 22-17=5, Resulting Numbers: [36, 5]
Generated Node #0,1,3: 75:[36, 5] Operation: 22-17=5
Exploring Operation: 22+17=39, Resulting Numbers: [36, 39]
Generated Node #0,1,4: 75:[36, 39] Operation: 22+17=39
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[17, 14], Operations: ['96-79=17', '36-22=14']
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 17*14=238, Resulting Numbers: [238]
238,75 unequal: No Solution
Exploring Operation: 17+14=31, Resulting Numbers: [31]
31,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[22, 19], Operations: ['96-79=17', '36-17=19']
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 22*19=418, Resulting Numbers: [418]
418,75 unequal: No Solution
Exploring Operation: 22+19=41, Resulting Numbers: [41]
41,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 75:[36, 5], Operations: ['96-79=17', '22-17=5']
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,75 unequal: No Solution
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,75 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 75:[17, 58], Operations: ['96-79=17', '22+36=58']
Exploring Operation: 17*58=986, Resulting Numbers: [986]
986,75 unequal: No Solution
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,75 unequal: No Solution
Exploring Operation: 17+58=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[96, 22, 36, 79], Operations: []
Exploring Operation: 96-79=17, Resulting Numbers: [22, 36, 17]
Generated Node #0,1: 75:[22, 36, 17] Operation: 96-79=17
Moving to Node #0,1
Current State: 75:[22, 36, 17], Operations: ['96-79=17']
Exploring Operation: 22+36=58, Resulting Numbers: [17, 58]
Generated Node #0,1,2: 75:[17, 58] Operation: 22+36=58
Moving to Node #0,1,2
Current State: 75:[17, 58], Operations: ['96-79=17', '22+36=58']
Exploring Operation: 17+58=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | mult_heuristic |
[
23,
46,
86,
74
] | 49 | [
"46/23=2",
"74/2=37",
"86-37=49"
] | Current State: 49:[23, 46, 86, 74], Operations: []
Exploring Operation: 46/23=2, Resulting Numbers: [86, 74, 2]
Generated Node #2: [86, 74, 2] from Operation: 46/23=2
Current State: 49:[86, 74, 2], Operations: ['46/23=2']
Exploring Operation: 74/2=37, Resulting Numbers: [86, 37]
Generated Node #3: [86, 37] from Operation: 74/2=37
Current State: 49:[86, 37], Operations: ['46/23=2', '74/2=37']
Exploring Operation: 86-37=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[23, 46, 86, 74], Operations: []
Exploring Operation: 86-23=63, Resulting Numbers: [46, 74, 63]
Generated Node #0,0: 49:[46, 74, 63] Operation: 86-23=63
Exploring Operation: 86-74=12, Resulting Numbers: [23, 46, 12]
Generated Node #0,1: 49:[23, 46, 12] Operation: 86-74=12
Exploring Operation: 74-23=51, Resulting Numbers: [46, 86, 51]
Generated Node #0,2: 49:[46, 86, 51] Operation: 74-23=51
Exploring Operation: 86-46=40, Resulting Numbers: [23, 74, 40]
Generated Node #0,3: 49:[23, 74, 40] Operation: 86-46=40
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[23, 46, 12], Operations: ['86-74=12']
Exploring Operation: 46-23=23, Resulting Numbers: [12, 23]
Generated Node #0,1,0: 49:[12, 23] Operation: 46-23=23
Exploring Operation: 23-12=11, Resulting Numbers: [46, 11]
Generated Node #0,1,1: 49:[46, 11] Operation: 23-12=11
Exploring Operation: 23+12=35, Resulting Numbers: [46, 35]
Generated Node #0,1,2: 49:[46, 35] Operation: 23+12=35
Exploring Operation: 46/23=2, Resulting Numbers: [12, 2]
Generated Node #0,1,3: 49:[12, 2] Operation: 46/23=2
Moving to Node #0,1,1
Current State: 49:[46, 11], Operations: ['86-74=12', '23-12=11']
Exploring Operation: 46+11=57, Resulting Numbers: [57]
57,49 unequal: No Solution
Exploring Operation: 46*11=506, Resulting Numbers: [506]
506,49 unequal: No Solution
Exploring Operation: 46-11=35, Resulting Numbers: [35]
35,49 unequal: No Solution
Moving to Node #0,1,3
Current State: 49:[12, 2], Operations: ['86-74=12', '46/23=2']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,49 unequal: No Solution
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Moving to Node #0,1,2
Current State: 49:[46, 35], Operations: ['86-74=12', '23+12=35']
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,49 unequal: No Solution
Exploring Operation: 46+35=81, Resulting Numbers: [81]
81,49 unequal: No Solution
Exploring Operation: 46*35=1610, Resulting Numbers: [1610]
1610,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[12, 23], Operations: ['86-74=12', '46-23=23']
Exploring Operation: 12+23=35, Resulting Numbers: [35]
35,49 unequal: No Solution
Exploring Operation: 12*23=276, Resulting Numbers: [276]
276,49 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[46, 74, 63], Operations: ['86-23=63']
Exploring Operation: 74-63=11, Resulting Numbers: [46, 11]
Generated Node #0,0,0: 49:[46, 11] Operation: 74-63=11
Exploring Operation: 74-46=28, Resulting Numbers: [63, 28]
Generated Node #0,0,1: 49:[63, 28] Operation: 74-46=28
Exploring Operation: 63-46=17, Resulting Numbers: [74, 17]
Generated Node #0,0,2: 49:[74, 17] Operation: 63-46=17
Exploring Operation: 46+74=120, Resulting Numbers: [63, 120]
Generated Node #0,0,3: 49:[63, 120] Operation: 46+74=120
Moving to Node #0,0,0
Current State: 49:[46, 11], Operations: ['86-23=63', '74-63=11']
Exploring Operation: 46+11=57, Resulting Numbers: [57]
57,49 unequal: No Solution
Exploring Operation: 46*11=506, Resulting Numbers: [506]
506,49 unequal: No Solution
Exploring Operation: 46-11=35, Resulting Numbers: [35]
35,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[74, 17], Operations: ['86-23=63', '63-46=17']
Exploring Operation: 74*17=1258, Resulting Numbers: [1258]
1258,49 unequal: No Solution
Exploring Operation: 74-17=57, Resulting Numbers: [57]
57,49 unequal: No Solution
Exploring Operation: 74+17=91, Resulting Numbers: [91]
91,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[63, 28], Operations: ['86-23=63', '74-46=28']
Exploring Operation: 63*28=1764, Resulting Numbers: [1764]
1764,49 unequal: No Solution
Exploring Operation: 63+28=91, Resulting Numbers: [91]
91,49 unequal: No Solution
Exploring Operation: 63-28=35, Resulting Numbers: [35]
35,49 unequal: No Solution
Moving to Node #0,0,3
Current State: 49:[63, 120], Operations: ['86-23=63', '46+74=120']
Exploring Operation: 120-63=57, Resulting Numbers: [57]
57,49 unequal: No Solution
Exploring Operation: 63+120=183, Resulting Numbers: [183]
183,49 unequal: No Solution
Exploring Operation: 63*120=7560, Resulting Numbers: [7560]
7560,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[46, 86, 51], Operations: ['74-23=51']
Exploring Operation: 46+86=132, Resulting Numbers: [51, 132]
Generated Node #0,2,0: 49:[51, 132] Operation: 46+86=132
Exploring Operation: 51-46=5, Resulting Numbers: [86, 5]
Generated Node #0,2,1: 49:[86, 5] Operation: 51-46=5
Exploring Operation: 86-46=40, Resulting Numbers: [51, 40]
Generated Node #0,2,2: 49:[51, 40] Operation: 86-46=40
Exploring Operation: 86-51=35, Resulting Numbers: [46, 35]
Generated Node #0,2,3: 49:[46, 35] Operation: 86-51=35
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 49:[51, 40], Operations: ['74-23=51', '86-46=40']
Exploring Operation: 51+40=91, Resulting Numbers: [91]
91,49 unequal: No Solution
Exploring Operation: 51*40=2040, Resulting Numbers: [2040]
2040,49 unequal: No Solution
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 49:[46, 35], Operations: ['74-23=51', '86-51=35']
Exploring Operation: 46+35=81, Resulting Numbers: [81]
81,49 unequal: No Solution
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,49 unequal: No Solution
Exploring Operation: 46*35=1610, Resulting Numbers: [1610]
1610,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 49:[86, 5], Operations: ['74-23=51', '51-46=5']
Exploring Operation: 86+5=91, Resulting Numbers: [91]
91,49 unequal: No Solution
Exploring Operation: 86*5=430, Resulting Numbers: [430]
430,49 unequal: No Solution
Exploring Operation: 86-5=81, Resulting Numbers: [81]
81,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 49:[51, 132], Operations: ['74-23=51', '46+86=132']
Exploring Operation: 51*132=6732, Resulting Numbers: [6732]
6732,49 unequal: No Solution
Exploring Operation: 51+132=183, Resulting Numbers: [183]
183,49 unequal: No Solution
Exploring Operation: 132-51=81, Resulting Numbers: [81]
81,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 49:[23, 74, 40], Operations: ['86-46=40']
Exploring Operation: 23+40=63, Resulting Numbers: [74, 63]
Generated Node #0,3,0: 49:[74, 63] Operation: 23+40=63
Exploring Operation: 74-40=34, Resulting Numbers: [23, 34]
Generated Node #0,3,1: 49:[23, 34] Operation: 74-40=34
Exploring Operation: 40-23=17, Resulting Numbers: [74, 17]
Generated Node #0,3,2: 49:[74, 17] Operation: 40-23=17
Exploring Operation: 74-23=51, Resulting Numbers: [40, 51]
Generated Node #0,3,3: 49:[40, 51] Operation: 74-23=51
Moving to Node #0,3,3
Current State: 49:[40, 51], Operations: ['86-46=40', '74-23=51']
Exploring Operation: 40+51=91, Resulting Numbers: [91]
91,49 unequal: No Solution
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,49 unequal: No Solution
Exploring Operation: 40*51=2040, Resulting Numbers: [2040]
2040,49 unequal: No Solution
Moving to Node #0,3,1
Current State: 49:[23, 34], Operations: ['86-46=40', '74-40=34']
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,49 unequal: No Solution
Exploring Operation: 23+34=57, Resulting Numbers: [57]
57,49 unequal: No Solution
Exploring Operation: 23*34=782, Resulting Numbers: [782]
782,49 unequal: No Solution
Moving to Node #0,3,2
Current State: 49:[74, 17], Operations: ['86-46=40', '40-23=17']
Exploring Operation: 74-17=57, Resulting Numbers: [57]
57,49 unequal: No Solution
Exploring Operation: 74+17=91, Resulting Numbers: [91]
91,49 unequal: No Solution
Exploring Operation: 74*17=1258, Resulting Numbers: [1258]
1258,49 unequal: No Solution
Moving to Node #0,3,0
Current State: 49:[74, 63], Operations: ['86-46=40', '23+40=63']
Exploring Operation: 74+63=137, Resulting Numbers: [137]
137,49 unequal: No Solution
Exploring Operation: 74-63=11, Resulting Numbers: [11]
11,49 unequal: No Solution
Exploring Operation: 74*63=4662, Resulting Numbers: [4662]
4662,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
22,
91,
3,
88
] | 57 | [
"91-22=69",
"88-69=19",
"3*19=57"
] | Current State: 57:[22, 91, 3, 88], Operations: []
Exploring Operation: 91-22=69, Resulting Numbers: [3, 88, 69]
Generated Node #2: [3, 88, 69] from Operation: 91-22=69
Current State: 57:[3, 88, 69], Operations: ['91-22=69']
Exploring Operation: 88-69=19, Resulting Numbers: [3, 19]
Generated Node #3: [3, 19] from Operation: 88-69=19
Current State: 57:[3, 19], Operations: ['91-22=69', '88-69=19']
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[22, 91, 3, 88], Operations: []
Exploring Operation: 88/22=4, Resulting Numbers: [91, 3, 4]
Generated Node #0,0: 57:[91, 3, 4] Operation: 88/22=4
Exploring Operation: 91-88=3, Resulting Numbers: [22, 3, 3]
Generated Node #0,1: 57:[22, 3, 3] Operation: 91-88=3
Moving to Node #0,1
Current State: 57:[22, 3, 3], Operations: ['91-88=3']
Exploring Operation: 22-3=19, Resulting Numbers: [3, 19]
Generated Node #0,1,0: 57:[3, 19] Operation: 22-3=19
Exploring Operation: 22-3=19, Resulting Numbers: [3, 19]
Generated Node #0,1,1: 57:[3, 19] Operation: 22-3=19
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 57:[3, 19], Operations: ['91-88=3', '22-3=19']
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[22, 91, 3, 88], Operations: []
Exploring Operation: 91-88=3, Resulting Numbers: [22, 3, 3]
Generated Node #0,1: 57:[22, 3, 3] Operation: 91-88=3
Moving to Node #0,1
Current State: 57:[22, 3, 3], Operations: ['91-88=3']
Exploring Operation: 22-3=19, Resulting Numbers: [3, 19]
Generated Node #0,1,0: 57:[3, 19] Operation: 22-3=19
Moving to Node #0,1,0
Current State: 57:[3, 19], Operations: ['91-88=3', '22-3=19']
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
70,
65,
15,
5
] | 12 | [
"70+65=135",
"135/5=27",
"27-15=12"
] | Current State: 12:[70, 65, 15, 5], Operations: []
Exploring Operation: 70+65=135, Resulting Numbers: [15, 5, 135]
Generated Node #2: [15, 5, 135] from Operation: 70+65=135
Current State: 12:[15, 5, 135], Operations: ['70+65=135']
Exploring Operation: 135/5=27, Resulting Numbers: [15, 27]
Generated Node #3: [15, 27] from Operation: 135/5=27
Current State: 12:[15, 27], Operations: ['70+65=135', '135/5=27']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[70, 65, 15, 5], Operations: []
Exploring Operation: 70-65=5, Resulting Numbers: [15, 5, 5]
Generated Node #0,0: 12:[15, 5, 5] Operation: 70-65=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[15, 5, 5], Operations: ['70-65=5']
Exploring Operation: 15/5=3, Resulting Numbers: [5, 3]
Generated Node #0,0,0: 12:[5, 3] Operation: 15/5=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 12:[5, 3], Operations: ['70-65=5', '15/5=3']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
19,
47,
13,
15
] | 99 | [
"19-15=4",
"13*4=52",
"47+52=99"
] | Current State: 99:[19, 47, 13, 15], Operations: []
Exploring Operation: 19-15=4, Resulting Numbers: [47, 13, 4]
Generated Node #2: [47, 13, 4] from Operation: 19-15=4
Current State: 99:[47, 13, 4], Operations: ['19-15=4']
Exploring Operation: 13*4=52, Resulting Numbers: [47, 52]
Generated Node #3: [47, 52] from Operation: 13*4=52
Current State: 99:[47, 52], Operations: ['19-15=4', '13*4=52']
Exploring Operation: 47+52=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[19, 47, 13, 15], Operations: []
Exploring Operation: 47-19=28, Resulting Numbers: [13, 15, 28]
Generated Node #0,0: 99:[13, 15, 28] Operation: 47-19=28
Exploring Operation: 47-15=32, Resulting Numbers: [19, 13, 32]
Generated Node #0,1: 99:[19, 13, 32] Operation: 47-15=32
Moving to Node #0,0
Current State: 99:[13, 15, 28], Operations: ['47-19=28']
Exploring Operation: 28-15=13, Resulting Numbers: [13, 13]
Generated Node #0,0,0: 99:[13, 13] Operation: 28-15=13
Exploring Operation: 15-13=2, Resulting Numbers: [28, 2]
Generated Node #0,0,1: 99:[28, 2] Operation: 15-13=2
Moving to Node #0,1
Current State: 99:[19, 13, 32], Operations: ['47-15=32']
Exploring Operation: 19+13=32, Resulting Numbers: [32, 32]
Generated Node #0,1,0: 99:[32, 32] Operation: 19+13=32
Exploring Operation: 19-13=6, Resulting Numbers: [32, 6]
Generated Node #0,1,1: 99:[32, 6] Operation: 19-13=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[32, 32], Operations: ['47-15=32', '19+13=32']
Exploring Operation: 32-32=0, Resulting Numbers: [0]
0,99 unequal: No Solution
Exploring Operation: 32/32=1, Resulting Numbers: [1]
1,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[32, 6], Operations: ['47-15=32', '19-13=6']
Exploring Operation: 32+6=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 99:[13, 13], Operations: ['47-19=28', '28-15=13']
Exploring Operation: 13-13=0, Resulting Numbers: [0]
0,99 unequal: No Solution
Exploring Operation: 13/13=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[28, 2], Operations: ['47-19=28', '15-13=2']
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,99 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,99 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
71,
50,
3,
5
] | 27 | [
"50/5=10",
"71+10=81",
"81/3=27"
] | Current State: 27:[71, 50, 3, 5], Operations: []
Exploring Operation: 50/5=10, Resulting Numbers: [71, 3, 10]
Generated Node #2: [71, 3, 10] from Operation: 50/5=10
Current State: 27:[71, 3, 10], Operations: ['50/5=10']
Exploring Operation: 71+10=81, Resulting Numbers: [3, 81]
Generated Node #3: [3, 81] from Operation: 71+10=81
Current State: 27:[3, 81], Operations: ['50/5=10', '71+10=81']
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[71, 50, 3, 5], Operations: []
Exploring Operation: 71-50=21, Resulting Numbers: [3, 5, 21]
Generated Node #0,0: 27:[3, 5, 21] Operation: 71-50=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[3, 5, 21], Operations: ['71-50=21']
Exploring Operation: 5+21=26, Resulting Numbers: [3, 26]
Generated Node #0,0,0: 27:[3, 26] Operation: 5+21=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[3, 26], Operations: ['71-50=21', '5+21=26']
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
83,
63,
5,
12
] | 74 | [
"12-5=7",
"63/7=9",
"83-9=74"
] | Current State: 74:[83, 63, 5, 12], Operations: []
Exploring Operation: 12-5=7, Resulting Numbers: [83, 63, 7]
Generated Node #2: [83, 63, 7] from Operation: 12-5=7
Current State: 74:[83, 63, 7], Operations: ['12-5=7']
Exploring Operation: 63/7=9, Resulting Numbers: [83, 9]
Generated Node #3: [83, 9] from Operation: 63/7=9
Current State: 74:[83, 9], Operations: ['12-5=7', '63/7=9']
Exploring Operation: 83-9=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[83, 63, 5, 12], Operations: []
Exploring Operation: 83-12=71, Resulting Numbers: [63, 5, 71]
Generated Node #0,0: 74:[63, 5, 71] Operation: 83-12=71
Exploring Operation: 63+12=75, Resulting Numbers: [83, 5, 75]
Generated Node #0,1: 74:[83, 5, 75] Operation: 63+12=75
Moving to Node #0,1
Current State: 74:[83, 5, 75], Operations: ['63+12=75']
Exploring Operation: 83-5=78, Resulting Numbers: [75, 78]
Generated Node #0,1,0: 74:[75, 78] Operation: 83-5=78
Exploring Operation: 83-75=8, Resulting Numbers: [5, 8]
Generated Node #0,1,1: 74:[5, 8] Operation: 83-75=8
Moving to Node #0,0
Current State: 74:[63, 5, 71], Operations: ['83-12=71']
Exploring Operation: 63+5=68, Resulting Numbers: [71, 68]
Generated Node #0,0,0: 74:[71, 68] Operation: 63+5=68
Exploring Operation: 71-63=8, Resulting Numbers: [5, 8]
Generated Node #0,0,1: 74:[5, 8] Operation: 71-63=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[71, 68], Operations: ['83-12=71', '63+5=68']
Exploring Operation: 71-68=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 71+68=139, Resulting Numbers: [139]
139,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 74:[5, 8], Operations: ['83-12=71', '71-63=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,74 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: 74:[75, 78], Operations: ['63+12=75', '83-5=78']
Exploring Operation: 78-75=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 75+78=153, Resulting Numbers: [153]
153,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[5, 8], Operations: ['63+12=75', '83-75=8']
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,74 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
21,
68,
59,
45
] | 57 | [
"68-21=47",
"59+45=104",
"104-47=57"
] | Current State: 57:[21, 68, 59, 45], Operations: []
Exploring Operation: 68-21=47, Resulting Numbers: [59, 45, 47]
Generated Node #2: [59, 45, 47] from Operation: 68-21=47
Current State: 57:[59, 45, 47], Operations: ['68-21=47']
Exploring Operation: 59+45=104, Resulting Numbers: [47, 104]
Generated Node #3: [47, 104] from Operation: 59+45=104
Current State: 57:[47, 104], Operations: ['68-21=47', '59+45=104']
Exploring Operation: 104-47=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[21, 68, 59, 45], Operations: []
Exploring Operation: 68-45=23, Resulting Numbers: [21, 59, 23]
Generated Node #0,0: 57:[21, 59, 23] Operation: 68-45=23
Exploring Operation: 45-21=24, Resulting Numbers: [68, 59, 24]
Generated Node #0,1: 57:[68, 59, 24] Operation: 45-21=24
Moving to Node #0,0
Current State: 57:[21, 59, 23], Operations: ['68-45=23']
Exploring Operation: 21+23=44, Resulting Numbers: [59, 44]
Generated Node #0,0,0: 57:[59, 44] Operation: 21+23=44
Exploring Operation: 23-21=2, Resulting Numbers: [59, 2]
Generated Node #0,0,1: 57:[59, 2] Operation: 23-21=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 57:[59, 2], Operations: ['68-45=23', '23-21=2']
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,57 unequal: No Solution
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[21, 68, 59, 45], Operations: []
Exploring Operation: 68-45=23, Resulting Numbers: [21, 59, 23]
Generated Node #0,0: 57:[21, 59, 23] Operation: 68-45=23
Moving to Node #0,0
Current State: 57:[21, 59, 23], Operations: ['68-45=23']
Exploring Operation: 23-21=2, Resulting Numbers: [59, 2]
Generated Node #0,0,1: 57:[59, 2] Operation: 23-21=2
Moving to Node #0,0,1
Current State: 57:[59, 2], Operations: ['68-45=23', '23-21=2']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
41,
94,
58,
41
] | 58 | [
"41-41=0",
"94*0=0",
"58+0=58"
] | Current State: 58:[41, 94, 58, 41], Operations: []
Exploring Operation: 41-41=0, Resulting Numbers: [94, 58, 0]
Generated Node #2: [94, 58, 0] from Operation: 41-41=0
Current State: 58:[94, 58, 0], Operations: ['41-41=0']
Exploring Operation: 94*0=0, Resulting Numbers: [58, 0]
Generated Node #3: [58, 0] from Operation: 94*0=0
Current State: 58:[58, 0], Operations: ['41-41=0', '94*0=0']
Exploring Operation: 58+0=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[41, 94, 58, 41], Operations: []
Exploring Operation: 94-41=53, Resulting Numbers: [58, 41, 53]
Generated Node #0,0: 58:[58, 41, 53] Operation: 94-41=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[58, 41, 53], Operations: ['94-41=53']
Exploring Operation: 53-41=12, Resulting Numbers: [58, 12]
Generated Node #0,0,0: 58:[58, 12] Operation: 53-41=12
Moving to Node #0,0,0
Current State: 58:[58, 12], Operations: ['94-41=53', '53-41=12']
Exploring Operation: 58+12=70, Resulting Numbers: [70]
70,58 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 |
[
6,
88,
21,
2
] | 52 | [
"6+88=94",
"21*2=42",
"94-42=52"
] | Current State: 52:[6, 88, 21, 2], Operations: []
Exploring Operation: 6+88=94, Resulting Numbers: [21, 2, 94]
Generated Node #2: [21, 2, 94] from Operation: 6+88=94
Current State: 52:[21, 2, 94], Operations: ['6+88=94']
Exploring Operation: 21*2=42, Resulting Numbers: [94, 42]
Generated Node #3: [94, 42] from Operation: 21*2=42
Current State: 52:[94, 42], Operations: ['6+88=94', '21*2=42']
Exploring Operation: 94-42=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[6, 88, 21, 2], Operations: []
Exploring Operation: 88/2=44, Resulting Numbers: [6, 21, 44]
Generated Node #0,0: 52:[6, 21, 44] Operation: 88/2=44
Exploring Operation: 88-21=67, Resulting Numbers: [6, 2, 67]
Generated Node #0,1: 52:[6, 2, 67] Operation: 88-21=67
Moving to Node #0,0
Current State: 52:[6, 21, 44], Operations: ['88/2=44']
Exploring Operation: 44-21=23, Resulting Numbers: [6, 23]
Generated Node #0,0,0: 52:[6, 23] Operation: 44-21=23
Exploring Operation: 6+44=50, Resulting Numbers: [21, 50]
Generated Node #0,0,1: 52:[21, 50] Operation: 6+44=50
Moving to Node #0,1
Current State: 52:[6, 2, 67], Operations: ['88-21=67']
Exploring Operation: 67-6=61, Resulting Numbers: [2, 61]
Generated Node #0,1,0: 52:[2, 61] Operation: 67-6=61
Exploring Operation: 6-2=4, Resulting Numbers: [67, 4]
Generated Node #0,1,1: 52:[67, 4] Operation: 6-2=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[2, 61], Operations: ['88-21=67', '67-6=61']
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,52 unequal: No Solution
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,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,1,1
Current State: 52:[67, 4], Operations: ['88-21=67', '6-2=4']
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,52 unequal: No Solution
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,52 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: 52:[6, 23], Operations: ['88/2=44', '44-21=23']
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,52 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[21, 50], Operations: ['88/2=44', '6+44=50']
Exploring Operation: 50-21=29, Resulting Numbers: [29]
29,52 unequal: No Solution
Exploring Operation: 21+50=71, Resulting Numbers: [71]
71,52 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
81,
96,
70,
36
] | 71 | [
"81+96=177",
"70+36=106",
"177-106=71"
] | Current State: 71:[81, 96, 70, 36], Operations: []
Exploring Operation: 81+96=177, Resulting Numbers: [70, 36, 177]
Generated Node #2: [70, 36, 177] from Operation: 81+96=177
Current State: 71:[70, 36, 177], Operations: ['81+96=177']
Exploring Operation: 70+36=106, Resulting Numbers: [177, 106]
Generated Node #3: [177, 106] from Operation: 70+36=106
Current State: 71:[177, 106], Operations: ['81+96=177', '70+36=106']
Exploring Operation: 177-106=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[81, 96, 70, 36], Operations: []
Exploring Operation: 70+36=106, Resulting Numbers: [81, 96, 106]
Generated Node #0,0: 71:[81, 96, 106] Operation: 70+36=106
Exploring Operation: 81-36=45, Resulting Numbers: [96, 70, 45]
Generated Node #0,1: 71:[96, 70, 45] Operation: 81-36=45
Exploring Operation: 96-36=60, Resulting Numbers: [81, 70, 60]
Generated Node #0,2: 71:[81, 70, 60] Operation: 96-36=60
Exploring Operation: 81+36=117, Resulting Numbers: [96, 70, 117]
Generated Node #0,3: 71:[96, 70, 117] Operation: 81+36=117
Moving to Node #0,2
Current State: 71:[81, 70, 60], Operations: ['96-36=60']
Exploring Operation: 81+60=141, Resulting Numbers: [70, 141]
Generated Node #0,2,0: 71:[70, 141] Operation: 81+60=141
Exploring Operation: 81-60=21, Resulting Numbers: [70, 21]
Generated Node #0,2,1: 71:[70, 21] Operation: 81-60=21
Exploring Operation: 81-70=11, Resulting Numbers: [60, 11]
Generated Node #0,2,2: 71:[60, 11] Operation: 81-70=11
Exploring Operation: 70+60=130, Resulting Numbers: [81, 130]
Generated Node #0,2,3: 71:[81, 130] Operation: 70+60=130
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 71:[70, 21], Operations: ['96-36=60', '81-60=21']
Exploring Operation: 70+21=91, Resulting Numbers: [91]
91,71 unequal: No Solution
Exploring Operation: 70-21=49, Resulting Numbers: [49]
49,71 unequal: No Solution
Exploring Operation: 70*21=1470, Resulting Numbers: [1470]
1470,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,3
Current State: 71:[81, 130], Operations: ['96-36=60', '70+60=130']
Exploring Operation: 81+130=211, Resulting Numbers: [211]
211,71 unequal: No Solution
Exploring Operation: 130-81=49, Resulting Numbers: [49]
49,71 unequal: No Solution
Exploring Operation: 81*130=10530, Resulting Numbers: [10530]
10530,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,0
Current State: 71:[70, 141], Operations: ['96-36=60', '81+60=141']
Exploring Operation: 70+141=211, Resulting Numbers: [211]
211,71 unequal: No Solution
Exploring Operation: 70*141=9870, Resulting Numbers: [9870]
9870,71 unequal: No Solution
Exploring Operation: 141-70=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[81, 96, 70, 36], Operations: []
Exploring Operation: 96-36=60, Resulting Numbers: [81, 70, 60]
Generated Node #0,2: 71:[81, 70, 60] Operation: 96-36=60
Moving to Node #0,2
Current State: 71:[81, 70, 60], Operations: ['96-36=60']
Exploring Operation: 81+60=141, Resulting Numbers: [70, 141]
Generated Node #0,2,0: 71:[70, 141] Operation: 81+60=141
Moving to Node #0,2,0
Current State: 71:[70, 141], Operations: ['96-36=60', '81+60=141']
Exploring Operation: 141-70=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | mult_heuristic |
[
51,
63,
79,
71
] | 20 | [
"63-51=12",
"79-71=8",
"12+8=20"
] | Current State: 20:[51, 63, 79, 71], Operations: []
Exploring Operation: 63-51=12, Resulting Numbers: [79, 71, 12]
Generated Node #2: [79, 71, 12] from Operation: 63-51=12
Current State: 20:[79, 71, 12], Operations: ['63-51=12']
Exploring Operation: 79-71=8, Resulting Numbers: [12, 8]
Generated Node #3: [12, 8] from Operation: 79-71=8
Current State: 20:[12, 8], Operations: ['63-51=12', '79-71=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[51, 63, 79, 71], Operations: []
Exploring Operation: 79-71=8, Resulting Numbers: [51, 63, 8]
Generated Node #0,0: 20:[51, 63, 8] Operation: 79-71=8
Moving to Node #0,0
Current State: 20:[51, 63, 8], Operations: ['79-71=8']
Exploring Operation: 63-51=12, Resulting Numbers: [8, 12]
Generated Node #0,0,0: 20:[8, 12] Operation: 63-51=12
Moving to Node #0,0,0
Current State: 20:[8, 12], Operations: ['79-71=8', '63-51=12']
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[51, 63, 79, 71], Operations: []
Exploring Operation: 79-71=8, Resulting Numbers: [51, 63, 8]
Generated Node #0,0: 20:[51, 63, 8] Operation: 79-71=8
Moving to Node #0,0
Current State: 20:[51, 63, 8], Operations: ['79-71=8']
Exploring Operation: 63-51=12, Resulting Numbers: [8, 12]
Generated Node #0,0,0: 20:[8, 12] Operation: 63-51=12
Moving to Node #0,0,0
Current State: 20:[8, 12], Operations: ['79-71=8', '63-51=12']
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
26,
63,
1,
65
] | 50 | [
"26-1=25",
"65-63=2",
"25*2=50"
] | Current State: 50:[26, 63, 1, 65], Operations: []
Exploring Operation: 26-1=25, Resulting Numbers: [63, 65, 25]
Generated Node #2: [63, 65, 25] from Operation: 26-1=25
Current State: 50:[63, 65, 25], Operations: ['26-1=25']
Exploring Operation: 65-63=2, Resulting Numbers: [25, 2]
Generated Node #3: [25, 2] from Operation: 65-63=2
Current State: 50:[25, 2], Operations: ['26-1=25', '65-63=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[26, 63, 1, 65], Operations: []
Exploring Operation: 26-1=25, Resulting Numbers: [63, 65, 25]
Generated Node #0,0: 50:[63, 65, 25] Operation: 26-1=25
Exploring Operation: 65-26=39, Resulting Numbers: [63, 1, 39]
Generated Node #0,1: 50:[63, 1, 39] Operation: 65-26=39
Exploring Operation: 63-26=37, Resulting Numbers: [1, 65, 37]
Generated Node #0,2: 50:[1, 65, 37] Operation: 63-26=37
Exploring Operation: 65-63=2, Resulting Numbers: [26, 1, 2]
Generated Node #0,3: 50:[26, 1, 2] Operation: 65-63=2
Exploring Operation: 63-1=62, Resulting Numbers: [26, 65, 62]
Generated Node #0,4: 50:[26, 65, 62] Operation: 63-1=62
Start Sub Search at level 1: Moving to Node #0,3
Current State: 50:[26, 1, 2], Operations: ['65-63=2']
Exploring Operation: 26*1=26, Resulting Numbers: [2, 26]
Generated Node #0,3,0: 50:[2, 26] Operation: 26*1=26
Exploring Operation: 26/1=26, Resulting Numbers: [2, 26]
Generated Node #0,3,1: 50:[2, 26] Operation: 26/1=26
Exploring Operation: 1*2=2, Resulting Numbers: [26, 2]
Generated Node #0,3,2: 50:[26, 2] Operation: 1*2=2
Exploring Operation: 2/1=2, Resulting Numbers: [26, 2]
Generated Node #0,3,3: 50:[26, 2] Operation: 2/1=2
Exploring Operation: 26-1=25, Resulting Numbers: [2, 25]
Generated Node #0,3,4: 50:[2, 25] Operation: 26-1=25
Moving to Node #0,3,4
Current State: 50:[2, 25], Operations: ['65-63=2', '26-1=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[26, 63, 1, 65], Operations: []
Exploring Operation: 65-63=2, Resulting Numbers: [26, 1, 2]
Generated Node #0,3: 50:[26, 1, 2] Operation: 65-63=2
Moving to Node #0,3
Current State: 50:[26, 1, 2], Operations: ['65-63=2']
Exploring Operation: 26-1=25, Resulting Numbers: [2, 25]
Generated Node #0,3,4: 50:[2, 25] Operation: 26-1=25
Moving to Node #0,3,4
Current State: 50:[2, 25], Operations: ['65-63=2', '26-1=25']
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
63,
51,
14,
30
] | 98 | [
"63+51=114",
"30-14=16",
"114-16=98"
] | Current State: 98:[63, 51, 14, 30], Operations: []
Exploring Operation: 63+51=114, Resulting Numbers: [14, 30, 114]
Generated Node #2: [14, 30, 114] from Operation: 63+51=114
Current State: 98:[14, 30, 114], Operations: ['63+51=114']
Exploring Operation: 30-14=16, Resulting Numbers: [114, 16]
Generated Node #3: [114, 16] from Operation: 30-14=16
Current State: 98:[114, 16], Operations: ['63+51=114', '30-14=16']
Exploring Operation: 114-16=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[63, 51, 14, 30], Operations: []
Exploring Operation: 63+30=93, Resulting Numbers: [51, 14, 93]
Generated Node #0,0: 98:[51, 14, 93] Operation: 63+30=93
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[51, 14, 93], Operations: ['63+30=93']
Exploring Operation: 93-51=42, Resulting Numbers: [14, 42]
Generated Node #0,0,0: 98:[14, 42] Operation: 93-51=42
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[14, 42], Operations: ['63+30=93', '93-51=42']
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
62,
97,
94,
93
] | 34 | [
"97-62=35",
"94-93=1",
"35-1=34"
] | Current State: 34:[62, 97, 94, 93], Operations: []
Exploring Operation: 97-62=35, Resulting Numbers: [94, 93, 35]
Generated Node #2: [94, 93, 35] from Operation: 97-62=35
Current State: 34:[94, 93, 35], Operations: ['97-62=35']
Exploring Operation: 94-93=1, Resulting Numbers: [35, 1]
Generated Node #3: [35, 1] from Operation: 94-93=1
Current State: 34:[35, 1], Operations: ['97-62=35', '94-93=1']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[62, 97, 94, 93], Operations: []
Exploring Operation: 97-93=4, Resulting Numbers: [62, 94, 4]
Generated Node #0,0: 34:[62, 94, 4] Operation: 97-93=4
Exploring Operation: 97-94=3, Resulting Numbers: [62, 93, 3]
Generated Node #0,1: 34:[62, 93, 3] Operation: 97-94=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[62, 93, 3], Operations: ['97-94=3']
Exploring Operation: 93-62=31, Resulting Numbers: [3, 31]
Generated Node #0,1,0: 34:[3, 31] Operation: 93-62=31
Exploring Operation: 93/3=31, Resulting Numbers: [62, 31]
Generated Node #0,1,1: 34:[62, 31] Operation: 93/3=31
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 34:[3, 31], Operations: ['97-94=3', '93-62=31']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,34 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[62, 97, 94, 93], Operations: []
Exploring Operation: 97-94=3, Resulting Numbers: [62, 93, 3]
Generated Node #0,1: 34:[62, 93, 3] Operation: 97-94=3
Moving to Node #0,1
Current State: 34:[62, 93, 3], Operations: ['97-94=3']
Exploring Operation: 93-62=31, Resulting Numbers: [3, 31]
Generated Node #0,1,0: 34:[3, 31] Operation: 93-62=31
Moving to Node #0,1,0
Current State: 34:[3, 31], Operations: ['97-94=3', '93-62=31']
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
66,
59,
33,
64
] | 13 | [
"66-64=2",
"59-33=26",
"26/2=13"
] | Current State: 13:[66, 59, 33, 64], Operations: []
Exploring Operation: 66-64=2, Resulting Numbers: [59, 33, 2]
Generated Node #2: [59, 33, 2] from Operation: 66-64=2
Current State: 13:[59, 33, 2], Operations: ['66-64=2']
Exploring Operation: 59-33=26, Resulting Numbers: [2, 26]
Generated Node #3: [2, 26] from Operation: 59-33=26
Current State: 13:[2, 26], Operations: ['66-64=2', '59-33=26']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[66, 59, 33, 64], Operations: []
Exploring Operation: 66-59=7, Resulting Numbers: [33, 64, 7]
Generated Node #0,0: 13:[33, 64, 7] Operation: 66-59=7
Moving to Node #0,0
Current State: 13:[33, 64, 7], Operations: ['66-59=7']
Exploring Operation: 64-33=31, Resulting Numbers: [7, 31]
Generated Node #0,0,0: 13:[7, 31] Operation: 64-33=31
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[7, 31], Operations: ['66-59=7', '64-33=31']
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,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 | mult_heuristic |
[
5,
1,
49,
69
] | 100 | [
"5*1=5",
"69-49=20",
"5*20=100"
] | Current State: 100:[5, 1, 49, 69], Operations: []
Exploring Operation: 5*1=5, Resulting Numbers: [49, 69, 5]
Generated Node #2: [49, 69, 5] from Operation: 5*1=5
Current State: 100:[49, 69, 5], Operations: ['5*1=5']
Exploring Operation: 69-49=20, Resulting Numbers: [5, 20]
Generated Node #3: [5, 20] from Operation: 69-49=20
Current State: 100:[5, 20], Operations: ['5*1=5', '69-49=20']
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[5, 1, 49, 69], Operations: []
Exploring Operation: 1+49=50, Resulting Numbers: [5, 69, 50]
Generated Node #0,0: 100:[5, 69, 50] Operation: 1+49=50
Exploring Operation: 69-49=20, Resulting Numbers: [5, 1, 20]
Generated Node #0,1: 100:[5, 1, 20] Operation: 69-49=20
Exploring Operation: 69-5=64, Resulting Numbers: [1, 49, 64]
Generated Node #0,2: 100:[1, 49, 64] Operation: 69-5=64
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[5, 1, 20], Operations: ['69-49=20']
Exploring Operation: 5/1=5, Resulting Numbers: [20, 5]
Generated Node #0,1,0: 100:[20, 5] Operation: 5/1=5
Exploring Operation: 5*1=5, Resulting Numbers: [20, 5]
Generated Node #0,1,1: 100:[20, 5] Operation: 5*1=5
Exploring Operation: 5-1=4, Resulting Numbers: [20, 4]
Generated Node #0,1,2: 100:[20, 4] Operation: 5-1=4
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 100:[20, 5], Operations: ['69-49=20', '5/1=5']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[5, 1, 49, 69], Operations: []
Exploring Operation: 69-49=20, Resulting Numbers: [5, 1, 20]
Generated Node #0,1: 100:[5, 1, 20] Operation: 69-49=20
Moving to Node #0,1
Current State: 100:[5, 1, 20], Operations: ['69-49=20']
Exploring Operation: 5/1=5, Resulting Numbers: [20, 5]
Generated Node #0,1,0: 100:[20, 5] Operation: 5/1=5
Moving to Node #0,1,0
Current State: 100:[20, 5], Operations: ['69-49=20', '5/1=5']
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
3,
8,
4,
76
] | 26 | [
"8/4=2",
"76+2=78",
"78/3=26"
] | Current State: 26:[3, 8, 4, 76], Operations: []
Exploring Operation: 8/4=2, Resulting Numbers: [3, 76, 2]
Generated Node #2: [3, 76, 2] from Operation: 8/4=2
Current State: 26:[3, 76, 2], Operations: ['8/4=2']
Exploring Operation: 76+2=78, Resulting Numbers: [3, 78]
Generated Node #3: [3, 78] from Operation: 76+2=78
Current State: 26:[3, 78], Operations: ['8/4=2', '76+2=78']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[3, 8, 4, 76], Operations: []
Exploring Operation: 76/4=19, Resulting Numbers: [3, 8, 19]
Generated Node #0,0: 26:[3, 8, 19] Operation: 76/4=19
Exploring Operation: 76-4=72, Resulting Numbers: [3, 8, 72]
Generated Node #0,1: 26:[3, 8, 72] Operation: 76-4=72
Exploring Operation: 76-8=68, Resulting Numbers: [3, 4, 68]
Generated Node #0,2: 26:[3, 4, 68] Operation: 76-8=68
Exploring Operation: 8+4=12, Resulting Numbers: [3, 76, 12]
Generated Node #0,3: 26:[3, 76, 12] Operation: 8+4=12
Exploring Operation: 8/4=2, Resulting Numbers: [3, 76, 2]
Generated Node #0,4: 26:[3, 76, 2] Operation: 8/4=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[3, 8, 19], Operations: ['76/4=19']
Exploring Operation: 19-3=16, Resulting Numbers: [8, 16]
Generated Node #0,0,0: 26:[8, 16] Operation: 19-3=16
Exploring Operation: 19-8=11, Resulting Numbers: [3, 11]
Generated Node #0,0,1: 26:[3, 11] Operation: 19-8=11
Exploring Operation: 3+8=11, Resulting Numbers: [19, 11]
Generated Node #0,0,2: 26:[19, 11] Operation: 3+8=11
Exploring Operation: 8+19=27, Resulting Numbers: [3, 27]
Generated Node #0,0,3: 26:[3, 27] Operation: 8+19=27
Exploring Operation: 3*8=24, Resulting Numbers: [19, 24]
Generated Node #0,0,4: 26:[19, 24] Operation: 3*8=24
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 26:[3, 27], Operations: ['76/4=19', '8+19=27']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,26 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,26 unequal: No Solution
No 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: 26:[3, 11], Operations: ['76/4=19', '19-8=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,26 unequal: No Solution
No 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: 26:[8, 16], Operations: ['76/4=19', '19-3=16']
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 8*16=128, Resulting Numbers: [128]
128,26 unequal: No Solution
No 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: 26:[19, 11], Operations: ['76/4=19', '3+8=11']
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 19*11=209, Resulting Numbers: [209]
209,26 unequal: No Solution
No 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: 26:[19, 24], Operations: ['76/4=19', '3*8=24']
Exploring Operation: 19*24=456, Resulting Numbers: [456]
456,26 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 19+24=43, Resulting Numbers: [43]
43,26 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: 26:[3, 4, 68], Operations: ['76-8=68']
Exploring Operation: 4-3=1, Resulting Numbers: [68, 1]
Generated Node #0,2,0: 26:[68, 1] Operation: 4-3=1
Exploring Operation: 68-4=64, Resulting Numbers: [3, 64]
Generated Node #0,2,1: 26:[3, 64] Operation: 68-4=64
Exploring Operation: 68/4=17, Resulting Numbers: [3, 17]
Generated Node #0,2,2: 26:[3, 17] Operation: 68/4=17
Exploring Operation: 68-3=65, Resulting Numbers: [4, 65]
Generated Node #0,2,3: 26:[4, 65] Operation: 68-3=65
Exploring Operation: 3*4=12, Resulting Numbers: [68, 12]
Generated Node #0,2,4: 26:[68, 12] Operation: 3*4=12
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 26:[3, 17], Operations: ['76-8=68', '68/4=17']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,26 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,26 unequal: No Solution
No 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: 26:[3, 64], Operations: ['76-8=68', '68-4=64']
Exploring Operation: 3*64=192, Resulting Numbers: [192]
192,26 unequal: No Solution
Exploring Operation: 3+64=67, Resulting Numbers: [67]
67,26 unequal: No Solution
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,26 unequal: No Solution
No 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: 26:[4, 65], Operations: ['76-8=68', '68-3=65']
Exploring Operation: 4+65=69, Resulting Numbers: [69]
69,26 unequal: No Solution
Exploring Operation: 4*65=260, Resulting Numbers: [260]
260,26 unequal: No Solution
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,26 unequal: No Solution
No 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: 26:[68, 1], Operations: ['76-8=68', '4-3=1']
Exploring Operation: 68*1=68, Resulting Numbers: [68]
68,26 unequal: No Solution
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,26 unequal: No Solution
Exploring Operation: 68/1=68, Resulting Numbers: [68]
68,26 unequal: No Solution
Exploring Operation: 68-1=67, Resulting Numbers: [67]
67,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 26:[68, 12], Operations: ['76-8=68', '3*4=12']
Exploring Operation: 68*12=816, Resulting Numbers: [816]
816,26 unequal: No Solution
Exploring Operation: 68-12=56, Resulting Numbers: [56]
56,26 unequal: No Solution
Exploring Operation: 68+12=80, Resulting Numbers: [80]
80,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 26:[3, 76, 2], Operations: ['8/4=2']
Exploring Operation: 76/2=38, Resulting Numbers: [3, 38]
Generated Node #0,4,0: 26:[3, 38] Operation: 76/2=38
Exploring Operation: 3-2=1, Resulting Numbers: [76, 1]
Generated Node #0,4,1: 26:[76, 1] Operation: 3-2=1
Exploring Operation: 76-2=74, Resulting Numbers: [3, 74]
Generated Node #0,4,2: 26:[3, 74] Operation: 76-2=74
Exploring Operation: 76-3=73, Resulting Numbers: [2, 73]
Generated Node #0,4,3: 26:[2, 73] Operation: 76-3=73
Exploring Operation: 3+76=79, Resulting Numbers: [2, 79]
Generated Node #0,4,4: 26:[2, 79] Operation: 3+76=79
Moving to Node #0,4,0
Current State: 26:[3, 38], Operations: ['8/4=2', '76/2=38']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Exploring Operation: 3*38=114, Resulting Numbers: [114]
114,26 unequal: No Solution
Moving to Node #0,4,3
Current State: 26:[2, 73], Operations: ['8/4=2', '76-3=73']
Exploring Operation: 2*73=146, Resulting Numbers: [146]
146,26 unequal: No Solution
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,26 unequal: No Solution
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,26 unequal: No Solution
Moving to Node #0,4,2
Current State: 26:[3, 74], Operations: ['8/4=2', '76-2=74']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,26 unequal: No Solution
Exploring Operation: 3+74=77, Resulting Numbers: [77]
77,26 unequal: No Solution
Exploring Operation: 3*74=222, Resulting Numbers: [222]
222,26 unequal: No Solution
Moving to Node #0,4,1
Current State: 26:[76, 1], Operations: ['8/4=2', '3-2=1']
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,26 unequal: No Solution
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,26 unequal: No Solution
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,26 unequal: No Solution
Exploring Operation: 76+1=77, Resulting Numbers: [77]
77,26 unequal: No Solution
Moving to Node #0,4,4
Current State: 26:[2, 79], Operations: ['8/4=2', '3+76=79']
Exploring Operation: 2*79=158, Resulting Numbers: [158]
158,26 unequal: No Solution
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,26 unequal: No Solution
Exploring Operation: 2+79=81, Resulting Numbers: [81]
81,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[3, 8, 72], Operations: ['76-4=72']
Exploring Operation: 3*8=24, Resulting Numbers: [72, 24]
Generated Node #0,1,0: 26:[72, 24] Operation: 3*8=24
Exploring Operation: 72-8=64, Resulting Numbers: [3, 64]
Generated Node #0,1,1: 26:[3, 64] Operation: 72-8=64
Exploring Operation: 3+8=11, Resulting Numbers: [72, 11]
Generated Node #0,1,2: 26:[72, 11] Operation: 3+8=11
Exploring Operation: 72/8=9, Resulting Numbers: [3, 9]
Generated Node #0,1,3: 26:[3, 9] Operation: 72/8=9
Exploring Operation: 72/3=24, Resulting Numbers: [8, 24]
Generated Node #0,1,4: 26:[8, 24] Operation: 72/3=24
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 26:[3, 9], Operations: ['76-4=72', '72/8=9']
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,26 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,26 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 26:[8, 24], Operations: ['76-4=72', '72/3=24']
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,26 unequal: No Solution
Exploring Operation: 8*24=192, Resulting Numbers: [192]
192,26 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,26 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,26 unequal: No Solution
No 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: 26:[3, 64], Operations: ['76-4=72', '72-8=64']
Exploring Operation: 3+64=67, Resulting Numbers: [67]
67,26 unequal: No Solution
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,26 unequal: No Solution
Exploring Operation: 3*64=192, Resulting Numbers: [192]
192,26 unequal: No Solution
No 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: 26:[72, 24], Operations: ['76-4=72', '3*8=24']
Exploring Operation: 72+24=96, Resulting Numbers: [96]
96,26 unequal: No Solution
Exploring Operation: 72*24=1728, Resulting Numbers: [1728]
1728,26 unequal: No Solution
Exploring Operation: 72-24=48, Resulting Numbers: [48]
48,26 unequal: No Solution
Exploring Operation: 72/24=3, Resulting Numbers: [3]
3,26 unequal: No Solution
No 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: 26:[72, 11], Operations: ['76-4=72', '3+8=11']
Exploring Operation: 72*11=792, Resulting Numbers: [792]
792,26 unequal: No Solution
Exploring Operation: 72+11=83, Resulting Numbers: [83]
83,26 unequal: No Solution
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,26 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: 26:[3, 76, 12], Operations: ['8+4=12']
Exploring Operation: 76-3=73, Resulting Numbers: [12, 73]
Generated Node #0,3,0: 26:[12, 73] Operation: 76-3=73
Exploring Operation: 3+12=15, Resulting Numbers: [76, 15]
Generated Node #0,3,1: 26:[76, 15] Operation: 3+12=15
Exploring Operation: 3+76=79, Resulting Numbers: [12, 79]
Generated Node #0,3,2: 26:[12, 79] Operation: 3+76=79
Exploring Operation: 12/3=4, Resulting Numbers: [76, 4]
Generated Node #0,3,3: 26:[76, 4] Operation: 12/3=4
Exploring Operation: 76-12=64, Resulting Numbers: [3, 64]
Generated Node #0,3,4: 26:[3, 64] Operation: 76-12=64
Moving to Node #0,3,4
Current State: 26:[3, 64], Operations: ['8+4=12', '76-12=64']
Exploring Operation: 3+64=67, Resulting Numbers: [67]
67,26 unequal: No Solution
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,26 unequal: No Solution
Exploring Operation: 3*64=192, Resulting Numbers: [192]
192,26 unequal: No Solution
Moving to Node #0,3,0
Current State: 26:[12, 73], Operations: ['8+4=12', '76-3=73']
Exploring Operation: 12*73=876, Resulting Numbers: [876]
876,26 unequal: No Solution
Exploring Operation: 73-12=61, Resulting Numbers: [61]
61,26 unequal: No Solution
Exploring Operation: 12+73=85, Resulting Numbers: [85]
85,26 unequal: No Solution
Moving to Node #0,3,1
Current State: 26:[76, 15], Operations: ['8+4=12', '3+12=15']
Exploring Operation: 76*15=1140, Resulting Numbers: [1140]
1140,26 unequal: No Solution
Exploring Operation: 76+15=91, Resulting Numbers: [91]
91,26 unequal: No Solution
Exploring Operation: 76-15=61, Resulting Numbers: [61]
61,26 unequal: No Solution
Moving to Node #0,3,3
Current State: 26:[76, 4], Operations: ['8+4=12', '12/3=4']
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,26 unequal: No Solution
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,26 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Exploring Operation: 76*4=304, Resulting Numbers: [304]
304,26 unequal: No Solution
Moving to Node #0,3,2
Current State: 26:[12, 79], Operations: ['8+4=12', '3+76=79']
Exploring Operation: 12+79=91, Resulting Numbers: [91]
91,26 unequal: No Solution
Exploring Operation: 12*79=948, Resulting Numbers: [948]
948,26 unequal: No Solution
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,26 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 |
[
10,
45,
12,
2
] | 51 | [
"10-2=8",
"12*8=96",
"96-45=51"
] | Current State: 51:[10, 45, 12, 2], Operations: []
Exploring Operation: 10-2=8, Resulting Numbers: [45, 12, 8]
Generated Node #2: [45, 12, 8] from Operation: 10-2=8
Current State: 51:[45, 12, 8], Operations: ['10-2=8']
Exploring Operation: 12*8=96, Resulting Numbers: [45, 96]
Generated Node #3: [45, 96] from Operation: 12*8=96
Current State: 51:[45, 96], Operations: ['10-2=8', '12*8=96']
Exploring Operation: 96-45=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[10, 45, 12, 2], Operations: []
Exploring Operation: 10/2=5, Resulting Numbers: [45, 12, 5]
Generated Node #0,0: 51:[45, 12, 5] Operation: 10/2=5
Exploring Operation: 10+12=22, Resulting Numbers: [45, 2, 22]
Generated Node #0,1: 51:[45, 2, 22] Operation: 10+12=22
Exploring Operation: 10+45=55, Resulting Numbers: [12, 2, 55]
Generated Node #0,2: 51:[12, 2, 55] Operation: 10+45=55
Exploring Operation: 12-10=2, Resulting Numbers: [45, 2, 2]
Generated Node #0,3: 51:[45, 2, 2] Operation: 12-10=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 51:[45, 2, 2], Operations: ['12-10=2']
Exploring Operation: 2+2=4, Resulting Numbers: [45, 4]
Generated Node #0,3,0: 51:[45, 4] Operation: 2+2=4
Exploring Operation: 2*2=4, Resulting Numbers: [45, 4]
Generated Node #0,3,1: 51:[45, 4] Operation: 2*2=4
Exploring Operation: 45+2=47, Resulting Numbers: [2, 47]
Generated Node #0,3,2: 51:[2, 47] Operation: 45+2=47
Exploring Operation: 45+2=47, Resulting Numbers: [2, 47]
Generated Node #0,3,3: 51:[2, 47] Operation: 45+2=47
Moving to Node #0,3,2
Current State: 51:[2, 47], Operations: ['12-10=2', '45+2=47']
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,51 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,51 unequal: No Solution
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,51 unequal: No Solution
Moving to Node #0,3,3
Current State: 51:[2, 47], Operations: ['12-10=2', '45+2=47']
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,51 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,51 unequal: No Solution
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,51 unequal: No Solution
Moving to Node #0,3,1
Current State: 51:[45, 4], Operations: ['12-10=2', '2*2=4']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,51 unequal: No Solution
Exploring Operation: 45*4=180, Resulting Numbers: [180]
180,51 unequal: No Solution
Moving to Node #0,3,0
Current State: 51:[45, 4], Operations: ['12-10=2', '2+2=4']
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,51 unequal: No Solution
Exploring Operation: 45*4=180, Resulting Numbers: [180]
180,51 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[12, 2, 55], Operations: ['10+45=55']
Exploring Operation: 55-12=43, Resulting Numbers: [2, 43]
Generated Node #0,2,0: 51:[2, 43] Operation: 55-12=43
Exploring Operation: 55-2=53, Resulting Numbers: [12, 53]
Generated Node #0,2,1: 51:[12, 53] Operation: 55-2=53
Exploring Operation: 12/2=6, Resulting Numbers: [55, 6]
Generated Node #0,2,2: 51:[55, 6] Operation: 12/2=6
Exploring Operation: 12+2=14, Resulting Numbers: [55, 14]
Generated Node #0,2,3: 51:[55, 14] Operation: 12+2=14
Moving to Node #0,2,1
Current State: 51:[12, 53], Operations: ['10+45=55', '55-2=53']
Exploring Operation: 53-12=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 12*53=636, Resulting Numbers: [636]
636,51 unequal: No Solution
Exploring Operation: 12+53=65, Resulting Numbers: [65]
65,51 unequal: No Solution
Moving to Node #0,2,3
Current State: 51:[55, 14], Operations: ['10+45=55', '12+2=14']
Exploring Operation: 55+14=69, Resulting Numbers: [69]
69,51 unequal: No Solution
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 55*14=770, Resulting Numbers: [770]
770,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[55, 6], Operations: ['10+45=55', '12/2=6']
Exploring Operation: 55*6=330, Resulting Numbers: [330]
330,51 unequal: No Solution
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,51 unequal: No Solution
Exploring Operation: 55+6=61, Resulting Numbers: [61]
61,51 unequal: No Solution
Moving to Node #0,2,0
Current State: 51:[2, 43], Operations: ['10+45=55', '55-12=43']
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,51 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[45, 2, 22], Operations: ['10+12=22']
Exploring Operation: 22-2=20, Resulting Numbers: [45, 20]
Generated Node #0,1,0: 51:[45, 20] Operation: 22-2=20
Exploring Operation: 45+2=47, Resulting Numbers: [22, 47]
Generated Node #0,1,1: 51:[22, 47] Operation: 45+2=47
Exploring Operation: 22/2=11, Resulting Numbers: [45, 11]
Generated Node #0,1,2: 51:[45, 11] Operation: 22/2=11
Exploring Operation: 45-22=23, Resulting Numbers: [2, 23]
Generated Node #0,1,3: 51:[2, 23] Operation: 45-22=23
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 51:[2, 23], Operations: ['10+12=22', '45-22=23']
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,51 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,51 unequal: No Solution
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[45, 20], Operations: ['10+12=22', '22-2=20']
Exploring Operation: 45*20=900, Resulting Numbers: [900]
900,51 unequal: No Solution
Exploring Operation: 45+20=65, Resulting Numbers: [65]
65,51 unequal: No Solution
Exploring Operation: 45-20=25, Resulting Numbers: [25]
25,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[22, 47], Operations: ['10+12=22', '45+2=47']
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,51 unequal: No Solution
Exploring Operation: 22*47=1034, Resulting Numbers: [1034]
1034,51 unequal: No Solution
Exploring Operation: 22+47=69, Resulting Numbers: [69]
69,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 51:[45, 11], Operations: ['10+12=22', '22/2=11']
Exploring Operation: 45*11=495, Resulting Numbers: [495]
495,51 unequal: No Solution
Exploring Operation: 45-11=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 45+11=56, Resulting Numbers: [56]
56,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[45, 12, 5], Operations: ['10/2=5']
Exploring Operation: 45+12=57, Resulting Numbers: [5, 57]
Generated Node #0,0,0: 51:[5, 57] Operation: 45+12=57
Exploring Operation: 12+5=17, Resulting Numbers: [45, 17]
Generated Node #0,0,1: 51:[45, 17] Operation: 12+5=17
Exploring Operation: 12-5=7, Resulting Numbers: [45, 7]
Generated Node #0,0,2: 51:[45, 7] Operation: 12-5=7
Exploring Operation: 45+5=50, Resulting Numbers: [12, 50]
Generated Node #0,0,3: 51:[12, 50] Operation: 45+5=50
Moving to Node #0,0,1
Current State: 51:[45, 17], Operations: ['10/2=5', '12+5=17']
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 45+17=62, Resulting Numbers: [62]
62,51 unequal: No Solution
Exploring Operation: 45*17=765, Resulting Numbers: [765]
765,51 unequal: No Solution
Moving to Node #0,0,3
Current State: 51:[12, 50], Operations: ['10/2=5', '45+5=50']
Exploring Operation: 12*50=600, Resulting Numbers: [600]
600,51 unequal: No Solution
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,51 unequal: No Solution
Exploring Operation: 12+50=62, Resulting Numbers: [62]
62,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[5, 57], Operations: ['10/2=5', '45+12=57']
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 5*57=285, Resulting Numbers: [285]
285,51 unequal: No Solution
Exploring Operation: 5+57=62, Resulting Numbers: [62]
62,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[45, 7], Operations: ['10/2=5', '12-5=7']
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,51 unequal: No Solution
Exploring Operation: 45+7=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 45*7=315, Resulting Numbers: [315]
315,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
14,
71,
21,
23
] | 55 | [
"71-14=57",
"23-21=2",
"57-2=55"
] | Current State: 55:[14, 71, 21, 23], Operations: []
Exploring Operation: 71-14=57, Resulting Numbers: [21, 23, 57]
Generated Node #2: [21, 23, 57] from Operation: 71-14=57
Current State: 55:[21, 23, 57], Operations: ['71-14=57']
Exploring Operation: 23-21=2, Resulting Numbers: [57, 2]
Generated Node #3: [57, 2] from Operation: 23-21=2
Current State: 55:[57, 2], Operations: ['71-14=57', '23-21=2']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[14, 71, 21, 23], Operations: []
Exploring Operation: 23-14=9, Resulting Numbers: [71, 21, 9]
Generated Node #0,0: 55:[71, 21, 9] Operation: 23-14=9
Exploring Operation: 71-23=48, Resulting Numbers: [14, 21, 48]
Generated Node #0,1: 55:[14, 21, 48] Operation: 71-23=48
Exploring Operation: 71-14=57, Resulting Numbers: [21, 23, 57]
Generated Node #0,2: 55:[21, 23, 57] Operation: 71-14=57
Exploring Operation: 23-21=2, Resulting Numbers: [14, 71, 2]
Generated Node #0,3: 55:[14, 71, 2] Operation: 23-21=2
Exploring Operation: 71-21=50, Resulting Numbers: [14, 23, 50]
Generated Node #0,4: 55:[14, 23, 50] Operation: 71-21=50
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[14, 21, 48], Operations: ['71-23=48']
Exploring Operation: 14+48=62, Resulting Numbers: [21, 62]
Generated Node #0,1,0: 55:[21, 62] Operation: 14+48=62
Exploring Operation: 48-21=27, Resulting Numbers: [14, 27]
Generated Node #0,1,1: 55:[14, 27] Operation: 48-21=27
Exploring Operation: 21-14=7, Resulting Numbers: [48, 7]
Generated Node #0,1,2: 55:[48, 7] Operation: 21-14=7
Exploring Operation: 21+48=69, Resulting Numbers: [14, 69]
Generated Node #0,1,3: 55:[14, 69] Operation: 21+48=69
Exploring Operation: 14+21=35, Resulting Numbers: [48, 35]
Generated Node #0,1,4: 55:[48, 35] Operation: 14+21=35
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 55:[48, 7], Operations: ['71-23=48', '21-14=7']
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,55 unequal: No Solution
Exploring Operation: 48*7=336, Resulting Numbers: [336]
336,55 unequal: No Solution
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[14, 71, 21, 23], Operations: []
Exploring Operation: 71-23=48, Resulting Numbers: [14, 21, 48]
Generated Node #0,1: 55:[14, 21, 48] Operation: 71-23=48
Moving to Node #0,1
Current State: 55:[14, 21, 48], Operations: ['71-23=48']
Exploring Operation: 21-14=7, Resulting Numbers: [48, 7]
Generated Node #0,1,2: 55:[48, 7] Operation: 21-14=7
Moving to Node #0,1,2
Current State: 55:[48, 7], Operations: ['71-23=48', '21-14=7']
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
50,
36,
65,
5
] | 74 | [
"50-36=14",
"65-5=60",
"14+60=74"
] | Current State: 74:[50, 36, 65, 5], Operations: []
Exploring Operation: 50-36=14, Resulting Numbers: [65, 5, 14]
Generated Node #2: [65, 5, 14] from Operation: 50-36=14
Current State: 74:[65, 5, 14], Operations: ['50-36=14']
Exploring Operation: 65-5=60, Resulting Numbers: [14, 60]
Generated Node #3: [14, 60] from Operation: 65-5=60
Current State: 74:[14, 60], Operations: ['50-36=14', '65-5=60']
Exploring Operation: 14+60=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[50, 36, 65, 5], Operations: []
Exploring Operation: 65-50=15, Resulting Numbers: [36, 5, 15]
Generated Node #0,0: 74:[36, 5, 15] Operation: 65-50=15
Exploring Operation: 50-5=45, Resulting Numbers: [36, 65, 45]
Generated Node #0,1: 74:[36, 65, 45] Operation: 50-5=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[36, 5, 15], Operations: ['65-50=15']
Exploring Operation: 5*15=75, Resulting Numbers: [36, 75]
Generated Node #0,0,0: 74:[36, 75] Operation: 5*15=75
Exploring Operation: 15/5=3, Resulting Numbers: [36, 3]
Generated Node #0,0,1: 74:[36, 3] Operation: 15/5=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[36, 75], Operations: ['65-50=15', '5*15=75']
Exploring Operation: 75-36=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 36+75=111, Resulting Numbers: [111]
111,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,0,1
Current State: 74:[36, 3], Operations: ['65-50=15', '15/5=3']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,74 unequal: No Solution
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,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,1
Current State: 74:[36, 65, 45], Operations: ['50-5=45']
Exploring Operation: 36+45=81, Resulting Numbers: [65, 81]
Generated Node #0,1,0: 74:[65, 81] Operation: 36+45=81
Exploring Operation: 65-36=29, Resulting Numbers: [45, 29]
Generated Node #0,1,1: 74:[45, 29] Operation: 65-36=29
Moving to Node #0,1,0
Current State: 74:[65, 81], Operations: ['50-5=45', '36+45=81']
Exploring Operation: 81-65=16, Resulting Numbers: [16]
16,74 unequal: No Solution
Exploring Operation: 65+81=146, Resulting Numbers: [146]
146,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[45, 29], Operations: ['50-5=45', '65-36=29']
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[50, 36, 65, 5], Operations: []
Exploring Operation: 50-5=45, Resulting Numbers: [36, 65, 45]
Generated Node #0,1: 74:[36, 65, 45] Operation: 50-5=45
Moving to Node #0,1
Current State: 74:[36, 65, 45], Operations: ['50-5=45']
Exploring Operation: 65-36=29, Resulting Numbers: [45, 29]
Generated Node #0,1,1: 74:[45, 29] Operation: 65-36=29
Moving to Node #0,1,1
Current State: 74:[45, 29], Operations: ['50-5=45', '65-36=29']
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_2 | mult_heuristic |
[
77,
76,
5,
92
] | 97 | [
"77-76=1",
"5+92=97",
"1*97=97"
] | Current State: 97:[77, 76, 5, 92], Operations: []
Exploring Operation: 77-76=1, Resulting Numbers: [5, 92, 1]
Generated Node #2: [5, 92, 1] from Operation: 77-76=1
Current State: 97:[5, 92, 1], Operations: ['77-76=1']
Exploring Operation: 5+92=97, Resulting Numbers: [1, 97]
Generated Node #3: [1, 97] from Operation: 5+92=97
Current State: 97:[1, 97], Operations: ['77-76=1', '5+92=97']
Exploring Operation: 1*97=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[77, 76, 5, 92], Operations: []
Exploring Operation: 77-5=72, Resulting Numbers: [76, 92, 72]
Generated Node #0,0: 97:[76, 92, 72] Operation: 77-5=72
Exploring Operation: 76+5=81, Resulting Numbers: [77, 92, 81]
Generated Node #0,1: 97:[77, 92, 81] Operation: 76+5=81
Exploring Operation: 76-5=71, Resulting Numbers: [77, 92, 71]
Generated Node #0,2: 97:[77, 92, 71] Operation: 76-5=71
Exploring Operation: 5+92=97, Resulting Numbers: [77, 76, 97]
Generated Node #0,3: 97:[77, 76, 97] Operation: 5+92=97
Exploring Operation: 77+5=82, Resulting Numbers: [76, 92, 82]
Generated Node #0,4: 97:[76, 92, 82] Operation: 77+5=82
Moving to Node #0,1
Current State: 97:[77, 92, 81], Operations: ['76+5=81']
Exploring Operation: 81-77=4, Resulting Numbers: [92, 4]
Generated Node #0,1,0: 97:[92, 4] Operation: 81-77=4
Exploring Operation: 77+92=169, Resulting Numbers: [81, 169]
Generated Node #0,1,1: 97:[81, 169] Operation: 77+92=169
Exploring Operation: 92+81=173, Resulting Numbers: [77, 173]
Generated Node #0,1,2: 97:[77, 173] Operation: 92+81=173
Exploring Operation: 92-77=15, Resulting Numbers: [81, 15]
Generated Node #0,1,3: 97:[81, 15] Operation: 92-77=15
Exploring Operation: 77+81=158, Resulting Numbers: [92, 158]
Generated Node #0,1,4: 97:[92, 158] Operation: 77+81=158
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 97:[92, 158], Operations: ['76+5=81', '77+81=158']
Exploring Operation: 92+158=250, Resulting Numbers: [250]
250,97 unequal: No Solution
Exploring Operation: 92*158=14536, Resulting Numbers: [14536]
14536,97 unequal: No Solution
Exploring Operation: 158-92=66, Resulting Numbers: [66]
66,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[81, 169], Operations: ['76+5=81', '77+92=169']
Exploring Operation: 81+169=250, Resulting Numbers: [250]
250,97 unequal: No Solution
Exploring Operation: 81*169=13689, Resulting Numbers: [13689]
13689,97 unequal: No Solution
Exploring Operation: 169-81=88, Resulting Numbers: [88]
88,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 97:[77, 173], Operations: ['76+5=81', '92+81=173']
Exploring Operation: 77+173=250, Resulting Numbers: [250]
250,97 unequal: No Solution
Exploring Operation: 173-77=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Exploring Operation: 77*173=13321, Resulting Numbers: [13321]
13321,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[92, 4], Operations: ['76+5=81', '81-77=4']
Exploring Operation: 92+4=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Exploring Operation: 92/4=23, Resulting Numbers: [23]
23,97 unequal: No Solution
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,97 unequal: No Solution
Exploring Operation: 92*4=368, Resulting Numbers: [368]
368,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 97:[81, 15], Operations: ['76+5=81', '92-77=15']
Exploring Operation: 81+15=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Exploring Operation: 81-15=66, Resulting Numbers: [66]
66,97 unequal: No Solution
Exploring Operation: 81*15=1215, Resulting Numbers: [1215]
1215,97 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: 97:[76, 92, 82], Operations: ['77+5=82']
Exploring Operation: 76+92=168, Resulting Numbers: [82, 168]
Generated Node #0,4,0: 97:[82, 168] Operation: 76+92=168
Exploring Operation: 82-76=6, Resulting Numbers: [92, 6]
Generated Node #0,4,1: 97:[92, 6] Operation: 82-76=6
Exploring Operation: 92-76=16, Resulting Numbers: [82, 16]
Generated Node #0,4,2: 97:[82, 16] Operation: 92-76=16
Exploring Operation: 76+82=158, Resulting Numbers: [92, 158]
Generated Node #0,4,3: 97:[92, 158] Operation: 76+82=158
Exploring Operation: 92+82=174, Resulting Numbers: [76, 174]
Generated Node #0,4,4: 97:[76, 174] Operation: 92+82=174
Moving to Node #0,3
Current State: 97:[77, 76, 97], Operations: ['5+92=97']
Exploring Operation: 77+76=153, Resulting Numbers: [97, 153]
Generated Node #0,3,0: 97:[97, 153] Operation: 77+76=153
Exploring Operation: 97-76=21, Resulting Numbers: [77, 21]
Generated Node #0,3,1: 97:[77, 21] Operation: 97-76=21
Exploring Operation: 77-76=1, Resulting Numbers: [97, 1]
Generated Node #0,3,2: 97:[97, 1] Operation: 77-76=1
Exploring Operation: 77+97=174, Resulting Numbers: [76, 174]
Generated Node #0,3,3: 97:[76, 174] Operation: 77+97=174
Exploring Operation: 76+97=173, Resulting Numbers: [77, 173]
Generated Node #0,3,4: 97:[77, 173] Operation: 76+97=173
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 97:[97, 153], Operations: ['5+92=97', '77+76=153']
Exploring Operation: 97*153=14841, Resulting Numbers: [14841]
14841,97 unequal: No Solution
Exploring Operation: 153-97=56, Resulting Numbers: [56]
56,97 unequal: No Solution
Exploring Operation: 97+153=250, Resulting Numbers: [250]
250,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,1
Current State: 97:[77, 21], Operations: ['5+92=97', '97-76=21']
Exploring Operation: 77*21=1617, Resulting Numbers: [1617]
1617,97 unequal: No Solution
Exploring Operation: 77-21=56, Resulting Numbers: [56]
56,97 unequal: No Solution
Exploring Operation: 77+21=98, Resulting Numbers: [98]
98,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,2
Current State: 97:[97, 1], Operations: ['5+92=97', '77-76=1']
Exploring Operation: 97+1=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[77, 76, 5, 92], Operations: []
Exploring Operation: 5+92=97, Resulting Numbers: [77, 76, 97]
Generated Node #0,3: 97:[77, 76, 97] Operation: 5+92=97
Moving to Node #0,3
Current State: 97:[77, 76, 97], Operations: ['5+92=97']
Exploring Operation: 77-76=1, Resulting Numbers: [97, 1]
Generated Node #0,3,2: 97:[97, 1] Operation: 77-76=1
Moving to Node #0,3,2
Current State: 97:[97, 1], Operations: ['5+92=97', '77-76=1']
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.958333 | hs_5 | mult_heuristic |
[
89,
84,
47,
17
] | 38 | [
"89-84=5",
"17*5=85",
"85-47=38"
] | Current State: 38:[89, 84, 47, 17], Operations: []
Exploring Operation: 89-84=5, Resulting Numbers: [47, 17, 5]
Generated Node #2: [47, 17, 5] from Operation: 89-84=5
Current State: 38:[47, 17, 5], Operations: ['89-84=5']
Exploring Operation: 17*5=85, Resulting Numbers: [47, 85]
Generated Node #3: [47, 85] from Operation: 17*5=85
Current State: 38:[47, 85], Operations: ['89-84=5', '17*5=85']
Exploring Operation: 85-47=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[89, 84, 47, 17], Operations: []
Exploring Operation: 84-17=67, Resulting Numbers: [89, 47, 67]
Generated Node #0,0: 38:[89, 47, 67] Operation: 84-17=67
Exploring Operation: 89-84=5, Resulting Numbers: [47, 17, 5]
Generated Node #0,1: 38:[47, 17, 5] Operation: 89-84=5
Exploring Operation: 89-47=42, Resulting Numbers: [84, 17, 42]
Generated Node #0,2: 38:[84, 17, 42] Operation: 89-47=42
Exploring Operation: 89-17=72, Resulting Numbers: [84, 47, 72]
Generated Node #0,3: 38:[84, 47, 72] Operation: 89-17=72
Exploring Operation: 84-47=37, Resulting Numbers: [89, 17, 37]
Generated Node #0,4: 38:[89, 17, 37] Operation: 84-47=37
Moving to Node #0,1
Current State: 38:[47, 17, 5], Operations: ['89-84=5']
Exploring Operation: 17+5=22, Resulting Numbers: [47, 22]
Generated Node #0,1,0: 38:[47, 22] Operation: 17+5=22
Exploring Operation: 47-5=42, Resulting Numbers: [17, 42]
Generated Node #0,1,1: 38:[17, 42] Operation: 47-5=42
Exploring Operation: 47+5=52, Resulting Numbers: [17, 52]
Generated Node #0,1,2: 38:[17, 52] Operation: 47+5=52
Exploring Operation: 47-17=30, Resulting Numbers: [5, 30]
Generated Node #0,1,3: 38:[5, 30] Operation: 47-17=30
Exploring Operation: 17-5=12, Resulting Numbers: [47, 12]
Generated Node #0,1,4: 38:[47, 12] Operation: 17-5=12
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 38:[17, 42], Operations: ['89-84=5', '47-5=42']
Exploring Operation: 17+42=59, Resulting Numbers: [59]
59,38 unequal: No Solution
Exploring Operation: 17*42=714, Resulting Numbers: [714]
714,38 unequal: No Solution
Exploring Operation: 42-17=25, Resulting Numbers: [25]
25,38 unequal: No Solution
No 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: 38:[5, 30], Operations: ['89-84=5', '47-17=30']
Exploring Operation: 5*30=150, Resulting Numbers: [150]
150,38 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,38 unequal: No Solution
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,38 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,38 unequal: No Solution
No 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: 38:[47, 22], Operations: ['89-84=5', '17+5=22']
Exploring Operation: 47+22=69, Resulting Numbers: [69]
69,38 unequal: No Solution
Exploring Operation: 47*22=1034, Resulting Numbers: [1034]
1034,38 unequal: No Solution
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,38 unequal: No Solution
No 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: 38:[17, 52], Operations: ['89-84=5', '47+5=52']
Exploring Operation: 17*52=884, Resulting Numbers: [884]
884,38 unequal: No Solution
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,38 unequal: No Solution
Exploring Operation: 17+52=69, Resulting Numbers: [69]
69,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 38:[47, 12], Operations: ['89-84=5', '17-5=12']
Exploring Operation: 47*12=564, Resulting Numbers: [564]
564,38 unequal: No Solution
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,38 unequal: No Solution
Exploring Operation: 47+12=59, Resulting Numbers: [59]
59,38 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: 38:[84, 17, 42], Operations: ['89-47=42']
Exploring Operation: 42-17=25, Resulting Numbers: [84, 25]
Generated Node #0,2,0: 38:[84, 25] Operation: 42-17=25
Exploring Operation: 84-42=42, Resulting Numbers: [17, 42]
Generated Node #0,2,1: 38:[17, 42] Operation: 84-42=42
Exploring Operation: 84+17=101, Resulting Numbers: [42, 101]
Generated Node #0,2,2: 38:[42, 101] Operation: 84+17=101
Exploring Operation: 84/42=2, Resulting Numbers: [17, 2]
Generated Node #0,2,3: 38:[17, 2] Operation: 84/42=2
Exploring Operation: 84-17=67, Resulting Numbers: [42, 67]
Generated Node #0,2,4: 38:[42, 67] Operation: 84-17=67
Moving to Node #0,4
Current State: 38:[89, 17, 37], Operations: ['84-47=37']
Exploring Operation: 89+17=106, Resulting Numbers: [37, 106]
Generated Node #0,4,0: 38:[37, 106] Operation: 89+17=106
Exploring Operation: 37-17=20, Resulting Numbers: [89, 20]
Generated Node #0,4,1: 38:[89, 20] Operation: 37-17=20
Exploring Operation: 17+37=54, Resulting Numbers: [89, 54]
Generated Node #0,4,2: 38:[89, 54] Operation: 17+37=54
Exploring Operation: 89-17=72, Resulting Numbers: [37, 72]
Generated Node #0,4,3: 38:[37, 72] Operation: 89-17=72
Exploring Operation: 89-37=52, Resulting Numbers: [17, 52]
Generated Node #0,4,4: 38:[17, 52] Operation: 89-37=52
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 38:[17, 52], Operations: ['84-47=37', '89-37=52']
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,38 unequal: No Solution
Exploring Operation: 17*52=884, Resulting Numbers: [884]
884,38 unequal: No Solution
Exploring Operation: 17+52=69, Resulting Numbers: [69]
69,38 unequal: No Solution
No 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: 38:[37, 72], Operations: ['84-47=37', '89-17=72']
Exploring Operation: 37+72=109, Resulting Numbers: [109]
109,38 unequal: No Solution
Exploring Operation: 37*72=2664, Resulting Numbers: [2664]
2664,38 unequal: No Solution
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,38 unequal: No Solution
No 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: 38:[89, 20], Operations: ['84-47=37', '37-17=20']
Exploring Operation: 89*20=1780, Resulting Numbers: [1780]
1780,38 unequal: No Solution
Exploring Operation: 89+20=109, Resulting Numbers: [109]
109,38 unequal: No Solution
Exploring Operation: 89-20=69, Resulting Numbers: [69]
69,38 unequal: No Solution
No 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: 38:[89, 54], Operations: ['84-47=37', '17+37=54']
Exploring Operation: 89-54=35, Resulting Numbers: [35]
35,38 unequal: No Solution
Exploring Operation: 89*54=4806, Resulting Numbers: [4806]
4806,38 unequal: No Solution
Exploring Operation: 89+54=143, Resulting Numbers: [143]
143,38 unequal: No Solution
No 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: 38:[37, 106], Operations: ['84-47=37', '89+17=106']
Exploring Operation: 37+106=143, Resulting Numbers: [143]
143,38 unequal: No Solution
Exploring Operation: 37*106=3922, Resulting Numbers: [3922]
3922,38 unequal: No Solution
Exploring Operation: 106-37=69, Resulting Numbers: [69]
69,38 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: 38:[89, 47, 67], Operations: ['84-17=67']
Exploring Operation: 89-67=22, Resulting Numbers: [47, 22]
Generated Node #0,0,0: 38:[47, 22] Operation: 89-67=22
Exploring Operation: 67-47=20, Resulting Numbers: [89, 20]
Generated Node #0,0,1: 38:[89, 20] Operation: 67-47=20
Exploring Operation: 89+47=136, Resulting Numbers: [67, 136]
Generated Node #0,0,2: 38:[67, 136] Operation: 89+47=136
Exploring Operation: 89+67=156, Resulting Numbers: [47, 156]
Generated Node #0,0,3: 38:[47, 156] Operation: 89+67=156
Exploring Operation: 89-47=42, Resulting Numbers: [67, 42]
Generated Node #0,0,4: 38:[67, 42] Operation: 89-47=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[47, 22], Operations: ['84-17=67', '89-67=22']
Exploring Operation: 47*22=1034, Resulting Numbers: [1034]
1034,38 unequal: No Solution
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,38 unequal: No Solution
Exploring Operation: 47+22=69, Resulting Numbers: [69]
69,38 unequal: No Solution
No 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: 38:[67, 42], Operations: ['84-17=67', '89-47=42']
Exploring Operation: 67*42=2814, Resulting Numbers: [2814]
2814,38 unequal: No Solution
Exploring Operation: 67+42=109, Resulting Numbers: [109]
109,38 unequal: No Solution
Exploring Operation: 67-42=25, Resulting Numbers: [25]
25,38 unequal: No Solution
No 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: 38:[89, 20], Operations: ['84-17=67', '67-47=20']
Exploring Operation: 89*20=1780, Resulting Numbers: [1780]
1780,38 unequal: No Solution
Exploring Operation: 89-20=69, Resulting Numbers: [69]
69,38 unequal: No Solution
Exploring Operation: 89+20=109, Resulting Numbers: [109]
109,38 unequal: No Solution
No 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: 38:[67, 136], Operations: ['84-17=67', '89+47=136']
Exploring Operation: 67*136=9112, Resulting Numbers: [9112]
9112,38 unequal: No Solution
Exploring Operation: 136-67=69, Resulting Numbers: [69]
69,38 unequal: No Solution
Exploring Operation: 67+136=203, Resulting Numbers: [203]
203,38 unequal: No Solution
No 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: 38:[47, 156], Operations: ['84-17=67', '89+67=156']
Exploring Operation: 47*156=7332, Resulting Numbers: [7332]
7332,38 unequal: No Solution
Exploring Operation: 156-47=109, Resulting Numbers: [109]
109,38 unequal: No Solution
Exploring Operation: 47+156=203, Resulting Numbers: [203]
203,38 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: 38:[84, 47, 72], Operations: ['89-17=72']
Exploring Operation: 84-47=37, Resulting Numbers: [72, 37]
Generated Node #0,3,0: 38:[72, 37] Operation: 84-47=37
Exploring Operation: 72-47=25, Resulting Numbers: [84, 25]
Generated Node #0,3,1: 38:[84, 25] Operation: 72-47=25
Exploring Operation: 84-72=12, Resulting Numbers: [47, 12]
Generated Node #0,3,2: 38:[47, 12] Operation: 84-72=12
Exploring Operation: 84+47=131, Resulting Numbers: [72, 131]
Generated Node #0,3,3: 38:[72, 131] Operation: 84+47=131
Exploring Operation: 84+72=156, Resulting Numbers: [47, 156]
Generated Node #0,3,4: 38:[47, 156] Operation: 84+72=156
Moving to Node #0,2,3
Current State: 38:[17, 2], Operations: ['89-47=42', '84/42=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,38 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,38 unequal: No Solution
Moving to Node #0,2,1
Current State: 38:[17, 42], Operations: ['89-47=42', '84-42=42']
Exploring Operation: 17+42=59, Resulting Numbers: [59]
59,38 unequal: No Solution
Exploring Operation: 17*42=714, Resulting Numbers: [714]
714,38 unequal: No Solution
Exploring Operation: 42-17=25, Resulting Numbers: [25]
25,38 unequal: No Solution
Moving to Node #0,3,2
Current State: 38:[47, 12], Operations: ['89-17=72', '84-72=12']
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,38 unequal: No Solution
Exploring Operation: 47+12=59, Resulting Numbers: [59]
59,38 unequal: No Solution
Exploring Operation: 47*12=564, Resulting Numbers: [564]
564,38 unequal: No Solution
Moving to Node #0,2,4
Current State: 38:[42, 67], Operations: ['89-47=42', '84-17=67']
Exploring Operation: 42+67=109, Resulting Numbers: [109]
109,38 unequal: No Solution
Exploring Operation: 67-42=25, Resulting Numbers: [25]
25,38 unequal: No Solution
Exploring Operation: 42*67=2814, Resulting Numbers: [2814]
2814,38 unequal: No Solution
Moving to Node #0,3,0
Current State: 38:[72, 37], Operations: ['89-17=72', '84-47=37']
Exploring Operation: 72+37=109, Resulting Numbers: [109]
109,38 unequal: No Solution
Exploring Operation: 72*37=2664, Resulting Numbers: [2664]
2664,38 unequal: No Solution
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,38 unequal: No Solution
Moving to Node #0,2,0
Current State: 38:[84, 25], Operations: ['89-47=42', '42-17=25']
Exploring Operation: 84+25=109, Resulting Numbers: [109]
109,38 unequal: No Solution
Exploring Operation: 84-25=59, Resulting Numbers: [59]
59,38 unequal: No Solution
Exploring Operation: 84*25=2100, Resulting Numbers: [2100]
2100,38 unequal: No Solution
Moving to Node #0,3,1
Current State: 38:[84, 25], Operations: ['89-17=72', '72-47=25']
Exploring Operation: 84-25=59, Resulting Numbers: [59]
59,38 unequal: No Solution
Exploring Operation: 84+25=109, Resulting Numbers: [109]
109,38 unequal: No Solution
Exploring Operation: 84*25=2100, Resulting Numbers: [2100]
2100,38 unequal: No Solution
Moving to Node #0,2,2
Current State: 38:[42, 101], Operations: ['89-47=42', '84+17=101']
Exploring Operation: 101-42=59, Resulting Numbers: [59]
59,38 unequal: No Solution
Exploring Operation: 42+101=143, Resulting Numbers: [143]
143,38 unequal: No Solution
Exploring Operation: 42*101=4242, Resulting Numbers: [4242]
4242,38 unequal: No Solution
Moving to Node #0,3,4
Current State: 38:[47, 156], Operations: ['89-17=72', '84+72=156']
Exploring Operation: 47*156=7332, Resulting Numbers: [7332]
7332,38 unequal: No Solution
Exploring Operation: 47+156=203, Resulting Numbers: [203]
203,38 unequal: No Solution
Exploring Operation: 156-47=109, Resulting Numbers: [109]
109,38 unequal: No Solution
Moving to Node #0,3,3
Current State: 38:[72, 131], Operations: ['89-17=72', '84+47=131']
Exploring Operation: 131-72=59, Resulting Numbers: [59]
59,38 unequal: No Solution
Exploring Operation: 72*131=9432, Resulting Numbers: [9432]
9432,38 unequal: No Solution
Exploring Operation: 72+131=203, Resulting Numbers: [203]
203,38 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
40,
34,
42,
64
] | 28 | [
"40-34=6",
"64-42=22",
"6+22=28"
] | Current State: 28:[40, 34, 42, 64], Operations: []
Exploring Operation: 40-34=6, Resulting Numbers: [42, 64, 6]
Generated Node #2: [42, 64, 6] from Operation: 40-34=6
Current State: 28:[42, 64, 6], Operations: ['40-34=6']
Exploring Operation: 64-42=22, Resulting Numbers: [6, 22]
Generated Node #3: [6, 22] from Operation: 64-42=22
Current State: 28:[6, 22], Operations: ['40-34=6', '64-42=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[40, 34, 42, 64], Operations: []
Exploring Operation: 64-40=24, Resulting Numbers: [34, 42, 24]
Generated Node #0,0: 28:[34, 42, 24] Operation: 64-40=24
Exploring Operation: 64-34=30, Resulting Numbers: [40, 42, 30]
Generated Node #0,1: 28:[40, 42, 30] Operation: 64-34=30
Exploring Operation: 64-42=22, Resulting Numbers: [40, 34, 22]
Generated Node #0,2: 28:[40, 34, 22] Operation: 64-42=22
Moving to Node #0,0
Current State: 28:[34, 42, 24], Operations: ['64-40=24']
Exploring Operation: 34-24=10, Resulting Numbers: [42, 10]
Generated Node #0,0,0: 28:[42, 10] Operation: 34-24=10
Exploring Operation: 42-34=8, Resulting Numbers: [24, 8]
Generated Node #0,0,1: 28:[24, 8] Operation: 42-34=8
Exploring Operation: 42-24=18, Resulting Numbers: [34, 18]
Generated Node #0,0,2: 28:[34, 18] Operation: 42-24=18
Moving to Node #0,2
Current State: 28:[40, 34, 22], Operations: ['64-42=22']
Exploring Operation: 34-22=12, Resulting Numbers: [40, 12]
Generated Node #0,2,0: 28:[40, 12] Operation: 34-22=12
Exploring Operation: 40-34=6, Resulting Numbers: [22, 6]
Generated Node #0,2,1: 28:[22, 6] Operation: 40-34=6
Exploring Operation: 40-22=18, Resulting Numbers: [34, 18]
Generated Node #0,2,2: 28:[34, 18] Operation: 40-22=18
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 28:[22, 6], Operations: ['64-42=22', '40-34=6']
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,28 unequal: No Solution
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[40, 34, 42, 64], Operations: []
Exploring Operation: 64-42=22, Resulting Numbers: [40, 34, 22]
Generated Node #0,2: 28:[40, 34, 22] Operation: 64-42=22
Moving to Node #0,2
Current State: 28:[40, 34, 22], Operations: ['64-42=22']
Exploring Operation: 40-34=6, Resulting Numbers: [22, 6]
Generated Node #0,2,1: 28:[22, 6] Operation: 40-34=6
Moving to Node #0,2,1
Current State: 28:[22, 6], Operations: ['64-42=22', '40-34=6']
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
19,
68,
62,
99
] | 17 | [
"99-68=31",
"62/31=2",
"19-2=17"
] | Current State: 17:[19, 68, 62, 99], Operations: []
Exploring Operation: 99-68=31, Resulting Numbers: [19, 62, 31]
Generated Node #2: [19, 62, 31] from Operation: 99-68=31
Current State: 17:[19, 62, 31], Operations: ['99-68=31']
Exploring Operation: 62/31=2, Resulting Numbers: [19, 2]
Generated Node #3: [19, 2] from Operation: 62/31=2
Current State: 17:[19, 2], Operations: ['99-68=31', '62/31=2']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[19, 68, 62, 99], Operations: []
Exploring Operation: 99-68=31, Resulting Numbers: [19, 62, 31]
Generated Node #0,0: 17:[19, 62, 31] Operation: 99-68=31
Exploring Operation: 68-19=49, Resulting Numbers: [62, 99, 49]
Generated Node #0,1: 17:[62, 99, 49] Operation: 68-19=49
Exploring Operation: 99-62=37, Resulting Numbers: [19, 68, 37]
Generated Node #0,2: 17:[19, 68, 37] Operation: 99-62=37
Exploring Operation: 62-19=43, Resulting Numbers: [68, 99, 43]
Generated Node #0,3: 17:[68, 99, 43] Operation: 62-19=43
Exploring Operation: 68-62=6, Resulting Numbers: [19, 99, 6]
Generated Node #0,4: 17:[19, 99, 6] Operation: 68-62=6
Moving to Node #0,0
Current State: 17:[19, 62, 31], Operations: ['99-68=31']
Exploring Operation: 62-19=43, Resulting Numbers: [31, 43]
Generated Node #0,0,0: 17:[31, 43] Operation: 62-19=43
Exploring Operation: 19+62=81, Resulting Numbers: [31, 81]
Generated Node #0,0,1: 17:[31, 81] Operation: 19+62=81
Exploring Operation: 62-31=31, Resulting Numbers: [19, 31]
Generated Node #0,0,2: 17:[19, 31] Operation: 62-31=31
Exploring Operation: 62/31=2, Resulting Numbers: [19, 2]
Generated Node #0,0,3: 17:[19, 2] Operation: 62/31=2
Exploring Operation: 31-19=12, Resulting Numbers: [62, 12]
Generated Node #0,0,4: 17:[62, 12] Operation: 31-19=12
Moving to Node #0,2
Current State: 17:[19, 68, 37], Operations: ['99-62=37']
Exploring Operation: 19+68=87, Resulting Numbers: [37, 87]
Generated Node #0,2,0: 17:[37, 87] Operation: 19+68=87
Exploring Operation: 37-19=18, Resulting Numbers: [68, 18]
Generated Node #0,2,1: 17:[68, 18] Operation: 37-19=18
Exploring Operation: 68-19=49, Resulting Numbers: [37, 49]
Generated Node #0,2,2: 17:[37, 49] Operation: 68-19=49
Exploring Operation: 68-37=31, Resulting Numbers: [19, 31]
Generated Node #0,2,3: 17:[19, 31] Operation: 68-37=31
Exploring Operation: 19+37=56, Resulting Numbers: [68, 56]
Generated Node #0,2,4: 17:[68, 56] Operation: 19+37=56
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 17:[19, 31], Operations: ['99-62=37', '68-37=31']
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 19+31=50, Resulting Numbers: [50]
50,17 unequal: No Solution
Exploring Operation: 19*31=589, Resulting Numbers: [589]
589,17 unequal: No Solution
No 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: 17:[68, 18], Operations: ['99-62=37', '37-19=18']
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,17 unequal: No Solution
Exploring Operation: 68*18=1224, Resulting Numbers: [1224]
1224,17 unequal: No Solution
Exploring Operation: 68+18=86, Resulting Numbers: [86]
86,17 unequal: No Solution
No 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: 17:[37, 49], Operations: ['99-62=37', '68-19=49']
Exploring Operation: 37+49=86, Resulting Numbers: [86]
86,17 unequal: No Solution
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 37*49=1813, Resulting Numbers: [1813]
1813,17 unequal: No Solution
No 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: 17:[37, 87], Operations: ['99-62=37', '19+68=87']
Exploring Operation: 37+87=124, Resulting Numbers: [124]
124,17 unequal: No Solution
Exploring Operation: 37*87=3219, Resulting Numbers: [3219]
3219,17 unequal: No Solution
Exploring Operation: 87-37=50, Resulting Numbers: [50]
50,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 17:[68, 56], Operations: ['99-62=37', '19+37=56']
Exploring Operation: 68+56=124, Resulting Numbers: [124]
124,17 unequal: No Solution
Exploring Operation: 68-56=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 68*56=3808, Resulting Numbers: [3808]
3808,17 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: 17:[19, 99, 6], Operations: ['68-62=6']
Exploring Operation: 99-6=93, Resulting Numbers: [19, 93]
Generated Node #0,4,0: 17:[19, 93] Operation: 99-6=93
Exploring Operation: 19-6=13, Resulting Numbers: [99, 13]
Generated Node #0,4,1: 17:[99, 13] Operation: 19-6=13
Exploring Operation: 99+6=105, Resulting Numbers: [19, 105]
Generated Node #0,4,2: 17:[19, 105] Operation: 99+6=105
Exploring Operation: 19+6=25, Resulting Numbers: [99, 25]
Generated Node #0,4,3: 17:[99, 25] Operation: 19+6=25
Exploring Operation: 99-19=80, Resulting Numbers: [6, 80]
Generated Node #0,4,4: 17:[6, 80] Operation: 99-19=80
Moving to Node #0,1
Current State: 17:[62, 99, 49], Operations: ['68-19=49']
Exploring Operation: 62-49=13, Resulting Numbers: [99, 13]
Generated Node #0,1,0: 17:[99, 13] Operation: 62-49=13
Exploring Operation: 99-49=50, Resulting Numbers: [62, 50]
Generated Node #0,1,1: 17:[62, 50] Operation: 99-49=50
Exploring Operation: 99-62=37, Resulting Numbers: [49, 37]
Generated Node #0,1,2: 17:[49, 37] Operation: 99-62=37
Exploring Operation: 62+99=161, Resulting Numbers: [49, 161]
Generated Node #0,1,3: 17:[49, 161] Operation: 62+99=161
Exploring Operation: 62+49=111, Resulting Numbers: [99, 111]
Generated Node #0,1,4: 17:[99, 111] Operation: 62+49=111
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 17:[49, 37], Operations: ['68-19=49', '99-62=37']
Exploring Operation: 49+37=86, Resulting Numbers: [86]
86,17 unequal: No Solution
Exploring Operation: 49*37=1813, Resulting Numbers: [1813]
1813,17 unequal: No Solution
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,17 unequal: No Solution
No 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: 17:[62, 50], Operations: ['68-19=49', '99-49=50']
Exploring Operation: 62-50=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 62+50=112, Resulting Numbers: [112]
112,17 unequal: No Solution
Exploring Operation: 62*50=3100, Resulting Numbers: [3100]
3100,17 unequal: No Solution
No 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: 17:[99, 13], Operations: ['68-19=49', '62-49=13']
Exploring Operation: 99+13=112, Resulting Numbers: [112]
112,17 unequal: No Solution
Exploring Operation: 99*13=1287, Resulting Numbers: [1287]
1287,17 unequal: No Solution
Exploring Operation: 99-13=86, Resulting Numbers: [86]
86,17 unequal: No Solution
No 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: 17:[49, 161], Operations: ['68-19=49', '62+99=161']
Exploring Operation: 161-49=112, Resulting Numbers: [112]
112,17 unequal: No Solution
Exploring Operation: 49*161=7889, Resulting Numbers: [7889]
7889,17 unequal: No Solution
Exploring Operation: 49+161=210, Resulting Numbers: [210]
210,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 17:[99, 111], Operations: ['68-19=49', '62+49=111']
Exploring Operation: 99+111=210, Resulting Numbers: [210]
210,17 unequal: No Solution
Exploring Operation: 99*111=10989, Resulting Numbers: [10989]
10989,17 unequal: No Solution
Exploring Operation: 111-99=12, Resulting Numbers: [12]
12,17 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: 17:[68, 99, 43], Operations: ['62-19=43']
Exploring Operation: 99-68=31, Resulting Numbers: [43, 31]
Generated Node #0,3,0: 17:[43, 31] Operation: 99-68=31
Exploring Operation: 99-43=56, Resulting Numbers: [68, 56]
Generated Node #0,3,1: 17:[68, 56] Operation: 99-43=56
Exploring Operation: 68+43=111, Resulting Numbers: [99, 111]
Generated Node #0,3,2: 17:[99, 111] Operation: 68+43=111
Exploring Operation: 68-43=25, Resulting Numbers: [99, 25]
Generated Node #0,3,3: 17:[99, 25] Operation: 68-43=25
Exploring Operation: 68+99=167, Resulting Numbers: [43, 167]
Generated Node #0,3,4: 17:[43, 167] Operation: 68+99=167
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 17:[43, 31], Operations: ['62-19=43', '99-68=31']
Exploring Operation: 43*31=1333, Resulting Numbers: [1333]
1333,17 unequal: No Solution
Exploring Operation: 43+31=74, Resulting Numbers: [74]
74,17 unequal: No Solution
Exploring Operation: 43-31=12, Resulting Numbers: [12]
12,17 unequal: No Solution
No 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: 17:[68, 56], Operations: ['62-19=43', '99-43=56']
Exploring Operation: 68+56=124, Resulting Numbers: [124]
124,17 unequal: No Solution
Exploring Operation: 68-56=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 68*56=3808, Resulting Numbers: [3808]
3808,17 unequal: No Solution
No 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: 17:[99, 25], Operations: ['62-19=43', '68-43=25']
Exploring Operation: 99+25=124, Resulting Numbers: [124]
124,17 unequal: No Solution
Exploring Operation: 99*25=2475, Resulting Numbers: [2475]
2475,17 unequal: No Solution
Exploring Operation: 99-25=74, Resulting Numbers: [74]
74,17 unequal: No Solution
No 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: 17:[99, 111], Operations: ['62-19=43', '68+43=111']
Exploring Operation: 99*111=10989, Resulting Numbers: [10989]
10989,17 unequal: No Solution
Exploring Operation: 99+111=210, Resulting Numbers: [210]
210,17 unequal: No Solution
Exploring Operation: 111-99=12, Resulting Numbers: [12]
12,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 17:[43, 167], Operations: ['62-19=43', '68+99=167']
Exploring Operation: 43*167=7181, Resulting Numbers: [7181]
7181,17 unequal: No Solution
Exploring Operation: 43+167=210, Resulting Numbers: [210]
210,17 unequal: No Solution
Exploring Operation: 167-43=124, Resulting Numbers: [124]
124,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 17:[19, 31], Operations: ['99-68=31', '62-31=31']
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 19*31=589, Resulting Numbers: [589]
589,17 unequal: No Solution
Exploring Operation: 19+31=50, Resulting Numbers: [50]
50,17 unequal: No Solution
Moving to Node #0,0,3
Current State: 17:[19, 2], Operations: ['99-68=31', '62/31=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,17 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[19, 68, 62, 99], Operations: []
Exploring Operation: 99-68=31, Resulting Numbers: [19, 62, 31]
Generated Node #0,0: 17:[19, 62, 31] Operation: 99-68=31
Moving to Node #0,0
Current State: 17:[19, 62, 31], Operations: ['99-68=31']
Exploring Operation: 62/31=2, Resulting Numbers: [19, 2]
Generated Node #0,0,3: 17:[19, 2] Operation: 62/31=2
Moving to Node #0,0,3
Current State: 17:[19, 2], Operations: ['99-68=31', '62/31=2']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 0.927083 | hs_5 | mult_heuristic |
[
80,
28,
41,
5
] | 53 | [
"80/5=16",
"28+41=69",
"69-16=53"
] | Current State: 53:[80, 28, 41, 5], Operations: []
Exploring Operation: 80/5=16, Resulting Numbers: [28, 41, 16]
Generated Node #2: [28, 41, 16] from Operation: 80/5=16
Current State: 53:[28, 41, 16], Operations: ['80/5=16']
Exploring Operation: 28+41=69, Resulting Numbers: [16, 69]
Generated Node #3: [16, 69] from Operation: 28+41=69
Current State: 53:[16, 69], Operations: ['80/5=16', '28+41=69']
Exploring Operation: 69-16=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[80, 28, 41, 5], Operations: []
Exploring Operation: 28+5=33, Resulting Numbers: [80, 41, 33]
Generated Node #0,0: 53:[80, 41, 33] Operation: 28+5=33
Exploring Operation: 80-5=75, Resulting Numbers: [28, 41, 75]
Generated Node #0,1: 53:[28, 41, 75] Operation: 80-5=75
Moving to Node #0,0
Current State: 53:[80, 41, 33], Operations: ['28+5=33']
Exploring Operation: 80-41=39, Resulting Numbers: [33, 39]
Generated Node #0,0,0: 53:[33, 39] Operation: 80-41=39
Exploring Operation: 80-33=47, Resulting Numbers: [41, 47]
Generated Node #0,0,1: 53:[41, 47] Operation: 80-33=47
Moving to Node #0,1
Current State: 53:[28, 41, 75], Operations: ['80-5=75']
Exploring Operation: 28+41=69, Resulting Numbers: [75, 69]
Generated Node #0,1,0: 53:[75, 69] Operation: 28+41=69
Exploring Operation: 75-28=47, Resulting Numbers: [41, 47]
Generated Node #0,1,1: 53:[41, 47] Operation: 75-28=47
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[41, 47], Operations: ['80-5=75', '75-28=47']
Exploring Operation: 41+47=88, Resulting Numbers: [88]
88,53 unequal: No Solution
Exploring Operation: 47-41=6, Resulting Numbers: [6]
6,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[75, 69], Operations: ['80-5=75', '28+41=69']
Exploring Operation: 75+69=144, Resulting Numbers: [144]
144,53 unequal: No Solution
Exploring Operation: 75-69=6, Resulting Numbers: [6]
6,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 53:[41, 47], Operations: ['28+5=33', '80-33=47']
Exploring Operation: 47-41=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Exploring Operation: 41+47=88, Resulting Numbers: [88]
88,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[33, 39], Operations: ['28+5=33', '80-41=39']
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Exploring Operation: 33+39=72, Resulting Numbers: [72]
72,53 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
55,
49,
96,
29
] | 56 | [
"55+29=84",
"49*96=4704",
"4704/84=56"
] | Current State: 56:[55, 49, 96, 29], Operations: []
Exploring Operation: 55+29=84, Resulting Numbers: [49, 96, 84]
Generated Node #2: [49, 96, 84] from Operation: 55+29=84
Current State: 56:[49, 96, 84], Operations: ['55+29=84']
Exploring Operation: 49*96=4704, Resulting Numbers: [84, 4704]
Generated Node #3: [84, 4704] from Operation: 49*96=4704
Current State: 56:[84, 4704], Operations: ['55+29=84', '49*96=4704']
Exploring Operation: 4704/84=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[55, 49, 96, 29], Operations: []
Exploring Operation: 96-55=41, Resulting Numbers: [49, 29, 41]
Generated Node #0,0: 56:[49, 29, 41] Operation: 96-55=41
Exploring Operation: 55-49=6, Resulting Numbers: [96, 29, 6]
Generated Node #0,1: 56:[96, 29, 6] Operation: 55-49=6
Exploring Operation: 96-29=67, Resulting Numbers: [55, 49, 67]
Generated Node #0,2: 56:[55, 49, 67] Operation: 96-29=67
Exploring Operation: 96-49=47, Resulting Numbers: [55, 29, 47]
Generated Node #0,3: 56:[55, 29, 47] Operation: 96-49=47
Moving to Node #0,3
Current State: 56:[55, 29, 47], Operations: ['96-49=47']
Exploring Operation: 47-29=18, Resulting Numbers: [55, 18]
Generated Node #0,3,0: 56:[55, 18] Operation: 47-29=18
Exploring Operation: 55-29=26, Resulting Numbers: [47, 26]
Generated Node #0,3,1: 56:[47, 26] Operation: 55-29=26
Exploring Operation: 55-47=8, Resulting Numbers: [29, 8]
Generated Node #0,3,2: 56:[29, 8] Operation: 55-47=8
Exploring Operation: 29+47=76, Resulting Numbers: [55, 76]
Generated Node #0,3,3: 56:[55, 76] Operation: 29+47=76
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 56:[29, 8], Operations: ['96-49=47', '55-47=8']
Exploring Operation: 29*8=232, Resulting Numbers: [232]
232,56 unequal: No Solution
Exploring Operation: 29+8=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 56:[55, 18], Operations: ['96-49=47', '47-29=18']
Exploring Operation: 55*18=990, Resulting Numbers: [990]
990,56 unequal: No Solution
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 55+18=73, Resulting Numbers: [73]
73,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 56:[47, 26], Operations: ['96-49=47', '55-29=26']
Exploring Operation: 47*26=1222, Resulting Numbers: [1222]
1222,56 unequal: No Solution
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Exploring Operation: 47+26=73, Resulting Numbers: [73]
73,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 56:[55, 76], Operations: ['96-49=47', '29+47=76']
Exploring Operation: 55+76=131, Resulting Numbers: [131]
131,56 unequal: No Solution
Exploring Operation: 76-55=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Exploring Operation: 55*76=4180, Resulting Numbers: [4180]
4180,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 56:[55, 49, 67], Operations: ['96-29=67']
Exploring Operation: 67-49=18, Resulting Numbers: [55, 18]
Generated Node #0,2,0: 56:[55, 18] Operation: 67-49=18
Exploring Operation: 55-49=6, Resulting Numbers: [67, 6]
Generated Node #0,2,1: 56:[67, 6] Operation: 55-49=6
Exploring Operation: 67-55=12, Resulting Numbers: [49, 12]
Generated Node #0,2,2: 56:[49, 12] Operation: 67-55=12
Exploring Operation: 55+49=104, Resulting Numbers: [67, 104]
Generated Node #0,2,3: 56:[67, 104] Operation: 55+49=104
Moving to Node #0,0
Current State: 56:[49, 29, 41], Operations: ['96-55=41']
Exploring Operation: 41-29=12, Resulting Numbers: [49, 12]
Generated Node #0,0,0: 56:[49, 12] Operation: 41-29=12
Exploring Operation: 29+41=70, Resulting Numbers: [49, 70]
Generated Node #0,0,1: 56:[49, 70] Operation: 29+41=70
Exploring Operation: 49-41=8, Resulting Numbers: [29, 8]
Generated Node #0,0,2: 56:[29, 8] Operation: 49-41=8
Exploring Operation: 49-29=20, Resulting Numbers: [41, 20]
Generated Node #0,0,3: 56:[41, 20] Operation: 49-29=20
Moving to Node #0,1
Current State: 56:[96, 29, 6], Operations: ['55-49=6']
Exploring Operation: 96-6=90, Resulting Numbers: [29, 90]
Generated Node #0,1,0: 56:[29, 90] Operation: 96-6=90
Exploring Operation: 96/6=16, Resulting Numbers: [29, 16]
Generated Node #0,1,1: 56:[29, 16] Operation: 96/6=16
Exploring Operation: 96-29=67, Resulting Numbers: [6, 67]
Generated Node #0,1,2: 56:[6, 67] Operation: 96-29=67
Exploring Operation: 29-6=23, Resulting Numbers: [96, 23]
Generated Node #0,1,3: 56:[96, 23] Operation: 29-6=23
Moving to Node #0,0,2
Current State: 56:[29, 8], Operations: ['96-55=41', '49-41=8']
Exploring Operation: 29*8=232, Resulting Numbers: [232]
232,56 unequal: No Solution
Exploring Operation: 29+8=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[29, 16], Operations: ['55-49=6', '96/6=16']
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 29+16=45, Resulting Numbers: [45]
45,56 unequal: No Solution
Exploring Operation: 29*16=464, Resulting Numbers: [464]
464,56 unequal: No Solution
Moving to Node #0,2,0
Current State: 56:[55, 18], Operations: ['96-29=67', '67-49=18']
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 55+18=73, Resulting Numbers: [73]
73,56 unequal: No Solution
Exploring Operation: 55*18=990, Resulting Numbers: [990]
990,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[49, 12], Operations: ['96-55=41', '41-29=12']
Exploring Operation: 49*12=588, Resulting Numbers: [588]
588,56 unequal: No Solution
Exploring Operation: 49+12=61, Resulting Numbers: [61]
61,56 unequal: No Solution
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[49, 12], Operations: ['96-29=67', '67-55=12']
Exploring Operation: 49+12=61, Resulting Numbers: [61]
61,56 unequal: No Solution
Exploring Operation: 49*12=588, Resulting Numbers: [588]
588,56 unequal: No Solution
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Moving to Node #0,2,1
Current State: 56:[67, 6], Operations: ['96-29=67', '55-49=6']
Exploring Operation: 67-6=61, Resulting Numbers: [61]
61,56 unequal: No Solution
Exploring Operation: 67+6=73, Resulting Numbers: [73]
73,56 unequal: No Solution
Exploring Operation: 67*6=402, Resulting Numbers: [402]
402,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[6, 67], Operations: ['55-49=6', '96-29=67']
Exploring Operation: 6+67=73, Resulting Numbers: [73]
73,56 unequal: No Solution
Exploring Operation: 67-6=61, Resulting Numbers: [61]
61,56 unequal: No Solution
Exploring Operation: 6*67=402, Resulting Numbers: [402]
402,56 unequal: No Solution
Moving to Node #0,0,3
Current State: 56:[41, 20], Operations: ['96-55=41', '49-29=20']
Exploring Operation: 41*20=820, Resulting Numbers: [820]
820,56 unequal: No Solution
Exploring Operation: 41+20=61, Resulting Numbers: [61]
61,56 unequal: No Solution
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[49, 70], Operations: ['96-55=41', '29+41=70']
Exploring Operation: 49+70=119, Resulting Numbers: [119]
119,56 unequal: No Solution
Exploring Operation: 70-49=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Exploring Operation: 49*70=3430, Resulting Numbers: [3430]
3430,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[29, 90], Operations: ['55-49=6', '96-6=90']
Exploring Operation: 29*90=2610, Resulting Numbers: [2610]
2610,56 unequal: No Solution
Exploring Operation: 90-29=61, Resulting Numbers: [61]
61,56 unequal: No Solution
Exploring Operation: 29+90=119, Resulting Numbers: [119]
119,56 unequal: No Solution
Moving to Node #0,1,3
Current State: 56:[96, 23], Operations: ['55-49=6', '29-6=23']
Exploring Operation: 96-23=73, Resulting Numbers: [73]
73,56 unequal: No Solution
Exploring Operation: 96+23=119, Resulting Numbers: [119]
119,56 unequal: No Solution
Exploring Operation: 96*23=2208, Resulting Numbers: [2208]
2208,56 unequal: No Solution
Moving to Node #0,2,3
Current State: 56:[67, 104], Operations: ['96-29=67', '55+49=104']
Exploring Operation: 67*104=6968, Resulting Numbers: [6968]
6968,56 unequal: No Solution
Exploring Operation: 67+104=171, Resulting Numbers: [171]
171,56 unequal: No Solution
Exploring Operation: 104-67=37, Resulting Numbers: [37]
37,56 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
54,
68,
15,
13
] | 16 | [
"68-54=14",
"15-13=2",
"14+2=16"
] | Current State: 16:[54, 68, 15, 13], Operations: []
Exploring Operation: 68-54=14, Resulting Numbers: [15, 13, 14]
Generated Node #2: [15, 13, 14] from Operation: 68-54=14
Current State: 16:[15, 13, 14], Operations: ['68-54=14']
Exploring Operation: 15-13=2, Resulting Numbers: [14, 2]
Generated Node #3: [14, 2] from Operation: 15-13=2
Current State: 16:[14, 2], Operations: ['68-54=14', '15-13=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[54, 68, 15, 13], Operations: []
Exploring Operation: 68-54=14, Resulting Numbers: [15, 13, 14]
Generated Node #0,0: 16:[15, 13, 14] Operation: 68-54=14
Exploring Operation: 54-15=39, Resulting Numbers: [68, 13, 39]
Generated Node #0,1: 16:[68, 13, 39] Operation: 54-15=39
Exploring Operation: 54-13=41, Resulting Numbers: [68, 15, 41]
Generated Node #0,2: 16:[68, 15, 41] Operation: 54-13=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[15, 13, 14], Operations: ['68-54=14']
Exploring Operation: 15-14=1, Resulting Numbers: [13, 1]
Generated Node #0,0,0: 16:[13, 1] Operation: 15-14=1
Exploring Operation: 15-13=2, Resulting Numbers: [14, 2]
Generated Node #0,0,1: 16:[14, 2] Operation: 15-13=2
Exploring Operation: 14-13=1, Resulting Numbers: [15, 1]
Generated Node #0,0,2: 16:[15, 1] Operation: 14-13=1
Moving to Node #0,0,1
Current State: 16:[14, 2], Operations: ['68-54=14', '15-13=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[54, 68, 15, 13], Operations: []
Exploring Operation: 68-54=14, Resulting Numbers: [15, 13, 14]
Generated Node #0,0: 16:[15, 13, 14] Operation: 68-54=14
Moving to Node #0,0
Current State: 16:[15, 13, 14], Operations: ['68-54=14']
Exploring Operation: 15-13=2, Resulting Numbers: [14, 2]
Generated Node #0,0,1: 16:[14, 2] Operation: 15-13=2
Moving to Node #0,0,1
Current State: 16:[14, 2], Operations: ['68-54=14', '15-13=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
4,
47,
21,
59
] | 81 | [
"47-4=43",
"59-21=38",
"43+38=81"
] | Current State: 81:[4, 47, 21, 59], Operations: []
Exploring Operation: 47-4=43, Resulting Numbers: [21, 59, 43]
Generated Node #2: [21, 59, 43] from Operation: 47-4=43
Current State: 81:[21, 59, 43], Operations: ['47-4=43']
Exploring Operation: 59-21=38, Resulting Numbers: [43, 38]
Generated Node #3: [43, 38] from Operation: 59-21=38
Current State: 81:[43, 38], Operations: ['47-4=43', '59-21=38']
Exploring Operation: 43+38=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[4, 47, 21, 59], Operations: []
Exploring Operation: 21+59=80, Resulting Numbers: [4, 47, 80]
Generated Node #0,0: 81:[4, 47, 80] Operation: 21+59=80
Exploring Operation: 59-47=12, Resulting Numbers: [4, 21, 12]
Generated Node #0,1: 81:[4, 21, 12] Operation: 59-47=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[4, 21, 12], Operations: ['59-47=12']
Exploring Operation: 21-12=9, Resulting Numbers: [4, 9]
Generated Node #0,1,0: 81:[4, 9] Operation: 21-12=9
Exploring Operation: 4+21=25, Resulting Numbers: [12, 25]
Generated Node #0,1,1: 81:[12, 25] Operation: 4+21=25
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 81:[4, 9], Operations: ['59-47=12', '21-12=9']
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,81 unequal: No Solution
No 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: 81:[12, 25], Operations: ['59-47=12', '4+21=25']
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 12+25=37, Resulting Numbers: [37]
37,81 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: 81:[4, 47, 80], Operations: ['21+59=80']
Exploring Operation: 47-4=43, Resulting Numbers: [80, 43]
Generated Node #0,0,0: 81:[80, 43] Operation: 47-4=43
Exploring Operation: 80-47=33, Resulting Numbers: [4, 33]
Generated Node #0,0,1: 81:[4, 33] Operation: 80-47=33
Moving to Node #0,0,1
Current State: 81:[4, 33], Operations: ['21+59=80', '80-47=33']
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,81 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[80, 43], Operations: ['21+59=80', '47-4=43']
Exploring Operation: 80+43=123, Resulting Numbers: [123]
123,81 unequal: No Solution
Exploring Operation: 80-43=37, Resulting Numbers: [37]
37,81 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 |
[
5,
78,
3,
10
] | 30 | [
"5*78=390",
"3+10=13",
"390/13=30"
] | Current State: 30:[5, 78, 3, 10], Operations: []
Exploring Operation: 5*78=390, Resulting Numbers: [3, 10, 390]
Generated Node #2: [3, 10, 390] from Operation: 5*78=390
Current State: 30:[3, 10, 390], Operations: ['5*78=390']
Exploring Operation: 3+10=13, Resulting Numbers: [390, 13]
Generated Node #3: [390, 13] from Operation: 3+10=13
Current State: 30:[390, 13], Operations: ['5*78=390', '3+10=13']
Exploring Operation: 390/13=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[5, 78, 3, 10], Operations: []
Exploring Operation: 78-10=68, Resulting Numbers: [5, 3, 68]
Generated Node #0,0: 30:[5, 3, 68] Operation: 78-10=68
Exploring Operation: 5*3=15, Resulting Numbers: [78, 10, 15]
Generated Node #0,1: 30:[78, 10, 15] Operation: 5*3=15
Exploring Operation: 78-5=73, Resulting Numbers: [3, 10, 73]
Generated Node #0,2: 30:[3, 10, 73] Operation: 78-5=73
Exploring Operation: 78/3=26, Resulting Numbers: [5, 10, 26]
Generated Node #0,3: 30:[5, 10, 26] Operation: 78/3=26
Exploring Operation: 78-3=75, Resulting Numbers: [5, 10, 75]
Generated Node #0,4: 30:[5, 10, 75] Operation: 78-3=75
Moving to Node #0,3
Current State: 30:[5, 10, 26], Operations: ['78/3=26']
Exploring Operation: 10-5=5, Resulting Numbers: [26, 5]
Generated Node #0,3,0: 30:[26, 5] Operation: 10-5=5
Exploring Operation: 26-10=16, Resulting Numbers: [5, 16]
Generated Node #0,3,1: 30:[5, 16] Operation: 26-10=16
Exploring Operation: 5+10=15, Resulting Numbers: [26, 15]
Generated Node #0,3,2: 30:[26, 15] Operation: 5+10=15
Exploring Operation: 5+26=31, Resulting Numbers: [10, 31]
Generated Node #0,3,3: 30:[10, 31] Operation: 5+26=31
Exploring Operation: 10/5=2, Resulting Numbers: [26, 2]
Generated Node #0,3,4: 30:[26, 2] Operation: 10/5=2
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 30:[5, 16], Operations: ['78/3=26', '26-10=16']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,30 unequal: No Solution
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,30 unequal: No Solution
No 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: 30:[10, 31], Operations: ['78/3=26', '5+26=31']
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 10*31=310, Resulting Numbers: [310]
310,30 unequal: No Solution
Exploring Operation: 10+31=41, Resulting Numbers: [41]
41,30 unequal: No Solution
No 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: 30:[26, 5], Operations: ['78/3=26', '10-5=5']
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 26*5=130, Resulting Numbers: [130]
130,30 unequal: No Solution
Exploring Operation: 26+5=31, Resulting Numbers: [31]
31,30 unequal: No Solution
No 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: 30:[26, 15], Operations: ['78/3=26', '5+10=15']
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,30 unequal: No Solution
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,30 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 30:[26, 2], Operations: ['78/3=26', '10/5=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,30 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,30 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,30 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: 30:[5, 3, 68], Operations: ['78-10=68']
Exploring Operation: 68-5=63, Resulting Numbers: [3, 63]
Generated Node #0,0,0: 30:[3, 63] Operation: 68-5=63
Exploring Operation: 68-3=65, Resulting Numbers: [5, 65]
Generated Node #0,0,1: 30:[5, 65] Operation: 68-3=65
Exploring Operation: 5+3=8, Resulting Numbers: [68, 8]
Generated Node #0,0,2: 30:[68, 8] Operation: 5+3=8
Exploring Operation: 5*3=15, Resulting Numbers: [68, 15]
Generated Node #0,0,3: 30:[68, 15] Operation: 5*3=15
Exploring Operation: 5-3=2, Resulting Numbers: [68, 2]
Generated Node #0,0,4: 30:[68, 2] Operation: 5-3=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[3, 63], Operations: ['78-10=68', '68-5=63']
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,30 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 3*63=189, Resulting Numbers: [189]
189,30 unequal: No Solution
Exploring Operation: 3+63=66, Resulting Numbers: [66]
66,30 unequal: No Solution
No 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: 30:[5, 65], Operations: ['78-10=68', '68-3=65']
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,30 unequal: No Solution
Exploring Operation: 5*65=325, Resulting Numbers: [325]
325,30 unequal: No Solution
Exploring Operation: 5+65=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,30 unequal: No Solution
No 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: 30:[68, 15], Operations: ['78-10=68', '5*3=15']
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,30 unequal: No Solution
Exploring Operation: 68+15=83, Resulting Numbers: [83]
83,30 unequal: No Solution
Exploring Operation: 68*15=1020, Resulting Numbers: [1020]
1020,30 unequal: No Solution
No 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: 30:[68, 2], Operations: ['78-10=68', '5-3=2']
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,30 unequal: No Solution
Exploring Operation: 68+2=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,30 unequal: No Solution
Exploring Operation: 68*2=136, Resulting Numbers: [136]
136,30 unequal: No Solution
No 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: 30:[68, 8], Operations: ['78-10=68', '5+3=8']
Exploring Operation: 68*8=544, Resulting Numbers: [544]
544,30 unequal: No Solution
Exploring Operation: 68+8=76, Resulting Numbers: [76]
76,30 unequal: No Solution
Exploring Operation: 68-8=60, Resulting Numbers: [60]
60,30 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: 30:[3, 10, 73], Operations: ['78-5=73']
Exploring Operation: 73-3=70, Resulting Numbers: [10, 70]
Generated Node #0,2,0: 30:[10, 70] Operation: 73-3=70
Exploring Operation: 73-10=63, Resulting Numbers: [3, 63]
Generated Node #0,2,1: 30:[3, 63] Operation: 73-10=63
Exploring Operation: 10-3=7, Resulting Numbers: [73, 7]
Generated Node #0,2,2: 30:[73, 7] Operation: 10-3=7
Exploring Operation: 3*10=30, Resulting Numbers: [73, 30]
Generated Node #0,2,3: 30:[73, 30] Operation: 3*10=30
Exploring Operation: 3+10=13, Resulting Numbers: [73, 13]
Generated Node #0,2,4: 30:[73, 13] Operation: 3+10=13
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 30:[3, 63], Operations: ['78-5=73', '73-10=63']
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,30 unequal: No Solution
Exploring Operation: 3*63=189, Resulting Numbers: [189]
189,30 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 3+63=66, Resulting Numbers: [66]
66,30 unequal: No Solution
No 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: 30:[10, 70], Operations: ['78-5=73', '73-3=70']
Exploring Operation: 10+70=80, Resulting Numbers: [80]
80,30 unequal: No Solution
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 10*70=700, Resulting Numbers: [700]
700,30 unequal: No Solution
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,30 unequal: No Solution
No 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: 30:[73, 30], Operations: ['78-5=73', '3*10=30']
Exploring Operation: 73-30=43, Resulting Numbers: [43]
43,30 unequal: No Solution
Exploring Operation: 73+30=103, Resulting Numbers: [103]
103,30 unequal: No Solution
Exploring Operation: 73*30=2190, Resulting Numbers: [2190]
2190,30 unequal: No Solution
No 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: 30:[73, 7], Operations: ['78-5=73', '10-3=7']
Exploring Operation: 73*7=511, Resulting Numbers: [511]
511,30 unequal: No Solution
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,30 unequal: No Solution
Exploring Operation: 73+7=80, Resulting Numbers: [80]
80,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 30:[73, 13], Operations: ['78-5=73', '3+10=13']
Exploring Operation: 73-13=60, Resulting Numbers: [60]
60,30 unequal: No Solution
Exploring Operation: 73*13=949, Resulting Numbers: [949]
949,30 unequal: No Solution
Exploring Operation: 73+13=86, Resulting Numbers: [86]
86,30 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: 30:[5, 10, 75], Operations: ['78-3=75']
Exploring Operation: 5+10=15, Resulting Numbers: [75, 15]
Generated Node #0,4,0: 30:[75, 15] Operation: 5+10=15
Exploring Operation: 75-10=65, Resulting Numbers: [5, 65]
Generated Node #0,4,1: 30:[5, 65] Operation: 75-10=65
Exploring Operation: 75/5=15, Resulting Numbers: [10, 15]
Generated Node #0,4,2: 30:[10, 15] Operation: 75/5=15
Exploring Operation: 75-5=70, Resulting Numbers: [10, 70]
Generated Node #0,4,3: 30:[10, 70] Operation: 75-5=70
Exploring Operation: 10-5=5, Resulting Numbers: [75, 5]
Generated Node #0,4,4: 30:[75, 5] Operation: 10-5=5
Moving to Node #0,1
Current State: 30:[78, 10, 15], Operations: ['5*3=15']
Exploring Operation: 15-10=5, Resulting Numbers: [78, 5]
Generated Node #0,1,0: 30:[78, 5] Operation: 15-10=5
Exploring Operation: 78-15=63, Resulting Numbers: [10, 63]
Generated Node #0,1,1: 30:[10, 63] Operation: 78-15=63
Exploring Operation: 78-10=68, Resulting Numbers: [15, 68]
Generated Node #0,1,2: 30:[15, 68] Operation: 78-10=68
Exploring Operation: 78+10=88, Resulting Numbers: [15, 88]
Generated Node #0,1,3: 30:[15, 88] Operation: 78+10=88
Exploring Operation: 10+15=25, Resulting Numbers: [78, 25]
Generated Node #0,1,4: 30:[78, 25] Operation: 10+15=25
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 30:[10, 63], Operations: ['5*3=15', '78-15=63']
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,30 unequal: No Solution
Exploring Operation: 10+63=73, Resulting Numbers: [73]
73,30 unequal: No Solution
Exploring Operation: 10*63=630, Resulting Numbers: [630]
630,30 unequal: No Solution
No 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: 30:[15, 68], Operations: ['5*3=15', '78-10=68']
Exploring Operation: 15+68=83, Resulting Numbers: [83]
83,30 unequal: No Solution
Exploring Operation: 15*68=1020, Resulting Numbers: [1020]
1020,30 unequal: No Solution
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,30 unequal: No Solution
No 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: 30:[78, 5], Operations: ['5*3=15', '15-10=5']
Exploring Operation: 78-5=73, Resulting Numbers: [73]
73,30 unequal: No Solution
Exploring Operation: 78*5=390, Resulting Numbers: [390]
390,30 unequal: No Solution
Exploring Operation: 78+5=83, Resulting Numbers: [83]
83,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 30:[78, 25], Operations: ['5*3=15', '10+15=25']
Exploring Operation: 78-25=53, Resulting Numbers: [53]
53,30 unequal: No Solution
Exploring Operation: 78*25=1950, Resulting Numbers: [1950]
1950,30 unequal: No Solution
Exploring Operation: 78+25=103, Resulting Numbers: [103]
103,30 unequal: No Solution
No 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: 30:[15, 88], Operations: ['5*3=15', '78+10=88']
Exploring Operation: 15+88=103, Resulting Numbers: [103]
103,30 unequal: No Solution
Exploring Operation: 88-15=73, Resulting Numbers: [73]
73,30 unequal: No Solution
Exploring Operation: 15*88=1320, Resulting Numbers: [1320]
1320,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,2
Current State: 30:[10, 15], Operations: ['78-3=75', '75/5=15']
Exploring Operation: 10*15=150, Resulting Numbers: [150]
150,30 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,30 unequal: No Solution
Moving to Node #0,4,1
Current State: 30:[5, 65], Operations: ['78-3=75', '75-10=65']
Exploring Operation: 5*65=325, Resulting Numbers: [325]
325,30 unequal: No Solution
Exploring Operation: 5+65=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,30 unequal: No Solution
Moving to Node #0,4,3
Current State: 30:[10, 70], Operations: ['78-3=75', '75-5=70']
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,30 unequal: No Solution
Exploring Operation: 10*70=700, Resulting Numbers: [700]
700,30 unequal: No Solution
Exploring Operation: 10+70=80, Resulting Numbers: [80]
80,30 unequal: No Solution
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Moving to Node #0,4,0
Current State: 30:[75, 15], Operations: ['78-3=75', '5+10=15']
Exploring Operation: 75*15=1125, Resulting Numbers: [1125]
1125,30 unequal: No Solution
Exploring Operation: 75/15=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Exploring Operation: 75+15=90, Resulting Numbers: [90]
90,30 unequal: No Solution
Exploring Operation: 75-15=60, Resulting Numbers: [60]
60,30 unequal: No Solution
Moving to Node #0,4,4
Current State: 30:[75, 5], Operations: ['78-3=75', '10-5=5']
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 75+5=80, Resulting Numbers: [80]
80,30 unequal: No Solution
Exploring Operation: 75*5=375, Resulting Numbers: [375]
375,30 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
56,
42,
67,
81
] | 38 | [
"81-67=14",
"56/14=4",
"42-4=38"
] | Current State: 38:[56, 42, 67, 81], Operations: []
Exploring Operation: 81-67=14, Resulting Numbers: [56, 42, 14]
Generated Node #2: [56, 42, 14] from Operation: 81-67=14
Current State: 38:[56, 42, 14], Operations: ['81-67=14']
Exploring Operation: 56/14=4, Resulting Numbers: [42, 4]
Generated Node #3: [42, 4] from Operation: 56/14=4
Current State: 38:[42, 4], Operations: ['81-67=14', '56/14=4']
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[56, 42, 67, 81], Operations: []
Exploring Operation: 81-56=25, Resulting Numbers: [42, 67, 25]
Generated Node #0,0: 38:[42, 67, 25] Operation: 81-56=25
Exploring Operation: 67-56=11, Resulting Numbers: [42, 81, 11]
Generated Node #0,1: 38:[42, 81, 11] Operation: 67-56=11
Exploring Operation: 81-42=39, Resulting Numbers: [56, 67, 39]
Generated Node #0,2: 38:[56, 67, 39] Operation: 81-42=39
Exploring Operation: 81-67=14, Resulting Numbers: [56, 42, 14]
Generated Node #0,3: 38:[56, 42, 14] Operation: 81-67=14
Start Sub Search at level 1: Moving to Node #0,3
Current State: 38:[56, 42, 14], Operations: ['81-67=14']
Exploring Operation: 56/14=4, Resulting Numbers: [42, 4]
Generated Node #0,3,0: 38:[42, 4] Operation: 56/14=4
Exploring Operation: 56-42=14, Resulting Numbers: [14, 14]
Generated Node #0,3,1: 38:[14, 14] Operation: 56-42=14
Exploring Operation: 42/14=3, Resulting Numbers: [56, 3]
Generated Node #0,3,2: 38:[56, 3] Operation: 42/14=3
Exploring Operation: 56-14=42, Resulting Numbers: [42, 42]
Generated Node #0,3,3: 38:[42, 42] Operation: 56-14=42
Moving to Node #0,3,0
Current State: 38:[42, 4], Operations: ['81-67=14', '56/14=4']
Exploring Operation: 42*4=168, Resulting Numbers: [168]
168,38 unequal: No Solution
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,38 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[56, 42, 67, 81], Operations: []
Exploring Operation: 81-67=14, Resulting Numbers: [56, 42, 14]
Generated Node #0,3: 38:[56, 42, 14] Operation: 81-67=14
Moving to Node #0,3
Current State: 38:[56, 42, 14], Operations: ['81-67=14']
Exploring Operation: 56/14=4, Resulting Numbers: [42, 4]
Generated Node #0,3,0: 38:[42, 4] Operation: 56/14=4
Moving to Node #0,3,0
Current State: 38:[42, 4], Operations: ['81-67=14', '56/14=4']
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
92,
46,
4,
14
] | 31 | [
"92+46=138",
"138-14=124",
"124/4=31"
] | Current State: 31:[92, 46, 4, 14], Operations: []
Exploring Operation: 92+46=138, Resulting Numbers: [4, 14, 138]
Generated Node #2: [4, 14, 138] from Operation: 92+46=138
Current State: 31:[4, 14, 138], Operations: ['92+46=138']
Exploring Operation: 138-14=124, Resulting Numbers: [4, 124]
Generated Node #3: [4, 124] from Operation: 138-14=124
Current State: 31:[4, 124], Operations: ['92+46=138', '138-14=124']
Exploring Operation: 124/4=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[92, 46, 4, 14], Operations: []
Exploring Operation: 92/4=23, Resulting Numbers: [46, 14, 23]
Generated Node #0,0: 31:[46, 14, 23] Operation: 92/4=23
Moving to Node #0,0
Current State: 31:[46, 14, 23], Operations: ['92/4=23']
Exploring Operation: 46-14=32, Resulting Numbers: [23, 32]
Generated Node #0,0,0: 31:[23, 32] Operation: 46-14=32
Moving to Node #0,0,0
Current State: 31:[23, 32], Operations: ['92/4=23', '46-14=32']
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,31 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
40,
10,
84,
76
] | 22 | [
"40-10=30",
"84-76=8",
"30-8=22"
] | Current State: 22:[40, 10, 84, 76], Operations: []
Exploring Operation: 40-10=30, Resulting Numbers: [84, 76, 30]
Generated Node #2: [84, 76, 30] from Operation: 40-10=30
Current State: 22:[84, 76, 30], Operations: ['40-10=30']
Exploring Operation: 84-76=8, Resulting Numbers: [30, 8]
Generated Node #3: [30, 8] from Operation: 84-76=8
Current State: 22:[30, 8], Operations: ['40-10=30', '84-76=8']
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[40, 10, 84, 76], Operations: []
Exploring Operation: 84-76=8, Resulting Numbers: [40, 10, 8]
Generated Node #0,0: 22:[40, 10, 8] Operation: 84-76=8
Exploring Operation: 84-40=44, Resulting Numbers: [10, 76, 44]
Generated Node #0,1: 22:[10, 76, 44] Operation: 84-40=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[40, 10, 8], Operations: ['84-76=8']
Exploring Operation: 40/8=5, Resulting Numbers: [10, 5]
Generated Node #0,0,0: 22:[10, 5] Operation: 40/8=5
Exploring Operation: 40/10=4, Resulting Numbers: [8, 4]
Generated Node #0,0,1: 22:[8, 4] Operation: 40/10=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[10, 5], Operations: ['84-76=8', '40/8=5']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 22:[8, 4], Operations: ['84-76=8', '40/10=4']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[10, 76, 44], Operations: ['84-40=44']
Exploring Operation: 76-44=32, Resulting Numbers: [10, 32]
Generated Node #0,1,0: 22:[10, 32] Operation: 76-44=32
Exploring Operation: 76-10=66, Resulting Numbers: [44, 66]
Generated Node #0,1,1: 22:[44, 66] Operation: 76-10=66
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 22:[10, 32], Operations: ['84-40=44', '76-44=32']
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,22 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[40, 10, 84, 76], Operations: []
Exploring Operation: 84-40=44, Resulting Numbers: [10, 76, 44]
Generated Node #0,1: 22:[10, 76, 44] Operation: 84-40=44
Moving to Node #0,1
Current State: 22:[10, 76, 44], Operations: ['84-40=44']
Exploring Operation: 76-44=32, Resulting Numbers: [10, 32]
Generated Node #0,1,0: 22:[10, 32] Operation: 76-44=32
Moving to Node #0,1,0
Current State: 22:[10, 32], Operations: ['84-40=44', '76-44=32']
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
28,
58,
60,
72
] | 62 | [
"72-58=14",
"28/14=2",
"60+2=62"
] | Current State: 62:[28, 58, 60, 72], Operations: []
Exploring Operation: 72-58=14, Resulting Numbers: [28, 60, 14]
Generated Node #2: [28, 60, 14] from Operation: 72-58=14
Current State: 62:[28, 60, 14], Operations: ['72-58=14']
Exploring Operation: 28/14=2, Resulting Numbers: [60, 2]
Generated Node #3: [60, 2] from Operation: 28/14=2
Current State: 62:[60, 2], Operations: ['72-58=14', '28/14=2']
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[28, 58, 60, 72], Operations: []
Exploring Operation: 58-28=30, Resulting Numbers: [60, 72, 30]
Generated Node #0,0: 62:[60, 72, 30] Operation: 58-28=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[60, 72, 30], Operations: ['58-28=30']
Exploring Operation: 60/30=2, Resulting Numbers: [72, 2]
Generated Node #0,0,0: 62:[72, 2] Operation: 60/30=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 62:[72, 2], Operations: ['58-28=30', '60/30=2']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
10,
29,
15,
13
] | 42 | [
"13-10=3",
"29-15=14",
"3*14=42"
] | Current State: 42:[10, 29, 15, 13], Operations: []
Exploring Operation: 13-10=3, Resulting Numbers: [29, 15, 3]
Generated Node #2: [29, 15, 3] from Operation: 13-10=3
Current State: 42:[29, 15, 3], Operations: ['13-10=3']
Exploring Operation: 29-15=14, Resulting Numbers: [3, 14]
Generated Node #3: [3, 14] from Operation: 29-15=14
Current State: 42:[3, 14], Operations: ['13-10=3', '29-15=14']
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[10, 29, 15, 13], Operations: []
Exploring Operation: 29-15=14, Resulting Numbers: [10, 13, 14]
Generated Node #0,0: 42:[10, 13, 14] Operation: 29-15=14
Exploring Operation: 10+29=39, Resulting Numbers: [15, 13, 39]
Generated Node #0,1: 42:[15, 13, 39] Operation: 10+29=39
Exploring Operation: 29-10=19, Resulting Numbers: [15, 13, 19]
Generated Node #0,2: 42:[15, 13, 19] Operation: 29-10=19
Exploring Operation: 29+13=42, Resulting Numbers: [10, 15, 42]
Generated Node #0,3: 42:[10, 15, 42] Operation: 29+13=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[10, 13, 14], Operations: ['29-15=14']
Exploring Operation: 10+14=24, Resulting Numbers: [13, 24]
Generated Node #0,0,0: 42:[13, 24] Operation: 10+14=24
Exploring Operation: 10+13=23, Resulting Numbers: [14, 23]
Generated Node #0,0,1: 42:[14, 23] Operation: 10+13=23
Exploring Operation: 13-10=3, Resulting Numbers: [14, 3]
Generated Node #0,0,2: 42:[14, 3] Operation: 13-10=3
Exploring Operation: 14-10=4, Resulting Numbers: [13, 4]
Generated Node #0,0,3: 42:[13, 4] Operation: 14-10=4
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 42:[14, 3], Operations: ['29-15=14', '13-10=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[10, 29, 15, 13], Operations: []
Exploring Operation: 29-15=14, Resulting Numbers: [10, 13, 14]
Generated Node #0,0: 42:[10, 13, 14] Operation: 29-15=14
Moving to Node #0,0
Current State: 42:[10, 13, 14], Operations: ['29-15=14']
Exploring Operation: 13-10=3, Resulting Numbers: [14, 3]
Generated Node #0,0,2: 42:[14, 3] Operation: 13-10=3
Moving to Node #0,0,2
Current State: 42:[14, 3], Operations: ['29-15=14', '13-10=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
83,
8,
65,
62
] | 72 | [
"83-8=75",
"65-62=3",
"75-3=72"
] | Current State: 72:[83, 8, 65, 62], Operations: []
Exploring Operation: 83-8=75, Resulting Numbers: [65, 62, 75]
Generated Node #2: [65, 62, 75] from Operation: 83-8=75
Current State: 72:[65, 62, 75], Operations: ['83-8=75']
Exploring Operation: 65-62=3, Resulting Numbers: [75, 3]
Generated Node #3: [75, 3] from Operation: 65-62=3
Current State: 72:[75, 3], Operations: ['83-8=75', '65-62=3']
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[83, 8, 65, 62], Operations: []
Exploring Operation: 83-65=18, Resulting Numbers: [8, 62, 18]
Generated Node #0,0: 72:[8, 62, 18] Operation: 83-65=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[8, 62, 18], Operations: ['83-65=18']
Exploring Operation: 8+62=70, Resulting Numbers: [18, 70]
Generated Node #0,0,0: 72:[18, 70] Operation: 8+62=70
Moving to Node #0,0,0
Current State: 72:[18, 70], Operations: ['83-65=18', '8+62=70']
Exploring Operation: 18+70=88, Resulting Numbers: [88]
88,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
62,
5,
58,
30
] | 30 | [
"62-5=57",
"58-57=1",
"30*1=30"
] | Current State: 30:[62, 5, 58, 30], Operations: []
Exploring Operation: 62-5=57, Resulting Numbers: [58, 30, 57]
Generated Node #2: [58, 30, 57] from Operation: 62-5=57
Current State: 30:[58, 30, 57], Operations: ['62-5=57']
Exploring Operation: 58-57=1, Resulting Numbers: [30, 1]
Generated Node #3: [30, 1] from Operation: 58-57=1
Current State: 30:[30, 1], Operations: ['62-5=57', '58-57=1']
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[62, 5, 58, 30], Operations: []
Exploring Operation: 62-30=32, Resulting Numbers: [5, 58, 32]
Generated Node #0,0: 30:[5, 58, 32] Operation: 62-30=32
Exploring Operation: 62-5=57, Resulting Numbers: [58, 30, 57]
Generated Node #0,1: 30:[58, 30, 57] Operation: 62-5=57
Exploring Operation: 58-30=28, Resulting Numbers: [62, 5, 28]
Generated Node #0,2: 30:[62, 5, 28] Operation: 58-30=28
Exploring Operation: 58-5=53, Resulting Numbers: [62, 30, 53]
Generated Node #0,3: 30:[62, 30, 53] Operation: 58-5=53
Exploring Operation: 62-58=4, Resulting Numbers: [5, 30, 4]
Generated Node #0,4: 30:[5, 30, 4] Operation: 62-58=4
Start Sub Search at level 1: Moving to Node #0,4
Current State: 30:[5, 30, 4], Operations: ['62-58=4']
Exploring Operation: 30/5=6, Resulting Numbers: [4, 6]
Generated Node #0,4,0: 30:[4, 6] Operation: 30/5=6
Exploring Operation: 5-4=1, Resulting Numbers: [30, 1]
Generated Node #0,4,1: 30:[30, 1] Operation: 5-4=1
Exploring Operation: 5+4=9, Resulting Numbers: [30, 9]
Generated Node #0,4,2: 30:[30, 9] Operation: 5+4=9
Exploring Operation: 30-4=26, Resulting Numbers: [5, 26]
Generated Node #0,4,3: 30:[5, 26] Operation: 30-4=26
Exploring Operation: 30+4=34, Resulting Numbers: [5, 34]
Generated Node #0,4,4: 30:[5, 34] Operation: 30+4=34
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 30:[4, 6], Operations: ['62-58=4', '30/5=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,30 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,30 unequal: No Solution
No 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: 30:[30, 1], Operations: ['62-58=4', '5-4=1']
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[62, 5, 58, 30], Operations: []
Exploring Operation: 62-58=4, Resulting Numbers: [5, 30, 4]
Generated Node #0,4: 30:[5, 30, 4] Operation: 62-58=4
Moving to Node #0,4
Current State: 30:[5, 30, 4], Operations: ['62-58=4']
Exploring Operation: 5-4=1, Resulting Numbers: [30, 1]
Generated Node #0,4,1: 30:[30, 1] Operation: 5-4=1
Moving to Node #0,4,1
Current State: 30:[30, 1], Operations: ['62-58=4', '5-4=1']
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
74,
82,
77,
55
] | 81 | [
"77-74=3",
"82-55=27",
"3*27=81"
] | Current State: 81:[74, 82, 77, 55], Operations: []
Exploring Operation: 77-74=3, Resulting Numbers: [82, 55, 3]
Generated Node #2: [82, 55, 3] from Operation: 77-74=3
Current State: 81:[82, 55, 3], Operations: ['77-74=3']
Exploring Operation: 82-55=27, Resulting Numbers: [3, 27]
Generated Node #3: [3, 27] from Operation: 82-55=27
Current State: 81:[3, 27], Operations: ['77-74=3', '82-55=27']
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[74, 82, 77, 55], Operations: []
Exploring Operation: 77-74=3, Resulting Numbers: [82, 55, 3]
Generated Node #0,0: 81:[82, 55, 3] Operation: 77-74=3
Exploring Operation: 77-55=22, Resulting Numbers: [74, 82, 22]
Generated Node #0,1: 81:[74, 82, 22] Operation: 77-55=22
Exploring Operation: 82-55=27, Resulting Numbers: [74, 77, 27]
Generated Node #0,2: 81:[74, 77, 27] Operation: 82-55=27
Exploring Operation: 74-55=19, Resulting Numbers: [82, 77, 19]
Generated Node #0,3: 81:[82, 77, 19] Operation: 74-55=19
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[74, 77, 27], Operations: ['82-55=27']
Exploring Operation: 74+27=101, Resulting Numbers: [77, 101]
Generated Node #0,2,0: 81:[77, 101] Operation: 74+27=101
Exploring Operation: 74-27=47, Resulting Numbers: [77, 47]
Generated Node #0,2,1: 81:[77, 47] Operation: 74-27=47
Exploring Operation: 77+27=104, Resulting Numbers: [74, 104]
Generated Node #0,2,2: 81:[74, 104] Operation: 77+27=104
Exploring Operation: 77-74=3, Resulting Numbers: [27, 3]
Generated Node #0,2,3: 81:[27, 3] Operation: 77-74=3
Moving to Node #0,2,3
Current State: 81:[27, 3], Operations: ['82-55=27', '77-74=3']
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[74, 82, 77, 55], Operations: []
Exploring Operation: 82-55=27, Resulting Numbers: [74, 77, 27]
Generated Node #0,2: 81:[74, 77, 27] Operation: 82-55=27
Moving to Node #0,2
Current State: 81:[74, 77, 27], Operations: ['82-55=27']
Exploring Operation: 77-74=3, Resulting Numbers: [27, 3]
Generated Node #0,2,3: 81:[27, 3] Operation: 77-74=3
Moving to Node #0,2,3
Current State: 81:[27, 3], Operations: ['82-55=27', '77-74=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
71,
59,
47,
57
] | 23 | [
"59-57=2",
"47*2=94",
"94-71=23"
] | Current State: 23:[71, 59, 47, 57], Operations: []
Exploring Operation: 59-57=2, Resulting Numbers: [71, 47, 2]
Generated Node #2: [71, 47, 2] from Operation: 59-57=2
Current State: 23:[71, 47, 2], Operations: ['59-57=2']
Exploring Operation: 47*2=94, Resulting Numbers: [71, 94]
Generated Node #3: [71, 94] from Operation: 47*2=94
Current State: 23:[71, 94], Operations: ['59-57=2', '47*2=94']
Exploring Operation: 94-71=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[71, 59, 47, 57], Operations: []
Exploring Operation: 71-57=14, Resulting Numbers: [59, 47, 14]
Generated Node #0,0: 23:[59, 47, 14] Operation: 71-57=14
Exploring Operation: 71-59=12, Resulting Numbers: [47, 57, 12]
Generated Node #0,1: 23:[47, 57, 12] Operation: 71-59=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[59, 47, 14], Operations: ['71-57=14']
Exploring Operation: 59-47=12, Resulting Numbers: [14, 12]
Generated Node #0,0,0: 23:[14, 12] Operation: 59-47=12
Exploring Operation: 59-14=45, Resulting Numbers: [47, 45]
Generated Node #0,0,1: 23:[47, 45] Operation: 59-14=45
Moving to Node #0,0,0
Current State: 23:[14, 12], Operations: ['71-57=14', '59-47=12']
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[47, 45], Operations: ['71-57=14', '59-14=45']
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 47+45=92, Resulting Numbers: [92]
92,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[47, 57, 12], Operations: ['71-59=12']
Exploring Operation: 57-47=10, Resulting Numbers: [12, 10]
Generated Node #0,1,0: 23:[12, 10] Operation: 57-47=10
Exploring Operation: 47-12=35, Resulting Numbers: [57, 35]
Generated Node #0,1,1: 23:[57, 35] Operation: 47-12=35
Moving to Node #0,1,0
Current State: 23:[12, 10], Operations: ['71-59=12', '57-47=10']
Exploring Operation: 12+10=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[57, 35], Operations: ['71-59=12', '47-12=35']
Exploring Operation: 57+35=92, Resulting Numbers: [92]
92,23 unequal: No Solution
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
4,
51,
5,
58
] | 33 | [
"58-51=7",
"4*7=28",
"5+28=33"
] | Current State: 33:[4, 51, 5, 58], Operations: []
Exploring Operation: 58-51=7, Resulting Numbers: [4, 5, 7]
Generated Node #2: [4, 5, 7] from Operation: 58-51=7
Current State: 33:[4, 5, 7], Operations: ['58-51=7']
Exploring Operation: 4*7=28, Resulting Numbers: [5, 28]
Generated Node #3: [5, 28] from Operation: 4*7=28
Current State: 33:[5, 28], Operations: ['58-51=7', '4*7=28']
Exploring Operation: 5+28=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[4, 51, 5, 58], Operations: []
Exploring Operation: 58-5=53, Resulting Numbers: [4, 51, 53]
Generated Node #0,0: 33:[4, 51, 53] Operation: 58-5=53
Exploring Operation: 58-51=7, Resulting Numbers: [4, 5, 7]
Generated Node #0,1: 33:[4, 5, 7] Operation: 58-51=7
Exploring Operation: 51-5=46, Resulting Numbers: [4, 58, 46]
Generated Node #0,2: 33:[4, 58, 46] Operation: 51-5=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[4, 5, 7], Operations: ['58-51=7']
Exploring Operation: 4+7=11, Resulting Numbers: [5, 11]
Generated Node #0,1,0: 33:[5, 11] Operation: 4+7=11
Exploring Operation: 7-4=3, Resulting Numbers: [5, 3]
Generated Node #0,1,1: 33:[5, 3] Operation: 7-4=3
Exploring Operation: 5+7=12, Resulting Numbers: [4, 12]
Generated Node #0,1,2: 33:[4, 12] Operation: 5+7=12
Moving to Node #0,1,0
Current State: 33:[5, 11], Operations: ['58-51=7', '4+7=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,33 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[5, 3], Operations: ['58-51=7', '7-4=3']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Moving to Node #0,1,2
Current State: 33:[4, 12], Operations: ['58-51=7', '5+7=12']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[4, 51, 53], Operations: ['58-5=53']
Exploring Operation: 53-51=2, Resulting Numbers: [4, 2]
Generated Node #0,0,0: 33:[4, 2] Operation: 53-51=2
Exploring Operation: 51-4=47, Resulting Numbers: [53, 47]
Generated Node #0,0,1: 33:[53, 47] Operation: 51-4=47
Exploring Operation: 53-4=49, Resulting Numbers: [51, 49]
Generated Node #0,0,2: 33:[51, 49] Operation: 53-4=49
Moving to Node #0,0,0
Current State: 33:[4, 2], Operations: ['58-5=53', '53-51=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[53, 47], Operations: ['58-5=53', '51-4=47']
Exploring Operation: 53*47=2491, Resulting Numbers: [2491]
2491,33 unequal: No Solution
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 53+47=100, Resulting Numbers: [100]
100,33 unequal: No Solution
Moving to Node #0,0,2
Current State: 33:[51, 49], Operations: ['58-5=53', '53-4=49']
Exploring Operation: 51-49=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 51+49=100, Resulting Numbers: [100]
100,33 unequal: No Solution
Exploring Operation: 51*49=2499, Resulting Numbers: [2499]
2499,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[4, 58, 46], Operations: ['51-5=46']
Exploring Operation: 46-4=42, Resulting Numbers: [58, 42]
Generated Node #0,2,0: 33:[58, 42] Operation: 46-4=42
Exploring Operation: 58-46=12, Resulting Numbers: [4, 12]
Generated Node #0,2,1: 33:[4, 12] Operation: 58-46=12
Exploring Operation: 58-4=54, Resulting Numbers: [46, 54]
Generated Node #0,2,2: 33:[46, 54] Operation: 58-4=54
Moving to Node #0,2,1
Current State: 33:[4, 12], Operations: ['51-5=46', '58-46=12']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Moving to Node #0,2,0
Current State: 33:[58, 42], Operations: ['51-5=46', '46-4=42']
Exploring Operation: 58*42=2436, Resulting Numbers: [2436]
2436,33 unequal: No Solution
Exploring Operation: 58+42=100, Resulting Numbers: [100]
100,33 unequal: No Solution
Exploring Operation: 58-42=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[46, 54], Operations: ['51-5=46', '58-4=54']
Exploring Operation: 46+54=100, Resulting Numbers: [100]
100,33 unequal: No Solution
Exploring Operation: 54-46=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 46*54=2484, Resulting Numbers: [2484]
2484,33 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 |
[
35,
34,
9,
9
] | 87 | [
"35+34=69",
"9+9=18",
"69+18=87"
] | Current State: 87:[35, 34, 9, 9], Operations: []
Exploring Operation: 35+34=69, Resulting Numbers: [9, 9, 69]
Generated Node #2: [9, 9, 69] from Operation: 35+34=69
Current State: 87:[9, 9, 69], Operations: ['35+34=69']
Exploring Operation: 9+9=18, Resulting Numbers: [69, 18]
Generated Node #3: [69, 18] from Operation: 9+9=18
Current State: 87:[69, 18], Operations: ['35+34=69', '9+9=18']
Exploring Operation: 69+18=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[35, 34, 9, 9], Operations: []
Exploring Operation: 35-34=1, Resulting Numbers: [9, 9, 1]
Generated Node #0,0: 87:[9, 9, 1] Operation: 35-34=1
Exploring Operation: 9/9=1, Resulting Numbers: [35, 34, 1]
Generated Node #0,1: 87:[35, 34, 1] Operation: 9/9=1
Exploring Operation: 35-9=26, Resulting Numbers: [34, 9, 26]
Generated Node #0,2: 87:[34, 9, 26] Operation: 35-9=26
Moving to Node #0,1
Current State: 87:[35, 34, 1], Operations: ['9/9=1']
Exploring Operation: 35-34=1, Resulting Numbers: [1, 1]
Generated Node #0,1,0: 87:[1, 1] Operation: 35-34=1
Exploring Operation: 35-1=34, Resulting Numbers: [34, 34]
Generated Node #0,1,1: 87:[34, 34] Operation: 35-1=34
Exploring Operation: 34-1=33, Resulting Numbers: [35, 33]
Generated Node #0,1,2: 87:[35, 33] Operation: 34-1=33
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 87:[1, 1], Operations: ['9/9=1', '35-34=1']
Exploring Operation: 1/1=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 1*1=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,87 unequal: No Solution
No 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: 87:[34, 34], Operations: ['9/9=1', '35-1=34']
Exploring Operation: 34/34=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 34-34=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Exploring Operation: 34+34=68, Resulting Numbers: [68]
68,87 unequal: No Solution
No 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: 87:[35, 33], Operations: ['9/9=1', '34-1=33']
Exploring Operation: 35*33=1155, Resulting Numbers: [1155]
1155,87 unequal: No Solution
Exploring Operation: 35-33=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Exploring Operation: 35+33=68, Resulting Numbers: [68]
68,87 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: 87:[9, 9, 1], Operations: ['35-34=1']
Exploring Operation: 9/9=1, Resulting Numbers: [1, 1]
Generated Node #0,0,0: 87:[1, 1] Operation: 9/9=1
Exploring Operation: 9*9=81, Resulting Numbers: [1, 81]
Generated Node #0,0,1: 87:[1, 81] Operation: 9*9=81
Exploring Operation: 9-9=0, Resulting Numbers: [1, 0]
Generated Node #0,0,2: 87:[1, 0] Operation: 9-9=0
Moving to Node #0,2
Current State: 87:[34, 9, 26], Operations: ['35-9=26']
Exploring Operation: 9+26=35, Resulting Numbers: [34, 35]
Generated Node #0,2,0: 87:[34, 35] Operation: 9+26=35
Exploring Operation: 34-9=25, Resulting Numbers: [26, 25]
Generated Node #0,2,1: 87:[26, 25] Operation: 34-9=25
Exploring Operation: 34-26=8, Resulting Numbers: [9, 8]
Generated Node #0,2,2: 87:[9, 8] Operation: 34-26=8
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 87:[26, 25], Operations: ['35-9=26', '34-9=25']
Exploring Operation: 26*25=650, Resulting Numbers: [650]
650,87 unequal: No Solution
Exploring Operation: 26+25=51, Resulting Numbers: [51]
51,87 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,87 unequal: No Solution
No 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: 87:[34, 35], Operations: ['35-9=26', '9+26=35']
Exploring Operation: 34*35=1190, Resulting Numbers: [1190]
1190,87 unequal: No Solution
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 34+35=69, Resulting Numbers: [69]
69,87 unequal: No Solution
No 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: 87:[9, 8], Operations: ['35-9=26', '34-26=8']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,87 unequal: No Solution
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,87 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: 87:[1, 1], Operations: ['35-34=1', '9/9=1']
Exploring Operation: 1*1=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 1/1=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[1, 0], Operations: ['35-34=1', '9-9=0']
Exploring Operation: 1+0=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 1-0=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 1*0=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[1, 81], Operations: ['35-34=1', '9*9=81']
Exploring Operation: 1*81=81, Resulting Numbers: [81]
81,87 unequal: No Solution
Exploring Operation: 1+81=82, Resulting Numbers: [82]
82,87 unequal: No Solution
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,87 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
34,
1,
47,
30
] | 52 | [
"34+1=35",
"47-30=17",
"35+17=52"
] | Current State: 52:[34, 1, 47, 30], Operations: []
Exploring Operation: 34+1=35, Resulting Numbers: [47, 30, 35]
Generated Node #2: [47, 30, 35] from Operation: 34+1=35
Current State: 52:[47, 30, 35], Operations: ['34+1=35']
Exploring Operation: 47-30=17, Resulting Numbers: [35, 17]
Generated Node #3: [35, 17] from Operation: 47-30=17
Current State: 52:[35, 17], Operations: ['34+1=35', '47-30=17']
Exploring Operation: 35+17=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[34, 1, 47, 30], Operations: []
Exploring Operation: 34-30=4, Resulting Numbers: [1, 47, 4]
Generated Node #0,0: 52:[1, 47, 4] Operation: 34-30=4
Exploring Operation: 34-1=33, Resulting Numbers: [47, 30, 33]
Generated Node #0,1: 52:[47, 30, 33] Operation: 34-1=33
Exploring Operation: 1+47=48, Resulting Numbers: [34, 30, 48]
Generated Node #0,2: 52:[34, 30, 48] Operation: 1+47=48
Exploring Operation: 47-30=17, Resulting Numbers: [34, 1, 17]
Generated Node #0,3: 52:[34, 1, 17] Operation: 47-30=17
Exploring Operation: 47-34=13, Resulting Numbers: [1, 30, 13]
Generated Node #0,4: 52:[1, 30, 13] Operation: 47-34=13
Start Sub Search at level 1: Moving to Node #0,4
Current State: 52:[1, 30, 13], Operations: ['47-34=13']
Exploring Operation: 30-1=29, Resulting Numbers: [13, 29]
Generated Node #0,4,0: 52:[13, 29] Operation: 30-1=29
Exploring Operation: 30/1=30, Resulting Numbers: [13, 30]
Generated Node #0,4,1: 52:[13, 30] Operation: 30/1=30
Exploring Operation: 1*30=30, Resulting Numbers: [13, 30]
Generated Node #0,4,2: 52:[13, 30] Operation: 1*30=30
Exploring Operation: 1*13=13, Resulting Numbers: [30, 13]
Generated Node #0,4,3: 52:[30, 13] Operation: 1*13=13
Exploring Operation: 13/1=13, Resulting Numbers: [30, 13]
Generated Node #0,4,4: 52:[30, 13] Operation: 13/1=13
Moving to Node #0,4,0
Current State: 52:[13, 29], Operations: ['47-34=13', '30-1=29']
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 13+29=42, Resulting Numbers: [42]
42,52 unequal: No Solution
Exploring Operation: 13*29=377, Resulting Numbers: [377]
377,52 unequal: No Solution
Moving to Node #0,4,2
Current State: 52:[13, 30], Operations: ['47-34=13', '1*30=30']
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Exploring Operation: 13*30=390, Resulting Numbers: [390]
390,52 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Moving to Node #0,4,4
Current State: 52:[30, 13], Operations: ['47-34=13', '13/1=13']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,52 unequal: No Solution
Moving to Node #0,4,1
Current State: 52:[13, 30], Operations: ['47-34=13', '30/1=30']
Exploring Operation: 13*30=390, Resulting Numbers: [390]
390,52 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Moving to Node #0,4,3
Current State: 52:[30, 13], Operations: ['47-34=13', '1*13=13']
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,52 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[1, 47, 4], Operations: ['34-30=4']
Exploring Operation: 1*47=47, Resulting Numbers: [4, 47]
Generated Node #0,0,0: 52:[4, 47] Operation: 1*47=47
Exploring Operation: 47+4=51, Resulting Numbers: [1, 51]
Generated Node #0,0,1: 52:[1, 51] Operation: 47+4=51
Exploring Operation: 1*4=4, Resulting Numbers: [47, 4]
Generated Node #0,0,2: 52:[47, 4] Operation: 1*4=4
Exploring Operation: 47/1=47, Resulting Numbers: [4, 47]
Generated Node #0,0,3: 52:[4, 47] Operation: 47/1=47
Exploring Operation: 1+47=48, Resulting Numbers: [4, 48]
Generated Node #0,0,4: 52:[4, 48] Operation: 1+47=48
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 52:[1, 51], Operations: ['34-30=4', '47+4=51']
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,52 unequal: No Solution
Exploring Operation: 1+51=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[34, 1, 47, 30], Operations: []
Exploring Operation: 34-30=4, Resulting Numbers: [1, 47, 4]
Generated Node #0,0: 52:[1, 47, 4] Operation: 34-30=4
Moving to Node #0,0
Current State: 52:[1, 47, 4], Operations: ['34-30=4']
Exploring Operation: 47+4=51, Resulting Numbers: [1, 51]
Generated Node #0,0,1: 52:[1, 51] Operation: 47+4=51
Moving to Node #0,0,1
Current State: 52:[1, 51], Operations: ['34-30=4', '47+4=51']
Exploring Operation: 1+51=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_5 | sum_heuristic |
[
36,
31,
47,
49
] | 53 | [
"36*47=1692",
"1692-49=1643",
"1643/31=53"
] | Current State: 53:[36, 31, 47, 49], Operations: []
Exploring Operation: 36*47=1692, Resulting Numbers: [31, 49, 1692]
Generated Node #2: [31, 49, 1692] from Operation: 36*47=1692
Current State: 53:[31, 49, 1692], Operations: ['36*47=1692']
Exploring Operation: 1692-49=1643, Resulting Numbers: [31, 1643]
Generated Node #3: [31, 1643] from Operation: 1692-49=1643
Current State: 53:[31, 1643], Operations: ['36*47=1692', '1692-49=1643']
Exploring Operation: 1643/31=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[36, 31, 47, 49], Operations: []
Exploring Operation: 31+49=80, Resulting Numbers: [36, 47, 80]
Generated Node #0,0: 53:[36, 47, 80] Operation: 31+49=80
Exploring Operation: 31+47=78, Resulting Numbers: [36, 49, 78]
Generated Node #0,1: 53:[36, 49, 78] Operation: 31+47=78
Exploring Operation: 36+47=83, Resulting Numbers: [31, 49, 83]
Generated Node #0,2: 53:[31, 49, 83] Operation: 36+47=83
Exploring Operation: 36+31=67, Resulting Numbers: [47, 49, 67]
Generated Node #0,3: 53:[47, 49, 67] Operation: 36+31=67
Moving to Node #0,3
Current State: 53:[47, 49, 67], Operations: ['36+31=67']
Exploring Operation: 47+49=96, Resulting Numbers: [67, 96]
Generated Node #0,3,0: 53:[67, 96] Operation: 47+49=96
Exploring Operation: 49-47=2, Resulting Numbers: [67, 2]
Generated Node #0,3,1: 53:[67, 2] Operation: 49-47=2
Exploring Operation: 67-49=18, Resulting Numbers: [47, 18]
Generated Node #0,3,2: 53:[47, 18] Operation: 67-49=18
Exploring Operation: 67-47=20, Resulting Numbers: [49, 20]
Generated Node #0,3,3: 53:[49, 20] Operation: 67-47=20
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 53:[49, 20], Operations: ['36+31=67', '67-47=20']
Exploring Operation: 49+20=69, Resulting Numbers: [69]
69,53 unequal: No Solution
Exploring Operation: 49*20=980, Resulting Numbers: [980]
980,53 unequal: No Solution
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 53:[47, 18], Operations: ['36+31=67', '67-49=18']
Exploring Operation: 47-18=29, Resulting Numbers: [29]
29,53 unequal: No Solution
Exploring Operation: 47*18=846, Resulting Numbers: [846]
846,53 unequal: No Solution
Exploring Operation: 47+18=65, Resulting Numbers: [65]
65,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 53:[67, 96], Operations: ['36+31=67', '47+49=96']
Exploring Operation: 67*96=6432, Resulting Numbers: [6432]
6432,53 unequal: No Solution
Exploring Operation: 96-67=29, Resulting Numbers: [29]
29,53 unequal: No Solution
Exploring Operation: 67+96=163, Resulting Numbers: [163]
163,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 53:[67, 2], Operations: ['36+31=67', '49-47=2']
Exploring Operation: 67*2=134, Resulting Numbers: [134]
134,53 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,53 unequal: No Solution
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,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:[36, 49, 78], Operations: ['31+47=78']
Exploring Operation: 36+49=85, Resulting Numbers: [78, 85]
Generated Node #0,1,0: 53:[78, 85] Operation: 36+49=85
Exploring Operation: 78-36=42, Resulting Numbers: [49, 42]
Generated Node #0,1,1: 53:[49, 42] Operation: 78-36=42
Exploring Operation: 78-49=29, Resulting Numbers: [36, 29]
Generated Node #0,1,2: 53:[36, 29] Operation: 78-49=29
Exploring Operation: 49-36=13, Resulting Numbers: [78, 13]
Generated Node #0,1,3: 53:[78, 13] Operation: 49-36=13
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[49, 42], Operations: ['31+47=78', '78-36=42']
Exploring Operation: 49+42=91, Resulting Numbers: [91]
91,53 unequal: No Solution
Exploring Operation: 49*42=2058, Resulting Numbers: [2058]
2058,53 unequal: No Solution
Exploring Operation: 49-42=7, Resulting Numbers: [7]
7,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,2
Current State: 53:[36, 29], Operations: ['31+47=78', '78-49=29']
Exploring Operation: 36+29=65, Resulting Numbers: [65]
65,53 unequal: No Solution
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,53 unequal: No Solution
Exploring Operation: 36*29=1044, Resulting Numbers: [1044]
1044,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[78, 85], Operations: ['31+47=78', '36+49=85']
Exploring Operation: 78*85=6630, Resulting Numbers: [6630]
6630,53 unequal: No Solution
Exploring Operation: 85-78=7, Resulting Numbers: [7]
7,53 unequal: No Solution
Exploring Operation: 78+85=163, Resulting Numbers: [163]
163,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,3
Current State: 53:[78, 13], Operations: ['31+47=78', '49-36=13']
Exploring Operation: 78+13=91, Resulting Numbers: [91]
91,53 unequal: No Solution
Exploring Operation: 78-13=65, Resulting Numbers: [65]
65,53 unequal: No Solution
Exploring Operation: 78/13=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Exploring Operation: 78*13=1014, Resulting Numbers: [1014]
1014,53 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: 53:[36, 47, 80], Operations: ['31+49=80']
Exploring Operation: 80-47=33, Resulting Numbers: [36, 33]
Generated Node #0,0,0: 53:[36, 33] Operation: 80-47=33
Exploring Operation: 80-36=44, Resulting Numbers: [47, 44]
Generated Node #0,0,1: 53:[47, 44] Operation: 80-36=44
Exploring Operation: 36+47=83, Resulting Numbers: [80, 83]
Generated Node #0,0,2: 53:[80, 83] Operation: 36+47=83
Exploring Operation: 47-36=11, Resulting Numbers: [80, 11]
Generated Node #0,0,3: 53:[80, 11] Operation: 47-36=11
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[47, 44], Operations: ['31+49=80', '80-36=44']
Exploring Operation: 47-44=3, Resulting Numbers: [3]
3,53 unequal: No Solution
Exploring Operation: 47+44=91, Resulting Numbers: [91]
91,53 unequal: No Solution
Exploring Operation: 47*44=2068, Resulting Numbers: [2068]
2068,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:[36, 33], Operations: ['31+49=80', '80-47=33']
Exploring Operation: 36*33=1188, Resulting Numbers: [1188]
1188,53 unequal: No Solution
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,53 unequal: No Solution
Exploring Operation: 36+33=69, Resulting Numbers: [69]
69,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:[80, 83], Operations: ['31+49=80', '36+47=83']
Exploring Operation: 80*83=6640, Resulting Numbers: [6640]
6640,53 unequal: No Solution
Exploring Operation: 80+83=163, Resulting Numbers: [163]
163,53 unequal: No Solution
Exploring Operation: 83-80=3, Resulting Numbers: [3]
3,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,3
Current State: 53:[80, 11], Operations: ['31+49=80', '47-36=11']
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,53 unequal: No Solution
Exploring Operation: 80+11=91, Resulting Numbers: [91]
91,53 unequal: No Solution
Exploring Operation: 80*11=880, Resulting Numbers: [880]
880,53 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: 53:[31, 49, 83], Operations: ['36+47=83']
Exploring Operation: 31+49=80, Resulting Numbers: [83, 80]
Generated Node #0,2,0: 53:[83, 80] Operation: 31+49=80
Exploring Operation: 83-31=52, Resulting Numbers: [49, 52]
Generated Node #0,2,1: 53:[49, 52] Operation: 83-31=52
Exploring Operation: 83-49=34, Resulting Numbers: [31, 34]
Generated Node #0,2,2: 53:[31, 34] Operation: 83-49=34
Exploring Operation: 49-31=18, Resulting Numbers: [83, 18]
Generated Node #0,2,3: 53:[83, 18] Operation: 49-31=18
Moving to Node #0,2,1
Current State: 53:[49, 52], Operations: ['36+47=83', '83-31=52']
Exploring Operation: 49*52=2548, Resulting Numbers: [2548]
2548,53 unequal: No Solution
Exploring Operation: 49+52=101, Resulting Numbers: [101]
101,53 unequal: No Solution
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[31, 34], Operations: ['36+47=83', '83-49=34']
Exploring Operation: 34-31=3, Resulting Numbers: [3]
3,53 unequal: No Solution
Exploring Operation: 31*34=1054, Resulting Numbers: [1054]
1054,53 unequal: No Solution
Exploring Operation: 31+34=65, Resulting Numbers: [65]
65,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[83, 80], Operations: ['36+47=83', '31+49=80']
Exploring Operation: 83-80=3, Resulting Numbers: [3]
3,53 unequal: No Solution
Exploring Operation: 83*80=6640, Resulting Numbers: [6640]
6640,53 unequal: No Solution
Exploring Operation: 83+80=163, Resulting Numbers: [163]
163,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[83, 18], Operations: ['36+47=83', '49-31=18']
Exploring Operation: 83*18=1494, Resulting Numbers: [1494]
1494,53 unequal: No Solution
Exploring Operation: 83+18=101, Resulting Numbers: [101]
101,53 unequal: No Solution
Exploring Operation: 83-18=65, Resulting Numbers: [65]
65,53 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
55,
4,
27,
92
] | 71 | [
"92-55=37",
"4*27=108",
"108-37=71"
] | Current State: 71:[55, 4, 27, 92], Operations: []
Exploring Operation: 92-55=37, Resulting Numbers: [4, 27, 37]
Generated Node #2: [4, 27, 37] from Operation: 92-55=37
Current State: 71:[4, 27, 37], Operations: ['92-55=37']
Exploring Operation: 4*27=108, Resulting Numbers: [37, 108]
Generated Node #3: [37, 108] from Operation: 4*27=108
Current State: 71:[37, 108], Operations: ['92-55=37', '4*27=108']
Exploring Operation: 108-37=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[55, 4, 27, 92], Operations: []
Exploring Operation: 4*27=108, Resulting Numbers: [55, 92, 108]
Generated Node #0,0: 71:[55, 92, 108] Operation: 4*27=108
Exploring Operation: 4+27=31, Resulting Numbers: [55, 92, 31]
Generated Node #0,1: 71:[55, 92, 31] Operation: 4+27=31
Exploring Operation: 55+4=59, Resulting Numbers: [27, 92, 59]
Generated Node #0,2: 71:[27, 92, 59] Operation: 55+4=59
Exploring Operation: 92-4=88, Resulting Numbers: [55, 27, 88]
Generated Node #0,3: 71:[55, 27, 88] Operation: 92-4=88
Exploring Operation: 55-4=51, Resulting Numbers: [27, 92, 51]
Generated Node #0,4: 71:[27, 92, 51] Operation: 55-4=51
Moving to Node #0,0
Current State: 71:[55, 92, 108], Operations: ['4*27=108']
Exploring Operation: 108-92=16, Resulting Numbers: [55, 16]
Generated Node #0,0,0: 71:[55, 16] Operation: 108-92=16
Exploring Operation: 92-55=37, Resulting Numbers: [108, 37]
Generated Node #0,0,1: 71:[108, 37] Operation: 92-55=37
Exploring Operation: 55+92=147, Resulting Numbers: [108, 147]
Generated Node #0,0,2: 71:[108, 147] Operation: 55+92=147
Exploring Operation: 108-55=53, Resulting Numbers: [92, 53]
Generated Node #0,0,3: 71:[92, 53] Operation: 108-55=53
Exploring Operation: 55+108=163, Resulting Numbers: [92, 163]
Generated Node #0,0,4: 71:[92, 163] Operation: 55+108=163
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 71:[92, 53], Operations: ['4*27=108', '108-55=53']
Exploring Operation: 92*53=4876, Resulting Numbers: [4876]
4876,71 unequal: No Solution
Exploring Operation: 92+53=145, Resulting Numbers: [145]
145,71 unequal: No Solution
Exploring Operation: 92-53=39, Resulting Numbers: [39]
39,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,0,0
Current State: 71:[55, 16], Operations: ['4*27=108', '108-92=16']
Exploring Operation: 55+16=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[55, 4, 27, 92], Operations: []
Exploring Operation: 4*27=108, Resulting Numbers: [55, 92, 108]
Generated Node #0,0: 71:[55, 92, 108] Operation: 4*27=108
Moving to Node #0,0
Current State: 71:[55, 92, 108], Operations: ['4*27=108']
Exploring Operation: 108-92=16, Resulting Numbers: [55, 16]
Generated Node #0,0,0: 71:[55, 16] Operation: 108-92=16
Moving to Node #0,0,0
Current State: 71:[55, 16], Operations: ['4*27=108', '108-92=16']
Exploring Operation: 55+16=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
97,
28,
5,
43
] | 10 | [
"97+43=140",
"140/28=5",
"5+5=10"
] | Current State: 10:[97, 28, 5, 43], Operations: []
Exploring Operation: 97+43=140, Resulting Numbers: [28, 5, 140]
Generated Node #2: [28, 5, 140] from Operation: 97+43=140
Current State: 10:[28, 5, 140], Operations: ['97+43=140']
Exploring Operation: 140/28=5, Resulting Numbers: [5, 5]
Generated Node #3: [5, 5] from Operation: 140/28=5
Current State: 10:[5, 5], Operations: ['97+43=140', '140/28=5']
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[97, 28, 5, 43], Operations: []
Exploring Operation: 43-28=15, Resulting Numbers: [97, 5, 15]
Generated Node #0,0: 10:[97, 5, 15] Operation: 43-28=15
Exploring Operation: 97-28=69, Resulting Numbers: [5, 43, 69]
Generated Node #0,1: 10:[5, 43, 69] Operation: 97-28=69
Exploring Operation: 97-5=92, Resulting Numbers: [28, 43, 92]
Generated Node #0,2: 10:[28, 43, 92] Operation: 97-5=92
Exploring Operation: 28-5=23, Resulting Numbers: [97, 43, 23]
Generated Node #0,3: 10:[97, 43, 23] Operation: 28-5=23
Exploring Operation: 97-43=54, Resulting Numbers: [28, 5, 54]
Generated Node #0,4: 10:[28, 5, 54] Operation: 97-43=54
Start Sub Search at level 1: Moving to Node #0,4
Current State: 10:[28, 5, 54], Operations: ['97-43=54']
Exploring Operation: 28+5=33, Resulting Numbers: [54, 33]
Generated Node #0,4,0: 10:[54, 33] Operation: 28+5=33
Exploring Operation: 5+54=59, Resulting Numbers: [28, 59]
Generated Node #0,4,1: 10:[28, 59] Operation: 5+54=59
Exploring Operation: 28-5=23, Resulting Numbers: [54, 23]
Generated Node #0,4,2: 10:[54, 23] Operation: 28-5=23
Exploring Operation: 54-5=49, Resulting Numbers: [28, 49]
Generated Node #0,4,3: 10:[28, 49] Operation: 54-5=49
Exploring Operation: 54-28=26, Resulting Numbers: [5, 26]
Generated Node #0,4,4: 10:[5, 26] Operation: 54-28=26
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 10:[5, 26], Operations: ['97-43=54', '54-28=26']
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,10 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,10 unequal: No Solution
No 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: 10:[54, 23], Operations: ['97-43=54', '28-5=23']
Exploring Operation: 54*23=1242, Resulting Numbers: [1242]
1242,10 unequal: No Solution
Exploring Operation: 54+23=77, Resulting Numbers: [77]
77,10 unequal: No Solution
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,10 unequal: No Solution
No 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: 10:[28, 49], Operations: ['97-43=54', '54-5=49']
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 28*49=1372, Resulting Numbers: [1372]
1372,10 unequal: No Solution
Exploring Operation: 28+49=77, Resulting Numbers: [77]
77,10 unequal: No Solution
No 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: 10:[54, 33], Operations: ['97-43=54', '28+5=33']
Exploring Operation: 54+33=87, Resulting Numbers: [87]
87,10 unequal: No Solution
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 54*33=1782, Resulting Numbers: [1782]
1782,10 unequal: No Solution
No 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: 10:[28, 59], Operations: ['97-43=54', '5+54=59']
Exploring Operation: 28*59=1652, Resulting Numbers: [1652]
1652,10 unequal: No Solution
Exploring Operation: 59-28=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 28+59=87, Resulting Numbers: [87]
87,10 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: 10:[97, 5, 15], Operations: ['43-28=15']
Exploring Operation: 97-15=82, Resulting Numbers: [5, 82]
Generated Node #0,0,0: 10:[5, 82] Operation: 97-15=82
Exploring Operation: 97+5=102, Resulting Numbers: [15, 102]
Generated Node #0,0,1: 10:[15, 102] Operation: 97+5=102
Exploring Operation: 97-5=92, Resulting Numbers: [15, 92]
Generated Node #0,0,2: 10:[15, 92] Operation: 97-5=92
Exploring Operation: 15-5=10, Resulting Numbers: [97, 10]
Generated Node #0,0,3: 10:[97, 10] Operation: 15-5=10
Exploring Operation: 15/5=3, Resulting Numbers: [97, 3]
Generated Node #0,0,4: 10:[97, 3] Operation: 15/5=3
Moving to Node #0,0,0
Current State: 10:[5, 82], Operations: ['43-28=15', '97-15=82']
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,10 unequal: No Solution
Exploring Operation: 5+82=87, Resulting Numbers: [87]
87,10 unequal: No Solution
Exploring Operation: 5*82=410, Resulting Numbers: [410]
410,10 unequal: No Solution
Moving to Node #0,0,3
Current State: 10:[97, 10], Operations: ['43-28=15', '15-5=10']
Exploring Operation: 97-10=87, Resulting Numbers: [87]
87,10 unequal: No Solution
Exploring Operation: 97*10=970, Resulting Numbers: [970]
970,10 unequal: No Solution
Exploring Operation: 97+10=107, Resulting Numbers: [107]
107,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[15, 92], Operations: ['43-28=15', '97-5=92']
Exploring Operation: 15*92=1380, Resulting Numbers: [1380]
1380,10 unequal: No Solution
Exploring Operation: 15+92=107, Resulting Numbers: [107]
107,10 unequal: No Solution
Exploring Operation: 92-15=77, Resulting Numbers: [77]
77,10 unequal: No Solution
Moving to Node #0,0,4
Current State: 10:[97, 3], Operations: ['43-28=15', '15/5=3']
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,10 unequal: No Solution
Exploring Operation: 97*3=291, Resulting Numbers: [291]
291,10 unequal: No Solution
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[15, 102], Operations: ['43-28=15', '97+5=102']
Exploring Operation: 15*102=1530, Resulting Numbers: [1530]
1530,10 unequal: No Solution
Exploring Operation: 15+102=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Exploring Operation: 102-15=87, Resulting Numbers: [87]
87,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[5, 43, 69], Operations: ['97-28=69']
Exploring Operation: 69-5=64, Resulting Numbers: [43, 64]
Generated Node #0,1,0: 10:[43, 64] Operation: 69-5=64
Exploring Operation: 43-5=38, Resulting Numbers: [69, 38]
Generated Node #0,1,1: 10:[69, 38] Operation: 43-5=38
Exploring Operation: 5+43=48, Resulting Numbers: [69, 48]
Generated Node #0,1,2: 10:[69, 48] Operation: 5+43=48
Exploring Operation: 69-43=26, Resulting Numbers: [5, 26]
Generated Node #0,1,3: 10:[5, 26] Operation: 69-43=26
Exploring Operation: 5+69=74, Resulting Numbers: [43, 74]
Generated Node #0,1,4: 10:[43, 74] Operation: 5+69=74
Moving to Node #0,1,3
Current State: 10:[5, 26], Operations: ['97-28=69', '69-43=26']
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,10 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[69, 38], Operations: ['97-28=69', '43-5=38']
Exploring Operation: 69*38=2622, Resulting Numbers: [2622]
2622,10 unequal: No Solution
Exploring Operation: 69-38=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 69+38=107, Resulting Numbers: [107]
107,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[43, 64], Operations: ['97-28=69', '69-5=64']
Exploring Operation: 43+64=107, Resulting Numbers: [107]
107,10 unequal: No Solution
Exploring Operation: 64-43=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 43*64=2752, Resulting Numbers: [2752]
2752,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[69, 48], Operations: ['97-28=69', '5+43=48']
Exploring Operation: 69+48=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Exploring Operation: 69-48=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 69*48=3312, Resulting Numbers: [3312]
3312,10 unequal: No Solution
Moving to Node #0,1,4
Current State: 10:[43, 74], Operations: ['97-28=69', '5+69=74']
Exploring Operation: 43+74=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Exploring Operation: 74-43=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 43*74=3182, Resulting Numbers: [3182]
3182,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[28, 43, 92], Operations: ['97-5=92']
Exploring Operation: 92-28=64, Resulting Numbers: [43, 64]
Generated Node #0,2,0: 10:[43, 64] Operation: 92-28=64
Exploring Operation: 43-28=15, Resulting Numbers: [92, 15]
Generated Node #0,2,1: 10:[92, 15] Operation: 43-28=15
Exploring Operation: 92-43=49, Resulting Numbers: [28, 49]
Generated Node #0,2,2: 10:[28, 49] Operation: 92-43=49
Exploring Operation: 28+92=120, Resulting Numbers: [43, 120]
Generated Node #0,2,3: 10:[43, 120] Operation: 28+92=120
Exploring Operation: 28+43=71, Resulting Numbers: [92, 71]
Generated Node #0,2,4: 10:[92, 71] Operation: 28+43=71
Moving to Node #0,2,2
Current State: 10:[28, 49], Operations: ['97-5=92', '92-43=49']
Exploring Operation: 28*49=1372, Resulting Numbers: [1372]
1372,10 unequal: No Solution
Exploring Operation: 28+49=77, Resulting Numbers: [77]
77,10 unequal: No Solution
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[92, 15], Operations: ['97-5=92', '43-28=15']
Exploring Operation: 92+15=107, Resulting Numbers: [107]
107,10 unequal: No Solution
Exploring Operation: 92*15=1380, Resulting Numbers: [1380]
1380,10 unequal: No Solution
Exploring Operation: 92-15=77, Resulting Numbers: [77]
77,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[43, 64], Operations: ['97-5=92', '92-28=64']
Exploring Operation: 43*64=2752, Resulting Numbers: [2752]
2752,10 unequal: No Solution
Exploring Operation: 43+64=107, Resulting Numbers: [107]
107,10 unequal: No Solution
Exploring Operation: 64-43=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Moving to Node #0,2,3
Current State: 10:[43, 120], Operations: ['97-5=92', '28+92=120']
Exploring Operation: 43+120=163, Resulting Numbers: [163]
163,10 unequal: No Solution
Exploring Operation: 43*120=5160, Resulting Numbers: [5160]
5160,10 unequal: No Solution
Exploring Operation: 120-43=77, Resulting Numbers: [77]
77,10 unequal: No Solution
Moving to Node #0,2,4
Current State: 10:[92, 71], Operations: ['97-5=92', '28+43=71']
Exploring Operation: 92-71=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 92*71=6532, Resulting Numbers: [6532]
6532,10 unequal: No Solution
Exploring Operation: 92+71=163, Resulting Numbers: [163]
163,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 10:[97, 43, 23], Operations: ['28-5=23']
Exploring Operation: 97-23=74, Resulting Numbers: [43, 74]
Generated Node #0,3,0: 10:[43, 74] Operation: 97-23=74
Exploring Operation: 97+43=140, Resulting Numbers: [23, 140]
Generated Node #0,3,1: 10:[23, 140] Operation: 97+43=140
Exploring Operation: 97-43=54, Resulting Numbers: [23, 54]
Generated Node #0,3,2: 10:[23, 54] Operation: 97-43=54
Exploring Operation: 43-23=20, Resulting Numbers: [97, 20]
Generated Node #0,3,3: 10:[97, 20] Operation: 43-23=20
Exploring Operation: 97+23=120, Resulting Numbers: [43, 120]
Generated Node #0,3,4: 10:[43, 120] Operation: 97+23=120
Moving to Node #0,3,2
Current State: 10:[23, 54], Operations: ['28-5=23', '97-43=54']
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 23+54=77, Resulting Numbers: [77]
77,10 unequal: No Solution
Exploring Operation: 23*54=1242, Resulting Numbers: [1242]
1242,10 unequal: No Solution
Moving to Node #0,3,3
Current State: 10:[97, 20], Operations: ['28-5=23', '43-23=20']
Exploring Operation: 97+20=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Exploring Operation: 97*20=1940, Resulting Numbers: [1940]
1940,10 unequal: No Solution
Exploring Operation: 97-20=77, Resulting Numbers: [77]
77,10 unequal: No Solution
Moving to Node #0,3,0
Current State: 10:[43, 74], Operations: ['28-5=23', '97-23=74']
Exploring Operation: 74-43=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 43+74=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Exploring Operation: 43*74=3182, Resulting Numbers: [3182]
3182,10 unequal: No Solution
Moving to Node #0,3,1
Current State: 10:[23, 140], Operations: ['28-5=23', '97+43=140']
Exploring Operation: 23*140=3220, Resulting Numbers: [3220]
3220,10 unequal: No Solution
Exploring Operation: 23+140=163, Resulting Numbers: [163]
163,10 unequal: No Solution
Exploring Operation: 140-23=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Moving to Node #0,3,4
Current State: 10:[43, 120], Operations: ['28-5=23', '97+23=120']
Exploring Operation: 43*120=5160, Resulting Numbers: [5160]
5160,10 unequal: No Solution
Exploring Operation: 120-43=77, Resulting Numbers: [77]
77,10 unequal: No Solution
Exploring Operation: 43+120=163, Resulting Numbers: [163]
163,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
39,
3,
2,
81
] | 28 | [
"81-39=42",
"42/3=14",
"2*14=28"
] | Current State: 28:[39, 3, 2, 81], Operations: []
Exploring Operation: 81-39=42, Resulting Numbers: [3, 2, 42]
Generated Node #2: [3, 2, 42] from Operation: 81-39=42
Current State: 28:[3, 2, 42], Operations: ['81-39=42']
Exploring Operation: 42/3=14, Resulting Numbers: [2, 14]
Generated Node #3: [2, 14] from Operation: 42/3=14
Current State: 28:[2, 14], Operations: ['81-39=42', '42/3=14']
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[39, 3, 2, 81], Operations: []
Exploring Operation: 81/3=27, Resulting Numbers: [39, 2, 27]
Generated Node #0,0: 28:[39, 2, 27] Operation: 81/3=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[39, 2, 27], Operations: ['81/3=27']
Exploring Operation: 39-27=12, Resulting Numbers: [2, 12]
Generated Node #0,0,0: 28:[2, 12] Operation: 39-27=12
Moving to Node #0,0,0
Current State: 28:[2, 12], Operations: ['81/3=27', '39-27=12']
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,28 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,
91,
30,
16
] | 37 | [
"16-3=13",
"91/13=7",
"30+7=37"
] | Current State: 37:[3, 91, 30, 16], Operations: []
Exploring Operation: 16-3=13, Resulting Numbers: [91, 30, 13]
Generated Node #2: [91, 30, 13] from Operation: 16-3=13
Current State: 37:[91, 30, 13], Operations: ['16-3=13']
Exploring Operation: 91/13=7, Resulting Numbers: [30, 7]
Generated Node #3: [30, 7] from Operation: 91/13=7
Current State: 37:[30, 7], Operations: ['16-3=13', '91/13=7']
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[3, 91, 30, 16], Operations: []
Exploring Operation: 3+30=33, Resulting Numbers: [91, 16, 33]
Generated Node #0,0: 37:[91, 16, 33] Operation: 3+30=33
Exploring Operation: 91-3=88, Resulting Numbers: [30, 16, 88]
Generated Node #0,1: 37:[30, 16, 88] Operation: 91-3=88
Exploring Operation: 3*16=48, Resulting Numbers: [91, 30, 48]
Generated Node #0,2: 37:[91, 30, 48] Operation: 3*16=48
Moving to Node #0,2
Current State: 37:[91, 30, 48], Operations: ['3*16=48']
Exploring Operation: 48-30=18, Resulting Numbers: [91, 18]
Generated Node #0,2,0: 37:[91, 18] Operation: 48-30=18
Exploring Operation: 91-30=61, Resulting Numbers: [48, 61]
Generated Node #0,2,1: 37:[48, 61] Operation: 91-30=61
Exploring Operation: 91-48=43, Resulting Numbers: [30, 43]
Generated Node #0,2,2: 37:[30, 43] Operation: 91-48=43
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 37:[30, 43], Operations: ['3*16=48', '91-48=43']
Exploring Operation: 30*43=1290, Resulting Numbers: [1290]
1290,37 unequal: No Solution
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,37 unequal: No Solution
Exploring Operation: 30+43=73, Resulting Numbers: [73]
73,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 37:[48, 61], Operations: ['3*16=48', '91-30=61']
Exploring Operation: 48+61=109, Resulting Numbers: [109]
109,37 unequal: No Solution
Exploring Operation: 48*61=2928, Resulting Numbers: [2928]
2928,37 unequal: No Solution
Exploring Operation: 61-48=13, Resulting Numbers: [13]
13,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 37:[91, 18], Operations: ['3*16=48', '48-30=18']
Exploring Operation: 91+18=109, Resulting Numbers: [109]
109,37 unequal: No Solution
Exploring Operation: 91*18=1638, Resulting Numbers: [1638]
1638,37 unequal: No Solution
Exploring Operation: 91-18=73, Resulting Numbers: [73]
73,37 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: 37:[91, 16, 33], Operations: ['3+30=33']
Exploring Operation: 91-16=75, Resulting Numbers: [33, 75]
Generated Node #0,0,0: 37:[33, 75] Operation: 91-16=75
Exploring Operation: 91-33=58, Resulting Numbers: [16, 58]
Generated Node #0,0,1: 37:[16, 58] Operation: 91-33=58
Exploring Operation: 16+33=49, Resulting Numbers: [91, 49]
Generated Node #0,0,2: 37:[91, 49] Operation: 16+33=49
Moving to Node #0,1
Current State: 37:[30, 16, 88], Operations: ['91-3=88']
Exploring Operation: 30+16=46, Resulting Numbers: [88, 46]
Generated Node #0,1,0: 37:[88, 46] Operation: 30+16=46
Exploring Operation: 88-16=72, Resulting Numbers: [30, 72]
Generated Node #0,1,1: 37:[30, 72] Operation: 88-16=72
Exploring Operation: 88-30=58, Resulting Numbers: [16, 58]
Generated Node #0,1,2: 37:[16, 58] Operation: 88-30=58
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 37:[30, 72], Operations: ['91-3=88', '88-16=72']
Exploring Operation: 30+72=102, Resulting Numbers: [102]
102,37 unequal: No Solution
Exploring Operation: 72-30=42, Resulting Numbers: [42]
42,37 unequal: No Solution
Exploring Operation: 30*72=2160, Resulting Numbers: [2160]
2160,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 37:[16, 58], Operations: ['91-3=88', '88-30=58']
Exploring Operation: 58-16=42, Resulting Numbers: [42]
42,37 unequal: No Solution
Exploring Operation: 16+58=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Exploring Operation: 16*58=928, Resulting Numbers: [928]
928,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 37:[88, 46], Operations: ['91-3=88', '30+16=46']
Exploring Operation: 88*46=4048, Resulting Numbers: [4048]
4048,37 unequal: No Solution
Exploring Operation: 88-46=42, Resulting Numbers: [42]
42,37 unequal: No Solution
Exploring Operation: 88+46=134, Resulting Numbers: [134]
134,37 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: 37:[33, 75], Operations: ['3+30=33', '91-16=75']
Exploring Operation: 33+75=108, Resulting Numbers: [108]
108,37 unequal: No Solution
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,37 unequal: No Solution
Exploring Operation: 33*75=2475, Resulting Numbers: [2475]
2475,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[16, 58], Operations: ['3+30=33', '91-33=58']
Exploring Operation: 58-16=42, Resulting Numbers: [42]
42,37 unequal: No Solution
Exploring Operation: 16+58=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Exploring Operation: 16*58=928, Resulting Numbers: [928]
928,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[91, 49], Operations: ['3+30=33', '16+33=49']
Exploring Operation: 91-49=42, Resulting Numbers: [42]
42,37 unequal: No Solution
Exploring Operation: 91*49=4459, Resulting Numbers: [4459]
4459,37 unequal: No Solution
Exploring Operation: 91+49=140, Resulting Numbers: [140]
140,37 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
54,
11,
59,
82
] | 66 | [
"54-11=43",
"82-59=23",
"43+23=66"
] | Current State: 66:[54, 11, 59, 82], Operations: []
Exploring Operation: 54-11=43, Resulting Numbers: [59, 82, 43]
Generated Node #2: [59, 82, 43] from Operation: 54-11=43
Current State: 66:[59, 82, 43], Operations: ['54-11=43']
Exploring Operation: 82-59=23, Resulting Numbers: [43, 23]
Generated Node #3: [43, 23] from Operation: 82-59=23
Current State: 66:[43, 23], Operations: ['54-11=43', '82-59=23']
Exploring Operation: 43+23=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[54, 11, 59, 82], Operations: []
Exploring Operation: 82-54=28, Resulting Numbers: [11, 59, 28]
Generated Node #0,0: 66:[11, 59, 28] Operation: 82-54=28
Exploring Operation: 82-11=71, Resulting Numbers: [54, 59, 71]
Generated Node #0,1: 66:[54, 59, 71] Operation: 82-11=71
Exploring Operation: 54+11=65, Resulting Numbers: [59, 82, 65]
Generated Node #0,2: 66:[59, 82, 65] Operation: 54+11=65
Exploring Operation: 82-59=23, Resulting Numbers: [54, 11, 23]
Generated Node #0,3: 66:[54, 11, 23] Operation: 82-59=23
Exploring Operation: 59-54=5, Resulting Numbers: [11, 82, 5]
Generated Node #0,4: 66:[11, 82, 5] Operation: 59-54=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[11, 59, 28], Operations: ['82-54=28']
Exploring Operation: 59-28=31, Resulting Numbers: [11, 31]
Generated Node #0,0,0: 66:[11, 31] Operation: 59-28=31
Exploring Operation: 11+59=70, Resulting Numbers: [28, 70]
Generated Node #0,0,1: 66:[28, 70] Operation: 11+59=70
Exploring Operation: 11+28=39, Resulting Numbers: [59, 39]
Generated Node #0,0,2: 66:[59, 39] Operation: 11+28=39
Exploring Operation: 59-11=48, Resulting Numbers: [28, 48]
Generated Node #0,0,3: 66:[28, 48] Operation: 59-11=48
Exploring Operation: 28-11=17, Resulting Numbers: [59, 17]
Generated Node #0,0,4: 66:[59, 17] Operation: 28-11=17
Moving to Node #0,0,0
Current State: 66:[11, 31], Operations: ['82-54=28', '59-28=31']
Exploring Operation: 11*31=341, Resulting Numbers: [341]
341,66 unequal: No Solution
Exploring Operation: 11+31=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[28, 70], Operations: ['82-54=28', '11+59=70']
Exploring Operation: 28+70=98, Resulting Numbers: [98]
98,66 unequal: No Solution
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Exploring Operation: 28*70=1960, Resulting Numbers: [1960]
1960,66 unequal: No Solution
Moving to Node #0,0,4
Current State: 66:[59, 17], Operations: ['82-54=28', '28-11=17']
Exploring Operation: 59+17=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Exploring Operation: 59*17=1003, Resulting Numbers: [1003]
1003,66 unequal: No Solution
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Moving to Node #0,0,2
Current State: 66:[59, 39], Operations: ['82-54=28', '11+28=39']
Exploring Operation: 59*39=2301, Resulting Numbers: [2301]
2301,66 unequal: No Solution
Exploring Operation: 59-39=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 59+39=98, Resulting Numbers: [98]
98,66 unequal: No Solution
Moving to Node #0,0,3
Current State: 66:[28, 48], Operations: ['82-54=28', '59-11=48']
Exploring Operation: 28*48=1344, Resulting Numbers: [1344]
1344,66 unequal: No Solution
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 28+48=76, Resulting Numbers: [76]
76,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 66:[54, 11, 23], Operations: ['82-59=23']
Exploring Operation: 54+23=77, Resulting Numbers: [11, 77]
Generated Node #0,3,0: 66:[11, 77] Operation: 54+23=77
Exploring Operation: 54+11=65, Resulting Numbers: [23, 65]
Generated Node #0,3,1: 66:[23, 65] Operation: 54+11=65
Exploring Operation: 54-11=43, Resulting Numbers: [23, 43]
Generated Node #0,3,2: 66:[23, 43] Operation: 54-11=43
Exploring Operation: 54-23=31, Resulting Numbers: [11, 31]
Generated Node #0,3,3: 66:[11, 31] Operation: 54-23=31
Exploring Operation: 11+23=34, Resulting Numbers: [54, 34]
Generated Node #0,3,4: 66:[54, 34] Operation: 11+23=34
Moving to Node #0,3,1
Current State: 66:[23, 65], Operations: ['82-59=23', '54+11=65']
Exploring Operation: 65-23=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Exploring Operation: 23+65=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Exploring Operation: 23*65=1495, Resulting Numbers: [1495]
1495,66 unequal: No Solution
Moving to Node #0,3,3
Current State: 66:[11, 31], Operations: ['82-59=23', '54-23=31']
Exploring Operation: 11+31=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Exploring Operation: 11*31=341, Resulting Numbers: [341]
341,66 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Moving to Node #0,3,0
Current State: 66:[11, 77], Operations: ['82-59=23', '54+23=77']
Exploring Operation: 77-11=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[54, 11, 59, 82], Operations: []
Exploring Operation: 82-59=23, Resulting Numbers: [54, 11, 23]
Generated Node #0,3: 66:[54, 11, 23] Operation: 82-59=23
Moving to Node #0,3
Current State: 66:[54, 11, 23], Operations: ['82-59=23']
Exploring Operation: 54+23=77, Resulting Numbers: [11, 77]
Generated Node #0,3,0: 66:[11, 77] Operation: 54+23=77
Moving to Node #0,3,0
Current State: 66:[11, 77], Operations: ['82-59=23', '54+23=77']
Exploring Operation: 77-11=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | sum_heuristic |
[
17,
34,
27,
83
] | 28 | [
"34/17=2",
"83-27=56",
"56/2=28"
] | Current State: 28:[17, 34, 27, 83], Operations: []
Exploring Operation: 34/17=2, Resulting Numbers: [27, 83, 2]
Generated Node #2: [27, 83, 2] from Operation: 34/17=2
Current State: 28:[27, 83, 2], Operations: ['34/17=2']
Exploring Operation: 83-27=56, Resulting Numbers: [2, 56]
Generated Node #3: [2, 56] from Operation: 83-27=56
Current State: 28:[2, 56], Operations: ['34/17=2', '83-27=56']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[17, 34, 27, 83], Operations: []
Exploring Operation: 83-34=49, Resulting Numbers: [17, 27, 49]
Generated Node #0,0: 28:[17, 27, 49] Operation: 83-34=49
Exploring Operation: 83-27=56, Resulting Numbers: [17, 34, 56]
Generated Node #0,1: 28:[17, 34, 56] Operation: 83-27=56
Moving to Node #0,0
Current State: 28:[17, 27, 49], Operations: ['83-34=49']
Exploring Operation: 49-27=22, Resulting Numbers: [17, 22]
Generated Node #0,0,0: 28:[17, 22] Operation: 49-27=22
Exploring Operation: 49-17=32, Resulting Numbers: [27, 32]
Generated Node #0,0,1: 28:[27, 32] Operation: 49-17=32
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 28:[27, 32], Operations: ['83-34=49', '49-17=32']
Exploring Operation: 27+32=59, Resulting Numbers: [59]
59,28 unequal: No Solution
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,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,0
Current State: 28:[17, 22], Operations: ['83-34=49', '49-27=22']
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,28 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: 28:[17, 34, 56], Operations: ['83-27=56']
Exploring Operation: 56-17=39, Resulting Numbers: [34, 39]
Generated Node #0,1,0: 28:[34, 39] Operation: 56-17=39
Exploring Operation: 56-34=22, Resulting Numbers: [17, 22]
Generated Node #0,1,1: 28:[17, 22] Operation: 56-34=22
Moving to Node #0,1,1
Current State: 28:[17, 22], Operations: ['83-27=56', '56-34=22']
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,28 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Moving to Node #0,1,0
Current State: 28:[34, 39], Operations: ['83-27=56', '56-17=39']
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 34+39=73, Resulting Numbers: [73]
73,28 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
81,
14,
25,
6
] | 48 | [
"81-14=67",
"25-6=19",
"67-19=48"
] | Current State: 48:[81, 14, 25, 6], Operations: []
Exploring Operation: 81-14=67, Resulting Numbers: [25, 6, 67]
Generated Node #2: [25, 6, 67] from Operation: 81-14=67
Current State: 48:[25, 6, 67], Operations: ['81-14=67']
Exploring Operation: 25-6=19, Resulting Numbers: [67, 19]
Generated Node #3: [67, 19] from Operation: 25-6=19
Current State: 48:[67, 19], Operations: ['81-14=67', '25-6=19']
Exploring Operation: 67-19=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[81, 14, 25, 6], Operations: []
Exploring Operation: 25-14=11, Resulting Numbers: [81, 6, 11]
Generated Node #0,0: 48:[81, 6, 11] Operation: 25-14=11
Exploring Operation: 81-6=75, Resulting Numbers: [14, 25, 75]
Generated Node #0,1: 48:[14, 25, 75] Operation: 81-6=75
Exploring Operation: 81-25=56, Resulting Numbers: [14, 6, 56]
Generated Node #0,2: 48:[14, 6, 56] Operation: 81-25=56
Exploring Operation: 81-14=67, Resulting Numbers: [25, 6, 67]
Generated Node #0,3: 48:[25, 6, 67] Operation: 81-14=67
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[14, 6, 56], Operations: ['81-25=56']
Exploring Operation: 56/14=4, Resulting Numbers: [6, 4]
Generated Node #0,2,0: 48:[6, 4] Operation: 56/14=4
Exploring Operation: 56-14=42, Resulting Numbers: [6, 42]
Generated Node #0,2,1: 48:[6, 42] Operation: 56-14=42
Exploring Operation: 56-6=50, Resulting Numbers: [14, 50]
Generated Node #0,2,2: 48:[14, 50] Operation: 56-6=50
Exploring Operation: 14-6=8, Resulting Numbers: [56, 8]
Generated Node #0,2,3: 48:[56, 8] Operation: 14-6=8
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 48:[6, 4], Operations: ['81-25=56', '56/14=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,48 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 48:[14, 50], Operations: ['81-25=56', '56-6=50']
Exploring Operation: 14+50=64, Resulting Numbers: [64]
64,48 unequal: No Solution
Exploring Operation: 50-14=36, Resulting Numbers: [36]
36,48 unequal: No Solution
Exploring Operation: 14*50=700, Resulting Numbers: [700]
700,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 48:[6, 42], Operations: ['81-25=56', '56-14=42']
Exploring Operation: 6*42=252, Resulting Numbers: [252]
252,48 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,48 unequal: No Solution
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[81, 14, 25, 6], Operations: []
Exploring Operation: 81-25=56, Resulting Numbers: [14, 6, 56]
Generated Node #0,2: 48:[14, 6, 56] Operation: 81-25=56
Moving to Node #0,2
Current State: 48:[14, 6, 56], Operations: ['81-25=56']
Exploring Operation: 56-14=42, Resulting Numbers: [6, 42]
Generated Node #0,2,1: 48:[6, 42] Operation: 56-14=42
Moving to Node #0,2,1
Current State: 48:[6, 42], Operations: ['81-25=56', '56-14=42']
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
24,
54,
2,
3
] | 100 | [
"24/3=8",
"54*2=108",
"108-8=100"
] | Current State: 100:[24, 54, 2, 3], Operations: []
Exploring Operation: 24/3=8, Resulting Numbers: [54, 2, 8]
Generated Node #2: [54, 2, 8] from Operation: 24/3=8
Current State: 100:[54, 2, 8], Operations: ['24/3=8']
Exploring Operation: 54*2=108, Resulting Numbers: [8, 108]
Generated Node #3: [8, 108] from Operation: 54*2=108
Current State: 100:[8, 108], Operations: ['24/3=8', '54*2=108']
Exploring Operation: 108-8=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[24, 54, 2, 3], Operations: []
Exploring Operation: 54/3=18, Resulting Numbers: [24, 2, 18]
Generated Node #0,0: 100:[24, 2, 18] Operation: 54/3=18
Exploring Operation: 54/2=27, Resulting Numbers: [24, 3, 27]
Generated Node #0,1: 100:[24, 3, 27] Operation: 54/2=27
Exploring Operation: 54-3=51, Resulting Numbers: [24, 2, 51]
Generated Node #0,2: 100:[24, 2, 51] Operation: 54-3=51
Exploring Operation: 54-2=52, Resulting Numbers: [24, 3, 52]
Generated Node #0,3: 100:[24, 3, 52] Operation: 54-2=52
Moving to Node #0,2
Current State: 100:[24, 2, 51], Operations: ['54-3=51']
Exploring Operation: 24*2=48, Resulting Numbers: [51, 48]
Generated Node #0,2,0: 100:[51, 48] Operation: 24*2=48
Exploring Operation: 51-24=27, Resulting Numbers: [2, 27]
Generated Node #0,2,1: 100:[2, 27] Operation: 51-24=27
Exploring Operation: 24+2=26, Resulting Numbers: [51, 26]
Generated Node #0,2,2: 100:[51, 26] Operation: 24+2=26
Exploring Operation: 51-2=49, Resulting Numbers: [24, 49]
Generated Node #0,2,3: 100:[24, 49] Operation: 51-2=49
Moving to Node #0,0
Current State: 100:[24, 2, 18], Operations: ['54/3=18']
Exploring Operation: 24-18=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 100:[2, 6] Operation: 24-18=6
Exploring Operation: 2+18=20, Resulting Numbers: [24, 20]
Generated Node #0,0,1: 100:[24, 20] Operation: 2+18=20
Exploring Operation: 24+2=26, Resulting Numbers: [18, 26]
Generated Node #0,0,2: 100:[18, 26] Operation: 24+2=26
Exploring Operation: 18/2=9, Resulting Numbers: [24, 9]
Generated Node #0,0,3: 100:[24, 9] Operation: 18/2=9
Moving to Node #0,3
Current State: 100:[24, 3, 52], Operations: ['54-2=52']
Exploring Operation: 24-3=21, Resulting Numbers: [52, 21]
Generated Node #0,3,0: 100:[52, 21] Operation: 24-3=21
Exploring Operation: 24/3=8, Resulting Numbers: [52, 8]
Generated Node #0,3,1: 100:[52, 8] Operation: 24/3=8
Exploring Operation: 52-3=49, Resulting Numbers: [24, 49]
Generated Node #0,3,2: 100:[24, 49] Operation: 52-3=49
Exploring Operation: 24+3=27, Resulting Numbers: [52, 27]
Generated Node #0,3,3: 100:[52, 27] Operation: 24+3=27
Moving to Node #0,1
Current State: 100:[24, 3, 27], Operations: ['54/2=27']
Exploring Operation: 27/3=9, Resulting Numbers: [24, 9]
Generated Node #0,1,0: 100:[24, 9] Operation: 27/3=9
Exploring Operation: 27-3=24, Resulting Numbers: [24, 24]
Generated Node #0,1,1: 100:[24, 24] Operation: 27-3=24
Exploring Operation: 27-24=3, Resulting Numbers: [3, 3]
Generated Node #0,1,2: 100:[3, 3] Operation: 27-24=3
Exploring Operation: 24+27=51, Resulting Numbers: [3, 51]
Generated Node #0,1,3: 100:[3, 51] Operation: 24+27=51
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 100:[24, 9], Operations: ['54/2=27', '27/3=9']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,100 unequal: No Solution
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,100 unequal: No Solution
Exploring Operation: 24*9=216, Resulting Numbers: [216]
216,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 100:[24, 24], Operations: ['54/2=27', '27-3=24']
Exploring Operation: 24/24=1, Resulting Numbers: [1]
1,100 unequal: No Solution
Exploring Operation: 24*24=576, Resulting Numbers: [576]
576,100 unequal: No Solution
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,100 unequal: No Solution
Exploring Operation: 24-24=0, Resulting Numbers: [0]
0,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 100:[3, 3], Operations: ['54/2=27', '27-24=3']
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,100 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,100 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,100 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 100:[3, 51], Operations: ['54/2=27', '24+27=51']
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,100 unequal: No Solution
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,100 unequal: No Solution
Exploring Operation: 3*51=153, Resulting Numbers: [153]
153,100 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,100 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: 100:[2, 6], Operations: ['54/3=18', '24-18=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[24, 20], Operations: ['54/3=18', '2+18=20']
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,100 unequal: No Solution
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,100 unequal: No Solution
Moving to Node #0,0,3
Current State: 100:[24, 9], Operations: ['54/3=18', '18/2=9']
Exploring Operation: 24*9=216, Resulting Numbers: [216]
216,100 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,100 unequal: No Solution
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,100 unequal: No Solution
Moving to Node #0,2,3
Current State: 100:[24, 49], Operations: ['54-3=51', '51-2=49']
Exploring Operation: 24*49=1176, Resulting Numbers: [1176]
1176,100 unequal: No Solution
Exploring Operation: 24+49=73, Resulting Numbers: [73]
73,100 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Moving to Node #0,2,1
Current State: 100:[2, 27], Operations: ['54-3=51', '51-24=27']
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,100 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,100 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Moving to Node #0,2,2
Current State: 100:[51, 26], Operations: ['54-3=51', '24+2=26']
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Exploring Operation: 51*26=1326, Resulting Numbers: [1326]
1326,100 unequal: No Solution
Exploring Operation: 51+26=77, Resulting Numbers: [77]
77,100 unequal: No Solution
Moving to Node #0,3,2
Current State: 100:[24, 49], Operations: ['54-2=52', '52-3=49']
Exploring Operation: 24*49=1176, Resulting Numbers: [1176]
1176,100 unequal: No Solution
Exploring Operation: 24+49=73, Resulting Numbers: [73]
73,100 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Moving to Node #0,3,0
Current State: 100:[52, 21], Operations: ['54-2=52', '24-3=21']
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,100 unequal: No Solution
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,100 unequal: No Solution
Exploring Operation: 52*21=1092, Resulting Numbers: [1092]
1092,100 unequal: No Solution
Moving to Node #0,2,0
Current State: 100:[51, 48], Operations: ['54-3=51', '24*2=48']
Exploring Operation: 51+48=99, Resulting Numbers: [99]
99,100 unequal: No Solution
Exploring Operation: 51*48=2448, Resulting Numbers: [2448]
2448,100 unequal: No Solution
Exploring Operation: 51-48=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[18, 26], Operations: ['54/3=18', '24+2=26']
Exploring Operation: 18+26=44, Resulting Numbers: [44]
44,100 unequal: No Solution
Exploring Operation: 18*26=468, Resulting Numbers: [468]
468,100 unequal: No Solution
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Moving to Node #0,3,3
Current State: 100:[52, 27], Operations: ['54-2=52', '24+3=27']
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Exploring Operation: 52+27=79, Resulting Numbers: [79]
79,100 unequal: No Solution
Exploring Operation: 52*27=1404, Resulting Numbers: [1404]
1404,100 unequal: No Solution
Moving to Node #0,3,1
Current State: 100:[52, 8], Operations: ['54-2=52', '24/3=8']
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,100 unequal: No Solution
Exploring Operation: 52*8=416, Resulting Numbers: [416]
416,100 unequal: No Solution
Exploring Operation: 52+8=60, Resulting Numbers: [60]
60,100 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
36,
3,
22,
53
] | 70 | [
"36+3=39",
"53-22=31",
"39+31=70"
] | Current State: 70:[36, 3, 22, 53], Operations: []
Exploring Operation: 36+3=39, Resulting Numbers: [22, 53, 39]
Generated Node #2: [22, 53, 39] from Operation: 36+3=39
Current State: 70:[22, 53, 39], Operations: ['36+3=39']
Exploring Operation: 53-22=31, Resulting Numbers: [39, 31]
Generated Node #3: [39, 31] from Operation: 53-22=31
Current State: 70:[39, 31], Operations: ['36+3=39', '53-22=31']
Exploring Operation: 39+31=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[36, 3, 22, 53], Operations: []
Exploring Operation: 53-22=31, Resulting Numbers: [36, 3, 31]
Generated Node #0,0: 70:[36, 3, 31] Operation: 53-22=31
Exploring Operation: 53-36=17, Resulting Numbers: [3, 22, 17]
Generated Node #0,1: 70:[3, 22, 17] Operation: 53-36=17
Exploring Operation: 22+53=75, Resulting Numbers: [36, 3, 75]
Generated Node #0,2: 70:[36, 3, 75] Operation: 22+53=75
Moving to Node #0,0
Current State: 70:[36, 3, 31], Operations: ['53-22=31']
Exploring Operation: 36-31=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 70:[3, 5] Operation: 36-31=5
Exploring Operation: 3+31=34, Resulting Numbers: [36, 34]
Generated Node #0,0,1: 70:[36, 34] Operation: 3+31=34
Exploring Operation: 36+31=67, Resulting Numbers: [3, 67]
Generated Node #0,0,2: 70:[3, 67] Operation: 36+31=67
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[3, 5], Operations: ['53-22=31', '36-31=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,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,0,1
Current State: 70:[36, 34], Operations: ['53-22=31', '3+31=34']
Exploring Operation: 36*34=1224, Resulting Numbers: [1224]
1224,70 unequal: No Solution
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[36, 3, 22, 53], Operations: []
Exploring Operation: 53-22=31, Resulting Numbers: [36, 3, 31]
Generated Node #0,0: 70:[36, 3, 31] Operation: 53-22=31
Moving to Node #0,0
Current State: 70:[36, 3, 31], Operations: ['53-22=31']
Exploring Operation: 3+31=34, Resulting Numbers: [36, 34]
Generated Node #0,0,1: 70:[36, 34] Operation: 3+31=34
Moving to Node #0,0,1
Current State: 70:[36, 34], Operations: ['53-22=31', '3+31=34']
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
46,
6,
91,
47
] | 86 | [
"46+6=52",
"91+47=138",
"138-52=86"
] | Current State: 86:[46, 6, 91, 47], Operations: []
Exploring Operation: 46+6=52, Resulting Numbers: [91, 47, 52]
Generated Node #2: [91, 47, 52] from Operation: 46+6=52
Current State: 86:[91, 47, 52], Operations: ['46+6=52']
Exploring Operation: 91+47=138, Resulting Numbers: [52, 138]
Generated Node #3: [52, 138] from Operation: 91+47=138
Current State: 86:[52, 138], Operations: ['46+6=52', '91+47=138']
Exploring Operation: 138-52=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[46, 6, 91, 47], Operations: []
Exploring Operation: 91-6=85, Resulting Numbers: [46, 47, 85]
Generated Node #0,0: 86:[46, 47, 85] Operation: 91-6=85
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[46, 47, 85], Operations: ['91-6=85']
Exploring Operation: 47-46=1, Resulting Numbers: [85, 1]
Generated Node #0,0,0: 86:[85, 1] Operation: 47-46=1
Moving to Node #0,0,0
Current State: 86:[85, 1], Operations: ['91-6=85', '47-46=1']
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[46, 6, 91, 47], Operations: []
Exploring Operation: 91-6=85, Resulting Numbers: [46, 47, 85]
Generated Node #0,0: 86:[46, 47, 85] Operation: 91-6=85
Moving to Node #0,0
Current State: 86:[46, 47, 85], Operations: ['91-6=85']
Exploring Operation: 47-46=1, Resulting Numbers: [85, 1]
Generated Node #0,0,0: 86:[85, 1] Operation: 47-46=1
Moving to Node #0,0,0
Current State: 86:[85, 1], Operations: ['91-6=85', '47-46=1']
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
94,
10,
69,
80
] | 93 | [
"94+10=104",
"80-69=11",
"104-11=93"
] | Current State: 93:[94, 10, 69, 80], Operations: []
Exploring Operation: 94+10=104, Resulting Numbers: [69, 80, 104]
Generated Node #2: [69, 80, 104] from Operation: 94+10=104
Current State: 93:[69, 80, 104], Operations: ['94+10=104']
Exploring Operation: 80-69=11, Resulting Numbers: [104, 11]
Generated Node #3: [104, 11] from Operation: 80-69=11
Current State: 93:[104, 11], Operations: ['94+10=104', '80-69=11']
Exploring Operation: 104-11=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[94, 10, 69, 80], Operations: []
Exploring Operation: 94-69=25, Resulting Numbers: [10, 80, 25]
Generated Node #0,0: 93:[10, 80, 25] Operation: 94-69=25
Exploring Operation: 10+69=79, Resulting Numbers: [94, 80, 79]
Generated Node #0,1: 93:[94, 80, 79] Operation: 10+69=79
Exploring Operation: 80-69=11, Resulting Numbers: [94, 10, 11]
Generated Node #0,2: 93:[94, 10, 11] Operation: 80-69=11
Exploring Operation: 10+80=90, Resulting Numbers: [94, 69, 90]
Generated Node #0,3: 93:[94, 69, 90] Operation: 10+80=90
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[94, 10, 11], Operations: ['80-69=11']
Exploring Operation: 11-10=1, Resulting Numbers: [94, 1]
Generated Node #0,2,0: 93:[94, 1] Operation: 11-10=1
Exploring Operation: 94-10=84, Resulting Numbers: [11, 84]
Generated Node #0,2,1: 93:[11, 84] Operation: 94-10=84
Exploring Operation: 94-11=83, Resulting Numbers: [10, 83]
Generated Node #0,2,2: 93:[10, 83] Operation: 94-11=83
Exploring Operation: 10+11=21, Resulting Numbers: [94, 21]
Generated Node #0,2,3: 93:[94, 21] Operation: 10+11=21
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 93:[94, 1], Operations: ['80-69=11', '11-10=1']
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,93 unequal: No Solution
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,93 unequal: No Solution
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[94, 10, 69, 80], Operations: []
Exploring Operation: 80-69=11, Resulting Numbers: [94, 10, 11]
Generated Node #0,2: 93:[94, 10, 11] Operation: 80-69=11
Moving to Node #0,2
Current State: 93:[94, 10, 11], Operations: ['80-69=11']
Exploring Operation: 11-10=1, Resulting Numbers: [94, 1]
Generated Node #0,2,0: 93:[94, 1] Operation: 11-10=1
Moving to Node #0,2,0
Current State: 93:[94, 1], Operations: ['80-69=11', '11-10=1']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
96,
63,
59,
63
] | 29 | [
"96-63=33",
"63-59=4",
"33-4=29"
] | Current State: 29:[96, 63, 59, 63], Operations: []
Exploring Operation: 96-63=33, Resulting Numbers: [59, 33]
Generated Node #2: [59, 33] from Operation: 96-63=33
Current State: 29:[59, 33], Operations: ['96-63=33']
Exploring Operation: 63-59=4, Resulting Numbers: [33, 4]
Generated Node #3: [33, 4] from Operation: 63-59=4
Current State: 29:[33, 4], Operations: ['96-63=33', '63-59=4']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[96, 63, 59, 63], Operations: []
Exploring Operation: 96-63=33, Resulting Numbers: [59, 63, 33]
Generated Node #0,0: 29:[59, 63, 33] Operation: 96-63=33
Exploring Operation: 96-59=37, Resulting Numbers: [63, 63, 37]
Generated Node #0,1: 29:[63, 63, 37] Operation: 96-59=37
Exploring Operation: 96-63=33, Resulting Numbers: [63, 59, 33]
Generated Node #0,2: 29:[63, 59, 33] Operation: 96-63=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[59, 63, 33], Operations: ['96-63=33']
Exploring Operation: 59-33=26, Resulting Numbers: [63, 26]
Generated Node #0,0,0: 29:[63, 26] Operation: 59-33=26
Exploring Operation: 63-59=4, Resulting Numbers: [33, 4]
Generated Node #0,0,1: 29:[33, 4] Operation: 63-59=4
Exploring Operation: 63-33=30, Resulting Numbers: [59, 30]
Generated Node #0,0,2: 29:[59, 30] Operation: 63-33=30
Moving to Node #0,0,1
Current State: 29:[33, 4], Operations: ['96-63=33', '63-59=4']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[96, 63, 59, 63], Operations: []
Exploring Operation: 96-63=33, Resulting Numbers: [59, 63, 33]
Generated Node #0,0: 29:[59, 63, 33] Operation: 96-63=33
Moving to Node #0,0
Current State: 29:[59, 63, 33], Operations: ['96-63=33']
Exploring Operation: 63-59=4, Resulting Numbers: [33, 4]
Generated Node #0,0,1: 29:[33, 4] Operation: 63-59=4
Moving to Node #0,0,1
Current State: 29:[33, 4], Operations: ['96-63=33', '63-59=4']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
24,
93,
57,
64
] | 96 | [
"93-57=36",
"64*36=2304",
"2304/24=96"
] | Current State: 96:[24, 93, 57, 64], Operations: []
Exploring Operation: 93-57=36, Resulting Numbers: [24, 64, 36]
Generated Node #2: [24, 64, 36] from Operation: 93-57=36
Current State: 96:[24, 64, 36], Operations: ['93-57=36']
Exploring Operation: 64*36=2304, Resulting Numbers: [24, 2304]
Generated Node #3: [24, 2304] from Operation: 64*36=2304
Current State: 96:[24, 2304], Operations: ['93-57=36', '64*36=2304']
Exploring Operation: 2304/24=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[24, 93, 57, 64], Operations: []
Exploring Operation: 64-57=7, Resulting Numbers: [24, 93, 7]
Generated Node #0,0: 96:[24, 93, 7] Operation: 64-57=7
Exploring Operation: 64-24=40, Resulting Numbers: [93, 57, 40]
Generated Node #0,1: 96:[93, 57, 40] Operation: 64-24=40
Exploring Operation: 24+64=88, Resulting Numbers: [93, 57, 88]
Generated Node #0,2: 96:[93, 57, 88] Operation: 24+64=88
Exploring Operation: 93-64=29, Resulting Numbers: [24, 57, 29]
Generated Node #0,3: 96:[24, 57, 29] Operation: 93-64=29
Exploring Operation: 57-24=33, Resulting Numbers: [93, 64, 33]
Generated Node #0,4: 96:[93, 64, 33] Operation: 57-24=33
Moving to Node #0,0
Current State: 96:[24, 93, 7], Operations: ['64-57=7']
Exploring Operation: 24+93=117, Resulting Numbers: [7, 117]
Generated Node #0,0,0: 96:[7, 117] Operation: 24+93=117
Exploring Operation: 93-7=86, Resulting Numbers: [24, 86]
Generated Node #0,0,1: 96:[24, 86] Operation: 93-7=86
Exploring Operation: 24+7=31, Resulting Numbers: [93, 31]
Generated Node #0,0,2: 96:[93, 31] Operation: 24+7=31
Exploring Operation: 93+7=100, Resulting Numbers: [24, 100]
Generated Node #0,0,3: 96:[24, 100] Operation: 93+7=100
Exploring Operation: 24-7=17, Resulting Numbers: [93, 17]
Generated Node #0,0,4: 96:[93, 17] Operation: 24-7=17
Moving to Node #0,3
Current State: 96:[24, 57, 29], Operations: ['93-64=29']
Exploring Operation: 57-24=33, Resulting Numbers: [29, 33]
Generated Node #0,3,0: 96:[29, 33] Operation: 57-24=33
Exploring Operation: 24+29=53, Resulting Numbers: [57, 53]
Generated Node #0,3,1: 96:[57, 53] Operation: 24+29=53
Exploring Operation: 57+29=86, Resulting Numbers: [24, 86]
Generated Node #0,3,2: 96:[24, 86] Operation: 57+29=86
Exploring Operation: 57-29=28, Resulting Numbers: [24, 28]
Generated Node #0,3,3: 96:[24, 28] Operation: 57-29=28
Exploring Operation: 29-24=5, Resulting Numbers: [57, 5]
Generated Node #0,3,4: 96:[57, 5] Operation: 29-24=5
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 96:[29, 33], Operations: ['93-64=29', '57-24=33']
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 29*33=957, Resulting Numbers: [957]
957,96 unequal: No Solution
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 96:[24, 28], Operations: ['93-64=29', '57-29=28']
Exploring Operation: 24*28=672, Resulting Numbers: [672]
672,96 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 24+28=52, Resulting Numbers: [52]
52,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 96:[24, 86], Operations: ['93-64=29', '57+29=86']
Exploring Operation: 24*86=2064, Resulting Numbers: [2064]
2064,96 unequal: No Solution
Exploring Operation: 24+86=110, Resulting Numbers: [110]
110,96 unequal: No Solution
Exploring Operation: 86-24=62, Resulting Numbers: [62]
62,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 96:[57, 5], Operations: ['93-64=29', '29-24=5']
Exploring Operation: 57*5=285, Resulting Numbers: [285]
285,96 unequal: No Solution
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,96 unequal: No Solution
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 96:[57, 53], Operations: ['93-64=29', '24+29=53']
Exploring Operation: 57*53=3021, Resulting Numbers: [3021]
3021,96 unequal: No Solution
Exploring Operation: 57+53=110, Resulting Numbers: [110]
110,96 unequal: No Solution
Exploring Operation: 57-53=4, Resulting Numbers: [4]
4,96 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: 96:[93, 57, 40], Operations: ['64-24=40']
Exploring Operation: 93-57=36, Resulting Numbers: [40, 36]
Generated Node #0,1,0: 96:[40, 36] Operation: 93-57=36
Exploring Operation: 93-40=53, Resulting Numbers: [57, 53]
Generated Node #0,1,1: 96:[57, 53] Operation: 93-40=53
Exploring Operation: 57-40=17, Resulting Numbers: [93, 17]
Generated Node #0,1,2: 96:[93, 17] Operation: 57-40=17
Exploring Operation: 57+40=97, Resulting Numbers: [93, 97]
Generated Node #0,1,3: 96:[93, 97] Operation: 57+40=97
Exploring Operation: 93+40=133, Resulting Numbers: [57, 133]
Generated Node #0,1,4: 96:[57, 133] Operation: 93+40=133
Moving to Node #0,2
Current State: 96:[93, 57, 88], Operations: ['24+64=88']
Exploring Operation: 93-88=5, Resulting Numbers: [57, 5]
Generated Node #0,2,0: 96:[57, 5] Operation: 93-88=5
Exploring Operation: 93+57=150, Resulting Numbers: [88, 150]
Generated Node #0,2,1: 96:[88, 150] Operation: 93+57=150
Exploring Operation: 88-57=31, Resulting Numbers: [93, 31]
Generated Node #0,2,2: 96:[93, 31] Operation: 88-57=31
Exploring Operation: 93-57=36, Resulting Numbers: [88, 36]
Generated Node #0,2,3: 96:[88, 36] Operation: 93-57=36
Exploring Operation: 57+88=145, Resulting Numbers: [93, 145]
Generated Node #0,2,4: 96:[93, 145] Operation: 57+88=145
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 96:[93, 31], Operations: ['24+64=88', '88-57=31']
Exploring Operation: 93+31=124, Resulting Numbers: [124]
124,96 unequal: No Solution
Exploring Operation: 93/31=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 93-31=62, Resulting Numbers: [62]
62,96 unequal: No Solution
Exploring Operation: 93*31=2883, Resulting Numbers: [2883]
2883,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 96:[57, 5], Operations: ['24+64=88', '93-88=5']
Exploring Operation: 57*5=285, Resulting Numbers: [285]
285,96 unequal: No Solution
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,96 unequal: No Solution
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 96:[88, 36], Operations: ['24+64=88', '93-57=36']
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,96 unequal: No Solution
Exploring Operation: 88*36=3168, Resulting Numbers: [3168]
3168,96 unequal: No Solution
Exploring Operation: 88+36=124, Resulting Numbers: [124]
124,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 96:[93, 145], Operations: ['24+64=88', '57+88=145']
Exploring Operation: 93*145=13485, Resulting Numbers: [13485]
13485,96 unequal: No Solution
Exploring Operation: 93+145=238, Resulting Numbers: [238]
238,96 unequal: No Solution
Exploring Operation: 145-93=52, Resulting Numbers: [52]
52,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 96:[88, 150], Operations: ['24+64=88', '93+57=150']
Exploring Operation: 88+150=238, Resulting Numbers: [238]
238,96 unequal: No Solution
Exploring Operation: 88*150=13200, Resulting Numbers: [13200]
13200,96 unequal: No Solution
Exploring Operation: 150-88=62, Resulting Numbers: [62]
62,96 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: 96:[93, 64, 33], Operations: ['57-24=33']
Exploring Operation: 64-33=31, Resulting Numbers: [93, 31]
Generated Node #0,4,0: 96:[93, 31] Operation: 64-33=31
Exploring Operation: 64+33=97, Resulting Numbers: [93, 97]
Generated Node #0,4,1: 96:[93, 97] Operation: 64+33=97
Exploring Operation: 93+33=126, Resulting Numbers: [64, 126]
Generated Node #0,4,2: 96:[64, 126] Operation: 93+33=126
Exploring Operation: 93-64=29, Resulting Numbers: [33, 29]
Generated Node #0,4,3: 96:[33, 29] Operation: 93-64=29
Exploring Operation: 93-33=60, Resulting Numbers: [64, 60]
Generated Node #0,4,4: 96:[64, 60] Operation: 93-33=60
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 96:[93, 31], Operations: ['57-24=33', '64-33=31']
Exploring Operation: 93/31=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 93-31=62, Resulting Numbers: [62]
62,96 unequal: No Solution
Exploring Operation: 93+31=124, Resulting Numbers: [124]
124,96 unequal: No Solution
Exploring Operation: 93*31=2883, Resulting Numbers: [2883]
2883,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 96:[93, 97], Operations: ['57-24=33', '64+33=97']
Exploring Operation: 93+97=190, Resulting Numbers: [190]
190,96 unequal: No Solution
Exploring Operation: 97-93=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 93*97=9021, Resulting Numbers: [9021]
9021,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 96:[33, 29], Operations: ['57-24=33', '93-64=29']
Exploring Operation: 33+29=62, Resulting Numbers: [62]
62,96 unequal: No Solution
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 33*29=957, Resulting Numbers: [957]
957,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 96:[64, 60], Operations: ['57-24=33', '93-33=60']
Exploring Operation: 64-60=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 64*60=3840, Resulting Numbers: [3840]
3840,96 unequal: No Solution
Exploring Operation: 64+60=124, Resulting Numbers: [124]
124,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 96:[64, 126], Operations: ['57-24=33', '93+33=126']
Exploring Operation: 126-64=62, Resulting Numbers: [62]
62,96 unequal: No Solution
Exploring Operation: 64+126=190, Resulting Numbers: [190]
190,96 unequal: No Solution
Exploring Operation: 64*126=8064, Resulting Numbers: [8064]
8064,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 96:[93, 31], Operations: ['64-57=7', '24+7=31']
Exploring Operation: 93/31=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 93-31=62, Resulting Numbers: [62]
62,96 unequal: No Solution
Exploring Operation: 93+31=124, Resulting Numbers: [124]
124,96 unequal: No Solution
Exploring Operation: 93*31=2883, Resulting Numbers: [2883]
2883,96 unequal: No Solution
Moving to Node #0,0,4
Current State: 96:[93, 17], Operations: ['64-57=7', '24-7=17']
Exploring Operation: 93-17=76, Resulting Numbers: [76]
76,96 unequal: No Solution
Exploring Operation: 93*17=1581, Resulting Numbers: [1581]
1581,96 unequal: No Solution
Exploring Operation: 93+17=110, Resulting Numbers: [110]
110,96 unequal: No Solution
Moving to Node #0,1,3
Current State: 96:[93, 97], Operations: ['64-24=40', '57+40=97']
Exploring Operation: 93*97=9021, Resulting Numbers: [9021]
9021,96 unequal: No Solution
Exploring Operation: 97-93=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 93+97=190, Resulting Numbers: [190]
190,96 unequal: No Solution
Moving to Node #0,1,2
Current State: 96:[93, 17], Operations: ['64-24=40', '57-40=17']
Exploring Operation: 93-17=76, Resulting Numbers: [76]
76,96 unequal: No Solution
Exploring Operation: 93+17=110, Resulting Numbers: [110]
110,96 unequal: No Solution
Exploring Operation: 93*17=1581, Resulting Numbers: [1581]
1581,96 unequal: No Solution
Moving to Node #0,0,3
Current State: 96:[24, 100], Operations: ['64-57=7', '93+7=100']
Exploring Operation: 100-24=76, Resulting Numbers: [76]
76,96 unequal: No Solution
Exploring Operation: 24*100=2400, Resulting Numbers: [2400]
2400,96 unequal: No Solution
Exploring Operation: 24+100=124, Resulting Numbers: [124]
124,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[24, 86], Operations: ['64-57=7', '93-7=86']
Exploring Operation: 24*86=2064, Resulting Numbers: [2064]
2064,96 unequal: No Solution
Exploring Operation: 86-24=62, Resulting Numbers: [62]
62,96 unequal: No Solution
Exploring Operation: 24+86=110, Resulting Numbers: [110]
110,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[40, 36], Operations: ['64-24=40', '93-57=36']
Exploring Operation: 40*36=1440, Resulting Numbers: [1440]
1440,96 unequal: No Solution
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 40+36=76, Resulting Numbers: [76]
76,96 unequal: No Solution
Moving to Node #0,1,1
Current State: 96:[57, 53], Operations: ['64-24=40', '93-40=53']
Exploring Operation: 57+53=110, Resulting Numbers: [110]
110,96 unequal: No Solution
Exploring Operation: 57*53=3021, Resulting Numbers: [3021]
3021,96 unequal: No Solution
Exploring Operation: 57-53=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[7, 117], Operations: ['64-57=7', '24+93=117']
Exploring Operation: 7*117=819, Resulting Numbers: [819]
819,96 unequal: No Solution
Exploring Operation: 117-7=110, Resulting Numbers: [110]
110,96 unequal: No Solution
Exploring Operation: 7+117=124, Resulting Numbers: [124]
124,96 unequal: No Solution
Moving to Node #0,1,4
Current State: 96:[57, 133], Operations: ['64-24=40', '93+40=133']
Exploring Operation: 57*133=7581, Resulting Numbers: [7581]
7581,96 unequal: No Solution
Exploring Operation: 133-57=76, Resulting Numbers: [76]
76,96 unequal: No Solution
Exploring Operation: 57+133=190, Resulting Numbers: [190]
190,96 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
85,
84,
76,
40
] | 37 | [
"85-84=1",
"76-40=36",
"1+36=37"
] | Current State: 37:[85, 84, 76, 40], Operations: []
Exploring Operation: 85-84=1, Resulting Numbers: [76, 40, 1]
Generated Node #2: [76, 40, 1] from Operation: 85-84=1
Current State: 37:[76, 40, 1], Operations: ['85-84=1']
Exploring Operation: 76-40=36, Resulting Numbers: [1, 36]
Generated Node #3: [1, 36] from Operation: 76-40=36
Current State: 37:[1, 36], Operations: ['85-84=1', '76-40=36']
Exploring Operation: 1+36=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[85, 84, 76, 40], Operations: []
Exploring Operation: 85-84=1, Resulting Numbers: [76, 40, 1]
Generated Node #0,0: 37:[76, 40, 1] Operation: 85-84=1
Exploring Operation: 85-40=45, Resulting Numbers: [84, 76, 45]
Generated Node #0,1: 37:[84, 76, 45] Operation: 85-40=45
Exploring Operation: 84-76=8, Resulting Numbers: [85, 40, 8]
Generated Node #0,2: 37:[85, 40, 8] Operation: 84-76=8
Exploring Operation: 85-76=9, Resulting Numbers: [84, 40, 9]
Generated Node #0,3: 37:[84, 40, 9] Operation: 85-76=9
Moving to Node #0,0
Current State: 37:[76, 40, 1], Operations: ['85-84=1']
Exploring Operation: 76-40=36, Resulting Numbers: [1, 36]
Generated Node #0,0,0: 37:[1, 36] Operation: 76-40=36
Exploring Operation: 76*1=76, Resulting Numbers: [40, 76]
Generated Node #0,0,1: 37:[40, 76] Operation: 76*1=76
Exploring Operation: 40-1=39, Resulting Numbers: [76, 39]
Generated Node #0,0,2: 37:[76, 39] Operation: 40-1=39
Exploring Operation: 76-1=75, Resulting Numbers: [40, 75]
Generated Node #0,0,3: 37:[40, 75] Operation: 76-1=75
Moving to Node #0,3
Current State: 37:[84, 40, 9], Operations: ['85-76=9']
Exploring Operation: 84+9=93, Resulting Numbers: [40, 93]
Generated Node #0,3,0: 37:[40, 93] Operation: 84+9=93
Exploring Operation: 40-9=31, Resulting Numbers: [84, 31]
Generated Node #0,3,1: 37:[84, 31] Operation: 40-9=31
Exploring Operation: 84-9=75, Resulting Numbers: [40, 75]
Generated Node #0,3,2: 37:[40, 75] Operation: 84-9=75
Exploring Operation: 84-40=44, Resulting Numbers: [9, 44]
Generated Node #0,3,3: 37:[9, 44] Operation: 84-40=44
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 37:[9, 44], Operations: ['85-76=9', '84-40=44']
Exploring Operation: 9+44=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Exploring Operation: 9*44=396, Resulting Numbers: [396]
396,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 37:[40, 75], Operations: ['85-76=9', '84-9=75']
Exploring Operation: 40+75=115, Resulting Numbers: [115]
115,37 unequal: No Solution
Exploring Operation: 75-40=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Exploring Operation: 40*75=3000, Resulting Numbers: [3000]
3000,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 37:[84, 31], Operations: ['85-76=9', '40-9=31']
Exploring Operation: 84+31=115, Resulting Numbers: [115]
115,37 unequal: No Solution
Exploring Operation: 84*31=2604, Resulting Numbers: [2604]
2604,37 unequal: No Solution
Exploring Operation: 84-31=53, Resulting Numbers: [53]
53,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 37:[40, 93], Operations: ['85-76=9', '84+9=93']
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Exploring Operation: 40+93=133, Resulting Numbers: [133]
133,37 unequal: No Solution
Exploring Operation: 40*93=3720, Resulting Numbers: [3720]
3720,37 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: 37:[85, 40, 8], Operations: ['84-76=8']
Exploring Operation: 85-40=45, Resulting Numbers: [8, 45]
Generated Node #0,2,0: 37:[8, 45] Operation: 85-40=45
Exploring Operation: 85-8=77, Resulting Numbers: [40, 77]
Generated Node #0,2,1: 37:[40, 77] Operation: 85-8=77
Exploring Operation: 85+8=93, Resulting Numbers: [40, 93]
Generated Node #0,2,2: 37:[40, 93] Operation: 85+8=93
Exploring Operation: 40-8=32, Resulting Numbers: [85, 32]
Generated Node #0,2,3: 37:[85, 32] Operation: 40-8=32
Moving to Node #0,1
Current State: 37:[84, 76, 45], Operations: ['85-40=45']
Exploring Operation: 84-45=39, Resulting Numbers: [76, 39]
Generated Node #0,1,0: 37:[76, 39] Operation: 84-45=39
Exploring Operation: 84+76=160, Resulting Numbers: [45, 160]
Generated Node #0,1,1: 37:[45, 160] Operation: 84+76=160
Exploring Operation: 84-76=8, Resulting Numbers: [45, 8]
Generated Node #0,1,2: 37:[45, 8] Operation: 84-76=8
Exploring Operation: 76-45=31, Resulting Numbers: [84, 31]
Generated Node #0,1,3: 37:[84, 31] Operation: 76-45=31
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 37:[45, 8], Operations: ['85-40=45', '84-76=8']
Exploring Operation: 45+8=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[85, 84, 76, 40], Operations: []
Exploring Operation: 85-40=45, Resulting Numbers: [84, 76, 45]
Generated Node #0,1: 37:[84, 76, 45] Operation: 85-40=45
Moving to Node #0,1
Current State: 37:[84, 76, 45], Operations: ['85-40=45']
Exploring Operation: 84-76=8, Resulting Numbers: [45, 8]
Generated Node #0,1,2: 37:[45, 8] Operation: 84-76=8
Moving to Node #0,1,2
Current State: 37:[45, 8], Operations: ['85-40=45', '84-76=8']
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_4 | sum_heuristic |
[
8,
44,
74,
45
] | 88 | [
"45-8=37",
"44*74=3256",
"3256/37=88"
] | Current State: 88:[8, 44, 74, 45], Operations: []
Exploring Operation: 45-8=37, Resulting Numbers: [44, 74, 37]
Generated Node #2: [44, 74, 37] from Operation: 45-8=37
Current State: 88:[44, 74, 37], Operations: ['45-8=37']
Exploring Operation: 44*74=3256, Resulting Numbers: [37, 3256]
Generated Node #3: [37, 3256] from Operation: 44*74=3256
Current State: 88:[37, 3256], Operations: ['45-8=37', '44*74=3256']
Exploring Operation: 3256/37=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[8, 44, 74, 45], Operations: []
Exploring Operation: 74-45=29, Resulting Numbers: [8, 44, 29]
Generated Node #0,0: 88:[8, 44, 29] Operation: 74-45=29
Exploring Operation: 44+45=89, Resulting Numbers: [8, 74, 89]
Generated Node #0,1: 88:[8, 74, 89] Operation: 44+45=89
Exploring Operation: 8+74=82, Resulting Numbers: [44, 45, 82]
Generated Node #0,2: 88:[44, 45, 82] Operation: 8+74=82
Exploring Operation: 74-44=30, Resulting Numbers: [8, 45, 30]
Generated Node #0,3: 88:[8, 45, 30] Operation: 74-44=30
Exploring Operation: 45-44=1, Resulting Numbers: [8, 74, 1]
Generated Node #0,4: 88:[8, 74, 1] Operation: 45-44=1
Moving to Node #0,0
Current State: 88:[8, 44, 29], Operations: ['74-45=29']
Exploring Operation: 44-8=36, Resulting Numbers: [29, 36]
Generated Node #0,0,0: 88:[29, 36] Operation: 44-8=36
Exploring Operation: 44-29=15, Resulting Numbers: [8, 15]
Generated Node #0,0,1: 88:[8, 15] Operation: 44-29=15
Exploring Operation: 8+29=37, Resulting Numbers: [44, 37]
Generated Node #0,0,2: 88:[44, 37] Operation: 8+29=37
Exploring Operation: 8+44=52, Resulting Numbers: [29, 52]
Generated Node #0,0,3: 88:[29, 52] Operation: 8+44=52
Exploring Operation: 29-8=21, Resulting Numbers: [44, 21]
Generated Node #0,0,4: 88:[44, 21] Operation: 29-8=21
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 88:[44, 21], Operations: ['74-45=29', '29-8=21']
Exploring Operation: 44+21=65, Resulting Numbers: [65]
65,88 unequal: No Solution
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 44*21=924, Resulting Numbers: [924]
924,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,1
Current State: 88:[8, 15], Operations: ['74-45=29', '44-29=15']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,88 unequal: No Solution
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,88 unequal: No Solution
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,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,2
Current State: 88:[44, 37], Operations: ['74-45=29', '8+29=37']
Exploring Operation: 44+37=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 44-37=7, Resulting Numbers: [7]
7,88 unequal: No Solution
Exploring Operation: 44*37=1628, Resulting Numbers: [1628]
1628,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[29, 36], Operations: ['74-45=29', '44-8=36']
Exploring Operation: 29*36=1044, Resulting Numbers: [1044]
1044,88 unequal: No Solution
Exploring Operation: 29+36=65, Resulting Numbers: [65]
65,88 unequal: No Solution
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 88:[29, 52], Operations: ['74-45=29', '8+44=52']
Exploring Operation: 29*52=1508, Resulting Numbers: [1508]
1508,88 unequal: No Solution
Exploring Operation: 29+52=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,88 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: 88:[44, 45, 82], Operations: ['8+74=82']
Exploring Operation: 44+45=89, Resulting Numbers: [82, 89]
Generated Node #0,2,0: 88:[82, 89] Operation: 44+45=89
Exploring Operation: 82-44=38, Resulting Numbers: [45, 38]
Generated Node #0,2,1: 88:[45, 38] Operation: 82-44=38
Exploring Operation: 45-44=1, Resulting Numbers: [82, 1]
Generated Node #0,2,2: 88:[82, 1] Operation: 45-44=1
Exploring Operation: 44+82=126, Resulting Numbers: [45, 126]
Generated Node #0,2,3: 88:[45, 126] Operation: 44+82=126
Exploring Operation: 82-45=37, Resulting Numbers: [44, 37]
Generated Node #0,2,4: 88:[44, 37] Operation: 82-45=37
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 88:[82, 89], Operations: ['8+74=82', '44+45=89']
Exploring Operation: 89-82=7, Resulting Numbers: [7]
7,88 unequal: No Solution
Exploring Operation: 82*89=7298, Resulting Numbers: [7298]
7298,88 unequal: No Solution
Exploring Operation: 82+89=171, Resulting Numbers: [171]
171,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,2,1
Current State: 88:[45, 38], Operations: ['8+74=82', '82-44=38']
Exploring Operation: 45*38=1710, Resulting Numbers: [1710]
1710,88 unequal: No Solution
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,88 unequal: No Solution
Exploring Operation: 45+38=83, Resulting Numbers: [83]
83,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,2,2
Current State: 88:[82, 1], Operations: ['8+74=82', '45-44=1']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,88 unequal: No Solution
Exploring Operation: 82+1=83, Resulting Numbers: [83]
83,88 unequal: No Solution
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,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,2,4
Current State: 88:[44, 37], Operations: ['8+74=82', '82-45=37']
Exploring Operation: 44+37=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 44*37=1628, Resulting Numbers: [1628]
1628,88 unequal: No Solution
Exploring Operation: 44-37=7, Resulting Numbers: [7]
7,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 88:[45, 126], Operations: ['8+74=82', '44+82=126']
Exploring Operation: 45+126=171, Resulting Numbers: [171]
171,88 unequal: No Solution
Exploring Operation: 45*126=5670, Resulting Numbers: [5670]
5670,88 unequal: No Solution
Exploring Operation: 126-45=81, Resulting Numbers: [81]
81,88 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: 88:[8, 45, 30], Operations: ['74-44=30']
Exploring Operation: 30-8=22, Resulting Numbers: [45, 22]
Generated Node #0,3,0: 88:[45, 22] Operation: 30-8=22
Exploring Operation: 45+30=75, Resulting Numbers: [8, 75]
Generated Node #0,3,1: 88:[8, 75] Operation: 45+30=75
Exploring Operation: 45-30=15, Resulting Numbers: [8, 15]
Generated Node #0,3,2: 88:[8, 15] Operation: 45-30=15
Exploring Operation: 45-8=37, Resulting Numbers: [30, 37]
Generated Node #0,3,3: 88:[30, 37] Operation: 45-8=37
Exploring Operation: 8+30=38, Resulting Numbers: [45, 38]
Generated Node #0,3,4: 88:[45, 38] Operation: 8+30=38
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 88:[45, 22], Operations: ['74-44=30', '30-8=22']
Exploring Operation: 45+22=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 45*22=990, Resulting Numbers: [990]
990,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,3,2
Current State: 88:[8, 15], Operations: ['74-44=30', '45-30=15']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,88 unequal: No Solution
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 88:[45, 38], Operations: ['74-44=30', '8+30=38']
Exploring Operation: 45*38=1710, Resulting Numbers: [1710]
1710,88 unequal: No Solution
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,88 unequal: No Solution
Exploring Operation: 45+38=83, Resulting Numbers: [83]
83,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,3,1
Current State: 88:[8, 75], Operations: ['74-44=30', '45+30=75']
Exploring Operation: 8*75=600, Resulting Numbers: [600]
600,88 unequal: No Solution
Exploring Operation: 8+75=83, Resulting Numbers: [83]
83,88 unequal: No Solution
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,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,3,3
Current State: 88:[30, 37], Operations: ['74-44=30', '45-8=37']
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,88 unequal: No Solution
Exploring Operation: 30*37=1110, Resulting Numbers: [1110]
1110,88 unequal: No Solution
Exploring Operation: 30+37=67, Resulting Numbers: [67]
67,88 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: 88:[8, 74, 89], Operations: ['44+45=89']
Exploring Operation: 8+74=82, Resulting Numbers: [89, 82]
Generated Node #0,1,0: 88:[89, 82] Operation: 8+74=82
Exploring Operation: 74-8=66, Resulting Numbers: [89, 66]
Generated Node #0,1,1: 88:[89, 66] Operation: 74-8=66
Exploring Operation: 8+89=97, Resulting Numbers: [74, 97]
Generated Node #0,1,2: 88:[74, 97] Operation: 8+89=97
Exploring Operation: 89-74=15, Resulting Numbers: [8, 15]
Generated Node #0,1,3: 88:[8, 15] Operation: 89-74=15
Exploring Operation: 89-8=81, Resulting Numbers: [74, 81]
Generated Node #0,1,4: 88:[74, 81] Operation: 89-8=81
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 88:[8, 15], Operations: ['44+45=89', '89-74=15']
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,88 unequal: No Solution
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 88:[89, 82], Operations: ['44+45=89', '8+74=82']
Exploring Operation: 89-82=7, Resulting Numbers: [7]
7,88 unequal: No Solution
Exploring Operation: 89*82=7298, Resulting Numbers: [7298]
7298,88 unequal: No Solution
Exploring Operation: 89+82=171, Resulting Numbers: [171]
171,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 88:[74, 81], Operations: ['44+45=89', '89-8=81']
Exploring Operation: 81-74=7, Resulting Numbers: [7]
7,88 unequal: No Solution
Exploring Operation: 74*81=5994, Resulting Numbers: [5994]
5994,88 unequal: No Solution
Exploring Operation: 74+81=155, Resulting Numbers: [155]
155,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[89, 66], Operations: ['44+45=89', '74-8=66']
Exploring Operation: 89-66=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 89+66=155, Resulting Numbers: [155]
155,88 unequal: No Solution
Exploring Operation: 89*66=5874, Resulting Numbers: [5874]
5874,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 88:[74, 97], Operations: ['44+45=89', '8+89=97']
Exploring Operation: 74*97=7178, Resulting Numbers: [7178]
7178,88 unequal: No Solution
Exploring Operation: 97-74=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 74+97=171, Resulting Numbers: [171]
171,88 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: 88:[8, 74, 1], Operations: ['45-44=1']
Exploring Operation: 8*1=8, Resulting Numbers: [74, 8]
Generated Node #0,4,0: 88:[74, 8] Operation: 8*1=8
Exploring Operation: 8/1=8, Resulting Numbers: [74, 8]
Generated Node #0,4,1: 88:[74, 8] Operation: 8/1=8
Exploring Operation: 74+1=75, Resulting Numbers: [8, 75]
Generated Node #0,4,2: 88:[8, 75] Operation: 74+1=75
Exploring Operation: 74*1=74, Resulting Numbers: [8, 74]
Generated Node #0,4,3: 88:[8, 74] Operation: 74*1=74
Exploring Operation: 8+74=82, Resulting Numbers: [1, 82]
Generated Node #0,4,4: 88:[1, 82] Operation: 8+74=82
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 88:[1, 82], Operations: ['45-44=1', '8+74=82']
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,88 unequal: No Solution
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 1+82=83, Resulting Numbers: [83]
83,88 unequal: No Solution
Exploring Operation: 1*82=82, Resulting Numbers: [82]
82,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,4,2
Current State: 88:[8, 75], Operations: ['45-44=1', '74+1=75']
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Exploring Operation: 8*75=600, Resulting Numbers: [600]
600,88 unequal: No Solution
Exploring Operation: 8+75=83, Resulting Numbers: [83]
83,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,4,0
Current State: 88:[74, 8], Operations: ['45-44=1', '8*1=8']
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,88 unequal: No Solution
Exploring Operation: 74+8=82, Resulting Numbers: [82]
82,88 unequal: No Solution
Exploring Operation: 74*8=592, Resulting Numbers: [592]
592,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,4,1
Current State: 88:[74, 8], Operations: ['45-44=1', '8/1=8']
Exploring Operation: 74+8=82, Resulting Numbers: [82]
82,88 unequal: No Solution
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,88 unequal: No Solution
Exploring Operation: 74*8=592, Resulting Numbers: [592]
592,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,4,3
Current State: 88:[8, 74], Operations: ['45-44=1', '74*1=74']
Exploring Operation: 8+74=82, Resulting Numbers: [82]
82,88 unequal: No Solution
Exploring Operation: 8*74=592, Resulting Numbers: [592]
592,88 unequal: No Solution
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,88 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 |
[
63,
85,
64,
55
] | 30 | [
"64-63=1",
"85-55=30",
"1*30=30"
] | Current State: 30:[63, 85, 64, 55], Operations: []
Exploring Operation: 64-63=1, Resulting Numbers: [85, 55, 1]
Generated Node #2: [85, 55, 1] from Operation: 64-63=1
Current State: 30:[85, 55, 1], Operations: ['64-63=1']
Exploring Operation: 85-55=30, Resulting Numbers: [1, 30]
Generated Node #3: [1, 30] from Operation: 85-55=30
Current State: 30:[1, 30], Operations: ['64-63=1', '85-55=30']
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[63, 85, 64, 55], Operations: []
Exploring Operation: 64-63=1, Resulting Numbers: [85, 55, 1]
Generated Node #0,0: 30:[85, 55, 1] Operation: 64-63=1
Exploring Operation: 85-63=22, Resulting Numbers: [64, 55, 22]
Generated Node #0,1: 30:[64, 55, 22] Operation: 85-63=22
Exploring Operation: 85-64=21, Resulting Numbers: [63, 55, 21]
Generated Node #0,2: 30:[63, 55, 21] Operation: 85-64=21
Exploring Operation: 85-55=30, Resulting Numbers: [63, 64, 30]
Generated Node #0,3: 30:[63, 64, 30] Operation: 85-55=30
Moving to Node #0,2
Current State: 30:[63, 55, 21], Operations: ['85-64=21']
Exploring Operation: 55-21=34, Resulting Numbers: [63, 34]
Generated Node #0,2,0: 30:[63, 34] Operation: 55-21=34
Exploring Operation: 63-21=42, Resulting Numbers: [55, 42]
Generated Node #0,2,1: 30:[55, 42] Operation: 63-21=42
Exploring Operation: 63/21=3, Resulting Numbers: [55, 3]
Generated Node #0,2,2: 30:[55, 3] Operation: 63/21=3
Exploring Operation: 63-55=8, Resulting Numbers: [21, 8]
Generated Node #0,2,3: 30:[21, 8] Operation: 63-55=8
Moving to Node #0,1
Current State: 30:[64, 55, 22], Operations: ['85-63=22']
Exploring Operation: 64-22=42, Resulting Numbers: [55, 42]
Generated Node #0,1,0: 30:[55, 42] Operation: 64-22=42
Exploring Operation: 55-22=33, Resulting Numbers: [64, 33]
Generated Node #0,1,1: 30:[64, 33] Operation: 55-22=33
Exploring Operation: 64-55=9, Resulting Numbers: [22, 9]
Generated Node #0,1,2: 30:[22, 9] Operation: 64-55=9
Exploring Operation: 64+22=86, Resulting Numbers: [55, 86]
Generated Node #0,1,3: 30:[55, 86] Operation: 64+22=86
Moving to Node #0,3
Current State: 30:[63, 64, 30], Operations: ['85-55=30']
Exploring Operation: 63-30=33, Resulting Numbers: [64, 33]
Generated Node #0,3,0: 30:[64, 33] Operation: 63-30=33
Exploring Operation: 64-30=34, Resulting Numbers: [63, 34]
Generated Node #0,3,1: 30:[63, 34] Operation: 64-30=34
Exploring Operation: 64-63=1, Resulting Numbers: [30, 1]
Generated Node #0,3,2: 30:[30, 1] Operation: 64-63=1
Exploring Operation: 63+64=127, Resulting Numbers: [30, 127]
Generated Node #0,3,3: 30:[30, 127] Operation: 63+64=127
Moving to Node #0,0
Current State: 30:[85, 55, 1], Operations: ['64-63=1']
Exploring Operation: 85*1=85, Resulting Numbers: [55, 85]
Generated Node #0,0,0: 30:[55, 85] Operation: 85*1=85
Exploring Operation: 55-1=54, Resulting Numbers: [85, 54]
Generated Node #0,0,1: 30:[85, 54] Operation: 55-1=54
Exploring Operation: 85-1=84, Resulting Numbers: [55, 84]
Generated Node #0,0,2: 30:[55, 84] Operation: 85-1=84
Exploring Operation: 85-55=30, Resulting Numbers: [1, 30]
Generated Node #0,0,3: 30:[1, 30] Operation: 85-55=30
Moving to Node #0,3,2
Current State: 30:[30, 1], Operations: ['85-55=30', '64-63=1']
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[63, 85, 64, 55], Operations: []
Exploring Operation: 85-55=30, Resulting Numbers: [63, 64, 30]
Generated Node #0,3: 30:[63, 64, 30] Operation: 85-55=30
Moving to Node #0,3
Current State: 30:[63, 64, 30], Operations: ['85-55=30']
Exploring Operation: 64-63=1, Resulting Numbers: [30, 1]
Generated Node #0,3,2: 30:[30, 1] Operation: 64-63=1
Moving to Node #0,3,2
Current State: 30:[30, 1], Operations: ['85-55=30', '64-63=1']
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.978299 | hs_4 | sum_heuristic |
[
77,
80,
74,
60
] | 42 | [
"80-77=3",
"74-60=14",
"3*14=42"
] | Current State: 42:[77, 80, 74, 60], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [74, 60, 3]
Generated Node #2: [74, 60, 3] from Operation: 80-77=3
Current State: 42:[74, 60, 3], Operations: ['80-77=3']
Exploring Operation: 74-60=14, Resulting Numbers: [3, 14]
Generated Node #3: [3, 14] from Operation: 74-60=14
Current State: 42:[3, 14], Operations: ['80-77=3', '74-60=14']
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[77, 80, 74, 60], Operations: []
Exploring Operation: 80-60=20, Resulting Numbers: [77, 74, 20]
Generated Node #0,0: 42:[77, 74, 20] Operation: 80-60=20
Exploring Operation: 80-77=3, Resulting Numbers: [74, 60, 3]
Generated Node #0,1: 42:[74, 60, 3] Operation: 80-77=3
Exploring Operation: 77-74=3, Resulting Numbers: [80, 60, 3]
Generated Node #0,2: 42:[80, 60, 3] Operation: 77-74=3
Exploring Operation: 80-74=6, Resulting Numbers: [77, 60, 6]
Generated Node #0,3: 42:[77, 60, 6] Operation: 80-74=6
Moving to Node #0,1
Current State: 42:[74, 60, 3], Operations: ['80-77=3']
Exploring Operation: 74-60=14, Resulting Numbers: [3, 14]
Generated Node #0,1,0: 42:[3, 14] Operation: 74-60=14
Exploring Operation: 74-3=71, Resulting Numbers: [60, 71]
Generated Node #0,1,1: 42:[60, 71] Operation: 74-3=71
Exploring Operation: 60-3=57, Resulting Numbers: [74, 57]
Generated Node #0,1,2: 42:[74, 57] Operation: 60-3=57
Exploring Operation: 60/3=20, Resulting Numbers: [74, 20]
Generated Node #0,1,3: 42:[74, 20] Operation: 60/3=20
Moving to Node #0,3
Current State: 42:[77, 60, 6], Operations: ['80-74=6']
Exploring Operation: 77-6=71, Resulting Numbers: [60, 71]
Generated Node #0,3,0: 42:[60, 71] Operation: 77-6=71
Exploring Operation: 77-60=17, Resulting Numbers: [6, 17]
Generated Node #0,3,1: 42:[6, 17] Operation: 77-60=17
Exploring Operation: 60/6=10, Resulting Numbers: [77, 10]
Generated Node #0,3,2: 42:[77, 10] Operation: 60/6=10
Exploring Operation: 60-6=54, Resulting Numbers: [77, 54]
Generated Node #0,3,3: 42:[77, 54] Operation: 60-6=54
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 42:[6, 17], Operations: ['80-74=6', '77-60=17']
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,42 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,42 unequal: No Solution
No 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: 42:[77, 10], Operations: ['80-74=6', '60/6=10']
Exploring Operation: 77*10=770, Resulting Numbers: [770]
770,42 unequal: No Solution
Exploring Operation: 77-10=67, Resulting Numbers: [67]
67,42 unequal: No Solution
Exploring Operation: 77+10=87, Resulting Numbers: [87]
87,42 unequal: No Solution
No 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: 42:[60, 71], Operations: ['80-74=6', '77-6=71']
Exploring Operation: 71-60=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Exploring Operation: 60*71=4260, Resulting Numbers: [4260]
4260,42 unequal: No Solution
Exploring Operation: 60+71=131, Resulting Numbers: [131]
131,42 unequal: No Solution
No 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: 42:[77, 54], Operations: ['80-74=6', '60-6=54']
Exploring Operation: 77+54=131, Resulting Numbers: [131]
131,42 unequal: No Solution
Exploring Operation: 77-54=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 77*54=4158, Resulting Numbers: [4158]
4158,42 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: 42:[80, 60, 3], Operations: ['77-74=3']
Exploring Operation: 60/3=20, Resulting Numbers: [80, 20]
Generated Node #0,2,0: 42:[80, 20] Operation: 60/3=20
Exploring Operation: 80-60=20, Resulting Numbers: [3, 20]
Generated Node #0,2,1: 42:[3, 20] Operation: 80-60=20
Exploring Operation: 80-3=77, Resulting Numbers: [60, 77]
Generated Node #0,2,2: 42:[60, 77] Operation: 80-3=77
Exploring Operation: 60-3=57, Resulting Numbers: [80, 57]
Generated Node #0,2,3: 42:[80, 57] Operation: 60-3=57
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 42:[3, 20], Operations: ['77-74=3', '80-60=20']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,42 unequal: No Solution
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,42 unequal: No Solution
No 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: 42:[80, 20], Operations: ['77-74=3', '60/3=20']
Exploring Operation: 80/20=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 80*20=1600, Resulting Numbers: [1600]
1600,42 unequal: No Solution
Exploring Operation: 80-20=60, Resulting Numbers: [60]
60,42 unequal: No Solution
Exploring Operation: 80+20=100, Resulting Numbers: [100]
100,42 unequal: No Solution
No 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: 42:[60, 77], Operations: ['77-74=3', '80-3=77']
Exploring Operation: 77-60=17, Resulting Numbers: [17]
17,42 unequal: No Solution
Exploring Operation: 60*77=4620, Resulting Numbers: [4620]
4620,42 unequal: No Solution
Exploring Operation: 60+77=137, Resulting Numbers: [137]
137,42 unequal: No Solution
No 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: 42:[80, 57], Operations: ['77-74=3', '60-3=57']
Exploring Operation: 80*57=4560, Resulting Numbers: [4560]
4560,42 unequal: No Solution
Exploring Operation: 80+57=137, Resulting Numbers: [137]
137,42 unequal: No Solution
Exploring Operation: 80-57=23, Resulting Numbers: [23]
23,42 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: 42:[77, 74, 20], Operations: ['80-60=20']
Exploring Operation: 77-74=3, Resulting Numbers: [20, 3]
Generated Node #0,0,0: 42:[20, 3] Operation: 77-74=3
Exploring Operation: 77-20=57, Resulting Numbers: [74, 57]
Generated Node #0,0,1: 42:[74, 57] Operation: 77-20=57
Exploring Operation: 74-20=54, Resulting Numbers: [77, 54]
Generated Node #0,0,2: 42:[77, 54] Operation: 74-20=54
Exploring Operation: 77+20=97, Resulting Numbers: [74, 97]
Generated Node #0,0,3: 42:[74, 97] Operation: 77+20=97
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[20, 3], Operations: ['80-60=20', '77-74=3']
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,42 unequal: No Solution
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,42 unequal: No Solution
No 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: 42:[74, 57], Operations: ['80-60=20', '77-20=57']
Exploring Operation: 74+57=131, Resulting Numbers: [131]
131,42 unequal: No Solution
Exploring Operation: 74*57=4218, Resulting Numbers: [4218]
4218,42 unequal: No Solution
Exploring Operation: 74-57=17, Resulting Numbers: [17]
17,42 unequal: No Solution
No 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: 42:[77, 54], Operations: ['80-60=20', '74-20=54']
Exploring Operation: 77*54=4158, Resulting Numbers: [4158]
4158,42 unequal: No Solution
Exploring Operation: 77+54=131, Resulting Numbers: [131]
131,42 unequal: No Solution
Exploring Operation: 77-54=23, Resulting Numbers: [23]
23,42 unequal: No Solution
No 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: 42:[74, 97], Operations: ['80-60=20', '77+20=97']
Exploring Operation: 74+97=171, Resulting Numbers: [171]
171,42 unequal: No Solution
Exploring Operation: 97-74=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 74*97=7178, Resulting Numbers: [7178]
7178,42 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: 42:[3, 14], Operations: ['80-77=3', '74-60=14']
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[77, 80, 74, 60], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [74, 60, 3]
Generated Node #0,1: 42:[74, 60, 3] Operation: 80-77=3
Moving to Node #0,1
Current State: 42:[74, 60, 3], Operations: ['80-77=3']
Exploring Operation: 74-60=14, Resulting Numbers: [3, 14]
Generated Node #0,1,0: 42:[3, 14] Operation: 74-60=14
Moving to Node #0,1,0
Current State: 42:[3, 14], Operations: ['80-77=3', '74-60=14']
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.946181 | hs_4 | sum_heuristic |
[
62,
64,
35,
56
] | 22 | [
"64*35=2240",
"2240/56=40",
"62-40=22"
] | Current State: 22:[62, 64, 35, 56], Operations: []
Exploring Operation: 64*35=2240, Resulting Numbers: [62, 56, 2240]
Generated Node #2: [62, 56, 2240] from Operation: 64*35=2240
Current State: 22:[62, 56, 2240], Operations: ['64*35=2240']
Exploring Operation: 2240/56=40, Resulting Numbers: [62, 40]
Generated Node #3: [62, 40] from Operation: 2240/56=40
Current State: 22:[62, 40], Operations: ['64*35=2240', '2240/56=40']
Exploring Operation: 62-40=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[62, 64, 35, 56], Operations: []
Exploring Operation: 62-56=6, Resulting Numbers: [64, 35, 6]
Generated Node #0,0: 22:[64, 35, 6] Operation: 62-56=6
Exploring Operation: 64-56=8, Resulting Numbers: [62, 35, 8]
Generated Node #0,1: 22:[62, 35, 8] Operation: 64-56=8
Exploring Operation: 64-62=2, Resulting Numbers: [35, 56, 2]
Generated Node #0,2: 22:[35, 56, 2] Operation: 64-62=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[35, 56, 2], Operations: ['64-62=2']
Exploring Operation: 35-2=33, Resulting Numbers: [56, 33]
Generated Node #0,2,0: 22:[56, 33] Operation: 35-2=33
Exploring Operation: 56/2=28, Resulting Numbers: [35, 28]
Generated Node #0,2,1: 22:[35, 28] Operation: 56/2=28
Exploring Operation: 56-35=21, Resulting Numbers: [2, 21]
Generated Node #0,2,2: 22:[2, 21] Operation: 56-35=21
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 22:[2, 21], Operations: ['64-62=2', '56-35=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,22 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 22:[35, 28], Operations: ['64-62=2', '56/2=28']
Exploring Operation: 35*28=980, Resulting Numbers: [980]
980,22 unequal: No Solution
Exploring Operation: 35+28=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 22:[56, 33], Operations: ['64-62=2', '35-2=33']
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 56*33=1848, Resulting Numbers: [1848]
1848,22 unequal: No Solution
Exploring Operation: 56+33=89, Resulting Numbers: [89]
89,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[62, 35, 8], Operations: ['64-56=8']
Exploring Operation: 35-8=27, Resulting Numbers: [62, 27]
Generated Node #0,1,0: 22:[62, 27] Operation: 35-8=27
Exploring Operation: 62-35=27, Resulting Numbers: [8, 27]
Generated Node #0,1,1: 22:[8, 27] Operation: 62-35=27
Exploring Operation: 62-8=54, Resulting Numbers: [35, 54]
Generated Node #0,1,2: 22:[35, 54] Operation: 62-8=54
Moving to Node #0,1,1
Current State: 22:[8, 27], Operations: ['64-56=8', '62-35=27']
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,22 unequal: No Solution
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,22 unequal: No Solution
Exploring Operation: 8*27=216, Resulting Numbers: [216]
216,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[62, 27], Operations: ['64-56=8', '35-8=27']
Exploring Operation: 62*27=1674, Resulting Numbers: [1674]
1674,22 unequal: No Solution
Exploring Operation: 62-27=35, Resulting Numbers: [35]
35,22 unequal: No Solution
Exploring Operation: 62+27=89, Resulting Numbers: [89]
89,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[35, 54], Operations: ['64-56=8', '62-8=54']
Exploring Operation: 35*54=1890, Resulting Numbers: [1890]
1890,22 unequal: No Solution
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,22 unequal: No Solution
Exploring Operation: 35+54=89, Resulting Numbers: [89]
89,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
Current State: 22:[64, 35, 6], Operations: ['62-56=6']
Exploring Operation: 64-35=29, Resulting Numbers: [6, 29]
Generated Node #0,0,0: 22:[6, 29] Operation: 64-35=29
Exploring Operation: 64-6=58, Resulting Numbers: [35, 58]
Generated Node #0,0,1: 22:[35, 58] Operation: 64-6=58
Exploring Operation: 35-6=29, Resulting Numbers: [64, 29]
Generated Node #0,0,2: 22:[64, 29] Operation: 35-6=29
Moving to Node #0,0,0
Current State: 22:[6, 29], Operations: ['62-56=6', '64-35=29']
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 6*29=174, Resulting Numbers: [174]
174,22 unequal: No Solution
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[35, 58], Operations: ['62-56=6', '64-6=58']
Exploring Operation: 58-35=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 35*58=2030, Resulting Numbers: [2030]
2030,22 unequal: No Solution
Exploring Operation: 35+58=93, Resulting Numbers: [93]
93,22 unequal: No Solution
Moving to Node #0,0,2
Current State: 22:[64, 29], Operations: ['62-56=6', '35-6=29']
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,22 unequal: No Solution
Exploring Operation: 64*29=1856, Resulting Numbers: [1856]
1856,22 unequal: No Solution
Exploring Operation: 64+29=93, Resulting Numbers: [93]
93,22 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 |
[
22,
9,
17,
29
] | 90 | [
"22+17=39",
"39-29=10",
"9*10=90"
] | Current State: 90:[22, 9, 17, 29], Operations: []
Exploring Operation: 22+17=39, Resulting Numbers: [9, 29, 39]
Generated Node #2: [9, 29, 39] from Operation: 22+17=39
Current State: 90:[9, 29, 39], Operations: ['22+17=39']
Exploring Operation: 39-29=10, Resulting Numbers: [9, 10]
Generated Node #3: [9, 10] from Operation: 39-29=10
Current State: 90:[9, 10], Operations: ['22+17=39', '39-29=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[22, 9, 17, 29], Operations: []
Exploring Operation: 22-9=13, Resulting Numbers: [17, 29, 13]
Generated Node #0,0: 90:[17, 29, 13] Operation: 22-9=13
Exploring Operation: 22-17=5, Resulting Numbers: [9, 29, 5]
Generated Node #0,1: 90:[9, 29, 5] Operation: 22-17=5
Exploring Operation: 22+9=31, Resulting Numbers: [17, 29, 31]
Generated Node #0,2: 90:[17, 29, 31] Operation: 22+9=31
Exploring Operation: 29-22=7, Resulting Numbers: [9, 17, 7]
Generated Node #0,3: 90:[9, 17, 7] Operation: 29-22=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[9, 29, 5], Operations: ['22-17=5']
Exploring Operation: 29-9=20, Resulting Numbers: [5, 20]
Generated Node #0,1,0: 90:[5, 20] Operation: 29-9=20
Exploring Operation: 9-5=4, Resulting Numbers: [29, 4]
Generated Node #0,1,1: 90:[29, 4] Operation: 9-5=4
Exploring Operation: 9+5=14, Resulting Numbers: [29, 14]
Generated Node #0,1,2: 90:[29, 14] Operation: 9+5=14
Exploring Operation: 9*5=45, Resulting Numbers: [29, 45]
Generated Node #0,1,3: 90:[29, 45] Operation: 9*5=45
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 90:[29, 45], Operations: ['22-17=5', '9*5=45']
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 29*45=1305, Resulting Numbers: [1305]
1305,90 unequal: No Solution
Exploring Operation: 29+45=74, Resulting Numbers: [74]
74,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 90:[5, 20], Operations: ['22-17=5', '29-9=20']
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,90 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,90 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 90:[29, 4], Operations: ['22-17=5', '9-5=4']
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,90 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,90 unequal: No Solution
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 90:[29, 14], Operations: ['22-17=5', '9+5=14']
Exploring Operation: 29*14=406, Resulting Numbers: [406]
406,90 unequal: No Solution
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,90 unequal: No Solution
Exploring Operation: 29+14=43, Resulting Numbers: [43]
43,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[9, 17, 7], Operations: ['29-22=7']
Exploring Operation: 17-7=10, Resulting Numbers: [9, 10]
Generated Node #0,3,0: 90:[9, 10] Operation: 17-7=10
Exploring Operation: 9-7=2, Resulting Numbers: [17, 2]
Generated Node #0,3,1: 90:[17, 2] Operation: 9-7=2
Exploring Operation: 9+7=16, Resulting Numbers: [17, 16]
Generated Node #0,3,2: 90:[17, 16] Operation: 9+7=16
Exploring Operation: 17-9=8, Resulting Numbers: [7, 8]
Generated Node #0,3,3: 90:[7, 8] Operation: 17-9=8
Moving to Node #0,3,0
Current State: 90:[9, 10], Operations: ['29-22=7', '17-7=10']
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[22, 9, 17, 29], Operations: []
Exploring Operation: 29-22=7, Resulting Numbers: [9, 17, 7]
Generated Node #0,3: 90:[9, 17, 7] Operation: 29-22=7
Moving to Node #0,3
Current State: 90:[9, 17, 7], Operations: ['29-22=7']
Exploring Operation: 17-7=10, Resulting Numbers: [9, 10]
Generated Node #0,3,0: 90:[9, 10] Operation: 17-7=10
Moving to Node #0,3,0
Current State: 90:[9, 10], Operations: ['29-22=7', '17-7=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
38,
49,
58,
84
] | 55 | [
"38+49=87",
"58+84=142",
"142-87=55"
] | Current State: 55:[38, 49, 58, 84], Operations: []
Exploring Operation: 38+49=87, Resulting Numbers: [58, 84, 87]
Generated Node #2: [58, 84, 87] from Operation: 38+49=87
Current State: 55:[58, 84, 87], Operations: ['38+49=87']
Exploring Operation: 58+84=142, Resulting Numbers: [87, 142]
Generated Node #3: [87, 142] from Operation: 58+84=142
Current State: 55:[87, 142], Operations: ['38+49=87', '58+84=142']
Exploring Operation: 142-87=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[38, 49, 58, 84], Operations: []
Exploring Operation: 84-49=35, Resulting Numbers: [38, 58, 35]
Generated Node #0,0: 55:[38, 58, 35] Operation: 84-49=35
Exploring Operation: 49-38=11, Resulting Numbers: [58, 84, 11]
Generated Node #0,1: 55:[58, 84, 11] Operation: 49-38=11
Exploring Operation: 58-38=20, Resulting Numbers: [49, 84, 20]
Generated Node #0,2: 55:[49, 84, 20] Operation: 58-38=20
Exploring Operation: 84-58=26, Resulting Numbers: [38, 49, 26]
Generated Node #0,3: 55:[38, 49, 26] Operation: 84-58=26
Exploring Operation: 84-38=46, Resulting Numbers: [49, 58, 46]
Generated Node #0,4: 55:[49, 58, 46] Operation: 84-38=46
Moving to Node #0,4
Current State: 55:[49, 58, 46], Operations: ['84-38=46']
Exploring Operation: 58-49=9, Resulting Numbers: [46, 9]
Generated Node #0,4,0: 55:[46, 9] Operation: 58-49=9
Exploring Operation: 49-46=3, Resulting Numbers: [58, 3]
Generated Node #0,4,1: 55:[58, 3] Operation: 49-46=3
Exploring Operation: 58+46=104, Resulting Numbers: [49, 104]
Generated Node #0,4,2: 55:[49, 104] Operation: 58+46=104
Exploring Operation: 49+46=95, Resulting Numbers: [58, 95]
Generated Node #0,4,3: 55:[58, 95] Operation: 49+46=95
Exploring Operation: 58-46=12, Resulting Numbers: [49, 12]
Generated Node #0,4,4: 55:[49, 12] Operation: 58-46=12
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 55:[58, 3], Operations: ['84-38=46', '49-46=3']
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,55 unequal: No Solution
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,55 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[38, 49, 58, 84], Operations: []
Exploring Operation: 84-38=46, Resulting Numbers: [49, 58, 46]
Generated Node #0,4: 55:[49, 58, 46] Operation: 84-38=46
Moving to Node #0,4
Current State: 55:[49, 58, 46], Operations: ['84-38=46']
Exploring Operation: 49-46=3, Resulting Numbers: [58, 3]
Generated Node #0,4,1: 55:[58, 3] Operation: 49-46=3
Moving to Node #0,4,1
Current State: 55:[58, 3], Operations: ['84-38=46', '49-46=3']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
53,
56,
14,
23
] | 26 | [
"53-23=30",
"56/14=4",
"30-4=26"
] | Current State: 26:[53, 56, 14, 23], Operations: []
Exploring Operation: 53-23=30, Resulting Numbers: [56, 14, 30]
Generated Node #2: [56, 14, 30] from Operation: 53-23=30
Current State: 26:[56, 14, 30], Operations: ['53-23=30']
Exploring Operation: 56/14=4, Resulting Numbers: [30, 4]
Generated Node #3: [30, 4] from Operation: 56/14=4
Current State: 26:[30, 4], Operations: ['53-23=30', '56/14=4']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[53, 56, 14, 23], Operations: []
Exploring Operation: 53-23=30, Resulting Numbers: [56, 14, 30]
Generated Node #0,0: 26:[56, 14, 30] Operation: 53-23=30
Exploring Operation: 56-23=33, Resulting Numbers: [53, 14, 33]
Generated Node #0,1: 26:[53, 14, 33] Operation: 56-23=33
Exploring Operation: 56-53=3, Resulting Numbers: [14, 23, 3]
Generated Node #0,2: 26:[14, 23, 3] Operation: 56-53=3
Exploring Operation: 56/14=4, Resulting Numbers: [53, 23, 4]
Generated Node #0,3: 26:[53, 23, 4] Operation: 56/14=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[14, 23, 3], Operations: ['56-53=3']
Exploring Operation: 23-14=9, Resulting Numbers: [3, 9]
Generated Node #0,2,0: 26:[3, 9] Operation: 23-14=9
Exploring Operation: 23+3=26, Resulting Numbers: [14, 26]
Generated Node #0,2,1: 26:[14, 26] Operation: 23+3=26
Exploring Operation: 14-3=11, Resulting Numbers: [23, 11]
Generated Node #0,2,2: 26:[23, 11] Operation: 14-3=11
Exploring Operation: 14+3=17, Resulting Numbers: [23, 17]
Generated Node #0,2,3: 26:[23, 17] Operation: 14+3=17
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 26:[14, 26], Operations: ['56-53=3', '23+3=26']
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,26 unequal: No Solution
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Exploring Operation: 14*26=364, Resulting Numbers: [364]
364,26 unequal: No Solution
No 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: 26:[3, 9], Operations: ['56-53=3', '23-14=9']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,26 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,26 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,26 unequal: No Solution
No 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: 26:[23, 11], Operations: ['56-53=3', '14-3=11']
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Exploring Operation: 23*11=253, Resulting Numbers: [253]
253,26 unequal: No Solution
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,26 unequal: No Solution
No 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: 26:[23, 17], Operations: ['56-53=3', '14+3=17']
Exploring Operation: 23-17=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Exploring Operation: 23+17=40, Resulting Numbers: [40]
40,26 unequal: No Solution
Exploring Operation: 23*17=391, Resulting Numbers: [391]
391,26 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: 26:[53, 23, 4], Operations: ['56/14=4']
Exploring Operation: 53-23=30, Resulting Numbers: [4, 30]
Generated Node #0,3,0: 26:[4, 30] Operation: 53-23=30
Exploring Operation: 23-4=19, Resulting Numbers: [53, 19]
Generated Node #0,3,1: 26:[53, 19] Operation: 23-4=19
Exploring Operation: 53-4=49, Resulting Numbers: [23, 49]
Generated Node #0,3,2: 26:[23, 49] Operation: 53-4=49
Exploring Operation: 23+4=27, Resulting Numbers: [53, 27]
Generated Node #0,3,3: 26:[53, 27] Operation: 23+4=27
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 26:[4, 30], Operations: ['56/14=4', '53-23=30']
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,26 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,26 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[53, 56, 14, 23], Operations: []
Exploring Operation: 56/14=4, Resulting Numbers: [53, 23, 4]
Generated Node #0,3: 26:[53, 23, 4] Operation: 56/14=4
Moving to Node #0,3
Current State: 26:[53, 23, 4], Operations: ['56/14=4']
Exploring Operation: 53-23=30, Resulting Numbers: [4, 30]
Generated Node #0,3,0: 26:[4, 30] Operation: 53-23=30
Moving to Node #0,3,0
Current State: 26:[4, 30], Operations: ['56/14=4', '53-23=30']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.972222 | hs_4 | mult_heuristic |
[
98,
91,
4,
66
] | 63 | [
"98-91=7",
"4+66=70",
"70-7=63"
] | Current State: 63:[98, 91, 4, 66], Operations: []
Exploring Operation: 98-91=7, Resulting Numbers: [4, 66, 7]
Generated Node #2: [4, 66, 7] from Operation: 98-91=7
Current State: 63:[4, 66, 7], Operations: ['98-91=7']
Exploring Operation: 4+66=70, Resulting Numbers: [7, 70]
Generated Node #3: [7, 70] from Operation: 4+66=70
Current State: 63:[7, 70], Operations: ['98-91=7', '4+66=70']
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[98, 91, 4, 66], Operations: []
Exploring Operation: 91-66=25, Resulting Numbers: [98, 4, 25]
Generated Node #0,0: 63:[98, 4, 25] Operation: 91-66=25
Exploring Operation: 98-66=32, Resulting Numbers: [91, 4, 32]
Generated Node #0,1: 63:[91, 4, 32] Operation: 98-66=32
Exploring Operation: 98-91=7, Resulting Numbers: [4, 66, 7]
Generated Node #0,2: 63:[4, 66, 7] Operation: 98-91=7
Moving to Node #0,2
Current State: 63:[4, 66, 7], Operations: ['98-91=7']
Exploring Operation: 4+7=11, Resulting Numbers: [66, 11]
Generated Node #0,2,0: 63:[66, 11] Operation: 4+7=11
Exploring Operation: 66-4=62, Resulting Numbers: [7, 62]
Generated Node #0,2,1: 63:[7, 62] Operation: 66-4=62
Exploring Operation: 7-4=3, Resulting Numbers: [66, 3]
Generated Node #0,2,2: 63:[66, 3] Operation: 7-4=3
Moving to Node #0,0
Current State: 63:[98, 4, 25], Operations: ['91-66=25']
Exploring Operation: 98-25=73, Resulting Numbers: [4, 73]
Generated Node #0,0,0: 63:[4, 73] Operation: 98-25=73
Exploring Operation: 25-4=21, Resulting Numbers: [98, 21]
Generated Node #0,0,1: 63:[98, 21] Operation: 25-4=21
Exploring Operation: 98-4=94, Resulting Numbers: [25, 94]
Generated Node #0,0,2: 63:[25, 94] Operation: 98-4=94
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[4, 73], Operations: ['91-66=25', '98-25=73']
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,63 unequal: No Solution
Exploring Operation: 4+73=77, Resulting Numbers: [77]
77,63 unequal: No Solution
Exploring Operation: 4*73=292, Resulting Numbers: [292]
292,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 63:[98, 21], Operations: ['91-66=25', '25-4=21']
Exploring Operation: 98+21=119, Resulting Numbers: [119]
119,63 unequal: No Solution
Exploring Operation: 98-21=77, Resulting Numbers: [77]
77,63 unequal: No Solution
Exploring Operation: 98*21=2058, Resulting Numbers: [2058]
2058,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 63:[25, 94], Operations: ['91-66=25', '98-4=94']
Exploring Operation: 25*94=2350, Resulting Numbers: [2350]
2350,63 unequal: No Solution
Exploring Operation: 94-25=69, Resulting Numbers: [69]
69,63 unequal: No Solution
Exploring Operation: 25+94=119, Resulting Numbers: [119]
119,63 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: 63:[91, 4, 32], Operations: ['98-66=32']
Exploring Operation: 32/4=8, Resulting Numbers: [91, 8]
Generated Node #0,1,0: 63:[91, 8] Operation: 32/4=8
Exploring Operation: 91-32=59, Resulting Numbers: [4, 59]
Generated Node #0,1,1: 63:[4, 59] Operation: 91-32=59
Exploring Operation: 91-4=87, Resulting Numbers: [32, 87]
Generated Node #0,1,2: 63:[32, 87] Operation: 91-4=87
Moving to Node #0,2,1
Current State: 63:[7, 62], Operations: ['98-91=7', '66-4=62']
Exploring Operation: 7+62=69, Resulting Numbers: [69]
69,63 unequal: No Solution
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,63 unequal: No Solution
Exploring Operation: 7*62=434, Resulting Numbers: [434]
434,63 unequal: No Solution
Moving to Node #0,2,2
Current State: 63:[66, 3], Operations: ['98-91=7', '7-4=3']
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[98, 91, 4, 66], Operations: []
Exploring Operation: 98-91=7, Resulting Numbers: [4, 66, 7]
Generated Node #0,2: 63:[4, 66, 7] Operation: 98-91=7
Moving to Node #0,2
Current State: 63:[4, 66, 7], Operations: ['98-91=7']
Exploring Operation: 7-4=3, Resulting Numbers: [66, 3]
Generated Node #0,2,2: 63:[66, 3] Operation: 7-4=3
Moving to Node #0,2,2
Current State: 63:[66, 3], Operations: ['98-91=7', '7-4=3']
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 0.973958 | hs_3 | sum_heuristic |
[
18,
76,
26,
27
] | 59 | [
"76-18=58",
"27-26=1",
"58+1=59"
] | Current State: 59:[18, 76, 26, 27], Operations: []
Exploring Operation: 76-18=58, Resulting Numbers: [26, 27, 58]
Generated Node #2: [26, 27, 58] from Operation: 76-18=58
Current State: 59:[26, 27, 58], Operations: ['76-18=58']
Exploring Operation: 27-26=1, Resulting Numbers: [58, 1]
Generated Node #3: [58, 1] from Operation: 27-26=1
Current State: 59:[58, 1], Operations: ['76-18=58', '27-26=1']
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[18, 76, 26, 27], Operations: []
Exploring Operation: 18+26=44, Resulting Numbers: [76, 27, 44]
Generated Node #0,0: 59:[76, 27, 44] Operation: 18+26=44
Exploring Operation: 18+27=45, Resulting Numbers: [76, 26, 45]
Generated Node #0,1: 59:[76, 26, 45] Operation: 18+27=45
Exploring Operation: 76-18=58, Resulting Numbers: [26, 27, 58]
Generated Node #0,2: 59:[26, 27, 58] Operation: 76-18=58
Exploring Operation: 26+27=53, Resulting Numbers: [18, 76, 53]
Generated Node #0,3: 59:[18, 76, 53] Operation: 26+27=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[76, 27, 44], Operations: ['18+26=44']
Exploring Operation: 76-27=49, Resulting Numbers: [44, 49]
Generated Node #0,0,0: 59:[44, 49] Operation: 76-27=49
Exploring Operation: 76+27=103, Resulting Numbers: [44, 103]
Generated Node #0,0,1: 59:[44, 103] Operation: 76+27=103
Exploring Operation: 27+44=71, Resulting Numbers: [76, 71]
Generated Node #0,0,2: 59:[76, 71] Operation: 27+44=71
Exploring Operation: 76-44=32, Resulting Numbers: [27, 32]
Generated Node #0,0,3: 59:[27, 32] Operation: 76-44=32
Moving to Node #0,0,0
Current State: 59:[44, 49], Operations: ['18+26=44', '76-27=49']
Exploring Operation: 44*49=2156, Resulting Numbers: [2156]
2156,59 unequal: No Solution
Exploring Operation: 44+49=93, Resulting Numbers: [93]
93,59 unequal: No Solution
Exploring Operation: 49-44=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[76, 71], Operations: ['18+26=44', '27+44=71']
Exploring Operation: 76-71=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Exploring Operation: 76*71=5396, Resulting Numbers: [5396]
5396,59 unequal: No Solution
Exploring Operation: 76+71=147, Resulting Numbers: [147]
147,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[27, 32], Operations: ['18+26=44', '76-44=32']
Exploring Operation: 27*32=864, Resulting Numbers: [864]
864,59 unequal: No Solution
Exploring Operation: 27+32=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[18, 76, 26, 27], Operations: []
Exploring Operation: 18+26=44, Resulting Numbers: [76, 27, 44]
Generated Node #0,0: 59:[76, 27, 44] Operation: 18+26=44
Moving to Node #0,0
Current State: 59:[76, 27, 44], Operations: ['18+26=44']
Exploring Operation: 76-44=32, Resulting Numbers: [27, 32]
Generated Node #0,0,3: 59:[27, 32] Operation: 76-44=32
Moving to Node #0,0,3
Current State: 59:[27, 32], Operations: ['18+26=44', '76-44=32']
Exploring Operation: 27+32=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
41,
29,
38,
87
] | 82 | [
"41+38=79",
"87/29=3",
"79+3=82"
] | Current State: 82:[41, 29, 38, 87], Operations: []
Exploring Operation: 41+38=79, Resulting Numbers: [29, 87, 79]
Generated Node #2: [29, 87, 79] from Operation: 41+38=79
Current State: 82:[29, 87, 79], Operations: ['41+38=79']
Exploring Operation: 87/29=3, Resulting Numbers: [79, 3]
Generated Node #3: [79, 3] from Operation: 87/29=3
Current State: 82:[79, 3], Operations: ['41+38=79', '87/29=3']
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[41, 29, 38, 87], Operations: []
Exploring Operation: 38-29=9, Resulting Numbers: [41, 87, 9]
Generated Node #0,0: 82:[41, 87, 9] Operation: 38-29=9
Exploring Operation: 41-29=12, Resulting Numbers: [38, 87, 12]
Generated Node #0,1: 82:[38, 87, 12] Operation: 41-29=12
Exploring Operation: 87/29=3, Resulting Numbers: [41, 38, 3]
Generated Node #0,2: 82:[41, 38, 3] Operation: 87/29=3
Moving to Node #0,2
Current State: 82:[41, 38, 3], Operations: ['87/29=3']
Exploring Operation: 41+38=79, Resulting Numbers: [3, 79]
Generated Node #0,2,0: 82:[3, 79] Operation: 41+38=79
Exploring Operation: 41-38=3, Resulting Numbers: [3, 3]
Generated Node #0,2,1: 82:[3, 3] Operation: 41-38=3
Exploring Operation: 38+3=41, Resulting Numbers: [41, 41]
Generated Node #0,2,2: 82:[41, 41] Operation: 38+3=41
Moving to Node #0,0
Current State: 82:[41, 87, 9], Operations: ['38-29=9']
Exploring Operation: 87-41=46, Resulting Numbers: [9, 46]
Generated Node #0,0,0: 82:[9, 46] Operation: 87-41=46
Exploring Operation: 87-9=78, Resulting Numbers: [41, 78]
Generated Node #0,0,1: 82:[41, 78] Operation: 87-9=78
Exploring Operation: 41+9=50, Resulting Numbers: [87, 50]
Generated Node #0,0,2: 82:[87, 50] Operation: 41+9=50
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 82:[41, 78], Operations: ['38-29=9', '87-9=78']
Exploring Operation: 41+78=119, Resulting Numbers: [119]
119,82 unequal: No Solution
Exploring Operation: 41*78=3198, Resulting Numbers: [3198]
3198,82 unequal: No Solution
Exploring Operation: 78-41=37, Resulting Numbers: [37]
37,82 unequal: No Solution
No 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: 82:[9, 46], Operations: ['38-29=9', '87-41=46']
Exploring Operation: 9*46=414, Resulting Numbers: [414]
414,82 unequal: No Solution
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,82 unequal: No Solution
Exploring Operation: 9+46=55, Resulting Numbers: [55]
55,82 unequal: No Solution
No 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: 82:[87, 50], Operations: ['38-29=9', '41+9=50']
Exploring Operation: 87+50=137, Resulting Numbers: [137]
137,82 unequal: No Solution
Exploring Operation: 87-50=37, Resulting Numbers: [37]
37,82 unequal: No Solution
Exploring Operation: 87*50=4350, Resulting Numbers: [4350]
4350,82 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: 82:[38, 87, 12], Operations: ['41-29=12']
Exploring Operation: 87-38=49, Resulting Numbers: [12, 49]
Generated Node #0,1,0: 82:[12, 49] Operation: 87-38=49
Exploring Operation: 38+12=50, Resulting Numbers: [87, 50]
Generated Node #0,1,1: 82:[87, 50] Operation: 38+12=50
Exploring Operation: 87-12=75, Resulting Numbers: [38, 75]
Generated Node #0,1,2: 82:[38, 75] Operation: 87-12=75
Moving to Node #0,2,2
Current State: 82:[41, 41], Operations: ['87/29=3', '38+3=41']
Exploring Operation: 41/41=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 41+41=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[41, 29, 38, 87], Operations: []
Exploring Operation: 87/29=3, Resulting Numbers: [41, 38, 3]
Generated Node #0,2: 82:[41, 38, 3] Operation: 87/29=3
Moving to Node #0,2
Current State: 82:[41, 38, 3], Operations: ['87/29=3']
Exploring Operation: 38+3=41, Resulting Numbers: [41, 41]
Generated Node #0,2,2: 82:[41, 41] Operation: 38+3=41
Moving to Node #0,2,2
Current State: 82:[41, 41], Operations: ['87/29=3', '38+3=41']
Exploring Operation: 41+41=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.976563 | hs_3 | mult_heuristic |
[
54,
63,
73,
17
] | 81 | [
"63-54=9",
"73+17=90",
"90-9=81"
] | Current State: 81:[54, 63, 73, 17], Operations: []
Exploring Operation: 63-54=9, Resulting Numbers: [73, 17, 9]
Generated Node #2: [73, 17, 9] from Operation: 63-54=9
Current State: 81:[73, 17, 9], Operations: ['63-54=9']
Exploring Operation: 73+17=90, Resulting Numbers: [9, 90]
Generated Node #3: [9, 90] from Operation: 73+17=90
Current State: 81:[9, 90], Operations: ['63-54=9', '73+17=90']
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[54, 63, 73, 17], Operations: []
Exploring Operation: 63-54=9, Resulting Numbers: [73, 17, 9]
Generated Node #0,0: 81:[73, 17, 9] Operation: 63-54=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[73, 17, 9], Operations: ['63-54=9']
Exploring Operation: 73+17=90, Resulting Numbers: [9, 90]
Generated Node #0,0,0: 81:[9, 90] Operation: 73+17=90
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[9, 90], Operations: ['63-54=9', '73+17=90']
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[54, 63, 73, 17], Operations: []
Exploring Operation: 63-54=9, Resulting Numbers: [73, 17, 9]
Generated Node #0,0: 81:[73, 17, 9] Operation: 63-54=9
Moving to Node #0,0
Current State: 81:[73, 17, 9], Operations: ['63-54=9']
Exploring Operation: 73+17=90, Resulting Numbers: [9, 90]
Generated Node #0,0,0: 81:[9, 90] Operation: 73+17=90
Moving to Node #0,0,0
Current State: 81:[9, 90], Operations: ['63-54=9', '73+17=90']
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
53,
89,
41,
75
] | 70 | [
"89-53=36",
"75-41=34",
"36+34=70"
] | Current State: 70:[53, 89, 41, 75], Operations: []
Exploring Operation: 89-53=36, Resulting Numbers: [41, 75, 36]
Generated Node #2: [41, 75, 36] from Operation: 89-53=36
Current State: 70:[41, 75, 36], Operations: ['89-53=36']
Exploring Operation: 75-41=34, Resulting Numbers: [36, 34]
Generated Node #3: [36, 34] from Operation: 75-41=34
Current State: 70:[36, 34], Operations: ['89-53=36', '75-41=34']
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[53, 89, 41, 75], Operations: []
Exploring Operation: 89-53=36, Resulting Numbers: [41, 75, 36]
Generated Node #0,0: 70:[41, 75, 36] Operation: 89-53=36
Moving to Node #0,0
Current State: 70:[41, 75, 36], Operations: ['89-53=36']
Exploring Operation: 75-41=34, Resulting Numbers: [36, 34]
Generated Node #0,0,0: 70:[36, 34] Operation: 75-41=34
Moving to Node #0,0,0
Current State: 70:[36, 34], Operations: ['89-53=36', '75-41=34']
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[53, 89, 41, 75], Operations: []
Exploring Operation: 89-53=36, Resulting Numbers: [41, 75, 36]
Generated Node #0,0: 70:[41, 75, 36] Operation: 89-53=36
Moving to Node #0,0
Current State: 70:[41, 75, 36], Operations: ['89-53=36']
Exploring Operation: 75-41=34, Resulting Numbers: [36, 34]
Generated Node #0,0,0: 70:[36, 34] Operation: 75-41=34
Moving to Node #0,0,0
Current State: 70:[36, 34], Operations: ['89-53=36', '75-41=34']
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
90,
15,
15,
63
] | 21 | [
"15+15=30",
"90/30=3",
"63/3=21"
] | Current State: 21:[90, 15, 15, 63], Operations: []
Exploring Operation: 15+15=30, Resulting Numbers: [90, 63, 30]
Generated Node #2: [90, 63, 30] from Operation: 15+15=30
Current State: 21:[90, 63, 30], Operations: ['15+15=30']
Exploring Operation: 90/30=3, Resulting Numbers: [63, 3]
Generated Node #3: [63, 3] from Operation: 90/30=3
Current State: 21:[63, 3], Operations: ['15+15=30', '90/30=3']
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[90, 15, 15, 63], Operations: []
Exploring Operation: 90-63=27, Resulting Numbers: [15, 15, 27]
Generated Node #0,0: 21:[15, 15, 27] Operation: 90-63=27
Moving to Node #0,0
Current State: 21:[15, 15, 27], Operations: ['90-63=27']
Exploring Operation: 15/15=1, Resulting Numbers: [27, 1]
Generated Node #0,0,0: 21:[27, 1] Operation: 15/15=1
Moving to Node #0,0,0
Current State: 21:[27, 1], Operations: ['90-63=27', '15/15=1']
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,21 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
59,
43,
14,
3
] | 47 | [
"59-3=56",
"56/14=4",
"43+4=47"
] | Current State: 47:[59, 43, 14, 3], Operations: []
Exploring Operation: 59-3=56, Resulting Numbers: [43, 14, 56]
Generated Node #2: [43, 14, 56] from Operation: 59-3=56
Current State: 47:[43, 14, 56], Operations: ['59-3=56']
Exploring Operation: 56/14=4, Resulting Numbers: [43, 4]
Generated Node #3: [43, 4] from Operation: 56/14=4
Current State: 47:[43, 4], Operations: ['59-3=56', '56/14=4']
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[59, 43, 14, 3], Operations: []
Exploring Operation: 14*3=42, Resulting Numbers: [59, 43, 42]
Generated Node #0,0: 47:[59, 43, 42] Operation: 14*3=42
Exploring Operation: 43+3=46, Resulting Numbers: [59, 14, 46]
Generated Node #0,1: 47:[59, 14, 46] Operation: 43+3=46
Exploring Operation: 59-3=56, Resulting Numbers: [43, 14, 56]
Generated Node #0,2: 47:[43, 14, 56] Operation: 59-3=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[59, 43, 42], Operations: ['14*3=42']
Exploring Operation: 43+42=85, Resulting Numbers: [59, 85]
Generated Node #0,0,0: 47:[59, 85] Operation: 43+42=85
Exploring Operation: 59-42=17, Resulting Numbers: [43, 17]
Generated Node #0,0,1: 47:[43, 17] Operation: 59-42=17
Exploring Operation: 59-43=16, Resulting Numbers: [42, 16]
Generated Node #0,0,2: 47:[42, 16] Operation: 59-43=16
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[43, 17], Operations: ['14*3=42', '59-42=17']
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 43+17=60, Resulting Numbers: [60]
60,47 unequal: No Solution
Exploring Operation: 43*17=731, Resulting Numbers: [731]
731,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 47:[42, 16], Operations: ['14*3=42', '59-43=16']
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 42*16=672, Resulting Numbers: [672]
672,47 unequal: No Solution
Exploring Operation: 42+16=58, Resulting Numbers: [58]
58,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[59, 85], Operations: ['14*3=42', '43+42=85']
Exploring Operation: 85-59=26, Resulting Numbers: [26]
26,47 unequal: No Solution
Exploring Operation: 59+85=144, Resulting Numbers: [144]
144,47 unequal: No Solution
Exploring Operation: 59*85=5015, Resulting Numbers: [5015]
5015,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[59, 14, 46], Operations: ['43+3=46']
Exploring Operation: 59-14=45, Resulting Numbers: [46, 45]
Generated Node #0,1,0: 47:[46, 45] Operation: 59-14=45
Exploring Operation: 59+14=73, Resulting Numbers: [46, 73]
Generated Node #0,1,1: 47:[46, 73] Operation: 59+14=73
Exploring Operation: 14+46=60, Resulting Numbers: [59, 60]
Generated Node #0,1,2: 47:[59, 60] Operation: 14+46=60
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[46, 45], Operations: ['43+3=46', '59-14=45']
Exploring Operation: 46-45=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 46*45=2070, Resulting Numbers: [2070]
2070,47 unequal: No Solution
Exploring Operation: 46+45=91, Resulting Numbers: [91]
91,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 47:[59, 60], Operations: ['43+3=46', '14+46=60']
Exploring Operation: 59*60=3540, Resulting Numbers: [3540]
3540,47 unequal: No Solution
Exploring Operation: 59+60=119, Resulting Numbers: [119]
119,47 unequal: No Solution
Exploring Operation: 60-59=1, Resulting Numbers: [1]
1,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[46, 73], Operations: ['43+3=46', '59+14=73']
Exploring Operation: 73-46=27, Resulting Numbers: [27]
27,47 unequal: No Solution
Exploring Operation: 46+73=119, Resulting Numbers: [119]
119,47 unequal: No Solution
Exploring Operation: 46*73=3358, Resulting Numbers: [3358]
3358,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[43, 14, 56], Operations: ['59-3=56']
Exploring Operation: 43+14=57, Resulting Numbers: [56, 57]
Generated Node #0,2,0: 47:[56, 57] Operation: 43+14=57
Exploring Operation: 56-14=42, Resulting Numbers: [43, 42]
Generated Node #0,2,1: 47:[43, 42] Operation: 56-14=42
Exploring Operation: 43-14=29, Resulting Numbers: [56, 29]
Generated Node #0,2,2: 47:[56, 29] Operation: 43-14=29
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 47:[43, 42], Operations: ['59-3=56', '56-14=42']
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 43+42=85, Resulting Numbers: [85]
85,47 unequal: No Solution
Exploring Operation: 43*42=1806, Resulting Numbers: [1806]
1806,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 47:[56, 57], Operations: ['59-3=56', '43+14=57']
Exploring Operation: 56+57=113, Resulting Numbers: [113]
113,47 unequal: No Solution
Exploring Operation: 56*57=3192, Resulting Numbers: [3192]
3192,47 unequal: No Solution
Exploring Operation: 57-56=1, Resulting Numbers: [1]
1,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 47:[56, 29], Operations: ['59-3=56', '43-14=29']
Exploring Operation: 56*29=1624, Resulting Numbers: [1624]
1624,47 unequal: No Solution
Exploring Operation: 56-29=27, Resulting Numbers: [27]
27,47 unequal: No Solution
Exploring Operation: 56+29=85, Resulting Numbers: [85]
85,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_3 | sum_heuristic |
[
54,
25,
78,
31
] | 76 | [
"54-25=29",
"78-31=47",
"29+47=76"
] | Current State: 76:[54, 25, 78, 31], Operations: []
Exploring Operation: 54-25=29, Resulting Numbers: [78, 31, 29]
Generated Node #2: [78, 31, 29] from Operation: 54-25=29
Current State: 76:[78, 31, 29], Operations: ['54-25=29']
Exploring Operation: 78-31=47, Resulting Numbers: [29, 47]
Generated Node #3: [29, 47] from Operation: 78-31=47
Current State: 76:[29, 47], Operations: ['54-25=29', '78-31=47']
Exploring Operation: 29+47=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[54, 25, 78, 31], Operations: []
Exploring Operation: 54+31=85, Resulting Numbers: [25, 78, 85]
Generated Node #0,0: 76:[25, 78, 85] Operation: 54+31=85
Exploring Operation: 54-31=23, Resulting Numbers: [25, 78, 23]
Generated Node #0,1: 76:[25, 78, 23] Operation: 54-31=23
Exploring Operation: 78-54=24, Resulting Numbers: [25, 31, 24]
Generated Node #0,2: 76:[25, 31, 24] Operation: 78-54=24
Exploring Operation: 54+25=79, Resulting Numbers: [78, 31, 79]
Generated Node #0,3: 76:[78, 31, 79] Operation: 54+25=79
Exploring Operation: 54-25=29, Resulting Numbers: [78, 31, 29]
Generated Node #0,4: 76:[78, 31, 29] Operation: 54-25=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[25, 78, 23], Operations: ['54-31=23']
Exploring Operation: 78-23=55, Resulting Numbers: [25, 55]
Generated Node #0,1,0: 76:[25, 55] Operation: 78-23=55
Exploring Operation: 25+78=103, Resulting Numbers: [23, 103]
Generated Node #0,1,1: 76:[23, 103] Operation: 25+78=103
Exploring Operation: 25+23=48, Resulting Numbers: [78, 48]
Generated Node #0,1,2: 76:[78, 48] Operation: 25+23=48
Exploring Operation: 25-23=2, Resulting Numbers: [78, 2]
Generated Node #0,1,3: 76:[78, 2] Operation: 25-23=2
Exploring Operation: 78-25=53, Resulting Numbers: [23, 53]
Generated Node #0,1,4: 76:[23, 53] Operation: 78-25=53
Moving to Node #0,1,3
Current State: 76:[78, 2], Operations: ['54-31=23', '25-23=2']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[54, 25, 78, 31], Operations: []
Exploring Operation: 54-31=23, Resulting Numbers: [25, 78, 23]
Generated Node #0,1: 76:[25, 78, 23] Operation: 54-31=23
Moving to Node #0,1
Current State: 76:[25, 78, 23], Operations: ['54-31=23']
Exploring Operation: 25-23=2, Resulting Numbers: [78, 2]
Generated Node #0,1,3: 76:[78, 2] Operation: 25-23=2
Moving to Node #0,1,3
Current State: 76:[78, 2], Operations: ['54-31=23', '25-23=2']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
27,
48,
10,
2
] | 92 | [
"27*2=54",
"48-10=38",
"54+38=92"
] | Current State: 92:[27, 48, 10, 2], Operations: []
Exploring Operation: 27*2=54, Resulting Numbers: [48, 10, 54]
Generated Node #2: [48, 10, 54] from Operation: 27*2=54
Current State: 92:[48, 10, 54], Operations: ['27*2=54']
Exploring Operation: 48-10=38, Resulting Numbers: [54, 38]
Generated Node #3: [54, 38] from Operation: 48-10=38
Current State: 92:[54, 38], Operations: ['27*2=54', '48-10=38']
Exploring Operation: 54+38=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[27, 48, 10, 2], Operations: []
Exploring Operation: 27-10=17, Resulting Numbers: [48, 2, 17]
Generated Node #0,0: 92:[48, 2, 17] Operation: 27-10=17
Exploring Operation: 10/2=5, Resulting Numbers: [27, 48, 5]
Generated Node #0,1: 92:[27, 48, 5] Operation: 10/2=5
Exploring Operation: 48-27=21, Resulting Numbers: [10, 2, 21]
Generated Node #0,2: 92:[10, 2, 21] Operation: 48-27=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[27, 48, 5], Operations: ['10/2=5']
Exploring Operation: 27-5=22, Resulting Numbers: [48, 22]
Generated Node #0,1,0: 92:[48, 22] Operation: 27-5=22
Exploring Operation: 48-5=43, Resulting Numbers: [27, 43]
Generated Node #0,1,1: 92:[27, 43] Operation: 48-5=43
Exploring Operation: 48-27=21, Resulting Numbers: [5, 21]
Generated Node #0,1,2: 92:[5, 21] Operation: 48-27=21
Moving to Node #0,1,0
Current State: 92:[48, 22], Operations: ['10/2=5', '27-5=22']
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,92 unequal: No Solution
Exploring Operation: 48+22=70, Resulting Numbers: [70]
70,92 unequal: No Solution
Exploring Operation: 48*22=1056, Resulting Numbers: [1056]
1056,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[5, 21], Operations: ['10/2=5', '48-27=21']
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,92 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,92 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[27, 43], Operations: ['10/2=5', '48-5=43']
Exploring Operation: 27*43=1161, Resulting Numbers: [1161]
1161,92 unequal: No Solution
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 27+43=70, Resulting Numbers: [70]
70,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[48, 2, 17], Operations: ['27-10=17']
Exploring Operation: 48/2=24, Resulting Numbers: [17, 24]
Generated Node #0,0,0: 92:[17, 24] Operation: 48/2=24
Exploring Operation: 2+17=19, Resulting Numbers: [48, 19]
Generated Node #0,0,1: 92:[48, 19] Operation: 2+17=19
Exploring Operation: 48-2=46, Resulting Numbers: [17, 46]
Generated Node #0,0,2: 92:[17, 46] Operation: 48-2=46
Moving to Node #0,0,1
Current State: 92:[48, 19], Operations: ['27-10=17', '2+17=19']
Exploring Operation: 48+19=67, Resulting Numbers: [67]
67,92 unequal: No Solution
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 48*19=912, Resulting Numbers: [912]
912,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[17, 46], Operations: ['27-10=17', '48-2=46']
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 17+46=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Exploring Operation: 17*46=782, Resulting Numbers: [782]
782,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[17, 24], Operations: ['27-10=17', '48/2=24']
Exploring Operation: 17*24=408, Resulting Numbers: [408]
408,92 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,92 unequal: No Solution
Exploring Operation: 17+24=41, Resulting Numbers: [41]
41,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[10, 2, 21], Operations: ['48-27=21']
Exploring Operation: 10*2=20, Resulting Numbers: [21, 20]
Generated Node #0,2,0: 92:[21, 20] Operation: 10*2=20
Exploring Operation: 10-2=8, Resulting Numbers: [21, 8]
Generated Node #0,2,1: 92:[21, 8] Operation: 10-2=8
Exploring Operation: 10/2=5, Resulting Numbers: [21, 5]
Generated Node #0,2,2: 92:[21, 5] Operation: 10/2=5
Moving to Node #0,2,2
Current State: 92:[21, 5], Operations: ['48-27=21', '10/2=5']
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,92 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[21, 20], Operations: ['48-27=21', '10*2=20']
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 21*20=420, Resulting Numbers: [420]
420,92 unequal: No Solution
Exploring Operation: 21+20=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[21, 8], Operations: ['48-27=21', '10-2=8']
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 21*8=168, Resulting Numbers: [168]
168,92 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
99,
96,
65,
77
] | 53 | [
"99+96=195",
"65+77=142",
"195-142=53"
] | Current State: 53:[99, 96, 65, 77], Operations: []
Exploring Operation: 99+96=195, Resulting Numbers: [65, 77, 195]
Generated Node #2: [65, 77, 195] from Operation: 99+96=195
Current State: 53:[65, 77, 195], Operations: ['99+96=195']
Exploring Operation: 65+77=142, Resulting Numbers: [195, 142]
Generated Node #3: [195, 142] from Operation: 65+77=142
Current State: 53:[195, 142], Operations: ['99+96=195', '65+77=142']
Exploring Operation: 195-142=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[99, 96, 65, 77], Operations: []
Exploring Operation: 99-65=34, Resulting Numbers: [96, 77, 34]
Generated Node #0,0: 53:[96, 77, 34] Operation: 99-65=34
Exploring Operation: 99-96=3, Resulting Numbers: [65, 77, 3]
Generated Node #0,1: 53:[65, 77, 3] Operation: 99-96=3
Moving to Node #0,0
Current State: 53:[96, 77, 34], Operations: ['99-65=34']
Exploring Operation: 96-34=62, Resulting Numbers: [77, 62]
Generated Node #0,0,0: 53:[77, 62] Operation: 96-34=62
Exploring Operation: 96-77=19, Resulting Numbers: [34, 19]
Generated Node #0,0,1: 53:[34, 19] Operation: 96-77=19
Moving to Node #0,1
Current State: 53:[65, 77, 3], Operations: ['99-96=3']
Exploring Operation: 77-3=74, Resulting Numbers: [65, 74]
Generated Node #0,1,0: 53:[65, 74] Operation: 77-3=74
Exploring Operation: 65-3=62, Resulting Numbers: [77, 62]
Generated Node #0,1,1: 53:[77, 62] Operation: 65-3=62
Moving to Node #0,0,0
Current State: 53:[77, 62], Operations: ['99-65=34', '96-34=62']
Exploring Operation: 77+62=139, Resulting Numbers: [139]
139,53 unequal: No Solution
Exploring Operation: 77-62=15, Resulting Numbers: [15]
15,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[65, 74], Operations: ['99-96=3', '77-3=74']
Exploring Operation: 65+74=139, Resulting Numbers: [139]
139,53 unequal: No Solution
Exploring Operation: 74-65=9, Resulting Numbers: [9]
9,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[77, 62], Operations: ['99-96=3', '65-3=62']
Exploring Operation: 77-62=15, Resulting Numbers: [15]
15,53 unequal: No Solution
Exploring Operation: 77+62=139, Resulting Numbers: [139]
139,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[34, 19], Operations: ['99-65=34', '96-77=19']
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,53 unequal: No Solution
Exploring Operation: 34+19=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[99, 96, 65, 77], Operations: []
Exploring Operation: 99-65=34, Resulting Numbers: [96, 77, 34]
Generated Node #0,0: 53:[96, 77, 34] Operation: 99-65=34
Moving to Node #0,0
Current State: 53:[96, 77, 34], Operations: ['99-65=34']
Exploring Operation: 96-77=19, Resulting Numbers: [34, 19]
Generated Node #0,0,1: 53:[34, 19] Operation: 96-77=19
Moving to Node #0,0,1
Current State: 53:[34, 19], Operations: ['99-65=34', '96-77=19']
Exploring Operation: 34+19=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 0.984375 | hs_2 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.